|
-
How to get GotoAndStop to work on all duplicated MCs
I have a simple bit of AS which duplicates MCs via looping through a couple of frames:
_root.tile.duplicateMovieClip("tile"+i,i+1)
What I would like to do is to use a button to move each duplicated MC from frame 1 to frame 2, hence changing the appearance of ALL duplicated MCs.
I have tried a simple action on a button:
on (release) {
tile.gotoAndStop(2);
}
but obviously this only changes one MC - the first one, and none of the duplicated ones.
Please can someone advise about the correct syntax to impact on all duplicated MCs?
Thanks
Jim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|