Combined Code
frame 1 {
stop();
var weight = this.getBytesTotal();
this.onEnterFrame = function () {
progress_load = this.getBytesLoaded();
part_load = Math.round((progress_load / weight) * 100);
texte = 'chargement en cours... ' + part_load + '%';
barre._xscale = part_load;
if (part_load == 100) {
delete this.onEnterFrame;
gotoAndPlay(2);
}
};
}
// unknown tag 88 length 114
movieClip 5 {
}
movieClip 18 {
}
frame 1090 {
stop();
var weight = this.getBytesTotal();
this.onEnterFrame = function () {
progress_load = this.getBytesLoaded();
part_load = Math.round((progress_load / weight) * 100);
texte = 'chargement en cours... ' + part_load + '%';
barre._xscale = part_load;
if (part_load == 100) {
delete this.onEnterFrame;
gotoAndPlay(192);
}
};
}