# Preloader problemo

**URL:** <https://forum.kirupa.com/t/preloader-problemo/244969>\
**Category:** Uncategorized\
**Created:** [November 24, 2007, 10:27am UTC](https://forum.kirupa.com/t/preloader-problemo/244969 "2007-11-24T10:27:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigi\_Vercotti](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Post date:** [November 24, 2007, 10:27am UTC](https://forum.kirupa.com/t/preloader-problemo/244969/1 "2007-11-24T10:27:42Z")

</div>

OK, me here again.  
I’m using Flash CS3, publish setting: ActionScript 2.0 and player 9.

I’m using simple preloader as I do the same all the time and it is working fine.  
here is the code in the 1st keyframe:

```auto
var ruthis = _root;
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = (bytes_loaded)/(bytes_total);

//this.mcLoadbar._width = getPercent*100;
//this.samZoy.mask._width=getPercent*442;
//+Math.round((bytes_loaded)/1000)+"KB / "+Math.round((bytes_total)/1000)+"KB";
 
ruthis.loadText = Math.round(getPercent*100)+"% ";

if ((bytes_loaded) == (bytes_total)) {
    ruthis.gotoAndStop("start");
}

```

and 2nd keyframe:

```auto
gotoAndPlay(1);

```

the problem now:  
when I’m doing test load…it is empty screen then just for a millisecond I can see the 99% (" ruthis.\*\*loadText \*\*= Math.round(getPercent\*100)+"% “;”) and then the main thing.  
Well, where might be the problem guys?  
[here is the link with all files saved as Flash8 and FlashCS3](http://www.suziklinik.cz/bazar)
