Combined Code
frame 1 {
total = getBytesTotal();
carregando = getBytesLoaded();
porcentagem = Math.floor((total / carregando) * 100);
porcentagem = Math.floor((carregando / total) * 100);
barra_mc._xscale = porcentagem;
if (carregando == total) {
gotoAndPlay(3);
}
}
movieClip 3 {
}
frame 2 {
if (getBytesLoaded() < getBytesTotal()) {
gotoAndPlay(1);
} else {
gotoAndPlay(3);
}
}
movieClip 6 {
}
movieClip 9 {
}
movieClip 12 {
frame 1 {
this._visible = false;
this.onEnterFrame = function () {
var v4 = Stage.width / this._width;
var v3 = Stage.height / this._height;
_parent._x = Stage.width / 2 - this._x * v4;
_parent._y = Stage.height / 2 - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
};
this.onUnload = function () {
_parent.xscale = 100;
_parent.yscale = 100;
_parent._x = 0;
_parent._y = 0;
};
}
}
movieClip 16 {
}
movieClip 35 {
}
movieClip 38 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 45 {
}
movieClip 48 {
}
movieClip 64 {
}
movieClip 67 {
}
movieClip 70 {
}
movieClip 73 {
}
movieClip 76 {
}
movieClip 79 {
}
movieClip 82 {
}
frame 126 {
gotoAndPlay(3);
}