# Possible to "press" button through actionscript?

**URL:** https://forum.kirupa.com/t/possible-to-press-button-through-actionscript/55310
**Category:** Uncategorized
**Created:** [June 22, 2004, 9:00pm UTC](https://forum.kirupa.com/t/possible-to-press-button-through-actionscript/55310 "2004-06-22T21:00:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xMetal](https://avatars.discourse-cdn.com/v4/letter/x/c6cbf5/32.png) [@xMetal](https://forum.kirupa.com/u/xMetal)
#### Post date: [June 22, 2004, 9:00pm UTC](https://forum.kirupa.com/t/possible-to-press-button-through-actionscript/55310/1 "2004-06-22T21:00:39Z")

</div>

I have a very complicated interface going on in my flash application, with tons of dependencies/variable checking/etc and it would make my life one heck of a lot easier if it was possible to simply “press” or activate an onscreen button via actionscript.

I have never seen this referenced, and don’t know if it’s possible. Search didn’t find me anything.

Can you do this in some way? “Virtually” activate a button (and thereby all the button’s scripting…)
