AS3 button mouse out improvements

Hi,

Being new to flash development, I have found this site very useful, but have a problem which I cannot find a solution to.

I have a menu with a couple of buttons that ‘sway’ when the mouse rolls over them. When the mouse rolls out of them, currently the animations just stop dead, where I would prefer them to finish the animation cycle and then stop.

I have attached an example of what I have managed to achieve so far.

I’d even be happy for the buttons to just continuously sway, but even then the animation cycle ‘starts again’ on mousedown.

I know it’s only a small, non-critical problem, but I’t’d really improve the look of the site in my opinion.

Thanks for reading!
Rick.