x0b Posted August 16, 2011 Posted August 16, 2011 Is there a way with Transform Manager to restrict the scaling from say 0.25 - 2 ? I can't see anything in the API but this would be a very important feature to have.
GreenSock Posted August 17, 2011 Posted August 17, 2011 Absolutely. There are maxScaleX, minScaleX, maxScaleY, and minScaleY properties. And there is a setScaleConstraints() method that allows you to set those all in one easy step.
x0b Posted August 17, 2011 Author Posted August 17, 2011 I only looked in the TransformManager API (as I assumed it would be a global thing) and not TransformItem. I guess it makes more sense to be able to set different values per item. Thanks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now