I imagine this isn’t too difficult, but I’m new to flash and can’t figure it out. I want to make a movie clip that can be duplicated by dragging and dropping it somewhere else on the stage.
So far I can drag around my MC but the duplication isn’t working properly.
I have this in my frame:
numBox = 3;
for (i=2; i<=numBox; i++) {
box.duplicateMovieClip(“box”+i, i+100);
visible = false(“box”);
}
And this on my MC:
*on (press) {
startDrag(this);
i = i+1;
duplicateMovieClip(_root.box, “box”+i, i);
}
on (release) {
stopDrag();
}
Any advice would be helpful.:sure: