Techie Zone |
Posted: 06 Oct 2012 05:07 AM PDT Sometime we want to export the charts generated in Adobe Flex to an image. In this article we would learn how we can export Adobe Flex UIComponent to image(JPEG) from your flex application. public static function exportChartImage(obj:UIComponent):void { try{ var file:FileReference = new FileReference(); var bmpd:BitmapData = new BitmapData(obj.width, obj.height); bmpd.draw(obj); var jpgenc:JPEGEncoder = [...] |
You are subscribed to email updates from Techie Zone To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.