SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 31st, 2003, 06:04 AM
vivekpohre vivekpohre is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: India
Posts: 2 vivekpohre User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to vivekpohre Send a message via Yahoo to vivekpohre
Keyboard's key down problem

HI all,
First of all thanks for reading my msg. My problem is that the Key object doesn't listen to the "," and "." keys on the keyboard. Sameway it also doesn't listen to the printscreen key.

Can anyone tell me how to trace these keys. getAscii() and getCode() didn't work.

Thanks in advance,
Vivek

Reply With Quote
  #2  
Old February 1st, 2003, 01:47 PM
VAYKENT VAYKENT is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Provo
Posts: 36 VAYKENT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
If you are testing in the authoring environment, then there are hotkeys for that environment that will be 'disabled' for key detection.

Try selecting the 'Disable Keyboard Shortcuts' option in the Control menu of the testing environment.

After you've done that you can use this code to test those keys::
PHP Code:
 kl = new Object();
kl.onKeyDown=function(){
    
trace(Key.getCode());
}
Key.addListener(_root.kl); 

Reply With Quote
  #3  
Old February 2nd, 2003, 11:07 PM
vivekpohre vivekpohre is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: India
Posts: 2 vivekpohre User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to vivekpohre Send a message via Yahoo to vivekpohre
Thanks vaykent

Hey VAYKENT,
Thanks a lot for that info. I cant express how thankful i m to u. I was just wondering how can macromedia leave that silly bug in its software.

But thank god thats not a missed out thing. You dont know how great problem you have solved for me and that too at the correct time.

Thanks again
Yours Friend
Vivek

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Keyboard's key down problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway