The fallowing preload does not work and I don’t know why
on frame 1 : button gotoplay(2)
on frame 2 : movieclip loadBar and a textfield called loadText and with the fallowing AS :
loadMovieNum(“1.JPG”, 1);
bytes_loaded = Math.round(_level1.getBytesLoaded());
bytes_total = Math.round(_level1.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent100)+"%";
if (bytes_loaded == bytes_total) {
_level1._x = 400;
_level1._y = 150;
this.gotoAndstop(4);
}
///////////////////////////////////////
on frame 3 : gotoplay(3)
on frame 4 : statique text “Image loaded” with stop
problem : there is no bytes counting . loadText and loadBar do not work.
I think that (_level1.getBytesLoaded() ) is no the command tu use to refer to the image 1.JPEG loaded with loadMovieNum(“1.JPG”, 1);:h: