# Tool tips help

**URL:** <https://forum.kirupa.com/t/tool-tips-help/140888>\
**Category:** Uncategorized\
**Created:** [March 15, 2005, 5:11am UTC](https://forum.kirupa.com/t/tool-tips-help/140888 "2005-03-15T05:11:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keith30](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@Keith30](https://forum.kirupa.com/u/Keith30)\
**Post date:** [March 15, 2005, 5:11am UTC](https://forum.kirupa.com/t/tool-tips-help/140888/1 "2005-03-15T05:11:19Z")

</div>

I’m having trouble with tool tips. Some of the tool tips names are longer then others. The ones that are long fall off the page and you can not read it.

Is there some code I can add to my source that will realize the button is too far to the edge and should display tool tip to read inside the page.

tool tips on the buttons in middle of map should center.

tool tips on the buttons on left of screen of map should display to the right of button.

tool tips on the buttons on right of screen of map should display to the left of button.

// button script  
on (rollOver) {  
\_root.x = 1;  
\_root.words = “Go to this Place2”;  
}  
on (rollOut) {  
\_root.x = 0;  
\_root.words = " ";  
}

* * *

// tool tip script  
onClipEvent (enterFrame) {  
myDynamicText.autoSize = true;  
if (\_root.x == 1) {  
this.\_alpha = 50;  
} else {  
this.\_alpha = 0;  
}  
myDynamicText.text = \_root.words;  
\_x = \_root.\_xmouse;  
\_y = \_root.\_ymouse;  
}
