Frame 1
stop();
_global.music = true;
fscommand ("allowscale", false);
stop();
_global.theName = "Scarecrow";
Instance of Symbol 8 MovieClip in Frame 1
onClipEvent (load) {
_root.continueB._visible = false;
_root.pBar._visible = false;
}
onClipEvent (enterFrame) {
mctotal = _root.getBytesTotal();
mcloaded = _root.getBytesLoaded();
_parent.percent = Math.round((mcloaded / mctotal) * 100);
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_parent.bytes = "Loading complete";
_parent.precents = "";
_root.continueB._visible = true;
_root.pBar._visible = false;
} else {
_root.pBar._visible = true;
_root.pBar.gotoAndStop(_parent.percent / 2);
bits = Math.round((_root.getBytesTotal() - _root.getBytesLoaded()) / 1024);
_parent.bytes = bits + " KBytes left";
_parent.precents = _parent.percent + "%";
}
}
Frame 2
gotoAndStop (4);
Instance of Symbol 130 MovieClip in Frame 4
onClipEvent (load) {
mainmusa = new Sound(this);
mainmusa.attachSound("musa");
mainMusicPlaying = false;
vol = 60;
}
onClipEvent (enterFrame) {
if (((_root._currentframe == 5) || (_root._currentframe == 8)) && (_global.music)) {
mainmusa.setVolume(vol);
if (!mainMusicPlaying) {
mainMusicPlaying = true;
mainmusa.start();
mainmusa.setVolume(vol);
}
if (mainmusa.position >= 56500) {
mainmusa.stop();
mainmusa.start();
mainmusa.setVolume(vol);
}
} else if (mainmusa.getVolume() >= 5) {
mainmusa.setVolume(mainmusa.getVolume() - 5);
} else {
mainmusa.stop();
mainMusicPlaying = false;
}
}
Instance of Symbol 130 MovieClip in Frame 4
onClipEvent (load) {
ambimusa = new Sound(this);
ambimusa.attachSound("ambi");
ambiMusicPlaying = false;
}
onClipEvent (enterFrame) {
if (_root._currentframe != 5) {
if (!ambiMusicPlaying) {
ambiMusicPlaying = true;
ambimusa.start();
}
if (ambimusa.position >= 18000) {
ambimusa.stop();
ambimusa.start();
}
} else if (ambimusa.getVolume() >= 5) {
ambimusa.setVolume(ambimusa.getVolume() - 5);
} else {
ambimusa.stop();
ambiMusicPlaying = false;
}
}
Frame 5
pumpkins = 2;
score = 0;
Instance of Symbol 181 MovieClip "dude" in Frame 5
onClipEvent (load) {
_global.leaning = false;
moveS = 0;
_global.ducking = false;
_global.moving = false;
}
onClipEvent (enterFrame) {
if (!_global.gamePause) {
if (!_global.leaning) {
if (!_global.headAttached) {
if (Key.isDown(40)) {
if (_global.moving) {
gotoAndStop ("duckwalk");
} else {
gotoAndStop ("duck");
}
moveS = 5;
_global.ducking = true;
} else {
moveS = 0;
_global.ducking = false;
}
}
if (Key.isDown(37)) {
if (this._x > 10) {
_global.moving = true;
this._x = this._x - (10 - moveS);
if ((!_global.leaning) && (!_global.ducking)) {
gotoAndStop ("moveL");
}
} else {
gotoAndStop ("stay");
}
} else if (Key.isDown(39)) {
if (this._x < 535) {
_global.moving = true;
this._x = this._x + (10 - moveS);
if ((!_global.leaning) && (!_global.ducking)) {
gotoAndStop ("moveR");
}
} else {
gotoAndStop ("stay");
}
} else {
_global.moving = false;
if (!_global.ducking) {
gotoAndStop ("stay");
}
}
if (_global.headAttached) {
if ((this._currentframe == 7) || (this._currentframe == 4)) {
gotoAndStop ("stay");
}
_global.ducking = false;
_global.leaning = false;
moveS = 0;
_root.pumpkin._x = this._x;
}
if (_global.ableMove) {
if (Key.isDown(65)) {
_global.leaning = true;
gotoAndStop ("Rlean");
} else if (Key.isDown(68)) {
_global.leaning = true;
gotoAndStop ("Llean");
}
}
}
}
}
Instance of Symbol 13 MovieClip "pumpkin" in Frame 5
onClipEvent (load) {
ySpeed = -25;
xSpeed = 0;
_global.headAttached = true;
onceDone = false;
_global.ableMove = false;
i = 1;
counter = 0;
_global.ablehitG = true;
platssound = new Sound(this);
platssound.attachSound("plats");
boingsound = new Sound(this);
boingsound.attachSound("boing");
punchsound = new Sound(this);
punchsound.attachSound("punch");
}
onClipEvent (enterFrame) {
if (!_global.gamePause) {
if (!_global.headAttached) {
if ((this._y < 340) && (_global.ableMove)) {
this._rotation = this._rotation + 15;
if (_root.bat1.hArea.hitTest(this._x, this._y, true)) {
if (_global.music) {
punchsound.start();
punchsound.setVolume(40);
}
_root.score = _root.score + 5;
angleW = Math.atan2((this._y - _root.bat1._y) - 50, this._x - _root.bat1._x);
cosW = Math.cos(angleW);
sinW = Math.sin(angleW);
speedi = 5;
xSpeed = cosW * speedi;
ySpeed = (-sinW) * speedi;
_root.bat1.gotoAndStop(2);
}
if (_root.bat2.hArea.hitTest(this._x, this._y, true)) {
if (_global.music) {
punchsound.start();
punchsound.setVolume(40);
}
_root.score = _root.score + 5;
angleW = Math.atan2((this._y - _root.bat2._y) - 50, this._x - _root.bat2._x);
cosW = Math.cos(angleW);
sinW = Math.sin(angleW);
speedi = 5;
xSpeed = cosW * speedi;
ySpeed = (-sinW) * speedi;
_root.bat2.gotoAndStop(2);
}
if (_root.ghost1.hArea.hitTest(this._x, this._y, true) && (_global.ablehitG)) {
if (_global.music) {
punchsound.start();
punchsound.setVolume(40);
}
_global.ablehitG = false;
angleW = Math.atan2((this._y - _root.ghost1._y) - 50, this._x - _root.ghost1._x);
cosW = Math.cos(angleW);
sinW = Math.sin(angleW);
speedi = 5;
xSpeed = cosW * speedi;
ySpeed = (-sinW) * speedi;
_root.ghost1.gotoAndStop(_root.ghost1._currentframe + 1);
}
if (_root.spider1.hArea.hitTest(this._x, this._y, true)) {
if (_global.music) {
punchsound.start();
punchsound.setVolume(40);
}
_root.score = _root.score + 40;
angleW = Math.atan2((this._y - _root.spider1._y) - 50, this._x - _root.spider1._x);
cosW = Math.cos(angleW);
sinW = Math.sin(angleW);
speedi = 5;
xSpeed = cosW * speedi;
ySpeed = (-sinW) * speedi;
_root.spider1.gotoAndStop(2);
}
if (_root.dude.heebo.Harea.hitTest(this._x, this._y, true) && (ySpeed >= 0)) {
if (_global.music) {
boingsound.start();
boingsound.setVolume(40);
}
_global.ablehitG = true;
if (!_global.leaning) {
if (_global.ducking) {
speed = 18;
X = this._x - (_root.dude._x + _root.dude.heebo.Harea._x);
Y = (this._y - 100) - (_root.dude._y + _root.dude.heebo.Harea._y);
} else {
speed = 25;
_root.score = _root.score + 1;
X = this._x - (_root.dude._x + _root.dude.heebo.Harea._x);
Y = (this._y - 30) - (_root.dude._y + _root.dude.heebo.Harea._y);
}
} else {
X = this._x - (_root.dude._x + _root.dude.heebo.Harea._x);
Y = (this._y - 30) - ((_root.dude._y + _root.dude.heebo.Harea._y) + 150);
speed = 25;
}
angle = Math.atan2(Y, X);
cosA = Math.cos(angle);
sinA = Math.sin(angle);
xSpeed = cosA * speed;
ySpeed = sinA * speed;
} else {
ySpeed = ySpeed + 2;
}
if (this._x >= 515) {
if (xSpeed > 0) {
xSpeed = -xSpeed;
}
} else if (this._x <= 35) {
if (xSpeed < 0) {
xSpeed = -xSpeed;
}
}
this._y = this._y + ySpeed;
this._x = this._x + xSpeed;
} else {
if (!onceDone) {
if (_global.music) {
platssound.start();
platssound.setVolume(60);
}
_global.ableMove = false;
onceDone = true;
this._rotation = 0;
_global.positionx = this._x;
_global.positiony = 360;
_root.pumpkinholder.attachMovie("pumpkinSmashed", "pumpkinSmashed" + i, _root.pumpkinholder.getNextHighestDepth());
i++;
this._x = -500;
this._y = -500;
}
if (_root.pumpkins >= 1) {
counter++;
if (counter >= 25) {
counter = 0;
_root.pumpkins--;
this._rotation = 0;
onceDone = false;
ySpeed = -25;
xSpeed = 0;
this._x = _root.dude._x;
this._y = 231;
_global.headAttached = true;
}
} else if (_root.gameover._currentframe == 1) {
_root.gameover.gotoAndPlay(2);
_global.pauseCan = false;
}
}
} else if (Key.isDown(38)) {
if (_global.music) {
boingsound.start();
boingsound.setVolume(40);
}
_global.ableMove = true;
_global.headAttached = false;
}
}
}
Instance of Symbol 183 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
gotoAndStop (2);
_global.pauseCan = true;
}
}
Instance of Symbol 202 MovieClip "bat1" in Frame 5
onClipEvent (load) {
goingleft = false;
this._x = -200 - (Math.random() * 200);
goingup = false;
}
onClipEvent (enterFrame) {
if (!_global.gamePause) {
if (goingup) {
if (this._y > 70) {
this._y = this._y - 3;
} else {
goingup = false;
}
} else if (this._y < 130) {
this._y = this._y + 3;
} else {
goingup = true;
}
if (goingleft) {
if (this._currentframe == 1) {
this._x = this._x - 6;
}
if (this._x < -200) {
if (Math.random() > 0.5) {
goingleft = true;
this._x = 900 + (Math.random() * 300);
} else {
goingleft = false;
this._x = -300 - (Math.random() * 200);
}
}
} else {
if (this._currentframe == 1) {
this._x = this._x + 6;
}
if (this._x > 700) {
if (Math.random() > 0.5) {
goingleft = true;
this._x = 900 + (Math.random() * 300);
} else {
goingleft = false;
this._x = -300 - (Math.random() * 200);
}
}
}
}
}
Instance of Symbol 219 MovieClip "ghost1" in Frame 5
onClipEvent (load) {
if (Math.random() > 0.5) {
goingleft = true;
this._x = 1000 + (Math.random() * 300);
_xscale = -100;
} else {
goingleft = false;
this._x = -600 - (Math.random() * 300);
_xscale = 100;
}
goingup = false;
}
onClipEvent (enterFrame) {
if (!_global.gamePause) {
if (goingup) {
if (this._y > 60) {
this._y = this._y - 2;
} else {
goingup = false;
}
} else if (this._y < 120) {
this._y = this._y + 2;
} else {
goingup = true;
}
if (goingleft) {
if (this._currentframe != 3) {
this._x = this._x - 5;
}
if (this._x < -700) {
gotoAndStop (1);
if (Math.random() > 0.5) {
goingleft = true;
this._x = 1000 + (Math.random() * 300);
_xscale = -100;
} else {
goingleft = false;
this._x = -600 - (Math.random() * 300);
_xscale = 100;
}
}
} else {
if (this._currentframe != 3) {
this._x = this._x + 5;
}
if (this._x > 1000) {
gotoAndStop (1);
if (Math.random() > 0.5) {
goingleft = true;
this._x = 1000 + (Math.random() * 300);
_xscale = -100;
} else {
goingleft = false;
this._x = -600 - (Math.random() * 300);
_xscale = 100;
}
}
}
}
}
Instance of Symbol 228 MovieClip "spider1" in Frame 5
onClipEvent (load) {
this._x = 100 + (Math.random() * 350);
this._y = -500 - (Math.random() * 1000);
goingDown = true;
}
onClipEvent (enterFrame) {
if (!_global.gamePause) {
if (this._currentframe == 1) {
if (goingDown) {
if (this._y < 110) {
this._y = this._y + 4;
} else {
goingDown = false;
}
} else if (this._y > -200) {
this._y = this._y - 4;
} else {
this._x = 100 + (Math.random() * 350);
this._y = -500 - (Math.random() * 1000);
goingDown = true;
}
}
}
}
Instance of Symbol 237 MovieClip "bat2" in Frame 5
onClipEvent (load) {
goingleft = true;
this._x = 1000 + (Math.random() * 300);
goingup = true;
}
onClipEvent (enterFrame) {
if (!_global.gamePause) {
if (goingup) {
if (this._y > 50) {
this._y = this._y - 2.5;
} else {
goingup = false;
}
} else if (this._y < 110) {
this._y = this._y + 2.5;
} else {
goingup = true;
}
if (goingleft) {
if (this._currentframe == 1) {
this._x = this._x - 7;
}
if (this._x < -200) {
if (Math.random() > 0.5) {
goingleft = true;
this._x = 900 + (Math.random() * 300);
} else {
goingleft = false;
this._x = -300 - (Math.random() * 200);
}
}
} else {
if (this._currentframe == 1) {
this._x = this._x + 7;
}
if (this._x > 700) {
if (Math.random() > 0.5) {
goingleft = true;
this._x = 900 + (Math.random() * 300);
} else {
goingleft = false;
this._x = -300 - (Math.random() * 200);
}
}
}
}
}
Instance of Symbol 238 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop(_root.pumpkins + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.pumpkins + 1);
}
Instance of Symbol 248 MovieClip in Frame 5
onClipEvent (load) {
if (!_global.music) {
gotoAndStop (2);
}
}
Instance of Symbol 288 MovieClip in Frame 5
onClipEvent (load) {
ablePress = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(81)) {
if (ablePress) {
ablePress = false;
if (_quality == "HIGH") {
_quality = "MEDIUM";
gotoAndStop (3);
} else if (_quality == "MEDIUM") {
_quality = "LOW";
gotoAndStop (4);
} else {
_quality = "HIGH";
gotoAndStop (2);
}
}
} else {
ablePress = true;
}
}
Instance of Symbol 290 MovieClip in Frame 5
onClipEvent (load) {
ablePress = true;
_global.pauseCan = false;
_global.gamePause = false;
}
onClipEvent (enterFrame) {
if (_global.pauseCan) {
if (Key.isDown(80)) {
if (ablePress) {
ablePress = false;
if (_global.gamePause) {
_global.gamePause = false;
gotoAndStop (1);
} else {
_global.gamePause = true;
_root.dude.gotoAndStop("stay");
_global.ducking = false;
_global.leaning = false;
gotoAndStop (2);
}
}
} else {
ablePress = true;
}
}
}
Frame 8
gotoAndStop (5);
Symbol 10 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 14 MovieClip Frame 1
stop();
Symbol 22 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 25 MovieClip [pumpkinSmashed] Frame 1
this._x = _global.positionx;
this._y = _global.positiony;
Symbol 31 MovieClip Frame 1
stop();
Symbol 33 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 38 MovieClip Frame 81
_root.gotoAndStop(4);
_root.play();
Symbol 58 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 65 Button
on (release) {
_root.gotoAndStop(7);
}
Symbol 71 Button
on (release) {
_root.gotoAndStop(6);
}
Symbol 125 Button
on (release) {
getURL ("http://newgrounds.com/collection/halloween2006.html", "blank");
}
Symbol 149 MovieClip Frame 1
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 15;
}
Symbol 149 MovieClip Frame 2
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 15;
}
Symbol 149 MovieClip Frame 3
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 15;
}
Symbol 149 MovieClip Frame 4
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 15;
}
Symbol 149 MovieClip Frame 5
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 15;
}
Symbol 149 MovieClip Frame 6
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 15;
}
Symbol 149 MovieClip Frame 7
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 12;
}
Symbol 149 MovieClip Frame 8
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 10;
}
Symbol 149 MovieClip Frame 9
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 8;
}
Symbol 149 MovieClip Frame 10
if (_root.dude._x > 30) {
_root.dude._x = _root.dude._x - 5;
}
Symbol 149 MovieClip Frame 15
_global.leaning = false;
_parent.gotoAndStop("stay");
Symbol 158 MovieClip Frame 1
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 15;
}
Symbol 158 MovieClip Frame 2
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 15;
}
Symbol 158 MovieClip Frame 3
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 15;
}
Symbol 158 MovieClip Frame 4
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 15;
}
Symbol 158 MovieClip Frame 5
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 15;
}
Symbol 158 MovieClip Frame 6
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 15;
}
Symbol 158 MovieClip Frame 7
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 12;
}
Symbol 158 MovieClip Frame 8
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 10;
}
Symbol 158 MovieClip Frame 9
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 8;
}
Symbol 158 MovieClip Frame 10
if (_root.dude._x < 520) {
_root.dude._x = _root.dude._x + 5;
}
Symbol 158 MovieClip Frame 15
_global.leaning = false;
_parent.gotoAndStop("stay");
Symbol 181 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 9
if (Math.random() > 0.5) {
_parent.goingleft = true;
_root.bat1._x = 900 + (Math.random() * 300);
} else {
_parent.goingleft = false;
_root.bat1._x = -300 - (Math.random() * 200);
}
_parent.gotoAndStop(1);
Symbol 202 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
_root.score = _root.score + 20;
Symbol 218 MovieClip Frame 12
if (Math.random() > 0.5) {
_parent.goingleft = true;
_root.ghost1._x = 1100;
_root.ghost1._xscale = -100;
} else {
_parent.goingleft = false;
_root.ghost1._x = -800;
_root.ghost1._xscale = 100;
}
_parent.gotoAndStop(1);
Symbol 219 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 30
_root.spider1._x = 100 + (Math.random() * 350);
_root.spider1._y = -500 - (Math.random() * 1000);
_parent.goingDown = true;
_parent.gotoAndStop(1);
Symbol 228 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 9
if (Math.random() > 0.5) {
_parent.goingleft = true;
_root.bat2._x = 900 + (Math.random() * 300);
} else {
_parent.goingleft = false;
_root.bat2._x = -300 - (Math.random() * 200);
}
_parent.gotoAndStop(1);
Symbol 237 MovieClip Frame 1
stop();
Symbol 244 Button
on (release) {
if (_currentframe == 1) {
gotoAndStop (2);
_global.music = false;
} else {
gotoAndStop (1);
_global.music = true;
}
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 260 Button
on (release) {
_global.theName = yourName.text;
gotoAndStop (57);
}
Symbol 265 Button
on (release) {
_root.gotoAndStop(8);
}
Symbol 270 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 277 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 280 MovieClip Frame 4
stop();
myData = new LoadVars();
myData.user = _global.theName;
myData.score = _root.score;
myData.sendAndLoad("http://koti.mbnet.fi/kallma/halloween/scz.php", myData, "POST");
myData.onLoad = function (ok) {
if (ok) {
_root.gotoAndStop(6);
} else {
_root.gotoAndStop(6);
}
};
Symbol 280 MovieClip Frame 40
stop();
myData = new LoadVars();
myData.user = _global.theName;
myData.score = _root.score;
myData.sendAndLoad("http://koti.mbnet.fi/kallma/halloween/scz.php", myData, "POST");
myData.onLoad = function (ok) {
if (ok) {
_root.gotoAndStop(6);
} else {
gotoAndPlay (41);
}
};
Symbol 280 MovieClip Frame 80
stop();
myData = new LoadVars();
myData.user = _global.theName;
myData.score = _root.score;
myData.sendAndLoad("http://koti.mbnet.fi/kallma/halloween/scz.php", myData, "POST");
myData.onLoad = function (ok) {
if (ok) {
_root.gotoAndStop(6);
} else {
gotoAndPlay (81);
}
};
Symbol 280 MovieClip Frame 130
_parent.gotoAndStop(56);
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
play();
Symbol 281 MovieClip Frame 56
function checkText(e) {
function checkChars(s, i, l) {
while ((i < l) && ("_-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".indexOf(s.charAt(i)) != -1)) {
i++;
}
if (e.length == i) {
return(true);
}
return(false);
}
i = 0;
l = e.length;
return(checkChars(e, i, l));
}
yourName.text = _global.theName;
stop();
Instance of Symbol 130 MovieClip in Symbol 281 MovieClip Frame 56
onClipEvent (load) {
rightnow = "Scarecrow";
_parent.inva._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.yourName.text.length < 3) {
_parent.submitB._visible = false;
_parent.inva._visible = true;
} else if (rightnow != _parent.yourName.text) {
rightnow = _parent.yourName.text;
if (_parent.checkText(_parent.yourName.text)) {
_parent.submitB._visible = true;
_parent.inva._visible = false;
} else {
_parent.inva._visible = true;
_parent.submitB._visible = false;
}
}
}
Symbol 283 MovieClip Frame 25
stop();
Symbol 285 MovieClip Frame 25
stop();
Symbol 287 MovieClip Frame 25
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 4
stop();
pisteet = new LoadVars();
pisteet.load("http://koti.mbnet.fi/kallma/halloween/scz.php", pisteet);
pisteet.onLoad = function (ok) {
if (ok) {
p1 = pisteet.p1;
p2 = pisteet.p2;
p3 = pisteet.p3;
p4 = pisteet.p4;
p5 = pisteet.p5;
p6 = pisteet.p6;
p7 = pisteet.p7;
p8 = pisteet.p8;
p9 = pisteet.p9;
p10 = pisteet.p10;
p11 = pisteet.p11;
p12 = pisteet.p12;
p13 = pisteet.p13;
p14 = pisteet.p14;
p15 = pisteet.p15;
p16 = pisteet.p16;
p17 = pisteet.p17;
p18 = pisteet.p18;
p19 = pisteet.p19;
p20 = pisteet.p20;
p1score = pisteet.p1score;
p2score = pisteet.p2score;
p3score = pisteet.p3score;
p4score = pisteet.p4score;
p5score = pisteet.p5score;
p6score = pisteet.p6score;
p7score = pisteet.p7score;
p8score = pisteet.p8score;
p9score = pisteet.p9score;
p10score = pisteet.p10score;
p11score = pisteet.p11score;
p12score = pisteet.p12score;
p13score = pisteet.p13score;
p14score = pisteet.p14score;
p15score = pisteet.p15score;
p16score = pisteet.p16score;
p17score = pisteet.p17score;
p18score = pisteet.p18score;
p19score = pisteet.p19score;
p20score = pisteet.p20score;
p1time = pisteet.p1time;
p2time = pisteet.p2time;
p3time = pisteet.p3time;
p4time = pisteet.p4time;
p5time = pisteet.p5time;
p6time = pisteet.p6time;
p7time = pisteet.p7time;
p8time = pisteet.p8time;
p9time = pisteet.p9time;
p10time = pisteet.p10time;
p11time = pisteet.p11time;
p12time = pisteet.p12time;
p13time = pisteet.p13time;
p14time = pisteet.p14time;
p15time = pisteet.p15time;
p16time = pisteet.p16time;
p17time = pisteet.p17time;
p18time = pisteet.p18time;
p19time = pisteet.p19time;
p20time = pisteet.p20time;
gotoAndStop (82);
} else {
gotoAndPlay (5);
}
};
Symbol 336 MovieClip Frame 40
stop();
pisteet = new LoadVars();
pisteet.load("http://koti.mbnet.fi/kallma/halloween/scz.php", pisteet);
pisteet.onLoad = function (ok) {
if (ok) {
p1 = pisteet.p1;
p2 = pisteet.p2;
p3 = pisteet.p3;
p4 = pisteet.p4;
p5 = pisteet.p5;
p6 = pisteet.p6;
p7 = pisteet.p7;
p8 = pisteet.p8;
p9 = pisteet.p9;
p10 = pisteet.p10;
p11 = pisteet.p11;
p12 = pisteet.p12;
p13 = pisteet.p13;
p14 = pisteet.p14;
p15 = pisteet.p15;
p16 = pisteet.p16;
p17 = pisteet.p17;
p18 = pisteet.p18;
p19 = pisteet.p19;
p20 = pisteet.p20;
p1score = pisteet.p1score;
p2score = pisteet.p2score;
p3score = pisteet.p3score;
p4score = pisteet.p4score;
p5score = pisteet.p5score;
p6score = pisteet.p6score;
p7score = pisteet.p7score;
p8score = pisteet.p8score;
p9score = pisteet.p9score;
p10score = pisteet.p10score;
p11score = pisteet.p11score;
p12score = pisteet.p12score;
p13score = pisteet.p13score;
p14score = pisteet.p14score;
p15score = pisteet.p15score;
p16score = pisteet.p16score;
p17score = pisteet.p17score;
p18score = pisteet.p18score;
p19score = pisteet.p19score;
p20score = pisteet.p20score;
p1time = pisteet.p1time;
p2time = pisteet.p2time;
p3time = pisteet.p3time;
p4time = pisteet.p4time;
p5time = pisteet.p5time;
p6time = pisteet.p6time;
p7time = pisteet.p7time;
p8time = pisteet.p8time;
p9time = pisteet.p9time;
p10time = pisteet.p10time;
p11time = pisteet.p11time;
p12time = pisteet.p12time;
p13time = pisteet.p13time;
p14time = pisteet.p14time;
p15time = pisteet.p15time;
p16time = pisteet.p16time;
p17time = pisteet.p17time;
p18time = pisteet.p18time;
p19time = pisteet.p19time;
p20time = pisteet.p20time;
gotoAndStop (82);
} else {
gotoAndPlay (41);
}
};
Symbol 336 MovieClip Frame 80
stop();
pisteet = new LoadVars();
pisteet.load("http://koti.mbnet.fi/kallma/halloween/scz.php", pisteet);
pisteet.onLoad = function (ok) {
if (ok) {
p1 = pisteet.p1;
p2 = pisteet.p2;
p3 = pisteet.p3;
p4 = pisteet.p4;
p5 = pisteet.p5;
p6 = pisteet.p6;
p7 = pisteet.p7;
p8 = pisteet.p8;
p9 = pisteet.p9;
p10 = pisteet.p10;
p11 = pisteet.p11;
p12 = pisteet.p12;
p13 = pisteet.p13;
p14 = pisteet.p14;
p15 = pisteet.p15;
p16 = pisteet.p16;
p17 = pisteet.p17;
p18 = pisteet.p18;
p19 = pisteet.p19;
p20 = pisteet.p20;
p1score = pisteet.p1score;
p2score = pisteet.p2score;
p3score = pisteet.p3score;
p4score = pisteet.p4score;
p5score = pisteet.p5score;
p6score = pisteet.p6score;
p7score = pisteet.p7score;
p8score = pisteet.p8score;
p9score = pisteet.p9score;
p10score = pisteet.p10score;
p11score = pisteet.p11score;
p12score = pisteet.p12score;
p13score = pisteet.p13score;
p14score = pisteet.p14score;
p15score = pisteet.p15score;
p16score = pisteet.p16score;
p17score = pisteet.p17score;
p18score = pisteet.p18score;
p19score = pisteet.p19score;
p20score = pisteet.p20score;
p1time = pisteet.p1time;
p2time = pisteet.p2time;
p3time = pisteet.p3time;
p4time = pisteet.p4time;
p5time = pisteet.p5time;
p6time = pisteet.p6time;
p7time = pisteet.p7time;
p8time = pisteet.p8time;
p9time = pisteet.p9time;
p10time = pisteet.p10time;
p11time = pisteet.p11time;
p12time = pisteet.p12time;
p13time = pisteet.p13time;
p14time = pisteet.p14time;
p15time = pisteet.p15time;
p16time = pisteet.p16time;
p17time = pisteet.p17time;
p18time = pisteet.p18time;
p19time = pisteet.p19time;
p20time = pisteet.p20time;
gotoAndStop (82);
} else {
gotoAndStop (81);
}
};
Symbol 336 MovieClip Frame 81
stop();
Symbol 336 MovieClip Frame 82
player1 = (((p1 + " - ") + p1score) + " - ") + p1time;
player2 = (((p2 + " - ") + p2score) + " - ") + p2time;
player3 = (((p3 + " - ") + p3score) + " - ") + p3time;
player4 = (((p4 + " - ") + p4score) + " - ") + p4time;
player5 = (((p5 + " - ") + p5score) + " - ") + p5time;
player6 = (((p6 + " - ") + p6score) + " - ") + p6time;
player7 = (((p7 + " - ") + p7score) + " - ") + p7time;
player8 = (((p8 + " - ") + p8score) + " - ") + p8time;
player9 = (((p9 + " - ") + p9score) + " - ") + p9time;
player10 = (((p10 + " - ") + p10score) + " - ") + p10time;
player11 = (((p11 + " - ") + p11score) + " - ") + p11time;
player12 = (((p12 + " - ") + p12score) + " - ") + p12time;
player13 = (((p13 + " - ") + p13score) + " - ") + p13time;
player14 = (((p14 + " - ") + p14score) + " - ") + p14time;
player15 = (((p15 + " - ") + p15score) + " - ") + p15time;
player16 = (((p16 + " - ") + p16score) + " - ") + p16time;
player17 = (((p17 + " - ") + p17score) + " - ") + p17time;
player18 = (((p18 + " - ") + p18score) + " - ") + p18time;
player19 = (((p19 + " - ") + p19score) + " - ") + p19time;
player20 = (((p20 + " - ") + p20score) + " - ") + p20time;