# HELP! With textbox inside rollover MC

**URL:** <https://forum.kirupa.com/t/help-with-textbox-inside-rollover-mc/240073>\
**Category:** flash\
**Created:** [September 28, 2007, 7:19pm UTC](https://forum.kirupa.com/t/help-with-textbox-inside-rollover-mc/240073 "2007-09-28T19:19:12Z")\
**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 28, 2007, 7:19pm UTC](https://forum.kirupa.com/t/help-with-textbox-inside-rollover-mc/240073/1 "2007-09-28T19:19:12Z")

</div>

I have been trying to figure a solution to this problem. I have a rollover script:

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

I use this to open a calendar month, but when the window scrolls open there is a textbox with a scrollbar, because i can only open the window to a limited size. My problem is that this script does not allow me to scroll the bar in the textbox becuase the whole window reads a button. I did this so that when you roll out of the window it would close. Can anyone please tell me how i can activate the scrollbar but still allow me to close the window when you rollout? THANK YOU IN ADVANCE!
