Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Nik39

The Masked Transform Manager

Recommended Posts

Hi,

 

I'm having a great time with the AS3 Transform Manager but I've run into a problem that I hope is easy to work around.

 

My target MC is masked so the TM gets masked also. This is ok as long as I don't transform beyond the bounds of the mask but I lose the TM's handles if I do.

 

Is there a method to force the TM above the mask while still allowing it to target the masked MC?

 

Thanks!

Link to comment
Share on other sites

Sure, just make sure your mask shares the same parent as the object that is being masked and transformed. The selection box/handles always rise to the top of the display list of that particular object's parent. If, however, you've got a mask higher up in the display list hierarchy (like a mask on the parent of your object), that cannot be worked around.

Link to comment
Share on other sites

Excellent thanks.

I found that with applying a mask using code rather than timeline layers worked fine.

Also I applied the mask after applying the TM which was applied after the DisplayObject was fully loaded into it's container.

 

If anyone else gets stuck with this :)

 

Thanks again for a great set of classes :D

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