Frame 1
function getBetween(lOw, hIgh) {
ggr = 0;
while (((lOw % 1) != 0) || ((hIgh % 1) != 0)) {
ggr++;
lOw = lOw * 10;
hIgh = hIgh * 10;
}
svar = lOw + Math.floor(Math.random() * ((hIgh + 1) - lOw));
while (ggr > 0) {
ggr--;
svar = svar / 10;
}
return(svar);
}
beat = 0;
beat2 = 0;
bloodVal = 0;
bloodVal2 = 0;
lastblod2 = 0;
thisblod2 = 0;
laugh.onEnterFrame = function () {
var _local1 = new flash.filters.BlurFilter(0, 0, 3);
if (Math.random() < 0.2) {
_local1.blurX = getBetween(3, 20);
_local1.blurY = getBetween(10, 30);
laugh._x = 100 + getBetween(-2, 2);
laugh._y = 100 + getBetween(-5, 5);
} else if (Math.random() < 0.2) {
_local1.blurX = getBetween(10, 30);
_local1.blurY = getBetween(3, 20);
laugh._x = 100 + getBetween(-5, 5);
laugh._y = 100 + getBetween(-2, 2);
} else {
_local1.blurX = getBetween(3, 20);
_local1.blurY = getBetween(3, 20);
laugh._x = 100 + getBetween(-2, 2);
laugh._y = 100 + getBetween(-2, 2);
}
var _local2 = new Array();
_local2.push(_local1);
laugh.filters = _local2;
beat++;
if (blood._alpha > 0) {
blood._alpha = blood._alpha - (bloodVal / 5);
}
if (beat == 12) {
beat = 0;
if (Math.random() < 0.85) {
blood._alpha = getBetween(80, 100);
bloodVal = blood._alpha;
}
}
beat2++;
if (blood2._alpha > 0) {
blood2._alpha = blood2._alpha - (bloodVal2 / 3);
}
if (beat2 == 13) {
beat2 = 0;
blood2.gotoAndStop();
i = 0;
while ((thisblod2 == lastblod2) && (i < 20)) {
i++;
thisblod2 = getBetween(1, 10);
}
lastblod2 = thisblod2;
blood2._alpha = getBetween(0, bloodVal / 5);
bloodVal2 = blood2._alpha;
}
};
Symbol 14 MovieClip Frame 361
gotoAndPlay (1);