Share Posted August 23, 2012 Hi, Can we have a custom mask? Instead of the default rectangle? Can we have two different bounding box? One for the mask relative to the image. One for the image relative to the mask. Thanks again Link to comment Share on other sites More sharing options...
Author Share Posted August 23, 2012 And last thing, you forgot compatibility with Flex components (crop.as). if (parent.hasOwnProperty("addElementAt")) { //for Flex compatibility (spark) ... } else { _target.parent.addChildAt(this, targetIndex+1); _target.parent.addChildAt(_mask, targetIndex+1); } Thanks Link to comment Share on other sites More sharing options...
Share Posted August 23, 2012 Oh, were you trying to use Crop.as in Flex? No need - that's exactly why I created FlexCrop As for the other custom functionality you mentioned, you're welcome to add that yourself (it isn't supported natively). Keep in mind that Crop and FlexCrop were intended to be simply examples of how you could implement cropping behavior. Think of them as a jumping-off point. TransformManager drives everything under the hood anyway. 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