HTML 5 Keyboard Down Handler


hi. use as3 script control timeline key press on keyboard -

 

stage.addeventlistener(keyboardevent.key_down, fl_keyboarddownhandler);

 

 

function fl_keyboarddownhandler(event:keyboardevent):void {

 

 

 

          gotoandplay(currentframe+1);

 

}

 

have started using html 5 , wondering if has html 5 script same thing?

 

thanks in advance.

jason

i literally copied , pasted thread title google, , first hit, answers question: keyboard keys , html5 canvas



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"