Jump to content
Search Community

clear entire transfomManager array? [SOLVED]

evan test
Moderator Tag

Recommended Posts

What do you mean "purge"? You can removeAllItems() from a TransformManager instance, but that does NOT remove the DislayObjects from the stage - it just releases them from TransformManager's control. If you want to delete them all and remove them from TransformManager's control, you could do something like:

 

myManager.selectItems(myManager.items);
myManager.deleteSelection();
myManager.removeAllItems();

 

Note: You'll need at least version 1.2 of TransformManager to get access to the deleteSelection() function (released today)

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.
×
×
  • Create New...