Jump to content
GreenSock

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

Block an Item from being scaled/rotated?

Recommended Posts

I'm using Flex and I'd like to use the Transform Manager to rotate and scale a variety of custom components which contain an image and text. This part works great. I have the TransformManager in my MXML and then all of the component nodes inside it.

 

The problem is that the component has a roll over action that displays a button when you roll over the object. I don't want this button to scale or rotate with the rest of the content inside the component. I always want it to be say 100px by 50px. How can I accomplish this? Do I need to move the button outside of the component?

Link to comment
Share on other sites

Yep, you'd need to move it outside the component (if I understand your description properly).

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