Probably easy fix

Hi, i’m relatively new to this stuff.

i’m designing a game, just a simple side scroller.
Main menu pops up, you select “Play” and it moves to the section of the timeline where i have placed the character mc and background mc.
the background scrolls passed behind and at this stage the arrow keys are used to move the character around.
However after going to that section of the time line from the menu you have to click with the mouse on the screen before the arrow keys will respond.

this is my menu code

function playButtonClick(event:MouseEvent):void{
gotoAndPlay(“CutScene1”);
PlayBtn.removeEventListener(MouseEvent.MOUSE_UP, playButtonClick);
//PlayBtn.enabled = true;
}

function tutButtonClick(event:MouseEvent):void{
gotoAndStop(“Tutorial”);
TutBtn.removeEventListener(MouseEvent.MOUSE_UP, tutButtonClick);
//TutBtn.enabled = true;
}

function scoreButtonClick(event:MouseEvent):void{
gotoAndStop(“HighScore”);
ScoreBtn.removeEventListener(MouseEvent.MOUSE_UP,scoreButtonClick);
//ScoreBtn.enabled = true;
}

PlayBtn.addEventListener(MouseEvent.MOUSE_UP, playButtonClick);
TutBtn.addEventListener(MouseEvent.MOUSE_UP, tutButtonClick);
ScoreBtn.addEventListener(MouseEvent.MOUSE_UP, scoreButtonClick);

any help would be sick :slight_smile: