DeadCell
05-24-2002, 10:27 AM
ok... i have a movieclip (surprise :D) and it looks like this
layer 1 has a circle called/instance "bubble"..
layer 2 looks like this
//frame 1
Count = 0;
bubble._xscale = 0;
bubble._yscale = 0;
//frame 2
count += 5;
bubble._xscale += 5;
bubble._yscale += 5;
//frame 3
if (count<100) {
gotoAndPlay(2);
} else {
gotoAndstop(4);
}
//frame 4
removeMovieClip("this");
basically the circle is supposed to expand and then the movie clip remove itself from the main scene (i'm using duplicatemovieclip to create a kind of star field)
it works just great apart from the clip wont remove it's self, it will either loop or stop depending on the else statement...
anyone know why??
layer 1 has a circle called/instance "bubble"..
layer 2 looks like this
//frame 1
Count = 0;
bubble._xscale = 0;
bubble._yscale = 0;
//frame 2
count += 5;
bubble._xscale += 5;
bubble._yscale += 5;
//frame 3
if (count<100) {
gotoAndPlay(2);
} else {
gotoAndstop(4);
}
//frame 4
removeMovieClip("this");
basically the circle is supposed to expand and then the movie clip remove itself from the main scene (i'm using duplicatemovieclip to create a kind of star field)
it works just great apart from the clip wont remove it's self, it will either loop or stop depending on the else statement...
anyone know why??