Uploading files to a server with flash 8

Hi :slight_smile:

I have made a file upload app with flash 8 and asp.net and it runs pefect.

Is it posible to send a variable from the server to the flash movie when it has completed a upload request.

– serverscript

[font=Courier New]’ // upload completed here, write message to user
Response.Write("&[color=Magenta]sVarFromServer[/color]=some message from server")[/font]

– actionscript

[font=Courier New]//event fires when file upload is complete
oFileReferenceListener.onComplete = function(file:FileReference):Void {
trace([color=Magenta]sVarFromServer[/color]);
}

[/font]