In this tutorial, you'll learn all about the new 3D features included with Flash CS4. The latest release of Flash supports the ability to rotate and move flat objects (movie clips) around in 3D space. In the tutorial, you'll also learn how to animate the 3D rotation of an object using ActionScript's new rotationX, rotationY, and rotationZ properties.
Here is the code for this tutorial:
addEventListener(Event.ENTER_FRAME, rotate3D); function rotate3D(e:Event):void { sof_mc.rotationX += 4; sof_mc.rotationY += 4; }















Stephane
Great tutorial but :
3D Movie Clip on the stage is quite easy to understand, but have you tried to use a MovieClip ( named MC for example) with a 3d Movie Clip inside (named MC2). It’s hard to undestand because, if you move the MC on the stage, MC2 will change too !!. Actually, i don’t understand how to really control it. A tutorial ?
PS: sorry for my bad english, i’m french !!
Ryan Henson Creighton
Characters are possible. They’re a lot of work, but they’re possible. A 3D model is just a series of flat planes like the one you’re playing with here.
ssj3mohan
Ty a lot for tutorial.I am so happy for your help.
I am wacthing all your tutorials .Cya
Kurt
Great tutorial, but is there a way to change the X, Y or Z axis with actionscript?
Han
I can’t really saw the text of action script from this video. Do you mind to upload the text of action script on the page as well?
anyway, thanks a lot for your chip, It is really helpful for me
Kurt
how do people watch this? the camera sucks so much! i can’t see what you are doing man with that sucky camera work.
Hello sir
I have one problem with this and that is when you rotate on the y scale ( trying to rotate a playing car on an angle like a diamond)after i go past a certain angel the animation messed up the card does not spin it flips everywhere. anyone wanna help me on that?
Riiich
Hey, just to say, great vid. keep it up. i was wondering, is there any way to make 3D models? or should i just use a program like swift 3D to make them? as im using 3D models in flash
Michaelc
Very interesting stuff, and not too bad even for newbies. I am interested in developing a flash game (running on osx) designed to be controlled with the wii balance board. Are there any good examples of someone doing that out there?
John
Very intersting lesson. I interest in this flash 3d side. Do anyone know any free learning site about image flipping and related stuff?
Thanx for this tutorial.
adssf
kanker wat slecht
Phot
hello
i did it but have error:
1120: Access of undefined property sof_mc.
help me
Sachin Ghare
I like the video. Cool. You can visit my blog i have also mentioned it using video file, ttp://www.sachinghare.com/blog
THX.
3d tutorials
It’s really cool video. And cool stuff. I get an idea for my new project from it. Thanks for sharing.
Brian
Thanks for taking the time to put this up and including the bit about action script at the end. I dusted off some of my books to dig deeper into what’s possible with flash as a result. Having a great time and see a lot of possibilities. Your tutorial inspired that. So thanks again for taking the time to put it together
Web Design India
interesting tut i will try this