摘要:
import com.senocular.display.TransformTool;
var currTool:TransformTool = new TransformTool();
addChild(currTool);
currTool.target = a;
stage.addEventListener(MouseEvent.MOUSE_DOWN, select);
function select(event) {
if (event.target is Stage) {
currTool.target = null;
} else if (event.target is Sprite) {
currTool.target = event.target as Sprite;
// toolInit();
}
} 阅读全文
摘要:
TransformToolCursor.as 阅读全文
摘要:
TransformToolControl.as 阅读全文
摘要:
TransformTool.as 阅读全文