I’m using attachMovie to attach a mc from the library to an empty mc on the stage, the movie i’m attaching has 2 dynamic text fields in it, but when i change the .text property of them, nothing appears, if i put some text in them manually before publishing, this text disappears, and after i have set the .text of each, they both trace the correct values, but nothing is displayed, any ideas?
[FONT=monospace]function startGame() {
mc_zoom._x = 17;
mc_zoom._y = -20;
_root.mc_zoom.attachMovie("mc_roomouter", "mc_roomouter", 1);
if (theChar == 1) {
mc_zoom.mc_roomouter.txt_name1.text = "Hurricane";
} else if (theChar == 2) {
mc_zoom.mc_roomouter.txt_name1.text = "Misty";
} else if (theChar == 3) {
mc_zoom.mc_roomouter.txt_name1.text = "Lightning";
} else if (theChar == 4) {
mc_zoom.mc_roomouter.txt_name1.text = "Sunny";
}
mc_zoom.mc_roomouter.txt_name2.text = mc_charselect.mc_select_inner.mc_select_text.txt_name.text;
var skyOut:Tween = new Tween(mc_charselect.mc_sky, "_y", Strong.easeIn, mc_charselect.mc_sky._y, -383, 0.5, true);
skyOut.onMotionFinished = function() {
var grassOut:Tween = new Tween(mc_charselect.mc_grass, "_y", Strong.easeIn, mc_charselect.mc_grass._y, 261, 0.5, true);
};
};
[/FONT]
[FONT=monospace]
[/FONT]