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)
}
OEF Flash CS3 Tutorials: 360 view
In this tutorial you'll learn how to create a 360 degree view using Adobe Flash CS3. I use ActionScript to go back and forth between frames.
code:
Labels:
effects,
On Enter Flash
11 comments:
why dun use youtube
Hi Waarith,
Nice job with this online tutorial! You are very knowledgeable. As a Flash novice who wishes to learn my new Adobe CS3 Suite, for applying applications to my website, I appreciate the way you deliver your material. I will be returning to your site here, and will familiarize myself with the rest of your well-explained tutorials. Thank you, -John DeHaan
Thank you so much for the great tutorial! I've been trying to find a good way to do this as mine keeps crashing, much more elegant solution than mine!
Hi,
My Flash CS3 says:
Error,
"The class or interface 'Event' could not be loaded."
There´s something wrong with this:
*function goTo(e:Event):void{*
I can't tell what you did wrong form one line of code.
I think i did nothing wrong but is it possible thath there´s some feature needed in this tutorial that is not included in my version of FLASH CS3..
no It's all your errors
code is anyway the same, i think i cant copy and paste it wrong.
Sorry, my bad.
I did this tutorial again and now it works!
Great tutorial thanks!
Perfect web-site,
perfect instructor.
Waarith please check
barodox@gmail.com
:)
I am getting the same error as above... I am completely lost with this flash, any thing that would help would be appreciated. the error I am getting is: The class or interface 'Event' could not be loaded.
Post a Comment