Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

removeMovieClip problem

Status
Not open for further replies.

stalker81

Programmer
Feb 3, 2005
32
0
0
HU
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top