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