actionscript | |||
stage.addEventListener(KeyboardEvent.KEY_DOWN, blabla); stage.addEventListener(KeyboardEvent.KEY_UP, dada); function blabla(event:KeyboardEvent):void { mojajapka.y -= 50; } function dada(event:KeyboardEvent):void { mojajapka.y +=150; } Kako hudica naj iz te kode naredim, da mi bo ob keyboard event cmd+f1 ali cmd+f2 ali katerikoli kombinaciji naredil spustno polje? prvi problem je torej how to make a combination in a keyboard event in drug problem je how to make hide&show-me-the-text if I press the combination? any solutions? zadevo bi rada naredila podobno kot je tukaj: http://www.2advanced.com/ http://www.christinchy.com/content/actionscript-30 |
|||
![]() |
![]() |
![]() |
![]() ![]() ![]() |