[F8] How to simulate a button being pressed

Hello,
I was wondering if Flash 8 is able to simulate a button being pressed on the keyboard. I know it is able to detect if a button is being pressed by the user, but this is slightly different.

For example:

// Pressing Spacebar would set the Enter key to being pressed
if(Key.isDown(KEY.SPACE)){
    Key.ENTER = true; // this line does not work. It is a theoretical example.
}

Thanks to anyone who tries to help out.

  • Bean