PNG encoder : http://www.kaourantin.net/2005/10/png-encoder-in-as3.html
JPEG encoder : http://www.kaourantin.net/archive/2005_10_01_flashgraphics_archive.html
 
P.


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: jeudi 30 mars 2006 7:55
To: [email protected]
Subject: RE: [flexcoders] Re: how to get the Bitmap/BitmapData of controls

Create a BitmapData, then call draw on it passing in the thing you want
stored.  You can then even turn it into a PNG before you send it off
(see PNGEncoder attached).

Matt

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of wujunjr
Sent: Wednesday, March 29, 2006 5:24 AM
To: [email protected]
Subject: [flexcoders] Re: how to get the Bitmap/BitmapData of controls

I have a similar question.

How to get the image as part of the screen and save it to local disk/or
server side (maybe using java)?

Thanks a lot!

--- In [email protected], "feiyhy" <[EMAIL PROTECTED]> wrote:
>
> somebody can tell me how to get the Bitmap/BitmapData of a
> control,such as the Button's BitmapData?
>
> i know the Image control's Bitmap is the first child of it,so where is
> it of other controls?
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to