# "onPress, onReleaseOutside = function()"

**URL:** <https://forum.kirupa.com/t/onpress-onreleaseoutside-function/199729>\
**Category:** flash\
**Created:** [September 5, 2006, 3:05pm UTC](https://forum.kirupa.com/t/onpress-onreleaseoutside-function/199729 "2006-09-05T15:05:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![parchow](https://avatars.discourse-cdn.com/v4/letter/p/a9a28c/32.png) [@parchow](https://forum.kirupa.com/u/parchow)\
**Post date:** [September 5, 2006, 3:05pm UTC](https://forum.kirupa.com/t/onpress-onreleaseoutside-function/199729/1 "2006-09-05T15:05:42Z")

</div>

I’d like to say this in the timeframe.

on (Press, ReleaseOutside) {}

Can I put it like this? The check syntax doesn’t object, but does it work?

“my\_button.onPress, onReleaseOutside = function()”
