# Scrolling text box in a rollover button?

**URL:** <https://forum.kirupa.com/t/scrolling-text-box-in-a-rollover-button/239899>\
**Category:** flash\
**Created:** [September 27, 2007, 12:26am UTC](https://forum.kirupa.com/t/scrolling-text-box-in-a-rollover-button/239899 "2007-09-27T00:26:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pimsme](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@pimsme](https://forum.kirupa.com/u/pimsme)\
**Post date:** [September 27, 2007, 12:26am UTC](https://forum.kirupa.com/t/scrolling-text-box-in-a-rollover-button/239899/1 "2007-09-27T00:26:49Z")

</div>

Does anyone have a suggestion as to how i can make a text box scroll inside a button? I have a button that when you rollover opens a window with a text box, but as of now when i try to scroll the text the action does not register.

My AS is very simple to open the window:

on(rollOver){  
gotoAndPlay(“bar in”);  
}  
on(rollOut){  
gotoAndPlay(“bar out”);  
}

Any suggestions would be great as i am not experienced in AS, Thanks…

I guess i have this code as a MC if that helps?
