| Subject: | keydown- keycode help |
|---|---|
| From: | "RafNeron" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Fri, 21 Dec 2007 21:24:36 +0000 (UTC) |
| Newsgroups: | macromedia.director.basics |
Hi, I want to use th "on keydown" function to, for example, pause a movie or go
back to the main menu. The problem is I can't find working keycodes except
RETURN. Using RETURN works in this script:
on keyDown
if (_key.key = RETURN) then _movie.go("start")
end keyDown
I have try to change RETURN for SPACE or 49 (keycode for the spacebar) and it
does not work.
I hope this is clear, doing my best to write in english.
Anybody could help please?
Thanks
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | 24-bit sound?, RafNeron |
|---|---|
| Next by Date: | Re: keydown- keycode help, Mike Blaustein |
| Previous by Thread: | 24-bit sound?, RafNeron |
| Next by Thread: | Re: keydown- keycode help, Mike Blaustein |
| Indexes: | [Date] [Thread] [Top] [All Lists] |