Hello guys,
I have one small/big problem, when i attach a movieClip from my library to my stage (directly),
//Code in frame 2;
this.attachMovie ("btn", "btn1", _root.getNextHighestDepth ());
this.attachMovie ("btn", "btn2", _root.getNextHighestDepth ());
this.attachMovie ("btn", "btn3", _root.getNextHighestDepth ());
this.attachMovie ("btn", "btn4", _root.getNextHighestDepth ());
where “btn” it’s a movieClip that has another mc inside btnText (in btnText i have a dynamic TextField)
the “btn” linkage has this details:
Identifier: btn;
AS2.0 Class: ButtonClass;
In the “btn” mc i have a small animation for changing the color of btnText, this animation it is controled by the ButtonClass (onRollOver and onRollOut);
Now my problem is that when i test the movie, only half of the text from the button is changing the color.
The rest of the code is this:
//Code in frame 2;
btn1._x = 61.0;
btn1._y = 550.7;
btn1.btnText.theBtnText.text = "FAKTEN";
btn1.btnText.theBtnText.setTextFormat (my_fmt);
//
btn2._x = 177.3;
btn2._y = 550.7;
btn2.btnText.theBtnText.text = "KUNDEN";
btn2.btnText.theBtnText.setTextFormat (my_fmt);
//
btn3._x = 303.7;
btn3._y = 550.7;
btn3.btnText.theBtnText.text = "KONTAKT";
btn3.btnText.theBtnText.setTextFormat (my_fmt);
//
btn4._x = 440.1;
btn4._y = 550.7;
btn4.btnText.theBtnText.text = "IMPRESSUM";
btn4.btnText.theBtnText.setTextFormat (my_fmt);
Thank you, btibia!
P.S. The btn exist outside the stage in frame 2, because i haven’t checked the Export in first frame.