Solved

Flash file browse

Posted on 2011-03-07
3
283 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
[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
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

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…
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 motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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…

691 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