How Do You Fetch the Total Bytes of a File Before Loading It?

I am just wondering how I can find out the size of a file before loading it in AS3. The property bytesTotal only works after you start loading the file. What I am trying to do here is to load a sequence of files one by one showing only one preloader which takes the percentage of bytes loaded over the total bytes of all the files.

Thanks in advance.