Solved

Download local file to path with CS4's FileReference class

Posted on 2008-10-27
2
592 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to how to record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

690 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