//i have two movieclips //recipient.swf //txt.swf //there is the movieclip
that i want to load and then duplicate URL = ('txt.swf'); //here is the normal
process to load a movieclip in actionscript using loadClip function var NWOBJ =
new MovieClipLoader(); OBJ = new Object(); OBJ.onLoadStart =
function(target_mc) { }; OBJ.onLoadProgress = function(target_mc, loadedBytes,
totalBytes) { }; OBJ.onLoadComplete = function(target_mc) { }; OBJ.onLoadInit =
function(target_mc) { //when the object is loaded, it is supouse that i can
duplicate it. //duplicate(target_mc); //option1. See NOTE duplicate2();
//option2. See NOTE }; OBJ.onLoadError = function(target_mc, errorCode) { };
NWOBJ.addListener(OBJ); //here is where i load the movieclip
NWOBJ.loadClip(URL, top_mc.sub_mc); //NOTE: I ALSO TRY TWO WAYS TO DUPLICATE
THE OBJECT, USING THE target_mc, RETURNED FROM THE loadClip FUNCTION, //and the
second was using the instanceName of the movie where i loaded my external
movieclip. //this is the function to duplicate the movieclip, called when the
object is loaded. duplicate2 = function () { //everything is working at now,
the original movieclip was loaded and it,s visible. for (i=0; i<=6; i++) {
top_mc.sub_mc.duplicateMovieClip(('duplicated_obje ct'+i), i); trace(i) //
0,1,2,3,4,5,6 // set the _y position for my duplicated moviclips.
top_mc['duplicated_object'+i]._y = loaded_obj._height*i; // set a value for
the textfield 'txt' into my loaded movieclip
top_mc['duplicated_object'+i].txt.text = 'DUPLICATED OBJ / NUMER: ' + i; }
//well, here is where is my probelm, nothing happened, i couldn,t duplicate
the movieclips. why??? // i'll appreciate any help. regards. }; duplicate =
function (loaded_obj) { //everything is working at now, the original movieclip
was loaded and it,s visible. for (i=0; i<=6; i++) {
loaded_obj.duplicateMovieClip(('duplicated_object' +i), i); trace(i) //
0,1,2,3,4,5,6 // set the _y position for my duplicated moviclips.
this['duplicated_object'+i]._y = loaded_obj._height*i; // set a value for
the textfield 'txt' into my loaded movieclip
this['duplicated_object'+i].txt.text = 'DUPLICATED OBJ / NUMER: ' + i; }
//well, here is where is my probelm, nothing happened, i couldn,t duplicate
the movieclips. why??? // i'll appreciate any help. regards. };