OKay, so I thought unloading a movie clip would be A LOT easier…but I can’t seem to figure out how to stop it!

I have it playing from frame 577 to frame 598

On frame 577 I have:

[color=blue]i = 0;

while (i<8) {

//duplicateMovieClip(dot, “dot”+i, i);

gator2_mc.duplicateMovieClip(“gator2_mc”+i, i);

i++;

}

[/color]

and on the movieclip on that frame I have:

[color=blue]onClipEvent (load) {

//data you may want to change

width = 1020;

height = 680;

speed = Math.round(Math.random()*8)+1;

//initial positions

x = this._x=Math.random()*width;

y = this._y=Math.random()*height;

x_new = Math.random()*width;

y_new = Math.random()*height;
}
onClipEvent (enterFrame) {
//x movement
if (x_new>this._x) {
sign_x = 9;
} else {
sign_x = -9;
}
dx = Math.abs(x_new-this._x);
if ((dx>speed) || (dx<-speed)) {
this._x += sign_x*speed;

} else {

x_new = Math.random()

*width;*

}

//y movement

if (y_new>this._y) {

sign_y = 7;

} else {

sign_y = -7;

}

dy = Math.abs(y_new-this._y);

if ((dy>speed) || (dy<-speed)) {

this._y += sign_yspeed;

}

//y movement

if (y_new>this._y) {

sign_y = 7;

} else {

sign_y = -7;

}

dy = Math.abs(y_new-this._y);

if ((dy>speed) || (dy<-speed)) {

this._y += sign_y

} else {

y_new = Math.random()*height;

}

} [/color]

[color=black]Now these are just codes that I got from some tutorials…i don’t exacty understand ALL the code but basically what it does is duplicates my movieclip and then makes it randomly appear on the screen…How do I STOP it to continue on with somethingelse on frame 598?!?[/color]

Any help at all would be most appreciated!

Thanx,

T-I-double-G-R

[color=blue][color=black][/color]

[/color]