header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Manu
Points:0
Posts:0

10/5/2010 8:59:41 AM

Title: Crop an image


How to crop an image in AIR?



1
Raefal
Points: 0
Posts:0
10/5/2010 10:03:30 AM



there is nothing like cropping in flex. you need load bitmap and then you can do anything with a bitmap. To achieve cropping functionality you should select the part of bitmap and copy pixels of selected area to new bitmap and discard the old bitmap. All this functionality is provided by bitmap class in flex

2
Manu
Points: 0
Posts:0
10/5/2010 10:19:22 AM



can you provide me a sample code for that.I am new to Flex.Thanks for the help.

3
Raefal
Points: 0
Posts:0
10/5/2010 11:07:31 AM



check this example to crop image in flex

http://www.flexer.info/2008/10/16/how-to-crop-and-resize-an-image-used-as-background-for-canvas/


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions