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)

5+ Year Member


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) {



Featured Threads

Hot Threads This Week

Hot Threads This Month