I have 2 buttons. There is a MOUSE_OUT event for button 1 and a MOUSE_OVER event button 2. The buttons are right next to each other. Each event leads to a different frame. When the mouse moves from button 1 to button 2, both events get fired, first MOUSE_OUT and then MOUSE_OVER - but the MOUSE_OVER event cuts off the MOUSE_OUT event and doesn't give it a chance to fully execute.
To be more clear, for each event, a function is called which has "gotoAndPlay(x)" (x is some different frame number for each) The gotoAndPlay() will go to lets say frame 437 and play exactly 2 frames. But when MOUSE_OVER is fired and it calls my function, it calls the gotoAndPlay() BUT it doesn't get to play the 2 frames. It gets cut off because the MOUSE_OUT gets fired which calls a function which then calls gotoAndPlay() and plays a different 2 frames. How can I allow the first 2 frames to fully play and then the last 2 frames?
you could use a variable/value to indicate what should be done after you mouseout but you really should rethink your setup. the rollout of one button should be independent of the rollover of a different button.
Right. That is exactly what I need to do. How do I make the rollout of one button independent from the rollover of another button? When I create a button (symbol), are there built-in "over' "out" "click" values that I need to fill in? Right now I am just pointing to frames...
you're most limited with simple buttons and may want to use movieclip buttons (for greater flexibility).
with simple buttons, there are up, over and down frames that you can use to display different states for the button.