# Button w/ two functions

**URL:** https://forum.kirupa.com/t/button-w-two-functions/300573
**Category:** flash
**Created:** [November 23, 2009, 10:16pm UTC](https://forum.kirupa.com/t/button-w-two-functions/300573 "2009-11-23T22:16:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![arctavian](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@arctavian](https://forum.kirupa.com/u/arctavian)
#### Post date: [November 23, 2009, 10:16pm UTC](https://forum.kirupa.com/t/button-w-two-functions/300573/1 "2009-11-23T22:16:06Z")

</div>

I’m trying to get a button to do two functions, but its only doing the last statement. Could someone look at my code and tell what I’m doing wrong.
