SubjectTransformator To Transform Any DisplayObject

SubjectTransformator class is a simple utility class that lets you transform (rotate, scale, drag) any DisplayObject on stage. As for now, this class may be the subject of change, so please download latest version before use. You can see the demo below in the article…
Usage is pretty simple:
addChild(image); // Bitmap, Loader, whatever... var transformator:SubjectTransformator = new SubjectTransformator(); addChild(transformator); transformator.subject = image; transformator.draggable = true; transformator.addResizer(iconResize1, SubjectTransformator.POSITION_LT); transformator.addResizer(iconResize2, SubjectTransformator.POSITION_RB); transformator.addRotator(iconRotation1, SubjectTransformator.POSITION_RT); transformator.addRotator(iconRotation2, SubjectTransformator.POSITION_LB); transformator.transformatorMatchSubject();
Demo (click link below to get the source code):
Cool! I’ve made a similar tool, but unfortunately it’s closed source. It also features depth-swapping by clicking and snapping. You can see it in action at http://www.basilicon.se/julkort/
Nice, I like that, and those big white eyebowls