Jump to content
Search Community

Restricting image flipping

foldiman test
Moderator Tag

Recommended Posts

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?



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.
  • Create New...