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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with movie clip playing functions!

Status
Not open for further replies.

B52AlphaJackal

Technical User
Mar 5, 2007
52
GB
can anybody tell me if there is a simple way to make a movie clip play out before doing the next function

i have a movie clip that tweens to enlarge, then a stop(); function stoppes it on frame 10, frames 11-20 tween to shrink again before it goes back to frame 1 to be restarted again.

i have 4 of these all together, and i want which ever one is enlarged at the time to shrink before the next one grows, i need frames 11-20 to play on one movie clip before the next one starts

because if i use for instance

on(release)
_root.movie1.gotoAndPlay(11);
_root.movie2.gotoAndPlay(1);
}

the second movie plays before i want it to, how do i get it so that movie 2 wont start playing until movie 1 has reached frame 20?
 
If the playing of your mcs is always the same... 1,2,3,4 then you should have the next movie playing only from the ending frame(20) of the previous movie, rather than on the button itself.

If the playing order is user dependent, you then need to set a variable on the button press, holding the instance name of the next movie to play, play the current movie from where it's stopped, and only have the next movie play according to the set variable on the last frame(20) of the currently playing movie.

Regards. FLASH HELP - OPENED FOR BUSINESS!
TO GET YOUR OWN FREE WEBSITE HOSTING
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top