Hello!
Good news, I've added one of the most desired feature - multi selection. Currently it works similar to MS Visio multi selection model.
See example below, click on images holding shift or ctrl keys to multi select them. You can also drag mouse over design area to get selection rectangle. Press view source context menu to get source code.
SWC: Transform Tool 2 version 2.4.7.
Source code: Project home page.
ASDoc: API ASDoc.
Required Flex SDK version: SDK 4.5
Hello Volodymyr,
ReplyDeletei see you've been very diligent again!
I'm trying to set rotation manually (e.g. with Button [180°] or Slider). Can you tell me how to do it with Anker-Point in the center/middle?
Thaaanx a lot for answering my beginner questions!!
Hi,
DeleteWhat connector do you use: UIConnector, DataConnector etc.?
Hi,
Deletei use the UIScaleConnector.
protected function clickHandler(event:MouseEvent):void
Delete{
var data:DisplayData = DataUtil.createData(uiTrget);
data.rotate(180);
DataUtil.applyData(uiTrget, data);
tool.updateTool();
}
Thank you!
DeleteI'll try this!
Hi Volodymyr,
ReplyDeleteI wanted to know if your tool can support text transformation? For example, normal state and edit text state like in powerpoint. Because, if you try to select text with mouse, it is triggered as a drag event.
Any idea? Thanks,
Hi,
DeleteSee example in my post http://vstyran-flex.blogspot.com/2012/02/transform-tool-text-modes.html
you are a legend, totally awesome.. thank you
ReplyDeleteHi Volodymyr,
ReplyDeleteThis a small request. Could you please share an example for adding your transform tool to components added at runtime? Like if I create something like:
var txtField:TextField = new TextField;
Now when I try to add your transform tool to this, its not working. It will be a great help if you post an example with runtime added components.
Thanks a lot!
Abinash
Hi Volodymyr
ReplyDeleteShift keys and control keys do not matter. But a multi-dragging does not work.
Hi Volodymyr,
ReplyDeleteYour work really great...
i want to group two or tree objects permanently and then i want create another group...how can I achieve this?