Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to implement Save As method using flex 3.0

Posted on 2008-10-16
4
Medium Priority
?
426 Views
Last Modified: 2012-01-23
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.
0
Comment
Question by:ASHISHRAIK11
4 Comments
 
LVL 2

Accepted Solution

by:
solntcev earned 500 total points
ID: 22810395
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
 
LVL 8

Assisted Solution

by:biztiger
biztiger earned 500 total points
ID: 22927914
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
 
LVL 29

Expert Comment

by:dgofman
ID: 37478731
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Take a look at these 6 Outlook Email management tools which can augment the working and performance of Microsoft Outlook to give you a more rewarding emailing experience.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Integration Management Part 2
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question