I want to create an image editor. I have this image which I can move
around the canvas.
I want to keep a border of the circle over this image. Now you you hit
the crop button, the part of the image which is under the circle
should get cropped.
How can I do this?
<mx:Canvas id="outside" height="100%" width="100%"
verticalScrollPolicy="off" horizontalScrollPolicy="off" >
<mx:Image id="inside" sour...@Embed('img/selfportrait.jpg')"
<s:BorderContainer borderWeight="2" borderColor="red">
Use masks, work directly on the pixels, matrixes, etc.
There are really many ways to achieve what you want.