Tool tips help

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;
}