# Need help with UI Scrollbar Component

**URL:** <https://forum.kirupa.com/t/need-help-with-ui-scrollbar-component/197484>\
**Category:** Uncategorized\
**Created:** [August 16, 2006, 7:31pm UTC](https://forum.kirupa.com/t/need-help-with-ui-scrollbar-component/197484 "2006-08-16T19:31:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajaxx715](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@ajaxx715](https://forum.kirupa.com/u/ajaxx715)\
**Post date:** [August 16, 2006, 7:31pm UTC](https://forum.kirupa.com/t/need-help-with-ui-scrollbar-component/197484/1 "2006-08-16T19:31:49Z")

</div>

Hello all…

So I created a movieclip called “products\_mc”…

On frame 1 of the movieclip, I have a navigation menu with 6 items each linking to a different frame, with each frame having its own dynamic text box attached to a UI Scrollbar from the Components window. I also have a link on the bottom called “gotohome” which returns the user back to frame 1.

Frame 1 is labeled as “home”, and Frame 5 is labeled as “icx”…

On one of the items on Frame 1, I have:

on (release) {  
gotoAndStop(“icx”);  
}

It jumps me to Frame 5 (“icx”) where there is a dynamically loaded text box and the scrollbar seems to be working okay. Now, if I click on “gotohome”, it returns me to Frame 1 (“home”)…

on (release) {  
gotoAndStop(“home”);  
}

Now if I re-click on the item to take me to Frame 5 (“icx”) all of a sudden the scrollbar is gone. It’s showing up like the top portion of it is there with the controls gone.

I don’t really know why it would disappear like that, as this seems pretty simple. The only other additional code I have is on Frame 1:

\_global.style.setStyle(“themeColor”, “haloBlue”) - to set the color.

Hopefully, someone will be able to help.

Thanks.
