How to make an "Ignore *this* command if..." command
I'm new to Adobe Flash and especially new to Actionscript. Could somebody give an example and explain how to make and "Ignore *this* command if..." style command. Here's what I want to achieve:
I have made a button (I may have done it in an odd way but it works) that moves when the mouse hovers over it and then moves back when the mouse moves away. I plan to put the finished product into Dreamweaver and have tried what I've done so far and it works. The problem is that if I move the mouse away before the first animation of the button has finished. It doesn't reach the *Mouse Out* command and then just sticks/stops in the bit where I have put a *stop* command.
Basically, what I want is a way to ignore a command if something happens earlier on (such as the cursor being moved away).
I've tried to explain the best I can without actually screenshotting it and copying commands.
Hope somebody understand what I'm trying to do...
Thanks in advance.
David