/ Published in: ActionScript 3

URL: http://www.onenterflash.com/2008/09/oef-flash-cs3-tutorials-360-view.html
Have fun with flash as 3.0. Don't forget to show me the result.
Expand |
Embed | Plain Text
cam.stop(); var frameTo:Number=0; addEventListener(Event.ENTER_FRAME,goTo); function goTo(e:Event):void{ frameTo=int(mouseX/stage.stageWidth*cam.totalFrames)+1; cam.gotoAndStop(frameTo) }
You need to login to post a comment.