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

Controlling external movie end

Status
Not open for further replies.

chateaucl

IS-IT--Management
Feb 5, 2001
9
CL
I used the loadmovie command to load and play an external movie. I don't know how to pass the control to other escene after the movie ends. It continue playing, starting again and again...
 
stick a 'stop' action where you want it to stop playing. dave@davdesign.co.uk

^^^^^^^^^^^^^^^^
 
The way I do it (for what it's worth... And until I find another way!) is by reloading my first movie in an actionscript key frame at the end of the second movie I've loaded. Guess that woudn't work if you don't have acces to the second movie's fla. A workaround might be to load your second movie on another level while keeping a second button on level0 visible so that you can't unload it at any time!

;-) "If nothing else, I can always serve as a bad example!”

 
okay hit me for that one!

at the end of each of your movies insert an action which sends the user back to the desired frame. AFTER this insert another keyframe with a Stop action (and a label like STOP). This way both your movies can be told to go to the STOP frame (which won't show any of the movie's content). And when you need it to play again just use the Tell Target action to tell it to go to another frame.

It's the ONLY way I do it and it works every time and prevents you loading and unloading movies all the time if you have a complicated site.

dave dave@davdesign.co.uk

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top