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
Post a Comment