HTML5 and navigation buttons
I have two mc arrows with btn inside: go back and forward that jumps to a certain frame, but I'm not getting it to work perfectly. They go back and forth, but there comes a time that everything is very slow, as if they were accumulating actions. I put this code and I do not know if there is something wrong with it. I'm still new to HTML5.
JoãoCésar can you help? ![]()
this.stop();
function fl_ClickToGoToAndPlayFromFrame1()
{
this.gotoAndPlay(21);
}
function fl_ClickToGoToAndPlayFromFrame2()
{
this.gotoAndPlay(13);
}
this.setaBtn.addEventListener("click", fl_ClickToGoToAndPlayFromFrame1.bind(this));
this.setaVolta.addEventListener("click", fl_ClickToGoToAndPlayFromFrame2.bind(this));
Mensagem editada por: Mauricio Costa
