ActionScript 3 when you move mouse to a direction press a key

73 views Asked by At

I'm new to AS3 and i don't know how do i make that when i move my mouse in Action Script to press a key? For example i want when im moving my mouse to: -Right : press x -Left : press z -Up : press q -Down : press e Only while moving the mouse when the mouse its not moving it should do nothing. And on click : Space I have tried searching on google methods but i haven`t found methods good for what i need

0

There are 0 answers