Cropping in flex

2014-07-23 Thread skvsarathyourfriend
Hello all, I wanna crop an image and upload it. I want to show the area for cropping. I am using mask for image. but it is not as excpected. Here is my code for that *

Re: Cropping in flex

2014-07-23 Thread Chris Martin
You could probably use mouse click events to render a custom selector component on top of the image. The selector component would probably be just a simple rectangle grouped with four tiny rectangles one in each corner. Then use drag events on each of the tiny rectangles to perform the resizing of

Re: Cropping in flex

2014-07-23 Thread Evyatar Ben Halevi-Arbib
You can review this example for ideas - http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/ It's a bit old, but some concepts might still be relevant. Good luck, Evyatar On Wed, Jul 23, 2014 at 12:51 PM, skvsarathyourfriend < skvsarathyourfri...@gmai