# How do I write this in a frame (not button)

**URL:** <https://forum.kirupa.com/t/how-do-i-write-this-in-a-frame-not-button/189158>\
**Category:** flash\
**Created:** [May 14, 2006, 3:43pm UTC](https://forum.kirupa.com/t/how-do-i-write-this-in-a-frame-not-button/189158 "2006-05-14T15:43:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Knorcedger](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/knorcedger/32/1244_2.png) [@Knorcedger](https://forum.kirupa.com/u/Knorcedger)\
**Post date:** [May 14, 2006, 3:43pm UTC](https://forum.kirupa.com/t/how-do-i-write-this-in-a-frame-not-button/189158/1 "2006-05-14T15:43:27Z")

</div>

When the code is in a button, i write

```auto
on (release, keyPress "<Enter>")

```

but when i want it on a frame, what should i write
