开发者

how can i allow user to download an image in flex without making server call

开发者 https://www.devze.com 2023-03-05 08:01 出处:网络
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

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().

0

精彩评论

暂无评论...
验证码 换一张
取 消