Return to Snippet

Revision: 24698
at March 9, 2010 06:35 by winlwin


Initial Code
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)

}

Initial URL
http://www.onenterflash.com/2008/09/oef-flash-cs3-tutorials-360-view.html

Initial Description
Have fun with flash as 3.0. Don't forget to show me the result.

Initial Title
360 Degree View

Initial Tags
flash

Initial Language
ActionScript 3