Hola, tengo el siguiente código y no me funciona en Mozilla, sabéis por qué y como solucionarlo?? Es un código que hace que al dejar pulsada la flecha a la derecha avanza hacia la derecha y si dejo pulsada la tecla izda va hacia la izquierda. El código es el siguiente:
Código:
onClipEvent (keyDown) {
if (Key.isDown(39)) {
rotationizq = true; // left arrow
this._parent.chicoslado._visible=1
this._parent.chicos._visible=0
this._parent.chicoslado.nextFrame()
// this._parent.chicos.prevFrame()
}
if (Key.isDown(37)) {
rotationder = true;// right arrow
this._parent.chicos._visible=1
this._parent.chicoslado._visible=0
this._parent.chicos.nextFrame()
}
}