redd
February 15th, 2003, 01:07 AM
i am trying to develop a flash site where people can choose from a list of "skins" and when they do, the site color changes
i have a button with the instance name "home". In the "Over" keyframe of this button i have a text box with the instance name of "overText".
for the life of me, i can't change the text color
i have used the following code
// set the color
blue = 0x0000FF;
//set object and attibute
menuTextStyle = new TextFormat ();
menuTextStyle.color = blue;
//apply to the text field
_root.home.overText.setTextFormat (menuTextStyle);
i have also tried using _root.overText; home.overText at the start of the text field path but these have't worked either
can someone help?
i have a button with the instance name "home". In the "Over" keyframe of this button i have a text box with the instance name of "overText".
for the life of me, i can't change the text color
i have used the following code
// set the color
blue = 0x0000FF;
//set object and attibute
menuTextStyle = new TextFormat ();
menuTextStyle.color = blue;
//apply to the text field
_root.home.overText.setTextFormat (menuTextStyle);
i have also tried using _root.overText; home.overText at the start of the text field path but these have't worked either
can someone help?