I'm doing a bit of Flash work and I've got a bit stuck with some ActionScripting... I was just wondering if anyone might know a solution!?
http://www.willcheyney.co.uk/guide.swf
Take a look at 'guide.swf' (link above).
Hover your mouse over the options and notice that animations kick in. The option I'm having trouble with is 'WORK'. If you hover and leave your mouse over it a series of additional 'pillbox' options run in. Move your mouse out after they have all appeared, and the animate themselves out. Fine. However, if you don't leave your mouse in place until all addition 'pillboxes' have come in, then the animation will jump. All the additional 'pillboxes' will be displayed suddenly, and the outro animation will then play. This is my problem!
I need code so that if the mouse is pulled off the 'WORK' option mid-flow (before all additional 'pillboxes' have had a change to animate in), the animation reverses itself from wherever it is and animates itself out.
Does that make any sense? My portfolio (http://www.willcheyney.co.uk) does a similar thing of playing the timeline in reverse, but I haven't manage to 'translate' the code to this as it were.
Any assistance would be much appreciated!
Thanks.
http://www.willcheyney.co.uk/guide.swf
Take a look at 'guide.swf' (link above).
Hover your mouse over the options and notice that animations kick in. The option I'm having trouble with is 'WORK'. If you hover and leave your mouse over it a series of additional 'pillbox' options run in. Move your mouse out after they have all appeared, and the animate themselves out. Fine. However, if you don't leave your mouse in place until all addition 'pillboxes' have come in, then the animation will jump. All the additional 'pillboxes' will be displayed suddenly, and the outro animation will then play. This is my problem!
I need code so that if the mouse is pulled off the 'WORK' option mid-flow (before all additional 'pillboxes' have had a change to animate in), the animation reverses itself from wherever it is and animates itself out.
Does that make any sense? My portfolio (http://www.willcheyney.co.uk) does a similar thing of playing the timeline in reverse, but I haven't manage to 'translate' the code to this as it were.
Any assistance would be much appreciated!
Thanks.