# onPress = what (in frame)?

**URL:** <https://forum.kirupa.com/t/onpress-what-in-frame/202605>\
**Category:** flash\
**Created:** [October 3, 2006, 12:30am UTC](https://forum.kirupa.com/t/onpress-what-in-frame/202605 "2006-10-03T00:30:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimhere](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jimhere/32/137_2.png) [@jimhere](https://forum.kirupa.com/u/jimhere)\
**Post date:** [October 3, 2006, 12:30am UTC](https://forum.kirupa.com/t/onpress-what-in-frame/202605/1 "2006-10-03T00:30:19Z")

</div>

```auto

_root.navigationMC.onPress = function() {
	startPreload("blue.swf");
}

```

If I wanted to change an action from a button click to a frame-based action, what do I use instead of onPress? The hints from the AS editor are all click-based.
