# Problem with button inside scrolling section

**URL:** https://forum.kirupa.com/t/problem-with-button-inside-scrolling-section/289606
**Category:** Uncategorized
**Created:** [June 2, 2009, 1:22pm UTC](https://forum.kirupa.com/t/problem-with-button-inside-scrolling-section/289606 "2009-06-02T13:22:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bigfishmedia](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bigfishmedia](https://forum.kirupa.com/u/bigfishmedia)
#### Post date: [June 2, 2009, 1:22pm UTC](https://forum.kirupa.com/t/problem-with-button-inside-scrolling-section/289606/1 "2009-06-02T13:22:21Z")

</div>

Okay… I’m pretty new to Flash and I’m stuck on something that I just can’t figure out. I’m creating a full flash site and on one of the pages of the site I have a customized scrollbar with clickable content inside the scrollable section. The content inside the scrolling area is a movie clip. Well, when I add script to the button inside the scrolling area movie clip, it’s doing something weird… The script I’m adding is:

on (release) {  
\_root.gotoAndPlay(“framelabel”);  
}

It works but only if you double click the button. I only want the user to click once. What am I doing wrong? Thanks for your help.

P.S. I used this tutorial to create the customized scrolling section: [http://www.kirupa.com/developer/flash8/scrollbar.htm](http://www.kirupa.com/developer/flash8/scrollbar.htm). Thanks.
