Thursday, January 12, 2012

Transform Tool - custom control

Hello! 
Today I'll show you how to add custom control (e.g. delete button) into transform tool. You simply need to extend UITransformTool or TransformTool class, add skin part for this control and define it in skin.
See example below. In this example I also added ability to deselect objects clicking on panel, supporting guide lines for move, resize (only for rotation multiplied by 90 degree) and rotate operation.
Press view source context menu to get source code. 

SWC: Transform Tool 2 version 2.3.9a.
Source code: Project home page.
ASDoc:  API ASDoc.
Required Flex SDK version: SDK 4.5

2 comments:

  1. Great Man. Thank you very much for this work:).

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete