Hello!
Today I'll show you how to implement simple history manager for undo/redo operations. It's very simple example and it doesn't handle changing target of transformation and other user specific operations. For this purpose you need to create something more complex probably using command pattern.
See example below. Press view source context menu to get source code.
SWC: Transform Tool 2 version 2.4.0.
Source code: Project home page.
ASDoc: API ASDoc.
Required Flex SDK version: SDK 4.5
Hi Volodymyr ,
ReplyDeletecan you provide me the source of the SWC: Transform Tool 2 version 2.4.0. it will be really helpful for me.please get me on my email id: vikash.vikki@gmail.com
Project home page here: http://code.google.com/p/transform-tool/
DeleteSource for version 2.4.0 can find in SVN tag here: http://transform-tool.googlecode.com/svn/tags/2.4.0/
This is a really great job! But I'm curious if it's possible to use the same technique for multiple objects. As you see the idea is to select multiple objects on canvas and modify them together!
ReplyDeleteI'm currently working on multi selection support.
Deletehello Volodymyr Styranivskyy,
ReplyDeleteyou are good .....
your multi selection histroy support ready or not?