Combined Code
// unknown tag 88 length 229
movieClip 15 m_RES {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 18 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 44 {
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);
}
}
movieClip 45 {
instance txt of movieClip 44 {
}
}
movieClip 47 m_final2 {
frame 1 {
if (_root.sound_play == true) {
_root.sfx.s9.start();
}
}
instance of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(16);
}
}
frame 80 {
_root.b_play.enabled = true;
_root.b_more.enabled = true;
_root.attachMovie('m_osv', 'm_osv', 3000);
this.removeMovieClip();
}
}
movieClip 49 {
}
movieClip 50 m_final {
frame 1 {
if (_root.sound_play == true) {
_root.sfx.s9.start();
}
}
instance of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(5);
}
}
frame 160 {
_root.nextFrame();
this.removeMovieClip();
}
}
movieClip 51 m_osv {
frame 10 {
this.removeMovieClip();
}
}
movieClip 53 m_hint2 {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 55 {
}
// unknown tag 88 length 219
movieClip 59 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 61 l_osv_uron {
frame 11 {
this.swapDepths(666);
this.removeMovieClip();
}
}
movieClip 63 {
}
movieClip 66 {
}
movieClip 69 {
}
movieClip 70 l_b_exp {
frame 16 {
this.swapDepths(666);
this.removeMovieClip();
}
}
frame 1 {
linkURL = 'http://www.playpink.com/?utm_medium=brandedgames_external&utm_campaign=Baked_Potato&utm_source=ingame&utm_content=ingame';
}
frame 2 {
stop();
}
// unknown tag 88 length 56
movieClip 79 {
frame 1 {
stop();
}
}
movieClip 84 {
}
movieClip 86 {
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 91 {
on (release) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 93 {
}
frame 3 {
gotoAndPlay(_currentframe + 1);
}
button 94 {
on (press) {
getURL(_root.linkURL, '_blank');
}
}
movieClip 97 {
}
movieClip 100 {
}
movieClip 102 {
}
movieClip 104 {
}
movieClip 106 {
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 116 {
}
movieClip 118 {
}
movieClip 120 {
}
movieClip 121 {
}
movieClip 123 {
}
movieClip 126 {
}
movieClip 128 {
}
movieClip 131 {
}
movieClip 132 {
}
movieClip 134 {
}
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();
}
}
};
};
}
frame 188 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
movieClip 136 {
}
instance mus of movieClip 136 {
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 138 {
}
instance sfx of movieClip 138 {
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');
}
}
// unknown tag 88 length 229
movieClip 147 {
}
movieClip 148 {
}
movieClip 152 {
}
// unknown tag 88 length 219
button 157 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 161 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
button 165 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 167 {
}
movieClip 168 {
}
movieClip 170 {
}
movieClip 171 {
}
frame 189 {
}
frame 189 {
stop();
_root.attachMovie('m_osv', 'm_osv', 3000);
}
button 179 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
movieClip 192 {
}
movieClip 193 {
}
movieClip 195 {
}
frame 190 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
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 200 {
}
movieClip 205 {
}
movieClip 209 {
}
movieClip 210 {
instance of movieClip 205 {
onClipEvent (load) {
_alpha = 0;
px = 0;
py = 0;
zad = 10;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = _alpha + 4;
}
_x = _root._xmouse - _parent._x;
_y = _root._ymouse - _parent._y;
dx = mod(px - _x);
dy = mod(py - _y);
if (dx > 5 or dy > 5) {
var pd = pdir(this._x, this._y, px, py);
_rotation = pd + 90;
}
px = _root._xmouse - _parent._x;
py = _root._ymouse - _parent._y;
if (zad > 0) {
--zad;
}
if (zad == 0) {
if (dx > 5 && dy > 5) {
if (_parent.sloy.hitTest(this)) {
_root.pro += 0.66;
_root.prog.gotoAndStop(Math.floor(_root.pro));
_parent.sloy._alpha += 2;
if (_parent.sloy._alpha > 100) {
zad = 12;
_parent.nextFrame();
}
}
}
}
}
}
frame 10 {
stop();
}
instance sloy of movieClip 200 {
onClipEvent (load) {
_alpha = 0;
}
}
frame 11 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 21 {
stop();
}
instance sloy of movieClip 200 {
onClipEvent (load) {
_alpha = 0;
}
}
frame 22 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 31 {
stop();
}
instance sloy of movieClip 200 {
onClipEvent (load) {
_alpha = 0;
}
}
frame 32 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 41 {
_root.win();
}
}
movieClip 215 {
frame 1 {
stop();
}
}
movieClip 220 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 220 {
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 222 {
}
instance kn1 of movieClip 222 {
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 224 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 224 {
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 228 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 229 {
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(2);
}
}
movieClip 231 {
}
instance timer of movieClip 231 {
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 191 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
pro_step2 = 8.433333333333334;
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 234 {
}
movieClip 235 {
instance of movieClip 234 {
onClipEvent (load) {
_root.rasterizeMovieClip(this);
}
}
}
movieClip 238 {
}
movieClip 239 {
frame 1 {
stop();
}
}
movieClip 240 {
frame 1 {
m_fork.gotoAndStop('st');
this.onMouseDown = function () {
trace('mimo');
};
}
frame 6 {
this.onMouseDown = function () {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1001);
_root.timer.time -= 5;
if (_root.timer.time < 0) {
_root.timer.time = 0;
}
};
}
frame 19 {
this.onMouseDown = function () {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
m_fork.gotoAndPlay('push');
nf(_parent);
};
}
frame 28 {
this.onMouseDown = function () {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1001);
_root.timer.time -= 5;
if (_root.timer.time < 0) {
_root.timer.time = 0;
}
};
}
frame 42 {
this.onMouseDown = function () {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
m_fork.gotoAndPlay('push');
nf(_parent);
};
}
frame 47 {
gotoAndPlay('start');
}
}
movieClip 243 {
}
movieClip 244 {
frame 6 {
stop();
}
frame 7 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 13 {
stop();
}
frame 14 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 20 {
stop();
}
frame 21 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 27 {
stop();
}
frame 28 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 62 {
stop();
}
frame 63 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 69 {
stop();
}
frame 70 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 76 {
stop();
}
frame 77 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 83 {
stop();
}
frame 84 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 118 {
stop();
}
frame 119 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 125 {
stop();
}
frame 126 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 132 {
stop();
}
frame 133 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 139 {
stop();
}
frame 140 {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
}
frame 168 {
_root.nextFrame();
}
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(3);
}
}
instance timer of movieClip 231 {
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 192 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
dis = 100;
shtraf = 0;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
k1.removeMovieClip();
k2.removeMovieClip();
k3.removeMovieClip();
var v2 = 1 - shtraf / 3;
_root.score += 100 * v2;
trace(_root.score);
nextFrame();
};
}
movieClip 248 {
}
movieClip 249 {
}
instance k1 of movieClip 249 {
onClipEvent (load) {
_root.drag_cr(this);
moving = false;
drag_result = function () {
if (_root.pod_mask.hitTest(this._x, this._y, 1)) {
_root.pro += 34;
_root.prog.gotoAndStop(_root.pro);
if (_root.pro >= 100) {
_root.win();
}
moving = true;
this.enabled = false;
this.onPress = function () {};
var v3 = _root.k2;
var v4 = pdis(v3._x, v3._y, this._x, this._y);
trace(v4);
if (v4 < _root.dis) {
trace('shtraf');
++_root.shtraf;
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
}
v3 = _root.k3;
v4 = pdis(v3._x, v3._y, this._x, this._y);
trace(v4);
if (v4 < _root.dis) {
trace('shtraf');
++_root.shtraf;
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving != true) {
_root.drag(this);
}
}
}
instance k2 of movieClip 249 {
onClipEvent (load) {
_root.drag_cr(this);
moving = false;
drag_result = function () {
if (_root.pod_mask.hitTest(this._x, this._y, 1)) {
_root.pro += 34;
_root.prog.gotoAndStop(_root.pro);
if (_root.pro >= 100) {
_root.win();
}
moving = true;
this.enabled = false;
this.onPress = function () {};
var v3 = _root.k1;
var v4 = pdis(v3._x, v3._y, this._x, this._y);
trace(v4);
if (v4 < _root.dis) {
trace('shtraf');
++_root.shtraf;
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
}
v3 = _root.k3;
v4 = pdis(v3._x, v3._y, this._x, this._y);
trace(v4);
if (v4 < _root.dis) {
trace('shtraf');
++_root.shtraf;
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving != true) {
_root.drag(this);
}
}
}
instance k3 of movieClip 249 {
onClipEvent (load) {
_root.drag_cr(this);
moving = false;
drag_result = function () {
if (_root.pod_mask.hitTest(this._x, this._y, 1)) {
_root.pro += 34;
_root.prog.gotoAndStop(_root.pro);
if (_root.pro >= 100) {
_root.win();
}
moving = true;
this.enabled = false;
this.onPress = function () {};
var v3 = _root.k1;
var v4 = pdis(v3._x, v3._y, this._x, this._y);
trace(v4);
if (v4 < _root.dis) {
trace('shtraf');
++_root.shtraf;
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
}
v3 = _root.k2;
v4 = pdis(v3._x, v3._y, this._x, this._y);
trace(v4);
if (v4 < _root.dis) {
trace('shtraf');
++_root.shtraf;
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving != true) {
_root.drag(this);
}
}
}
movieClip 251 {
}
instance pod_mask of movieClip 251 {
onClipEvent (load) {
this._visible = false;
}
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(4);
}
}
frame 193 {
_root.attachMovie('m_final', 'm_final', 3000);
}
frame 194 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 33.4;
dis = 100;
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);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
nextFrame();
};
}
movieClip 255 {
}
movieClip 256 {
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 257 {
frame 1 {
current_p = 1;
max_p = 0;
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');
}
}
};
}
instance p1 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).charAt(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p2 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).charAt(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p3 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).charAt(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p4 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).charAt(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
}
movieClip 261 {
frame 23 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 24 {
gotoAndPlay(_currentframe + 1);
}
frame 61 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 62 {
gotoAndPlay(_currentframe + 1);
}
frame 99 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 100 {
gotoAndPlay(_currentframe + 1);
}
frame 114 {
_root.win();
}
}
movieClip 264 {
}
instance m_noj of movieClip 264 {
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 kn2 of movieClip 220 {
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 222 {
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 224 {
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 texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(6);
}
}
instance timer of movieClip 231 {
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 195 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
pro_step2 = 0.970873786407767;
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();
};
}
movieClip 268 {
}
movieClip 274 {
frame 10 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += _root.pro_step2;
_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 75 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
};
}
frame 110 {
stop();
this.enabled = false;
onEnterFrame = function () {
onPress = function () {};
};
nf(this);
}
frame 140 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
};
}
frame 175 {
stop();
this.enabled = false;
onEnterFrame = function () {
onPress = function () {};
};
nf(this);
}
frame 195 {
_root.win();
}
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(7);
}
}
instance timer of movieClip 231 {
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 = 3.8;
}
movieClip 277 {
}
movieClip 281 {
frame 1 {
stop();
}
}
movieClip 284 {
frame 12 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += 1.1;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
};
}
frame 28 {
stop();
this.enabled = false;
onEnterFrame = function () {
onPress = function () {};
};
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance noj of movieClip 281 {
onClipEvent (load) {
_alpha = 0;
vis = true;
this.swapDepths(201);
}
onClipEvent (enterFrame) {
if (vis == true) {
if (_alpha < 100) {
_alpha = _alpha + 20;
}
} else {
if (_alpha > 0) {
_alpha = _alpha - 20;
}
}
this._x = _root._xmouse - _parent._x;
this._y = _root._ymouse - _parent._y;
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 32 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
noj.vis = false;
gotoAndPlay(_currentframe + 1);
}
frame 54 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += 1.1;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
};
}
frame 71 {
stop();
this.enabled = false;
noj.vis = true;
onEnterFrame = function () {
onPress = function () {};
};
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 75 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
noj.vis = false;
gotoAndPlay(_currentframe + 1);
}
frame 97 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += 1.1;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
};
}
frame 114 {
stop();
this.enabled = false;
noj.vis = true;
onEnterFrame = function () {
onPress = function () {};
};
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 118 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
noj.vis = false;
gotoAndPlay(_currentframe + 1);
}
frame 128 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
_root.nextFrame();
}
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(8);
}
}
instance timer of movieClip 231 {
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 197 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 4;
}
movieClip 301 {
frame 10 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 11 {
gotoAndPlay(_currentframe + 1);
}
frame 11 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 15 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 16 {
gotoAndPlay(_currentframe + 1);
}
frame 16 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 20 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 21 {
gotoAndPlay(_currentframe + 1);
}
frame 21 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 25 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 26 {
gotoAndPlay(_currentframe + 1);
}
frame 26 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 30 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 31 {
gotoAndPlay(_currentframe + 1);
}
frame 31 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 35 {
gotoAndPlay(_currentframe + 1);
}
frame 51 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 52 {
gotoAndPlay(_currentframe + 1);
}
frame 52 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 56 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 57 {
gotoAndPlay(_currentframe + 1);
}
frame 57 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 61 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 62 {
gotoAndPlay(_currentframe + 1);
}
frame 62 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 66 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 67 {
gotoAndPlay(_currentframe + 1);
}
frame 67 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 71 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 72 {
gotoAndPlay(_currentframe + 1);
}
frame 72 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 76 {
gotoAndPlay(_currentframe + 1);
}
frame 92 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 93 {
gotoAndPlay(_currentframe + 1);
}
frame 93 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 97 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 98 {
gotoAndPlay(_currentframe + 1);
}
frame 98 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 102 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 103 {
gotoAndPlay(_currentframe + 1);
}
frame 103 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 107 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 108 {
gotoAndPlay(_currentframe + 1);
}
frame 108 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 112 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 113 {
gotoAndPlay(_currentframe + 1);
}
frame 113 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 117 {
gotoAndPlay(_currentframe + 1);
}
frame 133 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 134 {
gotoAndPlay(_currentframe + 1);
}
frame 134 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 138 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 139 {
gotoAndPlay(_currentframe + 1);
}
frame 139 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 143 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 144 {
gotoAndPlay(_currentframe + 1);
}
frame 144 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 148 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 149 {
gotoAndPlay(_currentframe + 1);
}
frame 149 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 153 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 154 {
gotoAndPlay(_currentframe + 1);
}
frame 154 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 158 {
gotoAndPlay(_currentframe + 1);
}
frame 174 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 175 {
gotoAndPlay(_currentframe + 1);
}
frame 175 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 179 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 180 {
gotoAndPlay(_currentframe + 1);
}
frame 180 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 184 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 185 {
gotoAndPlay(_currentframe + 1);
}
frame 185 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 189 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 190 {
gotoAndPlay(_currentframe + 1);
}
frame 190 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 194 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 195 {
gotoAndPlay(_currentframe + 1);
}
frame 195 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
}
frame 199 {
gotoAndPlay(_currentframe + 1);
}
frame 205 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
_root.nextFrame();
}
}
instance m_noj of movieClip 264 {
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 45 {
onClipEvent (load) {
txt.gotoAndStop(9);
}
}
instance timer of movieClip 231 {
onClipEvent (load) {
t = 0;
time = 45;
}
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 304 {
}
movieClip 305 {
frame 1 {
stop();
}
}
movieClip 307 {
}
movieClip 308 {
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.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
_root.nextFrame();
}
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(10);
}
}
instance timer of movieClip 231 {
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 199 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 33.4;
_root.pro_step2 = 0;
}
movieClip 311 {
}
movieClip 314 {
frame 11 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 257 {
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 45 {
onClipEvent (load) {
txt.gotoAndStop(11);
}
}
instance timer of movieClip 231 {
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 200 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 5;
}
movieClip 331 {
frame 10 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 11 {
gotoAndPlay(_currentframe + 1);
}
frame 15 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 16 {
gotoAndPlay(_currentframe + 1);
}
frame 33 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 34 {
gotoAndPlay(_currentframe + 1);
}
frame 38 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 39 {
gotoAndPlay(_currentframe + 1);
}
frame 43 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 44 {
gotoAndPlay(_currentframe + 1);
}
frame 65 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 66 {
gotoAndPlay(_currentframe + 1);
}
frame 70 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 71 {
gotoAndPlay(_currentframe + 1);
}
frame 88 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 89 {
gotoAndPlay(_currentframe + 1);
}
frame 93 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 94 {
gotoAndPlay(_currentframe + 1);
}
frame 98 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 99 {
gotoAndPlay(_currentframe + 1);
}
frame 120 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 121 {
gotoAndPlay(_currentframe + 1);
}
frame 125 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 126 {
gotoAndPlay(_currentframe + 1);
}
frame 143 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 144 {
gotoAndPlay(_currentframe + 1);
}
frame 148 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 149 {
gotoAndPlay(_currentframe + 1);
}
frame 153 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 154 {
gotoAndPlay(_currentframe + 1);
}
frame 175 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 176 {
gotoAndPlay(_currentframe + 1);
}
frame 180 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 181 {
gotoAndPlay(_currentframe + 1);
}
frame 198 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 199 {
gotoAndPlay(_currentframe + 1);
}
frame 203 {
stop();
}
instance of movieClip 257 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 204 {
gotoAndPlay(_currentframe + 1);
}
frame 208 {
stop();
}
instance of movieClip 257 {
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 45 {
onClipEvent (load) {
txt.gotoAndStop(12);
}
}
instance timer of movieClip 231 {
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 201 {
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 335 {
}
movieClip 339 {
}
movieClip 341 {
}
movieClip 342 {
frame 1 {
current_p = 1;
max_p = 0;
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');
}
}
};
}
instance p1 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p2 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p3 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p4 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p5 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p6 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p7 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p8 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p9 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p10 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p11 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p12 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p13 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p14 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p15 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p16 of movieClip 256 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).substr(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
var bb = 3;
var msir = _parent._parent._parent.m_sir;
var sir_lvl = _parent._parent.sir_level;
if (msir._currentframe < sir_lvl * 5 - bb) {
msir.gotoAndStop(msir._currentframe + 1);
}
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
}
movieClip 343 {
frame 1 {
stop();
sir_level = 1;
}
instance of movieClip 342 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 202);
mc.removeMovieClip();
this.swapDepths(202);
}
}
frame 2 {
++sir_level;
_root.prog.gotoAndStop(16);
}
instance of movieClip 342 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 202);
mc.removeMovieClip();
this.swapDepths(202);
}
}
frame 3 {
++sir_level;
_root.prog.gotoAndStop(32);
}
instance of movieClip 342 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 202);
mc.removeMovieClip();
this.swapDepths(202);
}
}
frame 4 {
++sir_level;
_root.prog.gotoAndStop(48);
}
instance of movieClip 342 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 202);
mc.removeMovieClip();
this.swapDepths(202);
}
}
frame 5 {
++sir_level;
_root.prog.gotoAndStop(64);
}
instance of movieClip 342 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 202);
mc.removeMovieClip();
this.swapDepths(202);
}
}
frame 6 {
++sir_level;
_root.prog.gotoAndStop(80);
}
instance of movieClip 342 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 202);
mc.removeMovieClip();
this.swapDepths(202);
}
}
frame 7 {
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();
}
}
movieClip 348 {
}
movieClip 349 {
frame 1 {
stop();
}
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(13);
}
}
instance timer of movieClip 231 {
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 202 {
_root.attachMovie('m_osv', 'm_osv', 3000);
onEnterFrame = function () {};
}
movieClip 357 {
}
movieClip 359 {
}
movieClip 361 {
}
movieClip 364 {
}
movieClip 365 {
}
movieClip 368 {
}
movieClip 369 {
}
frame 203 {
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
nextFrame();
};
num_request = 0;
NUMREQ = [[0], [1], [2], [3], [4, 9], [5], [6], [7], [8], [4, 9], [10]];
PLT = ['Burn the middle fire', 'Place the pan on the stove', 'Pour the oil in the pan', 'Add the ham', 'Fry ham during 5 min (wait)', 'Add the onion', 'Add salt', 'Add black pepper', 'Mix all that', 'Fry all that (5 min)', 'Finish'];
plt = 0;
plita_text = PLT[plt];
m_pin.gotoAndPlay(10);
next_text = function () {
++num_request;
++plt;
plita_text = PLT[plt];
m_pin.gotoAndPlay(2);
};
bb = 100;
_root.drag_item = null;
PRO = [_root.o0, _root.o1, _root.o2, _root.o3, _root.o4, _root.o5, _root.o6, _root.o7, _root.o8, _root.o9, _root.o10];
var i = 0;
while (i < PRO.length) {
var id = PRO[i];
id.act = false;
id.timer = 100 + random(500);
id.num = i;
id.pod_dis = false;
id._x = 535;
id._y = 480 + bb;
id.onPress = function () {
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
this.pod_dis = true;
this.startDrag();
_root.drag_item = this;
};
++i;
}
odin_finish = false;
tc = 0;
min_timer_id = function () {
var v4 = null;
var v3 = 1000;
var v2 = 0;
while (v2 < PRO.length) {
var v1 = PRO[v2];
if (v1.act == false) {
if (v1.timer < v3) {
v4 = v1;
v3 = v1.timer;
}
}
++v2;
}
return v4;
};
onEnterFrame = function () {
onMouseUp = function () {
var v6 = function (id) {
id.stopDrag();
id._x = 535;
id._y = 480 + bb;
id.timer = 100 + random(500);
id.act = false;
id.pod._y = id._y;
id.pod_dis = false;
id.pod._alpha = 100;
_root.drag_item = null;
};
if (_root.drag_item != null) {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
var v4 = _root.drag_item;
var v5 = false;
var v3 = 0;
while (v3 < NUMREQ[num_request].length) {
if (v4.num == NUMREQ[num_request][v3]) {
v5 = true;
}
++v3;
}
if (v5 == true) {
if (v4._x < 400) {
trace('yes');
_root.PRO.slice(this.num, 1);
v4.pod.swapDepths(666);
v4.pod.removeMovieClip();
v4.swapDepths(666);
v4.removeMovieClip();
_root.m_pin.gotoAndPlay(11);
_root.m_plita.gotoAndPlay(_root.m_plita._currentframe + 1);
} else {
trace('no_eff');
v6(v4);
}
} else {
if (v4._x < 400) {
_root.ba_uron();
trace('!!!shtraf');
} else {
trace('no_eff');
}
v6(v4);
}
}
};
var v4 = 0;
while (v4 < PRO.length) {
var v3 = PRO[v4];
if (v3.timer > 0) {
--v3.timer;
}
if (v3.pod_dis == true) {
if (v3.pod._alpha > 0) {
v3.pod._alpha -= 5;
}
}
if (v3 != _root.drag_item) {
if (v3.act == true) {
v3.pod._y = v3._y;
v3._y -= 5;
if (v3._y < -bb) {
odin_finish = true;
v3._y = 480 + bb;
v3.pod._y = v3._y;
v3.timer = 100 + random(500);
v3.act = false;
}
}
}
++v4;
}
++tc;
if (tc > 50) {
tc = 0;
odin_finish = false;
var v7 = min_timer_id();
v7.act = true;
}
};
}
frame 203 {
ba_zad = 10000;
blife_max = 20;
blife = blife_max;
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
bex_d = 0;
ba_exp = function (id) {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
++bex_d;
if (bex_d > 10) {
bex_d = 0;
}
var v2 = _root.attachMovie('l_b_exp', 'l_b_exp' + bex_d + random(1000), bex_d);
v2._x = id._x + id._parent._x;
v2._y = id._y + id._parent._y;
};
_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;
_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 378 {
}
movieClip 381 {
}
movieClip 386 {
frame 1 {
stop();
}
frame 8 {
stop();
_root.next_text();
}
frame 20 {
stop();
_root.next_text();
}
frame 30 {
stop();
_root.next_text();
}
frame 43 {
stop();
_root.next_text();
}
frame 56 {
stop();
_root.next_text();
}
frame 65 {
stop();
_root.next_text();
}
frame 86 {
stop();
_root.next_text();
}
frame 107 {
stop();
_root.next_text();
}
frame 116 {
stop();
_root.next_text();
}
frame 140 {
stop();
_root.next_text();
}
frame 145 {
stop();
_root.win();
}
}
movieClip 388 {
}
movieClip 390 {
}
movieClip 392 {
}
movieClip 395 {
}
movieClip 398 {
}
instance o5 of movieClip 398 {
onClipEvent (load) {
this.pod = _root.pod2;
}
}
movieClip 400 {
}
movieClip 401 {
}
movieClip 404 {
}
movieClip 407 {
}
instance o3 of movieClip 407 {
onClipEvent (load) {
this.pod = _root.pod1;
}
}
movieClip 409 {
}
movieClip 410 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 410 {
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 411 {
}
instance kn1 of movieClip 411 {
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 412 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 412 {
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 416 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
stop();
}
}
movieClip 421 {
}
movieClip 424 {
}
movieClip 427 {
}
movieClip 429 {
}
movieClip 432 {
}
movieClip 435 {
}
movieClip 436 {
frame 1 {
stop();
}
}
movieClip 437 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
ba.gotoAndStop(Math.round(Math.random() * ba._totalframes));
onEnterFrame = function () {
ba.onPress = function () {
_root.ba_exp(this);
_root.ba_plus();
gotoAndPlay('back');
};
};
}
frame 151 {
_root.ba_uron();
}
frame 157 {
var r = random(_root.ba_zad);
if (r < 10) {
gotoAndPlay('start');
} else {
gotoAndPlay('back');
}
}
}
movieClip 438 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
ba.gotoAndStop(Math.round(Math.random() * ba._totalframes));
onEnterFrame = function () {
ba.onPress = function () {
_root.ba_exp(this);
_root.ba_plus();
gotoAndPlay('back');
};
};
}
frame 192 {
_root.ba_uron();
}
frame 198 {
var r = random(_root.ba_zad);
if (r < 10) {
gotoAndPlay('start');
} else {
gotoAndPlay('back');
}
}
}
movieClip 439 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
ba.gotoAndStop(Math.round(Math.random() * ba._totalframes));
onEnterFrame = function () {
ba.onPress = function () {
_root.ba_exp(this);
_root.ba_plus();
gotoAndPlay('back');
};
};
}
frame 192 {
_root.ba_uron();
}
frame 198 {
var r = random(_root.ba_zad);
if (r < 10) {
gotoAndPlay('start');
} else {
gotoAndPlay('back');
}
}
}
movieClip 440 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
ba.gotoAndStop(Math.round(Math.random() * ba._totalframes));
onEnterFrame = function () {
ba.onPress = function () {
_root.ba_exp(this);
_root.ba_plus();
gotoAndPlay('back');
};
};
}
frame 192 {
_root.ba_uron();
}
frame 198 {
var r = random(_root.ba_zad);
if (r < 10) {
gotoAndPlay('start');
} else {
gotoAndPlay('back');
}
}
}
movieClip 441 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
ba.gotoAndStop(Math.round(Math.random() * ba._totalframes));
onEnterFrame = function () {
ba.onPress = function () {
_root.ba_exp(this);
_root.ba_plus();
gotoAndPlay('back');
};
};
}
frame 192 {
_root.ba_uron();
}
frame 198 {
var r = random(_root.ba_zad);
if (r < 10) {
gotoAndPlay('start');
} else {
gotoAndPlay('back');
}
}
}
movieClip 442 {
frame 1 {
gotoAndPlay('back');
}
frame 2 {
ba.gotoAndStop(Math.round(Math.random() * ba._totalframes));
onEnterFrame = function () {
ba.onPress = function () {
_root.ba_exp(this);
_root.ba_plus();
gotoAndPlay('back');
};
};
}
frame 192 {
_root.ba_uron();
}
frame 198 {
var r = random(_root.ba_zad);
if (r < 10) {
gotoAndPlay('start');
} else {
gotoAndPlay('back');
}
}
}
movieClip 444 {
}
instance baa of movieClip 444 {
onClipEvent (load) {
btmax = 550;
bt = 300;
}
onClipEvent (enterFrame) {
if (bt > 0) {
--bt;
if (bt < btmax - 200) {
_root.ba_zad = 100000;
} else {
_root.ba_zad = 50;
}
} else {
if (btmax > 350) {
btmax -= 10;
}
bt = btmax;
}
}
}
movieClip 448 {
}
frame 204 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 400);
mc.removeMovieClip();
onEnterFrame = function () {};
}
button 451 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
this.removeMovieClip();
}
}
movieClip 455 {
}
movieClip 457 {
}
instance of movieClip 457 {
onClipEvent (load) {
this.swapDepths(501);
}
}
frame 205 {
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 205 {
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 461 {
}
movieClip 466 {
}
movieClip 473 {
}
movieClip 474 {
frame 1 {
stop();
}
instance of movieClip 461 {
onClipEvent (load) {
por = 0;
_root.hint_cr(this, 'potatoes');
_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;
var v4 = _root.attachMovie('pro_erl', 'prod', 550);
v4._x = 193;
v4._y = 66;
_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);
}
}
}
frame 10 {
stop();
_root.next_text();
}
frame 26 {
stop();
_root.next_text();
}
frame 32 {
stop();
_root.next_text();
}
frame 40 {
stop();
_root.next_text();
}
frame 49 {
stop();
_root.next_text();
}
frame 57 {
stop();
_root.next_text();
}
frame 88 {
_root.win();
}
}
movieClip 476 {
}
movieClip 479 {
}
instance o5 of movieClip 479 {
onClipEvent (load) {
por = 4;
_root.hint_cr(this, 'grated cheese');
_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;
var v4 = _root.attachMovie('pro_erl', 'prod', 550);
v4._x = 193;
v4._y = 66;
_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 482 {
}
instance of movieClip 482 {
onClipEvent (load) {
por = 1;
_root.hint_cr(this, 'milk');
_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;
var v4 = _root.attachMovie('pro_erl', 'prod', 550);
v4._x = 193;
v4._y = 66;
_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 485 {
}
instance of movieClip 485 {
onClipEvent (load) {
por = 2;
_root.hint_cr(this, 'chive');
_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 487 {
}
instance of movieClip 487 {
onClipEvent (load) {
por = 3;
_root.hint_cr(this, 'ham & onion');
_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;
var v4 = _root.attachMovie('pro_erl', 'prod', 550);
v4._x = 193;
v4._y = 66;
_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);
}
}
}
instance of movieClip 473 {
onClipEvent (load) {
por = 6;
_root.hint_cr(this, 'yolks');
_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;
var v4 = _root.attachMovie('pro_erl', 'prod', 550);
v4._x = 193;
v4._y = 66;
_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 490 {
}
instance of movieClip 490 {
onClipEvent (load) {
por = 5;
_root.hint_cr(this, 'sour cream');
_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;
var v4 = _root.attachMovie('pro_erl', 'prod', 550);
v4._x = 193;
v4._y = 66;
_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);
}
}
}
instance of movieClip 461 {
onClipEvent (load) {
por = 0;
_root.hint_cr(this, 'potatoes');
_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;
var v4 = _root.attachMovie('pro_erl', 'prod', 550);
v4._x = 193;
v4._y = 66;
_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);
}
}
}
instance kn2 of movieClip 410 {
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 411 {
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 412 {
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 206 {
_root.prog.gotoAndStop(1);
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);
_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 491 {
frame 1 {
stop();
}
frame 200 {
_root.win();
}
}
movieClip 493 {
}
instance kn2 of movieClip 220 {
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 222 {
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 224 {
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 texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(14);
}
}
instance timer of movieClip 231 {
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 207 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step2 = 33.4;
shtraf = 0;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
var v2 = 1 - shtraf / 3;
_root.score += 100 * v2;
trace(_root.score);
nextFrame();
};
}
movieClip 496 {
}
movieClip 502 {
}
movieClip 503 {
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 506 {
}
movieClip 510 {
frame 1 {
stop();
}
}
movieClip 511 {
frame 14 {
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 15 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 50 {
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 51 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 86 {
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 87 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 108 {
_root.win();
}
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(15);
}
}
frame 208 {
_root.attachMovie('m_final2', 'm_final2', 3000);
stop();
trace('theend');
_root.b_play.enabled = false;
_root.b_more.enabled = false;
_root.game_result = Math.round(_root.score / 13);
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 = 200 + 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 = 200 + h * 10 + 20;
mc.txt.text = 'your score: ' + game_result + ' / 100';
}
movieClip 518 {
frame 1 {
stop();
}
}
movieClip 524 {
}
movieClip 531 {
}
movieClip 532 {
}
movieClip 534 {
frame 1 {
ps = 5;
}
frame 20 {
if (ps > 0) {
--ps;
gotoAndPlay(2);
} else {
gotoAndPlay('play');
}
}
instance of movieClip 518 {
onClipEvent (load) {
gotoAndStop(2);
}
}
frame 36 {
if (_root.sound_play == true) {
_root.sfx.s3.start();
}
}
instance of movieClip 518 {
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');
}
}
instance texttt of movieClip 45 {
onClipEvent (load) {
txt.gotoAndStop(17);
}
}
button 538 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.gotoAndStop('mainmenu');
}
}
button 539 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
getURL(_root.linkURL, '_blank');
}
}
movieClip 541 {
}