AS3 Properties: Simple movieClip rotation

Create a movieClip on the stage.
Give the movieClip an instance name of "mcFace"

Actionscript:

addEventListener(Event.ENTER_FRAME, fSpin);

function fSpin(event:Event):void {
mcFace.rotation+=1;
}

Get Adobe Flash player

Leave a Reply