(F5) Button and sound help please

(Flash 5)

Ok guys, I am trying to get a button to work by pressing keys.

Problem 1) I want the keys that are pressed to be `,1,2,3,etc… and those keys aren’t in Flash’s actions, can they still work? Or do I have to use keys like SPACE, RETURN, etc…???

Problem 2) Here is the code I’m using. I also want a sound to be played while the button is going down. The sound is in the “down” of the button, but I linked it. THe linkage name is “sound1” here is the code;

onClipEvent (enterFrame) {
if(Key.isDown(Key.SPACE)){
with (sound1) {
play ();
}
}
}

What is wrong?

Thanks

eki’s answered q1 below

as regards sound - have you declared and populated a sound object e.g.

carol=new Sound();
carol.attachSound(“harkTheHeraldAngelsSing”);
carol.start();

where harkTheHeraldAngelsSing is the linkage name you applied to the sound in the library