STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/76810645?noj=FRM76810645-22DC" width="1" height="1"></div>

Ice Cream Shop.swf

This is the info page for
Flash #99383

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
movieClip 15 { } movieClip 18 { } movieClip 20 { } // unknown tag 88 length 229 movieClip 35 { 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); } } movieClip 36 { instance txt of movieClip 35 { } } movieClip 38 m_final_wait2 { frame 1 { if (_root.sound_play == true) { _root.sfx.s9.start(); } } instance of movieClip 36 { onClipEvent (load) { txt.gotoAndStop(9); } } frame 81 { _root.nextFrame(); this.removeMovieClip(); } } movieClip 40 m_RES { frame 2 { if (t > 0) { --t; gotoAndPlay(1); } } frame 11 { stop(); } } movieClip 42 m_hint2 { frame 2 { if (t > 0) { --t; gotoAndPlay(1); } } frame 11 { stop(); } } movieClip 44 { } movieClip 48 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 49 m_zat { frame 15 { _root.nextFrame(); this.removeMovieClip(); } } movieClip 50 m_osv { frame 10 { this.removeMovieClip(); } } movieClip 52 l_osv_uron { frame 11 { this.swapDepths(666); this.removeMovieClip(); } } frame 1 { function goToThisURL() { getURL(_root.linkURL, '_blank'); } stop(); var url = _root._url; Playtomic.Log.View(3512, '8aac196bada841bf', url); System.security.allowDomain('www.playpink.com'); var lc = new LocalConnection(); _root.gamedomain = lc.domain(); _root.gamename = 'Happy_Ice_Cream'; _root.createEmptyMovieClip('temp', 1123); loadMovie('http://www.playpink.com/partners/connect.swf', temp); var clickurl = 'http://www.playpink.com/category/cooking-games/1/top-rated.html?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1'; linkURL = clickurl; var myMenu = new ContextMenu(); var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL); myMenu.customItems.push(copyright); myMenu.hideBuiltInItems(); _root.menu = myMenu; } movieClip 55 { } movieClip 57 { } movieClip 58 { } button 60 { on (release) { Playtomic.Log.CustomMetric('SplashScreen', 'Links'); Playtomic.Log.ForceSend(); getURL(_root.linkURL, '_blank'); } } movieClip 62 { } movieClip 64 { } movieClip 66 { } movieClip 68 { } movieClip 70 { } movieClip 71 { } movieClip 73 { } movieClip 75 { } movieClip 77 { } movieClip 79 { } movieClip 81 { } movieClip 83 { } movieClip 85 { } movieClip 87 { } movieClip 89 { } movieClip 91 { } movieClip 93 { } movieClip 95 { } movieClip 97 { } movieClip 99 { } movieClip 101 { } movieClip 103 { } movieClip 105 { } movieClip 110 { } movieClip 112 { } movieClip 114 { } movieClip 116 { } movieClip 120 { } movieClip 123 { } movieClip 137 { } movieClip 138 { } movieClip 143 { } movieClip 153 { frame 36 { stop(); } frame 60 { stop(); } } movieClip 155 { } movieClip 157 { } movieClip 160 { } movieClip 162 { } // unknown tag 88 length 136 movieClip 166 { frame 1 { stop(); } } movieClip 170 { } button 172 { on (release) { Playtomic.Log.Play(); gotoAndPlay('playgame'); } on (rollOver) { gotoAndPlay('happy'); } on (rollOut) { gotoAndPlay('sad'); } } movieClip 174 { } movieClip 175 { frame 2 { } frame 183 { if (_root.getBytesLoaded() >= _root.getBytesTotal()) { gotoAndPlay('app'); } } frame 194 { stop(); } instance of movieClip 166 { onClipEvent (enterFrame) { if (_root.getBytesLoaded() >= _root.getBytesTotal()) { _parent.gotoAndPlay(_parent._currentframe + 1); this.txt.text = 100; } else { var pr = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.txt.text = pr; this.gotoAndStop(Math.round(pr * 200 / 100)); } } } frame 315 { stop(); } frame 340 { stop(); } frame 361 { stop(); } instance door of movieClip 153 { onClipEvent (load) { gotoAndPlay('close'); } } frame 455 { stop(); _root.nextFrame(); } } movieClip 480 __Packages.Playtomic.LogRequest { #initclip if (!_global.Playtomic) { _global.Playtomic = new Object(); } if (!_global.Playtomic.LogRequest) { var v1 = function () {}; Playtomic.LogRequest = v1; var v2 = v1.prototype; v2.Queue = function (data) { ++this.Pieces; this.Data += ((this.Data == '') ? '' : '~') + data; if (this.Pieces == 8 || this.Data.length > 300) { this.Pieces = 0; this.Ready = true; } }; v2.Send = function () { var v3 = function (success) { if (this.Data.indexOf('v/') == 0 || this.Data.indexOf('~v/') > -1) { Playtomic.Log.IncreaseViews(); } if (this.Data.indexOf('p/') == 0 || this.Data.indexOf('~p/') > -1) { Playtomic.Log.IncreasePlays(); } }; var v2 = new LoadVars(); v2.sendAndLoad('http://g' + Playtomic.Log.GUID + '.api.playtomic.com/Tracker/q.aspx?swfid=' + Playtomic.Log.SWFID + '&q=' + this.Data + '&url=' + Playtomic.Log.SourceUrl + '&' + Math.random() + 'z', v3, 'POST'); }; v2.Data = ''; v2.Ready = false; ASSetPropFlags(Playtomic.LogRequest.prototype, null, 1); } #endinitclip } movieClip 481 __Packages.Playtomic.Log { #initclip if (!_global.Playtomic) { _global.Playtomic = new Object(); } if (!_global.Playtomic.Log) { var v1 = function () {}; Playtomic.Log = v1; var v2 = v1.prototype; v1.View = function (swfid, guid, defaulturl) { if (swfid == undefined) { swfid = 0; } if (guid == undefined) { guid = ''; } if (defaulturl == undefined) { defaulturl = ''; } if (Playtomic.Log.SWFID > 0) { return undefined; } Playtomic.Log.SWFID = swfid; Playtomic.Log.GUID = guid; Playtomic.Log.Enabled = true; if (Playtomic.Log.SWFID == 0 || Playtomic.Log.GUID == '') { Playtomic.Log.Enabled = false; return undefined; } if (defaulturl.indexOf('http://') != 0) { Playtomic.Log.Enabled = false; return undefined; } Playtomic.Log.SourceUrl = defaulturl; if (Playtomic.Log.SourceUrl == null || Playtomic.Log.SourceUrl == '' || Playtomic.Log.SourceUrl.indexOf('https://') == 0) { Playtomic.Log.Enabled = false; return undefined; } Playtomic.Log.Cookie = SharedObject.getLocal('playtomic'); var v5 = Playtomic.Log.GetCookie('views'); Playtomic.Log.Send('v/' + v5, true); _global.setTimeout(Playtomic.Log.PingServer, 60000); }; v1.ForceSend = function () { if (Playtomic.Log.Request == null) { return undefined; } Playtomic.Log.Request.Send(); Playtomic.Log.Request = new Playtomic.LogRequest(); }; v1.Play = function () { if (!Playtomic.Log.Enabled) { return undefined; } trace('Play'); Playtomic.Log.LevelCounters = new Array(); Playtomic.Log.LevelAverages = new Array(); Playtomic.Log.LevelRangeds = new Array(); Playtomic.Log.Send('p/' + (Playtomic.Log.Plays + 1), true); }; v1.CustomMetric = function (name, group, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (group == null || group == undefined) { group = ''; } if (unique == null || unique == undefined) { unique = false; } if (unique) { if (Playtomic.Log.Customs.indexOf(name) > -1) { return undefined; } Playtomic.Log.Customs.push(name); } Playtomic.Log.Send('c/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group)); }; v1.Link = function (url, name, group, unique, total, fail) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('l/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + Playtomic.Log.Clean(url) + '/' + unique + '/' + total + '/' + fail); }; v1.LevelCounterMetric = function (name, level, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelCounters.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelCounters.push(name); } Playtomic.Log.Send('lc/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level)); }; v1.LevelRangedMetric = function (name, level, value, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelRangeds.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelRangeds.push(name); Playtomic.Log.SaveCookie('lr_' + name, 1); } Playtomic.Log.Send('lr/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value); }; v1.LevelAverageMetric = function (name, level, value, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelAverages.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelAverages.push(name); } Playtomic.Log.Send('la/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value); }; v1.Heatmap = function (name, group, x, y) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('h/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + x + '/' + y); }; v1.Funnel = function (name, step, stepnum) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('f/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(step) + '/' + stepnum); }; v1.PlayerLevelStart = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('pls/' + levelid); }; v1.PlayerLevelWin = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plw/' + levelid); }; v1.PlayerLevelQuit = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plq/' + levelid); }; v1.PlayerLevelRetry = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plr/' + levelid); }; v1.PlayerLevelFlag = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plf/' + levelid); }; v1.PingServer = function () { if (!Playtomic.Log.Enabled) { return undefined; } ++Playtomic.Log.Pings; Playtomic.Log.Send('t/' + (Playtomic.Log.FirstPing ? 'y' : 'n') + '/' + Playtomic.Log.Pings, true); if (Playtomic.Log.FirstPing) { Playtomic.Log.FirstPing = false; setInterval(Playtomic.Log.PingServer, 60000); } }; v1.Send = function (s, view) { if (view == undefined) { view = false; } Playtomic.Log.Request.Queue(s); if (Playtomic.Log.Request.Ready || view || !Playtomic.Log.Queue) { Playtomic.Log.Request.Send(); Playtomic.Log.Request = new Playtomic.LogRequest(); } }; v1.GetCookie = function (n) { if (Playtomic.Log.Cookie.data[n] == undefined) { return 0; } else { return parseInt(Playtomic.Log.Cookie.data[n]); } }; v1.SaveCookie = function (n, v) { Playtomic.Log.Cookie.data[n] = v.toString(); Playtomic.Log.Cookie.flush(); }; v1.Clean = function (s) { while (s.indexOf('/') > -1) { s = Playtomic.Log.Replace(s, '/', '\\'); } while (s.indexOf('~') > -1) { s = Playtomic.Log.Replace(s, '~', '-'); } return escape(s); }; v1.Replace = function (str, find, replace) { return (str.split(find)).join(replace); }; v1.IncreaseViews = function () { var v1 = Playtomic.Log.GetCookie('views'); ++v1; Playtomic.Log.SaveCookie('views', v1); }; v1.IncreasePlays = function () { ++Playtomic.Log.Plays; }; v1.Enabled = false; v1.Queue = true; v1.SWFID = 0; v1.GUID = ''; v1.Request = new Playtomic.LogRequest(); v1.FirstPing = true; v1.Pings = 0; v1.Plays = 0; v1.HighestGoal = 0; v1.Customs = new Array(); v1.LevelCounters = new Array(); v1.LevelAverages = new Array(); v1.LevelRangeds = new Array(); ASSetPropFlags(Playtomic.Log.prototype, null, 1); } #endinitclip } frame 2 { 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 2 { 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(); } } }; }; } // unknown tag 88 length 56 movieClip 179 { } instance mus of movieClip 179 { 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 181 { } instance sfx of movieClip 181 { 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'); } } // unknown tag 88 length 104 movieClip 186 { } movieClip 187 { } movieClip 191 { } // unknown tag 88 length 219 button 196 { on (release) { if (_root.sound_play == true) { var s16 = new Sound(this); s16.attachSound('so_click'); this.s16.start(); } _root.nextFrame(); } } button 200 { on (release) { if (_root.sound_play == true) { var s16 = new Sound(this); s16.attachSound('so_click'); this.s16.start(); } Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links'); Playtomic.Log.ForceSend(); getURL(_root.linkURL, '_blank'); } } button 205 { on (release) { if (_root.sound_play == true) { var s16 = new Sound(this); s16.attachSound('so_click'); this.s16.start(); } Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links'); Playtomic.Log.ForceSend(); getURL(_root.linkURL, '_blank'); } } movieClip 207 { } movieClip 208 { } frame 3 { _root.attachMovie('m_osv', 'm_osv', 3000); } movieClip 212 { } movieClip 213 { } button 219 { on (release) { if (_root.sound_play == true) { var s16 = new Sound(this); s16.attachSound('so_click'); this.s16.start(); } _root.nextFrame(); } } movieClip 229 { } movieClip 232 { } frame 4 { _root.shtraf = 0; _root.eggs_need = 4; _root.pro = 0; _root.pro_step = Math.round(100 / _root.eggs_need); stop(); _root.prog.gotoAndStop(1); _root.attachMovie('m_osv', 'm_osv', 3000); onEnterFrame = function () {}; win = function () { var v2 = 100 - shtraf * (80 / _root.eggs_need); if (v2 < 0) { v2 = 0; } _root.score += v2; trace(_root.score); _root.attachMovie('m_zat', 'm_zat', 3000); }; } movieClip 235 { } movieClip 238 { } movieClip 243 { frame 1 { stop(); egg = 0; eggs_plus = function () { ++egg; if (egg >= _root.eggs_need) { _root.win(); } else { _root.egg_hand.gotoAndPlay('start'); _root.egg_hand.crack = false; } _root.pro += _root.pro_step; _root.prog.gotoAndStop(Math.floor(_root.pro)); }; } frame 9 { stop(); eggs_plus(); } frame 19 { stop(); eggs_plus(); } frame 29 { stop(); eggs_plus(); } frame 39 { stop(); eggs_plus(); } } movieClip 248 { } movieClip 251 { } movieClip 252 { frame 1 { stop(); } frame 38 { gotoAndStop(''); eggs.gotoAndPlay(eggs._currentframe + 1); } } movieClip 254 { } movieClip 255 { } movieClip 256 { frame 5 { stop(); } frame 6 { if (_root.sound_play == true) { _root.sfx.s10.start(); } _root.attachMovie('l_osv_uron', 'l_osv_uron', 1001); } frame 27 { ++_root.shtraf; trace(_root.shtraf); crack = false; gotoAndPlay('start'); } } instance egg_hand of movieClip 256 { onClipEvent (load) { px = _root._xmouse; py = _root._ymouse; crack = false; } onClipEvent (enterFrame) { _x = _root._xmouse; _y = _root._ymouse; dx = mod(px - _root._xmouse); dy = mod(py - _root._ymouse); px = _root._xmouse; py = _root._ymouse; var dd = dx + dy; if (crack == false) { if (dd > 80) { if (_root.m_target_eggs.hitTest(_x, _y, 1)) { if (dd > 100) { if (dd < 150) { if (_root.sound_play == true) { _root.sfx.s11.start(); } trace('well'); _root.m_tarelka.gotoAndPlay(2); gotoAndStop('none'); crack = true; } } if (dd > 149) { if (_root.sound_play == true) { _root.sfx.s10.start(); } trace('crack'); gotoAndPlay('crack'); crack = true; } } } } } } movieClip 257 { instance txt of movieClip 35 { } } instance texttt of movieClip 257 { onClipEvent (load) { txt.gotoAndStop(2); } } movieClip 262 { frame 1 { stop(); } } movieClip 267 { frame 1 { stop(); } } instance kn2 of movieClip 267 { 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 269 { } instance kn1 of movieClip 269 { 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 271 { frame 1 { stop(); } } instance kn3 of movieClip 271 { 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 275 { on (release) { if (_root.sound_play == true) { var s16 = new Sound(this); s16.attachSound('so_click'); this.s16.start(); } Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links'); Playtomic.Log.ForceSend(); getURL(_root.linkURL, '_blank'); } } movieClip 276 { } frame 5 { stop(); _root.prog.gotoAndStop(1); _root.attachMovie('m_osv', 'm_osv', 3000); pro = 0; pro_step = 11.11111111111111; pro_step2 = 0.9523809523809524; 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(); }; } movieClip 279 { } movieClip 282 { } movieClip 284 { } movieClip 290 { } movieClip 291 { 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 294 { } movieClip 299 { } movieClip 300 { } movieClip 302 { frame 1 { } frame 11 { stop(); this.enabled = true; 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 46 { stop(); this.enabled = false; onPress = function () {}; gotoAndPlay(_currentframe + 1); } frame 59 { n = 3; } frame 61 { onMouseDown = function () {}; gotoAndPlay(_currentframe + 1); } frame 64 { stop(); onMouseDown = function () { _root.pro += _root.pro_step; _root.prog.gotoAndStop(Math.floor(_root.pro)); if (shkala.ac == 1 or shkala.ac == 3) { ++_root.shtraf; } if (_root.sound_play == true) { _root.sfx.s1.start(); } nextFrame(); }; } frame 65 { onMouseDown = function () {}; gotoAndPlay(_currentframe + 1); } frame 68 { --n; if (n > 0) { gotoAndPlay('b1'); } } frame 69 { n = 3; } frame 71 { onMouseDown = function () {}; gotoAndPlay(_currentframe + 1); } frame 74 { stop(); onMouseDown = function () { _root.pro += _root.pro_step; _root.prog.gotoAndStop(Math.floor(_root.pro)); if (shkala.ac == 1 or shkala.ac == 3) { ++_root.shtraf; } if (_root.sound_play == true) { _root.sfx.s1.start(); } nextFrame(); }; } frame 75 { onMouseDown = function () {}; gotoAndPlay(_currentframe + 1); } frame 78 { --n; if (n > 0) { gotoAndPlay('b2'); } } frame 99 { stop(); _root.win(); } } instance texttt of movieClip 257 { onClipEvent (load) { txt.gotoAndStop(3); } } frame 6 { _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); _root.nextFrame(); }; skalka = function () { m_skalka._x = _xmouse; m_skalka._y = _ymouse; dx = mod(px - _xmouse); dy = mod(py - _ymouse); 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 303 { } movieClip 305 { } movieClip 306 { frame 1 { stop(); } frame 200 { _root.win(); } } movieClip 308 { } movieClip 311 { frame 1 { if (_root.sound_play == true) { _root.sfx.s8.start(); } } } instance m_skalka of movieClip 311 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 4; } } } instance texttt of movieClip 257 { onClipEvent (load) { txt.gotoAndStop(4); } } movieClip 313 { } instance timer of movieClip 313 { 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 7 { _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 321 { } movieClip 323 { } movieClip 325 { } movieClip 328 { } movieClip 329 { } movieClip 332 { } movieClip 334 { } frame 8 { _root.win = function () { if (_root.sound_play == true) { _root.sfx.s6.start(); } _root.nextFrame(); }; num_request = 0; NUMREQ = [[0], [1], [2], [3], [4], [5, 9], [6], [7, 11], [8], [5, 9], [10], [7, 11], [12]]; PLT = ['Burn the high fire', 'Place the pot on the stove', 'Pour the milk', 'Add sugar', 'Add butter', 'Mix all that', 'Burn the middle fire', 'Boil (wait)', 'Add starch', 'Mix all that', 'Burn the low fire', 'Wait', '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, _root.o11, _root.o12]; 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 8 { 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 338 { } movieClip 349 { frame 1 { gotoAndPlay(Math.round(random(2))); } } movieClip 353 { frame 1 { stop(); } frame 8 { stop(); _root.next_text(); } frame 20 { stop(); _root.next_text(); } frame 29 { stop(); _root.next_text(); } frame 39 { stop(); _root.next_text(); } frame 54 { stop(); _root.next_text(); } frame 68 { stop(); _root.next_text(); } frame 70 { stop(); _root.next_text(); } frame 72 { stop(); _root.next_text(); } frame 92 { stop(); _root.next_text(); } frame 102 { stop(); _root.next_text(); } frame 104 { stop(); _root.next_text(); } frame 106 { stop(); _root.next_text(); } frame 125 { _root.win(); } } movieClip 355 { } movieClip 357 { } movieClip 359 { } movieClip 362 { } movieClip 364 { } movieClip 366 { } movieClip 368 { } movieClip 371 { } movieClip 374 { } instance o4 of movieClip 374 { onClipEvent (load) { this.pod = _root.pod1; } } movieClip 375 { } movieClip 378 { } movieClip 380 { } movieClip 383 { } movieClip 384 { frame 1 { stop(); } } instance kn2 of movieClip 384 { 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 385 { } instance kn1 of movieClip 385 { 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 386 { frame 1 { stop(); } } instance kn3 of movieClip 386 { 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 390 { frame 1 { stop(); } frame 10 { stop(); } frame 20 { stop(); } } movieClip 394 { } movieClip 397 { frame 1 { stop(); } } movieClip 401 { frame 1 { minus = false; zapas = 99; onPress = function () { if (_root.sound_play == true) { _root.sfx.s1.start(); } if (_currentframe == 2) { gotoAndStop(3); minus = true; } else { gotoAndStop(2); minus = false; } }; onEnterFrame = function () { if (minus) { d_sh(-0.5); } else { d_sh(0.2); } if (_currentframe == 2) { var v1 = 4000 * Math.random(); if (v1 < 60) { minus = true; gotoAndStop(3); } } }; d_sh = function (nn) { zapas += nn; if (zapas > 100) { zapas = 99; } if (zapas < 0) { zapas = 0; } sh.gotoAndStop(Math.round(zapas + 1)); if (zapas == 0) { _root.ba_uron(); if (_root.sound_play == true) { _root.sfx.s10.start(); } _root.attachMovie('l_osv_uron', 'l_osv_uron', 1000); d_sh(99); } }; } frame 2 { stop(); } } frame 9 { stop(); _root.prog.gotoAndStop(1); _root.attachMovie('m_osv', 'm_osv', 3000); pro = 0; pro_step = 0.8; 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(); }; } movieClip 404 { } movieClip 406 { } movieClip 414 { } movieClip 419 { frame 1 { stop(); } frame 4 { if (_parent.rot) { gotoAndPlay(2); } } } movieClip 422 { } movieClip 423 { } instance of movieClip 423 { onClipEvent (load) { rot = false; ss = 0; } onClipEvent (press) { rot = true; if (vent._currentframe < 2) { vent.gotoAndPlay(2); } } onClipEvent (mouseUp) { rot = false; ss = 0; } onClipEvent (enterFrame) { if (rot) { if (_root.bar.ac == 2) { _root.pro += _root.pro_step; if (_root.pro >= 100) { _root.win(); } _root.prog.gotoAndStop(int(_root.pro)); if (ss == 0) { ss = 7; if (_root.sound_play == true) { _root.sfx.s8.start(); } } else { --ss; } } else { if (_root.sound_play == true) { _root.sfx.s10.start(); } _root.attachMovie('l_osv_uron', 'l_osv_uron', 1001); _root.timer.time -= 1; if (_root.timer.time < 0) { _root.timer.time = 0; } } } } } movieClip 425 { frame 1 { ac = 1; } frame 9 { ac = 2; } frame 22 { ac = 3; } frame 30 { ac = 1; var rr = random(30); if (rr > 5) { gotoAndPlay(_currentframe - 1); } } } instance texttt of movieClip 257 { onClipEvent (load) { txt.gotoAndStop(5); } } instance kn2 of movieClip 267 { 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 269 { 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 271 { 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 313 { onClipEvent (load) { t = 0; time = 99; } 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 10 { _root.prog.gotoAndStop(1); _root.attachMovie('m_osv', 'm_osv', 3000); zal = 0; bb = 10; pro = 0; bc = 7; win = function () { if (_root.sound_play == true) { _root.sfx.s6.start(); } trace('win'); if (_root.pro > 100) { _root.pro = 100; } var v2 = _root.pro / 100; _root.score += 100 * v2; trace(_root.score); _root.nextFrame(); }; } movieClip 428 { } movieClip 432 { } movieClip 433 { } movieClip 434 { instance so of movieClip 433 { onClipEvent (load) { _alpha = 0; en = true; } onClipEvent (enterFrame) { if (en == true) { if (_root.cha.ac == true) { if (this.hitTest(_root._xmouse, _root._ymouse, 1)) { _alpha = _alpha + _root.bb; _root.pro += 100 / _root.bb * _root.bc - 0.1; _root.prog.gotoAndStop(Math.round(_root.pro)); if (_alpha >= 100) { en = false; ++_root.zal; } } } } } } } movieClip 437 { } movieClip 439 { } movieClip 441 { } movieClip 444 { frame 118 { _parent.ac = false; } frame 151 { _root.win(); } } movieClip 445 { instance cha of movieClip 444 { onClipEvent (load) { gotoAndStop(1); onPress = function () { _parent.ac = true; gotoAndPlay(2); this.enabled = false; }; } } } instance cha of movieClip 445 { onClipEvent (load) { ac = false; } onClipEvent (enterFrame) { _x = _root._xmouse; _y = _root._ymouse; } } instance texttt of movieClip 257 { onClipEvent (load) { txt.gotoAndStop(6); } } frame 11 { var mc = _root.attachMovie('m_final_wait2', 'm_final_wait2', 3000); } frame 12 { function mod(x) { if (x > 0) { return x; } x = -x; return x; } stop(); _root.attachMovie('m_osv', 'm_osv', 3000); trace('win'); time = 0; wt = true; onEnterFrame = function () { ++time; if (wt == true) { if (time > 350) { _root.attachMovie('m_zat', 'm_zat', 3000); wt = false; } } if (time == 1) { if (BB[1] == true) { m_plita.vit.vis = true; } if (BB[2] == true) { m_plita.kar.vis = true; } if (BB[3] == true) { m_plita.pap.vis = true; } if (BB[4] == true) { m_plita.bec.vis = true; } if (BB[5] == true) { m_plita.sir.vis = true; } if (BB[6] == true) { m_plita.zel.vis = true; } } }; game_result = int(score / 5); if (game_result < 0) { game_result = 1; } if (game_result > 100) { game_result = 100; } trace(game_result); h = 0; ++h; var mc = _root.m_krepej.attachMovie('m_RES', 'RES' + h, 200 + 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, 200 + h); mc._x = 0; mc._y = 60; mc.t = 200 + h * 10 + 20; mc.txt.text = 'your score: ' + game_result + ' / 100'; } movieClip 451 { frame 1 { stop(); } } movieClip 456 { frame 1 { stop(); } } movieClip 459 { } movieClip 467 { } movieClip 468 { frame 1 { ps = 1; } frame 40 { if (ps > 0) { --ps; gotoAndPlay(2); } else { gotoAndPlay('play'); } } instance of movieClip 456 { onClipEvent (load) { gotoAndStop(2); } } frame 66 { if (_root.sound_play == true) { _root.sfx.s3.start(); } } instance of movieClip 456 { onClipEvent (load) { gotoAndStop(3); } } frame 79 { ps = 1; } frame 141 { if (ps > 0) { --ps; gotoAndPlay('cl'); } else { if (_root.game_result > 40) { gotoAndPlay('WIN'); } else { gotoAndPlay('faild'); } } } frame 143 { if (_root.sound_play == true) { _root.sfx.s7.start(); } } frame 168 { gotoAndPlay('fl'); } frame 170 { if (_root.sound_play == true) { _root.sfx.s6.start(); } } frame 198 { gotoAndPlay('wl'); } } instance texttt of movieClip 257 { onClipEvent (load) { txt.gotoAndStop(7); } } movieClip 470 { } instance m_krepej of movieClip 470 { onClipEvent (load) { this.swapDepths(200); } } frame 13 { _root.b_more.swapDepths(301); _root.b_play.swapDepths(302); _root.attachMovie('m_osv', 'm_osv', 3000); } instance texttt of movieClip 257 { onClipEvent (load) { txt.gotoAndStop(2); } } instance texttt of movieClip 257 { onClipEvent (load) { txt.gotoAndStop(8); } } button 472 { on (release) { if (_root.sound_play == true) { var s16 = new Sound(this); s16.attachSound('so_click'); this.s16.start(); } Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links'); Playtomic.Log.ForceSend(); getURL('http://www.playpink.com/category/cooking-games/1/top-rated.html', '_blank'); } } button 474 { 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'); } } button 478 { 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'); } } button 479 { on (release) { if (_root.sound_play == true) { var s16 = new Sound(this); s16.attachSound('so_click'); this.s16.start(); } Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links'); Playtomic.Log.ForceSend(); getURL(_root.linkURL, '_blank'); } }




http://swfchan.com/20/99383/info.shtml
Created: 21/3 -2019 23:15:32 Last modified: 21/3 -2019 23:15:32 Server time: 22/12 -2024 12:54:54