PDA

View Full Version : Return Values from uploading Data with FileReference?



Oscar07
May 24th, 2008, 10:53 AM
Hi,

when you send Data with an UrlLoader, you also can receive Data back.
Is this not possible with FileReference?

For example when you upload a File with FileRefernce to an PHP Script.
Can you now receive also Data back from this upload?

Thanks in advance

Krilnon
May 24th, 2008, 11:10 AM
Are you looking for DataEvent.UPLOAD_COMPLETE_DATA ? It's dispatched by FileReference instances, and it's kind of like the older LoadVars.sendAndLoad method, as far as I know.

I don't think that it's possible to have access to the uploaded file without having the client download the file from the server, though.

Oscar07
May 24th, 2008, 11:47 AM
Thanks Krilnon :)

Exactly this i was searching for.