Keyboard monitor

I have been trying to make a simple program for my daughter so that when she presses a key on the computer it jumps to a screen. i.e. press A go to scene with picture of Apple (well it might be more original than that).

I have tried all sorts with the key.getcode command and cannot get it to work. Both on the responding to a key press part and also when it jumps to a scene (Apple) I want that scene to change if another key is pressed i.e. B goes to another fantastic scene with picture of banana.

perhaps this isn’t so easy after all?;(

here is one way to do it, just look at this fla, i have an explanation with it at the bottom of the code in the mc