Take a look at this.  It will show you how to get the BitmapData from any UIComponent.  You can use the Jpg encoder class that is part of the corelib project on adobe labs to convert it to a jpg.  Then use a remoteobject method to push the bitmap to your server (if that is what you are trying to do).
 
 
-Andy


From: [email protected] on behalf of mschumacher74
Sent: Sat 10/28/2006 2:27 AM
To: [email protected]
Subject: [flexcoders] create a jpeg from a chart control?

Hi friends,

I have a Flex 2 chart, one of the requirements for the project is to
be able to create an image of the chart that the user may be able to
save and/or paste into presentations etc. At the MAX conf yesterday,
I was told that BitMap is the class to use for this purpose. However,
I don't see the relevant API for this purpose.

Could you please provide a sample piece of code to help me out.

Thanks much in advance.

Khurram

__._,_.___

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to