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 barra {
}
frame 2 {
if (getBytesLoaded() < getBytesTotal()) {
gotoAndPlay(1);
} else {
gotoAndPlay(3);
}
}
frame 3 {
_root.creditos._visible = false;
gotoAndPlay(5);
}
movieClip 8 {
}
button 9 {
on (release) {
getURL('http://www.furaffinity.net/user/roymccloud/', '');
}
}
movieClip 10 treco de creditos {
}
movieClip 13 Inicio {
frame 13 {
gotoAndStop(14);
}
}
movieClip 18 copiright {
}
button 19 {
on (release) {
getURL('http://www.furaffinity.net/user/pokehidden/', '');
}
}
movieClip 22 creditsmc {
}
button 23 {
on (rollOver) {
if (_root.creditos._visible == true) {
_root.creditos._visible = false;
_root.but4.enabled = true;
_root.but5.but6.enabled = true;
_root.but5.but7.enabled = true;
} else {
_root.creditos._visible = true;
_root.but4.enabled = false;
_root.but5.but6.enabled = false;
_root.but5.but7.enabled = false;
}
}
on (press) {
if (_root.creditos._visible == true) {
_root.creditos._visible = false;
_root.but4.enabled = true;
_root.but5.but6.enabled = true;
_root.but5.but7.enabled = true;
} else {
_root.creditos._visible = true;
_root.but4.enabled = false;
_root.but5.but6.enabled = false;
_root.but5.but7.enabled = false;
}
}
}
frame 10 {
gotoAndPlay(5);
}