# Make enter not play

**URL:** <https://forum.kirupa.com/t/make-enter-not-play/119740>\
**Category:** Uncategorized\
**Created:** [August 17, 2004, 7:28pm UTC](https://forum.kirupa.com/t/make-enter-not-play/119740 "2004-08-17T19:28:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerez\_z](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jerez\_z](https://forum.kirupa.com/u/jerez_z)\
**Post date:** [August 17, 2004, 7:28pm UTC](https://forum.kirupa.com/t/make-enter-not-play/119740/1 "2004-08-17T19:28:26Z")

</div>

How do I make it so that when a user presses enter the movie dosen’t play?

---

<div class="post-metadata">

**Author:** ![newhopekenny](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/newhopekenny/32/317_2.png) [@newhopekenny](https://forum.kirupa.com/u/newhopekenny)\
**Post date:** [August 17, 2004, 9:38pm UTC](https://forum.kirupa.com/t/make-enter-not-play/119740/2 "2004-08-17T21:38:20Z")

</div>

myButton.onRelease = function() {  
\_root.stop()  
}

Is one way of stopping playback, but it depends on what you’re trying to accomplish.

---

<div class="post-metadata">

**Author:** ![jerez\_z](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jerez\_z](https://forum.kirupa.com/u/jerez_z)\
**Post date:** [August 17, 2004, 9:56pm UTC](https://forum.kirupa.com/t/make-enter-not-play/119740/3 "2004-08-17T21:56:42Z")

</div>

ok nevermind. Turns out it dosen’t do that in the Flash Player, just Flash…
