I Used Kirupa's percentPreloader...BUT

when it reaches 70 percent…the flash movie turns white blank, all i did was copy and pasted his frames/layers to mine, i didn’t alter anything… check out www.thashizzit.net to see what i’m talking about. wha happened? is it a bandwidth/server problem ? This probably is an old question but i’m a newbie to this stuff so please help, i’d appreciate it.

please post the fla, if you can’t post the whole fla with the first 4 or 5 frames!

Frame 1: actions layer

bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent100;
_root.loadText = Math.round(getPercent
100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}

Frame 2: actions layer

gotoAndPlay(1);

Frame 3: actions layer

stop();

border, loadBar, loadText, and Layer 1 are the other layers. Layer 1 is the layer with the actual movie frames to play.

oh and the whole swf is 167 kb with 120 frames total.

please replace any “_root” with “this”!

i guess you did edit the script :wink:

darn it ! :frowning: i did what u said, but it loaded up to about 70 percent…and it turned white blank again … check out www.thashizzit.net … to see, any other problems u see?

oh wait nevermind…i forgot there were two more “_roots” to replace…DOH…ur prolly laughing at me right now haha…brb

PROBLEM WORSENED…after i replaced all the “_roots” with “this” … the flash movie doesn’t show AT ALL, its just white blank all throughout…look at the website to see !
this is what i put…

Frame 1: actions layer

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent
100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndStop(3);
}

OMG I’M SUCH A DOOFUS…after altering, i forgot to EXPORT the updated fla ! again i apologize and it now WORKS ! ! ! thx mansour…ok no more whining

it’s funny but I have found myself being my worst enemy in learning flash :-/

the code is good, weird :confused:
do u have a “stop();” on frame 3, if you then why?

lol :smiley: