keyDown & keyUp?????

Ask a Question related to Macromedia Director 3D, Design and Development.

  1. #1

    Default keyDown & keyUp?????

    Can anyone tell me why the keyDown and keyUp handlers don't work when SW3D is inserted in a movie.

    chartonum(the keypressed) works, but that obvisously returns true every frame the key is pressed and I just need it on the keyDown.

    Am I way off the mark and being stupid?

    Any suggestions?


    Nicollini webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. KeyUp - recognising keystrokes?
      Hi - I want to use keyboard input instead of the mouse for a Director project. Does anyone know how to do that? I intend to use the arrow keys...
    2. turn the frame by keyup
      hi guys, i'm working on a presentation, in which i want to turn to the next or previous frame by pressing "right" and "left". here is my...
    3. Keyup, KeyDown, and KeyPress events for a datagrid do not work. URGENT !!!!
      Here are the three event handlers I am trying to catch the key events, but they do not work. private void dgResults_KeyDown(object sender,...
    4. some problems with the keyup function
      Hi, Your question is bit confusing, and not mentioning the positions where you have put the script. Can you put the detailed information, so that...
    5. Help with 'On KeyUp' script
      Hi, I want to make a script whereby the playhead will move to another marker upon pressing the left arrow button. However, I do not know the 'name'...
  3. #2

    Default Re: keyDown & keyUp?????

    Does the movie have focus, i.e. does it receive the key events if you click on
    it first?

    Andrew

    Andrew Morton Guest

  4. #3

    Default Re: keyDown & keyUp?????

    "Nicollini" [email]webforumsuser@macromedia.com[/email] wrote:
    > Can anyone tell me why the keyDown and keyUp handlers don't work when SW3D is inserted in a movie.
    They work but you have to put them in a behavior attached to the 3D
    sprite because otherwise, it "eats" the event.
    > Am I way off the mark and being stupid?
    Not at all ;)

    Cheers!
    --
    Agustín María Rodríguez | [email]agustin@OnWine.com.ar[/email] | [url]www.OnWine.com.ar[/url]

    Agustín María Rodríguez Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139