|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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!)
|
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > button action in Flash |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|