Dragging createEmptyMovieClips
Hey Guys,
After creating empty movie clips is there any possible way to drag them?
Heres the creation code:
Code:
on(press) {
_root.createEmptyMovieClip("factor",_root.numFactors);
with (_root.factor) {
beginFill(0xFF0000, 25);
lineStyle(1, 0x000000, 100);
lineTo(240, 110)
lineTo(0, 220)
lineTo(0, 0)
endFill()
}
_root.numFactors++;
_root.numFactors = 1;
}
It just creates another triangle over the last each time I click the button.
I want to be able to drag them each individually. Any ideas would be much appreciated.
Thanks,
Fearless