Hi Laurie,

I created a Shockwave game several years ago that utilzed keypresses. In order to get the shockwave movie to respond to the key events, I had to put a "click here to start" button at the beginning of the movie. Otherwise, the shockwave itself did not initially have focus while running in the browser window. The mouse click brought the shockwave into focus where it then responded to key events. Perhaps this is your problem?

hth,

Andy Driscoll
 >I have a keydownscript set to a handler in a parent script.

 I think it needs to be pointed at a movie handler

 >I have a Movie enterframe calling a main method for updating objects.
 >
 >the keydownscript works fine when I play in director but crashes
 >when I play in shockwave.
 >Basically the keydownscript handler never gets the event in shockwave.
 >
 >2 questions:
 >- 1 - I tried to set the keyboardFocusSprite but it does not help.
 >how do you set the focus on an object beside using the
 >keyboardfocussprite?
 >
 >- 2 - Any idea of what is the priority and order of events :
 >enterframe , keydown....?
 >
 >Laurie

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to