Jump to content

Richard Ryu

To add allowDelete:true option after a TransformManager has been created?

Recommended Posts

I usually create my transform manager like below : 


var manager:TransformManager = new TransformManager();

var mc1Item:TransformItem = manager.addItem(mc1);
var mc2Item:TransformItem = manager.addItem(mc2);


Question 1 :

I'd like to add an option "allowDelete:true" in the transformManager.

How can I resolve my trouble?


Question 2 :

And there are one more thing.

I'm planning to make a button that is used in purpose for removing TransformItem.

If then which action do I declare?


I'm currently using backspace key for removing item

Link to comment
Share on other sites

I assume you mean:

manager.allowDelete = true;

And if you want to delete a particular item:


In case you haven't seen them, there are docs at http://greensock.com/asdocs/transform/

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.