Frame 1
function realDistance(clip1x, clip2x, clip1y, clip2y) {
dx = clip1x - clip2x;
dy = clip1y - clip2y;
return(Math.sqrt((dx * dx) + (dy * dy)));
}
function stringToNumber(s) {
return(Number(s.split(",").join("")));
}
function numberToString(n) {
var _local4 = n.toString();
var _local3 = _local4.split(".");
var _local1 = "";
var _local2 = _local3[0].length;
while (_local2--) {
if ((_local2 < (_local3[0].length - 1)) && ((((_local3[0].length - _local2) - 1) % 3) == 0)) {
_local1 = "," + _local1;
}
_local1 = _local3[0].substr(_local2, 1) + _local1;
}
if (_local3.length > 1) {
_local1 = _local1 + ("." + _local3[1]);
}
return(_local1);
}
_quality = "Medium";
var CPMStarPoolID = 1239;
var CPMStarSubPoolID = 9;
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 138 MovieClip in Frame 1
onClipEvent (load) {
this._x = (Math.random() * 500) + 25;
this._y = (Math.random() * 350) + 25;
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
rotspeed = 0;
randomrot = Math.random();
}
onClipEvent (enterFrame) {
mAIMx = this._x - _root._xmouse;
mAIMy = this._y - _root._ymouse;
ballRadians = Math.atan2(mAIMy, mAIMx);
ballDegrees = (360 * ballRadians) / (Math.PI*2);
distance = _root.realDistance(_root._xmouse, this._x, _root._ymouse, this._y);
xspeed = xspeed + ((Math.cos(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
yspeed = yspeed + ((Math.sin(ballRadians) * (100 / distance)) + ((Math.random() * 4) - 2));
xspeed = xspeed * 0.94;
yspeed = yspeed * 0.94;
yspeed = yspeed + 0.7;
rotspeed = xspeed * randomrot;
this._rotation = this._rotation + rotspeed;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this._x > 525) {
yspeed = yspeed * 0.8;
this._x = 525;
xspeed = xspeed * -0.99;
}
if (this._x < 25) {
yspeed = yspeed * 0.8;
this._x = 25;
xspeed = xspeed * -0.99;
}
if (this._y < 25) {
xspeed = xspeed * 0.8;
this._y = 25;
yspeed = yspeed * -0.99;
}
if (this._y > 375) {
if (Math.random() <= 0.01) {
xspeed = (Math.random() * 30) - 15;
yspeed = (Math.random() * 30) - 15;
}
xspeed = xspeed * 0.8;
this._y = 375;
yspeed = yspeed * -0.99;
}
}
Instance of Symbol 140 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._alpha = (Math.random() * 30) + 70;
}
Frame 2
stop();
hscores = SharedObject.getLocal("user");
if ((hscores.data.pScore != undefined) and (!Key.isDown(32))) {
pScore = hscores.data.pScore;
} else {
pScore = new Array();
psc = 0;
while (psc <= 10) {
pScore[psc] = new Array();
psc++;
}
pScore[1][1] = "50,000";
pScore[1][2] = "AAA";
pScore[2][1] = "40,000";
pScore[2][2] = "MAN";
pScore[3][1] = "30,000";
pScore[3][2] = "AAA";
pScore[4][1] = "25,000";
pScore[4][2] = "XXX";
pScore[5][1] = "20,000";
pScore[5][2] = "SML";
pScore[6][1] = "15,000";
pScore[6][2] = "ZMK";
pScore[7][1] = "10,000";
pScore[7][2] = "HM";
pScore[8][1] = "5,000";
pScore[8][2] = "ICF";
pScore[9][1] = "1,000";
pScore[9][2] = "NWM";
pScore[10][1] = "5";
pScore[10][2] = "Tom Fulp";
hscores.data.pScore = pScore;
}
function doSomething() {
}
function doSomething2() {
getURL ("http://www.hrawl.com", _blank);
}
function doSomething3() {
_quality = "high";
}
function doSomething4() {
_quality = "medium";
}
function doSomething5() {
_quality = "low";
}
function doSomething6() {
getURL ("http://www.trueweaksauce.com", _blank);
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Beta Version", doSomething, false, false);
Functioned2 = new ContextMenuItem("hrawl.com", doSomething2);
Functioned3 = new ContextMenuItem("High", doSomething3, false, true);
Functioned4 = new ContextMenuItem("Medium", doSomething4, false, true);
Functioned5 = new ContextMenuItem("Low", doSomething5, false, true);
Functioned6 = new ContextMenuItem("CatsAreNotDogs.com", doSomething6);
Functioned7 = new ContextMenuItem("Quality:", doSomething3, true, false);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned6);
MENU.customItems.push(Functioned7);
MENU.customItems.push(Functioned3);
MENU.customItems.push(Functioned4);
MENU.customItems.push(Functioned5);
_root.menu = MENU;
var globalVolume = new Sound();
allSoundMuted = false;
Instance of Symbol 153 MovieClip in Frame 2
onClipEvent (load) {
_root.canQualityzzz = true;
_root.mehzzz = "medium";
_quality = "medium";
this.swapDepths(7878996);
}
onClipEvent (enterFrame) {
if (Key.isDown(81)) {
if (_root.canQualityzzz == true) {
_root.canQualityzzz = false;
if (_root.mehzzz == "low") {
_quality = "high";
_root.mehzzz = "high";
} else if (_root.mehzzz == "high") {
_quality = "medium";
_root.mehzzz = "medium";
} else if (_root.mehzzz == "medium") {
_root.mehzzz = "low";
_quality = "low";
}
}
} else {
_root.canQualityzzz = true;
}
}
Instance of Symbol 159 MovieClip in Frame 2
onClipEvent (load) {
this.swapDepths(98989898989);
}
Frame 6
stop();
function realDistance(clip1x, clip2x, clip1y, clip2y) {
dx = clip1x - clip2x;
dy = clip1y - clip2y;
return(Math.sqrt((dx * dx) + (dy * dy)));
}
Frame 182
this.bubbleboxGameID = 1033;
stop();
this_url = _root._url;
allowed_urls = new Array("bubblebox.com", "www.bubblebox.com", "catsarenotdogs.com", "www.catsarenotdogs.com");
this_url = this_url.substr(7, this_url.length);
this_url = this_url.substr(0, this_url.indexOf("/"));
var found_good_url = 0;
var i = 0;
while (i < allowed_urls.length) {
if (this_url == allowed_urls[i]) {
found_good_url = 1;
break;
}
i++;
}
if (found_good_url == 1) {
}
this.bubblebox_view_score.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1033&subid=viewscores&action=viewscores", "_blank");
};
stop();
cred.onPress = function () {
gotoAndStop (183);
};
tute.onPress = function () {
gotoAndStop (184);
};
game.onPress = function () {
gotoAndPlay (187);
};
butscore.onPress = function () {
gotoAndStop ("finalscore");
};
Frame 183
back.onPress = function () {
gotoAndStop (182);
};
weakAim.onPress = function () {
getURL ("aim:GoIM?ScreenName=TrueWeaksauce");
};
weakWeb.onPress = function () {
getURL ("http://www.catsarenotdogs.com", "_blank");
};
weakMail.onPress = function () {
getURL ("mailto:zachmack1@comcast.com?subject=PANDEMONIUM!!!!&body=I love the animation, are you pro?");
};
hoboAim.onPress = function () {
getURL ("aim:GoIM?ScreenName=AttackingHobo");
};
hoboWeb.onPress = function () {
getURL ("http://www.hrawl.com", "_blank");
};
hoboMail.onPress = function () {
getURL ("mailto:AttackingHobo@gmail.com?subject=PANDEMONIUM!!!!&body=I love the awesome code, are you pro?");
};
mastaAim.onPress = function () {
getURL ("aim:GoIM?ScreenName=Vegito861");
};
mastaWeb.onPress = function () {
getURL ("http://housemasta.newgrounds.com/audio/", "_blank");
};
mastaMail.onPress = function () {
getURL ("mailto:housemasta@gmail.com?subject=PANDEMONIUM!!!!&body=I love the music, are you pro?");
};
Frame 184
back.onPress = function () {
gotoAndStop (182);
};
Frame 185
stop();
Frame 186
back.onPress = function () {
gotoAndStop (182);
};
Frame 187
function distance(clip1, clip2) {
dx = clip1._x - clip2._x;
dy1 = clip1._y - clip2._y;
dy = dy1 * 2;
return(Math.sqrt((dx * dx) + (dy * dy)));
}
function checkColision(clip, dis) {
j = blocks.length - 1;
while (j >= 0) {
block = _root[blocks[j].clip];
if (distance(block, clip) < dis) {
if (blocks[j].blockremove >= 29) {
if (blocks[j].blockremove <= 31) {
return(true);
}
}
}
j--;
}
return(false);
}
stop();
function initFrenzy() {
CCCOMBO = 1;
if (_root.lType == "lava") {
isLavaLevel = true;
} else {
isLavaLevel = false;
}
if (lives < 0) {
removeAllClips = true;
frenzy.removeMovieClip();
gotoAndStop ("gameO");
}
ohNoesBurned = 0;
frenzyState = "i";
dir = 7;
dead = false;
blockDead = false;
frenzyHeightSpeed = 0;
frenzyXspeed = 0;
frenzyYspeed = 0;
frenzyHeight = 0;
frenzyX = 400;
frenzyY = -100;
falling = false;
canControl = true;
attachMovie("frenzyman", "frenzy", 200);
_root.frenzy._x = spacing * (frenzyX + frenzyY);
_root.frenzy._y = ((spacing / 2) * (frenzyX - frenzyY)) + frenzyHeight;
frenzy._xscale = 36.3;
frenzy._yscale = 36.8;
frenzy.swapDepths((frenzy._y * 1000) + frenzy._x);
bg.swapDepths(-1000);
hasFallenDown = false;
invincible = 90;
alphaTimer = 3;
justFell = false;
frenzyRespawn = 3001;
}
function frenzyMine() {
dead = true;
frenzyState = "m";
}
function frenzyFall() {
if (falling) {
if (!hasFallenDown) {
hasFallenDown = true;
dead = true;
_root.removeHealth();
}
}
if (frenzyY <= yLow) {
falling = true;
}
if (frenzyY >= yHigh) {
falling = true;
}
if (frenzyX <= xLow) {
falling = true;
}
if (frenzyX >= xHigh) {
falling = true;
}
}
function rotateFrenzy() {
if (!blockDead) {
if (dir == 1) {
frenzy.gotoAndStop("left" + frenzyState);
} else if (dir == 2) {
frenzy.gotoAndStop("upleft" + frenzyState);
} else if (dir == 3) {
frenzy.gotoAndStop("up" + frenzyState);
} else if (dir == 4) {
frenzy.gotoAndStop("upright" + frenzyState);
} else if (dir == 5) {
frenzy.gotoAndStop("right" + frenzyState);
} else if (dir == 6) {
frenzy.gotoAndStop("downright" + frenzyState);
} else if (dir == 7) {
frenzy.gotoAndStop("down" + frenzyState);
} else if (dir == 8) {
frenzy.gotoAndStop("downleft" + frenzyState);
}
}
}
function moveFrenzy() {
if (reversedT > 0) {
reversedT--;
reversed = true;
} else {
reversed = false;
}
if (_root.lType == "lava") {
isLavaLevel = true;
}
if (canControl == true) {
_root.controlFrenzy();
}
if (dead == true) {
canControl = false;
if (!falling) {
frenzyXspeed = 0;
frenzyYspeed = 0;
}
}
if (falling) {
if (_root.lType == "lava") {
ohNoesBurned++;
}
if (!isLavaLevel) {
_root.frenzy._y = ((spacing / 2) * (frenzyX - frenzyY)) + frenzyHeight;
_root.frenzy._x = spacing * (frenzyX + frenzyY);
frenzyState = "f";
}
if (lType == "lava") {
if (ohNoesBurned > 8) {
frenzyState = "m";
}
if (ohNoesBurned < 8) {
_root.frenzy._y = ((spacing / 2) * (frenzyX - frenzyY)) + frenzyHeight;
_root.frenzy._x = spacing * (frenzyX + frenzyY);
}
}
canControl = false;
if (justFell == false) {
frenzyRespawn = 70;
justFell = true;
if (!isLavaLevel) {
fallS = new Sound();
fallS.attachSound("fall");
fallS.start();
}
}
if (frenzybehind <= center) {
frenzy.swapDepths(-2000);
}
}
if (!dead) {
frenzy.swapDepths((frenzy._y * 1000) + frenzy._x);
}
if (!falling) {
frenzybehind = _root.frenzy._y;
frenzyXspeed = frenzyXspeed * friction;
frenzyYspeed = frenzyYspeed * friction;
_root.frenzy._x = spacing * (frenzyX + frenzyY);
_root.frenzy._y = ((spacing / 2) * (frenzyX - frenzyY)) + frenzyHeight;
if (frenzyHeight <= 0) {
frenzyHeightSpeed = 0;
frenzyHeight = 0;
}
}
frenzyHeight = frenzyHeight + frenzyHeightSpeed;
frenzyHeightSpeed = frenzyHeightSpeed + gravity;
frenzyHeightSpeed = frenzyHeightSpeed * airFriction;
frenzyX = frenzyX + frenzyXspeed;
frenzyY = frenzyY + frenzyYspeed;
}
function controlFrenzy() {
if (Key.isDown(65)) {
keyLEFT = true;
} else if (Key.isDown(97)) {
keyLEFT = true;
} else if (Key.isDown(37)) {
keyLEFT = true;
} else {
keyLEFT = false;
}
if (Key.isDown(83)) {
keyDOWN = true;
} else if (Key.isDown(115)) {
keyDOWN = true;
} else if (Key.isDown(40)) {
keyDOWN = true;
} else {
keyDOWN = false;
}
if (Key.isDown(68)) {
keyRIGHT = true;
} else if (Key.isDown(100)) {
keyRIGHT = true;
} else if (Key.isDown(39)) {
keyRIGHT = true;
} else {
keyRIGHT = false;
}
if (Key.isDown(119)) {
keyUP = true;
} else if (Key.isDown(87)) {
keyUP = true;
} else if (Key.isDown(38)) {
keyUP = true;
} else {
keyUP = false;
}
if (keyUP and keyRIGHT) {
if (reversed) {
frenzyYspeed = frenzyYspeed - (0.8 * frenzyAcc);
dir = 8;
} else {
frenzyYspeed = frenzyYspeed + (0.8 * frenzyAcc);
dir = 4;
}
if (!dead) {
frenzyState = "";
}
} else if (keyUP and keyLEFT) {
if (reversed) {
frenzyXspeed = frenzyXspeed + (0.8 * frenzyAcc);
dir = 6;
} else {
frenzyXspeed = frenzyXspeed - (0.8 * frenzyAcc);
dir = 2;
}
if (!dead) {
frenzyState = "";
}
} else if (keyDOWN and keyRIGHT) {
if (reversed) {
frenzyXspeed = frenzyXspeed - (0.8 * frenzyAcc);
dir = 2;
} else {
frenzyXspeed = frenzyXspeed + (0.8 * frenzyAcc);
dir = 6;
}
if (!dead) {
frenzyState = "";
}
} else if (keyDOWN and keyLEFT) {
if (reversed) {
frenzyXspeed = frenzyXspeed + (0.8 * frenzyAcc);
dir = 2;
} else {
frenzyYspeed = frenzyYspeed - (0.8 * frenzyAcc);
dir = 8;
}
if (!dead) {
frenzyState = "";
}
} else if (keyRIGHT) {
if (reversed) {
frenzyYspeed = frenzyYspeed - (0.5 * frenzyAcc);
frenzyXspeed = frenzyXspeed - (0.5 * frenzyAcc);
dir = 1;
} else {
frenzyYspeed = frenzyYspeed + (0.5 * frenzyAcc);
frenzyXspeed = frenzyXspeed + (0.5 * frenzyAcc);
dir = 5;
}
if (!dead) {
frenzyState = "";
}
} else if (keyLEFT) {
if (reversed) {
frenzyYspeed = frenzyYspeed + (0.5 * frenzyAcc);
frenzyXspeed = frenzyXspeed + (0.5 * frenzyAcc);
dir = 5;
} else {
frenzyXspeed = frenzyXspeed - (0.5 * frenzyAcc);
frenzyYspeed = frenzyYspeed - (0.5 * frenzyAcc);
dir = 1;
}
if (!dead) {
frenzyState = "";
}
} else if (keyUP) {
if (reversed) {
frenzyYspeed = frenzyYspeed - (0.5 * frenzyAcc);
frenzyXspeed = frenzyXspeed + (0.5 * frenzyAcc);
dir = 7;
} else {
frenzyXspeed = frenzyXspeed - (0.5 * frenzyAcc);
frenzyYspeed = frenzyYspeed + (0.5 * frenzyAcc);
dir = 3;
}
if (!dead) {
frenzyState = "";
}
} else if (keyDOWN) {
if (reversed) {
frenzyYspeed = frenzyYspeed + (0.5 * frenzyAcc);
frenzyXspeed = frenzyXspeed - (0.5 * frenzyAcc);
dir = 3;
} else {
frenzyXspeed = frenzyXspeed + (0.5 * frenzyAcc);
frenzyYspeed = frenzyYspeed - (0.5 * frenzyAcc);
dir = 7;
}
if (!dead) {
frenzyState = "";
}
} else if (!dead) {
frenzyState = "i";
}
}
function scorer(muffTscore, scoreLtype, msx1, msy1) {
CCCOMBO++;
if (CCCOMBO > 20) {
CCCOMBO = 20;
}
if (muffTscore == "norm") {
if (scoreLtype == "ice") {
scoreadd = (30 * ((4 * dif) + 1)) * (CCCOMBO * 0.2);
_root.scoreMaker(scoreadd, "black", msx1, msy1);
} else if (scoreLtype == "lava") {
scoreadd = (30 * ((4 * dif) + 1)) * (CCCOMBO * 0.2);
_root.scoreMaker(scoreadd, "white", msx1, msy1);
} else {
scoreadd = (30 * ((4 * dif) + 1)) * (CCCOMBO * 0.2);
_root.scoreMaker(scoreadd, "white", msx1, msy1);
}
} else if (muffTscore == "mar") {
scoreadd = 0 * ((4 * dif) + 1);
_root.scoreMaker(scoreadd, "white", msx1, msy1);
} else if (muffTscore == "silver") {
scoreadd = (30 * ((4 * dif) + 1)) * (CCCOMBO * 0.2);
_root.scoreMaker(scoreadd, "white", msx1, msy1);
} else if (muffTscore == "hot") {
scoreadd = (30 * ((4 * dif) + 1)) * (CCCOMBO * 0.2);
_root.scoreMaker(scoreadd, "white", msx1, msy1);
} else if (muffTscore == "cold") {
scoreadd = (30 * ((4 * dif) + 1)) * (CCCOMBO * 0.2);
_root.scoreMaker(scoreadd, "white", msx1, msy1);
} else if (muffTscore == "gold") {
scoreadd = (30 * ((4 * dif) + 1)) * (CCCOMBO * 0.2);
_root.scoreMaker(scoreadd, "white", msx1, msy1);
scoreSnap = score;
} else if (muffTscore == "falseM") {
scoreadd = 0;
}
score = score + scoreadd;
_root.recalcScore = numberToString(score);
}
function scoreMaker(scoream, colorOfScore, posScorex, posScorey) {
nextScore++;
attachMovie("scoreds", "scored1" + nextScore, (nextScore * 93) + 300);
if (scoream <= 0) {
_root["scored1" + nextScore].scorenowplus = scoream;
} else {
_root["scored1" + nextScore].scorenowplus = "+" + scoream;
}
_root["scored1" + nextScore]._x = posScorex;
_root["scored1" + nextScore]._y = posScorey;
score1.push({clip:"scored1" + nextScore, scoreTimeLeft:15});
}
function sMoved() {
s = score1.length - 1;
while (s >= 0) {
bloap = _root[score1[s].clip];
bloap.swapDepths(((bloap._y + 10) * 1000) + bloap._x);
score1[s].scoreTimeLeft--;
if (score1[s].scoreTimeLeft <= 0) {
bloap.removeMovieClip();
score1.splice(s, 1);
}
bloap._xscale = bloap._xscale + 10;
bloap._yscale = bloap._yscale + 10;
bloap._alpha = bloap._alpha - 6.66;
s--;
}
}
function attachDecal(clip, posx, posy, level) {
bglevelses = bglevelses + 3;
attachMovie("decal", "decal" + nextDecal, bglevelses);
_root["decal" + nextDecal]._x = posx;
_root["decal" + nextDecal]._y = posy;
_root["decal" + nextDecal].gotoAndStop(clip);
decals.push({clip:"decal" + nextDecal});
nextDecal++;
}
function decalRemove() {
if (removeAllClips) {
nextDecal = 0;
pCLIP.swapDepths(51);
pCLIP.removeMovieClip();
d = decals.length - 1;
while (d >= 0) {
decal = _root[decals[d].clip];
decal.swapDepths(50);
decal.removeMovieClip();
decals.splice(d, 1);
d--;
}
}
}
function makeMuffin() {
if (spawnedGold == false) {
if (uniTime >= nextMuffinTime) {
mufRand = Math.random();
if (lType == "metal") {
if (Math.random() < 0.14) {
mType = "norm";
} else {
mType = "falseM";
}
}
if (lType == "grass") {
mType = "norm";
} else if (lType == "dirt") {
if (Math.random() < 0.8) {
mType = "norm";
} else {
mType = "mar";
}
} else if (lType == "build") {
if (Math.random() < 0.33) {
mType = "silver";
} else {
mType = "norm";
}
} else if (lType == "ice") {
if (Math.random() < 0.7) {
mType = "hot";
} else {
mType = "cold";
}
} else if (lType == "lava") {
if (Math.random() < 0.25) {
mType = "hot";
} else {
mType = "cold";
}
}
attachMovie("muffin", "muffin" + nextMuffin, nextMuffin);
muffinX = (200 * Math.random()) + 245;
muffinY = (200 * Math.random()) - 169;
_root["muffin" + nextMuffin]._x = spacing * (muffinX + muffinY);
_root["muffin" + nextMuffin]._y = (spacing / 2) * (muffinX - muffinY);
_root["muffin" + nextMuffin].swapDepths((_root["muffin" + nextMuffin]._y * 1000) + _root["muffin" + nextMuffin]._x);
muffins.push({clip:"muffin" + nextMuffin, muffinX:muffinX, muffinY:muffinY, muffinTime:0, muffinRemove:500, mType:mType});
nextMuffin++;
if (dif == 1) {
nextMuffinTime = (uniTime + 0.5) + (Math.random() * 1.5);
} else if (dif == 2) {
nextMuffinTime = (uniTime + 0.5) + (Math.random() * 1);
} else if (dif == 3) {
nextMuffinTime = (uniTime + 0.5) + (Math.random() * 0.5);
} else if (dif == 4) {
nextMuffinTime = (uniTime + 0.5) + (Math.random() * 0.15);
}
if (lType == "metal") {
nextMuffinTime = uniTime + (Math.random() * 0.2);
}
}
}
}
function testMuffin() {
if (hungerM < 0) {
hungerM = 0;
}
if (hungerM > 100) {
hungerM = 100;
}
_root.muffinCounter = (muffinsGotL + "/") + muffinsLPass;
if (muffinsGotL >= muffinsLPass) {
if (spawnedGold == false) {
mType = "gold";
attachMovie("muffin", "muffin" + nextMuffin, nextMuffin);
muffinX = (200 * Math.random()) + 245;
muffinY = (200 * Math.random()) - 169;
_root["muffin" + nextMuffin]._x = spacing * (muffinX + muffinY);
_root["muffin" + nextMuffin]._y = (spacing / 2) * (muffinX - muffinY);
_root["muffin" + nextMuffin].swapDepths((_root["muffin" + nextMuffin]._y * 1000) + _root["muffin" + nextMuffin]._x);
muffins.push({clip:"muffin" + nextMuffin, muffinX:muffinX, muffinY:muffinY, muffinTime:0, muffinRemove:99999, mType:mType});
nextMuffin++;
spawnedGold = true;
}
}
if (lvlWon == true) {
frenzy.removeMovieClip();
removeAllClips = true;
_root.phrase();
if (lType == "grass") {
gotoAndPlay (1829);
} else if (lType == "dirt") {
gotoAndPlay (2256);
} else if (lType == "build") {
gotoAndPlay (2677);
} else if (lType == "ice") {
gotoAndPlay (3121);
} else if (lType == "lava") {
gotoAndPlay (3534);
} else if (lType == "metal") {
gotoAndPlay (3927);
}
}
p = muffins.length - 1;
while (p >= 0) {
mType1 = muffins[p].mType;
muffin = _root[muffins[p].clip];
muffin.mc.mc.gotoAndStop(mType1);
muffins[p].muffinRemove--;
muffins[p].muffinTime++;
if (distance(muffin, frenzy) < 25) {
if (!dead) {
if (mType1 == "gold") {
lvlWon = true;
}
}
}
if (muffins[p].muffinTime < 200) {
if (distance(muffin, frenzy) < 25) {
if (!dead) {
if (mType1 == "silver") {
} else {
_root.scorer(mType1, lType, muffin._x, muffin._y);
}
if (lType == "metal") {
if (mType1 == "norm") {
makeNMuff(muffin._x, muffin._y, muffin._level, "norm", "eat");
muffins[p].muffinRemove = 0;
muffinsGotL++;
if (dif == 1) {
hungerM = hungerM - 10;
} else if (dif == 2) {
hungerM = hungerM - 8;
} else if (dif == 3) {
hungerM = hungerM - 5;
} else if (dif == 4) {
hungerM = hungerM - 4;
}
}
if (mType1 == "falseM") {
makeNMuff(muffin._x, muffin._y, muffin._level, "falseM", "eat");
muffins[p].muffinRemove = 0;
}
} else if (lType == "grass") {
if (mType1 == "norm") {
muffinsGotL++;
if (dif == 1) {
hungerM = hungerM - 10;
} else if (dif == 2) {
hungerM = hungerM - 8;
} else if (dif == 3) {
hungerM = hungerM - 5;
} else if (dif == 4) {
hungerM = hungerM - 4;
}
makeNMuff(muffin._x, muffin._y, muffin._level, "norm", "eat");
muffins[p].muffinRemove = 0;
}
} else if (lType == "dirt") {
if (mType1 == "norm") {
muffinsGotL++;
if (dif == 1) {
hungerM = hungerM - 10;
} else if (dif == 2) {
hungerM = hungerM - 6;
} else if (dif == 3) {
hungerM = hungerM - 4;
} else if (dif == 4) {
hungerM = hungerM - 4;
}
makeNMuff(muffin._x, muffin._y, muffin._level, "norm", "eat");
muffins[p].muffinRemove = 0;
} else if (mType1 == "mar") {
makeNMuff(muffin._x, muffin._y, muffin._level, "dust", "eat");
muffins[p].muffinRemove = 0;
if (invincible == 0) {
reversedT = 60;
}
}
} else if (lType == "ice") {
muffinsGotL++;
if (mType1 == "norm") {
makeNMuff(muffin._x, muffin._y, muffin._level, "norm", "eat");
muffins[p].muffinRemove = 0;
} else if (mType1 == "cold") {
if (dif == 1) {
hungerM = hungerM + 3;
} else if (dif == 2) {
hungerM = hungerM + 4;
} else if (dif == 3) {
hungerM = hungerM + 5;
} else if (dif == 4) {
hungerM = hungerM + 6;
}
makeNMuff(muffin._x, muffin._y, muffin._level, "cold", "eat");
muffins[p].muffinRemove = 0;
} else if (mType1 == "hot") {
if (dif == 1) {
hungerM = hungerM - 10;
} else if (dif == 2) {
hungerM = hungerM - 6;
} else if (dif == 3) {
hungerM = hungerM - 4;
} else if (dif == 4) {
hungerM = hungerM - 3;
}
makeNMuff(muffin._x, muffin._y, muffin._level, "hot", "eat");
muffins[p].muffinRemove = 0;
}
} else if (lType == "build") {
if (mType1 == "norm") {
muffinsGotL++;
muffins[p].muffinRemove = 0;
makeNMuff(muffin._x, muffin._y, muffin._level, "norm", "eat");
if (dif == 1) {
hungerM = hungerM - 6;
} else if (dif == 2) {
hungerM = hungerM - 4;
} else if (dif == 3) {
hungerM = hungerM - 3;
} else if (dif == 4) {
hungerM = hungerM - 2;
}
} else if (mType1 == "silver") {
if (invincible == 0) {
frenzyRespawn = 50;
dead = true;
_root.frenzyMine();
_root.scorer(mType1, lType, muffin._x, muffin._y);
attachMovie("lightning", "ning", 999932 + Math.round(Math.random() * 10));
ning._x = frenzy._x;
ning._y = frenzy._y;
ningTime = 35;
muffins[p].muffinRemove = 0;
} else {
attachMovie("lightning", "ning", 999932 + Math.round(Math.random() * 10));
ning._x = frenzy._x;
ning._y = frenzy._y;
ningTime = 35;
muffins[p].muffinRemove = 0;
}
}
} else if (lType == "lava") {
muffinsGotL++;
muffins[p].muffinRemove = 0;
if (mType1 == "norm") {
makeNMuff(muffin._x, muffin._y, muffin._level, "norm", "eat");
} else if (mType1 == "cold") {
makeNMuff(muffin._x, muffin._y, muffin._level, "cold", "eat");
if (dif == 1) {
hungerM = hungerM + 10;
} else if (dif == 2) {
hungerM = hungerM + 8;
} else if (dif == 3) {
hungerM = hungerM + 5;
} else if (dif == 4) {
hungerM = hungerM + 4;
}
} else if (mType1 == "hot") {
makeNMuff(muffin._x, muffin._y, muffin._level, "hot", "eat");
if (dif == 1) {
hungerM = hungerM - 10;
} else if (dif == 2) {
hungerM = hungerM - 8;
} else if (dif == 3) {
hungerM = hungerM - 5;
} else if (dif == 4) {
hungerM = hungerM - 4;
}
}
}
}
}
}
if (mType1 != "gold") {
if (checkColision(muffin, 40)) {
muffins[p].muffinRemove = 0;
}
}
if (mType1 != "gold") {
if (muffins[p].muffinTime == 200) {
flapserg = mType1;
if (mType1 != "mar") {
makeNMuff(muffin._x, muffin._y, muffin._level, flapserg, "fail");
muffins[p].muffinRemove = 0;
} else {
makeNMuff(muffin._x, muffin._y, muffin._level, "dust", "fail");
muffins[p].muffinRemove = 0;
}
}
}
if (spawnedGold == true) {
if (mType1 != "gold") {
flapserg = mType1;
makeNMuff(muffin._x, muffin._y, muffin._level, flapserg, "fail");
muffins[p].muffinRemove = 0;
}
}
p--;
}
}
function makeNMuff(xfm, yfm, levelfm, typem, typef) {
if (typem == "norm") {
if (typef == "eat") {
attachMovie("muffinyum", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:13});
nextDMuffin++;
} else if (typef == "fail") {
attachMovie("muffin fail", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:9});
nextDMuffin++;
}
}
if (typem == "dust") {
if (typef == "eat") {
attachMovie("mirmuf", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm;
_root["yeat" + nextDMuffin]._width = 110.7;
_root["yeat" + nextDMuffin]._height = 80.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:48});
nextDMuffin++;
} else if (typef == "fail") {
attachMovie("greenfail", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:55});
nextDMuffin++;
}
} else if (typem == "silver") {
if (typef == "fail") {
attachMovie("silverfail", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:14});
nextDMuffin++;
}
} else if (typem == "cold") {
if (typef == "eat") {
attachMovie("coldeatmuff", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm - 7;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:9});
nextDMuffin++;
} else if (typef == "fail") {
attachMovie("coldmuf2", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm - 7;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:33});
nextDMuffin++;
}
} else if (typem == "hot") {
if (typef == "eat") {
attachMovie("hoteatmuff", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm - 7;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:11});
nextDMuffin++;
} else if (typef == "fail") {
attachMovie("hotmuf2", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm - 7;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:18});
nextDMuffin++;
}
} else if (typem == "falseM") {
if (typef == "eat") {
attachMovie("FM", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm - 7;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:11});
nextDMuffin++;
} else if (typef == "fail") {
attachMovie("muffin fail", "yeat" + nextDMuffin, levelfm);
_root["yeat" + nextDMuffin]._x = xfm;
_root["yeat" + nextDMuffin]._y = yfm;
_root["yeat" + nextDMuffin]._width = 22.1;
_root["yeat" + nextDMuffin]._height = 20.4;
dmuffins.push({clip:"yeat" + nextDMuffin, dmufrem:9});
nextDMuffin++;
}
}
yeaters = _root["yeat" + nextDMuffin];
yeaters.swapDepths(((yeaters._y + 20) * 1000) + yeaters._x);
}
function removeNMuff() {
e = dmuffins.length - 1;
while (e >= 0) {
dmuffin = _root[dmuffins[e].clip];
dmuffin.swapDepths(((dmuffin._y + 20) * 1000) + dmuffin._x);
dmufrem = dmuffins[e].dmufrem;
dmuffins[e].dmufrem = dmuffins[e].dmufrem - 1;
if ((dmufrem <= 0) or removeAllClips) {
dmuffin.removeMovieClip();
dmuffins.splice(e, 1);
}
e--;
}
p = muffins.length - 1;
while (p >= 0) {
mType1 = muffins[p].mType;
muffin = _root[muffins[p].clip];
muffin.mc.mc.gotoAndStop(mType1);
if (removeAllClips) {
muffin.removeMovieClip();
muffins.splice(p, 1);
}
if ((muffins[p].muffinRemove <= 0) or reset) {
muffin.removeMovieClip();
muffins.splice(p, 1);
}
p--;
}
}
function newBlock() {
if (spawnedGold == false) {
randomBlockNumber = Math.random();
if (uniTime > blockChance) {
attachMovie("block", "block" + nextBlock, (nextBlock * 2) + 200);
if (Math.random() < blockontopc) {
if (frenzyY >= yLow) {
if (frenzyY <= yHigh) {
if (frenzyX >= xLow) {
if (frenzyX <= xHigh) {
blockX = frenzyX;
blockY = frenzyY;
}
}
}
}
} else {
blockX = (195 * Math.random()) + 250;
blockY = (195 * Math.random()) - 164;
}
_root["block" + nextBlock]._x = spacing * (blockX + blockY);
_root["block" + nextBlock]._y = (spacing / 2) * (blockX - blockY);
blocks.push({clip:"block" + nextBlock, blockremove:0, blockx:blockX, blocky:blockY});
nextBlock++;
if (dif == 1) {
blockChance = (uniTime + 2) + (Math.random() * 1.5);
} else if (dif == 2) {
blockChance = (uniTime + 1) + (Math.random() * 1);
} else if (dif == 3) {
blockChance = (uniTime + 0.5) + (Math.random() * 0.9);
} else if (dif == 4) {
blockChance = uniTime + (Math.random() * 0.7);
}
}
}
}
function loopBlocks() {
b = blocks.length - 1;
while (b >= 0) {
blockx = blocks[b].blockx;
blocky = blocks[b].blockx;
block = _root[blocks[b].clip];
block.swapDepths(((block._y + 20) * 1000) + block._x);
block[b].leveled = ((block._y - 100) * 1000) + block._x;
blocks[b].blockremove++;
if (blocks[b].blockremove >= 33) {
if (blocks[b].blockremove <= 34) {
_root.attachDecal("block" + lType, block._x, block._y, block[b].leveled);
}
}
if (blocks[b].blockremove >= 29) {
if (blocks[b].blockremove <= 31) {
if (invincible == 0) {
if (distance(frenzy, block) <= 40) {
if (!dead) {
if (!removeAllClips) {
frenzy.gotoAndStop("squash");
canControl = false;
blockDead = true;
dead = true;
frenzyRespawn = 30;
_root.removeHealth();
}
}
}
}
}
}
if (removeAllClips) {
block.removeMovieClip();
blocks.splice(b, 1);
}
if (blocks[b].blockremove == 45) {
block.removeMovieClip();
blocks.splice(b, 1);
}
b--;
}
}
function removeHealth() {
if (lType == "lava") {
if (dif == 1) {
hungerM = hungerM - 10;
} else if (dif == 2) {
hungerM = hungerM - 13;
} else if (dif == 3) {
hungerM = hungerM - 16;
} else if (dif == 4) {
hungerM = hungerM - 18;
}
} else if (dif == 1) {
hungerM = hungerM + 10;
} else if (dif == 2) {
hungerM = hungerM + 13;
} else if (dif == 3) {
hungerM = hungerM + 16;
} else if (dif == 4) {
hungerM = hungerM + 22;
}
}
function newMine() {
if (spawnedGold == false) {
if (uniTime > nextMineTime) {
attachMovie("mine", "mine" + nextMine, nextMine + 101);
mX = (200 * Math.random()) + 245;
mY = (200 * Math.random()) - 169;
_root["mine" + nextMine]._x = spacing * (mX + mY);
_root["mine" + nextMine]._y = ((spacing / 2) * (mX - mY)) - 16;
armtimed = 32 + Math.round(Math.random() * 60);
mines.push({clip:"mine" + nextMine, a:armtimed, mineX:mX, mineY:mY, mineExpire:300, e:false, exploded:false, mineRemove:800, mineSafe:false, mineremoveOnce:false});
nextMine++;
if (dif == 1) {
nextMineTime = (uniTime + 3) + (Math.random() * 7);
} else if (dif == 2) {
nextMineTime = (uniTime + 2) + (Math.random() * 4);
} else if (dif == 3) {
nextMineTime = (uniTime + 2) + (Math.random() * 3);
} else if (dif == 4) {
nextMineTime = (uniTime + 2) + (Math.random() * 2);
}
}
if (nextMine >= 30) {
nextMine = 0;
}
}
}
function mineDetect() {
m = mines.length - 1;
while (m >= 0) {
mine = _root[mines[m].clip];
mine.swapDepths((mine._y * 1000) + mine._x);
mines[m].leveled = ((mine._y - 20) * 1000) + mine._x;
mines[m].a = mines[m].a - 1;
mines[m].mineExpire = mines[m].mineExpire - 1;
mines[m].mineRemove = mines[m].mineRemove - 1;
if (mines[m].a == 0) {
mine.gotoAndStop("armed");
mines[m].e = true;
}
if (distance(mine, frenzy) <= 40) {
if (mines[m].e == true) {
if (mines[m].exploded == false) {
if (!falling) {
if (!dead) {
if (!removeAllClips) {
if (invincible >= 1) {
mine.gotoAndStop("explode");
_root.attachDecal("mine" + lType, mine._x, mine._y, mines[m].leveled);
mines[m].mineRemove = 29;
mines[m].exploded = eval (true)();
} else {
mine.gotoAndStop("explode");
mines[m].mineRemove = 29;
mines[m].exploded = eval (true)();
_root.attachDecal("mine" + lType, mine._x, mine._y, mines[m].leveled);
_root.frenzyMine();
frenzyRespawn = 50;
_root.removeHealth();
}
}
}
}
}
}
}
if (mines[m].mineExpire == 0) {
if (mines[m].exploded == false) {
if (mines[m].e == true) {
mine.gotoAndStop("out");
mines[m].mineRemove = 60;
mines[m].e = false;
}
}
}
if (removeAllClips) {
mines[m].mineRemove = 0;
}
if (checkColision(mine, 40)) {
if (mines[m].exploded == false) {
if (mines[m].mineRemove > 60) {
mine.gotoAndStop("explode");
_root.attachDecal("mine" + lType, mine._x, mine._y, mines[m].leveled);
mines[m].exploded = eval (true)();
mines[m].mineRemove = 29;
mines[m].exploded = eval (true)();
}
}
}
if ((mines[m].mineRemove <= 0) or reset) {
mine.removeMovieClip();
mines.splice(m, 1);
}
if (mType1 == "gold") {
mine.removeMovieClip();
mines.splice(m, 1);
}
m--;
}
s = score1.length - 1;
while (s >= 0) {
bloap = _root[score1[s].clip];
if (removeAllClips) {
bloap.removeMovieClip();
score1.splice(s, 1);
}
s--;
}
}
function phrase() {
randomPhrase = Math.random();
if (randomPhrase < 0.1) {
topwinPhrase = "Congradulations!";
winPhrase = ("You have beaten level " + frenzyLevel) + "!!!";
} else if (randomPhrase < 0.2) {
topwinPhrase = "Good Job!";
winPhrase = ("You have just compleated " + frenzyLevel) + "!!!";
} else if (randomPhrase < 0.3) {
topwinPhrase = "WOW!!!";
winPhrase = ("Was level " + frenzyLevel) + " too easy for you?!";
} else if (randomPhrase < 0.4) {
topwinPhrase = "Skilled";
winPhrase = ("I hope you can beat level " + (frenzyLevel + 1)) + " like you just beat that last one";
} else if (randomPhrase < 0.5) {
topwinPhrase = "Amazing!";
winPhrase = ("You just smoked level " + frenzyLevel) + "!!!";
} else if (randomPhrase < 0.6) {
topwinPhrase = "Hard-Core!";
winPhrase = ("You OWNED level " + frenzyLevel) + "!!!";
} else if (randomPhrase < 0.7) {
topwinPhrase = "Congradulations!";
winPhrase = ("You have beaten level " + frenzyLevel) + "!!!";
} else if (randomPhrase < 0.8) {
topwinPhrase = "Good Job!";
winPhrase = ("You sailed through level " + frenzyLevel) + "!!!";
} else if (randomPhrase < 1) {
topwinPhrase = "Crazy!!!";
winPhrase = ("You just beat level " + frenzyLevel) + "!!!";
}
}
function backgroundChanger() {
attachMovie("fg", "fg", 700000);
bbg.gotoAndStop(lType);
bg.gotoAndStop(lType);
fg.gotoAndStop(lType);
bbg.swapDepths(-9999999);
bg.swapDepths(-1999);
fg.swapDepths(999999);
}
function bgRemover() {
if (removeAllClips) {
bbg.swapDepths(50);
bg.swapDepths(51);
bbg.removeMovieClip();
bg.removeMovieClip();
fg.removeMovieClip();
}
}
function restarted() {
if (restartNow == true) {
frenzy.swapDepths(50);
frenzy.removeMovieClip();
removeAllClips = true;
gamePaused = false;
removePause++;
pCLIP.swapDepths(50);
pCLIP.removeMovieClip();
if (removePause >= 2) {
_root.lives--;
_root.thisLevel--;
if (lives <= 0) {
gotoAndStop ("gameO");
}
if (lType == "grass") {
gotoAndPlay (1464);
} else if (lType == "dirt") {
gotoAndPlay (1829);
} else if (lType == "build") {
gotoAndPlay (2256);
} else if (lType == "ice") {
gotoAndPlay (2677);
} else if (lType == "lava") {
gotoAndPlay (3121);
} else if (lType == "metal") {
gotoAndPlay (3534);
}
}
if (!_root.allSoundMuted) {
_root.globalVolume.setVolume(100);
}
}
}
function menued() {
if (menuNow == true) {
frenzy.removeMovieClip();
removeAllClips = true;
gamePaused = false;
removePause++;
pCLIP.swapDepths(50);
pCLIP.removeMovieClip();
if (removePause >= 2) {
stopAllSounds();
gotoAndStop (182);
pCLIP.swapDepths(50);
pCLIP.removeMovieClip();
}
}
}
function gameRun() {
_root.pauseMachine();
_root.menued();
_root.restarted();
_root.tinues = lives - 1;
if (gamePaused == false) {
_root.testMuffin();
if (secondStart <= 0) {
_root.makeMuffin();
_root.newBlock();
_root.newMine();
} else {
secondStart--;
}
_root.levelTime();
_root.respawn();
_root.mineDetect();
_root.rotateFrenzy();
_root.frenzyFall();
_root.moveFrenzy();
_root.removeNMuff();
_root.loopBlocks();
_root.decalRemove();
}
}
function levelTimeStart(seconds) {
if (_root.lType == "ice") {
hungerM = 0;
hungerMpluser = 0.07;
} else if (_root.lType == "lava") {
hungerM = 70;
hungerMpluser = -0.09;
} else {
hungerM = 0;
hungerMpluser = 0.1;
}
if ((_root.lType == "ice") or (_root.lType == "lava")) {
_root.hud.merc._xscale = 50;
} else {
_root.hud.hungy.hungryMe._xscale = 100 - hungerM;
}
}
function levelTime() {
if (mType1 != "gold") {
scorelevelthru = true;
if (_root.lType == "ice") {
hungerMpluser = hungerMpluser + (2E-5 * (dif * 2));
} else if (_root.lType == "lava") {
hungerMpluser = hungerMpluser - (2E-5 * (dif * 2));
} else if (_root.lType == "grass") {
hungerMpluser = hungerMpluser + (2E-5 * (dif * 2));
} else if (_root.lType == "dirt") {
hungerMpluser = hungerMpluser + (2E-5 * (dif * 2));
} else if (_root.lType == "build") {
hungerMpluser = hungerMpluser + (2E-5 * (dif * 2));
} else if (_root.lType == "metal") {
hungerMpluser = hungerMpluser + (2E-5 * (dif * 2));
}
hungerM = hungerM + hungerMpluser;
if ((_root.lType == "ice") or (_root.lType == "lava")) {
_root.hud.merc._xscale = 100 - hungerM;
} else {
_root.hud.hungy.hungryMe._xscale = 100 - hungerM;
}
if (_root.lType == "ice") {
if (hungerM >= 100) {
frenzy.removeMovieClip();
removeAllClips = true;
gotoAndStop ("frozed");
if (lives == 0) {
gotoAndStop ("gameO");
}
}
} else if (_root.lType == "lava") {
if (hungerM <= 5) {
frenzy.removeMovieClip();
removeAllClips = true;
gotoAndStop ("burned");
if (lives == 0) {
gotoAndStop ("gameO");
}
}
} else if (hungerM >= 100) {
removeAllClips = true;
frenzy.removeMovieClip();
if (lives == 0) {
gotoAndStop ("gameO");
} else {
gotoAndStop ("time");
}
}
}
}
function initLevel() {
score = scoreSnap;
_root.recalcScore = numberToString(score);
mType1 = "norm";
reversedT = 0;
reversed = false;
blockontopc = dif / 8;
uniTime = 0;
removeAllClips = false;
blockChance = 0;
lvlWon = false;
spawnedGold = false;
gamePaused = false;
canPause = true;
restartNow = false;
menuNow = false;
removePause = 0;
mineremoveOnce = false;
if (_root.lType == "grass") {
totalTimed = 50;
_root.levelTimeStart(totalTimed);
friction = 0.8;
if (_root.dif == 1) {
muffinsLPass = 10;
} else if (_root.dif == 2) {
muffinsLPass = 15;
} else if (_root.dif == 3) {
muffinsLPass = 15;
} else if (_root.dif == 4) {
muffinsLPass = 15;
} else if ((_root.dif = 5)) {
muffinsLPass = 30;
}
frenzyTopSpeed = 2.5;
} else if (_root.lType == "ice") {
friction = 0.96;
totalTimed = 50;
_root.levelTimeStart(totalTimed);
if (_root.dif == 1) {
muffinsLPass = 10;
} else if (_root.dif == 2) {
muffinsLPass = 15;
} else if (_root.dif == 3) {
muffinsLPass = 17;
} else if (_root.dif == 4) {
muffinsLPass = 20;
} else if ((_root.dif = 5)) {
muffinsLPass = 30;
}
frenzyTopSpeed = 2;
} else if (_root.lType == "build") {
totalTimed = 50;
_root.levelTimeStart(totalTimed);
friction = 0.8;
if (_root.dif == 1) {
muffinsLPass = 10;
} else if (_root.dif == 2) {
muffinsLPass = 15;
} else if (_root.dif == 3) {
muffinsLPass = 15;
} else if (_root.dif == 4) {
muffinsLPass = 20;
} else if ((_root.dif = 5)) {
muffinsLPass = 25;
}
frenzyTopSpeed = 2.5;
} else if (_root.lType == "dirt") {
totalTimed = 50;
_root.levelTimeStart(totalTimed);
friction = 0.8;
if (_root.dif == 1) {
muffinsLPass = 10;
} else if (_root.dif == 2) {
muffinsLPass = 15;
} else if (_root.dif == 3) {
muffinsLPass = 15;
} else if (_root.dif == 4) {
muffinsLPass = 20;
} else if ((_root.dif = 5)) {
muffinsLPass = 30;
}
frenzyTopSpeed = 2.5;
} else if (_root.lType == "lava") {
totalTimed = 50;
_root.levelTimeStart(totalTimed);
friction = 0.8;
if (_root.dif == 1) {
muffinsLPass = 10;
} else if (_root.dif == 2) {
muffinsLPass = 15;
} else if (_root.dif == 3) {
muffinsLPass = 18;
} else if (_root.dif == 4) {
muffinsLPass = 25;
} else if ((_root.dif = 5)) {
muffinsLPass = 35;
}
frenzyTopSpeed = 2.5;
} else if (_root.lType == "metal") {
_root.levelTimeStart(totalTimed);
friction = 0.8;
if (_root.dif == 1) {
muffinsLPass = 10;
} else if (_root.dif == 2) {
muffinsLPass = 15;
} else if (_root.dif == 3) {
muffinsLPass = 15;
} else if (_root.dif == 4) {
muffinsLPass = 15;
} else if ((_root.dif = 5)) {
muffinsLPass = 20;
}
frenzyTopSpeed = 2.5;
}
muffins = [];
nextMuffin = 0;
nextMuffinTime = 0;
dmuffins = [];
nextDMuffin = 0;
blocks = [];
nextBlock = 0;
nextBlockTime = 0;
score1 = [];
nextScore = 0;
mines = [];
nextMine = 0;
decals = [];
nextDecal = 0;
nextMineTime = 0;
muffinsGotL = 0;
reset = false;
frenzyAcc = frenzyTopSpeed * ((1 - friction) * 5);
bglevelses = -100;
secondStart = 90;
}
function initGame() {
_root.recalcScore = 0;
scoreSnap = 0;
CCCOMBO = 1;
canPause = true;
scorelevelthru = false;
score = 0;
uniTime = 0;
thisLevel = 0;
airFriction = 0.93;
center = 186;
yHigh = 80;
yLow = -189;
xHigh = 457;
xLow = 195;
spacing = 1;
gravity = 2.5;
muffinsInGameTotal = 0;
firstSpawn = true;
frenzyLevel = 1;
}
function instuctionss() {
thisLevel++;
if (thisLevel == 1) {
_root.lType = "grass";
} else if (thisLevel == 2) {
_root.lType = "dirt";
} else if (thisLevel == 3) {
_root.lType = "build";
} else if (thisLevel == 4) {
_root.lType = "ice";
} else if (thisLevel == 5) {
_root.lType = "lava";
} else if (thisLevel == 6) {
_root.lType = "metal";
}
if (_root.lType == "grass") {
linit.gotoAndStop;
if (_root.dif == 1) {
muffinsLPass = 10;
} else if (_root.dif == 2) {
muffinsLPass = 15;
} else if (_root.dif == 3) {
muffinsLPass = 20;
} else if (_root.dif == 4) {
muffinsLPass = 25;
} else if (_root.dif == 5) {
muffinsLPass = 30;
}
objectiveT = ("Collect " + muffinsLPass) + " muffins!!!";
} else if (_root.lType == "ice") {
if (_root.dif == 1) {
muffinsLPass = 10;
} else if (_root.dif == 2) {
muffinsLPass = 15;
} else if (_root.dif == 3) {
muffinsLPass = 20;
} else if (_root.dif == 4) {
muffinsLPass = 30;
} else if (_root.dif == 5) {
muffinsLPass = 40;
}
objectiveT = ("Collect " + muffinsLPass) + " muffins!!!";
} else if (_root.lType == "build") {
if (_root.dif == 1) {
muffinsLPass = 20;
} else if (_root.dif == 2) {
muffinsLPass = 35;
} else if (_root.dif == 3) {
muffinsLPass = 30;
} else if (_root.dif == 4) {
muffinsLPass = 40;
} else if (_root.dif == 5) {
muffinsLPass = 50;
}
objectiveT = ("Collect " + muffinsLPass) + " muffins!!!";
} else if (_root.lType == "dirt") {
if (_root.dif == 1) {
muffinsLPass = 20;
} else if (_root.dif == 2) {
muffinsLPass = 45;
} else if (_root.dif == 3) {
muffinsLPass = 45;
} else if (_root.dif == 4) {
muffinsLPass = 50;
} else if (_root.dif == 5) {
muffinsLPass = 60;
}
objectiveT = ("Collect " + muffinsLPass) + " muffins!!!";
} else if (_root.lType == "lava") {
if (_root.dif == 1) {
muffinsLPass = 15;
} else if (_root.dif == 2) {
muffinsLPass = 30;
} else if (_root.dif == 3) {
muffinsLPass = 40;
} else if (_root.dif == 4) {
muffinsLPass = 60;
} else if (_root.dif == 5) {
muffinsLPass = 70;
}
objectiveT = ("Collect " + muffinsLPass) + " muffins!!!";
} else if (_root.lType == "metal") {
if (_root.dif == 1) {
muffinsLPass = 40;
} else if (_root.dif == 2) {
muffinsLPass = 50;
} else if (_root.dif == 3) {
muffinsLPass = 60;
} else if (_root.dif == 4) {
muffinsLPass = 80;
} else if (_root.dif == 5) {
muffinsLPass = 80;
}
objectiveT = ("Collect " + muffinsLPass) + " golden muffins!!!";
}
}
function pauseMachine() {
if ((Key.isDown(80) or Key.isDown(13)) or pauseBam) {
if (canPause == true) {
canPause = false;
pauseBam = false;
if (gamePaused == true) {
gamePaused = false;
pCLIP.swapDepths(233);
pCLIP._x = -500;
restartes._x = -500;
menues._x = -500;
if (!_root.allSoundMuted) {
_root.globalVolume.setVolume(100);
}
} else {
gamePaused = true;
pCLIP.swapDepths(99999998);
pCLIP._x = 275;
restartes._x = 100;
menues._x = 100;
if (!_root.allSoundMuted) {
_root.globalVolume.setVolume(20);
}
}
}
} else {
canPause = true;
}
}
function respawn() {
if (frenzyRespawn < 3000) {
frenzyRespawn--;
}
if (invincible > 0) {
invincible--;
_root.flashing();
}
if (invincible == 0) {
frenzyColor = new Color(frenzy);
if (reversed) {
colorTransform = {rb:60, bb:40, gb:100};
} else {
colorTransform = {rb:0, bb:0, gb:0};
}
frenzyColor.setTransform(colorTransform);
}
if (frenzyRespawn == 0) {
_root.initFrenzy();
frenzy.removeMovieClip();
}
}
function flashing() {
alphaTimer--;
if ((alphaTimer <= 0) and frenzyIsWhite) {
frenzyColor = new Color(frenzy);
colorTransform = {rb:0, bb:0, gb:0};
frenzyColor.setTransform(colorTransform);
frenzyIsWhite = false;
alphaTimer = 3;
}
if ((alphaTimer <= 0) and (!frenzyIsWhite)) {
frenzyColor = new Color(frenzy);
colorTransform = {rb:255, bb:255, gb:255};
frenzyColor.setTransform(colorTransform);
frenzyIsWhite = true;
alphaTimer = 3;
}
}
Instance of Symbol 1228 MovieClip in Frame 187
onClipEvent (enterFrame) {
_root.bgRemover();
if (_root.scorelevelthru == true) {
_root.sMoved();
}
}
Instance of Symbol 1230 MovieClip in Frame 187
onClipEvent (enterFrame) {
_root.uniTime = _root.uniTime + 0.0333333333333333;
}
Frame 193
frenzy.swapDepths(50);
frenzy.removeMovieClip();
Instance of Symbol 1247 MovieClip in Frame 193
onClipEvent (load) {
_root.backgroundChanger();
_root.levelTimeStart();
}
onClipEvent (enterFrame) {
_root.testMuffin();
_root.loopBlocks();
_root.mineDetect();
}
Instance of Symbol 1364 MovieClip "linit" in Frame 204
onClipEvent (enterFrame) {
numtenthing = _root.thisLevel * 10;
this.gotoAndStop(numtenthing);
}
Instance of Symbol 1366 MovieClip in Frame 204
onClipEvent (load) {
_root.instuctionss();
}
Frame 210
stop();
this.bubbleboxGameID = 1033;
scoreMc = this;
sendBubbleBoxScore = function (gameID) {
userData = new LoadVars();
userData.name = _root.bubblebox_name;
userData.score = _root.score;
userData.game = bubbleboxGameID;
var _local2 = new LoadVars();
_local2.onLoad = function (success) {
if (success) {
scoreMc.gotoAndStop("success");
} else {
scoreMc.gotoAndStop("tryagain");
}
};
userData.sendAndLoad("http://www.bubblebox.com/scripts/insertscore.php", _local2, "POST");
};
this.send_btn.onRelease = function () {
if ((_root.bubblebox_name != "YOUR NAME") && (_root.bubblebox_name.length > 0)) {
sendBubbleBoxScore(this._parent.bubbleboxGameID);
this._parent.gotoAndStop("saving");
}
};
Selection.setFocus("instertname");
Frame 211
stop();
Frame 212
this.bubblebox_view_score.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1033&subid=viewscores&action=viewscores", "_blank");
};
Frame 213
this.try_again.onRelease = function () {
this._parent.gotoAndStop(1);
};
Frame 215
frenzy.swapDepths(50);
frenzy.removeMovieClip();
Frame 219
frenzy.swapDepths(50);
frenzy.removeMovieClip();
Instance of Symbol 1247 MovieClip in Frame 223
onClipEvent (load) {
frenzyLevel++;
_root.instuctionss();
_root.initLevel();
_root.initFrenzy();
_root.backgroundChanger();
}
onClipEvent (enterFrame) {
_root.gameRun();
_root.removeFrenzy();
_root.sMoved();
}
Instance of Symbol 1605 MovieClip "hud" in Frame 223
onClipEvent (load) {
this.swapDepths(999999995);
}
onClipEvent (enterFrame) {
if (_root.removeAllClips) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Frame 1409
gotoAndPlay (5873);
Instance of Symbol 1228 MovieClip in Frame 1464
onClipEvent (load) {
stopAllSounds();
}
onClipEvent (enterFrame) {
_root.bgRemover();
if (_root.scorelevelthru == true) {
_root.sMoved();
}
}
Frame 1828
gotoAndStop ("runLevel");
Instance of Symbol 1228 MovieClip in Frame 1829
onClipEvent (enterFrame) {
_root.bgRemover();
if (_root.scorelevelthru == true) {
_root.sMoved();
}
}
Frame 2255
gotoAndStop ("runLevel");
Instance of Symbol 1934 MovieClip in Frame 2256
onClipEvent (load) {
_root.bbg.swapDepths(50);
_root.bg.swapDepths(51);
_root.bbg.removeMovieClip();
_root.bg.removeMovieClip();
_root.fg.removeMovieClip();
}
Frame 2676
gotoAndStop ("runLevel");
Instance of Symbol 1228 MovieClip in Frame 2677
onClipEvent (enterFrame) {
_root.bgRemover();
if (_root.scorelevelthru == true) {
_root.sMoved();
}
}
Instance of Symbol 1934 MovieClip in Frame 2677
onClipEvent (load) {
_root.bbg.swapDepths(50);
_root.bg.swapDepths(51);
_root.bbg.removeMovieClip();
_root.bg.removeMovieClip();
_root.fg.removeMovieClip();
}
Frame 3096
gotoAndStop ("runLevel");
Instance of Symbol 1934 MovieClip in Frame 3121
onClipEvent (load) {
_root.bbg.swapDepths(50);
_root.bg.swapDepths(51);
_root.bbg.removeMovieClip();
_root.bg.removeMovieClip();
_root.fg.removeMovieClip();
}
Frame 3533
gotoAndStop ("runLevel");
Instance of Symbol 1934 MovieClip in Frame 3534
onClipEvent (load) {
_root.bbg.swapDepths(50);
_root.bg.swapDepths(51);
_root.bbg.removeMovieClip();
_root.bg.removeMovieClip();
_root.fg.removeMovieClip();
}
Instance of Symbol 6 MovieClip in Frame 3534
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Frame 3534
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Frame 3561
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Frame 3561
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Frame 3926
gotoAndStop ("runLevel");
Instance of Symbol 1934 MovieClip in Frame 3927
onClipEvent (load) {
_root.bbg.swapDepths(50);
_root.bg.swapDepths(51);
_root.bbg.removeMovieClip();
_root.bg.removeMovieClip();
_root.fg.removeMovieClip();
stopAllSounds();
}
Frame 5857
stop();
this.bubbleboxGameID = 1033;
scoreMc = this;
sendBubbleBoxScore = function (gameID) {
userData = new LoadVars();
userData.name = _root.bubblebox_name;
userData.score = _root.score;
userData.game = bubbleboxGameID;
var _local2 = new LoadVars();
_local2.onLoad = function (success) {
if (success) {
scoreMc.gotoAndStop("success");
} else {
scoreMc.gotoAndStop("tryagain");
}
};
userData.sendAndLoad("http://www.bubblebox.com/scripts/insertscore.php", _local2, "POST");
};
this.send_btn.onRelease = function () {
if ((_root.bubblebox_name != "YOUR NAME") && (_root.bubblebox_name.length > 0)) {
sendBubbleBoxScore(this._parent.bubbleboxGameID);
this._parent.gotoAndStop("saving");
}
};
Selection.setFocus("instertname");
stop();
Selection.setFocus("instertname");
stop();
Instance of Symbol 1934 MovieClip in Frame 5857
onClipEvent (load) {
_root.bbg.swapDepths(50);
_root.bg.swapDepths(51);
_root.bbg.removeMovieClip();
_root.bg.removeMovieClip();
_root.fg.removeMovieClip();
stopAllSounds();
}
Frame 5858
stop();
Frame 5859
this.bubblebox_view_score.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1033&subid=viewscores&action=viewscores", "_blank");
};
Frame 5860
this.try_again.onRelease = function () {
this._parent.gotoAndStop(1);
};
Frame 5873
gotoAndPlay (1464);
Instance of Symbol 6 MovieClip in Symbol 69 MovieClip [greenfail] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 106 MovieClip [decal] Frame 1
stop();
Instance of Symbol 6 MovieClip in Symbol 117 MovieClip [GP] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 117 MovieClip [GP] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 120 MovieClip [muffin fail] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 120 MovieClip [muffin fail] Frame 10
stop();
Symbol 148 Button
on (release) {
_root.play();
}
Symbol 149 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
_root.gotoAndStop(2);
}
Symbol 149 MovieClip Frame 2
gotoAndPlay (1);
Symbol 156 Button
on (press) {
if (!_root.allSoundMuted) {
_root.allSoundMuted = true;
_root.globalVolume.setVolume(0);
} else if (_root.allSoundMuted) {
_root.allSoundMuted = false;
if (_root.gamePaused == true) {
_root.globalVolume.setVolume(20);
} else {
_root.globalVolume.setVolume(100);
}
}
}
Instance of Symbol 158 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.allSoundMuted) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Symbol 163 Button
on (release) {
gotoAndPlay (35);
}
Instance of Symbol 6 MovieClip in Symbol 217 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 234 MovieClip Frame 40
stop();
Instance of Symbol 6 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 370 MovieClip Frame 40
stop();
Instance of Symbol 6 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 386 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 420 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 420 MovieClip Frame 40
stop();
Instance of Symbol 6 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 439 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 455 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 456 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 498 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 536 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 546 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 553 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 616 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 616 MovieClip Frame 6
stop();
Symbol 616 MovieClip Frame 7
stop();
Symbol 617 MovieClip [frenzyman] Frame 1
stop();
Instance of Symbol 6 MovieClip in Symbol 631 MovieClip [silverfail] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 642 MovieClip [coldeatmuff] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 673 MovieClip [coldmuf2] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 729 MovieClip [golf fail] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 740 MovieClip [hoteatmuff] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 760 MovieClip [hotmuf2] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 772 MovieClip [lightning] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 772 MovieClip [lightning] Frame 8
_root.ning.removeMovieClip();
Symbol 772 MovieClip [lightning] Frame 35
_root.ning.removeMovieClip();
Instance of Symbol 6 MovieClip in Symbol 774 MovieClip [muffin fail gold] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 774 MovieClip [muffin fail gold] Frame 10
stop();
Instance of Symbol 6 MovieClip in Symbol 778 MovieClip [muffinyum] Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 790 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 1
topy = Math.round((Math.random() * 6) + 1);
lefty = Math.round((Math.random() * 6) + 1);
righty = Math.round((Math.random() * 6) + 1);
top.gotoAndStop(topy);
left.gotoAndStop(lefty);
right.gotoAndStop(righty);
gotoAndStop(_root.lType);
Instance of Symbol 6 MovieClip in Symbol 804 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 814 MovieClip Frame 32
stop();
Instance of Symbol 6 MovieClip in Symbol 829 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 829 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 832 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 862 MovieClip Frame 49
stop();
Symbol 863 MovieClip [mine] Frame 1
stop();
Instance of Symbol 6 MovieClip in Symbol 872 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 874 MovieClip Frame 1
gotoAndStop(_root.mType);
Instance of Symbol 6 MovieClip in Symbol 874 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 874 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Instance of Symbol 6 MovieClip in Symbol 875 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 875 MovieClip Frame 25
stop();
Symbol 876 MovieClip [muffin] Frame 1
stop();
Symbol 880 MovieClip [scoreds] Frame 1
stop();
Instance of Symbol 6 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 890 MovieClip Frame 119
stop();
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Instance of Symbol 892 MovieClip "snow" in Symbol 922 MovieClip [fg] Frame 10
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = 0;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Symbol 926 Button
on (release) {
gotoAndStop (182);
}
Symbol 932 Button
on (release) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1033&subid=intro", "_blank");
}
Symbol 963 MovieClip Frame 1
stop();
Symbol 963 MovieClip Frame 10
stop();
Symbol 966 MovieClip Frame 1
stopAllSounds();
Symbol 1005 Button
on (press) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1033&subid=menu", "_blank");
}
Symbol 1046 MovieClip Frame 80
stop();
Symbol 1058 MovieClip Frame 33
stop();
Symbol 1067 Button
on (press) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1033&subid=credits", "_blank");
}
Symbol 1155 Button
on (release) {
sch = 0;
while (sch <= 10) {
fpscore = _root.stringToNumber(_root.pScore[sch][1]);
trace("fpsscore " + fpscore);
if (score > fpscore) {
psch = 10;
while (psch >= (0 + sch)) {
pScore[psch][1] = pScore[psch - 1][1];
pScore[psch][2] = pScore[psch - 1][2];
psch--;
}
trace(recalcScore);
pScore[sch][1] = _root.recalcScore;
pScore[sch][2] = nameG;
sch = 10;
}
sch++;
}
gotoAndStop ("finalscore");
hscores.data.pScore = pScore;
}
on (keyPress "<Enter>") {
sch = 0;
while (sch <= 10) {
fpscore = _root.stringToNumber(_root.pScore[sch][1]);
trace("fpsscore " + fpscore);
if (score > fpscore) {
psch = 10;
while (psch >= (0 + sch)) {
pScore[psch][1] = pScore[psch - 1][1];
pScore[psch][2] = pScore[psch - 1][2];
psch--;
}
trace(recalcScore);
pScore[sch][1] = _root.recalcScore;
pScore[sch][2] = nameG;
sch = 10;
}
sch++;
}
gotoAndStop ("finalscore");
hscores.data.pScore = pScore;
}
Symbol 1217 MovieClip Frame 1
stop();
Symbol 1221 Button
on (release) {
_root.dif = 2;
_root.lives = 4;
_root.initGame();
_root.lType = "grass";
gotoAndPlay (249);
_root.blockChanceDiff = 0.003;
_root.nextMineRandomTime = 0.4;
stopAllSounds();
}
on (rollOver) {
crazdif.gotoAndStop(3);
}
on (rollOut) {
crazdif.gotoAndStop(1);
}
Symbol 1223 Button
on (release) {
_root.dif = 3;
_root.lives = 4;
_root.initGame();
_root.lType = "grass";
gotoAndPlay (249);
_root.blockChanceDiff = 0.004;
nextMineRandomTime = 0.5;
stopAllSounds();
}
on (rollOver) {
crazdif.gotoAndStop(4);
}
on (rollOut) {
crazdif.gotoAndStop(1);
}
Symbol 1225 Button
on (release) {
_root.dif = 4;
_root.lives = 3;
_root.initGame();
gotoAndPlay (249);
_root.lType = "grass";
_root.blockChanceDiff = 0.006;
_root.nextMineRandomTime = 0.7;
stopAllSounds();
}
on (rollOver) {
crazdif.gotoAndStop(5);
}
on (rollOut) {
crazdif.gotoAndStop(1);
}
Symbol 1239 Button
on (press) {
_root.menuNow = true;
if (!_root.allSoundMuted) {
_root.allSoundMuted = false;
_root.globalVolume.setVolume(100);
}
}
Symbol 1243 Button
on (press) {
_root.pauseBam = true;
}
Symbol 1245 Button
on (press) {
gotoAndStop (182);
}
Symbol 1255 Button
on (press) {
_root.lives--;
_root.thisLevel--;
if (lType == "grass") {
gotoAndPlay (1464);
} else if (lType == "dirt") {
gotoAndPlay (1829);
} else if (lType == "build") {
gotoAndPlay (2256);
} else if (lType == "ice") {
gotoAndPlay (2677);
} else if (lType == "lava") {
gotoAndPlay (3121);
} else if (lType == "metal") {
gotoAndPlay (3534);
}
}
Symbol 1258 Button
on (press) {
stopAllSounds();
gotoAndStop (182);
}
Symbol 1262 Button
on (release) {
_root.lType = "grass";
_root.initLevel();
_root.initFrenzy();
gotoAndStop ("runLevel");
}
Symbol 1271 Button
on (keyPress "<Space>") {
frenzyLevel++;
_root.initLevel();
_root.initFrenzy();
gotoAndStop ("runLevel");
}
Symbol 1314 MovieClip Frame 125
stop();
Symbol 1326 MovieClip Frame 100
stop();
Symbol 1367 Button
on (press) {
stopAllSounds();
gotoAndStop (182);
}
Symbol 1391 Button
on (press) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1033&subid=gameover", "_blank");
}
Symbol 1395 Button
on (release) {
_root.dif = 1;
_root.lives = 5;
_root.initGame();
_root.lType = "grass";
gotoAndPlay (1);
_root.blockChanceDiff = 0.002;
_root.nextMineRandomTime = 0.2;
stopAllSounds();
}
on (rollOver) {
crazdif.gotoAndStop(2);
}
on (rollOut) {
crazdif.gotoAndStop(1);
}
Symbol 1398 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
Symbol 1405 MovieClip Frame 1
stop();
Symbol 1407 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
Symbol 1411 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
Instance of Symbol 6 MovieClip in Symbol 1568 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamePaused == true) {
this._parent.stop();
} else {
this._parent.play();
}
}
Symbol 1571 MovieClip Frame 1
stop();
Symbol 1586 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1033&subid=game", "_blank");
};
Symbol 1605 MovieClip Frame 1
gotoAndStop(_root.lType);
Symbol 1618 Button
on (keyPress "<Space>") {
gotoAndPlay (5873);
}
Symbol 1621 MovieClip Frame 120
stop();
Symbol 1879 Button
on (keyPress "<Space>") {
gotoAndPlay (1588);
}
Symbol 1883 Button
on (keyPress "<Space>") {
gotoAndStop ("runLevel");
}
Symbol 1898 Button
on (keyPress "<Space>") {
gotoAndPlay (2090);
}
Symbol 1932 Button
on (keyPress "<Space>") {
gotoAndPlay (2504);
}
Symbol 1940 Button
on (keyPress "<Space>") {
gotoAndPlay (2932);
}
Symbol 1942 Button
on (keyPress "<Space>") {
gotoAndStop ("runLevel");
}
Symbol 1948 Button
on (keyPress "<Space>") {
gotoAndPlay (3364);
}
Symbol 1954 Button
on (keyPress "<Space>") {
gotoAndPlay (3793);
}
Symbol 1956 Button
on (keyPress "<Space>") {
gotoAndPlay (5857);
}
Symbol 2263 Button
on (press) {
stopAllSounds();
gotoAndStop (182);
}