depuração de código
Pessoal, não sei se posso chamar de depouração de código mas está dando um erro
> on (rollOver) {_root.button5.gotoAndPlay(2);
_root.button5._visible = true;
}
on (rollOut) {
if (_root.button5._currentFrame == 3) {
} else {
_root.button5.gotoAndPlay(1);
}
}
on (press) {
_root.button5.gotoAndPlay(3);
_root.camada5.enabled = false;
_root.button5._visible=false;
_root.button2.gotoAndStop(1);
_root.button3.gotoAndStop(1);
_root.button1.gotoAndStop(1);
_root.button4.gotoAndStop(1);
_root.camada2.enabled = true;
_root.camada3.enabled = true;
_root.camada1.enabled = true;
_root.camada4.enabled = true;
_root.home.gotoAndPlay(2);
}
//IF TESTE
if (_root.button4._currentFrame == 3) {
} else {
_root.button5.gotoAndPlay(1);
}
o erro
>
Error Scene=Scene 1, layer=BOTAO, frame=2:Line 26: Statement must appear within on handler
if (_root.button4._currentFrame == 3) {
Total ActionScript Errors: 1 Reported Errors: 1
SERÁ Q E POR TEX DOIS IF?
Discussão (1)
Carregando comentários...