Jump to content

Flash preloader

Liran Koren

1 post in this topic

Recommended Posts

Hay people...


I'm in the middel of a huge project and i need some help


i have atteched a .SWF preloader iv'e made


the script i've used is:



rac_mc._height = 1;

this.onEnterFrame = function():Void {

var loadedData:Number = this.getBytesLoaded();

var allData:Number = this.getBytesTotal();

var percent:Number = Math.round(loadedData/allData*100);

rac_mc._yscale = percent;

if (loadedData>=allData) {

gotoAndStop (10);

delete this.onEnterFrame;





My problam is thet the filling is top to bottem i need it to be oposite.

what did i do wrong?


Thank you.


Link to comment
Share on other sites


  • Create New...