Hello
I’ve a problem with my “bud” MC.
onClipEvent(load){
punkt=true;
var int1 = 2
this._x = Math.random()*300;
this._y = Math.random()*300;
}
onClipEvent(enterFrame){
if(this.hitTest(_root.hero)&&punkt==true){
punkt=false;
_root.totalmoney.text++;
play();
duplicateMovieClip(this,"bud"+int1,(1000+int1)) ;
int1++
}
}
This is written in bud’s actions. When hero hittests bud it duplicates but only the first bud plays when touched and I’ve tried unloading it by:
unloadmovie(“bud”+int1)
unloadmovie(“bud+int1”)
but it doesn’t work
what’s funny, the first bud plays and stays and the duplicated buds unload themselves when touched :!: