Solved

Download local file to path with CS4's FileReference class

Posted on 2008-10-27
2
586 Views
Last Modified: 2013-11-11
I've read that you can write text files to the user's hard drive with CS4's FileReference.save, in a manner similar to AIR's FileStream class.  I was wondering if anyone knows if this is possible for images too?
0
Comment
Question by:walker6o9
  • 2
2 Comments
 
LVL 34

Expert Comment

by:Aneesh Chopra
ID: 22828803
yes, it can write ByteArray data also..
hence, images can also be saved..
0
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 500 total points
ID: 22828806
here is a sample application, you need Flash Player 10 to see it functional
http://www.everythingflex.com/flex3_fp10/savetodisk/SaveToDisk.html

here is more details
http://blog.everythingflex.com/2008/10/01/filereferencesave-in-flash-player-10/
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

680 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