Adobe flash cs4 tutorial: 3d page flip

Adobe flash cs4 tutorial: 3d page flip

Get Fla

In this tutorial learn how to create the 3d page flip effect using actionscript 3 and the tween classes. This effect looks like the album cover flip in the new ipods.


16 comments:

Sam said...

good stuff...Keep it up.
So much easier to do this with CS4's RotationY prop.

DEEP'NEST said...

THNAX FOR THIS GREAT TUTORIAL BUT PLEASE SAVE UR SOURCE FILE IN CS3 VERSION SO OTHER CAN USE IT .MOST OF US STILL WORKIN FLASH-CS3

Roberto said...

Great tutorial!
One question tho...
How about the fx at the group94.com?
How they did that?

Sam said...

@Roberto
which fx are you referring to?
didn't realize they were behind the eternal moonwalk site; great microsite

Sam said...

@DEEP'NEST you'll need CS4/Flash Player 10 to accomplish this as in the tutorial. He's another example of this in CS4:
Interactive 3D Video Flip
http://www.gotoandlearn.com/play?id=91
You can do this in CS3 also, just requires a lot more code

Anonymous said...

Great Tutorial! I just don't seem to understand why my button flickers from one side to the other. Can anyone help?

Anonymous said...

Who can change those cs4 coding to cs3 format??
I can't open the source file... T.T
Thanks lot~


Leticia

Anonymous said...

what if i had 3 pages and three buttons outside that would flip the corresponding page. Would that be possible... could you please help me :D

Erin said...

Hey, awesome code! I was trying to include this code on a larger webpage, but it didn't work when I followed your steps for some bizarre reason. I then tried simply altering your source file, and while it works there, it doesn't work when externally loaded into another page (tried UILoader and another method). Any help with externally loading this would be greatly appreciated! :)
e-mail

Ricardo said...

How can I add text/contact forms or images to this?

Waarith Abdul-Majeed said...

I haven't tried to add contacts but I would just add the text fields and buttons.

Rajat said...

Who can change those cs4 coding to cs3 format??
I can't open the source file & this tutorials not working CS3... T.T
Thanks lot~

Anonymous said...

I noticed that when the page was rotated the Flash player consume 40-50% from my CPU , how it's possible? the animation it's finish but the CPU it's 40-50% used . tested in mozilla and IE and from Flash ( when i test the movie) Pentium 4 and athlon 64 X2 tested!!!..

with caurina class... the same ~60%

and the problem it's the animation it's stop why the CPU it's in use ? so if you wont to put an animation like this in to a complex flash site.. your CPU why l be very very used..maybe if you have an intel 2 quad ... whyl work fine

Anonymous said...

Great tutorial i followed your tutorial and i was able to make a nice page flip but i have question how can i make same thing in as2 because i created page flip in as3(as per your tutorial) and rest of my movie is created in as2 so when i try to load as3 into as2 i get error and i found we can not do that so i was planning to create flip page in as2. can you please help me. where i need to make changes to make same effect in as2

thanks in advance

DjM

Hardly Wisdom said...

This is great, but I have one problem... it seems as though if I have other buttons or eventListeners on sideb (for example) they don't work after the flip.

Here's an illustration (not actually what I'm trying to do, but has the same idea):

sidea and sideb both have content. sideb has a contact page. When you flip to sideb, the submit button on the contact page doesn't work. It's almost as if the eventListener was removed.

Any ideas? I've tried this a bunch of different ways with test projects and I keep getting the same result.

The AS3 code is inside sideb. Help!

Sam said...

@Hardly Wisdom - I did a quick experiment by adding a simple button inside the sideb movie clip and can't seem to replicate your error. Can you post the code your using?

(added the EventListener to the button with:
con.sideb.sam_btn.addEventListener(MouseEvent.CLICK, thisnow);
function thisnow(e:MouseEvent):void
{
trace("here");
}