Link to home
Start Free TrialLog in
Avatar of CPOJoe
CPOJoeFlag for United States of America

asked on

Spinning image in Flash

I'm trying to make a short animation in Flash (CS3 with ActionScript 3), where a graphic will zip around the screen, while spinning, for a few seconds.

I plan to do the zipping around will simple motion tweens. I know I could to the spinning with tweens -- but, would rather do it via Action Script.  Sadly, I'm an Action Script rookie and don't know how to do it.

Help?
ASKER CERTIFIED SOLUTION
Avatar of alien109
alien109
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CPOJoe

ASKER

OK - but, need to get basic.
So, I have my image on the stage. I'll do F8 to convert it to a movie clip, right?  Then, do I F9 to put in the code on the MC?
as3, btw.
Avatar of CPOJoe

ASKER

So, I just clicked in the 1st frame of the main timeline and up the code in there.  I'm getting some rotation -- have to tweak the frame rate, etc to get it to look right.
But, it's rotating around the top, left corner and not the center.  Not sure how to change that...?
Avatar of CPOJoe

ASKER

Ahh -- OK, Converted the .png to an MC, and put the code on the 1st frame of the MC -- now its rotating around the center...