Solved

Javascript File Dialog to Flash File?

Posted on 2004-04-21
3
213 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
[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
3 Comments
 
LVL 3

Accepted Solution

by:
mixart earned 500 total points
ID: 10885926
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 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 select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

751 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