This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more hereX

Home > Discussion Forum

Discussion Forum

asherwood asherwood is offline
Connector
Join Date: Oct 2002
Posts: 179
flash help

ok ive upgraded to flash 7 mx 2004 or somet, and havnt used this thing since flash 4.

How do I get an a keyboard key to trigger an action and go to a certain frame and start playing.
__________________
Scott
Reply With Quote
Martin Martin is offline
Connector
Join Date: Jul 2002
Location: Luton, Bedfordshire
Posts: 2,726
I'm not much cop at Flash, spose i'd be called a "cut & paste" flash coder! lol

But this site has helped me no end of times..

http://www.flashkit.com


Proberly the best forums to ask on.


Martin
Reply With Quote
..DN.. ..DN.. is offline
Connector
Join Date: Sep 2004
Posts: 288
someListener = new Object();
someListener.onKeyDown = function() {
if (Key.isDown(Key.RIGHT)) {
nextFrame();
}
if (Key.isDown(Key.LEFT)) {
prevFrame();
}
};
Key.addListener(someListener);
stop();
Reply With Quote
asherwood asherwood is offline
Connector
Join Date: Oct 2002
Posts: 179
thanks for ur help, all works now.
__________________
Scott
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 08:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd. Copyright Shell LiveWIRE 2005-2009