Solved

Javascript File Dialog to Flash File?

Posted on 2004-04-21
3
211 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
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 what frame rate is, how to control it and what effect it has on the video.

831 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