dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: using keyboard for movement - eliminating the slight pause

Threaded View

  1. #1
    Yeah...I'm gellin'.
    Join Date
    Nov 2003
    Location
    Slightly NorthWest of Chicago
    Posts
    70

    using keyboard for movement - eliminating the slight pause

    As some of you may know, there is a slight pause after you hold in one key, so the computer knows wether to enter it in again or not. Once it decides you want tons of that letter in the text, then it rapidly speeds up. (If you don't know what I'm talking about, go to your URL bar and press and hold a, look for that pause.)

    My source code, which reads (translated): Upon holding in the <Right> key, _x += 2.

    I've noticed that same slight pause while holding in the <Right> key, and that offsets the movement by quite a bit.

    I would like a solution that gets rid of the pause and, most importantly, works for all computers (aka doesn't involve changing keyboard controls manually).

    Any ideas?
    Last edited by Rellin; 03-05-2005 at 11:14 AM.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center