gunko2
08-15-2005, 01:24 PM
WHOAH.. it's been ages since i last posted here....
anyways.. here's how it goes..
first frame:
var lb:Number = Math.round(this.getBytesLoaded());
var tb:Number = Math.round(this.getBytesTotal());
var pc:Number = lb/tb;
mcBar._width = pc*250;
tText = Math.round(pc*100)+"%";
if (lb == tb) {
this.gotoAndStop(3);
}
second frame:
this.gotoAndPlay(1);
third frame:
some gfx....
the problem is the preloader stops at 46%..
i think the problem is that i have a sound in the third frame.. i have some links and when u roll over them, there's a sound.. and i think that's the problem...
if u need the fla. lemme know...
tnx ahead, Alex.
anyways.. here's how it goes..
first frame:
var lb:Number = Math.round(this.getBytesLoaded());
var tb:Number = Math.round(this.getBytesTotal());
var pc:Number = lb/tb;
mcBar._width = pc*250;
tText = Math.round(pc*100)+"%";
if (lb == tb) {
this.gotoAndStop(3);
}
second frame:
this.gotoAndPlay(1);
third frame:
some gfx....
the problem is the preloader stops at 46%..
i think the problem is that i have a sound in the third frame.. i have some links and when u roll over them, there's a sound.. and i think that's the problem...
if u need the fla. lemme know...
tnx ahead, Alex.