text field into an emptymovieclip?
I've been looking into trying to load text into an a dynamically created MC.
I can create the empty movie-clip, and load a picture into it. I can create a text field and put text in it.
I'm having a problem putting the text field into the movie clip. the code below is info I gathered and experimented with.
I get the text on the stage and the picture loaded, but not the text into the mc
(the x and y location was to see is the text moved with or without the movieclip.
var mcBox = this.createEmptyMovieClip("mcHolder" , 3);
var myLoader:MovieClipLoader = new MovieClipLoader();
myLoader.loadClip("Pool.png", mcBox);
var myText = infoBox.createTextField("myText", 1, 0, 0, 100, 100);
myText.text = "SOME RANDOM TEXT HERE";
mcBox._x=88;
mcHolder._y=55;
Can anyone help?