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

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

Secret of Life Flower 2 - second part of the The Life Flower expedition.swf

This is the info page for
Flash #92224

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { stop(); _root.onEnterFrame = function () { if (getBytesLoaded() == getBytesTotal()) { delete this.onEnterFrame; _root.gotoAndStop('intro'); } var v3 = Math.round((getBytesLoaded() / getBytesTotal()) * 100); preloader_mc.bar_mc._xscale = v3; }; bggames.onRelease = function () { getURL('http://www.belugerinportal.com', '_blank'); }; } movieClip 10 { } movieClip 12 { } movieClip 18 { frame 1 { this._alpha = 0; } } movieClip 1871 __Packages.mx.transitions.OnEnterFrameBeacon { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.OnEnterFrameBeacon) { var v1 = function () {}; mx.transitions.OnEnterFrameBeacon = v1; var v2 = v1.prototype; v1.init = function () { var v4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(v4); var v3 = _root.createEmptyMovieClip('__OnEnterFrameBeacon', 9876); v3.onEnterFrame = function () { _global.MovieClip.broadcastMessage('onEnterFrame'); }; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.OnEnterFrameBeacon.prototype, null, 1); } #endinitclip } movieClip 1872 __Packages.mx.transitions.BroadcasterMX { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.BroadcasterMX) { var v1 = function () {}; mx.transitions.BroadcasterMX = v1; var v2 = v1.prototype; v1.initialize = function (o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } }; v2.addListener = function (o) { this.removeListener(o); if (this.broadcastMessage == undefined) { this.broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return this._listeners.push(o); }; v2.removeListener = function (o) { var v2 = this._listeners; var v3 = v2.length; while (v3--) { if (v2[v3] == o) { v2.splice(v3, 1); if (!v2.length) { this.broadcastMessage = undefined; } return true; } } return false; }; v2.broadcastMessage = function () { var v5 = String(arguments.shift()); var v4 = this._listeners.concat(); var v6 = v4.length; var v3 = 0; while (v3 < v6) { v4[v3][v5].apply(v4[v3], arguments); ++v3; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.BroadcasterMX.prototype, null, 1); } #endinitclip } movieClip 1873 __Packages.mx.transitions.Tween { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.Tween) { var v1 = function (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return undefined; } this.obj = obj; this.prop = prop; this.begin = begin; this.__set__position(begin); this.__set__duration(duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.__set__finish(finish); this._listeners = []; this.addListener(this); this.start(); }; mx.transitions.Tween = v1; var v2 = v1.prototype; v2.__set__time = function (t) { this.prevTime = this._time; if (t > this.__get__duration()) { if (this.looping) { this.rewind(t - this._duration); this.update(); this.broadcastMessage('onMotionLooped', this); } else { if (this.useSeconds) { this._time = this._duration; this.update(); } this.stop(); this.broadcastMessage('onMotionFinished', this); } } else { if (t < 0) { this.rewind(); this.update(); } else { this._time = t; this.update(); } } return this.__get__time(); }; v2.__get__time = function () { return this._time; }; v2.__set__duration = function (d) { this._duration = (d == null || d <= 0) ? _global.Infinity : d; return this.__get__duration(); }; v2.__get__duration = function () { return this._duration; }; v2.__set__FPS = function (fps) { var v2 = this.isPlaying; this.stopEnterFrame(); this._fps = fps; if (v2) { this.startEnterFrame(); } return this.__get__FPS(); }; v2.__get__FPS = function () { return this._fps; }; v2.__set__position = function (p) { this.setPosition(p); return this.__get__position(); }; v2.setPosition = function (p) { this.prevPos = this._pos; this._pos = p; this.obj[this.prop] = this._pos; this.broadcastMessage('onMotionChanged', this, this._pos); updateAfterEvent(); }; v2.__get__position = function () { return this.getPosition(); }; v2.getPosition = function (t) { if (t == undefined) { t = this._time; } return this.func(t, this.begin, this.change, this._duration); }; v2.__set__finish = function (f) { this.change = f - this.begin; return this.__get__finish(); }; v2.__get__finish = function () { return this.begin + this.change; }; v2.continueTo = function (finish, duration) { this.begin = this.position; this.__set__finish(finish); if (duration != undefined) { this.__set__duration(duration); } this.start(); }; v2.yoyo = function () { this.continueTo(this.begin, this.__get__time()); }; v2.startEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.addListener(this); } else { this._intervalID = setInterval(this, 'onEnterFrame', 1000 / this._fps); } this.isPlaying = true; }; v2.stopEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(this._intervalID); } this.isPlaying = false; }; v2.start = function () { this.rewind(); this.startEnterFrame(); this.broadcastMessage('onMotionStarted', this); }; v2.stop = function () { this.stopEnterFrame(); this.broadcastMessage('onMotionStopped', this); }; v2.resume = function () { this.fixTime(); this.startEnterFrame(); this.broadcastMessage('onMotionResumed', this); }; v2.rewind = function (t) { this._time = (t == undefined) ? 0 : t; this.fixTime(); this.update(); }; v2.fforward = function () { this.__set__time(this._duration); this.fixTime(); }; v2.nextFrame = function () { if (this.useSeconds) { this.__set__time((getTimer() - this._startTime) / 1000); } else { this.__set__time(this._time + 1); } }; v2.onEnterFrame = function () { this.nextFrame(); }; v2.prevFrame = function () { if (!this.useSeconds) { this.__set__time(this._time - 1); } }; v2.toString = function () { return '[Tween]'; }; v2.fixTime = function () { if (this.useSeconds) { this._startTime = getTimer() - this._time * 1000; } }; v2.update = function () { this.__set__position(this.getPosition(this._time)); }; v1.version = '1.1.0.52'; v1.__initBeacon = mx.transitions.OnEnterFrameBeacon.init(); v1.__initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); v2.func = function (t, b, c, d) { return c * t / d + b; }; v2.addProperty('FPS', v2.__get__FPS, v2.__set__FPS); v2.addProperty('duration', v2.__get__duration, v2.__set__duration); v2.addProperty('finish', v2.__get__finish, v2.__set__finish); v2.addProperty('position', v2.__get__position, v2.__set__position); v2.addProperty('time', v2.__get__time, v2.__set__time); ASSetPropFlags(mx.transitions.Tween.prototype, null, 1); } #endinitclip } movieClip 1874 __Packages.mx.transitions.easing.Strong { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.easing) { _global.mx.transitions.easing = new Object(); } if (!_global.mx.transitions.easing.Strong) { var v1 = function () {}; mx.transitions.easing.Strong = v1; var v2 = v1.prototype; v1.easeIn = function (t, b, c, d) { t /= d; return c * t * t * t * t * t + b; }; v1.easeOut = function (t, b, c, d) { t = t / d - 1; return c * (t * t * t * t * t + 1) + b; }; v1.easeInOut = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * t * t * t * t * t + b; } t -= 2; return (c / 2) * (t * t * t * t * t + 2) + b; }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.easing.Strong.prototype, null, 1); } #endinitclip } movieClip 22 { } // unknown tag 88 length 98 movieClip 28 damaged { frame 90 { stop(); continue_yes.onRelease = function () { delete continue_yes.onRelease; _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { _root.current_scene = 'scene 10'; _root.gotoAndStop('scene 10'); _root.damaged.removeMovieClip(); }; }; continue_no.onRelease = function () { delete continue_no.onRelease; _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { _root.orc.removeMovieClip(); _root.rock1.removeMovieClip(); _root.rock2.removeMovieClip(); _root.bullet.removeMovieClip(); _root.hand_mc.removeMovieClip(); _root.crosshair.removeMovieClip(); _root.bigrock_mc.removeMovieClip(); _root.transition_mc.removeMovieClip(); _root.gotoAndStop('main menu'); _root.damaged.removeMovieClip(); }; }; } } movieClip 31 rock_threw { } movieClip 34 rock { } movieClip 48 bullet { frame 1 { _root.onEnterFrame = function () { if (_root.completed) { this.removeMovieClip(); } }; stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } } movieClip 51 bigrock_mc { } movieClip 258 orc { frame 1 { _root.dodge_txt._visible = false; } frame 35 { gotoAndPlay('orc walk'); } frame 49 { if (_root.attack1) { _root.rock1.removeMovieClip(); trace(_root.attack2); } if (_root.attack2) { trace('rock 2 remove'); _root.rock2.removeMovieClip(); } } frame 87 { _root.dodge_txt._visible = true; _root.dodge_txt.swapDepths(99995); } frame 89 { if (_root.attack1) { _root.rock_threw1._visible = true; _root.rock_threw1.onEnterFrame = function () { this._xscale += 7; this._yscale += 7; if (!_root.hiding) { if (this._width >= 450) { _root.attachMovie('damaged', 'damaged', 99996, {'_x': 0, '_y': 0}); _root.dodge_txt._visible = false; _root.gameover = true; _root.orc.stop(); delete _root.orc.onEnterFrame; this.removeMovieClip(); } } else { if (_root.hiding) { _root.dodge_txt._visible = false; if (this._width >= 450) { this.removeMovieClip(); } } } }; } if (_root.attack2) { _root.rock_threw2._visible = true; _root.rock_threw2.onEnterFrame = function () { this._xscale += 9; this._yscale += 9; if (!_root.hiding) { if (this._width >= 600) { _root.attachMovie('damaged', 'damaged', 99996, {'_x': 0, '_y': 0}); _root.dodge_txt._visible = false; _root.gameover = true; _root.orc.stop(); delete _root.orc.onEnterFrame; this.removeMovieClip(); } } else { if (_root.hiding) { if (this._width >= 600) { this.removeMovieClip(); } } } }; } } frame 99 { gotoAndPlay('orc walk'); _root.walk = true; _root.dodge_txt._visible = false; } frame 134 { _root.orc_hit = false; gotoAndPlay('orc walk'); } frame 174 { _root.attachMovie('damaged', 'damaged', 99996, {'_x': 0, '_y': 0}); _root.dodge_txt._visible = false; _root.gameover = true; stop(); } frame 208 { stop(); } } movieClip 281 { frame 1 { stop(); } frame 15 { stop(); } frame 30 { stop(); } } movieClip 282 cutscene_6 { frame 1 { stop(); skip_btn.onRelease = function () { delete skip_btn.onRelease; gotoAndStop('route'); }; } frame 366 { stop(); _root.onMouseDown = function () { _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { delete _root.onMouseDown; gotoAndPlay('cutscene 2'); }; }; } frame 367 { _root.tweening(1, 100, 0); skip_btn.onRelease = function () { delete skip_btn.onRelease; gotoAndStop('route'); }; } frame 540 { stop(); _root.onMouseDown = function () { _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { delete _root.onMouseDown; gotoAndPlay('choose routes'); }; }; } frame 542 { _root.tweening(1, 100, 0); skip_btn.onRelease = function () { delete skip_btn.onRelease; gotoAndStop('route'); }; } frame 786 { stop(); jane_route.onRollOver = function () { _root._root.cust_cursor.gotoAndPlay('rollover'); }; jane_route.onRollOut = function () { _root._root.cust_cursor.gotoAndStop('idle'); }; jack_route.onRollOver = function () { _root.cust_cursor.gotoAndPlay('rollover'); }; jack_route.onRollOut = function () { _root.cust_cursor.gotoAndStop('idle'); }; jane_route.onRelease = function () { _root.tweening(1, 0, 100); _root.cust_cursor.gotoAndStop('idle'); _root.tween.onMotionFinished = function () { _root.current_scene = 'scene 7'; _root.gotoAndStop('scene 7'); _root.cutscene_6.removeMovieClip(); }; }; jack_route.onRelease = function () { _root.tweening(1, 0, 100); _root.cust_cursor.gotoAndStop('idle'); _root.tween.onMotionFinished = function () { _root.current_scene = 'scene 8'; _root.gotoAndStop('scene 8'); _root.cutscene_6.removeMovieClip(); }; }; } } movieClip 289 cutscene_ending { frame 378 { stop(); quit_game.onRelease = function () { delete quit_game.onRelease; _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { _root.gotoAndStop('main menu'); _root.dodge_txt._visible = false; _root.cutscene_ending.removeMovieClip(); _root.transition_mc.removeMovieClip(); }; }; } } movieClip 291 { } movieClip 294 { } movieClip 299 gameover_scr { frame 60 { stop(); } } movieClip 304 { frame 1 { stop(); } } movieClip 307 dialogBar { } movieClip 338 bg_storytrans { frame 1 { stop(); } } movieClip 354 { frame 1 { stop(); } frame 203 { stop(); } } movieClip 355 story_transition { frame 40 { stop(); this.continue_btn.onRelease = function () { _global.playscene = true; this.enabled = false; }; } } movieClip 670 dayak_mc { frame 1 { _root.isAttacking = false; } frame 25 { } frame 80 { _root.isAttacking = true; } frame 90 { gotoAndPlay('attack1'); } frame 91 { _root.isAttacking = true; if (_root.gameover) { stop(); } } frame 111 { gotoAndPlay('dayak1_attack'); _global.michaelHit = true; } frame 160 { stop(); this.removeMovieClip(); } frame 213 { stop(); this.removeMovieClip(); } frame 230 { this.swapDepths(_root.nina); } frame 295 { _root.isAttacking = true; } frame 305 { gotoAndPlay('dayak2_attack'); } frame 310 { _root.isAttacking = true; if (_root.gameover) { stop(); } } frame 330 { gotoAndPlay('dayak2_attack'); _global.jackHit = true; } frame 385 { stop(); this.removeMovieClip(); } frame 440 { stop(); this.removeMovieClip(); } frame 495 { _root.isAttacking = true; } frame 505 { gotoAndPlay('dayak3_attack'); } frame 510 { _root.isAttacking = true; if (_root.gameover) { stop(); } } frame 530 { gotoAndPlay('dayak3_attack'); _global.ninaHit = true; } frame 585 { stop(); this.removeMovieClip(); } frame 640 { stop(); this.removeMovieClip(); } frame 690 { _root.isAttacking = true; } frame 705 { gotoAndPlay('dayak4_attack'); } frame 710 { _root.isAttacking = true; if (_root.gameover) { stop(); } } frame 730 { gotoAndPlay('dayak4_attack'); _global.janeHit = true; } frame 785 { stop(); this.removeMovieClip(); } frame 840 { stop(); this.removeMovieClip(); } frame 875 { _root.michael.gotoAndPlay('michael shoot'); gotoAndPlay('dayak5_dead'); } frame 930 { _root.respawn2 = true; stop(); this.removeMovieClip(); } frame 960 { _root.jack.gotoAndPlay('jack shoot'); gotoAndPlay('dayak6_dead'); } frame 1010 { stop(); _root.respawn2 = true; this.removeMovieClip(); } } movieClip 869 other_char { frame 61 { gotoAndPlay('nina idle'); } frame 132 { gotoAndPlay('michael idle'); } frame 193 { gotoAndPlay('jane idle'); } frame 253 { gotoAndPlay('jack idle'); } frame 304 { gotoAndPlay('nina idle'); } frame 325 { gotoAndPlay('michael idle'); } frame 376 { gotoAndPlay('jane idle'); } frame 397 { gotoAndPlay('jack idle'); } frame 418 { gotoAndPlay('jack idle'); } frame 439 { gotoAndPlay('michael idle'); } frame 475 { stop(); _root.jack.stop(); _root.nina.stop(); _root.jane.stop(); _root.michael.stop(); delete _root.onMouseDown; cust_cursor._visible = true; cust_cursor.startDrag(true); _root.attachMovie('gameover_scr', 'gameover_scr', 999997, {'_x': 320, '_y': 240}); } frame 510 { stop(); _root.jack.stop(); _root.nina.stop(); _root.jane.stop(); _root.michael.stop(); delete _root.onMouseDown; cust_cursor._visible = true; cust_cursor.startDrag(true); _root.attachMovie('gameover_scr', 'gameover_scr', 999997, {'_x': 320, '_y': 240}); } frame 555 { stop(); _root.jack.stop(); _root.nina.stop(); _root.jane.stop(); _root.michael.stop(); delete _root.onMouseDown; cust_cursor._visible = true; cust_cursor.startDrag(true); _root.attachMovie('gameover_scr', 'gameover_scr', 999997, {'_x': 320, '_y': 240}); } frame 585 { stop(); _root.jack.stop(); _root.nina.stop(); _root.jane.stop(); _root.michael.stop(); delete _root.onMouseDown; cust_cursor._visible = true; cust_cursor.startDrag(true); _root.attachMovie('gameover_scr', 'gameover_scr', 999997, {'_x': 320, '_y': 240}); } } movieClip 872 bullet_rifle_mc { frame 1 { stop(); } } movieClip 873 bullet_mc { frame 1 { stop(); } } movieClip 898 hand_mc { frame 1 { stop(); } frame 10 { gotoAndStop('handgun'); } frame 20 { stop(); } frame 29 { gotoAndStop('handgun'); } frame 44 { gotoAndStop('rifle'); } frame 69 { gotoAndStop('rifle'); } } movieClip 901 { } movieClip 902 crosshair { } movieClip 905 obj6_mc { } movieClip 907 transition_mc { frame 1 { } } movieClip 910 { } movieClip 913 { } movieClip 914 popup2 { frame 1 { stop(); new mx.transitions.Tween(trans_mc, '_alpha', mx.transitions.easing.Strong.easeIn, 0, 80, 0.3, true); imagepopup = new mx.transitions.Tween(popup_img, '_alpha', mx.transitions.easing.Strong.easeIn, 0, 100, 0.4, true); new mx.transitions.Tween(map2, '_alpha', mx.transitions.easing.Strong.easeIn, 0, 100, 0.4, true); ok_btn.onRelease = function () { map2._visible = false; tweenhandler = new mx.transitions.Tween(trans_mc, '_alpha', mx.transitions.easing.Strong.easeIn, 80, 0, 0.3, true); new mx.transitions.Tween(popup_img, '_alpha', mx.transitions.easing.Strong.easeIn, 100, 0, 0.3, true); new mx.transitions.Tween(map2, '_alpha', mx.transitions.easing.Strong.easeIn, 100, 0, 0.3, true); tweenhandler.onMotionFinished = function () { _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { _root.conversation = false; if (!_root.scene7_choosed) { _root.current_scene = 'scene 7'; _root.gotoAndStop('scene 7'); } else { _root.current_scene = 'scene 8'; _root.gotoAndStop('scene 9'); } }; _root.popup.removeMovieClip(); }; _global.onHold = false; }; } } movieClip 945 { frame 1 { stop(); } } movieClip 946 popup { frame 1 { stop(); new mx.transitions.Tween(trans_mc, '_alpha', mx.transitions.easing.Strong.easeIn, 0, 80, 0.3, true); imagepopup = new mx.transitions.Tween(popup_img, '_alpha', mx.transitions.easing.Strong.easeIn, 0, 100, 0.4, true); _global.onHold = true; if (_root.getItem) { trace(_root.itemget); popup_img.gotoAndStop(_root.itemget); } ok_btn.onRelease = function () { _root.tutor_done = true; tweenhandler = new mx.transitions.Tween(trans_mc, '_alpha', mx.transitions.easing.Strong.easeIn, 80, 0, 0.3, true); new mx.transitions.Tween(popup_img, '_alpha', mx.transitions.easing.Strong.easeIn, 100, 0, 0.3, true); tweenhandler.onMotionFinished = function () { if (_root.getMap2) { _global.nextscene = true; } if (_root.itemget == 'scissors') { _root.customcursor(true, 'scissors'); _root.cust_cursor._visible = false; } if (_root.itemget == 'map') { _root.jack.gotoAndPlay('jack reposition'); } _root.popup.removeMovieClip(); }; _global.onHold = false; }; trans_mc.onRelease = function () {}; } } movieClip 949 { } movieClip 950 dialogBar2 { } movieClip 955 rock_mc { } movieClip 960 cust_cursor { frame 1 { stop(); } frame 10 { gotoAndPlay('rollover'); } } movieClip 1751 char_mc { frame 1 { invi_bag._visible = false; } frame 155 { gotoAndPlay('jane idle'); } frame 160 { _root.jane.invi_bag.enabled = false; _root.invi_rock.enabled = false; } frame 215 { _root.invi_herb2.enabled = true; _root.invi_rock.enabled = true; _root.showdialog(); _root.dialogBar.awalAmbil = 0; _root.dialogBar.teksNomor = 1; _root.dialogBar.eventNomor = 1; _root.dialogBar.tampil = setInterval(_root.tambahKata, 20); _root.dialogBar.next_btn.onRelease = function () { _root.invi_bag.enabled = true; ++_root.dialogBar.teksNomor; _root.dialogBar.awalAmbil = 0; if (_root.dialogBar.teksNomor >= _root.dialogList[_root.dialogBar.eventNomor].length) { clearInterval(_root.dialogBar.tampil); _root.dialogBar.removeMovieClip(); } }; gotoAndPlay('jane idle 2'); _root.conversation = false; } frame 220 { invi_bag._visible = true; } frame 370 { gotoAndPlay('jane idle 2'); } frame 415 { _root.herb1._visible = false; _root.getItem = true; _root.itemget = 'herb 1'; _root.showpopup(); _root.customcursor(false, ''); _root.cust_cursor._visible = true; _root.cust_cursor.startDrag('true'); Mouse.hide(); } frame 445 { _root.getItem = false; gotoAndPlay('jane idle 2'); } frame 505 { _root.herb2._visible = false; } frame 520 { _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { if (!_root.scene8_choosed) { _root.current_scene = 'scene 8'; _root.gotoAndStop('scene 8'); } else { _root.current_scene = 'scene 7'; _root.gotoAndStop('scene 9'); } }; } frame 535 { stop(); } frame 640 { gotoAndPlay('michael idle'); } frame 645 { _root.invi_herb2.enabled = false; } frame 740 { _root.rock1.removeMovieClip(); } frame 780 { _root.rock2._visible = true; } frame 795 { gotoAndPlay('michael idle 2'); _root.invi_herb2.enabled = true; } frame 900 { gotoAndPlay('michael idle 2'); } frame 1005 { gotoAndPlay('jack idle'); } frame 1065 { stop(); _root.map1._visible = false; _root.getItem = true; _root.itemget = 'map'; _root.showpopup(); } frame 1110 { gotoAndPlay('jack idle'); _root.invi_car.enabled = true; } frame 1220 { _root.gotoAndStop('scene 8 view 2'); gotoAndPlay('idle 2'); } frame 1335 { gotoAndPlay('jack idle 2'); } frame 1430 { _root.showpopup(); gotoAndPlay('jack idle'); _root.invi_car.enabled = true; } frame 1485 { gotoAndPlay('john nina'); } frame 1540 { gotoAndPlay('jane idle scene 9'); } frame 1621 { gotoAndPlay('jane heal john'); _root.jack.invi_jack.enabled = true; } frame 1725 { gotoAndPlay('jane heal john'); } frame 1792 { gotoAndPlay('jack idle scene 9'); } frame 1849 { _root.michael.gotoAndPlay('michael move'); } frame 1873 { stop(); _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { _root.gotoAndStop('scene 9b'); }; } frame 1928 { gotoAndPlay('michael idle scene 9'); } frame 1963 { stop(); } } // unknown tag 88 length 103 movieClip 1769 { } movieClip 1771 credit_mc { frame 1 { close_credit.onRelease = function () { _root.credit_mc.removeMovieClip(); }; } } frame 3 { stop(); _root.attachMovie('transition_mc', 'transition_mc', 9999999, {'_x': 320, '_y': 240}); transition_mc._alpha = 0; intro_bg.onRelease = function () { getURL('http://www.belugerinportal.com', '_blank'); }; } movieClip 1772 { } movieClip 1773 { } // unknown tag 88 length 66 movieClip 1776 { frame 1 { } instance of movieClip 1772 { onClipEvent (release) { gameid = 'FL090909'; getURL('http://belugerinstudios.com/data/counter.php?gameid=' + gameid, '_blank'); } } frame 151 { _root.gotoAndStop('main menu'); } } frame 4 { function soundFx(idSound, looping) { sfx = new Sound(soundObj1); sfx.attachSound(idSound); sfx.start(0, looping); sfx.setVolume(50); } function soundBGM(idSound2) { stopAllSounds(); bgm = new Sound(soundObj2); bgm.attachSound(idSound2); bgm.start(0, 99999); bgm.setVolume(100); } function tweening(sec, begin, end) { tween = new mx.transitions.Tween(transition_mc, '_alpha', Regular.easeIn, begin, end, sec, true); } stop(); Stage.showMenu = false; fscommand('trapallkeys', true); fscommand('allowscale', false); container_1.removeMovieClip(); container_2.removeMovieClip(); _root.attachMovie('cust_cursor', 'cust_cursor', 9999998); _root.onEnterFrame = function () { cust_cursor.startDrag(true); Mouse.hide(); }; soundBGM('life flower'); tweening(1, 100, 0); invi_start.tabEnabled = false; invi_start._focusrect = false; invi_start.onPress = function () { btn_start.gotoAndStop('click'); }; invi_start.onRelease = function () { btn_start.gotoAndStop('idle'); var v2 = new mx.transitions.Tween(transition_mc, '_alpha', Strong.easeIn, 0, 100, 1, true); v2.onMotionFinished = function () { _root.gotoAndStop('opening'); }; }; invi_credit.tabEnabled = false; invi_credit._focusrect = false; invi_credit.onPress = function () { btn_credits.gotoAndStop('click'); }; invi_credit.onRelease = function () { btn_credits.gotoAndStop('idle'); _root.attachMovie('credit_mc', 'credit_mc', 9999997, {'_x': 340, '_y': 240}); }; invi_moregame.tabEnabled = false; invi_moregame._focusrect = false; invi_moregame.onPress = function () { btn_moregame.gotoAndStop('click'); }; invi_moregame.onRelease = function () { btn_moregame.gotoAndStop('idle'); getURL('http://www.belugerinstudios.com', '_blank'); }; invi_partI.onRelease = function () { getURL('http://www.belugerinstudios.com/index.php?act=play&gameid=FL091117', '_blank'); }; logo_bg.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; logo_bg.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; logo_bg.onRelease = function () { getURL('http://www.belugerinportal.com', '_blank'); }; current_scene = 'scene 6'; } movieClip 1781 { } movieClip 1784 { } movieClip 1791 { frame 1 { stop(); } } movieClip 1796 { frame 1 { stop(); } } movieClip 1801 { frame 1 { stop(); } } button 1806 { on (release) { getURL('http://www.belugerinstudios.com/', '_blank'); } } movieClip 1807 { } instance logo_bg of movieClip 1807 { onClipEvent (release) { getURL('http://www.belugerinstudios.com/', '_blank'); } } frame 5 { function tambahKata() { ++dialogBar.awalAmbil; var v1 = dialogList[dialogBar.eventNomor][dialogBar.teksNomor].substr(0, dialogBar.awalAmbil); dialogBar.dialog.text = v1; if (dialogBar.awalAmbil + 1 >= dialogList[dialogBar.eventNomor][dialogBar.teksNomor].length) { dialogBar.awalAmbil = dialogList[dialogBar.eventNomor][dialogBar.teksNomor].length - 1; } } function showdialog() { if (conversation) { _root.attachMovie('dialogBar2', 'dialogBar', 999990, {'_x': 320, '_y': 450}); } else { _root.attachMovie('dialogBar', 'dialogBar', 999990, {'_x': 320, '_y': 450}); } } function showpopup() { if (special_item) { _root.attachMovie('popup2', 'popup', 999991, {'_x': 320, '_y': 240}); } else { _root.attachMovie('popup', 'popup', 999991, {'_x': 320, '_y': 240}); } } function resetseq() { s = 0; while (s < sequence.length) { if (sequence[s] != 0) { sequence[0] = 1; sequence[s] = 0; } ++s; } } stop(); stopAllSounds(); soundBGM('action'); logo_bg.swapDepths(9999997); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; sequence = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0]; timerdialog = 0; dialogList = [0, [0, 'I need something sharp to cut the herb.'], [0, 'I think there\'s something inside the box. But i can\'t open it.', 'I need to find the key.'], [0, 'I don\'t need it now.', 'It\'s a medic bag.'], [0, 'It can\'t open the box.', 'It\'s not the right key.'], [0, 'I\'m not touching it.', 'It looks like this poor guy crashed something.'], [0, 'It\'s rusty.', 'There\'s nothing to do with this thing.', 'It\'s just a dead body.'], [0, 'Jack used the key.'], [0, 'Now the map are completed, we know where the flower is.']]; _root.attachMovie('story_transition', 'story_transition', 999995, {'_x': 320, '_y': 240}); story_transition.bgstory.gotoAndStop(current_scene); story_transition.story.gotoAndStop(current_scene); tweening(1, 100, 0); _root.onEnterFrame = function () { if (playscene) { _global.playscene = false; tweening(1, 0, 100); cust_cursor._visible = false; tween.onMotionFinished = function () { gotoAndStop('scene 6'); story_transition.removeMovieClip(); tweening(1, 100, 0); }; } }; } frame 6 { function randomise_enemy() { i = 1; while (i <= 16) { encounter_num = random(6); encounter_num2 = random(3); encounter_num + 1; if (encounter_num == 0) { encounter_num = 1; } if (encounter_num2 == 0) { encounter_num2 = 3; } if (encounter_num == encounter_num2) { encounter_num2 = 2; } random_dayak = 'dayak' + encounter_num; random_dayak2 = 'dayak' + encounter_num2; total_enemy.push(random_dayak); total_enemy2.push(random_dayak2); ++i; } } function spawn_enemy() { if (total_enemy.length > 0) { if (respawn) { if (!gameover) { ++timer; if (timer == 3) { timer = 0; enemy = total_enemy.splice(0, 1); trace(enemy); respawn = false; --dayak_depth; enemy_dayak1 = container_1.attachMovie('dayak_mc', enemy + '_mc', dayak_depth, {'_x': 320, '_y': 240}); enemy_dayak1.gotoAndPlay(enemy + '_run'); } } } } enemy_dayak1.onEnterFrame = function () { if (continued) { this.removeMovieClip(); continued = false; } if (shoot && this.invi_dayak.hitTest(_root._xmouse, _root._ymouse)) { if (!gameover) { shoot = false; if (!isAttacking) { trace('not Attacking'); trace('----'); this.gotoAndPlay(enemy + '_dead1'); trace('dead'); trace('----'); if (ninaHealth == 0) { gameover = true; _root.nina.gotoAndPlay('nina dead'); } if (jackHealth == 0) { gameover = true; _root.jack.gotoAndPlay('jack dead'); } if (janeHealth == 0) { gameover = true; _root.jane.gotoAndPlay('jane dead'); } if (michaelHealth == 0) { gameover = true; _root.michael.gotoAndPlay('michael dead'); } respawn = true; } else { if (isAttacking) { trace('is Attacking'); this.gotoAndPlay(enemy + '_dead2'); trace('dead'); if (ninaHealth == 0) { gameover = true; _root.nina.gotoAndPlay('nina dead'); } if (jackHealth == 0) { gameover = true; _root.jack.gotoAndPlay('jack dead'); } if (janeHealth == 0) { gameover = true; _root.jane.gotoAndPlay('jane dead'); } if (michaelHealth == 0) { gameover = true; _root.michael.gotoAndPlay('michael dead'); } respawn = true; } } } } }; } function spawn_enemy2() { if (total_enemy2.length > 0) { if (respawn2) { if (!gameover) { ++timer2; if (timer2 == 6) { timer2 = 0; enemy2 = total_enemy2.splice(0, 1); trace(enemy2); respawn2 = false; --dayak_depth2; enemy_dayak2 = container_2.attachMovie('dayak_mc', enemy2 + '_mc', dayak_depth2, {'_x': 320, '_y': 240}); enemy_dayak2.gotoAndPlay(enemy2 + '_run'); } } } } else { if (total_enemy2.length == 0) { completed = true; trace(completed); } } enemy_dayak2.onEnterFrame = function () { if (continued) { this.removeMovieClip(); continued = false; } if (shoot && this.invi_dayak.hitTest(_root._xmouse, _root._ymouse)) { if (!gameover) { shoot = false; if (!isAttacking) { trace('not Attacking'); trace('----'); this.gotoAndPlay(enemy2 + '_dead1'); if (ninaHealth == 0) { gameover = true; _root.nina.gotoAndPlay('nina dead'); } if (jackHealth == 0) { gameover = true; _root.jack.gotoAndPlay('jack dead'); } if (janeHealth == 0) { gameover = true; _root.jane.gotoAndPlay('jane dead'); } if (michaelHealth == 0) { gameover = true; _root.michael.gotoAndPlay('michael dead'); } respawn2 = true; if (completed) { if (!gameover) { _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { _root.gotoAndStop('cutscene 6'); }; } } } else { if (isAttacking) { trace('is Attacking'); this.gotoAndPlay(enemy2 + '_dead2'); if (ninaHealth == 0) { gameover = true; _root.nina.gotoAndPlay('nina dead'); } if (jackHealth == 0) { gameover = true; _root.jack.gotoAndPlay('jack dead'); } if (janeHealth == 0) { gameover = true; _root.jane.gotoAndPlay('jane dead'); } if (michaelHealth == 0) { gameover = true; _root.michael.gotoAndPlay('michael dead'); } respawn2 = true; if (completed) { _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { _root.crosshair.removeMovieClip(); _root.cust_cursor._visible = true; _root.cust_cursor.startDrag(true); _root.gotoAndStop('cutscene 6'); }; } } } } } }; } function ammo() { if (activegun == 'handgun') { if (handgun_ammo > 0 && !reloading) { current_ammo -= 1; last_gun_ammo = current_ammo; gun_bullet['bullet_mc' + current_ammo].removeMovieClip(); } else { if (reloading) { ammo_takes = handgun_ammo - current_ammo; current_ammo += ammo_takes; } else { must_reload = true; } } } else { if (rifle_ammo > 0 && !reloading) { current_ammo -= 1; last_rifle_ammo = current_ammo; this['bullet_rifle_mc' + current_ammo].removeMovieClip(); } else { if (reloading) { ammo_takes = rifle_ammo - current_ammo; trace(ammo_takes); current_ammo += ammo_takes; trace(current_ammo); } else { must_reload = true; } } } } stop(); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; stopAllSounds(); soundBGM('action'); tweening(1, 100, 0); inventory._visible = false; _root.createEmptyMovieClip('gun_bullet', 999993); _root.attachMovie('obj6_mc', 'obj6_mc', 99984, {'_x': 320, '_y': 240}); _root.attachMovie('hand_mc', 'hand_mc', 99983, {'_x': 463, '_y': 130}); _root.attachMovie('crosshair', 'crosshair', _root.getNextHighestDepth()); _root.attachMovie('other_char', 'michael', 99988, {'_x': 0, '_y': 0}); _root.attachMovie('other_char', 'jack', 99987, {'_x': 0, '_y': 0}); _root.attachMovie('other_char', 'jane', 99986, {'_x': 0, '_y': 0}); _root.attachMovie('other_char', 'nina', 99940, {'_x': 0, '_y': 0}); isAttacking = false; gameover = false; _global.michaelHit = false; _global.jackHit = false; _global.ninaHit = false; _global.janeHit = false; _root.hand_mc.swapDepths(999994); tween.onMotionFinished = function () { i = 0; while (i < current_ammo) { bullets = gun_bullet.attachMovie('bullet_mc', 'bullet_mc' + i, 9990 + i, {'_x': 610, '_y': i * 10 + 2}); ++i; } }; Mouse.hide(); var rifle_ammo = 8; var rifle_magazine = 3; var handgun_ammo = 12; var must_reload = false; var et_reload = 0; var last_gun_ammo = handgun_ammo; var last_rifle_ammo = rifle_ammo; var reloading = false; var shoot = false; activegun = 'handgun'; current_damage = 5; reload_time = 35; current_ammo = handgun_ammo; otherchar_health = 100; dayak_depth = 99975; dayak_depth2 = 99970; respawn = true; respawn2 = true; timer = 0; timer2 = 0; _root.createEmptyMovieClip('container_1', 99976); _root.createEmptyMovieClip('container_2', 99971); total_enemy = new Array(); total_enemy2 = new Array(); continued = false; randomise_enemy(); enemy_dayak1.removeMovieClip(); enemy_dayak2.removeMovieClip(); generate_dayak = setInterval(spawn_enemy, 500); generate_dayak2 = setInterval(spawn_enemy2, 500); crosshair.onEnterFrame = function () { if (!gameover) { _root.crosshair._visible = true; this.startDrag(true); Mouse.hide(); this.swapDepths(_root.getNextHighestDepth()); } else { this.stopDrag(); this.removeMovieClip(); cust_cursor._visible = true; cust_cursor.startDrag(true); } }; _root.onMouseDown = function () { if (!reloading) { if (current_ammo != 0) { soundFx('gunsound1', 0); if (!shoot) { shoot = true; ammo(); if (!must_reload) { hand_mc.gotoAndPlay(activegun + ' shoot'); } } else { if (shoot) { shoot = false; ammo(); if (!must_reload) { hand_mc.gotoAndPlay(activegun + ' shoot'); } } } } else { if (current_ammo == 0) { soundFx('reload1', 0); reloading = true; ammo(); hand_mc.gotoAndPlay(activegun + ' reload'); } } } }; _root.onMouseUp = function () { shoot = false; }; nina.gotoAndPlay('nina idle'); ninaHealth = otherchar_health; jane.gotoAndPlay('jane idle'); janeHealth = otherchar_health; michael.gotoAndPlay('michael idle'); michaelHealth = otherchar_health; jack.gotoAndPlay('jack idle'); jackHealth = otherchar_health; _root.onEnterFrame = function () { if (crosshair._y >= 110) { hand_mc._x = crosshair._x; hand_mc._y = crosshair._y; } else { hand_mc._x = crosshair._x; } if (reloading) { ++et_reload; if (et_reload == reload_time) { ammo(); must_reload = false; reloading = false; hand_mc.gotoAndStop('handgun'); if (activegun == 'handgun') { et_reload = 0; a = last_gun_ammo; while (a < current_ammo) { attchBullet1 = gun_bullet.attachMovie('bullet_mc', 'bullet_mc' + a, 99990 + a, {'_x': 610, '_y': a * 10 + 2}); ++a; } last_gun_ammo = current_ammo; } } } gameover_scr.yes_btn.onRelease = function () { _root.gameover_scr.removeMovieClip(); _root[enemy + '_mc'].removeMovieClip(); _root[enemy2 + '_mc'].removeMovieClip(); _root.gotoAndStop('opening'); hand_mc.removeMovieClip(); obj6_mc.removeMovieClip(); gun_bullet.removeMovieClip(); crosshair._visible = false; continued = true; }; gameover_scr.no_btn.onRelease = function () { _root.gameover_scr.removeMovieClip(); michael.removeMovieClip(); jack.removeMovieClip(); jane.removeMovieClip(); nina.removeMovieClip(); crosshair.removeMovieClip = false; _root[enemy + '_mc'].removeMovieClip(); _root[enemy2 + '_mc'].removeMovieClip(); hand_mc.removeMovieClip(); obj6_mc.removeMovieClip(); gun_bullet.removeMovieClip(); gotoAndStop('main menu'); }; if (shoot && hit_nina.hitTest(crosshair.dot) or ninaHit) { if (!gameover) { shoot = false; _global.ninaHit = false; nina.gotoAndPlay('nina damage'); if (ninaHealth > 0) { ninaHealth -= 20; _root.nina_health.bar1._xscale = ninaHealth; } else { if (ninaHealth < 40) { gameover = true; _root.nina.gotoAndPlay('nina dead'); } } } } else { if (shoot && hit_jane.hitTest(crosshair.dot) or janeHit) { if (!gameover) { shoot = false; _global.janeHit = false; jane.gotoAndPlay('jane damage'); if (janeHealth > 0) { janeHealth -= 20; _root.jane_health.bar1._xscale = janeHealth; } else { if (janeHealth < 40) { gameover = true; _root.jane.gotoAndPlay('jane dead'); } } } } else { if (shoot && hit_mich.hitTest(crosshair.dot) or michaelHit) { if (!gameover) { shoot = false; _global.michaelHit = false; michael.gotoAndPlay('michael damage'); if (michaelHealth > 0) { michaelHealth -= 20; _root.michael_health.bar1._xscale = michaelHealth; } else { if (michaelHealth < 40) { gameover = true; _root.michael.gotoAndPlay('michael dead'); } } } } else { if (shoot && hit_jack.hitTest(crosshair.dot) or jackHit) { if (!gameover) { shoot = false; _global.jackHit = false; jack.gotoAndPlay('jack damage'); if (jackHealth > 0) { jackHealth -= 20; _root.jack_health.bar1._xscale = jackHealth; } else { if (jackHealth < 40) { gameover = true; _root.jack.gotoAndPlay('jack dead'); } } } } else { shoot = false; } } } } }; } movieClip 1808 { } movieClip 1809 { } movieClip 1811 { } movieClip 1812 { } movieClip 1813 { frame 1 { this._alpha = 0; } } frame 7 { stopAllSounds(); soundBGM('story'); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; obj6_mc.removeMovieClip(); michael.removeMovieClip(); jack.removeMovieClip(); jane.removeMovieClip(); nina.removeMovieClip(); hand_mc.removeMovieClip(); container_1.removeMovieClip(); container_2.removeMovieClip(); crosshair.removeMovieClip(); cust_cursor._visible = true; cust_cursor.startDrag(true); tweening(1, 100, 0); _root.attachMovie('cutscene_6', 'cutscene_6', 999993, {'_x': 160, '_y': 240}); tween.onMotionFinished = function () { cutscene_6.play(); }; _root.onMouseDown = function () { soundFx('click', 0); }; } instance logo_bg of movieClip 1807 { onClipEvent (release) { getURL('http://www.belugerinstudios.com/', '_blank'); } } frame 8 { function customcursor(use, what) { if (use) { _root.cursor._visible = true; _root.cursor.swapDepths(99994); _root.cursor.gotoAndStop(what); startDrag(_root.cursor, true); Mouse.hide(); } else { Mouse.show(); stopDrag(); _root.cursor._visible = false; } } stop(); stopAllSounds(); soundBGM('in game'); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; walkthrough.onRelease = function () { getURL('http://www.belugerinstudios.com/index.php?act=walk', '_blank'); }; car_door.removeMovieClip(); container_1.removeMovieClip(); container_2.removeMovieClip(); scene7_choosed = true; trace('scene 7:' + scene7_choosed); resetseq(); soundFx('jungle', 99999); _root.attachMovie('story_transition', 'story_transition', 999995, {'_x': 320, '_y': 240}); story_transition.bgstory.gotoAndStop(current_scene); story_transition.story.gotoAndStop(current_scene); _root.attachMovie('char_mc', 'jane1', 99979, {'_x': 320, '_y': 240}); _root.attachMovie('char_mc', 'michael1', 99980, {'_x': 320, '_y': 240}); _root.attachMovie('rock_mc', 'rock1', 99978, {'_x': 370.9, '_y': 379.5}); jane1.gotoAndPlay('jane idle'); michael1.gotoAndPlay('michael idle'); layering.swapDepths(99981); logo_bg.swapDepths(99982); walkthrough_txt.swapDepths(99983); tweening(1, 100, 0); cursor._visible = false; rock1.gotoAndStop(1); rock2.gotoAndStop(2); herb2.gotoAndStop(9); rock2._visible = false; invi_herb2.enabled = false; invi_bag.enabled = false; invi_herb1.enabled = false; invi_rock.enabled = false; invi_rock.tabEnabled = false; invi_rock._focusrect = false; invi_rock.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_rock.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_rock.onRelease = function () { cust_cursor.gotoAndStop('idle'); this.id = 3; if (sequence[this.id - 1] == 1) { this.enabled = false; this._xscale = 0; this._yscale = 0; invi_herb2.enabled = true; sequence[this.id] = 1; michael1.gotoAndPlay('michael take rock'); } }; invi_herb1.tabEnabled = false; invi_herb1._focusrect = false; invi_herb1.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_herb1.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_herb1.onRelease = function () { cust_cursor.gotoAndStop('idle'); this.id = 1; conversation = true; this.enabled = false; sequence[this.id] = 1; jane1.gotoAndPlay('jane walk to rock'); }; invi_bag.tabEnabled = false; invi_bag._focusrect = false; invi_bag.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_bag.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_bag.onRelease = function () { cust_cursor.gotoAndStop('idle'); this.id = 2; if (sequence[this.id - 1] != 0) { this.enabled = false; getItem = true; itemget = 'scissors'; sequence[this.id] = 1; trace(sequence); showpopup(); } }; invi_herb2.tabEnabled = false; invi_herb2._focusrect = false; invi_herb2.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_herb2.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_herb2.onRelease = function () { cust_cursor.gotoAndStop('idle'); jane1.gotoAndPlay('take herb 2'); this.enabled = false; }; _root.onEnterFrame = function () { if (playscene) { _global.playscene = false; tweening(1, 0, 100); tween.onMotionFinished = function () { invi_herb2.enabled = true; invi_herb1.enabled = true; invi_rock.enabled = true; story_transition.removeMovieClip(); tweening(1, 100, 0); }; } }; _root.onMouseDown = function () { if (sequence[2] == 1) { if (cursor.hitTest(herb1) && getItem) { getItem = false; herb1.gotoAndPlay('loose'); jane1.gotoAndPlay('take herb 1'); delete _root.onMouseDown; } } cursor.gotoAndPlay('anim scissors'); }; } movieClip 1818 { frame 1 { stop(); } frame 8 { stop(); } } movieClip 1820 { } movieClip 1827 { frame 1 { stop(); } } movieClip 1829 { } frame 9 { tweening(1, 100, 0); stopAllSounds(); soundBGM('in game'); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; jane1.removeMovieClip(); michael1.removeMovieClip(); container_1.removeMovieClip(); container_2.removeMovieClip(); scene8_choosed = true; trace('scene 8:' + scene8_choosed); _root.attachMovie('char_mc', 'jack', 99981, {'_x': 320, '_y': 240}); car_door.swapDepths(99982); if (!go_back) { invi_map.enabled = false; invi_key.enabled = false; invi_car.enabled = false; _root.attachMovie('story_transition', 'story_transition', 999995, {'_x': 320, '_y': 240}); story_transition.bgstory.gotoAndStop(current_scene); story_transition.story.gotoAndStop(current_scene); resetseq(); jack.gotoAndPlay('jack idle'); } else { jack.gotoAndPlay('jack idle 2'); invi_key.enabled = true; invi_car.enabled = false; invi_map.enabled = false; map1._visible = false; } invi_map.tabEnabled = false; invi_map._focusrect = false; invi_map.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_map.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_map.onRelease = function () { cust_cursor.gotoAndStop('idle'); this.id = 1; this.enabled = false; sequence[this.id] += 1; trace(sequence); jack.gotoAndPlay('walk to car'); }; invi_key.tabEnabled = false; invi_key._focusrect = false; invi_key.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_key.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_key.onRelease = function () { cust_cursor.gotoAndStop('idle'); this.id = 5; if (sequence[this.id - 1] != 0) { sequence[this.id] == 1; this.enabled = false; jack.gotoAndPlay('walk front'); itemget = 'key'; getItem = true; havekey = true; } }; invi_car.tabEnabled = false; invi_car._focusrect = false; invi_car.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_car.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_car.onRelease = function () { cust_cursor.gotoAndStop('idle'); this.id = 2; if (sequence[this.id - 1] != 0) { this.enabled = false; sequence[this.id] == 1; jack.gotoAndPlay('walk back'); } else { if (sequence[5] == 1) { this.enabled = false; jack.gotoAndPlay('walk back'); } } }; invi_car2.tabEnabled = false; invi_car2._focusrect = false; invi_car2.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_car2.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_car2.onRelease = function () { showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = 1; dialogBar.eventNomor = 6; dialogBar.tampil = setInterval(_root.tambahKata, 20); }; invi_body.tabEnabled = false; invi_body._focusrect = false; invi_body.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_body.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_body.onRelease = function () { showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = 3; dialogBar.eventNomor = 6; dialogBar.tampil = setInterval(_root.tambahKata, 20); }; _root.onEnterFrame = function () { dialogBar.invi_dialog.onRelease = function () { clearInterval(dialogBar.tampil); dialogBar.removeMovieClip(); }; if (playscene) { _global.playscene = false; tweening(1, 0, 100); tween.onMotionFinished = function () { invi_map.enabled = true; story_transition.removeMovieClip(); tweening(1, 100, 0); }; } }; } movieClip 1835 { } movieClip 1838 { } frame 10 { stop(); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; car_door._visible = false; jack.removeMovieClip(); back.enabled = false; back.onRollOver = function () { this.gotoAndPlay('animated'); }; back.onRollOut = function () { this.gotoAndStop('idle'); }; back.tabEnabled = false; back._focusrect = false; back.onRelease = function () { this.id = 4; if (sequence[this.id - 1] != 0) { sequence[this.id] += 1; this.enabled = false; go_back = true; gotoAndStop('scene 8'); } }; invi_box.tabEnabled = false; invi_box._focusrect = false; invi_box.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_box.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_box.onRelease = function () { this.id = 3; if (havekey) { invi_medicbag.enabled = false; invi_key.enabled = false; invi_corpse.enabled = false; invi_car.enabled = false; this.enabled = false; special_item = true; timerdialog = 0; conversation = true; showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = 1; dialogBar.eventNomor = 7; dialogBar.tampil = setInterval(_root.tambahKata, 20); dialogBar.next_btn.onRelease = function () { dialogBar.removeMovieClip(); showpopup(); special_item = false; }; } else { sequence[this.id] += 1; trace(sequence); timerdialog = 0; showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = random(2) + 1; dialogBar.eventNomor = 2; dialogBar.tampil = setInterval(_root.tambahKata, 20); back.enabled = true; } }; invi_medicbag.tabEnabled = false; invi_medicbag._focusrect = false; invi_medicbag.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_medicbag.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_medicbag.onRelease = function () { timerdialog = 0; showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = random(2) + 1; dialogBar.eventNomor = 3; dialogBar.tampil = setInterval(_root.tambahKata, 20); }; invi_key.tabEnabled = false; invi_key._focusrect = false; invi_key.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_key.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_key.onRelease = function () { timerdialog = 0; showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = random(2) + 1; dialogBar.eventNomor = 4; dialogBar.tampil = setInterval(_root.tambahKata, 20); }; invi_corpse.tabEnabled = false; invi_corpse._focusrect = false; invi_corpse.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_corpse.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_corpse.onRelease = function () { timerdialog = 0; showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = random(2) + 1; dialogBar.eventNomor = 5; dialogBar.tampil = setInterval(_root.tambahKata, 20); }; invi_car.tabEnabled = false; invi_car._focusrect = false; invi_car.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; invi_car.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; invi_car.onRelease = function () { timerdialog = 0; showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = random(2) + 1; dialogBar.eventNomor = 6; dialogBar.tampil = setInterval(_root.tambahKata, 20); }; _root.onEnterFrame = function () { dialogBar.invi_dialog.onRelease = function () { clearInterval(dialogBar.tampil); dialogBar.removeMovieClip(); }; }; } movieClip 1843 { frame 1 { stop(); } frame 10 { stop(); } } frame 11 { tweening(1, 100, 0); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; resetseq(); cust_cursor._visible = true; jane1.removeMovieClip(); michael1.removeMovieClip(); layering._visible = false; layering.removeMovieClip(); car_door.removeMovieClip(); john_nina.gotoAndPlay('john nina'); michael.gotoAndPlay('michael idle scene 9'); jack.gotoAndPlay('jack idle scene 9'); jane.gotoAndPlay('jane idle scene 9'); jack.invi_jack.enabled = false; jane.invi_jane.tabEnabled = false; jane.invi_jane._focusrect = false; jane.invi_jane.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; jane.invi_jane.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; jane.invi_jane.onRelease = function () { cust_cursor.gotoAndStop('idle'); this.id = 1; sequence[this.id] += 1; this.enabled = false; this._parent.gotoAndPlay('jane walk to john'); }; jack.invi_jack.tabEnabled = false; jack.invi_jack._focusrect = false; jack.invi_jack.onRollOver = function () { cust_cursor.gotoAndPlay('rollover'); }; jack.invi_jack.onRollOut = function () { cust_cursor.gotoAndStop('idle'); }; jack.invi_jack.onRelease = function () { cust_cursor.gotoAndStop('idle'); this.id = 2; if (sequence[this.id - 1] != 0) { this.enabled = false; sequence[this.id] += 1; this._parent.gotoAndPlay('jack walk desk'); } }; } frame 12 { function check_match() { trace(match1); trace(match2); trace(match3); trace(match4); trace(match5); if (match1 && match2 && match3 && match4 && match5) { all_match = true; } } tweening(1, 100, 0); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; tween.onMotionFinished = function () { transition_mc.removeMovieClip(); }; cust_cursor._visible = false; john_nina.removeMovieClip(); jack.removeMovieClip(); jane.removeMovieClip(); michael.removeMovieClip(); match1 = false; match2 = false; match3 = false; match4 = false; match5 = false; x_piece1 = piece1._x; y_piece1 = piece1._y; x_piece2 = piece2._x; y_piece2 = piece2._y; x_piece3 = piece3._x; y_piece3 = piece3._y; x_piece4 = piece4._x; y_piece4 = piece4._y; x_piece5 = piece5._x; y_piece5 = piece5._y; piece1.onPress = function () { this.swapDepths(1); this.startDrag(); Mouse.hide(); }; piece1.onRelease = function () { this.stopDrag(); Mouse.show(); if (eval(this._droptarget) == target_1) { trace('match'); this.enabled = false; match1 = true; trace(match1); check_match(); this._x = target_1._x; this._y = target_1._y; } }; piece2.onPress = function () { this.swapDepths(1); this.startDrag(); Mouse.hide(); }; piece2.onRelease = function () { this.stopDrag(); Mouse.show(); if (eval(this._droptarget) == target_2) { trace('match'); this.enabled = false; match2 = true; check_match(); trace(match2); this._x = target_2._x; this._y = target_2._y; } }; piece3.onPress = function () { this.swapDepths(1); this.startDrag(); Mouse.hide(); }; piece3.onRelease = function () { this.stopDrag(); Mouse.show(); if (eval(this._droptarget) == target_3) { trace('match'); this.enabled = false; match3 = true; trace(match3); check_match(); this._x = target_3._x; this._y = target_3._y; } }; piece4.onPress = function () { this.swapDepths(1); this.startDrag(); Mouse.hide(); }; piece4.onRelease = function () { this.stopDrag(); Mouse.show(); if (eval(this._droptarget) == target_4) { trace('match'); this.enabled = false; match4 = true; trace(match4); check_match(); this._x = target_4._x; this._y = target_4._y; } }; piece5.onPress = function () { this.swapDepths(1); this.startDrag(); Mouse.hide(); }; piece5.onRelease = function () { this.stopDrag(); Mouse.show(); if (eval(this._droptarget) == target_5) { trace('match'); this.enabled = false; match5 = true; trace(match5); check_match(); this._x = target_5._x; this._y = target_5._y; } }; reset_btn.onRelease = function () { piece1._x = x_piece1; piece1._y = y_piece1; piece1.enabled = true; piece2._x = x_piece2; piece2._y = y_piece2; piece2.enabled = true; piece3._x = x_piece3; piece3._y = y_piece3; piece3.enabled = true; piece4._x = x_piece4; piece4._y = y_piece4; piece4.enabled = true; piece5._x = x_piece5; piece5._y = y_piece5; piece5.enabled = true; }; _root.onEnterFrame = function () { Mouse.show(); if (all_match) { all_match = false; _root.attachMovie('transition_mc', 'transition_mc', 999998, {'_x': 320, '_y': 240}); transition_mc._alpha = 0; showdialog(); dialogBar.awalAmbil = 0; dialogBar.teksNomor = 1; dialogBar.eventNomor = 8; dialogBar.tampil = setInterval(_root.tambahKata, 20); } dialogBar.invi_dialog.onRelease = function () { clearInterval(dialogBar.tampil); _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { current_scene = 'scene 10'; _root.gotoAndStop('scene 10'); }; _root.dialogBar.removeMovieClip(); }; }; } movieClip 1852 { } movieClip 1855 { } movieClip 1858 { } movieClip 1861 { } movieClip 1864 { } frame 13 { function reload(whichGun) { ++reloadTime; if (whichGun == 'handgun') { trace(reloadTime); if (reloadTime == 35) { reloadTime = 0; _root.hand_mc.gotoAndStop('handgun'); _root.bullet.gotoAndStop(1); isReloading = false; } } } function crouching() { if (hiding) { if (bg_scene10._y > 65) { bg_scene10._y -= 50; bigrock_mc._y -= 50; orc._y -= 50; rock1._y -= 50; rock2._y -= 50; rock_threw1._y -= 80; rock_threw2._y -= 80; dodge_txt._visible = false; } } else { if (!hiding) { if (bg_scene10._y < 265) { bg_scene10._y += 50; bigrock_mc._y += 50; orc._y += 50; rock1._y += 50; rock2._y += 50; rock_threw1._y += 80; rock_threw2._y += 80; } } } } logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; piece1._visible = false; piece2._visible = false; piece3._visible = false; piece4._visible = false; piece5._visible = false; getItem = true; itemget = 'final boss'; tweening(1, 100, 0); tween.onMotionFinished = function () { dodge_txt._visible = false; showpopup(); }; attack1 = false; attack2 = false; attack3 = false; walk = true; gameover = false; isReloading = false; shoot = false; activeGun = 'handgun'; reloadTime = 0; orc_health = 100; handgun_dmg = 10; _global.playscene = false; tutor_done = false; trace(transition_mc); _root.attachMovie('orc', 'orc', 99984, {'_x': 325, '_y': 220}); _root.attachMovie('rock', 'rock1', 99985, {'_x': 365, '_y': 320}); _root.attachMovie('rock', 'rock2', 99986, {'_x': 385, '_y': 365}); _root.attachMovie('rock_threw', 'rock_threw1', 99990, {'_x': 315, '_y': 190}); _root.attachMovie('rock_threw', 'rock_threw2', 99991, {'_x': 315, '_y': 175}); _root.attachMovie('bigrock_mc', 'bigrock_mc', 99987, {'_x': 320, '_y': 265}); _root.attachMovie('bullet', 'bullet', 99988, {'_x': 600, '_y': 5}); _root.attachMovie('hand_mc', 'hand_mc', 99989, {'_x': 463, '_y': 130}); _root.attachMovie('crosshair', 'crosshair', _root.getNextHighestDepth()); rock1._width = 60; rock1._height = 60; rock2._width = 85; rock2._height = 85; rock_threw1._width = 55; rock_threw1._height = 55; rock_threw2._width = 70; rock_threw2._height = 70; rock_threw1._visible = false; rock_threw2._visible = false; orc._width = 160; orc._height = 160; orc.onEnterFrame = function () { if (tutor_done) { if (orc_health == 0) { this.gotoAndPlay('orc dead'); delete this.onEnterFrame; end = true; delete _root.onMouseDown; tweening(2, 0, 100); tween.onMotionFinished = function () { _root.gotoAndStop('the end'); }; } if (walk && this._width < 240 && this._height < 240) { if (!orc_hit) { this._xscale += 0.1; this._yscale += 0.1; } dodge_txt._visible = false; trace(this._width); trace(this._height); } else { if (this._width >= 240 && this._height >= 240) { if (!attack1) { walk = false; attack1 = true; this.gotoAndPlay('orc attack'); } } } if (walk && this._width < 350 && this._height < 350 && this._width >= 240) { if (!orc_hit) { this._xscale += 0.2; this._yscale += 0.2; attack2 = false; } } else { if (this._width >= 350 && this._height >= 350) { if (!attack2) { walk = false; attack2 = true; this.gotoAndPlay('orc attack'); } } } if (walk && this._width < 700 && this._height < 700 && this._width >= 350) { if (!orc_hit) { this._xscale += 0.3; this._yscale += 0.3; } } else { if (this._width >= 700 && this._height >= 700) { if (!attack3) { attack3 = true; this.gotoAndPlay('orc hit'); } } } if (shoot && this.invi_orc.hitTest(_root.crosshair.dot)) { if (!_root.gameover) { orc_health -= handgun_dmg; orc_hit = true; this.gotoAndPlay('orc damage'); shoot = false; } } } }; var keylistener = new Object(); keylistener.onKeyDown = function () { if (attack1 or attack2) { hiding = true; clearInterval(crouch); crouch = setInterval(crouching, 50); } if (!isReloading) { setInterval(reload(activeGun), 500); } }; keylistener.onKeyUp = function () { if (attack1 or attack2) { hiding = false; clearInterval(crouch); crouch = setInterval(crouching, 50); } }; Key.addListener(keylistener); crosshair.onEnterFrame = function () { if (tutor_done) { cust_cursor._visible = false; if (end) { this.stopDrag(); this.removeMovieClip(); cust_cursor._visible = true; cust_cursor.startDrag(true); Mouse.hide(); } if (!gameover) { _root.crosshair._visible = true; this.startDrag(true); Mouse.hide(); this.swapDepths(_root.getNextHighestDepth()); } else { this.stopDrag(); this.removeMovieClip(); cust_cursor._visible = true; cust_cursor.startDrag(true); } } }; hand_mc.onEnterFrame = function () { if (tutor_done) { if (!gameover) { if (crosshair._y >= 110) { hand_mc._x = crosshair._x; hand_mc._y = crosshair._y; } else { hand_mc._x = crosshair._x; } if (isReloading) { reload(activeGun); } } } }; _root.onMouseDown = function () { if (tutor_done) { if (!gameover) { if (!isReloading) { if (!shoot) { shoot = true; trace(shoot); } hand_mc.gotoAndPlay(activeGun + ' shoot'); if (activeGun == 'handgun') { bullet.nextFrame(); soundFx('gunsound1', 0); } if (bullet._currentframe == 13) { shoot = false; soundFx('reload1', 0); _root.hand_mc.gotoAndPlay(activeGun + ' reload'); isReloading = true; setInterval(reload(activeGun), 500); } } } else { delete this.onMouseDown; } } }; _root.onMouseUp = function () { shoot = false; }; } movieClip 1868 { } movieClip 1870 { } frame 14 { tweening(1, 100, 0); soundBGM('action'); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; cust_cursor._visible = true; cust_cursor.startDrag(true); Mouse.hide(); _root.attachMovie('story_transition', 'story_transition', 999995, {'_x': 320, '_y': 240}); story_transition.bgstory.gotoAndStop(current_scene); story_transition.story.gotoAndStop(current_scene); dodge_txt._visible = false; _root.onEnterFrame = function () { if (playscene) { _global.playscene = false; trace(transition_mc); _root.tweening(1, 0, 100); _root.tween.onMotionFinished = function () { _root.gotoAndStop('final boss'); story_transition.removeMovieClip(); }; } }; } instance logo_bg of movieClip 1807 { onClipEvent (release) { getURL('http://www.belugerinstudios.com/', '_blank'); } } frame 15 { stop(); soundBGM('story'); logo_bg.onRelease = function () { getURL('http://www.belugerinstudios.com', '_blank'); }; bigrock_mc.removeMovieClip(); hand_mc.removeMovieClip(); crosshair.removeMovieClip(); bullet.removeMovieClip(); orc.removeMovieClip(); rock1.removeMovieClip(); rock2.removeMovieClip(); dodge_txt._visible = false; tweening(1, 100, 0); _root.attachMovie('cutscene_ending', 'cutscene_ending', 999995, {'_x': 320, '_y': 275}); }




http://swfchan.com/19/92224/info.shtml
Created: 27/3 -2019 13:08:14 Last modified: 27/3 -2019 13:08:14 Server time: 27/04 -2024 18:36:45