Hi all,
I have multiple movie clips ("mc_1" to "mc_10" for example) on the main stage that each contains multiple movie clips inside ("mcinside_1" to "mcinside_10" for example). Now, I want all of mcinside_1 to mcinside_10 to go to a particular frame (as per a number I come up with using a random function).
And to complicate things, each of mc_1 to mc_10 each has its own animation (motion tweens and such on mcinside_1, etc).
For example, in mc_1, mcinside_1 exists on frame 1-10, and from frame 11-20 it's a motion tween of mcinside_1.
When I tried something like this:
mc_1.mcinside_1.gotoAndStop("frameToGoTo"
It will go to the correct frame, but it will switch back to the first frame when I hit frame 11 of mc_1. How do I get it to stick in "frameToGoTo" for the whole duration of mc_1?
Thanks!
Willy
I have multiple movie clips ("mc_1" to "mc_10" for example) on the main stage that each contains multiple movie clips inside ("mcinside_1" to "mcinside_10" for example). Now, I want all of mcinside_1 to mcinside_10 to go to a particular frame (as per a number I come up with using a random function).
And to complicate things, each of mc_1 to mc_10 each has its own animation (motion tweens and such on mcinside_1, etc).
For example, in mc_1, mcinside_1 exists on frame 1-10, and from frame 11-20 it's a motion tween of mcinside_1.
When I tried something like this:
mc_1.mcinside_1.gotoAndStop("frameToGoTo"
It will go to the correct frame, but it will switch back to the first frame when I hit frame 11 of mc_1. How do I get it to stick in "frameToGoTo" for the whole duration of mc_1?
Thanks!
Willy