Web Hosting Deals Holiday Logo Design Website Header Templates Register domain Search Engine Optimisation Web Hosting
Go Back   Talk Mania Forum > Flash and ActionScript

Flash and ActionScript General Flash/ActionScript help, tips, tricks and stumbling points can be posted and answered here!

 Image
Buy Sell Downloads

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-07-2007, 09:50 PM
Junior Member
 
Join Date: Mar 2007
Posts: 4
fido.glc is on a distinguished road
Method for n clips

I have a number of n instances of the same movie clip on the stage (I don't know the n number). How can I make a function or a method work for all of these movie clips ? Considering that when I create the instances I give them names like clip1, clip2 and so on.. I probably have to use 'for' and specify the paths something like this.. "clip" + i .. I don't know how the syntax works here.

for example: How can I make this method work for all the n clips ?
Code:
mc_clip1.onRelease = function():Void {
       do something;
}

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +2. The time now is 07:07 AM.



Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC8
Forums Copyright © Talk-Mania.com