Monday, October 31, 2011

Transform Tool 2.3

Hello again, I've added new interesting functionality in Transform Tool ver. 2.3 and today I would like to share it with you. First of all I've added ability to set box which will be used as boundaries for tool. Also you can specify snapping grid, you can use it in two different variants. First when you not specify "fraction" (fraction - the maximum delta value between grid line cross and actual position of transform tool that leads to snapping). If you not specify it then it will always jump by grid, see example below. Press view source context menu to get source code. 


And second when you specify "fraction", see example below. Press view source context menu to get source code. 

Also I added supporting guidelines. Currently they are supported only by MoveOperation. See a little bit more complex example below. Press view source context menu to get source code. 

Here you can change target of transformation simply clicking on different images. Move them around to see guidelines.


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

3 comments:

  1. this is really nice, but there is still alot missing from this tool to make it proper, eg. http://blog.ryantan.net/2011/04/free-transform-manager-as3-v1-3/ and of course object handles.

    for example:
    - shift to resize and maintain aspect ratio,
    - multi-select,
    - deselect on clicking background
    - model architecture is not good, its too focused on mxml and not as3.
    - able to enable and disable the handles.
    - also seems only to handle images, not text

    but overall, nice project.

    ReplyDelete
  2. This tool is designed for Flex 4 skinning architecture and development is currently in process. Concerning features:
    1. "shift to resize" - do not understand what you mean
    2. "maintain aspect ratio" - already implemented, you just need to switch it on in your custom skin (maintainAspectRatio property in ResizeOperation)
    3. "multi-select" - in plans.
    4. "deselect on clicking background" - selecting/deselecting objects is not part of transform tool, you can do it easily by yourself.
    5. " model architecture is not good, its too focused on mxml and not as3" - its based on flex skinning architecture.
    6. "able to enable and disable the handles" - you can do it creating your custom skin.
    7. "also seems only to handle images, not text" - text also works, I'll show examples in next posts.

    ReplyDelete
  3. Also concerning "model architecture is not good, its too focused on mxml and not as3" if you need tool that works in pure as3 projects use senocular transform tool.

    ReplyDelete