# Two function button problem

**URL:** https://forum.kirupa.com/t/two-function-button-problem/66894
**Category:** Uncategorized
**Created:** [October 10, 2004, 6:27pm UTC](https://forum.kirupa.com/t/two-function-button-problem/66894 "2004-10-10T18:27:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![johnnyFlash](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@johnnyFlash](https://forum.kirupa.com/u/johnnyFlash)
#### Post date: [October 10, 2004, 6:27pm UTC](https://forum.kirupa.com/t/two-function-button-problem/66894/1 "2004-10-10T18:27:01Z")

</div>

Iv’e been working on this menu for the past few days, and it just doesn’t want to seem to work. I have a script that puts two functions on one button to control another movieclip.

So, if it pressed once, the other movieclip plays the “on” animation, then when the same button is pressed, it plays the “off” animation; or at least, this is what i need to happen.

Rightnow, it only plays the “on” animation; when pressed again, it replays the “on” animation. I know this has got to be a path issue somewhere…but i just can’t find it. Iv’e tried every combination of paths i could think of.

I attached an example .fla  
Someone please help me with this seemingly easy problem! 🙂
