how can i allow user to download an image in flex without making server call
I have a flex application showing a chart. I want to give user the functionality to downlo开发者_JAVA百科ad this chart as image. How can i do it?
This Adobe Cookbook entry can answer your question. And yes, your project should be targeted Flash Player 10.
I would use the ImageSnapshot class to take a 'pic' of the chart, then save it locally using FileReference.save().
精彩评论