Has anyone had a chance to explore the new rotation X/Y/Z
properties added in Flash Player 10? If you look at
it says "Indicates the x-axis rotation of the DisplayObject
instance, in degrees, from its original orientation relative to the
3D parent container." However, I can't seem to get the "relative 3d
parent container" to be anything other than the Stage
Take a look at this:
http://blog.dcholth.com/beta/tests3d/PanelTest.html Here we have just a TitleWindow, with a rotated canvas in it.
As you drag the panel around the screen, the value of the rotationX
of the canvas technically stays the same, but the way its
prespective changes since the "3d parent" is the application
itself, and not the TitleWindow it is held in.
One more example:
http://blog.dcholth.com/beta/RotTester/RotTester.html Each image on the screen goes Stage -> Canvas1 ->
Canvas2 -> Image with each Canvas2's rotation properties being
set to the same value, as determined by the sliders at the top. As
you will see, the perspective of each of these item's rotation is
very different. Its very realistic if you consider the stage to be
one massive 3D environment, but if you wanted Canvas1 to be its own
3d environment, so that all the images, no matter where they are
placed X/Y on stage have the same 'look' then it totally fails.
I have been playing with this since its release, and have yet
to find a way to get the rotation of an object's XYZ property to be
unique to that object's parent, and not related to the entire
Anyone have any experience or thoughts on how to fix this?