On Any key press

hey does anybody have the actionscript for any keypress? I have something I want to happen when any key is pressed but I’m not sure how to do that.

So I want it to be something like
[AS]
on (keyPress “all keys”)
{
statement;
}[/AS]

thanks :slight_smile: