PDA

View Full Version : Input type - file in flash mailto form


Fe_M
07-23-2003, 10:26 PM
Hi there,

I am trying to add a file field with browse button to a form in flash movie.

Can anyone give me a clue!@#

Thanx all,

Fiona:confused:

freddycodes
07-24-2003, 01:11 PM
A clue?

Okay - You are looking to do something you can't


Flash doesn't support this due to security measures with flash movies being able to access local filesystems

Search this forum for "file uploads" for more information on some workarounds.

spacether
08-02-2003, 07:02 PM
It is possible, some people use the js click() on a hidden file form but it only works on IE so I did some research.

Then I found the yamago upload component. Using its principles I created a skinned browse button which sent the path back to flash, it works on pc/mac, pretty much every browser but opera. It was for a study I was doing into the browse button and possible skinning of it. I compared different skinning options by platform and browser.

Compatible: PC Windows with Mozilla 1.2+, IE5+, NN7+, Phoenix beta 5 Mac with Mozilla 1.2+, IE5+, NN6+, Chimera 1+, Camino

The page is here: http://www.syntonik.com/justin/browsebut/browsebuttonmain.htm

freddycodes
08-03-2003, 12:57 PM
I am trying to add a file field with browse button to a form in flash movie.



Technically speaking of course its still not possible.

Yes there are hacks to make it appear possible, but flash is of course not doing the uploading, and this requires a javascript hack which is not truly cross-browser, and also requires server side scripting to handle the uploaded file.


Just pointing out that while there are solutions, they are not flash solutions.