Share Posted January 2, 2009 I'm trying to prevent a transform item from flipping using setScaleConstraints(). However, it's not working. Here's my code. var TformManager:TransformManager = new TransformManager({scaleFromCenter:true, forceSelectionToFront: false, lineColor: 0xb9d4dd, handleFillColor: 0xd9f5ff}); var userPicItem:TransformItem; userPicItem = TformManager.addItem(userPic_cont_mc); userPicItem.setScaleConstraints(.1, 2, .1, 2); Is this the correct approach for what I'm trying to do? Thanks. Link to comment Share on other sites More sharing options...
Share Posted January 2, 2009 Yep, that looks like the correct code. It's not working? I just tested it and it worked great for me. You're using the AS3 version, right? The AS2 version doesn't have that feature. Link to comment Share on other sites More sharing options...
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