Solved

Javascript File Dialog to Flash File?

Posted on 2004-04-21
3
209 Views
Last Modified: 2010-05-18
Ok I know there have been a lot of questions about how to show a file dialog box from your flash file and then upload it to a server. I have a question with a bit of a twist on that. Say I didn’t want to upload a file all the way to the server. Could I use the method of opening a javascript file dialog and then have the file the user selects passed directly into my flash file that’s running in the user’s browser?

For example the user presses a button in my flash file and I use a getUrl call inside actionscript to launch a javascript method that transparently opens a file dialog box. The user then selects a file but instead of having the javascript send the file back up to the server right away it sends the file to the flash file so the flash file can add it to an object before deciding when and if to send it up to the server.

Does anyone know what the linkage between the javascript and flash file would look like? I’m not a big javascript guy so I need some help. Also, to start off with it’s acceptable for this to work on only IE.

Thanks,
R. Sparrow
0
Comment
Question by:rsparrow
3 Comments
 
LVL 3

Accepted Solution

by:
mixart earned 500 total points
Comment Utility
Unfortunately it's not quite that simple...

Here are some links that may be able to help. As far as I know these are the only two solutions I know of and they're very messy...

http://www.impulsedigital.com/idio/idio-v1/
http://www.yamago.net/components/
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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,…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

772 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

16 Experts available now in Live!

Get 1:1 Help Now