Solved

Flash file browse

Posted on 2011-03-07
3
268 Views
Last Modified: 2012-05-11
Good afternoon,
Im fairly new to flash and wondering if it is possible to browse for a file on the users local hard drive, and open it in segments?

Ive been trying to work on a solution for a while using Java and Silverlight, and someone suggested I try Flash.

Ive done a bit of Flash Actionscripting before but a long time ago.

Is it possible to present the user with a FileOpen Dialog and then open the selected file in chucks (say 250 Kb)???

Any sample code would be brilliant for this!!!

Thank you
0
Comment
Question by:tonelm54
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
deepanjandas earned 250 total points
ID: 35057356
In Flash for web-versiion, you may use FileReference to select files for upload or read and display.
Some links below:
http://blog.flexexamples.com/category/filereference/
http://www.colettas.org/?p=252
http://sherifabdou.com/2008/06/using-the-new-filereference-class-in-flex-to-save-and-load-without-a-server/

Warm Regards
Deepanjan Das
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 35057362
Though the examples are using flex, but you can use the ActionScript code in flash CS3 onwards.

Warm Regards
Deepanjan Das
0
 
LVL 2

Assisted Solution

by:sunsonmahesh
sunsonmahesh earned 250 total points
ID: 35069445
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

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…
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…
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.

943 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

6 Experts available now in Live!

Get 1:1 Help Now