?
Solved

Download local file to path with CS4's FileReference class

Posted on 2008-10-27
2
Medium Priority
?
596 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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. …
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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.
Suggested Courses

762 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