PDA

View Full Version : rotate dynamic text about y-axis


jaypozo
02-08-2007, 02:01 AM
Has anybody done this or seen a tutorial online? A client wants this effect, like a page turn, rotating 360 degs. It'd be nice to do with ActionScript - although I'd settle for a good frame tween (which you'd think I could figure out, but i'm hitting a mind block).

Thanks!!

Noct
02-08-2007, 04:19 PM
To rotate dynamic text you have to embed the font into the textField.
Beyond that, it's as simple as:
thisText._rotation

jaypozo
02-08-2007, 05:08 PM
That would work if i wanted to rotate about the z-axis, but i'm looking for rotation around Y.

Noct
02-08-2007, 08:55 PM
...
There is no Z axis is 2 dimensional space. Y is up and down, X is left and right.
Z is how close you are to the "screen" or how far away. (depth) You can fake it in flash, but it only really exists in 3d programs.

By saying y rotation, I assumed you meant an object spinning around head over feet.If you want something that appears to move towards the screen that is not rotation, it is a trick.

I get now what you are asking about though,
run a search on page turn, there is about a dozen threads about it here, and tutorials all over the place.


http://www.flashvista.com/details/item/3172/
http://www.kirupa.com/developer/actionscript/3dexplore.htm
http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html
http://webxadmin.free.fr/article/flash-page-turn-effect-goto-pageflip-234.php
http://nathanpitman.com/journal/125/amazing-flash-page-turn-effect
http://www.tutorialized.com/tutorial/Book-with-Page-Turning/2272
http://www.iparigrafika.hu/pageflip/
http://www.actionscript.org/forums/showthread.php3?t=111400&highlight=page+turn
http://www.actionscript.org/forums/showthread.php3?t=126891&highlight=page+turn
http://www.actionscript.org/forums/showthread.php3?t=120665&highlight=page+turn
http://www.actionscript.org/forums/showthread.php3?t=119084&highlight=page+turn
http://www.actionscript.org/forums/showthread.php3?t=112097&highlight=page+turn