|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Specify an ENCTYPE of multipart/form-data within a Flash form
Want to upload file from a Flash Form.
How can I tell this code below to specify an ecode type of multipart/form-data? This is required to work with ASPUpload. loadVariablesNum ("submitform.asp?RND="+random(999), 0, "Post"); In HTML it is done by this: <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="submitform.asp"> Please help. There has got to be a way! Thank you! Last edited by chazy777 : May 1st, 2003 at 04:48 PM. |
|
#2
|
|||
|
|||
|
You can't upload a file directly from Flash, instead you need to use a very complicated schema with hidden frames to give the impression that you're uploading the file from inside the movie, but really you're using Javascript writing HTML on the fly.
Just use a pop-up window with an HTML form and an input file in it. You can "simulate" an upload from flash, but it works only in IE: www.highlife.net/test4l/flashupload.zip Jorge |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Flash Development > Specify an ecode type of multipart/form-data within a Flash form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|