Hi friend, i need help about how to create an object container that contain TextField,movie clip, etc . on Flash help i found this code :
var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
var label:TextField = container.createTextField("label", 1, 0, 0, 150, 20);
The code above create a TextField and attach to container. My question is how to add a TextField that already exist on fla / on canvas?let say in my fla have dynamic text named: dtText, how to attach dtText to container movieclip,so i can use :
container.dtText.text = “test”;
Is that any other datatype that we can use rather than movieclip ? Thanks in advance for any reply from you.