I have three movieClips are mc1, mc2 and mc3. It is simple to add a movie clip from library dynamically with its class name. This method requares different class names for all movieClips that I want to add. The problem is "control.as" file. I need to define a same class name to control all atached movie with the same "control.as" file. How can I define same class name as "control" and then I can add them dynamically?
for(var i=1;i<=3;i++){
var parameter="mc"+i
...?
...?
...?
}