Jump to content


Separate the TransformItem of "_tdisplayobject"

Recommended Posts

First of all, sorry for my English!


I've just purchased the Transforming class for implementing it in my project, and its incredible! ...but i have a problem.


It would be great if in future versions could be separated the _targetDisplayObject and the container where is gonna be placed. I'll try to explain:


The TransformItem always is placed in the parent of the _targetDisplayObject, to be together, but in many cases (masking,layers management), it is necessary to be separated both elements, and not having the same "parent" element.


In the actual code, it is not possible to separate this, and the result is this (an example where targetDisplayObject it's masked, or also there is an intermediate layer between targetDisplayObject and targetParentContainer):



what I propose:

var targetDisplayObject:DisplayObject;
var targetParentContainer:DisplayObject;
var _manager:ManagerTransform = new ManagerTransform();
_manager.addItem(targetDisplayObject, targetParentContainer, "scaleNormal", false);

and this is would be the result:



What do you think?

Link to comment
Share on other sites

I know that sounds very easy to implement, but unfortunately it isn't, particularly because of the multiple-selection capabilities. I'll certainly keep your suggestion in mind for future versions, though - maybe there's a workaround I can find.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.