it's not directly possible... the easiest way is to spawn a new browser field
with an html form to do the upload, and a hidden flash movie that can talk to
your main movie via localconnection... that way your main movie can know when
the upload starts and when it is finished.
This applies to MX, not sure what 2004 changes about this approach.
I have a similar requirement, and have a Flash app. which lets the client
browse for a prompted jpg file to upload from their own hard disk. I tried a
ColdFusion/HTML page having a form with: <input type="file" etc. That worked
fine within the CF environment - but I need to trigger this from within a Flash
movie. I am using Flash remoting, & wondered whether I could transfer the form
code into a CFC. Tried it - but it didn't even recognize any of the CF/HTML
code.
Dross: I'd like to try your solution, but am very new to the sort of
techniques you describe - any change you could enlarge on these please?
regards
Alex
MyFlashMXIN - 06 May 2004 15:05 GMT
Found this one not long ago... Very easy to use, hope you have php enabled...
MyFlashMXIN - 06 May 2004 15:09 GMT
Found this one not long ago... Very easy to use, hope you have php enabled...
[L=Example Uploader]http://www.macromedia.com/cfusion/webforums/attachments/example4.zip[/L]
shaggyNz - 09 Jun 2004 12:43 GMT
BEWARE . i have been trying to get this compnant to work on various browsers..
there are alot of issues with this.
goto SourgeForge.net and do a search for yambrowser and you can see all the
posted discussions on this.