Jump to content


clear entire transfomManager array? [SOLVED]

Recommended Posts

Is there a single event that I can assign to the a clear button to puge everything on a page?

(as opposed to deleting one item at a time or grouping and deleting)

Link to comment
Share on other sites

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:




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.