Frame 1
function kopiointi() {
sponge.duplicateMovieClip((newname = "sponge" + i), i, {_x:Math.floor((Math.random() * 520) + 15), _y:Math.floor((Math.random() * 370) + 15), pyorimisnopeus:Math.floor((Math.random() * 15) + 15)});
updateAfterEvent();
i = i + 1;
}
var intervalli;
var muuttuja;
_global.arvo = 0;
var i = 1;
intervalli = setInterval(kopiointi, 80);
Instance of Symbol 5 MovieClip "sponge" in Frame 1
onClipEvent (enterFrame) {
var intervalli;
this._rotation = this._rotation + this.pyorimisnopeus;
arvo = arvo + this.pyorimisnopeus;
updateAfterEvent();
if (arvo >= 550) {
this.removeMovieClip();
}
}
Symbol 7 MovieClip Frame 381
stopAllSounds();
gotoAndPlay (1);