I am uploading an image using flash8. Now When I upload the
image the PHP will store the file on the server and will return the
complete url for the image as response. Now How can i get the
response back in flash or in my browser?
I believe in AS2 there is an event for the FileReference
Class called “onComplete”.
If you add an event listener to the File Reference object and
listen for the onComplete event then you would get a response in
Flash when an file upload or download has completed. Consequently
the web browser returns and HTTP Status of 200 on a successful
download or upload.
Thanks for your reply. The problem is onComplete event
doesn't give me any response object that I can use to display the
response from the server. Say like in Central 1.5 has an event
called onUploadSuccess, which returns the response object that
shows the server response. Flash onComplete does not have this kind
of return value available. I am attaching sample central 1.5 code
for your reference.