OEF Flash CS3 Tutorials: 360 view

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:

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)

}


11 comments:

kyongenesis said...

why dun use youtube

jdehaan001 said...

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

Travis said...

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!

Anonymous said...

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{*

Waarith Abdul-Majeed said...

I can't tell what you did wrong form one line of code.

Anonymous said...

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..

Waarith Abdul-Majeed said...

no It's all your errors

Anonymous said...

code is anyway the same, i think i cant copy and paste it wrong.

Anonymous said...

Sorry, my bad.
I did this tutorial again and now it works!

Great tutorial thanks!

onurhan said...

Perfect web-site,
perfect instructor.

Waarith please check
barodox@gmail.com

:)

Plante Graffix said...

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.