points[(i-1)*2+1];
}
}
if(this.points){
delete this.points;
}
this.points = null;
if(this.loop){
this.play();
}
},
fire : function(){
this.hideBall();
this.showStars();

var effect = parseInt(Math.random() * 2) + 1;
switch(effect){
case 1:
this.moveStars();
break;
case 2:
this.initBezier();
this.moveStars2();
break;
}
},
play : function(){
this.init();
this.showBall();
this.moveBall();
}
};

window.onload = function(){
for(var i=0; i<5; i++)
new Fireworks(document.body, true).play();

Prev | Next
Pg.: 1 2 3


Back to home | File page

Subscribe | Register | Login | N