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

dropdown menu for continual motion movie

Status
Not open for further replies.

dariwe

Programmer
May 10, 2000
17
US
I am building an application demo and the movie is in constant motion down the main timeline. There is a toolbar of options that allow the user to go to the next demo, home etc. On that toolbar, I want one of the buttons to be a pop-up menu. It needs to pause the movie keeping the current frame as the background, pop up a menu that will allow the user to navigate to different movies and if need be allow the user to continue on with the current movie from the point where it was paused.

Any help would be much appreciated.
 
to pause the movie the only actions you would need on the button (if it were located on the main timeline) would be:


on (rollOver) {
stop ();
}
on (rollOut) {
play ();
}


obviously you would change the 'rollover/out' to suit. If you have movie-clips buzzing about elsewhere and you wanted them to pause also you would give the button the actions:


on (rollOver) {
stop ();
with (_.root.the-route-to-your-clip) {
stop ();
}
}
on (rollOut) {
with (_.root.the-route-to-your-clip) {
play ();
}
play ();
}




need more?
dave
davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Forget the above....slight typo (plus long-winded, reactionary reply).

to pause the movie the only actions you would need on the button would be:


on (rollOver) {
_root.stop ();
}
on (rollOut) {
_root.play ();
}


obviously you would change the 'rollover/out' to suit. If you have movie-clips buzzing about elsewhere and you wanted them to pause also you would give the button the actions:


on (rollOver) {
_root.stop ();
_root.the-route-to-your-clip.stop();
}
on (rollOut) {
_root.play ();
_root.the-route-to-your-clip.play();
}


dave davdesign@pinkzeppelin.com

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

Part and Inventory Search

Sponsor

Back
Top