# \[CS3/AS2\] Loader code: Can I load a portion of the swf instead of BytesTotal?

**URL:** https://forum.kirupa.com/t/cs3-as2-loader-code-can-i-load-a-portion-of-the-swf-instead-of-bytestotal/268497
**Category:** flash
**Created:** [August 14, 2008, 4:15pm UTC](https://forum.kirupa.com/t/cs3-as2-loader-code-can-i-load-a-portion-of-the-swf-instead-of-bytestotal/268497 "2008-08-14T16:15:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ChadT523](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@ChadT523](https://forum.kirupa.com/u/ChadT523)
#### Post date: [August 14, 2008, 4:15pm UTC](https://forum.kirupa.com/t/cs3-as2-loader-code-can-i-load-a-portion-of-the-swf-instead-of-bytestotal/268497/1 "2008-08-14T16:15:10Z")

</div>

I’ve gone through the two loader tuts on this site ([http://www.kirupa.com/developer/mx/preloader.htm](http://www.kirupa.com/developer/mx/preloader.htm) & [http://www.kirupa.com/developer/mx/percentagepreloader.htm](http://www.kirupa.com/developer/mx/percentagepreloader.htm)) and they are great. But they both use the ‘getBytesTotal’ function.

Is it possible to tell the loader to only load a portion of the swf, like 50% of total bytes - or upto scene 5?  
I’ve got a 5 min long interactive ‘demo’ and I don’t want the viewer to have to sit and watch the loader while it loads all 5 min of content.

Thanks for your help!  
:hat:
