Combined Code
movieClip 20 {
}
movieClip 21 m_lomt {
frame 8 {
stop();
}
}
movieClip 24 m_sir_zasip {
frame 1 {
stop();
}
}
movieClip 26 {
}
// unknown tag 88 length 219
movieClip 29 {
}
movieClip 30 {
frame 31 {
_parent.removeMovieClip();
}
}
movieClip 31 lk_netsira {
}
movieClip 34 p_gor {
frame 1 {
stop();
drag = true;
onEnterFrame = function () {
if (drag == true) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
}
};
onMouseUp = function () {
if (drag == true) {
if (_root.m_mask.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
drag = false;
} else {
--_root.part_depths;
this.removeMovieClip();
}
}
};
}
}
movieClip 41 p_ogur {
frame 1 {
stop();
drag = true;
onEnterFrame = function () {
if (drag == true) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
}
};
onMouseUp = function () {
if (drag == true) {
if (_root.m_mask.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
drag = false;
} else {
--_root.part_depths;
this.removeMovieClip();
}
}
};
}
}
movieClip 44 {
}
movieClip 47 p_ol2 {
frame 1 {
stop();
drag = true;
onEnterFrame = function () {
if (drag == true) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
}
};
onMouseUp = function () {
if (drag == true) {
if (_root.m_mask.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
drag = false;
} else {
--_root.part_depths;
this.removeMovieClip();
}
}
};
}
}
movieClip 50 {
}
movieClip 53 p_ol1 {
frame 1 {
stop();
drag = true;
onEnterFrame = function () {
if (drag == true) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
}
};
onMouseUp = function () {
if (drag == true) {
if (_root.m_mask.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
drag = false;
} else {
--_root.part_depths;
this.removeMovieClip();
}
}
};
}
}
movieClip 56 {
}
movieClip 59 p_pom {
frame 1 {
stop();
drag = true;
onEnterFrame = function () {
if (drag == true) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
}
};
onMouseUp = function () {
if (drag == true) {
if (_root.m_mask.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
drag = false;
} else {
--_root.part_depths;
this.removeMovieClip();
}
}
};
}
}
movieClip 62 {
}
movieClip 63 p_mayo {
frame 1 {
stop();
drag = true;
onEnterFrame = function () {
if (drag == true) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
}
};
onMouseUp = function () {
if (drag == true) {
if (_root.m_mask.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
drag = false;
} else {
--_root.part_depths;
this.removeMovieClip();
}
}
};
}
}
movieClip 68 p_kol {
frame 1 {
stop();
drag = true;
onEnterFrame = function () {
if (drag == true) {
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
}
};
onMouseUp = function () {
if (drag == true) {
if (_root.m_mask.hitTest(_root._xmouse, _root._ymouse, 1)) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
drag = false;
} else {
--_root.part_depths;
this.removeMovieClip();
}
}
};
}
}
movieClip 71 {
}
movieClip 74 {
}
movieClip 76 {
}
// unknown tag 88 length 229
movieClip 105 {
frame 1 {
stop();
}
frame 2 {
_root.rasterizeMovieClip(this);
}
frame 3 {
_root.rasterizeMovieClip(this);
}
frame 4 {
_root.rasterizeMovieClip(this);
}
frame 5 {
_root.rasterizeMovieClip(this);
}
frame 6 {
_root.rasterizeMovieClip(this);
}
frame 7 {
_root.rasterizeMovieClip(this);
}
frame 8 {
_root.rasterizeMovieClip(this);
}
frame 9 {
_root.rasterizeMovieClip(this);
}
frame 10 {
_root.rasterizeMovieClip(this);
}
frame 11 {
_root.rasterizeMovieClip(this);
}
frame 12 {
_root.rasterizeMovieClip(this);
}
frame 13 {
_root.rasterizeMovieClip(this);
}
frame 14 {
_root.rasterizeMovieClip(this);
}
frame 15 {
_root.rasterizeMovieClip(this);
}
frame 16 {
_root.rasterizeMovieClip(this);
}
frame 17 {
_root.rasterizeMovieClip(this);
}
frame 18 {
_root.rasterizeMovieClip(this);
}
frame 19 {
_root.rasterizeMovieClip(this);
}
frame 20 {
_root.rasterizeMovieClip(this);
}
frame 21 {
_root.rasterizeMovieClip(this);
}
frame 22 {
_root.rasterizeMovieClip(this);
}
frame 23 {
_root.rasterizeMovieClip(this);
}
frame 24 {
_root.rasterizeMovieClip(this);
}
}
movieClip 106 {
instance txt of movieClip 105 {
}
}
movieClip 108 m_final_2 {
frame 1 {
if (_root.sound_play == true) {
_root.sfx.s9.start();
}
}
instance of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(23);
}
}
frame 160 {
_root.cha.enabled = true;
_root.nextFrame();
this.removeMovieClip();
}
}
movieClip 111 {
}
movieClip 112 m_final_3 {
frame 1 {
if (_root.sound_play == true) {
_root.sfx.s9.start();
}
}
instance of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(24);
}
}
frame 81 {
_root.cha.enabled = true;
_root.nextFrame();
this.removeMovieClip();
}
}
movieClip 113 m_final {
frame 1 {
if (_root.sound_play == true) {
_root.sfx.s9.start();
}
}
instance of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(14);
}
}
frame 81 {
_root.b_play.enabled = true;
_root.b_more.enabled = true;
_root.attachMovie('m_osv', 'm_osv', 3000);
this.removeMovieClip();
}
}
movieClip 114 m_osv {
frame 10 {
this.removeMovieClip();
}
}
movieClip 116 m_zat {
frame 15 {
_root.nextFrame();
this.removeMovieClip();
}
}
movieClip 118 m_hint2 {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 120 {
}
// unknown tag 88 length 219
movieClip 124 hint {
frame 7 {
stop();
onEnterFrame = function () {
if (hit_parent.hitTest(this)) {
} else {
hit_parent.t = 100;
hit_parent.hint_exist = false;
hit_parent.timer = false;
hit_parent.mc = null;
this.removeMovieClip();
}
};
}
}
movieClip 126 m_RES {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
frame 2 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
stop();
System.security.allowDomain('www.playpink.com');
var lc = new LocalConnection();
_root.gamedomain = lc.domain();
_root.gamename = 'NY_Thin_Crust';
_root.createEmptyMovieClip('temp', 1123);
loadMovie('http://www.playpink.com/partners/connect.swf', temp);
var clickurl = 'http://www.playpink.com/?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
linkURL = clickurl;
_quality = 'MEDIUM';
qual = 1;
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
// unknown tag 88 length 56
movieClip 134 {
frame 1 {
stop();
}
}
movieClip 139 {
}
movieClip 141 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
so.stop();
this.removeMovieClip();
_root.nextFrame();
} else {
pr = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
anim.gotoAndStop(Math.round(pr * 24 / 100));
}
};
}
}
button 146 {
on (release) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 148 {
}
frame 3 {
gotoAndPlay(_currentframe + 1);
}
button 149 {
on (press) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 152 {
}
movieClip 155 {
}
movieClip 157 {
}
movieClip 159 {
}
movieClip 161 {
}
movieClip 163 {
}
movieClip 165 {
}
movieClip 167 {
}
movieClip 169 {
}
movieClip 171 {
}
movieClip 173 {
}
movieClip 175 {
}
movieClip 176 {
}
movieClip 178 {
}
movieClip 181 {
}
movieClip 183 {
}
movieClip 186 {
}
movieClip 187 {
}
movieClip 189 {
}
frame 187 {
onEnterFrame();
}
frame 188 {
function rasterizeMovieClip(obj, bdLev) {
var v3 = obj._parent;
var v5 = bdLev || v3.getNextHighestDepth();
var v2 = v3.createEmptyMovieClip(obj._name + 'BD', v5);
var v4 = new flash.display.BitmapData(obj._width, obj._height, true, 0);
v4.draw(obj);
v2.attachBitmap(v4, v2.getNextHighestDepth());
v2._x = obj._x;
v2._y = obj._y;
obj.swapDepths(v3.getNextHighestDepth());
obj.removeMovieClip();
}
stop();
_root.attachMovie('m_osv', 'm_osv', 3000);
_quality = 'MEDIUM';
qual = 1;
_root.score = 0;
_root.bb = 0;
_global.pdis = function (x1, y1, x2, y2) {
var v3 = x2 - x1;
var v2 = y2 - y1;
var v1 = v3 * v3 + v2 * v2;
v1 = Math.sqrt(v1);
return v1;
};
_global.pdir = function (x1, y1, x2, y2) {
var v3 = x2 - x1;
var v1 = y2 - y1;
var v2 = Math.atan2(v1, v3);
var v4 = v2 * 57.32;
return v4;
};
_global.choose = function () {
return arguments[random(arguments.length)];
};
_global.mod = function (x) {
if (x > 0) {
return x;
}
x = -x;
return x;
};
_global.nf = function (id) {
id.gotoAndPlay(id._currentframe + 1);
};
}
frame 188 {
hint_cr = function (id, txt) {
id.timer = false;
id.t = 0;
id.hint_exist = false;
id.txt = txt;
};
hint = function (id) {
id.onRollOver = function () {
id.timer = true;
id.t = 0;
id.hint_exist == false;
};
id.onRollOut = function () {
id.timer = false;
if (id.hint_exist == true) {
id.hint_exist = false;
id.mc.removeMovieClip();
}
};
if (id.timer == true) {
if (id.hint_exist == false) {
++id.t;
if (id.t > 10) {
id.t = 0;
id.hint_exist = true;
id.mc = _root.attachMovie('hint', 'hint', 500);
id.mc.txt.text = id.txt;
id.mc._x = _root._xmouse;
id.mc._y = _root._ymouse;
id.mc.hit_parent = id;
}
} else {
id.mc._x = _root._xmouse;
id.mc._y = _root._ymouse;
}
}
};
drag_cr = function (id) {
id.xx = id._x;
id.yy = id._y;
};
drag = function (id) {
id.onPress = function () {
id.startDrag();
id.drag_enable = true;
_root.depth = id.getDepth();
id.swapDepths(400);
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
};
id.onMouseUp = function () {
if (id.drag_enable == true) {
id.drag_enable = false;
id.stopDrag();
id.drag_result();
id.swapDepths(_root.depth);
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
}
};
};
}
movieClip 191 {
}
instance mus of movieClip 191 {
onClipEvent (load) {
if (_root.music_loaded != true) {
_root.music_loaded = true;
so = new Sound(this);
so.attachSound('so_BG');
so.start(0, 30000);
_root.backsound_play = true;
} else {
so = new Sound(this);
so.attachSound('so_BG');
so.start(0, 30000);
if (_root.backsound_play == false) {
so.setVolume(0);
}
}
}
}
movieClip 193 {
}
instance sfx of movieClip 193 {
onClipEvent (load) {
if (_root.sound_loaded != true) {
_root.sound_loaded = true;
_root.sound_play = true;
}
s1 = new Sound(this);
s1.attachSound('s1_knopki');
s2 = new Sound(this);
s2.attachSound('s2_noj');
s3 = new Sound(this);
s3.attachSound('s3_haamm');
s4 = new Sound(this);
s4.attachSound('s4_drag');
s5 = new Sound(this);
s5.attachSound('s5_drop');
s6 = new Sound(this);
s6.attachSound('swin');
s7 = new Sound(this);
s7.attachSound('s_faild');
s8 = new Sound(this);
s8.attachSound('s8_mixer');
s9 = new Sound(this);
s9.attachSound('s9_clock');
s10 = new Sound(this);
s10.attachSound('s_uron');
s11 = new Sound(this);
s11.attachSound('so_click');
}
}
movieClip 200 {
}
movieClip 201 {
}
movieClip 205 {
}
// unknown tag 88 length 49
movieClip 208 {
}
movieClip 209 {
}
movieClip 213 {
}
button 217 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 221 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
button 225 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 227 {
}
movieClip 228 {
}
frame 189 {
}
frame 189 {
_root.attachMovie('m_osv', 'm_osv', 3000);
}
movieClip 232 {
}
movieClip 233 {
}
button 239 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
movieClip 249 {
}
movieClip 252 {
frame 1 {
ps = 5;
}
frame 41 {
if (ps > 0) {
--ps;
gotoAndPlay(2);
} else {
gotoAndPlay('play');
}
}
}
frame 190 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 8.34;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
onEnterFrame = function () {};
nextFrame();
};
}
movieClip 255 {
}
movieClip 258 {
}
movieClip 261 {
}
movieClip 263 {
}
movieClip 264 {
frame 1 {
gotoAndPlay(2);
}
frame 6 {
enable = true;
}
frame 7 {
stop();
}
frame 8 {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
}
frame 13 {
stop();
}
}
movieClip 265 {
frame 1 {
current_p = 1;
max_p = 4;
for (var i in this) {
var id = this[i];
id.enable = false;
id.gotoAndPlay('app');
}
p_plus = function () {
++current_p;
if (current_p > max_p) {
_root.pro += _root.pro_step;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
_parent.nextFrame();
}
};
reset = function () {
current_p = 1;
for (var v3 in this) {
var v2 = this[v3];
if (v2.enable == false) {
v2.gotoAndPlay('app');
}
}
};
clix = function (id) {
if (id.enable == true) {
if (id.hitTest(_root._xmouse, _root._ymouse, 0)) {
var v4 = 'p' + current_p;
var v3 = id._name;
if (v4 == v3) {
p_plus();
id.gotoAndPlay('del');
id.enable = false;
}
}
}
};
app = function (id) {
id.enable = true;
};
}
instance p1 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p2 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p3 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p4 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
}
movieClip 267 {
}
movieClip 268 {
}
movieClip 269 {
frame 1 {
n = 2;
}
frame 10 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 11 {
gotoAndPlay(_currentframe + 1);
}
frame 15 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 16 {
gotoAndPlay(_currentframe + 1);
}
frame 20 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 21 {
gotoAndPlay(_currentframe + 1);
}
frame 25 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 26 {
gotoAndPlay(_currentframe + 1);
}
frame 30 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 31 {
gotoAndPlay(_currentframe + 1);
}
frame 35 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 36 {
gotoAndPlay(_currentframe + 1);
}
frame 48 {
--n;
if (n > 0) {
gotoAndPlay('st');
} else {
stop();
_root.win();
}
}
}
movieClip 272 {
}
instance m_noj of movieClip 272 {
onClipEvent (load) {
px = _root._xmouse;
py = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
var dy = py - _root._ymouse;
m_noj._rotation = -50 + m_noj._y / 6;
px = _root._xmouse;
py = _root._ymouse;
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(2);
}
}
movieClip 277 {
frame 1 {
stop();
}
}
movieClip 282 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 282 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
movieClip 284 {
}
instance kn1 of movieClip 284 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
movieClip 286 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 286 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
button 290 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 291 {
}
movieClip 293 {
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 191 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 33.4;
_root.pro_step2 = 0;
px = _xmouse;
py = _ymouse;
noj = function () {
m_noj._x = _xmouse;
m_noj._y = _ymouse;
var v1 = py - _ymouse;
m_noj._rotation = -50 + m_noj._y / 6;
px = _xmouse;
py = _ymouse;
};
onEnterFrame = function () {
noj();
};
}
movieClip 296 {
}
movieClip 301 {
frame 11 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 14 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
gotoAndPlay(_currentframe + 1);
}
frame 35 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(3);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 20;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 192 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 5;
}
movieClip 318 {
frame 10 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 11 {
gotoAndPlay(_currentframe + 1);
}
frame 15 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 16 {
gotoAndPlay(_currentframe + 1);
}
frame 33 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 34 {
gotoAndPlay(_currentframe + 1);
}
frame 38 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 39 {
gotoAndPlay(_currentframe + 1);
}
frame 43 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 44 {
gotoAndPlay(_currentframe + 1);
}
frame 65 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 66 {
gotoAndPlay(_currentframe + 1);
}
frame 70 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 71 {
gotoAndPlay(_currentframe + 1);
}
frame 88 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 89 {
gotoAndPlay(_currentframe + 1);
}
frame 93 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 94 {
gotoAndPlay(_currentframe + 1);
}
frame 98 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 99 {
gotoAndPlay(_currentframe + 1);
}
frame 120 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 121 {
gotoAndPlay(_currentframe + 1);
}
frame 125 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 126 {
gotoAndPlay(_currentframe + 1);
}
frame 143 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 144 {
gotoAndPlay(_currentframe + 1);
}
frame 148 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 149 {
gotoAndPlay(_currentframe + 1);
}
frame 153 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 154 {
gotoAndPlay(_currentframe + 1);
}
frame 175 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 176 {
gotoAndPlay(_currentframe + 1);
}
frame 180 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 181 {
gotoAndPlay(_currentframe + 1);
}
frame 198 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 199 {
gotoAndPlay(_currentframe + 1);
}
frame 203 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 204 {
gotoAndPlay(_currentframe + 1);
}
frame 208 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 209 {
gotoAndPlay(_currentframe + 1);
}
frame 220 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(4);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 40;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 193 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
pro_step3 = 0.716;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
onEnterFrame = function () {};
nextFrame();
};
}
movieClip 321 {
}
movieClip 324 {
}
movieClip 327 {
}
movieClip 328 {
frame 1 {
n = 4;
}
frame 10 {
stop();
this.enabled = true;
onPress = function () {
_root.pro += _root.pro_step3;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
}
frame 45 {
stop();
this.enabled = false;
onEnterFrame = function () {};
onPress = function () {};
nf(this);
}
frame 55 {
--n;
if (n > 0) {
gotoAndPlay('st');
} else {
stop();
_root.win();
}
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(5);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 50;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 194 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
testo_progress = 0;
px = _xmouse;
py = _ymouse;
noj = function () {
m_noj._x = _xmouse;
m_noj._y = _ymouse;
var v1 = py - _ymouse;
m_noj._rotation = -20 + m_noj._y / 6;
px = _xmouse;
py = _ymouse;
};
onEnterFrame = function () {
noj();
};
}
movieClip 330 {
}
movieClip 334 {
}
movieClip 335 {
frame 1 {
stop();
lompt_depths = 0;
lomt_create = function () {
var v2 = attachMovie('m_lomt', 'm_lomt' + lompt_depths, lompt_depths++);
v2._x = m_mask._x + m_mask._width - 30;
v2._y = 30;
v2.setMask(m_mask2);
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
};
}
instance m_mask2 of movieClip 330 {
onClipEvent (load) {
_visible = false;
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 2 {
lomt_create();
_root.prog.gotoAndStop(8);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 3 {
lomt_create();
_root.prog.gotoAndStop(16);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 4 {
lomt_create();
_root.prog.gotoAndStop(24);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 5 {
lomt_create();
_root.prog.gotoAndStop(36);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 6 {
lomt_create();
_root.prog.gotoAndStop(48);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 7 {
lomt_create();
_root.prog.gotoAndStop(56);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 8 {
lomt_create();
_root.prog.gotoAndStop(64);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 9 {
lomt_create();
_root.prog.gotoAndStop(72);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 10 {
lomt_create();
_root.prog.gotoAndStop(80);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 11 {
lomt_create();
_root.prog.gotoAndStop(88);
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 12 {
gotoAndPlay(this._currentframe + 1);
}
frame 12 {
lomt_create();
_root.prog.gotoAndStop(100);
}
frame 30 {
trace('WIN');
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
onEnterFrame = function () {};
_root.nextFrame();
}
}
movieClip 340 {
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(6);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 195 {
onEnterFrame = function () {};
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 8.34;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
onEnterFrame = function () {};
nextFrame();
};
}
movieClip 343 {
}
movieClip 345 {
frame 1 {
n = 6;
}
frame 10 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 11 {
gotoAndPlay(_currentframe + 1);
}
frame 15 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 16 {
gotoAndPlay(_currentframe + 1);
}
frame 32 {
--n;
if (n > 0) {
gotoAndPlay('st');
} else {
stop();
_root.win();
}
}
}
instance m_noj of movieClip 272 {
onClipEvent (load) {
px = _root._xmouse;
py = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
var dy = py - _root._ymouse;
px = _root._xmouse;
py = _root._ymouse;
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(7);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 196 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
_root.pro_step2 = 1.35;
}
movieClip 348 {
}
movieClip 349 {
frame 1 {
stop();
}
}
movieClip 353 {
}
movieClip 354 {
frame 10 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 29 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 36 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 55 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 62 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 81 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 88 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 107 {
gotoAndPlay(_currentframe + 1);
}
frame 113 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(8);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 197 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
}
movieClip 357 {
}
movieClip 358 {
frame 1 {
stop();
}
}
movieClip 361 {
}
movieClip 363 {
frame 10 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 28 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 35 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 54 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 61 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 80 {
gotoAndPlay(_currentframe + 1);
}
frame 86 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(9);
}
}
movieClip 365 {
}
instance timer of movieClip 365 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 198 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
}
movieClip 368 {
}
movieClip 370 {
}
movieClip 371 {
frame 10 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 29 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 36 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 55 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 62 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 81 {
gotoAndPlay(_currentframe + 1);
}
frame 87 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(10);
}
}
instance timer of movieClip 365 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 199 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
}
movieClip 374 {
}
movieClip 376 {
}
movieClip 377 {
frame 10 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 29 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 36 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 55 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 62 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 81 {
gotoAndPlay(_currentframe + 1);
}
frame 87 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(11);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 200 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 400);
mc.removeMovieClip();
onEnterFrame = function () {};
}
button 379 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
this.removeMovieClip();
}
}
movieClip 381 {
}
instance of movieClip 381 {
onClipEvent (load) {
this.swapDepths(501);
}
}
frame 201 {
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
nextFrame();
};
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
shtraf = 0;
pro = 0;
_root.num_request = 0;
NUMREQ = [[0], [1], [2], [3], [4], [5], [6]];
next_text = function () {
++num_request;
};
}
frame 201 {
ba_zad = 10000;
blife_max = 4;
blife = blife_max;
ba_shka.gotoAndStop(1 + (blife / blife_max) * 100);
bex_d = 0;
_root.ba_uron = function () {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1001);
blife -= 2;
if (blife <= 0) {
blife = 0;
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.gotoAndStop(_currentframe - 1);
}
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
};
_root.ba_plus = function () {
++blife;
if (blife > blife_max) {
blife = blife_max;
}
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
};
}
movieClip 384 {
}
movieClip 387 {
}
movieClip 390 {
}
movieClip 397 {
frame 1 {
stop();
}
frame 9 {
stop();
_root.next_text();
}
frame 19 {
stop();
_root.next_text();
}
frame 26 {
stop();
_root.next_text();
}
frame 34 {
stop();
_root.next_text();
}
frame 42 {
stop();
_root.next_text();
}
frame 50 {
stop();
_root.next_text();
}
frame 70 {
_root.win();
}
}
movieClip 400 {
}
movieClip 403 {
}
movieClip 406 {
}
instance of movieClip 387 {
onClipEvent (load) {
por = 2;
_root.hint_cr(this, 'oil');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 409 {
}
instance of movieClip 409 {
onClipEvent (load) {
por = 4;
_root.hint_cr(this, 'souce chili');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 410 {
}
instance of movieClip 410 {
onClipEvent (load) {
por = 1;
_root.hint_cr(this, 'mustard');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 413 {
}
instance of movieClip 413 {
onClipEvent (load) {
por = 0;
_root.hint_cr(this, 'vinegar');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 415 {
}
instance of movieClip 415 {
onClipEvent (load) {
por = 3;
_root.hint_cr(this, 'garlic');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 416 {
}
instance of movieClip 416 {
onClipEvent (load) {
por = 6;
_root.hint_cr(this, 'red pepper');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 417 {
}
instance of movieClip 417 {
onClipEvent (load) {
por = 5;
_root.hint_cr(this, 'cumin');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 418 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 418 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
movieClip 419 {
}
instance kn1 of movieClip 419 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
movieClip 420 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 420 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
movieClip 424 {
}
frame 202 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
stop();
testo_progress = 0;
px = _xmouse;
py = _ymouse;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
onEnterFrame = function () {};
_root.nextFrame();
};
skalka = function () {
m_skalka._x = _xmouse;
m_skalka._y = _ymouse;
dx = mod(px - _xmouse);
dy = mod(py - _ymouse);
if (dx > 5 or dy > 5) {
var v1 = pdir(_xmouse, _ymouse, px, py);
m_skalka._rotation = v1 + 90;
}
px = _xmouse;
py = _ymouse;
};
testo = function () {
if (dx > 15 or dy > 15) {
if (m_testo.hitTest(_xmouse, _ymouse, 1)) {
if (testo_progress < 100) {
testo_progress += 0.5;
m_testo.gotoAndStop(Math.round(testo_progress * m_testo._totalframes / 100));
}
}
}
_root.prog.gotoAndStop(testo_progress);
};
onEnterFrame = function () {
skalka();
testo();
};
}
movieClip 427 {
frame 1 {
stop();
}
frame 200 {
_root.win();
}
}
movieClip 430 {
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(12);
}
}
instance kn2 of movieClip 282 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 284 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
instance kn3 of movieClip 286 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 25;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 203 {
stop();
testo_progress = 0;
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
px = _xmouse;
py = _ymouse;
sir = function () {
m_sir._x = _xmouse;
m_sir._y = _ymouse;
dx = px - _xmouse;
dy = py - _ymouse;
m_sir._rotation += dx / 10;
px = _xmouse;
py = _ymouse;
};
onEnterFrame = function () {
sir();
};
}
movieClip 434 {
}
movieClip 438 {
}
movieClip 440 {
}
movieClip 441 {
frame 1 {
current_p = 1;
max_p = 16;
for (var i in this) {
var id = this[i];
id.enable = false;
id.gotoAndPlay('app');
}
p_plus = function () {
++current_p;
if (current_p > max_p) {
_parent.nextFrame();
}
};
reset = function () {
current_p = 1;
for (var v3 in this) {
var v2 = this[v3];
if (v2.enable == false) {
v2.gotoAndPlay('app');
}
}
};
clix = function (id) {
if (id.enable == true) {
if (id.hitTest(_root._xmouse, _root._ymouse, 0)) {
var v5 = 'p' + current_p;
var v4 = id._name;
if (v5 == v4) {
p_plus();
id.gotoAndPlay('del');
id.enable = false;
var v7 = 3;
var v3 = _root.m_sir;
var v6 = id._parent._parent.sir_level;
if (v3._currentframe < v6 * 5 - v7) {
var v8 = random(100);
if (v8 < 50) {
v3.gotoAndStop(v3._currentframe + 1);
}
}
}
}
}
};
app = function (id) {
id.enable = true;
};
}
instance p1 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p2 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p3 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p4 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p5 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p6 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p7 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p8 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p9 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p10 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p11 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p12 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p13 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p14 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p15 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
instance p16 of movieClip 264 {
onClipEvent (load) {
_parent.app(this);
}
onClipEvent (enterFrame) {
_parent.clix(this);
}
}
}
movieClip 442 {
frame 1 {
stop();
sir_level = 1;
}
instance of movieClip 441 {
onClipEvent (load) {
this.swapDepths(202);
}
}
frame 2 {
++sir_level;
_root.prog.gotoAndStop(16);
}
instance of movieClip 441 {
onClipEvent (load) {
this.swapDepths(202);
}
}
frame 3 {
++sir_level;
_root.prog.gotoAndStop(32);
}
instance of movieClip 441 {
onClipEvent (load) {
this.swapDepths(202);
}
}
frame 4 {
++sir_level;
_root.prog.gotoAndStop(48);
}
instance of movieClip 441 {
onClipEvent (load) {
this.swapDepths(202);
}
}
frame 5 {
++sir_level;
_root.prog.gotoAndStop(64);
}
instance of movieClip 441 {
onClipEvent (load) {
this.swapDepths(202);
}
}
frame 6 {
++sir_level;
_root.prog.gotoAndStop(80);
}
instance of movieClip 441 {
onClipEvent (load) {
this.swapDepths(202);
}
}
frame 7 {
_root.prog.gotoAndStop(100);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
onEnterFrame = function () {};
_root.nextFrame();
}
}
movieClip 447 {
}
movieClip 448 {
frame 1 {
stop();
}
frame 7 {
stop();
}
frame 14 {
stop();
}
frame 22 {
stop();
}
frame 29 {
stop();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(13);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 204 {
stop();
testo_progress = 0;
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
px = _xmouse;
py = _ymouse;
sir = function () {
m_sir._x = _xmouse;
m_sir._y = _ymouse;
dx = px - _xmouse;
dy = py - _ymouse;
m_sir._rotation += dx / 10;
px = _xmouse;
py = _ymouse;
};
onEnterFrame = function () {
sir();
};
}
movieClip 451 {
}
movieClip 452 {
frame 1 {
stop();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(14);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 205 {
onEnterFrame = function () {};
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 16.7;
}
movieClip 455 {
}
movieClip 460 {
frame 11 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 17 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
gotoAndPlay(_currentframe + 1);
}
frame 33 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance m_noj of movieClip 272 {
onClipEvent (load) {
px = _root._xmouse;
py = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
var dy = py - _root._ymouse;
_rotation = -50 + _y / 6;
px = _root._xmouse;
py = _root._ymouse;
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(15);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 20;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 206 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 16.7;
}
movieClip 461 {
}
movieClip 462 {
}
movieClip 463 {
}
movieClip 464 {
frame 11 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 17 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
gotoAndPlay(_currentframe + 1);
}
frame 33 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 20;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 207 {
_root.prog.gotoAndStop(1);
pro = 0;
pro_step = 10;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
_root.nextFrame();
};
}
movieClip 473 {
frame 15 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 16 {
gotoAndPlay(_currentframe + 1);
}
frame 20 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 21 {
gotoAndPlay(_currentframe + 1);
}
frame 55 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 56 {
gotoAndPlay(_currentframe + 1);
}
frame 60 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 61 {
gotoAndPlay(_currentframe + 1);
}
frame 95 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 96 {
gotoAndPlay(_currentframe + 1);
}
frame 100 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 101 {
gotoAndPlay(_currentframe + 1);
}
frame 135 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 136 {
gotoAndPlay(_currentframe + 1);
}
frame 140 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 141 {
gotoAndPlay(_currentframe + 1);
}
frame 175 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 176 {
gotoAndPlay(_currentframe + 1);
}
frame 180 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 181 {
gotoAndPlay(_currentframe + 1);
}
frame 200 {
_root.win();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(16);
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 30;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 208 {
_root.prog.gotoAndStop(1);
pro = 0;
pro_step = 10;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
_root.nextFrame();
};
}
movieClip 474 {
}
movieClip 475 {
}
movieClip 476 {
}
movieClip 482 {
frame 15 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 16 {
gotoAndPlay(_currentframe + 1);
}
frame 20 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 21 {
gotoAndPlay(_currentframe + 1);
}
frame 55 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 56 {
gotoAndPlay(_currentframe + 1);
}
frame 60 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 61 {
gotoAndPlay(_currentframe + 1);
}
frame 95 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 96 {
gotoAndPlay(_currentframe + 1);
}
frame 100 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 101 {
gotoAndPlay(_currentframe + 1);
}
frame 135 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 136 {
gotoAndPlay(_currentframe + 1);
}
frame 140 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 141 {
gotoAndPlay(_currentframe + 1);
}
frame 175 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 176 {
gotoAndPlay(_currentframe + 1);
}
frame 180 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 181 {
gotoAndPlay(_currentframe + 1);
}
frame 200 {
_root.win();
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 30;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 209 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
pro_step2 = 12.5;
pro_step3 = pro_step2 / 13;
shtraf = 0;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
var v2 = 1 - shtraf / 4;
_root.score += 100 * v2;
trace(_root.score);
nextFrame();
};
}
movieClip 485 {
}
movieClip 490 {
frame 1 {
gotoAndPlay(21);
}
frame 2 {
ac = 1;
}
frame 9 {
ac = 2;
}
frame 13 {
ac = 3;
}
frame 21 {
ac = 1;
var rr = random(50);
if (rr > 5) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay(2);
}
}
}
movieClip 495 {
}
movieClip 496 {
}
movieClip 500 {
}
movieClip 507 {
}
movieClip 509 {
frame 6 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may.gotoAndStop(1);
}
if (shkala.ac == 2) {
may.gotoAndStop(2);
}
if (shkala.ac == 3) {
may.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 7 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 17 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may.gotoAndStop(1);
}
if (shkala.ac == 2) {
may.gotoAndStop(2);
}
if (shkala.ac == 3) {
may.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 18 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 23 {
stop();
this.enabled = true;
onPress = function () {
_root.pro += _root.pro_step3;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
}
frame 36 {
stop();
this.enabled = false;
onEnterFrame = function () {};
onPress = function () {};
nf(this);
}
frame 42 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may.gotoAndStop(1);
}
if (shkala.ac == 2) {
may.gotoAndStop(2);
}
if (shkala.ac == 3) {
may.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 43 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 51 {
stop();
this.enabled = true;
onPress = function () {
_root.pro += _root.pro_step3;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
}
frame 64 {
stop();
this.enabled = false;
onEnterFrame = function () {};
onPress = function () {};
nf(this);
}
frame 71 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may.gotoAndStop(1);
}
if (shkala.ac == 2) {
may.gotoAndStop(2);
}
if (shkala.ac == 3) {
may.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 72 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 79 {
stop();
this.enabled = true;
onPress = function () {
_root.pro += _root.pro_step3;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
}
frame 106 {
stop();
this.enabled = false;
onEnterFrame = function () {};
onPress = function () {};
nf(this);
}
frame 120 {
_root.win();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(17);
}
}
frame 210 {
onEnterFrame = function () {};
_root.attachMovie('m_final_2', 'm_final_2', 3000);
}
frame 211 {
onEnterFrame = function () {};
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
stop();
testo_progress = 0;
px = _xmouse;
py = _ymouse;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
nextFrame();
};
skalka = function () {
m_skalka._x = _xmouse;
m_skalka._y = _ymouse;
dx = mod(px - _xmouse);
dy = mod(py - _ymouse);
if (dx > 5 or dy > 5) {
var v1 = pdir(_xmouse, _ymouse, px, py);
m_skalka._rotation = v1 + 90;
}
px = _xmouse;
py = _ymouse;
};
testo = function () {
if (dx > 15 or dy > 15) {
if (m_testo.hitTest(_xmouse, _ymouse, 0)) {
if (testo_progress < 100) {
testo_progress += 0.5;
m_testo.gotoAndStop(Math.round(testo_progress * m_testo._totalframes / 100));
if (testo_progress == 100) {
_root.win();
trace('WIN!');
}
}
}
}
_root.prog.gotoAndStop(testo_progress);
};
onEnterFrame = function () {
skalka();
testo();
};
}
movieClip 514 {
}
movieClip 515 {
frame 1 {
stop();
}
}
movieClip 518 {
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(18);
}
}
instance kn2 of movieClip 282 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 284 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
instance kn3 of movieClip 286 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
instance timer of movieClip 293 {
onClipEvent (load) {
t = 0;
time = 30;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 212 {
stop();
trace('ket');
testo_progress = 0;
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
px = _xmouse;
py = _ymouse;
skalka = function () {
m_skalka._x = _xmouse;
m_skalka._y = _ymouse;
dx = mod(px - _xmouse);
dy = mod(py - _ymouse);
if (dx > 5 or dy > 5) {
var v1 = pdir(_xmouse, _ymouse, px, py);
m_skalka._rotation = v1 + 90;
}
px = _xmouse;
py = _ymouse;
};
testo = function () {
if (dx > 15 or dy > 15) {
if (m_testo.hitTest(_xmouse, _ymouse, 1)) {
if (testo_progress < 200) {
++testo_progress;
m_testo.gotoAndStop(Math.round(testo_progress * m_testo._totalframes / 200));
if (testo_progress == 200) {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
onEnterFrame = function () {};
_root.nextFrame();
trace('WIN!');
}
}
}
}
_root.prog.gotoAndStop(Math.round(testo_progress / 2));
};
onEnterFrame = function () {
skalka();
testo();
};
}
movieClip 521 {
}
movieClip 522 {
}
movieClip 523 {
frame 1 {
stop();
}
}
movieClip 526 {
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(19);
}
}
frame 213 {
stop();
_root.attachMovie('m_osv', 'm_osv', 3000);
onEnterFrame = function () {};
}
button 528 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
frame 214 {
_root.attachMovie('m_osv', 'm_osv', 3000);
_root.part_depths = 0;
_root.dob_sir = false;
_root.calc = [];
onEnterFrame = function () {};
}
movieClip 530 {
}
movieClip 533 {
}
instance of movieClip 533 {
onClipEvent (load) {
type = 0;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
bb = _root.part_depths++;
var mc = _root.m_pizza.attachMovie('p_kol', 'p' + bb, bb);
mc._rotation = random(360);
mc._xscale *= _root.choose(1, -1);
mc._yscale *= _root.choose(1, -1);
if (_root.dob_sir == false) {
mc.dosir = true;
_root.calc.push(type);
} else {
mc.dosir = false;
_root.calc.push(type + 1);
}
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
}
}
movieClip 534 {
}
movieClip 535 {
}
instance of movieClip 535 {
onClipEvent (load) {
type = 12;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
bb = _root.part_depths++;
var mc = _root.m_pizza.attachMovie('p_mayo', 'p' + bb, bb);
mc._rotation = random(360);
mc._xscale *= _root.choose(1, -1);
mc._yscale *= _root.choose(1, -1);
if (_root.dob_sir == false) {
mc.dosir = true;
_root.calc.push(type);
} else {
mc.dosir = false;
_root.calc.push(type + 1);
}
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
}
}
movieClip 537 {
}
instance of movieClip 537 {
onClipEvent (load) {
type = 2;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
bb = _root.part_depths++;
var mc = _root.m_pizza.attachMovie('p_pom', 'p' + bb, bb);
mc._rotation = random(360);
mc._xscale *= _root.choose(1, -1);
mc._yscale *= _root.choose(1, -1);
if (_root.dob_sir == false) {
mc.dosir = true;
_root.calc.push(type);
} else {
mc.dosir = false;
_root.calc.push(type + 1);
}
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
}
}
movieClip 539 {
}
instance of movieClip 539 {
onClipEvent (load) {
type = 4;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
bb = _root.part_depths++;
var mc = _root.m_pizza.attachMovie('p_ogur', 'p' + bb, bb);
mc._rotation = random(360);
mc._xscale *= _root.choose(1, -1);
mc._yscale *= _root.choose(1, -1);
if (_root.dob_sir == false) {
mc.dosir = true;
_root.calc.push(type);
} else {
mc.dosir = false;
_root.calc.push(type + 1);
}
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
}
}
movieClip 541 {
}
instance of movieClip 541 {
onClipEvent (load) {
type = 10;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
bb = _root.part_depths++;
var mc = _root.m_pizza.attachMovie('p_gor', 'p' + bb, bb);
mc._rotation = random(360);
mc._xscale *= _root.choose(1, -1);
mc._yscale *= _root.choose(1, -1);
if (_root.dob_sir == false) {
mc.dosir = true;
_root.calc.push(type);
} else {
mc.dosir = false;
_root.calc.push(type + 1);
}
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
}
}
movieClip 544 {
}
movieClip 545 {
}
instance of movieClip 545 {
onClipEvent (load) {
type = 6;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
bb = _root.part_depths++;
var mc = _root.m_pizza.attachMovie('p_ol1', 'p' + bb, bb);
mc._rotation = random(360);
mc._xscale *= _root.choose(1, -1);
mc._yscale *= _root.choose(1, -1);
if (_root.dob_sir == false) {
mc.dosir = true;
_root.calc.push(type);
} else {
mc.dosir = false;
_root.calc.push(type + 1);
}
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
}
}
movieClip 547 {
}
instance of movieClip 547 {
onClipEvent (load) {
type = 8;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, 1)) {
bb = _root.part_depths++;
var mc = _root.m_pizza.attachMovie('p_ol2', 'p' + bb, bb);
mc._rotation = random(360);
mc._xscale *= _root.choose(1, -1);
mc._yscale *= _root.choose(1, -1);
if (_root.dob_sir == false) {
mc.dosir = true;
_root.calc.push(type);
} else {
mc.dosir = false;
_root.calc.push(type + 1);
}
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
}
}
}
movieClip 549 {
frame 1 {
stop();
}
}
instance tarelka of movieClip 549 {
onClipEvent (release) {
if (_root.dob_sir == false) {
gotoAndStop(189);
_root.dob_sir = true;
bb = _root.part_depths++;
var mc = _root.m_pizza.attachMovie('m_sir_zasip', 'm_sir_zasip', bb);
mc._alpha = 80;
}
}
}
movieClip 551 {
frame 1 {
stop();
}
}
movieClip 552 {
}
instance m_pizza of movieClip 552 {
}
movieClip 554 {
}
instance m_mask of movieClip 554 {
onClipEvent (load) {
_visible = false;
}
}
button 558 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
if (_root.dob_sir == false) {
trace('net sira!');
var mc = _root.attachMovie('lk_netsira', 'lk_netsira', 1500);
mc._x = 368;
mc._y = 385;
} else {
trace('finish');
_root.m_pizza.m_sir_zasip.removeMovieClip();
for (var i in _root.m_pizza) {
var id = _root.m_pizza[i];
if (id.dosir == true) {
id.gotoAndStop(2);
} else {
id.gotoAndStop(3);
}
}
_root.m_pizza.osnova.gotoAndStop(2);
_root.nextFrame();
}
}
}
frame 215 {
onEnterFrame = function () {};
_root.attachMovie('m_final_3', 'm_final_3', 3000);
m_pizza._x = 90;
m_pizza._y = 0;
}
frame 216 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 4.17;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
_root.nextFrame();
};
}
movieClip 564 {
frame 1 {
stop();
}
}
instance m_noj of movieClip 564 {
onClipEvent (load) {
px = _root._xmouse;
py = _root._ymouse;
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
var dy = py - _root._ymouse;
if (Math.abs(dy) > 1) {
this.nextFrame();
if (this._currentframe == 4) {
this.gotoAndStop(1);
}
}
_rotation = -50 + _y / 6;
px = _root._xmouse;
py = _root._ymouse;
}
}
movieClip 574 {
frame 1 {
stop();
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
instance of movieClip 265 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 25 {
this.gotoAndPlay(this._currentframe + 1);
}
frame 41 {
stop();
_root.win();
}
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(20);
}
}
instance kn2 of movieClip 282 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 284 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
instance kn3 of movieClip 286 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
frame 217 {
m_noj.removeMovieClip();
}
frame 217 {
_root.attachMovie('m_osv', 'm_osv', 3000);
mc._x = 0;
mc._y = 0;
stop();
trace('theend');
_root.b_play.enabled = false;
_root.b_more.enabled = false;
_root.game_result = Math.round(0.85 * (_root.score / 17) + Math.random() * 20);
if (game_result > 100) {
game_result = 100;
}
if (game_result < 0) {
game_result = 0;
}
trace(_root.game_result);
h = 0;
var mc = _root.m_krepej.attachMovie('m_RES', 'RES' + h, h);
mc._x = 0;
mc._y = 20;
mc.t = 130 + h * 10 + 20;
var txr = 'NOT BAD!';
if (game_result > 40) {
txr = 'GOOD!';
}
if (game_result > 50) {
txr = 'VERY TASTY!';
}
if (game_result > 60) {
txr = 'GREAT!';
}
if (game_result > 70) {
txr = 'DELICIOUS!';
}
if (game_result > 80) {
txr = 'COOL!';
}
if (game_result > 90) {
txr = 'AWESOME!';
}
mc.txt.text = txr;
++h;
var mc = _root.m_krepej.attachMovie('m_hint2', 'hint2' + h, h);
mc._x = 0;
mc._y = 60;
mc.t = 130 + h * 10 + 20;
mc.txt.text = 'your score: ' + game_result + ' / 100';
wt = true;
time = 0;
onEnterFrame = function () {
++time;
if (wt == true) {
if (time > 250) {
_root.attachMovie('m_zat', 'm_zat', 3000);
wt = false;
}
}
};
}
movieClip 575 {
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(21);
}
}
movieClip 579 {
frame 1 {
stop();
}
}
movieClip 580 {
}
movieClip 586 {
}
movieClip 587 {
}
movieClip 589 {
frame 1 {
ps = 1;
}
frame 20 {
if (ps > 0) {
--ps;
gotoAndPlay(2);
} else {
gotoAndPlay('play');
}
}
instance of movieClip 579 {
onClipEvent (load) {
gotoAndStop(2);
}
}
frame 36 {
if (_root.sound_play == true) {
_root.sfx.s3.start();
}
}
instance of movieClip 579 {
onClipEvent (load) {
gotoAndStop(3);
}
}
frame 63 {
ps = 3;
}
frame 82 {
if (ps > 0) {
--ps;
gotoAndPlay('cl');
} else {
if (_root.game_result > 40) {
gotoAndPlay('WIN');
} else {
gotoAndPlay('faild');
}
}
}
frame 84 {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
}
frame 112 {
gotoAndPlay('fl');
}
frame 115 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
}
frame 146 {
gotoAndPlay('wl');
}
}
movieClip 591 {
}
frame 218 {
_root.attachMovie('m_osv', 'm_osv', 3000);
}
instance texttt of movieClip 106 {
onClipEvent (load) {
txt.gotoAndStop(22);
}
}
button 595 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.gotoAndStop('mainmenu');
}
}
button 596 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
button 598 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL('http://www.playpink.com/category/cooking-games/1/top-rated.html', '_blank');
}
}
button 600 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.m_krepej.removeMovieClip();
_root.m1.removeMovieClip();
_root.b_more.removeMovieClip();
_root.b_play.removeMovieClip();
_root.gotoAndStop('mainmenu');
}
}