The additions to the Flash Player API allowing 2.5D transformations on DisplayObjects seem to have passed Flex 3 By. Flex 4 has some Effects allowing Components to be manipulated in 3D space, but there was nothing added in Flex 3.5. I have written two Effects to make use of the new APIs, allowing you to move and rotate Flex Controls & Containers in 3D Space. You can play with them by clicking the image below.

The handling of 3D is surprisingly buggy. These effects offer two built-in fixes that you can turn of if you like. The first compensates for the slight distortion to DisplayObjects’ X and Y scales when an Object has a 3DMatrix applied, and the second automatically swaps out the 3DMatrix for a standard (2D) Matrix when the Effect target’s rotation and position allow (Basically, if the Object is at 0 on the z axis and is not rotated at all on the x or y axis).


__


Subscribe to comments Comment | Trackback |
Post Tags: , ,

Browse Timeline


Add a Comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


© Copyright 2007 1ndivisible . Thanks for visiting!