Figured out what I am trying to do here. below is the code. Whats next to get this to work
any ideas of a tutorial would be great. I have been looking but it seems like there are several ways to do this.
basically I have one MC that has the code. I load the name of each button fro a text file.
There are 4 instances of this button on the stage
okay, thanks
// default text style
textStyle = new TextFormat();
textStyle.color = 0x000000;
// rollover style
rolloverStyle = new TextFormat();
rolloverStyle.color = 0xFF0000;
btn.onRollOver = function(){
// change Services text color to red
btnLabel.setTextFormat(rolloverStyle);
}
btn.onRollOut = function(){
// change Services text back to black
btnLabel.setTextFormat(textStyle);
}