Jump to content
Search Community

Do I have to destroy always when the TransformItem has removed?

Richard Ryu test
Moderator Tag

Recommended Posts

Hi there.

 

I'm wondering, the transformitem how to remove child item?

Do I need to destroy() method declaring always if I try to removeChild from my stage?

 

If I use bitmap in transform item, Should I run dispose() function at every removeChild action For the memory?

 

I've read the document for this one, However I could not find my answer :(

Link to comment
Share on other sites

If you want to destroy your Bitmap, it's probably a good idea to dispose() it but that's more of an Adobe question. And yes, you should destroy() the TransformItem if you want TransformManager to release it and no longer track things for that instance. 

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...