Actionscript 3: targeting issue
Actionscript 3: targeting issue
Out of context: Reply #1
- Started
- Last post
- 6 Responses
- nadnerb0
if they're all in a clip together you could use clip.getChildAt(25);
no need for a name.
If they're named like you mentioned, you can also say
clip.getChildByName("c25");
Here's something though - when you addChild(), it's not automatically typed as a movieclip. you have to define that either in a variable or by casting:
trace(MovieClip(clip.getChildAt...