Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending multiple movie clips to the same frame

Status
Not open for further replies.

wilcdr

Programmer
Jan 4, 2001
19
CA
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
 
Stop mc1 while this thing is going on in the inside mc?

;-)ldnewbie
 
Hi,

No, I can't stop mc_1... that's the whole point... there is an animation playing (for example, a character), and I want to be able to change the frame of movie clips for the head, body, etc. The character movie clip (mc_1) itself have some animation of the head, body, etc in its timeline.

So, bottom line is, I can't stop mc_1!

Thanks!

Willy
 
Hard for me (maybe easier for others!) to really understand what you're getting at? Any small portion (demo) of this you can upload, so I, at least, can visualize the problem?

;-)ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top