PDA

View Full Version : Pausing an animation.


stompeers
04-12-2003, 10:19 PM
Hello there,

I once saw a web page with a flash animation that was a circle rotating that had different words rotating around it, and each time you would roll your cursor over it, it would pause the animation and you could click the word which would open a link. I'm trying to emulate the idea, and I think I've figured out how to do most of it except how to pause it while it's in motion. I am doing a simple cw rotate 1 time tween that repeats. Any ideas?

Thanks,
Chris

Warrior
04-13-2003, 03:30 AM
Put a stop and play action on the button like this,
on (rollOver) {
stop ();
}
on (rollOut) {
play ();
}

stompeers
04-17-2003, 09:42 PM
Thank you, Warrior

I decided I needed to have a better idea of how ActionScript works before posting questions like this because I only have a vague understanding of your suggestion, even though I am sure they are complete. I tried using the code above, but I guess I'm putting it in the wrong place or using the wrong syntax or something. So I'm going to go through a couple tutorials first and then come back here if I still don't get what you are talking about.

Thank you,
Chris

texbala
04-19-2003, 03:22 AM
did u mean this:
http://actionscript.org/tutorials/beginner/Navigation_Circle/index.shtml

stompeers
05-23-2003, 06:30 AM
:D Thank you, texbala! Sorry it took me so long to reply, but that was exactly what I was looking for.

Have a great day,
Chris