Hi people,
I have encoutered some problems with my script.
I have two movieclips on stage with the instancenames “box” and “mcEmpty”.
One button with the instancename “duplicate_btn”
The problem is that I can’t duplicate my mc Box.
This is the script where I’m now working on.
duplicate_btn.onRelease = function() {
for(var i=0; i<5; i++){
mcEmpty.duplicateMovieClip("_root.box","box"+i, i);
mcEmpty["box"+i]._x = random(550);
mcEmpty["box"+i]._y = random(400);
trace(mcEmpty["box"+i]);
//j++;
}
}
greetz,
liquido