Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE FLASH:HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

360 degree 3d object rotation

COW Forums : Adobe Flash

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Robert Hoffman360 degree 3d object rotation
by on Oct 17, 2011 at 6:56:04 pm

Hello,

I would like to take a 30 second movie loop of a 3d object I created and have it rotate as the viewer scrubs their mouse across the screen. I found a tutorial online which provides the action script for what I want to do however, when a I publish the movie the video just sits frozen and the mouse does nothing. Can someone look at this script and tell me what is missing, thanks!

cam.stop();
var frameTo:Number=0;

addEventListener(Event.ENTER_FRAME,goTo);

function goTo(e:Event):void{

frameTo=(mouseX/stage.stageWidth*cam.totalFrames)+1;
cam.gotoAndStop(frameTo);
}


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]