Key.isDown?

this time I got a little problem with teh key.isdown stuff…

Basically I want to make a key that goes to another frame… for example, when I press space…

Thers my code…

if (Key.isDown(32)) {
gotoAndStop(2);

}

Im not that sure where I should put it so I putted it on a MC in my first frame. The problem is that it does not work… and I would like to know why and how to fix it… ^^;

[edit] nvm, alredy figured it out… -.-…

ps: where can I delete this post?