Solved

How to implement Save As method using flex 3.0

Posted on 2008-10-16
4
418 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 125 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 125 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flex Air Internet connectivity 5 547
Adobe upload listbox 2 504
Flex SDK setup 1 355
Function to return shape (as3) 1 533
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…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 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