Jump to content
GreenSock

Nik39

Delete Transform Manager

Moderator Tag

Recommended Posts

How can I delete an instance of the TM?

I'm using destroy() but it does not seem to be working...

Link to comment
Share on other sites

Could you explain what you mean by "it doesn't seem to be working"? What are you expecting to happen? Did you think that would immediately delete all of its targetObjects? (it doesn't). You can, of course, select all of the items and deleteSelection() and then destroy() if you want.

Link to comment
Share on other sites

Apologies, "not working", bad choice of words.

I actually think the TM has nothing to do with it now.

I apply the TM to a loaded Bitmap which it then happily transforms perfectly.

The issue I'm having is if I reset the app I'm building and load in another Bitmap it retains all of the previous transformations.

 

I thought if I removed the target & then destroyed the TM that would reset things.

 

I now think that I need to reset the dimensions & positioning of the container clip.

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