Comunidad de diseño web y desarrollo en internet online

TECLADO EN ANIMACIÓN FLASH

Citar            
MensajeEscrito el 04 Dic 2012 05:18 pm
COMO PUEDO DAR STOP Y/O PLAY A UNA ANIMACIÓN FLASH CON EL TECLADO

Por chilango

10 de clabLevel



Genero:Masculino  

msie8
Citar            
MensajeEscrito el 08 Ene 2013 11:53 am
Prueba esto:

Código ActionScript :

stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp);
function onKeyUp(e:KeyboardEvent):void
{
  if(e.keyCode==38)
  {
     stop();
  }
  if(e.keyCode==39)
  {
     start();
  }
}

Por Palacio

Claber

198 de clabLevel



 

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.