# Getting swf size for preloader

**URL:** <https://forum.kirupa.com/t/getting-swf-size-for-preloader/31939>\
**Category:** flash\
**Created:** [September 29, 2003, 2:47pm UTC](https://forum.kirupa.com/t/getting-swf-size-for-preloader/31939 "2003-09-29T14:47:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustinM](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JustinM](https://forum.kirupa.com/u/JustinM)\
**Post date:** [September 29, 2003, 2:47pm UTC](https://forum.kirupa.com/t/getting-swf-size-for-preloader/31939/1 "2003-09-29T14:47:44Z")

</div>

I am fairly new to actionscripting and would like to try to create a preloader for existing .swf files. Is it at all possible to create a preloader which can determine the size of a seperate .swf file that I would be loading. This would allow me to have a stand-alone preloader for any of my .swf files which would determine total bytes, bytes loaded… I guess what I’m asking is how would I getBytesTotal… for a seperate .swf if possible? Thanks!
