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

Re: keydown- keycode help

Subject: Re: keydown- keycode help
From: "budgiebird" <webforumsuser@xxxxxxxxxxxxxx>
Date: Fri, 28 Dec 2007 10:45:31 +0000 (UTC)
Newsgroups: macromedia.director.basics

Hi RafNeron
 A method I use is to write, for example
 if myKey = numtochar(49) then
 member("StartStop").line[1] = "1"

 Then when you leave that frame, etc  write
 member("StartStop").line[1] = "0"

 to reset the system.

 By having in the movie, a global script monitoring the containers, for 
example, 
 if member("StartStop").line[1] = "1" then

 you can use the same script for the keys, and in the global script vary what 
happens dependent on circumstance.
 So in one instance the default for that key maybe to start a movie but in 
another instance it would be to return to the main menu. 
 Hope this helps
 Excellent English by the way ;-)
 Happy New Year, Ron



<Prev in Thread] Current Thread [Next in Thread>