macromedia.director.basics
[Top] [All Lists]

keydown- keycode help

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>