(F5) Sound help again

OK guys, this code works, but I would like the sound to play on when the ` key is pressed (that key is left of 1) Can I do that, or is this button unusable in Flash?

onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)) {
s1 = new Sound();
s1.attachSound(“sound1”);
s1.start();
}
}

Thanks.

what you want to do is use this code to find the number value of that key.

Step 1:

onClipEvent(keyDown) {
trace(Key.getCode());
}
once you’ve figured out what that number is

Step 2:

onClipEvent(enterFrame) {
if(Key.isToggled(put the number you found from the first step));
s1 = new Sound();
s1.attachSound(“sound1”);
s1.start();
}
}
just add these changes to your code, its basically the second line that needed to be altered.

That should work, hope it helps.

Kyle

<:}