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:
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:
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