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!

Button Problems

Status
Not open for further replies.

RonnyM789

Technical User
Nov 6, 2002
13
US
I need one more thing to make the introduction to my animation complete.

How do I end a button so when i run a movie, it will come to a stop when it comes across the button?

When i made it, it runs through it just fine until it reaches the button and skips right over it.

Thank your for your help,
Ronny
 
You want to stop the movie by pressing on the button...or simply stop the movie when the button appears...i can't seem to understand you... Regards,
Dragos.


 
when it comes to the button, i want the movie to stop, then once you click on it, it will continue to the frame you want to start at
 
Ok!

"when it comes to the button, i want the movie to stop"

You will make another layer...above the one that contains the button and you will name it actions. You will add a frame on this layer wich is in the same place as your button...let's say your button is on frame 3...the action will be set on frame 3....now your movie(the one that contains the button) will stop when the button appears.

"once you click on it, it will continue to the frame you want to start at"

For this you will add an action to the button:

on (release) {
gotoAndPlay(2);
}

...this will make the movie wich contains the button to start playing from frame 2.


Regards,
Dragos.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top