How to find out the size of a local file using flash

I am trying to create a bootloader in a flash. To do this, I need to find out the file size before uploading to the server. How to find out?

+3
source share
2 answers
+1
source

You will need to have a PHP script that you could call before trying to load the file. The script will return the file size that you get with ActionScript.

PHP function filesize () http://php.net/manual/en/function.filesize.php

check URLVariables class http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/

0
source

Source: https://habr.com/ru/post/1759573/


All Articles