Solved

Download local file to path with CS4's FileReference class

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

Industry Leaders: 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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

734 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