Solved

Flash file browse

Posted on 2011-03-07
3
264 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
Comment Utility
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
Comment Utility
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
Comment Utility
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

763 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