# Click anywher

**URL:** <https://forum.kirupa.com/t/click-anywher/281273>\
**Category:** flash\
**Created:** [February 6, 2009, 7:16pm UTC](https://forum.kirupa.com/t/click-anywher/281273 "2009-02-06T19:16:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danief](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Danief](https://forum.kirupa.com/u/Danief)\
**Post date:** [February 6, 2009, 7:16pm UTC](https://forum.kirupa.com/t/click-anywher/281273/1 "2009-02-06T19:16:50Z")

</div>

what is the code to put in the frame to make the movie play when you click anywhere on the screen… is it something along the lines of this…

```auto

this.onPress = function() {
        play();
    }
};

```

?
