views:

83

answers:

1

I want to be able to get the size of a file before uploading it to a PHP script using FileReference.

Can I get the file size before detecting bytesTotal during the upload process?

+1  A: 

You should be able to access that through the "size" property of the FileReference Object. http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/FileReference.html#size

Mikushi