Skip to main content
Participant
August 1, 2007
Question

Delay flash animation after mouseover

  • August 1, 2007
  • 2 replies
  • 400 views
Hi,

I have l logo animation but i don't want it to play every time a user runs over it with mouse.
I'd like it to start playing after the user has stayed on the banner for 1 second (30 frames in my case). So if the user leaves the logo before 1 second, the animation wouldn't start.

Can it be done with actionscript? If so then how
I use flash for tweened animations and am not familiar with programming languages. So a code examlpe (or a link to one) would be very welcome

The code to activate the animation is as follows:


this.mask_mc.onRollOver = function()
{
_root.logo_mc.spin_mc.play();
_root.logo_mc.play();
_root.text_mc.play();
}


Cheers,
Sven
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
August 2, 2007
you're welcome.
kglad
Community Expert
Community Expert
August 1, 2007
try:

Participant
August 2, 2007
Thank you! The script You provided does just what I need :)

Sven