Frame 2
moviesound = new Sound();
moviesound.attachSound("b.mp3");
moviesound.setVolume(80);
moviesound.start(0, 100);
Mouse.show();
stop();
Frame 3
stop();
Mouse.hide();
boy1.onMouseDown = function () {
if (((hit != true) && (shoot != true)) && (outofrange != true)) {
if (hassnowball == true) {
boy1.checkkey = false;
boy1.gox = 0;
boy1.goy = 0;
boy1.gotoAndStop(4);
dist = Math.sqrt(((crosshairs._x - boy1._x) * (crosshairs._x - boy1._x)) + ((crosshairs._y - boy1._y) * (crosshairs._y - boy1._y)));
steps = dist / 20;
ang = Math.atan((crosshairs._x - boy1._x) / (crosshairs._y - boy1._y));
if (ang < 0) {
xstep = Math.sin(-ang) * 20.5;
ystep = Math.cos(-ang) * -20.5;
} else {
xstep = Math.sin(ang) * 20.5;
ystep = Math.cos(ang) * 20.5;
}
snowball._x = 110;
snowball._y = boy1._y;
hassnowball = false;
snowball.gotoAndStop(1);
shoot = true;
} else if (boy1.checkkey != false) {
pressspace.play();
}
}
};
Instance of Symbol 108 MovieClip "boy1" in Frame 3
onClipEvent (enterFrame) {
if (checkkey != false) {
if (Key.isDown(32)) {
checkkey = false;
gox = 0;
goy = 0;
this.gotoAndStop(5);
} else if (Key.isDown(38) || (Key.isDown(87))) {
checkkey = false;
this.gotoAndStop(7);
gox = 0;
goy = -4;
} else if (Key.isDown(40) || (Key.isDown(83))) {
checkkey = false;
this.gotoAndStop(8);
gox = 0;
goy = 4;
} else if (Key.isDown(39) || (Key.isDown(68))) {
checkkey = false;
this.gotoAndStop(2);
gox = 4;
goy = 0;
} else if (Key.isDown(37) || (Key.isDown(65))) {
checkkey = false;
this.gotoAndStop(3);
gox = -4;
goy = 0;
} else {
this.gotoAndStop(1);
gox = 0;
goy = 0;
}
}
_root.scenery._x = _root.scenery._x - gox;
_root.snowball._x = _root.snowball._x - gox;
_root.snowball1._x = _root.snowball1._x - gox;
_root.snowball2._x = _root.snowball2._x - gox;
if (_root.scenery._x > -20) {
_root.scenery._x = -20;
}
if (_root.scenery._x < _root.scenery.goal) {
_root.play();
}
this._y = this._y + goy;
if (this._y < 220) {
this._y = 220;
}
if (this._y > 450) {
this._y = 450;
}
}
Instance of Symbol 157 MovieClip "crosshairs" in Frame 3
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
if (((this._x > 650) || (this._x < 114)) || (this._y < 160)) {
gotoAndStop (2);
_root.outofrange = true;
} else {
gotoAndStop (1);
_root.outofrange = false;
}
}
Instance of Symbol 159 MovieClip "lifebar" in Frame 3
onClipEvent (enterFrame) {
if (_root.hit == true) {
this._width = this._width - 6;
}
if (this._width < 3) {
_root.gotoAndStop(50);
}
}
Instance of Symbol 121 MovieClip "snowball" in Frame 3
onClipEvent (enterFrame) {
if (_root.shoot == true) {
hidesnowball = false;
x++;
if (x > _root.steps) {
x = 0;
_root.shoot = false;
this.play();
} else {
this._x = this._x + _root.xstep;
this._y = this._y + _root.ystep;
}
} else if (hidesnowball != false) {
this._y = 800;
}
}
Instance of Symbol 121 MovieClip "snowball1" in Frame 3
onClipEvent (enterFrame) {
if (_root.boy1.hitTest(this._x, this._y, false)) {
_root.hit = true;
_root.boy1.gotoAndStop(6);
_root.boy1.checkkey = false;
}
if (shoot == true) {
hidesnowball = false;
x++;
if (x > steps) {
shoot = false;
x = 0;
this.play();
} else {
this._x = this._x - xstep;
this._y = this._y + ystep;
}
} else if (hidesnowball != false) {
this._y = 800;
}
}
Instance of Symbol 121 MovieClip "snowball2" in Frame 3
onClipEvent (enterFrame) {
if (_root.boy1.hitTest(this._x, this._y, false)) {
_root.hit = true;
_root.boy1.gotoAndStop(6);
_root.boy1.checkkey = false;
}
if (shoot == true) {
hidesnowball = false;
x++;
if (x > steps) {
shoot = false;
x = 0;
this.play();
} else {
this._x = this._x - xstep;
this._y = this._y + ystep;
}
} else if (hidesnowball != false) {
this._y = 800;
}
}
Instance of Symbol 121 MovieClip "snowball3" in Frame 3
onClipEvent (enterFrame) {
if (_root.boy1.hitTest(this._x, this._y, false)) {
_root.hit = true;
_root.boy1.gotoAndStop(6);
_root.boy1.checkkey = false;
}
if (shoot == true) {
hidesnowball = false;
x++;
if (x > steps) {
shoot = false;
x = 0;
this.play();
} else {
this._x = this._x - xstep;
this._y = this._y + ystep;
}
} else if (hidesnowball != false) {
this._y = 800;
}
}
Instance of Symbol 121 MovieClip "snowball4" in Frame 3
onClipEvent (enterFrame) {
if (_root.boy1.hitTest(this._x, this._y, false)) {
_root.hit = true;
_root.boy1.gotoAndStop(6);
_root.boy1.checkkey = false;
}
if (shoot == true) {
hidesnowball = false;
x++;
if (x > steps) {
shoot = false;
x = 0;
this.play();
} else {
this._x = this._x - xstep;
this._y = this._y + ystep;
}
} else if (hidesnowball != false) {
this._y = 800;
}
}
Frame 4
snowball1._y = 800;
snowball2._y = 800;
snowball3._y = 800;
stop();
Mouse.hide();
boy1.onMouseDown = function () {
if (((hit != true) && (shoot != true)) && (outofrange != true)) {
if (hassnowball == true) {
boy1.checkkey = false;
boy1.gox = 0;
boy1.goy = 0;
boy1.gotoAndStop(4);
dist = Math.sqrt(((crosshairs._x - boy1._x) * (crosshairs._x - boy1._x)) + ((crosshairs._y - boy1._y) * (crosshairs._y - boy1._y)));
steps = dist / 20;
ang = Math.atan((crosshairs._x - boy1._x) / (crosshairs._y - boy1._y));
if (ang < 0) {
xstep = Math.sin(-ang) * 20.5;
ystep = Math.cos(-ang) * -20.5;
} else {
xstep = Math.sin(ang) * 20.5;
ystep = Math.cos(ang) * 20.5;
}
snowball._x = 110;
snowball._y = boy1._y;
hassnowball = false;
snowball.gotoAndStop(1);
shoot = true;
} else if (boy1.checkkey != false) {
pressspace.play();
}
}
};
Instance of Symbol 108 MovieClip "boy1" in Frame 4
onClipEvent (enterFrame) {
if (checkkey != false) {
if (Key.isDown(32)) {
checkkey = false;
gox = 0;
goy = 0;
this.gotoAndStop(5);
} else if (Key.isDown(38) || (Key.isDown(87))) {
checkkey = false;
this.gotoAndStop(7);
gox = 0;
goy = -4;
} else if (Key.isDown(40) || (Key.isDown(83))) {
checkkey = false;
this.gotoAndStop(8);
gox = 0;
goy = 4;
} else if (Key.isDown(39) || (Key.isDown(68))) {
checkkey = false;
this.gotoAndStop(2);
gox = 4;
goy = 0;
} else if (Key.isDown(37) || (Key.isDown(65))) {
checkkey = false;
this.gotoAndStop(3);
gox = -4;
goy = 0;
} else {
this.gotoAndStop(1);
gox = 0;
goy = 0;
}
}
_root.scenery._x = _root.scenery._x - gox;
_root.snowball._x = _root.snowball._x - gox;
_root.snowball1._x = _root.snowball1._x - gox;
_root.snowball2._x = _root.snowball2._x - gox;
_root.snowball3._x = _root.snowball3._x - gox;
if (_root.scenery._x > -20) {
_root.scenery._x = -20;
}
if (_root.scenery._x < _root.scenery.goal) {
_root.play();
}
this._y = this._y + goy;
if (this._y < 220) {
this._y = 220;
}
if (this._y > 450) {
this._y = 450;
}
}
Instance of Symbol 121 MovieClip "snowball3" in Frame 4
onClipEvent (enterFrame) {
if (_root.boy1.hitTest(this._x, this._y, false)) {
_root.hit = true;
_root.boy1.gotoAndStop(6);
_root.boy1.checkkey = false;
}
if (shoot == true) {
hidesnowball = false;
x++;
if (x > steps) {
shoot = false;
x = 0;
this.play();
} else {
this._x = this._x - xstep;
this._y = this._y + ystep;
}
} else if (hidesnowball != false) {
this._y = 800;
}
}
Frame 5
snowball1._y = 800;
snowball2._y = 800;
snowball3._y = 800;
stop();
Mouse.hide();
boy1.onMouseDown = function () {
if (((hit != true) && (shoot != true)) && (outofrange != true)) {
if (hassnowball == true) {
boy1.checkkey = false;
boy1.gox = 0;
boy1.goy = 0;
boy1.gotoAndStop(4);
dist = Math.sqrt(((crosshairs._x - boy1._x) * (crosshairs._x - boy1._x)) + ((crosshairs._y - boy1._y) * (crosshairs._y - boy1._y)));
steps = dist / 20;
ang = Math.atan((crosshairs._x - boy1._x) / (crosshairs._y - boy1._y));
if (ang < 0) {
xstep = Math.sin(-ang) * 20.5;
ystep = Math.cos(-ang) * -20.5;
} else {
xstep = Math.sin(ang) * 20.5;
ystep = Math.cos(ang) * 20.5;
}
snowball._x = 110;
snowball._y = boy1._y;
hassnowball = false;
snowball.gotoAndStop(1);
shoot = true;
} else if (boy1.checkkey != false) {
pressspace.play();
}
}
};
Frame 6
snowball1._y = 800;
snowball2._y = 800;
snowball3._y = 800;
snowball4._y = 800;
stop();
Mouse.hide();
boy1.onMouseDown = function () {
if (((hit != true) && (shoot != true)) && (outofrange != true)) {
if (hassnowball == true) {
boy1.checkkey = false;
boy1.gox = 0;
boy1.goy = 0;
boy1.gotoAndStop(4);
dist = Math.sqrt(((crosshairs._x - boy1._x) * (crosshairs._x - boy1._x)) + ((crosshairs._y - boy1._y) * (crosshairs._y - boy1._y)));
steps = dist / 20;
ang = Math.atan((crosshairs._x - boy1._x) / (crosshairs._y - boy1._y));
if (ang < 0) {
xstep = Math.sin(-ang) * 20.5;
ystep = Math.cos(-ang) * -20.5;
} else {
xstep = Math.sin(ang) * 20.5;
ystep = Math.cos(ang) * 20.5;
}
snowball._x = 110;
snowball._y = boy1._y;
hassnowball = false;
snowball.gotoAndStop(1);
shoot = true;
} else if (boy1.checkkey != false) {
pressspace.play();
}
}
};
Instance of Symbol 108 MovieClip "boy1" in Frame 6
onClipEvent (enterFrame) {
if (checkkey != false) {
if (Key.isDown(32)) {
checkkey = false;
gox = 0;
goy = 0;
this.gotoAndStop(5);
} else if (Key.isDown(38) || (Key.isDown(87))) {
checkkey = false;
this.gotoAndStop(7);
gox = 0;
goy = -4;
} else if (Key.isDown(40) || (Key.isDown(83))) {
checkkey = false;
this.gotoAndStop(8);
gox = 0;
goy = 4;
} else if (Key.isDown(39) || (Key.isDown(68))) {
checkkey = false;
this.gotoAndStop(2);
gox = 4;
goy = 0;
} else if (Key.isDown(37) || (Key.isDown(65))) {
checkkey = false;
this.gotoAndStop(3);
gox = -4;
goy = 0;
} else {
this.gotoAndStop(1);
gox = 0;
goy = 0;
}
}
_root.scenery._x = _root.scenery._x - gox;
_root.foreground._x = _root.foreground._x - (gox * 2);
_root.snowball._x = _root.snowball._x - gox;
_root.snowball1._x = _root.snowball1._x - gox;
_root.snowball2._x = _root.snowball2._x - gox;
_root.snowball3._x = _root.snowball3._x - gox;
if (_root.scenery._x > -20) {
_root.scenery._x = -20;
}
if (_root.scenery._x < _root.scenery.goal) {
_root.play();
}
this._y = this._y + goy;
if (this._y < 220) {
this._y = 220;
}
if (this._y > 450) {
this._y = 450;
}
}
Frame 7
snowball1._y = 800;
snowball2._y = 800;
snowball3._y = 800;
snowball4._y = 800;
stop();
Mouse.hide();
boy1.onMouseDown = function () {
if (((hit != true) && (shoot != true)) && (outofrange != true)) {
if (hassnowball == true) {
boy1.checkkey = false;
boy1.gox = 0;
boy1.goy = 0;
boy1.gotoAndStop(4);
dist = Math.sqrt(((crosshairs._x - boy1._x) * (crosshairs._x - boy1._x)) + ((crosshairs._y - boy1._y) * (crosshairs._y - boy1._y)));
steps = dist / 20;
ang = Math.atan((crosshairs._x - boy1._x) / (crosshairs._y - boy1._y));
if (ang < 0) {
xstep = Math.sin(-ang) * 20.5;
ystep = Math.cos(-ang) * -20.5;
} else {
xstep = Math.sin(ang) * 20.5;
ystep = Math.cos(ang) * 20.5;
}
snowball._x = 110;
snowball._y = boy1._y;
hassnowball = false;
snowball.gotoAndStop(1);
shoot = true;
} else if (boy1.checkkey != false) {
pressspace.play();
}
}
};
Frame 8
moviesound.stop();
Mouse.show();
_root.Sound.stop();
hit = false;
stop();
Frame 50
moviesound.stop();
Mouse.show();
hit = false;
stop();
Symbol 43 MovieClip Frame 45
_parent.checkkey = true;
Symbol 61 MovieClip Frame 4
_parent.checkkey = true;
Symbol 64 MovieClip Frame 82
_parent.runaway = true;
_parent.checkkey = true;
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 3
stop();
Symbol 68 MovieClip Frame 45
_parent.checkkey = true;
Symbol 70 MovieClip Frame 82
_parent.runaway = true;
_parent.checkkey = true;
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 71 MovieClip Frame 3
stop();
Symbol 72 MovieClip Frame 1
goal = -1840;
Instance of Symbol 65 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball1.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(ang) * -15;
} else {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(-ang) * 15;
}
_root.snowball1._x = this._x + _root.scenery._x;
_root.snowball1._y = this._y;
_root.snowball1.gotoAndStop(1);
_root.snowball1.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball2.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(ang) * -15;
} else {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(-ang) * 15;
}
_root.snowball2._x = this._x + _root.scenery._x;
_root.snowball2._y = this._y;
_root.snowball2.gotoAndStop(1);
_root.snowball2.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Symbol 75 MovieClip Frame 4
_parent.checkkey = true;
Symbol 76 MovieClip Frame 13
_parent.checkkey = true;
Symbol 79 MovieClip Frame 19
_parent.checkkey = true;
_root.hassnowball = true;
Symbol 81 MovieClip Frame 19
_parent.checkkey = true;
_root.hit = false;
Symbol 94 MovieClip Frame 7
_parent.checkkey = true;
Symbol 107 MovieClip Frame 7
_parent.checkkey = true;
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 2
stop();
Symbol 108 MovieClip Frame 3
stop();
Symbol 108 MovieClip Frame 4
stop();
Symbol 108 MovieClip Frame 5
stop();
Symbol 108 MovieClip Frame 6
stop();
Symbol 108 MovieClip Frame 7
stop();
Symbol 108 MovieClip Frame 8
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 10
hidesnowball = true;
stop();
Symbol 123 MovieClip Frame 19
_parent.checkkey = true;
Symbol 131 MovieClip Frame 55
stop();
Symbol 135 Button
on (release) {
play();
}
Symbol 152 Button
on (release) {
getURL ("http://www.poodwaddle.com", "_self");
}
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 14
_root.snowball3.shoot = true;
_root.snowball3._y = _parent._y;
Symbol 170 MovieClip Frame 71
_parent.checkkey = true;
Symbol 171 MovieClip Frame 120
_parent.checkkey = true;
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
stop();
Symbol 172 MovieClip Frame 3
stop();
Symbol 177 MovieClip Frame 1
goal = -1870;
Instance of Symbol 172 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 450) {
gotoAndStop (2);
_root.snowball3.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(ang) * -15;
} else {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(-ang) * 15;
}
_root.snowball3._x = this._x + _root.scenery._x;
_root.snowball3._y = this._y;
_root.snowball3.gotoAndStop(1);
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 65 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball1.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(ang) * -15;
} else {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(-ang) * 15;
}
_root.snowball1._x = this._x + _root.scenery._x;
_root.snowball1._y = this._y;
_root.snowball1.gotoAndStop(1);
_root.snowball1.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball2.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(ang) * -15;
} else {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(-ang) * 15;
}
_root.snowball2._x = this._x + _root.scenery._x;
_root.snowball2._y = this._y;
_root.snowball2.gotoAndStop(1);
_root.snowball2.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Symbol 182 MovieClip Frame 49
stop();
Symbol 184 MovieClip Frame 1
goal = -1840;
Instance of Symbol 172 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 400) {
gotoAndStop (2);
_root.snowball3.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(ang) * -15;
} else {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(-ang) * 15;
}
_root.snowball3._x = this._x + _root.scenery._x;
_root.snowball3._y = this._y;
_root.snowball3.gotoAndStop(1);
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 172 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 350) {
gotoAndStop (2);
_root.snowball3.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(ang) * -15;
} else {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(-ang) * 15;
}
_root.snowball3._x = this._x + _root.scenery._x;
_root.snowball3._y = this._y;
_root.snowball3.gotoAndStop(1);
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 65 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball1.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(ang) * -15;
} else {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(-ang) * 15;
}
_root.snowball1._x = this._x + _root.scenery._x;
_root.snowball1._y = this._y;
_root.snowball1.gotoAndStop(1);
_root.snowball1.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball2.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(ang) * -15;
} else {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(-ang) * 15;
}
_root.snowball2._x = this._x + _root.scenery._x;
_root.snowball2._y = this._y;
_root.snowball2.gotoAndStop(1);
_root.snowball2.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 65 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball4.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball4.xstep = Math.cos(ang) * 15;
_root.snowball4.ystep = Math.sin(ang) * -15;
} else {
_root.snowball4.xstep = Math.cos(ang) * 15;
_root.snowball4.ystep = Math.sin(-ang) * 15;
}
_root.snowball4._x = this._x + _root.scenery._x;
_root.snowball4._y = this._y;
_root.snowball4.gotoAndStop(1);
_root.snowball4.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Symbol 188 MovieClip Frame 1
goal = -1840;
Instance of Symbol 172 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 400) {
gotoAndStop (2);
_root.snowball3.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(ang) * -15;
} else {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(-ang) * 15;
}
_root.snowball3._x = this._x + _root.scenery._x;
_root.snowball3._y = this._y;
_root.snowball3.gotoAndStop(1);
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 65 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball1.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(ang) * -15;
} else {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(-ang) * 15;
}
_root.snowball1._x = this._x + _root.scenery._x;
_root.snowball1._y = this._y;
_root.snowball1.gotoAndStop(1);
_root.snowball1.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 65 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball4.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball4.xstep = Math.cos(ang) * 15;
_root.snowball4.ystep = Math.sin(ang) * -15;
} else {
_root.snowball4.xstep = Math.cos(ang) * 15;
_root.snowball4.ystep = Math.sin(-ang) * 15;
}
_root.snowball4._x = this._x + _root.scenery._x;
_root.snowball4._y = this._y;
_root.snowball4.gotoAndStop(1);
_root.snowball4.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball2.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(ang) * -15;
} else {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(-ang) * 15;
}
_root.snowball2._x = this._x + _root.scenery._x;
_root.snowball2._y = this._y;
_root.snowball2.gotoAndStop(1);
_root.snowball2.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Symbol 190 MovieClip Frame 1
goal = -1840;
Symbol 194 MovieClip Frame 6
_parent.checkkey = true;
Symbol 195 MovieClip Frame 51
dist = 600;
_root.snowball1.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(ang) * -15;
} else {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(-ang) * 15;
}
_root.snowball1._x = 690 + _root.scenery._x;
_root.snowball1._y = 80;
_root.snowball1.gotoAndStop(1);
_root.snowball1.shoot = true;
Symbol 195 MovieClip Frame 63
dist = 600;
_root.snowball2.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 120));
if (ang < 0) {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(ang) * -15;
} else {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(-ang) * 15;
}
_root.snowball2._x = 670 + _root.scenery._x;
_root.snowball2._y = 120;
_root.snowball2.gotoAndStop(1);
_root.snowball2.shoot = true;
Symbol 195 MovieClip Frame 75
dist = 600;
_root.snowball3.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 150));
if (ang < 0) {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(ang) * -15;
} else {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(-ang) * 15;
}
_root.snowball3._x = 650 + _root.scenery._x;
_root.snowball3._y = 170;
_root.snowball3.gotoAndStop(1);
_root.snowball3.shoot = true;
Symbol 195 MovieClip Frame 149
stop();
Symbol 196 MovieClip Frame 1
goal = -1840;
Instance of Symbol 172 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 400) {
gotoAndStop (2);
_root.snowball3.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(ang) * -15;
} else {
_root.snowball3.xstep = Math.cos(ang) * 15;
_root.snowball3.ystep = Math.sin(-ang) * 15;
}
_root.snowball3._x = this._x + _root.scenery._x;
_root.snowball3._y = this._y;
_root.snowball3.gotoAndStop(1);
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 65 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball4.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball4.xstep = Math.cos(ang) * 15;
_root.snowball4.ystep = Math.sin(ang) * -15;
} else {
_root.snowball4.xstep = Math.cos(ang) * 15;
_root.snowball4.ystep = Math.sin(-ang) * 15;
}
_root.snowball4._x = this._x + _root.scenery._x;
_root.snowball4._y = this._y;
_root.snowball4.gotoAndStop(1);
_root.snowball4.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball2.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(ang) * -15;
} else {
_root.snowball2.xstep = Math.cos(ang) * 15;
_root.snowball2.ystep = Math.sin(-ang) * 15;
}
_root.snowball2._x = this._x + _root.scenery._x;
_root.snowball2._y = this._y;
_root.snowball2.gotoAndStop(1);
_root.snowball2.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Instance of Symbol 65 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (runaway == true) {
runaway = false;
this._x = this._x + 400;
}
if (_root.snowball.hitTest(this._x + _root.scenery._x, this._y, false)) {
checkkey = false;
gotoAndStop (3);
} else if (checkkey != false) {
dist = Math.sqrt((((this._x + _root.scenery._x) - 100) * ((this._x + _root.scenery._x) - 100)) + ((this._y - _root.boy1._y) * (this._y - _root.boy1._y)));
if (dist < 650) {
gotoAndStop (2);
_root.snowball1.steps = dist / 15;
ang = Math.atan((this._y - _root.boy1._y) / ((this._x + _root.scenery._x) - 100));
if (ang < 0) {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(ang) * -15;
} else {
_root.snowball1.xstep = Math.cos(ang) * 15;
_root.snowball1.ystep = Math.sin(-ang) * 15;
}
_root.snowball1._x = this._x + _root.scenery._x;
_root.snowball1._y = this._y;
_root.snowball1.gotoAndStop(1);
_root.snowball1.shoot = true;
checkkey = false;
} else {
gotoAndStop (1);
checkkey = true;
}
}
}
Symbol 198 MovieClip Frame 1
goal = -1840;
Symbol 200 Button
on (release) {
gotoAndStop (2);
}