Flash Keyboard Events Tutorial
Uploader Comments (TheKomputerGeek)
All Comments (14)
-
CS5 WORKS GREAT! :D This was an awesome video!
-
@TheKomputerGeek Hi, I like ur video but I don´t know why isn't working for me, I'm using flash CC3 btw, and what I need to know is how to make an image being replaced by another image by using a keyboard. I'll really appreciate your help.
-
@carlofabyss nvm found what I did wrong :P
-
easy to follow, but for some reason it doesnt work at all for me
-
glad I came across this. worked great for me. nice work. thanks!
-
Hey, you explained this so well it worked almost first time for me. Congratulations on making it so accessible.
-
Good tutorial little man! I too like how you showed why it didn't work, helps to understand.
-
Great job dude. I like how you took it slow and put in some deliberate errors to show how the code works.
I'm using CS5 and I needed to add
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;
for this to work
legendlazy 1 year ago
@legendlazy True, but only if you are making an .as file. If you're doing it in the .fla file, you don't. However, you're correct in doing that, as it its good practice.
TheKomputerGeek 1 year ago
Thanks!
TheKomputerGeek 2 years ago