|
Author
|
Topic: button action in Flash
|
Ben Kaplan Junior Member
|
posted March 06, 2000 10:20 AM
I am creating a fairly complex movie where the buttons must all have several actions and scripts attached to them. But, I am having trouble. I have attached a roll over, a roll out, a press and a release action to each button, each with a different goto result. My problem is that when I press it goes to the correct frame (I have a stop action on that frame) but when I release and roll out after the press, it activates the roll out. Is there a way to disable the roll out when the press has been activated? (Its probably something so simple that I am missing!) |
Carnes Junior Member
|
posted April 16, 2000 02:10 PM
You could try using a variable... when a button is clicked on, the variable is set to 1... set the release and rollout actions to only take place if the variable is 0. On your rollout action, have the LAST action be setting the variable to 0. This way, if the button was clicked, the rollout won't be activated, but the variable will still be reset. hope this helps |