# Button problem, please help

**URL:** <https://forum.kirupa.com/t/button-problem-please-help/246693>\
**Category:** Uncategorized\
**Created:** [December 13, 2007, 2:57pm UTC](https://forum.kirupa.com/t/button-problem-please-help/246693 "2007-12-13T14:57:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteelCity](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@SteelCity](https://forum.kirupa.com/u/SteelCity)\
**Post date:** [December 13, 2007, 2:57pm UTC](https://forum.kirupa.com/t/button-problem-please-help/246693/1 "2007-12-13T14:57:34Z")

</div>

Simple coding delima. In a perfect world

1. you have a button that when clicked forwards you to a labeled frame and stops after the movie clip contained on that labeled frame concludes

I’ve tried hybrids of every bit of coding that I can get my hands on, but I’m missing something crucial in my understanding.

If you could, please, look at my example and tell me what’s wrong with this coding.

stop();  
function gotolion(MouseEvent):Void {this.gotoAndPlay(“lion”);  
};  
lio\_btn.addEventListener(MouseEvent.CLICK,gotolion );

Thank you so much!!!
