I didn't tried upload. Central reference says we should use server
script for remote upload handling.

(http://livedocs.macromedia.com/central/sdk/1_5/wwhelp/wwhimpl/common/ht
ml/wwhelp.htm?context=Central_SDK&file=00000275.htm)

I guess flash has do the same as Central but now I have not enough time
for experiments -(

Example for Central:

var listener = new Object();
listener.onUploadSuccess = function(fileRef, response) {
   trace("Upload of "+ fileRef.name + "complete");
   trace("Server response was "+ response);
}

var fileRef = new FileReference();

// ask the user to choose a file to upload
if (fileRef.browse(["Text Files", "*.txt"])) {
   fileRef.addListener(listener);
   fileRef.upload("http://www.mysite.com/upload.cgi";);
}



Rost


>> -----Original Message-----
>> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
>> Behalf Of Rostislav Hristov
>> Sent: Thursday, July 14, 2005 10:02 PM
>> To: Open Source Flash Mailing List
>> Subject: Re: [osflash] FileReference in Flash 8
>> 
>> > Example:
>> > http://flash-ripper.com/experiments/browse-for-file/
>> 
>> Nice one ;-)
>> Is upload working?
>> 
>> 
>> --
>> EnFlash - It's all about features...
>> http://www.asual.com/enflash/
>> 
>> _______________________________________________
>> osflash mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/osflash_osflash.org

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to