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!

help with movie clip interactivity

Status
Not open for further replies.

ChristianReese

Technical User
Dec 16, 2003
1
US
I am trying to create a button that has a rollover effect and also a down effect, that remains until the next button is clicked on. Problem is, I'm using 3 seperate movie clips for each state, each of which is designed to repeat itself (ie: when you rollover the button an animation begins and starts to repeat itself back to, say, frame 15 of that movie clip, and when you click on the button, the animation begins and then repeats back to, say, frame 40 of the new clip). I'm having trouble with the action script that 1. allows me to continue the animation of the "hit" movie clip until I press a new button, and 2. I'm not sure if I would use a movie clip to act as the button or if a button symbol would suffice. I really just need to be pointed in the right direction and I'm sure I could go from there. Thanks for any and all help.

Christian Reese
 
so you want a movie clip to go on forever 'till some other button is clicked?
then loop the movie clip (call it mclip1), and put an action script in the button that stops mclip1

Let's say there is a button with the instance name button1, a movie clip mclip1 in button1 "hit" frame.
then you have an other button with the instance name button2, a movie clip mclip2 in button2 "hit" frame.

and let's say you want the button2 to stop mclip1 to play when a user click on it.
then you want to put a: on (release)
then: _root.button1.stop();

hope it helps & works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top