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

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

Trial Bike.swf

This is the info page for
Flash #22860

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


ActionScript [AS1/AS2]
Combined Code
movieClip 3 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 5 { } movieClip 7 { } movieClip 9 { } movieClip 11 { } movieClip 13 { } movieClip 15 { } movieClip 16 { 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 17 { } movieClip 18 { } movieClip 19 { } movieClip 21 { } movieClip 22 { } movieClip 24 { } movieClip 25 { 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 26 { } movieClip 27 { } movieClip 28 { } movieClip 29 { } movieClip 31 { } movieClip 33 { } movieClip 34 { 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 35 UpArrow { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 37 { } movieClip 38 { } movieClip 39 { } movieClip 40 { } movieClip 41 { 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 43 { } movieClip 45 { } movieClip 47 { } movieClip 48 { } movieClip 49 { } movieClip 50 { 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 51 { } movieClip 53 { } movieClip 54 { } movieClip 55 { 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 56 ScrollThumb { frame 1 { stop(); } } movieClip 57 { } movieClip 59 { } movieClip 60 { } movieClip 61 { } movieClip 62 { } movieClip 63 { } movieClip 64 { 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 65 { } movieClip 66 { } movieClip 67 { } movieClip 68 { } movieClip 69 { } movieClip 71 { } movieClip 72 { 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 73 { } movieClip 74 { } movieClip 75 { } movieClip 76 { } movieClip 77 { } movieClip 79 { } movieClip 80 { 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 81 DownArrow { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 89 { } movieClip 91 { } movieClip 94 lib_point { #initclip Object.registerClass('lib_point', Pirrest.PhisicsEngine.Point); #endinitclip } movieClip 95 lib_surface { #initclip Object.registerClass('lib_surface', Pirrest.PhisicsEngine.Surface); #endinitclip } movieClip 97 lib_circle { #initclip Object.registerClass('lib_circle', Pirrest.PhisicsEngine.CircleSurface); #endinitclip } movieClip 180 { } movieClip 181 finish { } movieClip 184 { } movieClip 185 { } movieClip 186 { } movieClip 187 { } movieClip 188 lib_level_1 { #initclip Object.registerClass('lib_level_1', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 193 { } movieClip 194 { } movieClip 195 lib_level_2 { #initclip Object.registerClass('lib_level_2', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 202 { } movieClip 203 { } movieClip 204 lib_level_3 { #initclip Object.registerClass('lib_level_3', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 209 { } movieClip 210 { } movieClip 211 lib_level_4 { #initclip Object.registerClass('lib_level_4', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 215 { } movieClip 216 { } movieClip 217 lib_level_5 { #initclip Object.registerClass('lib_level_5', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 221 { } movieClip 222 { } movieClip 223 lib_level_6 { #initclip Object.registerClass('lib_level_6', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 228 { } movieClip 229 { } movieClip 230 { } movieClip 231 lib_level_7 { #initclip Object.registerClass('lib_level_7', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 236 { } movieClip 237 { } movieClip 238 lib_level_8 { #initclip Object.registerClass('lib_level_8', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 242 { } movieClip 243 { } movieClip 244 lib_level_9 { #initclip Object.registerClass('lib_level_9', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 248 { } movieClip 249 { } movieClip 250 lib_level_10 { #initclip Object.registerClass('lib_level_10', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 252 { } movieClip 253 lib_level_11 { #initclip Object.registerClass('lib_level_11', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 257 { } movieClip 258 { } movieClip 259 lib_level_12 { #initclip Object.registerClass('lib_level_12', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 262 { } movieClip 263 { } movieClip 264 { } movieClip 265 { } movieClip 267 { } movieClip 268 { } movieClip 269 lib_level_13 { #initclip Object.registerClass('lib_level_13', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 262 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 263 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 264 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 265 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 274 { } movieClip 275 { } movieClip 276 lib_level_14 { #initclip Object.registerClass('lib_level_14', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 262 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 263 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 264 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 265 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 279 { } movieClip 282 { } movieClip 283 { } movieClip 284 lib_level_15 { #initclip Object.registerClass('lib_level_15', Pirrest.BigFoot.Level); #endinitclip instance of movieClip 89 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 262 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 279 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 264 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } instance of movieClip 265 { onClipEvent (enterFrame) { if (_parent.jeep_cont_mc.hitTest(this)) { if (_alpha == 100) { _root.puncte += 10; } _alpha = 0; } } } } movieClip 287 lib_jeep_wheel1 { #initclip Object.registerClass('lib_jeep_wheel1', Pirrest.PhisicsEngine.Wheel); #endinitclip } movieClip 288 lib_jeep_wheel2 { #initclip Object.registerClass('lib_jeep_wheel2', Pirrest.PhisicsEngine.Wheel); #endinitclip } movieClip 291 { } movieClip 294 { } movieClip 296 { } movieClip 303 { } movieClip 306 { } movieClip 309 { } movieClip 312 { } movieClip 315 { } movieClip 317 { } movieClip 319 { } movieClip 320 { 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 { if (_root.sunet == true) { _root.demaraj.start(0, 1); } 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 321 lib_jeep_body { #initclip Object.registerClass('lib_jeep_body', Pirrest.BigFoot.JeepBody); #endinitclip } frame 1 { function zadergka() { ++perc2; if (perc2 >= 100) { clearInterval(fSetInterval); } } stop(); preloader.line._xscale = 0; preloader.txt.text = '0%'; this.onEnterFrame = function () { var v6 = this.getBytesLoaded(); var v5 = this.getBytesTotal(); var v4 = int((v6 / v5) * 100); var v3; v3 = perc2 > v4 ? v4 : perc2; preloader.line._xscale = v3; preloader.txt.text = v3 + '%'; if (v5 == v6 && perc2 == 100) { this.onEnterFrame = undefined; preloader._visible = false; _root.gotoAndStop('init'); } }; perc2 = 0; fSetInterval = setInterval(zadergka, 90); } movieClip 327 { } movieClip 333 { } movieClip 336 { } movieClip 338 { } movieClip 340 { } movieClip 341 { } movieClip 345 { } movieClip 347 { } movieClip 349 { } movieClip 353 { } movieClip 355 { } movieClip 356 { } movieClip 357 { } movieClip 359 { } // unknown tag 88 length 63 movieClip 365 { } movieClip 367 { frame 1 { bull.onRelease = function () { getURL('http://sillybull.com', ''); }; } } movieClip 444 __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 445 __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 446 __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 v3 = this.x - $p.x; var v2 = this.y - $p.y; return Math.sqrt(v3 * v3 + v2 * v2); }; 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 447 __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 v2 = $x1 - $x2; var v1 = $y1 - $y2; return Math.sqrt(v2 * v2 + v1 * v1); }; 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 448 __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 v4 = this.p2.x - this.p1.x; var v3 = this.p2.y - this.p1.y; this.normal.x = v3; this.normal.y = -v4; 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 v7 = v4.x - $w.closestPoint.x; var v6 = v4.y - $w.closestPoint.y; $w.wp.curr.x -= v7; $w.wp.curr.y -= v6; $w.resolve(this.normal); } } }; v2.resolveParticleCollision = function ($p, $sysObj) { if (this.boundedSegmentInequality($p.curr)) { var v4 = $p.curr.minusNew($p.prev); var v3 = this.normal.dot(v4); if (v3 < 0) { var v10 = v4.minusNew(this.normal.multNew(v3)); var v5 = v10.multNew($sysObj.coeffFric); var v7 = this.normal.multNew(v3 * $sysObj.coeffRest); var v8 = v7.plusNew(v5); var v9 = v4.minusNew(v8); var v6 = this.normal.dot($p.curr.minusNew(this.p1)) * $sysObj.coeffRest; $p.curr.minus(this.normal.multNew(v6)); $p.prev = $p.curr.minusNew(v9); } } }; 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 v4 = this.p1.x + v2 * (this.p2.x - this.p1.x); var v3 = this.p1.y + v2 * (this.p2.y - this.p1.y); $returnVect.x = v4; $returnVect.y = v3; }; 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 449 __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 v4 = 0.4142136 * $r; var v5 = 0.7071068 * $r; $target_mc.moveTo($x + $r, $y); $target_mc.curveTo($r + $x, v4 + $y, v5 + $x, v5 + $y); $target_mc.curveTo(v4 + $x, $r + $y, $x, $r + $y); $target_mc.curveTo(-v4 + $x, $r + $y, -v5 + $x, v5 + $y); $target_mc.curveTo(-$r + $x, v4 + $y, -$r + $x, $y); $target_mc.curveTo(-$r + $x, -v4 + $y, -v5 + $x, -v5 + $y); $target_mc.curveTo(-v4 + $x, -$r + $y, $x, -$r + $y); $target_mc.curveTo(v4 + $x, -$r + $y, v5 + $x, -v5 + $y); $target_mc.curveTo($r + $x, -v4 + $y, $r + $x, $y); }; ASSetPropFlags(Pirrest.PhisicsEngine.Graphics.prototype, null, 1); } #endinitclip } movieClip 450 __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 v4 = this.cx - $w.wp.curr.x; var v2 = this.cy - $w.wp.curr.y; var v5 = Math.sqrt(v4 * v4 + v2 * v2); var v6 = $w.wr + this.r - v5; if (v6 > 0) { v4 /= v5; v2 /= v5; $w.wp.curr.x -= v4 * v6; $w.wp.curr.y -= v2 * v6; var v7 = new Pirrest.PhisicsEngine.Vector(-v4, -v2); $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 v4 = ($p.curr.minusNew(v2)).normalize(); var v6 = v2.plusNew(v4.multNew(this.r)); $p.curr = v6; } }; ASSetPropFlags(Pirrest.PhisicsEngine.CircleSurface.prototype, null, 1); } #endinitclip } movieClip 451 __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 v5; for (v5 in this.under_mc) { var v3 = this.under_mc[v5]; 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 v8 = this.under_mc.jeep_dummy_mc.wheel_1_dummy_mc; var v9 = this.under_mc.jeep_dummy_mc.wheel_2_dummy_mc; var v7 = {'x': v8._x, 'y': v8._y}; var v6 = {'x': v9._x, 'y': v9._y}; this.under_mc.jeep_dummy_mc.localToGlobal(v7); this.under_mc.jeep_dummy_mc.localToGlobal(v6); this.globalToLocal(v7); 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 = v7.x; this.jeep_wheel_1_mc._y = v7.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 v7; var v5 = 250 - this.jeep_body_mc._x; var v4 = 200 - this.jeep_body_mc._y; var v9 = v5 - this._x; var v8 = v4 - this._y; var v6 = Pirrest.Common.PiGeo.distance(v5, v4, this._x, this._y); var v3 = v6 * 0.35; if (v3 > 50) { v3 = 50; } v7 = v3 / v6; this._x += v9 * v7; this._y += v8 * v7; _global.pBar.update(this._x, this.under_mc.star_mc._x - this.under_mc.jeep_dummy_mc._x, this.under_mc.jeep_dummy_mc._x - this.under_mc.jeep_dummy_mc._width / 2); }; ASSetPropFlags(Pirrest.BigFoot.Level.prototype, null, 1); } #endinitclip } movieClip 452 __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 v3; var v2; v4 = 0; while (v4 < this._s_count) { v3 = 0; while (v3 < this._p_count) { this._particles_ar[v3].checkCollision(this._surfaces_ar[v4], this); ++v3; } v2 = 0; while (v2 < this._w_count) { this._wheels_ar[v2].checkCollision(this._surfaces_ar[v4], this); ++v2; } ++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 453 __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 454 __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 v5 = this.p1.curr.minusNew(this.p2.curr); var v3 = this.p1.curr.distance(this.p2.curr); var v4 = (v3 - this.restLength) / v3; var v2 = v5.mult(v4 * 0.5); this.p1.curr.minus(v2); this.p2.curr.plus(v2); }; 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 455 __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 v7 = $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 v5 = $pSystem.addParticle($center.x + $rWidth / 2, $center.y + $rHeight / 2, 0); var v4 = $pSystem.addParticle($center.x - $rWidth / 2, $center.y + $rHeight / 2, 0); $pSystem.addConstraint(v7, v6); $pSystem.addConstraint(v6, v5); $pSystem.addConstraint(v5, v4); $pSystem.addConstraint(v4, v7); $pSystem.addConstraint(v7, v5); $pSystem.addConstraint(v6, v4); this.p0 = v7; this.p1 = v6; this.p2 = v5; this.p3 = v4; }; ASSetPropFlags(Pirrest.PhisicsEngine.Rectangle.prototype, null, 1); } #endinitclip } movieClip 456 __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 v4 = this.getCentroid(); this.lineC.p2.x = this.lineC.p1.x + 0; this.lineC.p2.y = this.lineC.p1.y - 1; var v10 = this.pA.distance(this.pB); var v8 = this.pB.distance(this.pC); var v12 = this.calcTheta(this.pA, this.pB, this.pC); var v13 = this.calcTheta(this.pA, this.pB, this.pD); var v11 = this.calcTheta(this.pC, this.pB, this.pD); var v6 = (this.targetTheta - v12) / 2; var v9 = v13 + v6 * this.coeffStiff; var v5 = v11 - v6 * this.coeffStiff; this.pA.x = v10 * Math.sin(v9) + this.pB.x; this.pA.y = v10 * Math.cos(v9) + this.pB.y; this.pC.x = v8 * Math.sin(v5) + this.pB.x; this.pC.y = v8 * Math.cos(v5) + this.pB.y; var v7 = this.getCentroid(); var v3 = v7.x - v4.x; var v2 = v7.y - v4.y; this.pA.x -= v3; this.pA.y -= v2; this.pB.x -= v3; this.pB.y -= v2; this.pC.x -= v3; this.pC.y -= v2; }; v2.calcTheta = function ($pA, $pB, $pC) { var v2 = new Pirrest.PhisicsEngine.Vector($pB.x - $pA.x, $pB.y - $pA.y); var v3 = new Pirrest.PhisicsEngine.Vector($pC.x - $pB.x, $pC.y - $pB.y); var v4 = v2.dot(v3); var v5 = v2.cross(v3); return Math.atan2(v5, v4); }; v2.__set__theta = function ($t) { this.targetTheta = $t; null; null; return this.__get__theta(); }; v2.__get__theta = function () { return this.targetTheta; }; v2.paint = function () {}; v2.getCentroid = function () { var v3 = (this.pA.x + this.pB.x + this.pC.x) / 3; var v2 = (this.pA.y + this.pB.y + this.pC.y) / 3; return new Pirrest.PhisicsEngine.Vector(v3, v2); }; v2.addProperty('theta', v2.__get__theta, v2.__set__theta); ASSetPropFlags(Pirrest.PhisicsEngine.AngularConstraint.prototype, null, 1); } #endinitclip } movieClip 457 __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 458 __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 v7 = this.wp.curr.x; var v6 = this.wp.curr.y; var v4 = this.rp.curr.x; var v2 = this.rp.curr.y; this._x = v7; this._y = v6; var v3 = 57.29578; var v5 = -Math.atan2(v4, v2) * v3; this._rotation = v5; }; v2.resolve = function ($n) { var v3 = -this.rp.curr.y; var v2 = this.rp.curr.x; var v5 = Math.sqrt(v3 * v3 + v2 * v2); v3 /= v5; v2 /= v5; var v13 = v3 * this.rp.speed; var v11 = v2 * this.rp.speed; var v12 = this.wp.curr.x - this.wp.prev.x; var v10 = this.wp.curr.y - this.wp.prev.y; var v9 = v12 + v13; var v8 = v10 + v11; var v6 = -$n.y * v9 + $n.x * v8; this.rp.prev.x = this.rp.curr.x - v6 * v3; this.rp.prev.y = this.rp.curr.y - v6 * v2; var v7 = 1 - this.coeffSlip; this.wp.curr.x += v7 * this.rp.speed * -$n.y; this.wp.curr.y += v7 * this.rp.speed * $n.x; this.rp.speed *= this.coeffSlip; }; ASSetPropFlags(Pirrest.PhisicsEngine.Wheel.prototype, null, 1); } #endinitclip } movieClip 459 __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 v3 = -this.curr.y; var v2 = this.curr.x; var v4 = Math.sqrt(v3 * v3 + v2 * v2); v3 /= v4; v2 /= v4; this.curr.x += this.speed * v3; this.curr.y += this.speed * v2; var v10 = this.prev.x; var v9 = this.prev.y; this.prev.x = this.curr.x; var v7 = this.prev.x; this.prev.y = this.curr.y; var v8 = this.prev.y; this.curr.x += $sysObj.coeffDamp * (v7 - v10); this.curr.y += $sysObj.coeffDamp * (v8 - v9); var v6 = Math.sqrt(this.curr.x * this.curr.x + this.curr.y * this.curr.y); var v5 = (v6 - this.wr) / v6; this.curr.x -= this.curr.x * v5; this.curr.y -= this.curr.y * v5; }; ASSetPropFlags(Pirrest.PhisicsEngine.RimParticle.prototype, null, 1); } #endinitclip } movieClip 460 __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 = 2; var v3 = 1.4; 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 / 2; this.level.jeep_wheel_2_mc.wp.mass = v3 / 1.5; } 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.odata == true) { _root.demaraj.start(0, 1); } } _root.odata = false; this.level.jeep_wheel_1_mc.rp.vs = v4; this.level.jeep_wheel_2_mc.rp.vs = v4 / 8; } else { if (Key.isDown(40)) { this.level.jeep_wheel_1_mc.rp.vs = -v4 / 2; this.level.jeep_wheel_2_mc.rp.vs = 0; } else { _root.odata = 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; } var v4 = this.swapped ? {'x': this.level.jeep_wheel_2_mc._x, 'y': this.level.jeep_wheel_2_mc._y} : {'x': this.level.jeep_wheel_1_mc._x, 'y': this.level.jeep_wheel_1_mc._y}; var v5 = this.swapped ? {'x': this.level.jeep_wheel_1_mc._x, 'y': this.level.jeep_wheel_1_mc._y} : {'x': this.level.jeep_wheel_2_mc._x, 'y': this.level.jeep_wheel_2_mc._y}; this.level.jeep_cont_mc.localToGlobal(v4); this.globalToLocal(v4); this.level.jeep_cont_mc.localToGlobal(v5); this.globalToLocal(v5); this.stick_back_mc._x = v4.x; this.stick_back_mc._y = v4.y; this.stick_front_mc._x = v5.x; this.stick_front_mc._y = v5.y; var v10 = -Pirrest.Common.PiGeo.angle(v4.x, v4.y, this.stick_back_point_mc._x, this.stick_back_point_mc._y) + 90; this.stick_back_mc._rotation = v10; var v11 = -Pirrest.Common.PiGeo.angle(v5.x, v5.y, this.stick_front_point_mc._x, this.stick_front_point_mc._y) + 90; this.stick_front_mc._rotation = v11; this.level.moveCamera(); this.linstenKeys(); this.level.p_system.timeStep(); this.level.p_system.paintWheels(); var v9 = -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 = v9; this._y = this.level.part.curr.y; this._x = this.level.part.curr.x; var v7 = {'x': this.driver_mc.head_mc._x, 'y': this.driver_mc.head_mc._y}; this.driver_mc.localToGlobal(v7); if (this.level.under_mc.ground_mc.hitTest(v7.x, v7.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 v8 = {'x': this.level.under_mc.star_mc._x, 'y': this.level.under_mc.star_mc._y}; this.level.under_mc.localToGlobal(v8); if (this.level.jeep_cont_mc.hitTest(v8.x, v8.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 } movieClip 461 __Packages.classes.Pirrest.BigFoot.Bar { #initclip if (!_global.classes) { _global.classes = new Object(); } if (!_global.classes.Pirrest) { _global.classes.Pirrest = new Object(); } if (!_global.classes.Pirrest.BigFoot) { _global.classes.Pirrest.BigFoot = new Object(); } if (!_global.classes.Pirrest.BigFoot.Bar) { var v1 = function () {}; classes.Pirrest.BigFoot.Bar = v1; var v2 = v1.prototype; v2.update = function ($x, $w, l) { var v2 = ((Stage.width / 2 - $x - l) / $w) * 100; var v3 = (this.body._width - this.cursor._width) / 100; trace(Math.round(v2)); this.cursor._x = v3 * v2; }; ASSetPropFlags(classes.Pirrest.BigFoot.Bar.prototype, null, 1); } #endinitclip } frame 7 { puncte = 0; punctaj = 0; stop(); } frame 16 { function startGame() { _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'); _root.pauza = true; } else { main_mc.messages_mc.gotoAndPlay('un_pause'); _root.pauza = false; } } if (_global.gl_user_info.curr_level > 15) { _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); } } 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}; levels = {'level_1': level_1, 'level_2': level_2, 'level_3': level_3, 'level_4': level_4, 'level_5': level_5, 'level_6': level_6, 'level_7': level_7, 'level_8': level_8, 'level_9': level_9, 'level_10': level_10, 'level_11': level_11, 'level_12': level_12, 'level_13': level_13, 'level_14': level_14, 'level_15': level_15}; _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 levels; main_mc.gotoAndStop('intro'); _root.demaraj = new Sound(); _root.demaraj.attachSound('demaraj'); _root.xmotor = new Sound(); _root.xmotor.attachSound('xmotor'); _root.sunet = true; } movieClip 372 { } button 373 { on (release) { _root.punctaj = 0; _root.puncte = 0; gotoAndStop('game'); _root.xmotor.start(0, 99999); } } movieClip 376 { } button 377 { on (press) { _root.gotoAndStop(31); } } movieClip 380 { } movieClip 382 { } movieClip 383 { frame 1 { stop(); } instance of movieClip 382 { onClipEvent (rollOver) { _parent.gotoAndStop(2); } onClipEvent (rollOut) { _parent.gotoAndStop(1); } onClipEvent (press) { getURL('http://sillybull.com', 'new'); } } } movieClip 386 { } movieClip 387 { } movieClip 388 { frame 1 { stop(); } instance of movieClip 387 { onClipEvent (rollOver) { _parent.gotoAndStop(2); } onClipEvent (rollOut) { _parent.gotoAndStop(1); } onClipEvent (press) { _root.gotoAndStop(32); } } } movieClip 390 { } movieClip 394 { frame 31 { if (_root.pauza == false) { ++_root.secunde; if (_root.secunde < 10) { _root.secunde = '0' + _root.secunde; } else { if (_root.secunde > 20) { _root.secunde = '00'; ++_root.minute; if (_root.minute < 10) { _root.minute = '0' + _root.minute; } } } } } } movieClip 404 { } button 405 { on (release) { _root.main_mc.gotoAndStop('intro'); } } movieClip 408 { } button 409 { on (release) { _root.punctaj += _root.puncte; _root.puncte = 0; _root.main_mc.gotoAndPlay('replay'); } } movieClip 414 { } button 415 { on (release) { _root.gotoAndStop(31); } } movieClip 418 { } button 419 { on (release) { _root.puncte = 0; _root.main_mc.gotoAndPlay('replay'); } } movieClip 420 { frame 1 { trace('empty'); if (_root.sunet == true) { _root.xmotor.start(0, 99999); } _root.pauza = false; } frame 8 { _root.pauza = true; _root.main_mc.messages_mc.theMeniu._x += 1000; pause_mc.caption = 'PAUSE'; next_btn.onRelease = function () { _root.main_mc.gotoAndPlay('replay'); }; menu_btn.onRelease = function () { _root.main_mc.gotoAndStop('intro'); }; } frame 13 { stop(); } frame 14 { _root.pauza = false; } frame 21 { gotoAndStop('empty'); } frame 23 { _root.pauza = true; trace(1000 - (Number(_root.minute) * 100 + Number(_root.secunde))); _root.scorNivel = 1000 - (Number(_root.minute) * 100 + Number(_root.secunde)); _root.totalScor += _root.scorNivel; _root.scorNivel = 0; _root.minute = '00'; _root.secunde = '00'; menu_btn.onRelease = function () { _root.main_mc.gotoAndStop('intro'); }; title_mc.caption = 'LEVEL COMPLETED!'; stopAllSounds(); } frame 32 { stop(); } frame 34 { _root.pauza = true; _root.scorNivel = 1000 - (Number(_root.minute) * 100 + Number(_root.secunde)); _root.totalScor += _root.scorNivel; _root.scorNivel = 0; _root.minute = '00'; _root.secunde = '00'; menu_btn.onRelease = function () {}; title_mc.caption = 'GAME COMPLETED!'; stopAllSounds(); } frame 43 { stop(); } frame 45 { _root.pauza = true; _root.scorNivel = 0; _root.minute = '00'; _root.secunde = '00'; next_btn.onRelease = function () {}; menu_btn.onRelease = function () {}; title_mc.caption = 'GAME OVER'; stopAllSounds(); } frame 54 { stop(); } } movieClip 421 { } // unknown tag 88 length 11 movieClip 424 { } movieClip 425 ms_progressBar { #initclip Object.registerClass('ms_progressBar', classes.Pirrest.BigFoot.Bar); #endinitclip } movieClip 426 { frame 1 { _root.totalScor = 0; } frame 9 { stop(); } frame 10 { _root.main_mc.instructions._visible = false; start_btn.onRelease = function () {}; _root.secunde = '00'; _root.minute = '00'; _root.totalScor = 0; _global.gl_user_info.curr_level = 1; _root.pauza = false; _root.sunet = true; stopAllSounds(); } frame 14 { stop(); } frame 17 { _root.startGame(); nextFrame(); _global.pBar = this.pBar; } instance messages_mc of movieClip 420 { onClipEvent (enterFrame) { puncte.text = _root.puncte + _root.punctaj; } } frame 18 { _root.main_mc.main_cont_mc.level_mc.init(); } frame 27 { stop(); } } frame 26 { prevFrame(); } frame 27 { removeMovieClip(_root.xxc1); removeMovieClip(_root.xxc2); removeMovieClip(_root.xxc3); removeMovieClip(_root.xxc4); } frame 28 { _root.menu.removeMovieClip(); _root.gameid = 'TrialBike2'; _root.best = _root.totalScor; _root.totalScor = 0; _root.updated = 0; _root.done = 0; done = 0; i = 1; while (i <= 100) { _root['score' + i] = null; _root['name' + i] = null; _root['escore' + i] = null; _root['ename' + i] = null; ++i; } } movieClip 429 { } movieClip 432 { } movieClip 433 { frame 15 { stop(); } } movieClip 434 { frame 25 { stop(); } instance of movieClip 433 { onClipEvent (press) { _root.gotoAndStop(16); } } } movieClip 437 { } movieClip 438 { } movieClip 441 { } movieClip 442 { frame 1 { ac11.useHandCursor = 0; stop(); } instance ac11 of movieClip 438 { onClipEvent (press) { _parent.gotoAndStop(2); } } frame 2 { stop(); } } movieClip 443 { frame 25 { stop(); } instance of movieClip 433 { onClipEvent (press) { _root.gotoAndStop(16); } } }




http://swfchan.com/5/22860/info.shtml
Created: 26/5 -2019 15:21:08 Last modified: 26/5 -2019 15:21:08 Server time: 29/04 -2024 13:09:08