Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-02-2003, 04:24 AM   #1
Registered User
Join Date: Jul 2003
Posts: 18
Default Key.DELETEKEY does not work?

I am trying using the Delete key....
But it did not work??
myListener = new Object();
myListener.onKeyDown = function ()
{ if (Key.isDown(Key.DELETEKEY))
{ trace ("hit")

I tried changing to key.SPACE and some others and it works..

FidoDido_16 is offline   Reply With Quote
Old 10-02-2003, 04:57 AM   #2
Super Moderator
CyanBlue's Avatar
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666


Your script is valid...

Try to test it within the web browser after changing the trace() function some other visible way...

Or, set this option selected when you test your movie within the Flash...
Test Movie > Control > Disable Keyboard Shortcuts

And press the 'Delete' key to see your script working...

Please use the proper code syntax to format the code.
Read this page to find out more about the tag information
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 10-02-2003, 05:20 AM   #3
Registered User
Join Date: Jul 2003
Posts: 18

It works in the browser!!!

Thanx a lot!!!!
FidoDido_16 is offline   Reply With Quote

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:41 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.