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!

Make clip play when hitting button 1

Status
Not open for further replies.

Firehawk734

Technical User
Jan 22, 2002
155
US
Hey gang...

I have a list of buttons, taht I when I roll over a button, i want a clip to play that is somewhere else in the movie. In other words, When any of my buttons R rolled over, I want a movie clip with an animation, thats about 1 second long, to play. Is there a way to do this without having to put the movie clip inside of the button??? For instance,

on (rollover);
goto and play or watever???

I ask because the clip is pretty far away from the button, and even though I suppose I could add the clip into the button, I guess I am wondering if theres another way to do it.
 
The movie clip has to be present (it can be stopped on a blank keyframe) in the same frame as the button for it to work!

on (press){
_root.mc_instance's_name.play();
}

Otherwise your button has to send the main movie to the frame where the movie clip is present.

Regards,
new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top