Solved

Download local file to path with CS4's FileReference class

Posted on 2008-10-27
2
578 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Stop Ads in Browser Google Chrome 3 538
Embedded Video Download (Flash) 3 1,151
Running Mp4 or Flash Video 1 103
Flash ActionScript 6 43
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…
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 use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now