Combined Code
frame 1 {
Stage.showMenu = false;
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
}
frame 1 {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._height = getPercent * 400;
this.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
this.gotoAndStop(3);
}
}
// unknown tag 88 length 246
button 9 {
on (release) {
getURL('http://www.escapefever.com', '_blank');
}
}
// unknown tag 88 length 80
movieClip 13 {
frame 1 {
this.onRelease = function () {
getURL('http://www.freeworldgroup.com', '_blank');
};
}
}
movieClip 14 {
}
instance of movieClip 14 {
onClipEvent (release) {
getURL('http://www.freeworldgroup.com', '_blank');
}
}
frame 2 {
this.gotoAndPlay(1);
}
frame 3 {
Stage.showMenu = false;
stop();
}
frame 3 {
_root.faas1 = true;
_root.faas2 = false;
_root.faas3 = false;
_root.n6u_tulel = false;
_root.viinerid_sees = false;
_root.karpLahti = false;
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 22 {
}
button 24 {
on (release) {
getURL('http://www.escapefever.com', '_blank');
}
}
movieClip 27 {
frame 1 {
stop();
}
}
movieClip 29 {
}
button 35 {
on (release) {
_root.gotoAndStop(47);
}
}
button 39 {
on (release) {
_root.intro.gotoAndPlay(2);
}
}
movieClip 44 {
}
movieClip 47 {
}
movieClip 48 {
}
movieClip 50 {
}
instance of movieClip 14 {
onClipEvent (release) {
getURL('http://www.freeworldgroup.com', '_blank');
}
}
movieClip 53 {
}
button 54 {
on (release) {
getURL('http://www.escapefever.com', '_blank');
}
}
movieClip 88 {
}
movieClip 89 {
}
movieClip 90 {
frame 1 {
stop();
}
frame 2 {
MovieClip.prototype.enabled = false;
Button.prototype.enabled = false;
linker.enabled = true;
}
frame 222 {
MovieClip.prototype.enabled = true;
Button.prototype.enabled = true;
_root.gotoAndStop(4);
}
}
frame 4 {
b1.onRollOver = function () {
captionFN(true, 'Our Homepage', this);
this.onRollOut = function () {
captionFN(false);
};
};
b2.onRollOver = function () {
captionFN(true, 'Walkthrough', this);
this.onRollOut = function () {
captionFN(false);
};
};
kassitoit_inv.onRollOver = function () {
captionFN(true, 'Cat Food', this);
this.onRollOut = function () {
captionFN(false);
};
this.onPress = function () {
captionFN(false);
};
};
vorstid_inv.onRollOver = function () {
captionFN(true, 'Sausages', this);
this.onRollOut = function () {
captionFN(false);
};
this.onPress = function () {
captionFN(false);
};
};
n6u_inv.onRollOver = function () {
captionFN(true, 'Boiling Dish', this);
this.onRollOut = function () {
captionFN(false);
};
this.onPress = function () {
captionFN(false);
};
};
kiri_inv.onRollOver = function () {
captionFN(true, 'An Envelope', this);
this.onRollOut = function () {
captionFN(false);
};
this.onPress = function () {
captionFN(false);
};
};
exitKey_inv.onRollOver = function () {
captionFN(true, 'Key', this);
this.onRollOut = function () {
captionFN(false);
};
this.onPress = function () {
captionFN(false);
};
};
captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
_root.createEmptyMovieClip('hoverCaption', this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7 * cap.desc.text.length;
cap._alpha = 75;
if (bName._width + bName._x + cap._width > Stage.width) {
xo = -2 - cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
}
hoverCaption.onEnterFrame = function () {
cap._x = _root._xmouse + xo;
cap._y = _root._ymouse + yo;
cap._visible = true;
};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};
}
frame 4 {
function createExplosion(targetX, targetY) {
var v6 = 0;
while (v6 < particleTotal) {
var v5 = flash.display.BitmapData.loadBitmap('fire.jpg');
var v3 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth());
var v4 = v3.createEmptyMovieClip('internal_holder', v3.getNextHighestDepth());
v4._x = -v5.width / 2;
v4._y = -v5.height / 2;
v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never');
v3._x = targetX;
v3._y = targetY;
v3._rotation = random(360);
v3._alpha = random(50) + 50;
v3.boundyLeft = targetX - particleRange;
v3.boundyTop = targetY - particleRange;
v3.boundyRight = targetX + particleRange;
v3.boundyBottom = targetY + particleRange;
v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed);
v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed);
v3.speedX *= particleMaxSpeed;
v3.speedY *= particleMaxSpeed;
v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed;
++numberOfParticles;
v3.onEnterFrame = function () {
this._alpha -= this.fadeSpeed;
this._x += this.speedX;
this._y += this.speedY;
if (this.speedY < particleMaxSpeed) {
this.speedY += gravity;
}
if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) {
this.removeMovieClip();
--numberOfParticles;
}
};
++v6;
}
}
function plahvatus() {
createExplosion(_xmouse, _ymouse);
}
var particleMaxSpeed = 5;
var particleFadeSpeed = 5;
var particleTotal = 25;
var particleRange = 100;
var gravity = 0.3;
}
movieClip 95 {
}
movieClip 98 {
}
movieClip 99 {
}
button 100 {
on (press) {
_root.gotoAndStop(5);
}
}
button 101 {
on (press) {
_root.gotoAndStop(7);
}
}
button 102 {
on (release) {
_root.gotoAndStop(12);
}
}
button 103 {
on (release) {
_root.gotoAndStop(13);
}
}
button 104 {
on (release) {
_root.laua_freim = _root._currentframe;
_root.gotoAndStop(17);
}
}
button 105 {
on (release) {
_root.kausi_freim = _root._currentframe;
_root.gotoAndStop(18);
}
}
button 106 {
on (release) {
_root.gotoAndStop(21);
}
}
movieClip 109 {
}
movieClip 112 {
}
instance b1 of movieClip 112 {
onClipEvent (release) {
getURL('http://www.escapefever.com', '_blank');
}
}
button 118 {
on (release) {
getURL('http://www.escapefever.com/sassy-cat-escape-walkthrough', '_blank');
}
}
movieClip 121 {
frame 1 {
stop();
}
}
instance kassitoit_inv of movieClip 121 {
onClipEvent (press) {
thisX = (eval(this))._x;
thisY = (eval(this))._y;
startDrag(this, true);
}
onClipEvent (release, releaseOutside) {
if (_root.kassike.hitTest(this)) {
_root.jutumull.gotoAndStop(3);
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
} else {
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
}
}
}
movieClip 124 {
}
movieClip 127 {
}
movieClip 132 {
}
movieClip 135 {
}
movieClip 136 {
}
movieClip 139 {
}
movieClip 140 {
}
movieClip 143 {
}
movieClip 144 {
}
movieClip 145 {
frame 1 {
clip.cacheAsBitmap = true;
mask.cacheAsBitmap = true;
clip.setMask('mask');
}
}
movieClip 146 {
}
movieClip 147 {
frame 1 {
stop();
}
}
instance vorstid_inv of movieClip 147 {
onClipEvent (press) {
thisX = (eval(this))._x;
thisY = (eval(this))._y;
startDrag(this, true);
}
onClipEvent (release, releaseOutside) {
if (_root.kassike.hitTest(this) && this._currentframe == 2) {
_root.jutumull.gotoAndStop(4);
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
} else {
if (_root.n6u_pliital.hitTest(this) && this._currentframe == 2) {
_root.n6u_pliital.gotoAndStop(3);
_root.viinerid_sees = true;
this.gotoAndStop(3);
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
} else {
if (_root.kassike.hitTest(this) && this._currentframe == 4) {
_root.kassike.gotoAndStop(2);
_root.faas2 = true;
_root.faas1 = false;
_root.jutumull.gotoAndStop(5);
this._visible = false;
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
} else {
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
}
}
}
}
}
movieClip 150 {
frame 1 {
stop();
}
}
movieClip 152 {
frame 1 {
stop();
}
}
instance n6u_inv of movieClip 152 {
onClipEvent (press) {
thisX = (eval(this))._x;
thisY = (eval(this))._y;
startDrag(this, true);
}
onClipEvent (release, releaseOutside) {
if (_root.vesi.hitTest(this) && this._currentframe == 2) {
this.gotoAndStop(3);
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
} else {
if (_root.pliita_spot.hitTest(this) && this._currentframe == 3) {
this._visible = false;
_root.n6u_pliital.gotoAndStop(2);
_root.n6u_tulel = true;
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
} else {
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
}
}
}
}
movieClip 154 {
}
movieClip 157 {
}
movieClip 158 {
frame 1 {
stop();
}
}
instance kiri_inv of movieClip 158 {
onClipEvent (release) {
this.gotoAndStop(3);
_root.kirja.gotoAndStop(2);
MovieClip.prototype.enabled = false;
Button.prototype.enabled = false;
}
}
movieClip 162 {
}
button 163 {
on (release) {
this.nextFrame();
}
}
movieClip 167 {
}
movieClip 168 {
}
button 169 {
on (release) {
this.gotoAndStop(1);
_root.kiri_inv.gotoAndStop(2);
MovieClip.prototype.enabled = true;
Button.prototype.enabled = true;
}
}
movieClip 170 {
frame 1 {
stop();
}
frame 2 {
but1.enabled = true;
}
frame 3 {
but2.enabled = true;
}
}
movieClip 172 {
}
movieClip 173 {
frame 1 {
stop();
}
}
instance exitKey_inv of movieClip 173 {
onClipEvent (press) {
thisX = (eval(this))._x;
thisY = (eval(this))._y;
startDrag(this, true);
}
onClipEvent (release, releaseOutside) {
if (_root.lukukas.hitTest(this)) {
_root.gotoAndPlay(29);
this._visible = false;
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
} else {
eval(this)._x = thisX;
eval(this)._y = thisY;
stopDrag();
}
}
}
button 175 {
on (press) {
stopAllSounds();
gotoAndStop('Music Off');
}
}
button 177 {
on (press) {
gotoAndStop('Music On');
}
}
movieClip 178 {
frame 1 {
stop();
_root.taustaMuusika = new Sound(this);
_root.taustaMuusika.attachSound('taustaMusa');
_root.taustaMuusika.start(0, 9999);
}
frame 12 {
stop();
_root.taustaMuusika.stop();
}
}
movieClip 182 {
}
movieClip 187 {
frame 1 {
stop();
}
}
instance of movieClip 187 {
onClipEvent (load) {
if (_root.n6u_tulel == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
button 188 {
on (press) {
_root.gotoAndStop(6);
}
}
button 189 {
on (press) {
_root.gotoAndStop(4);
}
}
button 190 {
on (release) {
_root.gotoAndStop(14);
}
}
button 193 {
on (release) {
_root.gotoAndStop(19);
}
}
button 196 {
on (press) {
_root.gotoAndStop(8);
}
}
button 197 {
on (release) {
_root.gotoAndStop(9);
}
}
movieClip 201 {
}
movieClip 203 {
frame 14 {
var phrase_string = 'I\'m not going to do anything when my stomach is empty.';
var n = phrase_string.length;
var i = 0;
this.onEnterFrame = function () {
if (i < n) {
display_txt.text += phrase_string.substr(i, 1);
i += 1;
}
};
}
frame 14 {
stop();
}
}
movieClip 205 {
}
movieClip 207 {
frame 14 {
var phrase_string = 'What is this? I am not eating that!';
var n = phrase_string.length;
var i = 0;
this.onEnterFrame = function () {
if (i < n) {
display_txt.text += phrase_string.substr(i, 1);
i += 1;
}
};
}
frame 14 {
stop();
}
}
movieClip 209 {
}
movieClip 211 {
frame 14 {
var phrase_string = 'I don\'t like cold sausages.';
var n = phrase_string.length;
var i = 0;
this.onEnterFrame = function () {
if (i < n) {
display_txt.text += phrase_string.substr(i, 1);
i += 1;
}
};
}
frame 14 {
stop();
}
}
movieClip 213 {
frame 14 {
var phrase_string = 'What starts with E and ends with E and contains only one letter?';
var n = phrase_string.length;
var i = 0;
this.onEnterFrame = function () {
if (i < n) {
display_txt.text += phrase_string.substr(i, 1);
i += 1;
}
};
}
frame 14 {
stop();
}
}
movieClip 217 {
frame 14 {
var phrase_string = 'Well done! Here is your envelope...Now leave me alone!';
var n = phrase_string.length;
var i = 0;
this.onEnterFrame = function () {
if (i < n) {
display_txt.text += phrase_string.substr(i, 1);
i += 1;
}
};
}
frame 14 {
stop();
}
}
movieClip 219 {
frame 14 {
var phrase_string = 'I cannot help you any further, it is up to you!';
var n = phrase_string.length;
var i = 0;
this.onEnterFrame = function () {
if (i < n) {
display_txt.text += phrase_string.substr(i, 1);
i += 1;
}
};
}
frame 14 {
stop();
}
}
movieClip 221 {
frame 14 {
var phrase_string = 'Tip: There is no place for this cat food!';
var n = phrase_string.length;
var i = 0;
this.onEnterFrame = function () {
if (i < n) {
display_txt.text += phrase_string.substr(i, 1);
i += 1;
}
};
}
frame 14 {
stop();
}
}
movieClip 223 {
frame 14 {
var phrase_string = 'That was it, now you\'ll have to figure it out yourself!';
var n = phrase_string.length;
var i = 0;
this.onEnterFrame = function () {
if (i < n) {
display_txt.text += phrase_string.substr(i, 1);
i += 1;
}
};
}
frame 14 {
stop();
}
}
movieClip 224 {
frame 1 {
stop();
}
frame 5 {
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(13) && _root.jutumull.vastus_cat.text.toLowerCase() == 'envelope') {
_root.kassike.gotoAndStop(3);
_root.faas2 = false;
_root.faas3 = true;
_root.jutumull.gotoAndStop(6);
}
};
Key.addListener(keyListener);
}
}
movieClip 226 {
}
movieClip 227 {
frame 1 {
stop();
}
}
movieClip 228 {
frame 1 {
stop();
}
instance of movieClip 48 {
onClipEvent (release) {
_root.jutumull.gotoAndStop(2);
}
}
instance of movieClip 226 {
onClipEvent (release) {
_root.jutumull.gotoAndStop(5);
}
}
instance of movieClip 226 {
onClipEvent (release) {
var kuhuMinna = random(3) + 7;
_root.jutumull.gotoAndStop(kuhuMinna);
}
}
instance of movieClip 227 {
onClipEvent (load) {
if (_root.kiri == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
_root.plahvatus();
this.gotoAndStop(2);
_root.kiri = true;
_root.kiri_inv.gotoAndStop(2);
}
}
}
instance kassike of movieClip 228 {
onClipEvent (load) {
if (_root.faas1 == true) {
this.gotoAndStop(1);
} else {
if (_root.faas2 == true) {
this.gotoAndStop(2);
} else {
if (_root.faas3 == true) {
this.gotoAndStop(3);
}
}
}
}
}
button 230 {
on (release) {
_root.gotoAndStop(16);
}
}
movieClip 232 {
}
movieClip 236 {
frame 1 {
stop();
}
}
instance kt of movieClip 236 {
onClipEvent (load) {
if (_root.kassitoit == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
_root.plahvatus();
this.gotoAndStop(2);
_root.kassitoit = true;
_root.kassitoit_inv.gotoAndStop(2);
}
}
button 238 {
on (release) {
_root.gotoAndStop(10);
}
}
button 239 {
on (release) {
_root.gotoAndStop(11);
}
}
button 240 {
on (release) {
_root.gotoAndStop(23);
}
}
button 241 {
on (release) {
_root.gotoAndStop(24);
}
}
button 244 {
on (press) {
_root.gotoAndStop(9);
}
}
button 245 {
on (release) {
_root.gotoAndStop(25);
}
}
movieClip 248 {
frame 1 {
stop();
}
}
instance of movieClip 248 {
onClipEvent (load) {
if (_root.vorstid == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
_root.plahvatus();
this.gotoAndStop(2);
_root.vorstid = true;
_root.vorstid_inv.gotoAndStop(2);
}
}
instance of movieClip 150 {
onClipEvent (load) {
if (_root.n6u == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
_root.plahvatus();
this.gotoAndStop(2);
_root.n6u = true;
_root.n6u_inv.gotoAndStop(2);
}
}
button 254 {
on (release) {
_root.gotoAndStop(22);
}
}
button 255 {
on (release) {
_root.gotoAndStop(26);
}
}
button 256 {
on (release) {
if (_root.puzzleLahendatud == true) {
_root.gotoAndStop(28);
} else {
_root.gotoAndStop(27);
}
}
}
movieClip 261 {
frame 1 {
stop();
}
}
instance of movieClip 261 {
onClipEvent (load) {
if (_root.n6u_tulel == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
button 262 {
on (release) {
_root.gotoAndStop(15);
}
}
movieClip 267 {
frame 1 {
stop();
}
}
button 269 {
on (release) {
_root.vorstid_inv.gotoAndStop(4);
_root.viinerid_sees = false;
this.nextFrame();
}
}
movieClip 270 {
frame 1 {
stop();
}
}
instance n6u_pliital of movieClip 270 {
onClipEvent (load) {
if (_root.n6u_tulel == true) {
this.gotoAndStop(2);
}
if (_root.viinerid_sees == true) {
this.gotoAndStop(3);
}
}
}
button 271 {
on (press) {
_root.gotoAndStop(14);
}
}
button 276 {
on (press) {
_root.gotoAndStop(_root.laua_freim);
}
}
button 279 {
on (press) {
_root.gotoAndStop(_root.kausi_freim);
}
}
button 284 {
on (press) {
_root.gotoAndStop(21);
}
}
button 287 {
on (release) {
_root.gotoAndStop(20);
}
}
button 290 {
on (press) {
_root.gotoAndStop(13);
}
}
movieClip 296 {
}
button 299 {
on (press) {
_root.gotoAndStop(10);
}
}
movieClip 304 {
}
// unknown tag 88 length 67
button 310 {
on (release) {
if (_root.puzzle1.text.toLowerCase() == 'o' && _root.puzzle2.text.toLowerCase() == 't') {
_root.gotoAndStop(28);
_root.puzzleLahendatud = true;
}
}
}
movieClip 313 {
}
movieClip 318 {
frame 1 {
stop();
}
}
button 319 {
on (release) {
this.nextFrame();
this.ani1.gotoAndPlay(2);
}
}
button 329 {
on (release) {
this.gotoAndStop(1);
this.ani1.gotoAndPlay(2);
}
}
movieClip 330 {
frame 1 {
stop();
}
}
movieClip 332 {
}
movieClip 334 {
}
movieClip 335 {
frame 1 {
stop();
}
}
movieClip 336 {
frame 1 {
stop();
}
frame 10 {
stop();
}
instance v6tmeke of movieClip 335 {
onClipEvent (load) {
if (_root.exitKey == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
_root.plahvatus();
this.gotoAndStop(2);
_root.exitKey = true;
_root.exitKey_inv.gotoAndStop(2);
}
}
}
instance p22sla of movieClip 336 {
onClipEvent (load) {
if (_root.karpLahti == true) {
_root.p22sla.gotoAndStop(10);
}
}
}
button 338 {
on (release) {
if (_root.karpLahti == false && _root.faas3 == true && _root.n1._currentframe == 6 && _root.n2._currentframe == 7 && _root.n3._currentframe == 4 && _root.n4._currentframe == 9) {
_root.p22sla.gotoAndPlay(2);
_root.karpLahti = true;
}
}
}
movieClip 340 {
instance of movieClip 14 {
onClipEvent (release) {
getURL('http://www.freeworldgroup.com', '_blank');
}
}
}
frame 46 {
stop();
}
button 345 {
on (release) {
_root.gotoAndStop(3);
}
}
instance of movieClip 14 {
onClipEvent (release) {
getURL('http://www.freeworldgroup.com', '_blank');
}
}