Calendar

November 2005
S M T W T F S
« Oct   Dec »
 12345
6789101112
13141516171819
20212223242526
27282930  

Tag Cloud

Categories

Archives

Recent Posts

Recent Comments


« Bad News and Good News | Main | UPS Tracking via Yahoo Maps »

Image Cropping with AS3 and Flex 2

By Rich Tretola | November 15, 2005
6,188 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.

Run This Code

Topics: Flex, Tutorials | 3 Comments »

3 Responses to “Image Cropping with AS3 and Flex 2”

  1. karthikeyan.cs Says:
    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

  2. yeremy Says:
    January 23rd, 2009 at 12:57 am

    that could help you :D

    http://code.mediablur.com/ImageCropper/ImageCropperDemo.html

    Reply to this comment

  3. satish Says:
    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

Comments