# Emulate button press with AS?

**URL:** <https://forum.kirupa.com/t/emulate-button-press-with-as/86393>\
**Category:** flash\
**Created:** [April 12, 2005, 6:01pm UTC](https://forum.kirupa.com/t/emulate-button-press-with-as/86393 "2005-04-12T18:01:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cleverfish](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@cleverfish](https://forum.kirupa.com/u/cleverfish)\
**Post date:** [April 12, 2005, 6:01pm UTC](https://forum.kirupa.com/t/emulate-button-press-with-as/86393/1 "2005-04-12T18:01:52Z")

</div>

Not sure if this is possible I have tried somethings but nothing working as I planned. Just curious if and how this is done.

example…  
I have several buttons (button A button B button C) each a movieclip with function states(onRollOver, onPress, etc).  
Now in order to get everthing running you need to click button A which sets variables and calls functions that enable buttons A1 A2 A3 and executes other functions. What i would like to do is a simple script which runs the first time only and emulates button A onPress.

Just curious if and how this is done.

Take Care  
-JW
