My code doesnt detect 2 kest at once.
I want to press an arrow key and spce bar.
In .net the below code does do this but in flash if I hold down an arrow key and press space bar the arrow key event will stop working.
private function doSomething(e:KeyboardEvent):void {
var mybackList:Array ;
mybackList=mybackground.getbackground ;
if (e.keyCode==39) { myplayer.moveright(mybackList); }// Right
if (e.keyCode==32 && myplayer.jumping ==false) {
myplayer.jumpStart();
}