# onEnterFrame = playgame();

**URL:** <https://forum.kirupa.com/t/onenterframe-playgame/162996>\
**Category:** flash\
**Created:** [September 18, 2005, 7:04pm UTC](https://forum.kirupa.com/t/onenterframe-playgame/162996 "2005-09-18T19:04:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aneurin\_Mark\_II](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/aneurin_mark_ii/32/1564_2.png) [@Aneurin\_Mark\_II](https://forum.kirupa.com/u/Aneurin_Mark_II)\
**Post date:** [September 18, 2005, 7:04pm UTC](https://forum.kirupa.com/t/onenterframe-playgame/162996/1 "2005-09-18T19:04:03Z")

</div>

HEY CHECK IT OUT LOL!

```auto
onEnterFrame = playgame();
playgame = function () {

```

This doesn’t work (i.e. nothing happens, the function doesn’t run) and I am getting quite annoyed about this. Explain please (ASAP preferably… I need this fixed by Tuesday morning!).

This works:

```auto
onEnterFrame = function() {

```

- but I need to be able to kill the loop.

Any quick responses would be appreciated. Thanks!
