Newer versions of the Flash Player allow you to send back a response when the 
upload has finished.
This can be used to send back the actual path and filename of the uploaded file.

Retrieving the initial filename is not always sufficient.
Often you will have to rename the file on the server to avoid conflicts with 
existing files, etc..

FileReference.onUploadCompleteData
Availability: ActionScript 2.0; Flash Player 9.0.28.0
http://livedocs.adobe.com/flash/9.0/main/00001674.html

Note the Flash player version.
This means that FileReference in flash player 8 does not have this event and 
you'll have to find another way to get information from 
the server (if needed) after a file has been uploaded.

regards,
Muzak



----- Original Message ----- 
From: "Merrill, Jason" <[EMAIL PROTECTED]>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, June 21, 2007 9:54 PM
Subject: RE: [Flashcoders] FileReference


>I don't think you can access the contents, but you should know where the
> file is uploaded to on your server, and thus, with the selected filename
> from FileReference, you know the filename and thus along with Flash's
> ._url property, all the info about the URL you need.
>
> Jason Merrill
> Bank of America
> GT&O Learning & Leadership Development
> eTools & Multimedia Team 


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to