Create movieclip dynamically
Creating an empty movie clip:
To create a new, empty movie clip instance on the Stage, use the createEmptyMovieClip() method of the MovieClip class.
This method creates a movie clip as a child of the clip that calls the method.
The registration point for a newly created empty movie clip is the upper left corner.
For example,
the following code creates a new child movie clip named clip2 at a depth of 100 in the movie clip named clip1:
clip1.createEmptyMovieClip(”clip2″, 100);
We can create text field in clip2 Using createTextField method.
Example:
clip2.createTextField(”label”, 20, 0, 0, 100, 300);
