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

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

max-dirtbike-2.swf

This is the info page for
Flash #114100

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 FUIComponentSymbol { #initclip function FUIComponentClass() { this.init(); } FUIComponentClass.prototype = new MovieClip(); FUIComponentClass.prototype.init = function () { this.enable = true; this.focused = false; this.useHandCursor = false; this._accImpl = new Object(); this._accImpl.stub = true; this.styleTable = new Array(); if (_global.globalStyleFormat == undefined) { _global.globalStyleFormat = new FStyleFormat(); globalStyleFormat.isGlobal = true; _global._focusControl = new Object(); _global._focusControl.onSetFocus = function (oldFocus, newFocus) { oldFocus.myOnKillFocus(); newFocus.myOnSetFocus(); }; Selection.addListener(_global._focusControl); } if (this._name != undefined) { this._focusrect = false; this.tabEnabled = true; this.focusEnabled = true; this.tabChildren = false; this.tabFocused = true; if (this.hostStyle == undefined) { globalStyleFormat.addListener(this); } else { this.styleTable = this.hostStyle; } this.deadPreview._visible = false; this.deadPreview._height = 1; this.deadPreview._width = 1; this.methodTable = new Object(); this.keyListener = new Object(); this.keyListener.controller = this; this.keyListener.onKeyDown = function () { this.controller.myOnKeyDown(); }; this.keyListener.onKeyUp = function () { this.controller.myOnKeyUp(); }; for (var v3 in this.styleFormat_prm) { this.setStyleProperty(v3, this.styleFormat_prm[v3]); } } }; FUIComponentClass.prototype.setEnabled = function (enabledFlag) { this.enable = arguments.length > 0 ? enabledFlag : true; this.focusEnabled = enabledFlag; this.tabEnabled = this.focusEnabled; if (!this.enable && this.focused) { Selection.setFocus(undefined); } }; FUIComponentClass.prototype.getEnabled = function () { return this.enable; }; FUIComponentClass.prototype.setSize = function (w, h) { this.width = w; this.height = h; this.focusRect.removeMovieClip(); }; FUIComponentClass.prototype.setChangeHandler = function (chng, obj) { this.handlerObj = (obj == undefined) ? this._parent : obj; this.changeHandler = chng; }; FUIComponentClass.prototype.invalidate = function (methodName) { this.methodTable[methodName] = true; this.onEnterFrame = this.cleanUI; }; FUIComponentClass.prototype.cleanUI = function () { if (this.methodTable.setSize) { this.setSize(this.width, this.height); } else { this.cleanUINotSize(); } this.methodTable = new Object(); delete this.onEnterFrame; }; FUIComponentClass.prototype.cleanUINotSize = function () { for (var v2 in this.methodTable) { this[v2](); } }; FUIComponentClass.prototype.drawRect = function (x, y, w, h) { var v4 = this.styleTable.focusRectInner.value; var v5 = this.styleTable.focusRectOuter.value; if (v4 == undefined) { v4 = 16777215; } if (v5 == undefined) { v5 = 0; } this.createEmptyMovieClip('focusRect', 1000); this.focusRect.controller = this; this.focusRect.lineStyle(1, v5); this.focusRect.moveTo(x, y); this.focusRect.lineTo(x + w, y); this.focusRect.lineTo(x + w, y + h); this.focusRect.lineTo(x, y + h); this.focusRect.lineTo(x, y); this.focusRect.lineStyle(1, v4); this.focusRect.moveTo(x + 1, y + 1); this.focusRect.lineTo(x + w - 1, y + 1); this.focusRect.lineTo(x + w - 1, y + h - 1); this.focusRect.lineTo(x + 1, y + h - 1); this.focusRect.lineTo(x + 1, y + 1); }; FUIComponentClass.prototype.pressFocus = function () { this.tabFocused = false; this.focusRect.removeMovieClip(); Selection.setFocus(this); }; FUIComponentClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this.width + 4, this.height + 4); }; FUIComponentClass.prototype.myOnSetFocus = function () { this.focused = true; Key.addListener(this.keyListener); if (this.tabFocused) { this.drawFocusRect(); } }; FUIComponentClass.prototype.myOnKillFocus = function () { this.tabFocused = true; this.focused = false; this.focusRect.removeMovieClip(); Key.removeListener(this.keyListener); }; FUIComponentClass.prototype.executeCallBack = function () { this.handlerObj[this.changeHandler](this); }; FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) { this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal); }; FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) { if (value == '') { return undefined; } var v17 = parseInt(value); if (!isNaN(v17)) { value = v17; } var v16 = arguments.length > 2 ? isGlobal : false; if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].useGlobal || !v16) { this.styleTable[propName].value = value; if (this.setCustomStyleProperty(propName, value)) { } else { if (propName == 'embedFonts') { this.invalidate('setSize'); } else { if (propName.subString(0, 4) == 'text') { if (this.textStyle == undefined) { this.textStyle = new TextFormat(); } var v18 = propName.subString(4, propName.length); this.textStyle[v18] = value; this.invalidate('setSize'); } else { for (var v15 in this.styleTable[propName].coloredMCs) { var v4 = new Color(this.styleTable[propName].coloredMCs[v15]); if (this.styleTable[propName].value == undefined) { var v5 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '0'}; v4.setTransform(v5); continue; } v4.setRGB(value); } } } } this.styleTable[propName].useGlobal = v16; } }; FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) { if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].coloredMCs == undefined) { this.styleTable[propName].coloredMCs = new Object(); } this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef; if (this.styleTable[propName].value != undefined) { var v4 = new Color(skinMCRef); v4.setRGB(this.styleTable[propName].value); } }; _global.FStyleFormat = function () { this.nonStyles = {'listeners': true, 'isGlobal': true, 'isAStyle': true, 'addListener': true, 'removeListener': true, 'nonStyles': true, 'applyChanges': true}; this.listeners = new Object(); this.isGlobal = false; if (arguments.length > 0) { for (var v3 in arguments[0]) { this[v3] = arguments[0][v3]; } } }; _global.FStyleFormat.prototype = new Object(); FStyleFormat.prototype.addListener = function () { var v3 = 0; while (v3 < arguments.length) { var v4 = arguments[v3]; this.listeners[arguments[v3]] = v4; for (var v5 in this) { if (this.isAStyle(v5)) { v4.updateStyleProperty(this, v5.toString()); } } ++v3; } }; FStyleFormat.prototype.removeListener = function (component) { this.listeners[component] = undefined; for (var v4 in this) { if (this.isAStyle(v4)) { if (component.styleTable[v4].useGlobal == this.isGlobal) { component.styleTable[v4].useGlobal = true; var v3 = this.isGlobal ? undefined : globalStyleFormat[v4]; component.setStyleProperty(v4, v3, true); } } } }; FStyleFormat.prototype.applyChanges = function () { var v6 = 0; for (var v5 in this.listeners) { var v3 = this.listeners[v5]; if (arguments.length > 0) { var v4 = 0; while (v4 < arguments.length) { if (this.isAStyle(arguments[v4])) { v3.updateStyleProperty(this, arguments[v4]); } ++v4; } continue; } for (v4 in this) { if (this.isAStyle(v4)) { v3.updateStyleProperty(this, v4.toString()); } } } }; FStyleFormat.prototype.isAStyle = function (name) { return this.nonStyles[name] ? false : true; }; #endinitclip frame 1 { } } movieClip 4 { } movieClip 6 { } movieClip 8 { } movieClip 10 { } movieClip 12 { } movieClip 14 { } movieClip 15 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'arrow'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 16 { } movieClip 17 { } movieClip 18 { } movieClip 20 { } movieClip 21 { } movieClip 23 { } movieClip 24 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'arrow'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 25 { } movieClip 26 { } movieClip 27 { } movieClip 28 { } movieClip 30 { } movieClip 32 { } movieClip 33 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'foregroundDisabled'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 34 UpArrow { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 36 { } movieClip 37 { } movieClip 38 { } movieClip 39 { } movieClip 40 { frame 1 { var component = _parent._parent; component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 42 { } movieClip 44 { } movieClip 46 { } movieClip 47 { } movieClip 48 { } movieClip 49 { frame 1 { var component = _parent._parent; component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 50 { } movieClip 52 { } movieClip 53 { } movieClip 54 { frame 1 { var component = _parent._parent; component.registerSkinElement(highlight3D_mc, 'highlight3D'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); } } movieClip 55 ScrollThumb { frame 1 { stop(); } } movieClip 56 { } movieClip 58 { } movieClip 59 { } movieClip 60 { } movieClip 61 { } movieClip 62 { } movieClip 63 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'arrow'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 64 { } movieClip 65 { } movieClip 66 { } movieClip 67 { } movieClip 68 { } movieClip 70 { } movieClip 71 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'arrow'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 72 { } movieClip 73 { } movieClip 74 { } movieClip 75 { } movieClip 76 { } movieClip 78 { } movieClip 79 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'foregroundDisabled'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 80 DownArrow { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 82 lib_point { #initclip Object.registerClass('lib_point', Pirrest.PhisicsEngine.Point); #endinitclip } movieClip 84 finish { } frame 1 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = (fv == 5) ? /:$version : System.capabilities.version; u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } b1 = _root.getBytesLoaded(); b2 = _root.getBytesTotal(); tgPrel = 1 + Math.round(b1 * 100 / b2); prel.gotoAndStop(tgPrel); if (b1 >= b2) { gotoAndPlay('intro'); } __com_mochibot__('69144d4d', this, 10301, true); } // unknown tag 88 length 88 movieClip 92 { } movieClip 663 __Packages.Pirrest.PhisicsEngine.Point { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Point) { var v1 = function () { super(); }; Pirrest.PhisicsEngine.Point = v1; Pirrest.PhisicsEngine.Point extends MovieClip; var v2 = v1.prototype; v2.init = function ($coord_space) { var v2 = {'x': this._x, 'y': this._y}; if (!Pirrest.Common.PiVal.isEmpty($coord_space)) { this._parent.localToGlobal(v2); $coord_space.globalToLocal(v2); } this.x = v2.x; this.y = v2.y; this.pn = new Pirrest.PhisicsEngine.Vector(0, 0); }; v2.distance = function (that) { return Pirrest.Common.PiGeo.distance(this.x, this.y, that.x, that.y); }; ASSetPropFlags(Pirrest.PhisicsEngine.Point.prototype, null, 1); } #endinitclip } movieClip 664 __Packages.Pirrest.Common.PiVal { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.Common) { _global.Pirrest.Common = new Object(); } if (!_global.Pirrest.Common.PiVal) { var v1 = function () {}; Pirrest.Common.PiVal = v1; var v2 = v1.prototype; v1.isEmpty = function ($obj) { if ($obj == '' || $obj == undefined) { return true; } else { return false; } }; ASSetPropFlags(Pirrest.Common.PiVal.prototype, null, 1); } #endinitclip } movieClip 665 __Packages.Pirrest.PhisicsEngine.Vector { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Vector) { var v1 = function ($x, $y) { this.init($x, $y); }; Pirrest.PhisicsEngine.Vector = v1; var v2 = v1.prototype; v2.init = function ($x, $y) { this.x = $x; this.y = $y; }; v2.dot = function ($v) { return this.x * $v.x + this.y * $v.y; }; v2.cross = function ($v) { return this.x * $v.y - this.y * $v.x; }; v2.plus = function ($v) { this.x += $v.x; this.y += $v.y; return this; }; v2.plusNew = function ($v) { return new Pirrest.PhisicsEngine.Vector(this.x + $v.x, this.y + $v.y); }; v2.minus = function ($v) { this.x -= $v.x; this.y -= $v.y; return this; }; v2.minusNew = function ($v) { return new Pirrest.PhisicsEngine.Vector(this.x - $v.x, this.y - $v.y); }; v2.mult = function ($s) { this.x *= $s; this.y *= $s; return this; }; v2.multNew = function ($s) { return new Pirrest.PhisicsEngine.Vector(this.x * $s, this.y * $s); }; v2.distance = function ($p) { var v2 = this.x - $p.x; var v3 = this.y - $p.y; return Math.sqrt(v2 * v2 + v3 * v3); }; v2.normalize = function () { var v2 = Math.sqrt(this.x * this.x + this.y * this.y); this.x /= v2; this.y /= v2; return this; }; ASSetPropFlags(Pirrest.PhisicsEngine.Vector.prototype, null, 1); } #endinitclip } movieClip 666 __Packages.Pirrest.Common.PiGeo { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.Common) { _global.Pirrest.Common = new Object(); } if (!_global.Pirrest.Common.PiGeo) { var v1 = function () {}; Pirrest.Common.PiGeo = v1; var v2 = v1.prototype; v1.distance = function ($x1, $y1, $x2, $y2) { var v1 = $x1 - $x2; var v2 = $y1 - $y2; return Math.sqrt(v1 * v1 + v2 * v2); }; v1.angle = function ($x1, $y1, $x2, $y2) { return Math.atan2($x2 - $x1, $y2 - $y1) * Pirrest.Common.PiGeo.RADIAN; }; v1.RADIAN = 57.29578; v1.DEGREE = 0.01745329; ASSetPropFlags(Pirrest.Common.PiGeo.prototype, null, 1); } #endinitclip } movieClip 667 __Packages.Pirrest.PhisicsEngine.CircleSurface { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.CircleSurface) { var v1 = function () { super(); }; Pirrest.PhisicsEngine.CircleSurface = v1; Pirrest.PhisicsEngine.CircleSurface extends MovieClip; var v2 = v1.prototype; v2.init = function ($coord_space) { var v2 = {'x': this._x, 'y': this._y}; if (!Pirrest.Common.PiVal.isEmpty($coord_space)) { this._parent.localToGlobal(v2); $coord_space.globalToLocal(v2); } this.cx = v2.x; this.cy = v2.y; this.r = this._width / 2; this.lineStyle(0, 2237064, 100); }; v2.paint = function () { Pirrest.PhisicsEngine.Graphics.prototype.paintCircle(this, this.cx, this.cy, this.r); }; v2.resolveWheelCollision = function ($w) { var v2 = this.cx - $w.wp.curr.x; var v4 = this.cy - $w.wp.curr.y; var v6 = Math.sqrt(v2 * v2 + v4 * v4); var v5 = $w.wr + this.r - v6; if (v5 > 0) { v2 /= v6; v4 /= v6; $w.wp.curr.x -= v2 * v5; $w.wp.curr.y -= v4 * v5; var v7 = new Pirrest.PhisicsEngine.Vector(-v2, -v4); $w.resolve(v7); } }; v2.resolveParticleCollision = function ($p) { var v2 = new Pirrest.PhisicsEngine.Vector(this.cx, this.cy); var v5 = v2.distance($p.curr); if (v5 <= this.r) { var v6 = ($p.curr.minusNew(v2)).normalize(); var v4 = v2.plusNew(v6.multNew(this.r)); $p.curr = v4; } }; ASSetPropFlags(Pirrest.PhisicsEngine.CircleSurface.prototype, null, 1); } #endinitclip } movieClip 668 __Packages.Pirrest.PhisicsEngine.Graphics { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Graphics) { var v1 = function () {}; Pirrest.PhisicsEngine.Graphics = v1; var v2 = v1.prototype; v2.paintLine = function ($target_mc, $x0, $y0, $x1, $y1) { $target_mc.moveTo($x0, $y0); $target_mc.lineTo($x1, $y1); }; v2.paintCircle = function ($target_mc, $x, $y, $r) { var v5 = 0.4142136 * $r; var v4 = 0.7071068 * $r; $target_mc.moveTo($x + $r, $y); $target_mc.curveTo($r + $x, v5 + $y, v4 + $x, v4 + $y); $target_mc.curveTo(v5 + $x, $r + $y, $x, $r + $y); $target_mc.curveTo(-v5 + $x, $r + $y, -v4 + $x, v4 + $y); $target_mc.curveTo(-$r + $x, v5 + $y, -$r + $x, $y); $target_mc.curveTo(-$r + $x, -v5 + $y, -v4 + $x, -v4 + $y); $target_mc.curveTo(-v5 + $x, -$r + $y, $x, -$r + $y); $target_mc.curveTo(v5 + $x, -$r + $y, v4 + $x, -v4 + $y); $target_mc.curveTo($r + $x, -v5 + $y, $r + $x, $y); }; ASSetPropFlags(Pirrest.PhisicsEngine.Graphics.prototype, null, 1); } #endinitclip } movieClip 669 __Packages.Pirrest.BigFoot.Level { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.BigFoot) { _global.Pirrest.BigFoot = new Object(); } if (!_global.Pirrest.BigFoot.Level) { var v1 = function () { super(); }; Pirrest.BigFoot.Level = v1; Pirrest.BigFoot.Level extends MovieClip; var v2 = v1.prototype; v2.init = function () { this.p_system = new Pirrest.PhisicsEngine.ParticleSystem(); this.p_system.setDamping(_global.gl_level.damping); this.p_system.setGravity(_global.gl_level.gravity.x, _global.gl_level.gravity.y); this.p_system.setKfr(_global.gl_level.kfr); this.p_system.setFriction(_global.gl_level.friction); var v7; for (v7 in this.under_mc) { var v3 = this.under_mc[v7]; v3._visible = false; if (v3 instanceof Pirrest.PhisicsEngine.Surface) { v3.init(this.under_mc); this.p_system.addSurface(v3); } if (v3 instanceof Pirrest.PhisicsEngine.CircleSurface) { v3.init(this.under_mc); this.p_system.addCircleSurface(v3); } } this.under_mc.ground_mc._visible = false; this.under_mc.star_mc._visible = true; var v9 = this.under_mc.jeep_dummy_mc.wheel_1_dummy_mc; var v8 = this.under_mc.jeep_dummy_mc.wheel_2_dummy_mc; var v5 = {'x': v9._x, 'y': v9._y}; var v6 = {'x': v8._x, 'y': v8._y}; this.under_mc.jeep_dummy_mc.localToGlobal(v5); this.under_mc.jeep_dummy_mc.localToGlobal(v6); this.globalToLocal(v5); this.globalToLocal(v6); this.jeep_wheel_1_mc = this.jeep_cont_mc.attachMovie('lib_jeep_wheel1', 'wheel_1_mc', this.jeep_cont_mc.getNextHighestDepth()); this.jeep_wheel_1_mc._x = v5.x; this.jeep_wheel_1_mc._y = v5.y; this.jeep_wheel_1_mc.init(this.jeep_cont_mc, 0); this.p_system.addWheel(this.jeep_wheel_1_mc); this.jeep_wheel_2_mc = this.jeep_cont_mc.attachMovie('lib_jeep_wheel2', 'wheel_2_mc', this.jeep_cont_mc.getNextHighestDepth()); this.jeep_wheel_2_mc._x = v6.x; this.jeep_wheel_2_mc._y = v6.y; this.jeep_wheel_2_mc.init(this.jeep_cont_mc, 0); this.p_system.addWheel(this.jeep_wheel_2_mc); this.jeep_body_mc = this.jeep_cont_mc.attachMovie('lib_jeep_body', 'jeep_body_mc', this.jeep_cont_mc.getNextHighestDepth()); var v4 = {}; v4.left = this.jeep_wheel_1_mc._x; v4.right = this.jeep_wheel_2_mc._x; v4.top = this.jeep_wheel_1_mc._y; v4.width = v4.right - v4.left; v4.mid = v4.left + v4.width / 2; this.part = this.p_system.addParticle(v4.mid, v4.top - 40); this.p_system.addConstraint(this.jeep_wheel_1_mc.wp, this.part); this.p_system.addConstraint(this.jeep_wheel_2_mc.wp, this.part); this.p_system.addConstraint(this.jeep_wheel_2_mc.wp, this.jeep_wheel_1_mc.wp); this.over_mc.onEnterFrame = function () { this._x = this._parent.under_mc._x; this._y = this._parent.under_mc._y; }; this.jeep_cont_mc.onEnterFrame = function () { this._x = this._parent.under_mc._x; this._y = this._parent.under_mc._y; }; }; v2.start = function () {}; v2.moveCamera = function () { var v3; var v5 = 250 - this.jeep_body_mc._x; var v6 = 200 - this.jeep_body_mc._y; var v7 = v5 - this._x; var v8 = v6 - this._y; var v4 = Pirrest.Common.PiGeo.distance(v5, v6, this._x, this._y); var v2 = v4 * 0.35; if (v2 > 50) { v2 = 50; } v3 = v2 / v4; this._x += v7 * v3; this._y += v8 * v3; }; ASSetPropFlags(Pirrest.BigFoot.Level.prototype, null, 1); } #endinitclip } movieClip 670 __Packages.Pirrest.PhisicsEngine.ParticleSystem { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.ParticleSystem) { var v1 = function () { this.init(); }; Pirrest.PhisicsEngine.ParticleSystem = v1; var v2 = v1.prototype; v2.init = function () { this._particles_ar = []; this._surfaces_ar = []; this._constraints_ar = []; this._wheels_ar = []; this.gravity = new Pirrest.PhisicsEngine.Vector(0, 1); this.coeffRest = 1.5; this.coeffFric = 0.01; this.coeffDamp = 0.99; }; v2.addParticle = function ($px, $py, $mass) { var v2 = new Pirrest.PhisicsEngine.Particle($px, $py, $mass); this._particles_ar.push(v2); this._p_count = this._particles_ar.length; return v2; }; v2.addWheel = function ($wheel) { this._wheels_ar.push($wheel); this._w_count = this._wheels_ar.length; }; v2.addSurface = function ($s) { this._surfaces_ar.push($s); this._s_count = this._surfaces_ar.length; }; v2.addCircleSurface = function ($s) { this._surfaces_ar.push($s); this._s_count = this._surfaces_ar.length; }; v2.addConstraint = function ($p1, $p2) { var v2 = new Pirrest.PhisicsEngine.Constraint($p1, $p2); this._constraints_ar.push(v2); this._c_count = this._constraints_ar.length; return v2; }; v2.addRectangle = function ($center, $rWidth, $rHeight) { return new Pirrest.PhisicsEngine.Rectangle(this, $center, $rWidth, $rHeight); }; v2.addAngularConstraint = function ($p1, $p2, $p3) { var v2 = new Pirrest.PhisicsEngine.AngularConstraint($p1, $p2, $p3); this._constraints_ar.push(v2); this._c_count = this._constraints_ar.length; return v2; }; v2.setKfr = function ($kfr) { this.coeffRest = 1 + $kfr; }; v2.setFriction = function ($f) { this.coeffFric = $f; }; v2.setDamping = function ($d) { this.coeffDamp = $d; }; v2.setGravity = function ($gx, $gy) { this.gravity.x = $gx; this.gravity.y = $gy; }; v2.verlet = function () { var v2; v2 = 0; while (v2 < this._p_count) { this._particles_ar[v2].verlet(this); ++v2; } v2 = 0; while (v2 < this._w_count) { this._wheels_ar[v2].verlet(this); ++v2; } }; v2.satisfy_constraints_ar = function () { var v2; v2 = 0; while (v2 < this._c_count) { this._constraints_ar[v2].resolve(); ++v2; } }; v2.checkCollisions = function () { var v4; var v2; var v3; v4 = 0; while (v4 < this._s_count) { v2 = 0; while (v2 < this._p_count) { this._particles_ar[v2].checkCollision(this._surfaces_ar[v4], this); ++v2; } v3 = 0; while (v3 < this._w_count) { this._wheels_ar[v3].checkCollision(this._surfaces_ar[v4], this); ++v3; } ++v4; } }; v2.paintSurfaces = function () { var v2 = 0; while (v2 < this._surfaces_ar.length) { this._surfaces_ar[v2].paint(); ++v2; } }; v2.paintParticles = function () { var v2 = 0; while (v2 < this._particles_ar.length) { this._particles_ar[v2].paint(); ++v2; } }; v2.paintConstraints = function () { var v2 = 0; while (v2 < this._constraints_ar.length) { this._constraints_ar[v2].paint(); ++v2; } }; v2.paintWheels = function () { var v2 = 0; while (v2 < this._wheels_ar.length) { this._wheels_ar[v2].paint(); ++v2; } }; v2.timeStep = function () { this.verlet(); this.satisfy_constraints_ar(); this.checkCollisions(); }; ASSetPropFlags(Pirrest.PhisicsEngine.ParticleSystem.prototype, null, 1); } #endinitclip } movieClip 671 __Packages.Pirrest.PhisicsEngine.Particle { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Particle) { var v1 = function ($posX, $posY, $mass) { this.init($posX, $posY, $mass); }; Pirrest.PhisicsEngine.Particle = v1; var v2 = v1.prototype; v2.init = function ($posX, $posY, $mass) { this.curr = new Pirrest.PhisicsEngine.Vector($posX, $posY); this.prev = new Pirrest.PhisicsEngine.Vector($posX, $posY); this.temp = new Pirrest.PhisicsEngine.Vector(0, 0); if ($mass == undefined || $mass < 0) { this.mass = 0; } else { this.mass = $mass; } var v3 = _root.main_mc.main_cont_mc.level_mc.over_mc.getNextHighestDepth(); this.dmc = _root.main_mc.main_cont_mc.level_mc.over_mc.createEmptyMovieClip('p_' + v3, v3); }; v2.verlet = function ($sysObj) { this.temp.x = this.curr.x; this.temp.y = this.curr.y; this.curr.x += $sysObj.coeffDamp * (this.curr.x - this.prev.x) + $sysObj.gravity.x; this.curr.y += $sysObj.coeffDamp * (this.curr.y - this.prev.y) + $sysObj.gravity.y + this.mass; this.prev.x = this.temp.x; this.prev.y = this.temp.y; }; v2.checkCollision = function ($surface, $sysObj) { $surface.resolveParticleCollision(this, $sysObj); }; v2.paint = function () { this.dmc.clear(); this.dmc.lineStyle(0, 16777215, 100); Pirrest.PhisicsEngine.Graphics.prototype.paintCircle(this.dmc, this.curr.x, this.curr.y, 2); }; v2.setPos = function ($px, $py) { this.curr.x = $px; this.curr.y = $py; this.prev.x = $px; this.prev.y = $py; }; ASSetPropFlags(Pirrest.PhisicsEngine.Particle.prototype, null, 1); } #endinitclip } movieClip 672 __Packages.Pirrest.PhisicsEngine.Constraint { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Constraint) { var v1 = function ($p1, $p2) { this.init($p1, $p2); }; Pirrest.PhisicsEngine.Constraint = v1; var v2 = v1.prototype; v2.init = function ($p1, $p2) { this.p1 = $p1; this.p2 = $p2; this.restLength = $p1.curr.distance($p2.curr); var v3 = _root.main_mc.main_cont_mc.level_mc.over_mc.getNextHighestDepth(); this.dmc = _root.main_mc.main_cont_mc.level_mc.over_mc.createEmptyMovieClip('p_' + v3, v3); }; v2.resolve = function () { var v4 = this.p1.curr.minusNew(this.p2.curr); var v2 = this.p1.curr.distance(this.p2.curr); var v5 = (v2 - this.restLength) / v2; var v3 = v4.mult(v5 * 0.5); this.p1.curr.minus(v3); this.p2.curr.plus(v3); }; v2.setRestLength = function ($r) { this.restLength = $r; }; v2.paint = function () { this.dmc.clear(); this.dmc.lineStyle(0, 10053171, 100); Pirrest.PhisicsEngine.Graphics.prototype.paintLine(this.dmc, this.p1.curr.x, this.p1.curr.y, this.p2.curr.x, this.p2.curr.y); }; ASSetPropFlags(Pirrest.PhisicsEngine.Constraint.prototype, null, 1); } #endinitclip } movieClip 673 __Packages.Pirrest.PhisicsEngine.Rectangle { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Rectangle) { var v1 = function ($pSystem, $center, $rWidth, $rHeight) { this.init($pSystem, $center, $rWidth, $rHeight); }; Pirrest.PhisicsEngine.Rectangle = v1; var v2 = v1.prototype; v2.init = function ($pSystem, $center, $rWidth, $rHeight) { var v4 = $pSystem.addParticle($center.x - $rWidth / 2, $center.y - $rHeight / 2, 0); var v5 = $pSystem.addParticle($center.x + $rWidth / 2, $center.y - $rHeight / 2, 0); var v6 = $pSystem.addParticle($center.x + $rWidth / 2, $center.y + $rHeight / 2, 0); var v7 = $pSystem.addParticle($center.x - $rWidth / 2, $center.y + $rHeight / 2, 0); $pSystem.addConstraint(v4, v5); $pSystem.addConstraint(v5, v6); $pSystem.addConstraint(v6, v7); $pSystem.addConstraint(v7, v4); $pSystem.addConstraint(v4, v6); $pSystem.addConstraint(v5, v7); this.p0 = v4; this.p1 = v5; this.p2 = v6; this.p3 = v7; }; ASSetPropFlags(Pirrest.PhisicsEngine.Rectangle.prototype, null, 1); } #endinitclip } movieClip 674 __Packages.Pirrest.PhisicsEngine.AngularConstraint { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.AngularConstraint) { var v1 = function ($pA, $pB, $pC) { this.init($pA, $pB, $pC); }; Pirrest.PhisicsEngine.AngularConstraint = v1; var v2 = v1.prototype; v2.init = function ($pA, $pB, $pC) { this.pA = $pA.curr; this.pB = $pB.curr; this.pC = $pC.curr; this.lineA = new Pirrest.PhisicsEngine.Line(this.pA, this.pB); this.lineB = new Pirrest.PhisicsEngine.Line(this.pB, this.pC); this.pD = new Pirrest.PhisicsEngine.Vector(this.pB.x + 0, this.pB.y - 1); this.lineC = new Pirrest.PhisicsEngine.Line(this.pB, this.pD); this.targetTheta = this.calcTheta(this.pA, this.pB, this.pC); this.coeffStiff = 4; }; v2.resolve = function () { var v10 = this.getCentroid(); this.lineC.p2.x = this.lineC.p1.x + 0; this.lineC.p2.y = this.lineC.p1.y - 1; var v4 = this.pA.distance(this.pB); var v6 = this.pB.distance(this.pC); var v12 = this.calcTheta(this.pA, this.pB, this.pC); var v11 = this.calcTheta(this.pA, this.pB, this.pD); var v13 = this.calcTheta(this.pC, this.pB, this.pD); var v8 = (this.targetTheta - v12) / 2; var v5 = v11 + v8 * this.coeffStiff; var v9 = v13 - v8 * this.coeffStiff; this.pA.x = v4 * Math.sin(v5) + this.pB.x; this.pA.y = v4 * Math.cos(v5) + this.pB.y; this.pC.x = v6 * Math.sin(v9) + this.pB.x; this.pC.y = v6 * Math.cos(v9) + this.pB.y; var v7 = this.getCentroid(); var v2 = v7.x - v10.x; var v3 = v7.y - v10.y; this.pA.x -= v2; this.pA.y -= v3; this.pB.x -= v2; this.pB.y -= v3; this.pC.x -= v2; this.pC.y -= v3; }; v2.calcTheta = function ($pA, $pB, $pC) { var v3 = new Pirrest.PhisicsEngine.Vector($pB.x - $pA.x, $pB.y - $pA.y); var v2 = new Pirrest.PhisicsEngine.Vector($pC.x - $pB.x, $pC.y - $pB.y); var v5 = v3.dot(v2); var v4 = v3.cross(v2); return Math.atan2(v4, v5); }; v2.__set__theta = function ($t) { this.targetTheta = $t; null; null; null; return this.__get__theta(); }; v2.__get__theta = function () { return this.targetTheta; }; v2.paint = function () {}; v2.getCentroid = function () { var v2 = (this.pA.x + this.pB.x + this.pC.x) / 3; var v3 = (this.pA.y + this.pB.y + this.pC.y) / 3; return new Pirrest.PhisicsEngine.Vector(v2, v3); }; v2.addProperty('theta', v2.__get__theta, v2.__set__theta); ASSetPropFlags(Pirrest.PhisicsEngine.AngularConstraint.prototype, null, 1); } #endinitclip } movieClip 675 __Packages.Pirrest.PhisicsEngine.Line { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Line) { var v1 = function ($p1, $p2) { this.p1 = $p1; this.p2 = $p2; }; Pirrest.PhisicsEngine.Line = v1; var v2 = v1.prototype; ASSetPropFlags(Pirrest.PhisicsEngine.Line.prototype, null, 1); } #endinitclip } movieClip 676 __Packages.Pirrest.PhisicsEngine.Surface { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Surface) { var v1 = function () { super(); }; Pirrest.PhisicsEngine.Surface = v1; Pirrest.PhisicsEngine.Surface extends MovieClip; var v2 = v1.prototype; v2.init = function ($coord_space) { this.coord_space = $coord_space; this.p1.init($coord_space); this.p2.init($coord_space); this.isOrientH = true; this.normal = new Pirrest.PhisicsEngine.Vector(0, 0); this.calcNormal(); this.rise = this.p2.y - this.p1.y; this.run = this.p2.x - this.p1.x; this.invRun = 1 / this.run; this.slope = this.rise / this.run; this.invB = 1 / (this.run * this.run + this.rise * this.rise); this.coord_space.lineStyle(10, 2237064, 100); }; v2.setIsOrientH = function ($isOrientH) { this.isOrientH = $isOrientH; }; v2.calcNormal = function () { var v3 = this.p2.x - this.p1.x; var v4 = this.p2.y - this.p1.y; this.normal.x = v4; this.normal.y = -v3; var v2 = Math.sqrt(this.normal.x * this.normal.x + this.normal.y * this.normal.y); this.normal.x /= v2; this.normal.y /= v2; }; v2.paint = function () { Pirrest.PhisicsEngine.Graphics.prototype.paintLine(this.coord_space, this.p1.x, this.p1.y, this.p2.x, this.p2.y); }; v2.resolveWheelCollision = function ($w) { if (this.bounds($w.wp.curr, $w.contactRadius)) { this.getClosestPoint($w.wp.curr, $w.closestPoint); var v3 = $w.closestPoint.minusNew($w.wp.curr); v3.normalize(); if (this.inequality($w.wp.curr)) { var v5 = Math.abs(v3.x); v3.x = this.normal.x < 0 ? v5 : -v5; v3.y = Math.abs(v3.y); } var v4 = $w.wp.curr.plusNew(v3.mult($w.wr)); if (this.segmentInequality(v4)) { var v6 = v4.x - $w.closestPoint.x; var v7 = v4.y - $w.closestPoint.y; $w.wp.curr.x -= v6; $w.wp.curr.y -= v7; $w.resolve(this.normal); } } }; v2.resolveParticleCollision = function ($p, $sysObj) { if (this.boundedSegmentInequality($p.curr)) { var v3 = $p.curr.minusNew($p.prev); var v4 = this.normal.dot(v3); if (v4 < 0) { var v5 = v3.minusNew(this.normal.multNew(v4)); var v10 = v5.multNew($sysObj.coeffFric); var v8 = this.normal.multNew(v4 * $sysObj.coeffRest); var v7 = v8.plusNew(v10); var v6 = v3.minusNew(v7); var v9 = this.normal.dot($p.curr.minusNew(this.p1)) * $sysObj.coeffRest; $p.curr.minus(this.normal.multNew(v9)); $p.prev = $p.curr.minusNew(v6); } } }; v2.segmentInequality = function ($toPoint) { var v2 = this.findU($toPoint); var v3 = this.inequality($toPoint); return v2 >= 0 && v2 <= 1 && v3; }; v2.boundedSegmentInequality = function ($toPoint) { var v3; if (this.isOrientH) { v3 = $toPoint.x >= this.p1.x && $toPoint.x <= this.p2.x; } else { if (this.p1.y < this.p2.y) { v3 = $toPoint.y >= this.p1.y && $toPoint.y <= this.p2.y; } else { v3 = $toPoint.y <= this.p1.y && $toPoint.y >= this.p2.y; } } if (v3) { return this.inequality($toPoint); } return false; }; v2.inequality = function ($toPoint) { var v2 = this.slope * ($toPoint.x - this.p1.x) + (this.p1.y - $toPoint.y); return v2 <= 0; }; v2.bounds = function ($toPoint, $r) { return $toPoint.x >= this.p1.x - $r && $toPoint.x <= this.p2.x + $r; }; v2.getClosestPoint = function ($toPoint, $returnVect) { var v2 = this.findU($toPoint); if (v2 <= 0) { return this.p1; } if (v2 >= 1) { return this.p2; } var v3 = this.p1.x + v2 * (this.p2.x - this.p1.x); var v4 = this.p1.y + v2 * (this.p2.y - this.p1.y); $returnVect.x = v3; $returnVect.y = v4; }; v2.findU = function ($p) { var v2 = ($p.x - this.p1.x) * this.run + ($p.y - this.p1.y) * this.rise; return v2 * this.invB; }; ASSetPropFlags(Pirrest.PhisicsEngine.Surface.prototype, null, 1); } #endinitclip } movieClip 677 __Packages.Pirrest.PhisicsEngine.Wheel { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.Wheel) { var v1 = function () { super(); }; Pirrest.PhisicsEngine.Wheel = v1; Pirrest.PhisicsEngine.Wheel extends MovieClip; var v2 = v1.prototype; v2.init = function ($coord_space, $mass) { if (Pirrest.Common.PiVal.isEmpty($coord_space)) { this._coord_space = this._parent; } else { this._coord_space = $coord_space; } var v2 = {'x': this._x, 'y': this._y}; this._parent.localToGlobal(v2); $coord_space.globalToLocal(v2); this.wr = this._width / 2; this.wp = new Pirrest.PhisicsEngine.Particle(v2.x, v2.y, $mass); this.rp = new Pirrest.PhisicsEngine.RimParticle(this.wr, 2); this.contactRadius = this.wr; this.coeffSlip = 0; this.closestPoint = new Pirrest.PhisicsEngine.Vector(0, 0); }; v2.verlet = function ($sysObj) { this.rp.verlet($sysObj); this.wp.verlet($sysObj); }; v2.checkCollision = function ($surface, $sysObj) { $surface.resolveWheelCollision(this); }; v2.paint = function () { var v2 = this.wp.curr.x; var v3 = this.wp.curr.y; var v5 = this.rp.curr.x; var v7 = this.rp.curr.y; this._x = v2; this._y = v3; var v6 = 57.29578; var v4 = -Math.atan2(v5, v7) * v6; this._rotation = v4; }; v2.resolve = function ($n) { var v2 = -this.rp.curr.y; var v3 = this.rp.curr.x; var v7 = Math.sqrt(v2 * v2 + v3 * v3); v2 /= v7; v3 /= v7; var v8 = v2 * this.rp.speed; var v10 = v3 * this.rp.speed; var v9 = this.wp.curr.x - this.wp.prev.x; var v11 = this.wp.curr.y - this.wp.prev.y; var v12 = v9 + v8; var v13 = v11 + v10; var v6 = -$n.y * v12 + $n.x * v13; this.rp.prev.x = this.rp.curr.x - v6 * v2; this.rp.prev.y = this.rp.curr.y - v6 * v3; var v5 = 1 - this.coeffSlip; this.wp.curr.x += v5 * this.rp.speed * -$n.y; this.wp.curr.y += v5 * this.rp.speed * $n.x; this.rp.speed *= this.coeffSlip; }; ASSetPropFlags(Pirrest.PhisicsEngine.Wheel.prototype, null, 1); } #endinitclip } movieClip 678 __Packages.Pirrest.PhisicsEngine.RimParticle { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.PhisicsEngine) { _global.Pirrest.PhisicsEngine = new Object(); } if (!_global.Pirrest.PhisicsEngine.RimParticle) { var v1 = function ($r, $mt) { this.init($r, $mt); }; Pirrest.PhisicsEngine.RimParticle = v1; var v2 = v1.prototype; v2.init = function ($r, $mt) { this.curr = new Pirrest.PhisicsEngine.Vector($r, 0); this.prev = new Pirrest.PhisicsEngine.Vector(0, 0); this.vs = 0; this.speed = 0; this.maxTorque = $mt; this.wr = $r; }; v2.verlet = function ($sysObj) { this.speed = Math.max(-this.maxTorque, Math.min(this.maxTorque, this.speed + this.vs)); var v2 = -this.curr.y; var v3 = this.curr.x; var v6 = Math.sqrt(v2 * v2 + v3 * v3); v2 /= v6; v3 /= v6; this.curr.x += this.speed * v2; this.curr.y += this.speed * v3; var v7 = this.prev.x; var v8 = this.prev.y; this.prev.x = this.curr.x; var v10 = this.prev.x; this.prev.y = this.curr.y; var v9 = this.prev.y; this.curr.x += $sysObj.coeffDamp * (v10 - v7); this.curr.y += $sysObj.coeffDamp * (v9 - v8); var v4 = Math.sqrt(this.curr.x * this.curr.x + this.curr.y * this.curr.y); var v5 = (v4 - this.wr) / v4; this.curr.x -= this.curr.x * v5; this.curr.y -= this.curr.y * v5; }; ASSetPropFlags(Pirrest.PhisicsEngine.RimParticle.prototype, null, 1); } #endinitclip } movieClip 679 __Packages.Pirrest.BigFoot.JeepBody { #initclip if (!_global.Pirrest) { _global.Pirrest = new Object(); } if (!_global.Pirrest.BigFoot) { _global.Pirrest.BigFoot = new Object(); } if (!_global.Pirrest.BigFoot.JeepBody) { var v1 = function () { super(); this.damage = 0; this.max_damage = 200; this.init(); }; Pirrest.BigFoot.JeepBody = v1; Pirrest.BigFoot.JeepBody extends MovieClip; var v2 = v1.prototype; v2.init = function () { this.createEmptyMovieClip('sync_mc', 5); this.onEnterFrame = this.syncOnEnterFrame; this.active = false; this.level = this._parent._parent; }; v2.linstenKeys = function () { var v4 = 4; var v3 = 0.9; if (Key.isDown(37)) { this.driver_mc.move('back'); this.level.jeep_wheel_1_mc.wp.mass = v3; this.level.jeep_wheel_2_mc.wp.mass = -v3; } else { if (Key.isDown(39)) { this.driver_mc.move('front'); this.level.jeep_wheel_1_mc.wp.mass = -v3; this.level.jeep_wheel_2_mc.wp.mass = v3; } else { this.driver_mc.move('normal'); this.level.jeep_wheel_1_mc.wp.mass = 0; this.level.jeep_wheel_2_mc.wp.mass = 0; } } if (Key.isDown(38)) { if (_root.sunet == true) { if (_root.counterMotor == true) { _root.motorStart.start(0, 2); } _root.counterMotor = false; } this.level.jeep_wheel_1_mc.rp.vs = v4 * 1.25; this.level.jeep_wheel_2_mc.rp.vs = v4 / 2.75; } else { if (Key.isDown(40)) { this.level.jeep_wheel_1_mc.rp.vs = -v4 / 4; this.level.jeep_wheel_2_mc.rp.vs = -v4 / 10; } else { _root.counterMotor = true; this.level.jeep_wheel_1_mc.rp.vs = 0; this.level.jeep_wheel_2_mc.rp.vs = 0; } } }; v2.syncOnEnterFrame = function () { if (_global.gl_game_info.is_game_over || _global.gl_game_info.is_pause) { return undefined; } this.level.moveCamera(); this.linstenKeys(); this.level.p_system.timeStep(); this.level.p_system.paintWheels(); var v7 = -Pirrest.Common.PiGeo.angle(this.level.jeep_wheel_1_mc._x, this.level.jeep_wheel_1_mc._y, this.level.jeep_wheel_2_mc._x, this.level.jeep_wheel_2_mc._y) + 90; this._rotation = v7; this._y = this.level.part.curr.y; this._x = this.level.part.curr.x; var v5 = {'x': this.driver_mc.head_mc._x, 'y': this.driver_mc.head_mc._y}; this.driver_mc.localToGlobal(v5); if (this.level.under_mc.ground_mc.hitTest(v5.x, v5.y, true)) { _global.gl_game_info.is_game_over = true; _root.main_mc.messages_mc.gotoAndStop('game_over'); } var v6 = {'x': this.driver_mc.foot_mc._x, 'y': this.driver_mc.foot_mc._y}; this.driver_mc.localToGlobal(v6); if (this.level.under_mc.ground_mc.hitTest(v6.x, v6.y, true)) { _global.gl_game_info.is_game_over = true; _root.main_mc.messages_mc.gotoAndStop('game_over'); } var v4 = {'x': this.level.under_mc.star_mc._x, 'y': this.level.under_mc.star_mc._y}; this.level.under_mc.localToGlobal(v4); if (this.level.jeep_cont_mc.hitTest(v4.x, v4.y, true)) { _global.gl_game_info.is_game_over = true; ++_global.gl_user_info.curr_level; _global.gl_level = _global.gl_user_info.levels['level_' + _global.gl_user_info.curr_level]; if (Pirrest.Common.PiVal.isEmpty(_global.gl_level)) { _root.main_mc.messages_mc.gotoAndStop('game_completed'); _global.gl_user_info.curr_level = 1; } else { _root.main_mc.messages_mc.gotoAndStop('level_completed'); } } }; ASSetPropFlags(Pirrest.BigFoot.JeepBody.prototype, null, 1); } #endinitclip } frame 4 { if (Math.round(b1 / 1024) <= 35) { gotoAndPlay('loop1'); } } frame 5 { _root.b1 = _root.getBytesLoaded(); _root.b2 = _root.getBytesTotal(); _root.tgPrel = 1 + Math.round(b1 * 100 / b2); _root.tg = _root.tgPrel - 2; trace('_root.tg: ' + _root.tg); if (_root.tg <= 9) { _root.procent = '0' + _root.tg; } else { _root.procent = _root.tg; } _root.prel.gotoAndStop(_root.tgPrel); } // unknown tag 88 length 63 movieClip 108 { } button 110 { on (press) { getURL('http://www.addictinggames.com', blank); } } movieClip 111 { } movieClip 114 { } movieClip 117 { } movieClip 118 { } movieClip 120 { frame 1 { stop(); } } button 122 { on (press) { getURL('http://www.padlockgames.com', blank); } } frame 9 { if (Math.round(b1 / 1024) <= 100) { gotoAndPlay('loop2'); } } frame 11 { _root.b1 = _root.getBytesLoaded(); _root.b2 = _root.getBytesTotal(); _root.tgPrel = 1 + Math.round(b1 * 100 / b2); _root.tg = _root.tgPrel - 2; trace('_root.TG: ' + tgPrel); if (_root.tgPrel <= 9) { _root.procent = '0' + tg; trace(_root.procent); } else { _root.procent = tg; } _root.prel.gotoAndStop(_root.tgPrel); } frame 14 { if (b1 < b2) { gotoAndPlay('loop3'); } } frame 15 { _root.procent = '--'; prel.gotoAndStop(100); stop(); } movieClip 125 { } movieClip 139 { } movieClip 154 { } movieClip 170 { } movieClip 186 { } movieClip 207 { } movieClip 224 { } movieClip 226 { } movieClip 228 { } movieClip 232 { } movieClip 234 { } movieClip 237 { } movieClip 239 { } movieClip 241 { } movieClip 243 { } movieClip 246 { } movieClip 249 { } movieClip 251 { } movieClip 253 { } movieClip 255 { } movieClip 257 { } movieClip 259 { } movieClip 260 { } movieClip 264 { } movieClip 265 { } movieClip 267 { frame 135 { _parent.play(); } } movieClip 268 { frame 76 { stop(); } frame 78 { stop(); _root.play(); } } frame 16 { _root.sunet = true; _root.motoLoop = new Sound(); _root.motoLoop.attachSound('motoLoop'); _root.motorStart = new Sound(); _root.motorStart.attachSound('motorStart'); _root.locatie = _url; _root.levelGoto = 1; _root.cheated = true; } movieClip 271 { frame 1 { stop(); } } frame 17 { _quality = 'BEST'; this.onEnterFrame = function () { gotoAndStop('init'); delete this.onEnterFrame; }; } frame 25 { prevFrame(); } movieClip 275 { } movieClip 276 { } movieClip 278 { } movieClip 280 lib_surface { #initclip Object.registerClass('lib_surface', Pirrest.PhisicsEngine.Surface); #endinitclip } movieClip 282 lib_circle { #initclip Object.registerClass('lib_circle', Pirrest.PhisicsEngine.CircleSurface); #endinitclip } movieClip 283 { } movieClip 284 { } movieClip 286 { } movieClip 287 lib_level_1 { #initclip Object.registerClass('lib_level_1', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode5; } } movieClip 290 { } movieClip 291 { } movieClip 292 lib_level_10 { #initclip Object.registerClass('lib_level_10', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode10; } } movieClip 295 { } movieClip 296 { } movieClip 297 lib_level_11 { #initclip Object.registerClass('lib_level_11', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode8; } } movieClip 300 { } movieClip 301 { } movieClip 302 lib_level_12 { #initclip Object.registerClass('lib_level_12', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode28; } } movieClip 305 { } movieClip 306 { } movieClip 307 lib_level_13 { #initclip Object.registerClass('lib_level_13', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode18; } } movieClip 310 { } movieClip 311 { } movieClip 312 lib_level_14 { #initclip Object.registerClass('lib_level_14', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode16; } } movieClip 315 { } movieClip 316 { } movieClip 317 lib_level_15 { #initclip Object.registerClass('lib_level_15', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode21; } } movieClip 320 { } movieClip 321 { } movieClip 322 lib_level_16 { #initclip Object.registerClass('lib_level_16', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode7; } } movieClip 325 { } movieClip 326 { } movieClip 327 lib_level_17 { #initclip Object.registerClass('lib_level_17', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode22; } } movieClip 330 { } movieClip 331 { } movieClip 332 lib_level_18 { #initclip Object.registerClass('lib_level_18', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode29; } } movieClip 335 { } movieClip 336 { } movieClip 337 lib_level_19 { #initclip Object.registerClass('lib_level_19', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode23; } } movieClip 340 { } movieClip 341 { } movieClip 342 lib_level_2 { #initclip Object.registerClass('lib_level_2', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode14; } } movieClip 345 { } movieClip 346 { } movieClip 347 lib_level_20 { #initclip Object.registerClass('lib_level_20', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode12; } } movieClip 350 { } movieClip 351 { } movieClip 352 lib_level_21 { #initclip Object.registerClass('lib_level_21', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode15; } } movieClip 355 { } movieClip 356 { } movieClip 357 lib_level_22 { #initclip Object.registerClass('lib_level_22', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode6; } } movieClip 360 { } movieClip 361 { } movieClip 362 lib_level_23 { #initclip Object.registerClass('lib_level_23', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode20; } } movieClip 365 { } movieClip 366 { } movieClip 367 lib_level_24 { #initclip Object.registerClass('lib_level_24', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode13; } } movieClip 370 { } movieClip 371 { } movieClip 372 lib_level_25 { #initclip Object.registerClass('lib_level_25', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode11; } } movieClip 375 { } movieClip 376 { } movieClip 377 lib_level_3 { #initclip Object.registerClass('lib_level_3', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode26; } } movieClip 380 { } movieClip 381 { } movieClip 382 lib_level_4 { #initclip Object.registerClass('lib_level_4', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode3; } } movieClip 385 { } movieClip 386 { } movieClip 387 lib_level_5 { #initclip Object.registerClass('lib_level_5', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode9; } } movieClip 390 { } movieClip 391 { } movieClip 392 lib_level_6 { #initclip Object.registerClass('lib_level_6', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode24; } } movieClip 395 { } movieClip 396 { } movieClip 397 lib_level_7 { #initclip Object.registerClass('lib_level_7', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode25; } } movieClip 400 { } movieClip 401 { } movieClip 402 lib_level_8 { #initclip Object.registerClass('lib_level_8', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode4; } } movieClip 405 { } movieClip 406 { } movieClip 407 lib_level_9 { #initclip Object.registerClass('lib_level_9', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode19; } } movieClip 410 { } movieClip 411 { } movieClip 412 lib_level_26 { #initclip Object.registerClass('lib_level_26', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode5; } } movieClip 423 { } movieClip 424 { } movieClip 425 lib_level_27 { #initclip Object.registerClass('lib_level_27', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode1; } } movieClip 428 { } movieClip 429 { } movieClip 430 lib_level_28 { #initclip Object.registerClass('lib_level_28', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode27; } } movieClip 433 { } movieClip 434 { } movieClip 435 lib_level_29 { #initclip Object.registerClass('lib_level_29', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode17; } } movieClip 438 { } movieClip 439 { } movieClip 440 lib_level_30 { #initclip Object.registerClass('lib_level_30', Pirrest.BigFoot.Level); #endinitclip frame 1 { _root.levelCodeCurrent = _root.levelCode30; } } movieClip 442 { } movieClip 444 { } movieClip 446 { } movieClip 448 { } movieClip 450 { } movieClip 452 { } movieClip 454 { } movieClip 456 { } movieClip 458 { } movieClip 460 { } movieClip 462 { } movieClip 464 { } movieClip 466 { } movieClip 468 { } movieClip 470 { } movieClip 472 { } movieClip 474 { } movieClip 476 { } movieClip 478 { } movieClip 480 { } movieClip 482 { } movieClip 484 { } movieClip 486 { } movieClip 488 { } movieClip 489 { frame 1 { function move(to) { if (position == to) { return undefined; } if (!is_moving) { movement = to; if (position == 'normal') { gotoAndPlay('move_' + to); } else { gotoAndPlay(position + '_to_normal'); } } else { movement = to; } } position = 'normal'; is_moving = false; stop(); } frame 2 { is_moving = true; } frame 10 { position = 'front'; if (movement == 'front') { movement = ''; is_moving = false; stop(); } } frame 11 { is_moving = true; } frame 21 { position = 'normal'; if (movement == 'normal') { is_moving = false; stop(); } else { gotoAndPlay('move_' + movement); } } frame 22 { is_moving = true; } frame 31 { position = 'back'; if (movement == 'back') { movement = ''; is_moving = false; stop(); } } frame 32 { is_moving = true; } frame 42 { position = 'normal'; if (movement == 'normal') { is_moving = false; stop(); } else { gotoAndPlay('move_' + movement); } } } movieClip 490 lib_jeep_body { #initclip Object.registerClass('lib_jeep_body', Pirrest.BigFoot.JeepBody); #endinitclip instance driver_mc of movieClip 489 { onClipEvent (enterFrame) { var colorful = new Color('_parent.fill'); colorful.setRGB(_root.framefill); var colorful = new Color('head_mc.fill'); colorful.setRGB(_root.riderfill); var colorful = new Color('foot_mc.fill'); colorful.setRGB(_root.riderfill); var colorful = new Color('leg_mc.fill'); colorful.setRGB(_root.riderfill); var colorful = new Color('body_mc.fill'); colorful.setRGB(_root.riderfill); var colorful = new Color('f_arm_mc.fill'); colorful.setRGB(_root.riderfill); var colorful = new Color('f_hand_mc.fill'); colorful.setRGB(_root.riderfill); var colorful = new Color('b_hand_mc.fill'); colorful.setRGB(_root.riderfill); } } } movieClip 492 { } movieClip 494 { } movieClip 496 lib_jeep_wheel2 { #initclip Object.registerClass('lib_jeep_wheel2', Pirrest.PhisicsEngine.Wheel); #endinitclip instance fill of movieClip 492 { onClipEvent (enterFrame) { var colourful = new Color('_parent.fill'); colourful.setRGB(_root.wheelfill); } } } movieClip 498 { } movieClip 500 { } movieClip 502 lib_jeep_wheel1 { #initclip Object.registerClass('lib_jeep_wheel1', Pirrest.PhisicsEngine.Wheel); #endinitclip instance fill of movieClip 498 { onClipEvent (enterFrame) { var colourful = new Color('_parent.fill'); colourful.setRGB(_root.wheelfill); } } } frame 36 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = (fv == 5) ? /:$version : System.capabilities.version; u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } function startGame() { _root.score = Number(_root.minuteTXT) * 60 + Number(_root.secundeTXT); _global.gl_level = gl_user_info.levels['level_' + gl_user_info.curr_level]; gl_game_info.is_pause = false; gl_game_info.is_game_over = gl_game_info.is_pause; main_mc.back_mc.gotoAndStop('level_' + gl_user_info.curr_level); main_mc.messages_mc.gotoAndStop('empty'); _root.onKeyDown = function () { if (Key.getCode() == 80) { gl_game_info.is_pause = !gl_game_info.is_pause; if (gl_game_info.is_pause) { main_mc.messages_mc.gotoAndPlay('pause'); } else { main_mc.messages_mc.gotoAndPlay('un_pause'); } } if (_global.gl_user_info.curr_level > 99999) { _global.gl_user_info.curr_level = 1; } }; Key.addListener(_root); if (!Pirrest.Common.PiVal.isEmpty(gl_level)) { main_mc.main_cont_mc.attachMovie(gl_level.link, 'level_mc', 1); } } __com_mochibot__('3636c244', this, 10301, true); trace('test ' + levels); _root.framefill = '0xFFFFFF'; _root.wheelfill = '0x003299'; _root.riderfill = '0x000000'; _root.levelUnlock = 1; jb = new Pirrest.BigFoot.JeepBody(); Key.addListener(jb); player = {'link': 'lib_jeep'}; level_1 = {'link': 'lib_level_1', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_2 = {'link': 'lib_level_2', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_3 = {'link': 'lib_level_3', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_4 = {'link': 'lib_level_4', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_5 = {'link': 'lib_level_5', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_6 = {'link': 'lib_level_6', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_7 = {'link': 'lib_level_7', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_8 = {'link': 'lib_level_8', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_9 = {'link': 'lib_level_9', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_10 = {'link': 'lib_level_10', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_11 = {'link': 'lib_level_11', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_12 = {'link': 'lib_level_12', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_13 = {'link': 'lib_level_13', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_14 = {'link': 'lib_level_14', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_15 = {'link': 'lib_level_15', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_16 = {'link': 'lib_level_16', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_17 = {'link': 'lib_level_17', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_18 = {'link': 'lib_level_18', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_19 = {'link': 'lib_level_19', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_20 = {'link': 'lib_level_20', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_21 = {'link': 'lib_level_21', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_22 = {'link': 'lib_level_22', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_23 = {'link': 'lib_level_23', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_24 = {'link': 'lib_level_24', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_25 = {'link': 'lib_level_25', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_26 = {'link': 'lib_level_26', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_27 = {'link': 'lib_level_27', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_28 = {'link': 'lib_level_28', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_29 = {'link': 'lib_level_29', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; level_30 = {'link': 'lib_level_30', 'damping': 0.98, 'gravity': {'x': 0, 'y': 0.55}, 'kfr': 0.1, 'friction': 0.8}; levels = {'level_1': level_27, 'level_2': level_26, 'level_3': level_4, 'level_4': level_8, 'level_5': level_1, 'level_6': level_22, 'level_7': level_16, 'level_8': level_11, 'level_9': level_5, 'level_10': level_10, 'level_11': level_25, 'level_12': level_20, 'level_13': level_24, 'level_14': level_2, 'level_15': level_21, 'level_16': level_14, 'level_17': level_29, 'level_18': level_13, 'level_19': level_9, 'level_20': level_23, 'level_21': level_15, 'level_22': level_17, 'level_23': level_19, 'level_24': level_6, 'level_25': level_7, 'level_26': level_3, 'level_27': level_28, 'level_28': level_12, 'level_29': level_18, 'level_30': level_30}; _global.gl_user_info = {'levels': levels, 'player': player, 'curr_level': 1}; _global.gl_game_info = {'is_game_over': false, 'is_pause': false}; delete player; delete level_1; delete level_2; delete level_3; delete level_4; delete level_5; delete level_6; delete level_7; delete level_8; delete level_9; delete level_10; delete level_11; delete level_12; delete level_13; delete level_14; delete level_15; delete level_16; delete level_17; delete level_18; delete level_19; delete level_20; delete level_21; delete level_22; delete level_23; delete level_24; delete level_25; delete level_26; delete level_27; delete level_28; delete level_29; delete level_30; delete levels; main_mc.gotoAndStop('intro'); var levelcode = new Array(); var total_levels = 30; _root.levelText = 1; _root.levelGoto = 1; _root.levelCode = ''; _root.levelcode[1] = '12345'; _root.levelcode[2] = '78956'; _root.levelcode[3] = '45387'; _root.levelcode[4] = '12375'; _root.levelcode[5] = '95046'; _root.levelcode[6] = '74158'; _root.levelcode[7] = '75386'; _root.levelcode[8] = '95124'; _root.levelcode[9] = '74586'; _root.levelcode[10] = '21437'; _root.levelcode[11] = '84523'; _root.levelcode[12] = '61242'; _root.levelcode[13] = '74147'; _root.levelcode[14] = '12321'; _root.levelcode[15] = '15951'; _root.levelcode[16] = '85456'; _root.levelcode[17] = '36987'; _root.levelcode[18] = '81374'; _root.levelcode[19] = '13246'; _root.levelcode[20] = '72548'; _root.levelcode[21] = '2435£'; _root.levelcode[22] = '235$5'; _root.levelcode[23] = '243?3'; _root.levelcode[24] = '£%234'; _root.levelcode[25] = '98!43'; _root.levelcode[26] = '425$7'; _root.levelcode[27] = '35bc%'; _root.levelcode[28] = '903£p'; _root.levelcode[29] = '£!$xy'; _root.levelcode[30] = '09876'; _root.levelCode1 = _root.levelcode[1]; _root.levelCode2 = _root.levelcode[2]; _root.levelCode3 = _root.levelcode[3]; _root.levelCode4 = _root.levelcode[4]; _root.levelCode5 = _root.levelcode[5]; _root.levelCode6 = _root.levelcode[6]; _root.levelCode7 = _root.levelcode[7]; _root.levelCode8 = _root.levelcode[8]; _root.levelCode9 = _root.levelcode[9]; _root.levelCode10 = _root.levelcode[10]; _root.levelCode11 = _root.levelcode[11]; _root.levelCode12 = _root.levelcode[12]; _root.levelCode13 = _root.levelcode[13]; _root.levelCode14 = _root.levelcode[14]; _root.levelCode15 = _root.levelcode[15]; _root.levelCode16 = _root.levelcode[16]; _root.levelCode17 = _root.levelcode[17]; _root.levelCode18 = _root.levelcode[18]; _root.levelCode19 = _root.levelcode[19]; _root.levelCode20 = _root.levelcode[20]; _root.levelCode21 = _root.levelcode[21]; _root.levelCode22 = _root.levelcode[22]; _root.levelCode23 = _root.levelcode[23]; _root.levelCode24 = _root.levelcode[24]; _root.levelCode25 = _root.levelcode[25]; _root.levelCode26 = _root.levelcode[26]; _root.levelCode27 = _root.levelcode[27]; _root.levelCode28 = _root.levelcode[28]; _root.levelCode29 = _root.levelcode[29]; _root.levelCode30 = _root.levelcode[30]; } movieClip 516 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } button 521 { on (keyPress '<Space>') { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _parent.gotoAndStop('game'); } on (release) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _parent.gotoAndStop('game'); } } button 527 { on (press) { getURL('http://www.addictinggames.com/filters/motorsports.html', blank); } } movieClip 531 { } button 532 { on (release) { _root.framefill = '0xFFFFFF'; } } button 534 { on (release) { _root.framefill = '0x999999'; } } button 536 { on (release) { _root.framefill = '0x009900'; } } button 538 { on (release) { _root.framefill = '0x003299'; } } button 540 { on (release) { _root.framefill = '0x00FFFF'; } } button 542 { on (release) { _root.framefill = '0xFF0000'; } } button 544 { on (release) { _root.framefill = '0xFFFF00'; } } button 546 { on (release) { _root.framefill = '0xCB65FF'; } } button 548 { on (release) { _root.framefill = '0x000000'; } } button 550 { on (release) { _root.framefill = '0xCC6600'; } } button 551 { on (release) { _root.wheelfill = '0xFFFFFF'; } } button 552 { on (release) { _root.wheelfill = '0x999999'; } } button 553 { on (release) { _root.wheelfill = '0x009900'; } } button 554 { on (release) { _root.wheelfill = '0x003299'; } } button 555 { on (release) { _root.wheelfill = '0x00FFFF'; } } button 556 { on (release) { _root.wheelfill = '0xFF0000'; } } button 557 { on (release) { _root.wheelfill = '0xFFFF00'; } } button 558 { on (release) { _root.wheelfill = '0xCB65FF'; } } button 559 { on (release) { _root.wheelfill = '0x000000'; } } button 560 { on (release) { _root.wheelfill = '0xCC6600'; } } button 561 { on (release) { _root.riderfill = '0xFFFFFF'; } } button 562 { on (release) { _root.riderfill = '0x999999'; } } button 563 { on (release) { _root.riderfill = '0x009900'; } } button 564 { on (release) { _root.riderfill = '0x003299'; } } button 565 { on (release) { _root.riderfill = '0x00FFFF'; } } button 566 { on (release) { _root.riderfill = '0xFF0000'; } } button 567 { on (release) { _root.riderfill = '0xFFFF00'; } } button 568 { on (release) { _root.riderfill = '0xCB65FF'; } } button 569 { on (release) { _root.riderfill = '0x000000'; } } button 570 { on (release) { _root.riderfill = '0xCC6600'; } } button 571 { on (release) { _root.bg.gotoAndStop(2); } } button 572 { on (release) { _root.bg.gotoAndStop(3); } } button 574 { on (release) { _root.bg.gotoAndStop(4); } } button 576 { on (release) { _root.bg.gotoAndStop(5); } } button 577 { on (release) { _root.bg.gotoAndStop(1); } } button 583 { on (keyPress '<Enter>') { var i = 1; while (i <= _root.total_levels) { if ('<P ALIGN="LEFT"><FONT FACE="Berlin Sans FB Demi" SIZE="25" COLOR="#000000" LETTERSPACING="0" KERNING="0">' + _root.levelcode[i] + '</FONT></P>' == _root.levelCode) { trace('level ' + i); _root.levelUnlock = i; _root.cheated = true; } ++i; } } on (press) { var i = 1; while (i <= _root.total_levels) { if ('<P ALIGN="LEFT"><FONT FACE="Berlin Sans FB Demi" SIZE="25" COLOR="#000000" LETTERSPACING="0" KERNING="0">' + _root.levelcode[i] + '</FONT></P>' == _root.levelCode) { trace('level ' + i); _root.levelUnlock = i; _root.cheated = true; } ++i; } } } movieClip 586 { frame 1 { stop(); } frame 2 { stop(); } } button 589 { on (press) { if (_root.levelUnlock >= 23) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 23; _parent._parent.gotoAndStop('game'); } } } button 590 { on (press) { if (_root.levelUnlock >= 24) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 24; _parent._parent.gotoAndStop('game'); } } } button 591 { on (press) { if (_root.levelUnlock >= 25) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 25; _parent._parent.gotoAndStop('game'); } } } button 592 { on (press) { if (_root.levelUnlock >= 30) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 30; _parent._parent.gotoAndStop('game'); } } } button 593 { on (press) { if (_root.levelUnlock >= 29) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 29; _parent._parent.gotoAndStop('game'); } } } button 594 { on (press) { if (_root.levelUnlock >= 28) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 28; _parent._parent.gotoAndStop('game'); } } } button 595 { on (press) { if (_root.levelUnlock >= 27) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 27; _parent._parent.gotoAndStop('game'); } } } button 596 { on (press) { if (_root.levelUnlock >= 26) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 26; _parent._parent.gotoAndStop('game'); } } } button 597 { on (press) { if (_root.levelUnlock >= 21) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 21; _parent._parent.gotoAndStop('game'); } } } button 598 { on (press) { if (_root.levelUnlock >= 22) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 22; _parent._parent.gotoAndStop('game'); } } } button 599 { on (press) { if (_root.levelUnlock >= 13) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 13; _parent._parent.gotoAndStop('game'); } } } button 600 { on (press) { if (_root.levelUnlock >= 14) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 14; _parent._parent.gotoAndStop('game'); } } } button 601 { on (press) { if (_root.levelUnlock >= 15) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 15; _parent._parent.gotoAndStop('game'); } } } button 602 { on (press) { if (_root.levelUnlock >= 20) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 20; _parent._parent.gotoAndStop('game'); } } } button 603 { on (press) { if (_root.levelUnlock >= 19) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 19; _parent._parent.gotoAndStop('game'); } } } button 604 { on (press) { if (_root.levelUnlock >= 18) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 18; _parent._parent.gotoAndStop('game'); } } } button 605 { on (press) { if (_root.levelUnlock >= 17) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 17; _parent._parent.gotoAndStop('game'); } } } button 606 { on (press) { if (_root.levelUnlock >= 16) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 16; _parent._parent.gotoAndStop('game'); } } } button 607 { on (press) { if (_root.levelUnlock >= 11) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 11; _parent._parent.gotoAndStop('game'); } } } button 608 { on (press) { if (_root.levelUnlock >= 12) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 12; _parent._parent.gotoAndStop('game'); } } } button 609 { on (press) { if (_root.levelUnlock >= 3) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 3; _parent._parent.gotoAndStop('game'); } } } button 610 { on (press) { if (_root.levelUnlock >= 4) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 4; _parent._parent.gotoAndStop('game'); } } } button 611 { on (press) { if (_root.levelUnlock >= 5) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 5; _parent._parent.gotoAndStop('game'); } } } button 612 { on (press) { if (_root.levelUnlock >= 10) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 10; _parent._parent.gotoAndStop('game'); } } } button 613 { on (press) { if (_root.levelUnlock >= 9) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 9; _parent._parent.gotoAndStop('game'); } } } button 614 { on (press) { if (_root.levelUnlock >= 8) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 8; _parent._parent.gotoAndStop('game'); } } } button 615 { on (press) { if (_root.levelUnlock >= 7) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 7; _parent._parent.gotoAndStop('game'); } } } button 616 { on (press) { if (_root.levelUnlock >= 6) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 6; _parent._parent.gotoAndStop('game'); } } } button 617 { on (press) { if (_root.levelUnlock >= 1) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 1; _parent._parent.gotoAndStop('game'); } } } button 618 { on (press) { if (_root.levelUnlock >= 2) { _root.secundeTXT = '00'; _root.minuteTXT = '00'; _global.gl_user_info.curr_level = 2; _parent._parent.gotoAndStop('game'); } } } movieClip 619 { instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 30) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 29) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 28) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 27) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 26) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 25) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 24) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 23) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 22) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 21) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 20) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 19) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 18) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 17) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 16) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 15) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 14) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 13) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 12) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 11) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 10) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 9) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 8) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 7) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 6) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 5) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 4) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 3) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.levelUnlock >= 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } // unknown tag 88 length 115 movieClip 626 { frame 1 { stop(); } } movieClip 627 { } movieClip 628 { } // unknown tag 88 length 88 movieClip 636 { } button 637 { on (keyPress '<Space>') { _root.main_mc.gotoAndPlay('replay'); } } movieClip 643 { } movieClip 647 { } // unknown tag 88 length 115 button 652 { on (keyPress '<Space>') { _root.main_mc.gotoAndPlay('replay'); } } movieClip 653 { frame 1 { if (_root.sunet == true) { _root.motoLoop.start(0, 999); } } frame 8 { stopAllSounds(); pause_mc.caption = 'PAUSE'; next_btn.onRelease = function () { _root.main_mc.gotoAndPlay('replay'); }; menu_btn.onRelease = function () { _root.main_mc.gotoAndStop('intro'); }; text_1_mc.caption = 'RESTART'; text_2_mc.caption = 'MAIN MENU'; } frame 13 { stop(); } frame 21 { gotoAndStop('empty'); } frame 23 { _parent.meniu._visible = false; _parent.counter._visible = false; _parent.bara._visible = false; _root.motoLoop.stop(); _root.motorStart.stop(); next_btn.onRelease = function () { _root.main_mc.gotoAndPlay('replay'); }; menu_btn.onRelease = function () { _root.main_mc.gotoAndStop('intro'); }; title_mc.caption = 'LEVEL COMPLETED!'; text_1_mc.caption = 'NEXT'; text_2_mc.caption = 'MAIN MENU'; if (_global.gl_user_info.curr_level > _root.levelUnlock) { _root.levelUnlock = _global.gl_user_info.curr_level; } } frame 32 { stop(); } frame 34 { _parent.meniu._visible = false; _parent.counter._visible = false; _parent.bara._visible = false; _root.motoLoop.stop(); _root.motorStart.stop(); menu_btn.onRelease = function () { _root.main_mc.gotoAndStop('intro'); }; title_mc.caption = 'GAME COMPLETED!'; text_1_mc.caption = 'MAIN MENU'; text_2_mc.caption = 'MAIN MENU'; } frame 43 { stop(); } frame 45 { _parent.meniu._visible = false; _parent.counter._visible = false; _parent.bara._visible = false; _root.motoLoop.stop(); _root.motorStart.stop(); next_btn.onRelease = function () { _root.main_mc.gotoAndPlay('replay'); }; menu_btn.onRelease = function () { _root.main_mc.gotoAndStop('intro'); }; title_mc.caption = 'CRASHED'; text_1_mc.caption = 'Try Again'; text_2_mc.caption = 'MAIN MENU'; } frame 54 { stop(); } } movieClip 655 { } movieClip 661 { frame 31 { if (_parent.messages_mc._currentframe == 1) { ++_root.secunde; if (_root.secunde < 10) { _root.secundeTXT = '0' + _root.secunde; } else { _root.secundeTXT = _root.secunde; } if (_root.secunde % 60 == 0) { _root.secunde = 0; _root.secundeTXT = '00'; ++_root.minute; if (_root.minute < 10) { _root.minuteTXT = '0' + _root.minute; } else { _root.minuteTXT = _root.minute; } } } } } movieClip 662 { frame 1 { trace(_root.levelcode); } frame 9 { stop(); } frame 10 { stopAllSounds(); _root.secunde = 0; _root.secundeTXT = '00'; _root.minute = 0; _root.minuteTXT = '00'; _root.levelCode = '12345'; start_btn.onRelease = function () { gotoAndStop('game'); _global.gl_user_info.curr_level = _root.levelGoto; }; } frame 14 { stop(); } frame 17 { _root.startGame(); nextFrame(); } frame 18 { _root.main_mc.main_cont_mc.level_mc.init(); trace(_currentframe); } frame 27 { stop(); } } frame 46 { prevFrame(); }




http://swfchan.com/23/114100/info.shtml
Created: 11/3 -2019 02:37:31 Last modified: 11/3 -2019 02:37:31 Server time: 11/05 -2024 14:59:56