« Bad News and Good News | Main | UPS Tracking via Yahoo Maps »
Image Cropping with AS3 and Flex 2
| By Rich Tretola | November 15, 2005 | |
| 11,189 views |
This example show how to crop out a section on an image using the new Bitmap and BitmapData classes. It captures the x,y,height, and width from the draggable red crop box. Source code for this sample is available in the Flex By Example section of IFBIN.com.
This sample requires the Flash 8.5 player.
Topics: Flex, Tutorials | 5 Comments »









October 17th, 2008 at 1:03 pm
hi friends.i need to crop the image in flex using actionscript.can yu please help me?
Reply to this comment
January 23rd, 2009 at 12:57 am
that could help you
http://code.mediablur.com/ImageCropper/ImageCropperDemo.html
Reply to this comment
January 7th, 2010 at 11:59 am
Hello,
I have gone thru some of examples and i find them interesting.
I am trying to develop a crop tool(in Actionscript3) having rectangle, circular, triangular kind of shapes. I did the
rectagular crop using copyPixel(). But I am not getting the other crop-shapes.
Can you help me out of this problem by giving suggestions or some hints.
I hope you will.
rgds,
Satish
Reply to this comment
April 29th, 2011 at 3:03 am
Is there a way to make selection, like magmatic lasso tool around an image and then crop it and save as a .png file in flex.
Reply to this comment
May 11th, 2011 at 2:59 am
rectagular cropping tool with adjust size with all 4sides by using mouse, means we can make shape bigger or smaller by those sides. How we can do this in flex4.
Reply to this comment