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

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

squirrel-virtual-pet.swf

This is the info page for
Flash #117102

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


ActionScript [AS1/AS2]
Combined Code
movieClip 6 item { } frame 1 { stop(); gamename = 'virtual_squirrel'; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); hostingdomain = real_domain[0]; if (hostingdomain == '') { hostingdomain = 'unknown'; } savedomain1 = 'gamedev.dev.spilgames.com'; savedomain2 = 'www8.agame.com'; if (hostingdomain == savedomain1 || hostingdomain == savedomain2) { spilnetwerk = 'internal'; } else { spilnetwerk = 'external'; } _root.localization_url1 = 'http://www.girlsgogames.pl/?utm_medium=brandedgames_' + spilnetwerk + '&utm_campaign=' + gamename + '&utm_source=' + hostingdomain; _root.localization_language_nr = 6; _root.localization_branding_nr = 38; _root.localization_portal = 'girl'; if (_root.localization_portal == 'game_com_cn') { this.mainscreen_moregames.onRelease = function () { getURL(_root.localization_url1, '_blank'); }; } else { this.mainscreen_moregames.onRelease = function () { getURL(_root.localization_url1 + '&utm_content=button_mainscreen_moregames', '_blank'); }; } } frame 1 { stop(); } movieClip 9 { } movieClip 10 { } movieClip 21 { } movieClip 22 { } movieClip 24 { } movieClip 26 { } movieClip 28 { } movieClip 30 { } movieClip 32 { } movieClip 34 { } movieClip 36 { } movieClip 38 { } movieClip 40 { } movieClip 42 { } movieClip 44 { } movieClip 46 { } movieClip 48 { } movieClip 50 { } movieClip 52 { } movieClip 53 { } movieClip 55 { } movieClip 56 { } movieClip 58 { } movieClip 59 { } movieClip 61 { } movieClip 62 { } movieClip 64 { } movieClip 65 { } movieClip 67 { } movieClip 68 { } movieClip 70 { } movieClip 71 { } movieClip 73 { } movieClip 74 { } movieClip 76 { } movieClip 77 { } movieClip 79 { } movieClip 80 { } movieClip 82 { } movieClip 83 { } movieClip 85 { } movieClip 86 { } movieClip 88 { } movieClip 89 { } movieClip 91 { } movieClip 93 { } movieClip 95 { } movieClip 97 { } movieClip 99 { } movieClip 101 { } movieClip 103 { } movieClip 105 { } movieClip 107 { } movieClip 110 { } movieClip 113 { } movieClip 115 { } movieClip 117 { } movieClip 119 { } movieClip 121 { } movieClip 123 { } movieClip 124 { } movieClip 126 { } movieClip 128 { } movieClip 130 { } movieClip 132 { } movieClip 133 { } movieClip 137 { } movieClip 140 { } movieClip 141 { } movieClip 142 { } movieClip 144 { } movieClip 145 { } movieClip 146 { } movieClip 147 { } movieClip 148 { } movieClip 149 { frame 1 { gotoAndStop(_root.localization_branding_nr); } frame 1 { stop(); } } // unknown tag 88 length 68 // unknown tag 88 length 274 movieClip 169 { frame 1 { gotoAndStop(_root.localization_language_nr); } } button 173 { on (release) { gotoAndPlay('2'); } } // unknown tag 88 length 41 movieClip 179 { } movieClip 185 { frame 1 { gotoAndStop(_root.localization_branding_nr); } frame 1 { stop(); } } movieClip 186 { } movieClip 189 { } movieClip 191 { frame 91 { stop(); } } movieClip 193 { frame 1 { if (_root.localization_portal == 'game_com_cn') { this.logo_intro.onRelease = function () { getURL(_root.localization_url1, '_blank'); }; } else { this.logo_intro.onRelease = function () { getURL(_root.localization_url1 + '&utm_content=logo_intro', '_blank'); }; } } frame 90 { stop(); } } movieClip 195 { } movieClip 196 { frame 89 { stop(); } } movieClip 200 { } movieClip 203 { } movieClip 205 { frame 89 { stop(); } } movieClip 208 { frame 89 { stop(); } } movieClip 211 { } // unknown tag 88 length 96 movieClip 215 { frame 39 { stop(); } } movieClip 216 { } movieClip 217 { frame 91 { stop(); } } movieClip 219 { frame 90 { stop(); } } movieClip 220 { frame 90 { stop(); } } movieClip 221 { frame 1 { if (_root.localization_portal == 'family') { gotoAndStop(1); } if (_root.localization_portal == 'teens') { gotoAndStop(2); } if (_root.localization_portal == 'girl') { gotoAndStop(3); } if (_root.localization_portal == 'game_com_cn') { gotoAndStop(4); } if (_root.localization_portal == 'young_adults') { gotoAndStop(5); } if (_root.localization_portal == 'zapapa') { gotoAndStop(6); } if (_root.localization_portal == 'egames_jp') { gotoAndStop(7); } } } frame 19 { gotoAndStop('2'); } frame 20 { function makeNewClip() { if (_root.char._currentframe == '9' && _root.char.game._currentframe == '23') { newClip = _root.attachMovie('item', 'item' + depth, depth++); allBalls.push(newClip); newClip._x = Math.floor(Math.random() * 94) + 107; newClip._y = 74; newClip.sped = Math.floor(Math.random() * 6) + 1; newClip.onEnterFrame = function () { this._y += this.sped; }; } } barDrop = function () { hunger.gotoAndStop(hunger._currentframe - 1); happiness.gotoAndStop(happiness._currentframe - 1); energy.gotoAndStop(energy._currentframe - 1); }; setInterval(barDrop, 30000); depth = 0; allBalls = new Array(); checkGame = function () { if (_root.char.game._currentframe == '23' && !grown) { clearInterval(checkGameInterval); makeNewClip(); setInterval(makeNewClip, 1000); } }; checkGameInterval = setInterval(checkGame, 1000); if (_root.localization_portal == 'game_com_cn') { this.mainscreen_moregames.onRelease = function () { getURL(_root.localization_url1, '_blank'); }; } else { this.mainscreen_moregames.onRelease = function () { getURL(_root.localization_url1 + '&utm_content=button_mainscreen_moregames', '_blank'); }; } } frame 20 { score = 0; feedscore = 10; lovescore = 5; sleepscore = 15; cleanscore = 10; poopscore = 5; ballscore = 5; applescore = 5; togrowscore = 150; grow = false; grown = false; restart._visible = false; hunger.gotoAndStop('4'); happiness.gotoAndStop('4'); energy.gotoAndStop('4'); } movieClip 234 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } button 245 { on (release) { if (_root.bgs._currentframe == 1) { _root.bgs.gotoAndStop(4); } else { _root.bgs.gotoAndStop(_root.bgs._currentframe - 1); } } } button 247 { on (release) { if (_root.bgs._currentframe == 4) { _root.bgs.gotoAndStop(1); } else { _root.bgs.gotoAndStop(_root.bgs._currentframe + 1); } } } button 251 { on (release) { if (noscene) { _root.char.gotoAndStop('feed'); } } } button 254 { on (release) { if (noscene) { _root.char.gotoAndStop('love'); } } } button 257 { on (release) { if (noscene) { _root.char.gotoAndStop('game'); } } } button 260 { on (release) { if (noscene) { _root.char.gotoAndStop('sleep'); } } } button 263 { on (release) { if (noscene) { _root.char.gotoAndStop('clean'); } } } button 266 { on (release) { if (noscene) { _root.char.gotoAndStop('poop'); } } } // unknown tag 88 length 54 movieClip 279 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } movieClip 287 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } movieClip 295 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } movieClip 302 { } movieClip 306 { frame 9 { _root.char.gotoAndStop('sit'); } } button 311 { on (release) { if (_root.hunger._currentframe == '7') { _root.char.gotoAndStop('error'); } else { gotoAndPlay('acorn'); } } } button 312 { on (release) { if (_root.hunger._currentframe == '7') { _root.char.gotoAndStop('error'); } else { gotoAndPlay('apple'); } } } button 313 { on (release) { _root.char.gotoAndStop('sit'); } } movieClip 324 { } movieClip 325 { frame 54 { _root.score += _root.feedscore; _root.hunger.gotoAndStop(_root.hunger._currentframe + 1); _root.hunger.gotoAndStop(_root.hunger._currentframe + 1); _root.energy.gotoAndStop(_root.energy._currentframe + 1); } frame 69 { _root.char.gotoAndStop('sit'); } } movieClip 328 { frame 55 { _root.score += _root.feedscore; _root.hunger.gotoAndStop(_root.hunger._currentframe + 1); _root.happiness.gotoAndStop(_root.happiness._currentframe + 1); } frame 70 { _root.char.gotoAndStop('sit'); } } movieClip 329 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 337 { frame 36 { _root.score += _root.lovescore; _root.happiness.gotoAndStop(_root.happiness._currentframe + 1); } frame 51 { _root.char.gotoAndStop('sit'); } } movieClip 348 { } button 351 { on (release) { _root.char.gotoAndStop('wake'); } } movieClip 352 { frame 25 { stop(); } } movieClip 355 { } movieClip 356 { frame 17 { _root.score += _root.sleepscore; _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); _root.energy.gotoAndStop(_root.energy._currentframe + 1); _root.energy.gotoAndStop(_root.energy._currentframe + 1); _root.energy.gotoAndStop(_root.energy._currentframe + 1); } frame 32 { _root.char.gotoAndStop('sit'); } } movieClip 373 { frame 58 { _root.score += _root.cleanscore; _root.happiness.gotoAndStop(_root.happiness._currentframe + 1); } frame 73 { _root.char.gotoAndStop('sit'); } } movieClip 377 { frame 35 { _root.score += _root.poopscore; _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); } frame 50 { _root.char.gotoAndStop('sit'); } } movieClip 381 { } movieClip 384 { } movieClip 385 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 387 { } movieClip 407 { frame 193 { stop(); _root.char.game.gotoAndPlay('24'); } } movieClip 409 { instance gamecatcher of movieClip 385 { onClipEvent (enterFrame) { this.swapDepths(1000); if (this._x <= 24) { if (Key.isDown(39)) { this.gotoAndStop('bounce'); this._x += 4; } } if (this._x >= -60) { if (Key.isDown(37)) { this.gotoAndStop('bounce'); this._x -= 4; } } if (!Key.isDown(39) && !Key.isDown(37)) { this.gotoAndStop(1); } } } frame 23 { stop(); } frame 35 { _root.happiness.gotoAndStop(_root.happiness._currentframe + 1); _root.energy.gotoAndStop(_root.energy._currentframe - 1); _root.energy.gotoAndStop(_root.energy._currentframe - 1); } frame 50 { _root.char.gotoAndStop('sit'); } } movieClip 411 { frame 13 { _root.char.gotoAndStop('sit'); } } movieClip 412 { frame 1 { stop(); _root.noscene = true; i = 0; while (i < _root.allBalls.length) { _root.allBalls[i].removeMovieClip(); ++i; } if (_root.energy._currentframe == '1') { _root.char.gotoAndStop('sleep'); } } frame 2 { stop(); _root.noscene = false; } frame 3 { stop(); _root.noscene = false; } frame 4 { stop(); _root.noscene = false; } frame 5 { stop(); _root.noscene = false; } frame 6 { stop(); } frame 7 { stop(); _root.noscene = false; } frame 8 { stop(); _root.noscene = false; } frame 9 { stop(); _root.noscene = false; } frame 10 { stop(); _root.noscene = false; } } movieClip 413 { } instance of movieClip 413 { onClipEvent (press) { if (_root.char._currentframe == 1) { _root.char.gotoAndStop('poke'); } } } button 418 { on (release) { _root.gotoAndStop('intro'); } } button 421 { on (release) { _root.restart._visible = false; } } movieClip 422 { } frame 21 { function checkScore() { if (score >= togrowscore && _root.char._currentframe == '1' && !grow) { _root.growbtn._visible = true; growbtnSound.start(); clearInterval(checkScoreInterval); } } growbtnSound = new Sound(); growbtnSound.attachSound('growbtnsound'); if (!grow) { _root.growbtn._visible = false; } checkScoreInterval = setInterval(checkScore, 500); } frame 21 { stop(); noscene = true; gameSound = new Sound(); gameSound.attachSound('game'); _root.createEmptyMovieClip('watchCollision', -2); watchCollision.onEnterFrame = function () { i = 0; while (i < allBalls.length) { if (allBalls[i].hitTest(_root.char.game.gamecatcher.basket)) { gameSound.start(); allBalls[i].removeMovieClip(); allBalls.splice(i, 1); score += applescore; } if (allBalls[i].hitTest(_root.char.game.ground)) { allBalls[i].sped = 0; } ++i; } }; } button 423 { on (release) { if (!restart._visible) { restart._visible = true; } else { restart._visible = false; } } } button 424 { on (release) { if (noscene) { if (_root.hunger._currentframe == '1') { _root.char.gotoAndStop('error'); } else { _root.char.gotoAndStop('game'); } } } } button 425 { on (release) { if (noscene) { if (_root.energy._currentframe == '7') { _root.char.gotoAndStop('error'); } else { _root.char.gotoAndStop('sleep'); } } } } button 426 { on (release) { if (noscene) { if (_root.hunger._currentframe == '1') { _root.char.gotoAndStop('error'); } else { _root.char.gotoAndStop('poop'); } } } } button 432 { on (release) { if (noscene) { _root.gotoAndStop('grow'); } } } frame 22 { stop(); grow = true; watchCollision.removeMovieClip(); } button 436 { on (release) { _root.gotoAndStop('growing'); } } button 437 { on (release) { _root.gotoAndStop('small'); } } frame 23 { stop(); grown = true; } button 448 { on (release) { _root.gotoAndStop('large'); } } movieClip 449 { frame 66 { stop(); } } frame 24 { stop(); } button 450 { on (release) { if (noscene) { if (_root.energy._currentframe == '7') { _root.char.gotoAndStop('error'); } else { _root.char.gotoAndStop('sleep'); } } } } movieClip 454 { } movieClip 457 { frame 9 { _root.char.gotoAndStop('sit'); } } button 460 { on (release) { if (_root.hunger._currentframe == '7') { _root.char.gotoAndStop('error'); } else { gotoAndPlay('cupcake'); } } } movieClip 469 { frame 50 { _root.score += _root.feedscore; _root.hunger.gotoAndStop(_root.hunger._currentframe + 1); _root.hunger.gotoAndStop(_root.hunger._currentframe + 1); _root.energy.gotoAndStop(_root.energy._currentframe + 1); } frame 65 { _root.char.gotoAndStop('sit'); } } movieClip 473 { frame 50 { _root.score += _root.feedscore; _root.hunger.gotoAndStop(_root.hunger._currentframe + 1); _root.happiness.gotoAndStop(_root.happiness._currentframe + 1); } frame 65 { _root.char.gotoAndStop('sit'); } } movieClip 474 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 478 { frame 36 { _root.score += _root.lovescore; _root.happiness.gotoAndStop(_root.happiness._currentframe + 1); } frame 51 { _root.char.gotoAndStop('sit'); } } movieClip 491 { } movieClip 492 { frame 27 { stop(); } } movieClip 501 { frame 25 { _root.score += _root.sleepscore; _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); _root.energy.gotoAndStop(_root.energy._currentframe + 1); _root.energy.gotoAndStop(_root.energy._currentframe + 1); _root.energy.gotoAndStop(_root.energy._currentframe + 1); } frame 40 { _root.char.gotoAndStop('sit'); } } movieClip 510 { frame 60 { _root.score += _root.cleanscore; _root.happiness.gotoAndStop(_root.happiness._currentframe + 1); } frame 75 { _root.char.gotoAndStop('sit'); } } movieClip 513 { frame 35 { _root.score += _root.poopscore; _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); _root.hunger.gotoAndStop(_root.hunger._currentframe - 1); } frame 50 { _root.char.gotoAndStop('sit'); } } movieClip 521 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 523 { } movieClip 524 { } movieClip 526 { frame 19 { stop(); } instance pass of movieClip 521 { onClipEvent (enterFrame) { if (_root.char.game.ball._currentframe >= 2 && _root.char.game.ball._currentframe <= 6) { this.gotoAndStop('2'); } else { this.gotoAndStop('1'); } } } instance ball of movieClip 524 { onClipEvent (load) { this.direction = 'ff'; stop(); var speed = 1; var direction; } onClipEvent (enterFrame) { beepSound = new Sound(this); beepSound.attachSound('beep'); if (direction == 'ff') { gotoAndStop(_currentframe + speed); } else { if (direction == 'rr') { gotoAndStop(_currentframe - speed); } } if (this._currentframe == '1') { this.direction = 'ff'; } if (this._currentframe == '20') { _root.char.game.gotoAndPlay('20'); } } onClipEvent (press) { if (this.direction == 'ff') { beepSound.start(); _root.score += _root.ballscore; } this.direction = 'rr'; } } frame 24 { _root.happiness.gotoAndStop(_root.hunger._currentframe + 1); _root.energy.gotoAndStop(_root.energy._currentframe - 1); _root.energy.gotoAndStop(_root.energy._currentframe - 1); } frame 39 { _root.char.gotoAndStop('sit'); } } movieClip 527 { frame 13 { _root.char.gotoAndStop('sit'); } } movieClip 528 { frame 1 { stop(); _root.noscene = true; if (_root.energy._currentframe == '1') { _root.char.gotoAndStop('sleep'); } } frame 2 { stop(); _root.noscene = false; } frame 3 { stop(); _root.noscene = false; } frame 4 { stop(); _root.noscene = false; } frame 5 { stop(); _root.noscene = false; } frame 6 { stop(); } frame 7 { stop(); _root.noscene = false; } frame 8 { stop(); _root.noscene = false; } frame 9 { stop(); _root.noscene = false; } frame 10 { stop(); noscene = false; } } instance of movieClip 413 { onClipEvent (press) { if (_root.char._currentframe == 1) { _root.char.gotoAndStop('poke'); } } }




http://swfchan.com/24/117102/info.shtml
Created: 8/3 -2019 03:41:33 Last modified: 8/3 -2019 03:41:33 Server time: 14/11 -2024 17:37:43