Dynamic Text change on multiple instances of a invisible button's overState

Hi-

I have seven movieclip instances of a spinning globe that needs to be used as a menu icon for seven items. I need each globe to fade out when the user hovers over it, while having text dynamically lie above the (faded) globe, displaying the respective name for that item.

My solution was to create an invisible button symbol that lies above the spinning globe. When the user Mouses over the invisible button, the alpha of the globe below it decreases.

I was trying to put a dynamic text field in the Over state keyframe of the invisible button, which would change for each instance of the invisible button.

Unfortunately, the text portion of this script isn’t working. Any suggestions?


/* Item 1 */

//Change globe1's opacity
function over1(evt:Event):void {
	globe1.alpha = 0.2;
}

//This doesnt work.  I have dynamicTextBox in the Over state of the button symbol.
function textChange1(evt:Event):void {
	invisibleButtonInstance1.dynamicTextBox.text="This is globe 1";
}

//events to happen during hover
invisibleButtonInstance1.addEventListener(MouseEvent.MOUSE_OVER, over1, textChange1);

//Change globe1's opacity back to 100%
function out1(evt:Event):void {
	globe1.alpha = 1;
}

//events to happen during out
invisibleButtonInstance1.addEventListener(MouseEvent.MOUSE_OUT, out1);


/* Item 2 */

//Change globe2's opacity
function over2(evt:Event):void {
	globe2.alpha = 0.2;
}

//This doesnt work.  I have dynamicTextBox in the Over state of the button symbol.
function textChange2(evt:Event):void {
	invisibleButtonInstance2.dynamicTextBox.text="This is globe 2";
}

//events to happen during hover
invisibleButtonInstance2.addEventListener(MouseEvent.MOUSE_OVER, over2, textChange2);

//Change globe2's opacity back to 100%
function out2(evt:Event):void {
	globe2.alpha = 1;
}

//events to happen during out
invisibleButtonInstance2.addEventListener(MouseEvent.MOUSE_OUT, out2);

For what it’s worth, I’m trying to avoid creating 7 invisible buttons. I thought it would be better to create one invisible button that has the text on its Over state dynamically change depending on which globe is selected (and transparent)

Thanks!

-g