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

Movies and Frames

Status
Not open for further replies.

ihenrytrani

Technical User
Sep 2, 2001
3
US
I want to have a movie held in one frame (frame 1). Then at the end of the movie, i want to go into another frame (frame 2), which will have another movie. This is an easy way for me to organize movies without having things jumbled together. However, I don't know how to switch from the first frame to the second frame while completing the movies. Can anybody offer solutions?
 
try putting this code on the last frame of your movieclips:
telltarget(_root){
nextframe();
}
 
Although it will still work, the tellTarget action is deprecated in Flash 5. Simply use:_root.nextFrame();

Of course that should be called from the last frame of the movie clip (mc is different from a movie that could be an external .swf loaded on another level!), held in frame one.

If you were to call this action from an external .swf loaded on another level you would have to use:
_level0.nextFrame();
...And not _root, because you would be addressing the root level of the loaded movie itself and not the root level of the main movie.

Regards,
wink4.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top