Hi!
I duplicated a movieclip with the following code:
for (i=1; i <= 11; i++) {
for (j = 1; j <= 1; j++) {
bgmask.mask0.duplicateMovieClip("mask" + n, n);
bgmask["mask" + n]._x = 20;
bgmask["mask" + n]._y = 30;
bgmask["mask" + n].onEnterFrame = function() {
if (this.active == true) {
this._x += Math.random()*(30-10)
this._y += Math.random()*(1-0)
this._rotation += Math.random()*(30-10)
}
}
n+=1;
}
}
Now, i'd like to remove all the duplicants, but im not sure how to go about it. Could you help me out? Its pretty urgent.
thanks!
I duplicated a movieclip with the following code:
for (i=1; i <= 11; i++) {
for (j = 1; j <= 1; j++) {
bgmask.mask0.duplicateMovieClip("mask" + n, n);
bgmask["mask" + n]._x = 20;
bgmask["mask" + n]._y = 30;
bgmask["mask" + n].onEnterFrame = function() {
if (this.active == true) {
this._x += Math.random()*(30-10)
this._y += Math.random()*(1-0)
this._rotation += Math.random()*(30-10)
}
}
n+=1;
}
}
Now, i'd like to remove all the duplicants, but im not sure how to go about it. Could you help me out? Its pretty urgent.
thanks!