How to implement Save As method using flex 3.0

Hello,

I need to save my JPEG file using adobe flex 3.0, I am sending a ByteArray Object from JSP to Flex MXML, I need to implement save as method for writing this byte array on client machine and Saving in JPEG formate. Please let me know Sample method for implementing SaveAs Functionality.
ASHISHRAIK11Asked:
Who is Participating?
 
solntcevConnect With a Mentor Commented:
only AIR applications can work with filesystem. In AIR library there are classes for create standart save/load dialoges. you can make JPEG on server side and send it with content-type application/binary, this will force browser display "Save as" dialog.
0
 
biztigerConnect With a Mentor Commented:
If you are creating air application please check out the following link:
http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html

This is only for saving file from air application.
0
 
dgofmanCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.