Wednesday, December 28, 2011

Transform Tool - live transformation

Merry Christmas and Happy New Year! 
Today I'm going to speak a little bit about PowerPoint transformation model. You may notice that it doesn't have live update of objects during transformation, but it has some kind of preview. I've added similar functionality, you can turn it on setting liveTransformation property of TransformTool into false, it will use target snapshot during transformation. For some cases (e.g. for text target) it is not good idea to use snapshot so I've added another option to use some cover instead. To turn it on you need to set showPreviewCover property of TransformTool into true. If you are using custom skin make sure that skin parts preview and previewCover is defined. See following example. Press view source context menu to get source code. 

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

Friday, December 16, 2011

Transform Tool - working with text

Hallo, today I'd like to show how to use tool for text block transformation. There is to ways: resizing and scaling. Resizing is default way of transformation, following example shows how to use it. Press view source context menu to get source code. 


For scaling you need to use special connector - UIScaleConnector. See example below. Press view source context menu to get source code. 

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