I need a way to know that the frame for my game actions has completely loaded!

function startButton_click(e:MouseEvent) {
play();
addEventListener(Event.ENTER_FRAME, run);
}

How can I start the EnterFrame event and detect keyspress events.