Jump to content
GreenSock

danno

TransformManager[AS3] - setScaleConstraints

Moderator Tag

Recommended Posts

is there a way to use setScaleConstraints() with a set pixel size instead of a percentage?

 

thanks!

Link to comment
Share on other sites

No, but you could do the math to figure out what that'd be, like scale = targetWidth / myObject.getBounds(myObject).width;

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