Hi,

I'am trying to use actionscipt to write a simple game.
But I found tht if I use the Key's event system.
It's a bit delay ...

here is the code,

CODE
var o = new Object();
o.onKeyDown = function ()
{
    if (Key.getCode() == 40)
    {
       _parent.fire._y += 50;
    }
}


Key.addListener(o);

how do I be able to reduce the delay when press key button on the keyboard ?

Thank,


Comment/Reply (w/o sign-up)