Combined Code
movieClip 4 {
}
movieClip 5 anime {
}
movieClip 8 nanael {
}
movieClip 12 ukko2 {
}
frame 1 {
var total;
var loaded;
var haxx;
this.onEnterFrame = function () {
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
haxx = loaded + 1;
loadd.text = (haxx / total) * 100;
if (loaded >= total) {
delete onEnterFrame;
nextFrame();
gotoAndStop(undefined);
undefined;
}
};
stop();
}
// unknown tag 88 length 82
frame 2 {
}
button 20 {
on (release) {
play();
}
}
frame 3 {
function posit() {
ukko2._x = random(850) + 50;
ukko2._y = random(300) + 80;
}
function posit2() {
ukko1._x = random(850) + 50;
ukko1._y = random(300) + 80;
}
var pos = 0;
var pos2 = 0;
var pos3 = 100;
this.nanael._visible = false;
this.anime._visible = false;
mysound = new Sound(this);
mysound.attachSound('soundi');
mysound.start(0, 1000);
}
movieClip 25 {
}
movieClip 30 {
frame 16 {
gotoAndPlay(1);
}
}
movieClip 32 {
}
movieClip 33 {
}
movieClip 36 {
}
// unknown tag 88 length 13
frame 5 {
var pos = mysound.position;
teksti.text = '';
this.nanael._visible = false;
this.anime._visible = false;
ganbatte.text = '';
if (pos > 4000 && pos < 5600) {
this.nanael._visible = true;
ganbatte.text = 'GANBATTEE~~~~';
}
if (pos > 25100 && pos < 27000) {
this.anime._visible = true;
ganbatte.text = 'HAYAKU HAJAQ!!!';
}
if (pos > pos2 + 200) {
posit();
pos2 = pos;
}
if (pos > pos3 + 200) {
posit2();
pos3 = pos;
}
if (pos < 100) {
pos3 = 0;
}
if (pos < 200) {
pos2 = 0;
}
gotoAndPlay(4);
}