# Pre loader - does this script work with Flash 2004?

**URL:** https://forum.kirupa.com/t/pre-loader-does-this-script-work-with-flash-2004/94802
**Category:** Uncategorized
**Created:** [November 17, 2003, 1:57am UTC](https://forum.kirupa.com/t/pre-loader-does-this-script-work-with-flash-2004/94802 "2003-11-17T01:57:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![multimediamkt](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@multimediamkt](https://forum.kirupa.com/u/multimediamkt)
#### Post date: [November 17, 2003, 1:57am UTC](https://forum.kirupa.com/t/pre-loader-does-this-script-work-with-flash-2004/94802/1 "2003-11-17T01:57:04Z")

</div>

Pre loader - Does it work with Flash Mx 2004 ??

Does this script work with Flash Mx 2004 ?

totalK = getBytesTotal()/1000;  
loadedK = getBytesLoaded()/1000;  
remainingK = totalK-loadedK;  
percentageK = (loadedK/totalK)\*100;  
setProperty (“bar”, \_xscale, percentageK);  
if (loadedK\>=totalK && totalK != 0) {  
gotoAndPlay (3);  
}

I´ve just installed and felt l a bit confused ;  
Is there a way to paste the above action to  
the frames ?

Actions frame panel is nothing but friendly ;  
By the way I noticed that circle at every frame 1  
what the meaning of that ?
