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

Load movie problem.

Status
Not open for further replies.

Ivan1

Programmer
Jun 18, 2001
113
US
Hi.
I have a main movie, and several movies linked to the main one. The main movie contains an animation, and linked movies have BACK buttons on them.
Here is my question. How do you make BACK buttons on each linked movie take you back to the last frame on your main movie. I can't seem to figure out the action script for it.
Any advice is much appreciated.
 
Ivan1,

If you've loaded your movie on level1...
You could use something like the following for your return button in your loaded movie:

on (press) {
unloadMovieNum (1);
_level0.gotoAndPlay (10);
}

unloadMovieNum (1) is optional, if you want to remove the loaded movie. And you could also use _level0.gotoAndStop (10);

Make sure your replace the red number (10) by the number of the frame you want to return to!

;-)

PS: When are you registering with Tek-Tips?
 
Hey, Oldnewbie.
I really appreciate all the feedback on both of my posts.
Thank you so much, it's really helping me out.
What are the benefits of regestring with this forum?
Ivan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top