Overview
Transform3Dtool is designed like the 3D tool in Flash CS4 /5. But it is pure AS 3 library, you can use it in Flex, Flash, AIR , FDT, FD…There are many AS3 librarys for transform DisplayObject, such as senocular’s TransformTool, GreenSock’s TransformManager, etc. DisplayObject become 3D in Flash Player 10. Transform3DTool is a library like TransformTool, but it’s for 3D in Flash Player 10!
Usage
Create a Transform3DTool, add it to the display list, and set Transform3DTool.target. For example:
var tool3d:Transform3DTool = new Transform3DTool();
addChild(tool3d);
//set target
tool3d.target = mc1;
//"update" event will be dispatched when target transformed
tool3d.addEventListener(TransformEvent.UPDATE, updateEventHandler);
Components
Transform3DTool consists of RotationTool, TranslationTool and GlobalTranslationTool.
You can set Transform3DTool.tool to specify which tool to use. The tool names are listed in TransformToolMode. There are 4 tool mode:- “all”
- “rotation”
- “translation”
- “global translation”




