homepage Welcome to WebmasterWorld Guest from 107.22.45.61
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

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




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

Hi,

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) {
_root.stop();
}

};
Key.addListener(keyListener);
stop();

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved