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) {
gotoAndStop(3);
}
}
frame 1 {
function pokehidden() {
getURL('http://www.pokehidden.net/', '_top');
}
var menu = new ContextMenu();
menu.hideBuiltInItems();
var tumblr = new ContextMenuItem('© Pokéhidden', pokehidden);
menu.customItems.push(tumblr);
_root.menu = menu;
}
movieClip 10 {
}
movieClip 13 {
}
frame 2 {
if (getBytesLoaded() < getBytesTotal()) {
gotoAndPlay(1);
} else {
gotoAndStop(3);
}
}
frame 3 {
sexo_2._visible = false;
}
movieClip 16 {
frame 26 {
stop();
}
}
movieClip 30 {
frame 28 {
stop();
}
}
movieClip 37 {
}
movieClip 50 {
frame 28 {
stop();
}
}
movieClip 57 {
}
movieClip 70 {
frame 28 {
stop();
}
}
movieClip 77 {
}
movieClip 78 {
frame 27 {
stop();
}
frame 42 {
stop();
}
}
movieClip 84 {
}
movieClip 90 {
}
movieClip 96 {
}
movieClip 97 {
frame 27 {
stop();
}
frame 46 {
stop();
}
}
movieClip 100 {
frame 1 {
stop();
cena_1_mostrando = true;
}
}
button 105 {
on (press) {
if (_root.sistema.cena_1_mostrando == true) {
_root.sexo_2._visible = true;
_root.sexo_2.gotoAndPlay(1);
_root.sexo_2.mascara_1.gotoAndPlay(1);
_root.sexo_2.mascara_2.gotoAndPlay(1);
_root.sexo_2.mascara_3.gotoAndPlay(1);
_root.sexo_1.gotoAndPlay('transicao');
_root.fundo.gotoAndPlay(1);
_root.sistema.cena_1_mostrando = false;
} else {
_root.sexo_1._visible = true;
_root.sexo_1.gotoAndPlay(1);
_root.sexo_1.mascara_1.gotoAndPlay(1);
_root.sexo_1.mascara_2.gotoAndPlay(1);
_root.sexo_1.mascara_3.gotoAndPlay(1);
_root.sexo_2.gotoAndPlay('transicao');
_root.sistema.cena_1_mostrando = true;
_root.fundo.gotoAndPlay(1);
}
}
}