Share Posted April 4, 2011 Hi Jack, Just wondering if there is a odd behaviour with constrainScale. private var _manager:TransformManager = new TransformManager({ lockRotation:false, bounds:new Rectangle(5, 5, 645, 361), forceSelectionToFront:false, allowDelete:true, autoDeselect:true, handleSize:4, allowMultiSelect:false, ignoreEvents:true} ); var item:TransformItem = _manager.addItem(icon); item.constrainScale = true; var item:TransformItem = _manager.addItem(test); item.constrainScale = false; // both icon and test behave as expected. But change TransformManager to this: private var _manager:TransformManager = new TransformManager({ constrainScale:true ......}); // and test doesn't behave as expected. i.e its constrainScale behaves as though its true (even though set to false). Should this be the expect results? PS: Interestingly, when its false, icon and test behave as expected i.e private var _manager:TransformManager = new TransformManager({ constrainScale:false ......}); False cant override true, but true can override false. (odd) -Cheers C Link to comment Share on other sites More sharing options...
Share Posted June 9, 2011 Great catch. My apologies for the tardy response. I totally missed this post until today. This should be fixed in the latest version of TransformManager. Snag it in your GreenSock account at https://www.greensock.com/account/ 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