• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 760
  • Last Modified:

Rotate a movie clip with Actionscript 2.

Hi all, I am creating a some Flash Animation using actionScript2,

Basically I have three buttons (movie clips) say button1_mc, button2_mc, and button3_mc.

I have three cogs (movie clips) cogg1_mc, cogg2_mc and cogg_3mc.

What I need is some smooth rotation animation on the coggs when I roll over, roll out on the button mc's.

I need cogg 1 to rotate clockwise, cogg2 anti-clockwise and cogg three clockwise. But I want the rotation to start slowly then gradually speed up to a constant speed, then when you roll off the button they gradually slow down and stop. I want to be able to adust the start and rotation script/speed to my liking.

Any help much apprecitaed.

2 Solutions
Hi there. i'm assuming you know how to handle the mouse events (roll over etc)
for the rotation with the slowing down etc, i'd recommend you have a look here
these are free packages to use, for what you you want have a look at TweenLite - the site is full with examples on how to implement it.
just make sure you download the AS2 packages.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now