Skip to content

raymondZhong/as3-transform-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##AS3 Transform Tool

####A simple transform tool similar to what you might find in an application like Photoshop.

Example Usage


var tool = new TransformTool();
    tool.mode = TransformTool.ROTATE;
    tool.iconScale = new HandleHintScale();
    tool.iconRotate = new HandleHintRotate();
    tool.boundaries = new Rectangle(50, 50, 475, 260);
stage.addChild(tool);

// register targets so they can be selected //
    tool.targets = [mySprite1, mySprite1];
// set the tool's active target on mouseClick //
    tool.activeTarget = mySprite1;

Live Demo & More Information Here.

About

A simple transform tool similar to what you might find in an application like Photoshop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published