can some one help me debug this flash code it is for my charcter to move in my game?

Tommy N

New member
function rightKey(moveRight:KeyboardEvent):void
{
if (moveRight.keyCode==Keyboard.RIGHT){
fox_mc.x+=5
};
};


function leftKey(moveLeft:KeyboardEvent):void
{
if (moveLeft.keyCode==Keyboard.LEFT){
fox_mc.y+=5
};
};
 
Back
Top