|
-
You can place them under the other two event listeners you have declared.
-
Do I add it like this?
stage.addEventListener(KeyboardEvent.KEY_DOWN, slideRight);
stage.addEventListener(KeyboardEvent.KEY_DOWN, slideLeft);
I've been reading through a bunch of different tutorials to figure out how to do this and this is the closest I've found although I'm still confused as to how to target the left and right arrow keys to enable the functions.
Adam Bell
[email protected]
--
Over 90% of all websites
suck......
Join the minority.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|