Frame 1
stop();
Instance of Symbol 9 MovieClip in Frame 1
onClipEvent (enterFrame) {
pros = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prosentit = pros + "%";
xs = ((viiva._width / 100) * pros) - viiva._width;
setProperty(viiva, _x , xs);
if (pros >= 100) {
_root.gotoAndStop(2);
}
}
Frame 3
gotoAndStop (2);
Frame 49
gotoAndStop (50);
Instance of Symbol 58 MovieClip in Frame 49
onClipEvent (load) {
kirjaimet = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z");
}
onClipEvent (keyDown) {
nappainc = Key.getCode();
if ((nappainc >= 65) and (90 >= nappainc)) {
_root.nappain = kirjaimet[nappainc - 65];
tarkistus = true;
tarkistus_pisteet = _root.pisteet;
}
}
onClipEvent (enterFrame) {
if (tarkistus == true) {
tarkistus = false;
if (tarkistus_pisteet == _root.pisteet) {
if (0 < _root.pisteet) {
_root.pisteet = _root.pisteet - 1;
_root.pisteett = _root.pisteet;
}
_root.pistetausta.gotoAndPlay(2);
}
}
}
Frame 50
stop();
Frame 51
gotoAndPlay (52);
_root.gameover.loppu_pisteet = _root.pisteet;
Frame 52
gotoAndPlay (53);
Frame 66
gotoAndStop (67);
Frame 67
stop();
Frame 68
gotoAndStop (67);
Instance of Symbol 82 MovieClip in Frame 71
onClipEvent (load) {
scr_n = "hs_n";
scr_r1 = "hs_r1";
scr_r2 = "hs_r2";
scr_r3 = "hs_r3";
scr_r4 = "hs_r4";
scr_r5 = "hs_r5";
scr_r6 = "hs_r6";
scr_t = "t";
}
Frame 72
_root.gotoAndPlay("hs_lue");
Instance of Symbol 82 MovieClip in Frame 76
onClipEvent (load) {
scr_n = "hs_n";
scr_r1 = "hs_r1";
scr_r2 = "hs_r2";
scr_r3 = "hs_r3";
scr_r4 = "hs_r4";
scr_r5 = "hs_r5";
scr_r6 = "hs_r6";
scr_t = "l";
}
Frame 77
_root.gotoAndStop("taulu");
Frame 79
gotoAndStop (80);
Frame 80
_root.stop();
Frame 81
gotoAndStop (80);
Symbol 19 MovieClip Frame 10
stop();
Symbol 23 Button
on (release) {
gotoAndStop (50);
}
Symbol 26 Button
on (release) {
_root.gotoAndPlay("hs_lue");
}
Symbol 35 Button
on (release) {
getURL ("mailto:hannu@daug.net");
}
Symbol 39 MovieClip Frame 2
i = 0;
Symbol 39 MovieClip Frame 5
i++;
if (i < 20) {
gotoAndPlay (4);
}
Symbol 39 MovieClip Frame 25
i = 0;
Symbol 39 MovieClip Frame 28
i++;
if (i < 50) {
gotoAndPlay (27);
}
Symbol 39 MovieClip Frame 56
i = 0;
Symbol 39 MovieClip Frame 62
i++;
if (i < 30) {
gotoAndPlay (61);
}
Symbol 39 MovieClip Frame 75
gotoAndPlay (1);
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 10
gotoAndStop (1);
Symbol 46 MovieClip Frame 1
stop();
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
kirjaimet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
objekti = "obj";
attachMovie("obj", objekti, 1);
this.obj.kirjain = substring(kirjaimet, random(26), 1);
_parent.kirjain = this.obj.kirjain;
}
Symbol 51 MovieClip Frame 35
removeMovieClip(this);
Symbol 55 MovieClip Frame 16
stop();
Symbol 57 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 57 MovieClip Frame 2
onClipEvent (load) {
setProperty(_parent.r0, _visible , false);
f = 0;
while (f < 20) {
i++;
duplicateMovieClip (_parent.r0, "r" + i, i);
setProperty(_parent["r" + i], _visible , true);
setProperty(_parent["r" + i], _rotation , random(360));
setProperty(_parent["r" + i], _xscale , random(60) + 40);
setProperty(_parent["r" + i], _yscale , _parent["r" + i]._xscale);
f++;
}
}
Symbol 57 MovieClip Frame 38
removeMovieClip(this);
Instance of Symbol 57 MovieClip "c0" in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._name != "c0") {
if (this._currentframe == 1) {
setProperty(this, _x , this._x - nop);
if ((this._x < -650) and (_root._currentframe == 50)) {
_root.gotoAndPlay(51);
}
if (this.kirj.kirjain == _root.nappain) {
this.gotoAndPlay(2);
_root.pisteet = _root.pisteet + 1;
_root.pisteett = _root.pisteet;
}
}
}
}
Instance of Symbol 47 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
_root.pisteet = 0;
_root.pisteett = _root.pisteet;
setProperty(_parent.c0, _visible , false);
vali = 75;
nopeus = 5;
a_vali = 1;
minnopeus = 1;
}
onClipEvent (enterFrame) {
if (0 < vali) {
vali = vali - (vali / 1200);
if (8 >= nopeus) {
nopeus = nopeus + 0.005;
}
_root.nopeus = nopeus;
}
a = a + 1;
if (a_vali < a) {
a_vali = random(vali);
a = 0;
i++;
duplicateMovieClip (_parent.c0, "c" + i, i);
setProperty(_parent["c" + i], _visible , true);
_parent["c" + i].nop = random(nopeus) + minnopeus;
herkkyys = 125;
setProperty(_parent["c" + i], _y , random(herkkyys) - (herkkyys / 2));
}
}
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 8
gotoAndStop (1);
Symbol 71 Button
on (release) {
pist = this.loppu_pisteet + 142;
_root.hs_n = this.loppu_nimi;
_root.hs_r1 = int(random(5) + 1);
_root.hs_r2 = int(random(5) + 1);
_root.hs_r3 = int(random(5) + 1);
_root.hs_r4 = ((pist + 32) * _root.hs_r3) + 3279;
_root.hs_r5 = ((pist + 85) * _root.hs_r2) + 591;
_root.hs_r6 = ((pist + 682) * _root.hs_r1) + 15399;
_root.gotoAndPlay("hs_tallenna");
}
Symbol 73 MovieClip Frame 1
stop();
Instance of Symbol 77 MovieClip in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty(this, _rotation , this._rotation + 35);
}
Symbol 82 MovieClip Frame 1
_parent.stop();
if (scr_t == "l") {
gotoAndPlay (4);
} else if (scr_t == "t") {
gotoAndPlay (9);
} else {
stop();
}
valmis = "";
Symbol 82 MovieClip Frame 4
loadVariables ("data/dt_scrphp.php", this, "POST");
Symbol 82 MovieClip Frame 5
if (valmis == "ok") {
gotoAndStop (24);
} else {
play();
}
Symbol 82 MovieClip Frame 6
gotoAndPlay (5);
Symbol 82 MovieClip Frame 9
scr_n = eval ("_root." add scr_n);
scr_r1 = eval ("_root." add scr_r1);
scr_r2 = eval ("_root." add scr_r2);
scr_r3 = eval ("_root." add scr_r3);
scr_r4 = eval ("_root." add scr_r4);
scr_r5 = eval ("_root." add scr_r5);
scr_r6 = eval ("_root." add scr_r6);
loadVariables ("data/dt_scrphp.php", this, "POST");
Symbol 82 MovieClip Frame 10
if (valmis == "ok") {
gotoAndStop (24);
} else {
play();
}
Symbol 82 MovieClip Frame 11
gotoAndPlay (10);
Symbol 82 MovieClip Frame 24
stop();
if (scr_t == "l") {
_root.hs_teksti = scr_teksti;
}
_parent.play();
Symbol 93 Button
on (press) {
startDrag (this, false, (getProperty("../tausta", _x) - (getProperty("../tausta", _width) / 2)) + 0.5, getProperty("../tausta", _y), (getProperty("../tausta", _x) + (getProperty("../tausta", _width) / 2)) - 0.5, getProperty("../tausta", _y));
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 95 MovieClip Frame 1
maxarvo = 100;
temp = int(pallo._x + (tausta._width / 2));
_parent[this._name + "luku"] = int(temp * ((maxarvo + 2) / tausta._width));
Symbol 95 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 86 MovieClip "teksti" in Symbol 96 MovieClip Frame 1
onClipEvent (load) {
this.hs_laatikko = _root.hs_teksti;
}
onClipEvent (enterFrame) {
setProperty(this, _y , (_parent.vieritysluku * ((this._height - 515) / 100)) / -1);
}
Symbol 97 Button
on (release) {
gotoAndStop (2);
}