|
From: La Bestia on 11 Jun 2006 15:12 Ok I am pretty new to Director so please excuse if this makes no sense. Is there a way you guys can suggest that if keypressed(letters of the alphabet) then sprite(1).visible=true end if I know that there is keyboard codes for this and I know them. But, basically my question is: Is there a way I can have Director check for the multiple letters in one statement? The following is not Lingo If they press either A,B,C,D then make sprite(11).visible=true (which would be the head) Thanks guys, -Proff
From: Mark A. Boyd on 11 Jun 2006 18:47 On Sun, 11 Jun 2006 19:12:14 GMT, La Bestia posted in macromedia.director.lingo: > I know that there is keyboard codes for this and I know them. But > basically my question is: Is there a way I can have Director check for > the multiple letters in one statement? > > The following is not Lingo > If they press either A,B,C,D then make sprite(11).visible=true (which > would be the head) case the key of "A","B","C","D": sprite(11).visible=true "E","F": alert ("You pressed" &&the key) otherwise sprite(11).visible=false end case -- Mark A. Boyd Keep-On-Learnin' :)
|
Pages: 1 Prev: Director projector not loading in Safari 2.0.3 Next: Help adding color to gray-scale gradient |