Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

[as2] Keycode issue with play and pause toggle, please help

5:16 am on Mar 8, 2009 (gmt 0)

New User

5+ Year Member

joined:Mar 8, 2009
posts: 1
votes: 0


I am trying to use the letter x to stop and play my movie, I got it to sucessfully stop but I am having trouble restarting it once it is stopped, can anyone please help me. this is what i have so far:

keyListener = new Object();
keyListener.onKeyDown = function() {
var keyCode = Key.getCode();

if (keyCode == 88) {