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

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

Yellow Out.swf

This is the info page for
Flash #10006

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


Text
<P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"> </FONT></P>

PRESENTS

Move vehicles to make way out
for yellow vehicle.

YellowOut

YellowOut

Play

Play

Credits

Credits

Click here to add this game to your website

CREDITS

DESIGNED AND DEVELOPED BY:
AQEEL AHMAD

<P ALIGN="LEFT"><FONT FACE="BankGothic Md BT" SIZE="20" COLOR="#FFFFFF"><A HREF="http://www.aqeelsfolio.tk"><B>HTTP://WWW.AQEELSFOLIO.TK</B></A></FONT></P>

contact: aqlahmad@hotmail.com

Back

Back

START GAME

START GAME

SELECT STARTING  LEVEL

LEVEL

00

MOVES

000

SCORE

0

10

NEXT
LEVEL

RESTART

RESTART

ActionScript [AS1/AS2]

Frame 4
tb = getBytesTotal(); lb = getBytesLoaded(); v = int((lb / tb) * 100); thebar.setValue(v); if (lb < tb) { gotoAndPlay(_currentframe - 1); } else if (thebar.mv == thebar.thebar._x) { play(); } else { gotoAndPlay(_currentframe - 1); }
Frame 89
stop();
Frame 96
i = 1; while (i <= 60) { combobox.addItem(i); i++; } stop();
Instance of Symbol 101 MovieClip [FComboBoxSymbol] "combobox" in Frame 96
//component parameters onClipEvent (initialize) { editable = false; data = []; data[0] = "defaultValue"; rowCount = 8; changeHandler = ""; }
Frame 98
stop();
Symbol 3 MovieClip [FLabelSymbol] Frame 1
#initclip 3 _global.FLabelClass = function () { if (this.hostComponent == undefined) { this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller)); } if (this.customTextStyle == undefined) { if (this.hostComponent.textStyle == undefined) { this.hostComponent.textStyle = new TextFormat(); } this.textStyle = this.hostComponent.textStyle; this.enable = true; } }; FLabelClass.prototype = new MovieClip(); Object.registerClass("FLabelSymbol", FLabelClass); FLabelClass.prototype.setLabel = function (label) { var val = this.hostComponent.styleTable.embedFonts.value; if (val != undefined) { this.labelField.embedFonts = val; } this.labelField.setNewTextFormat(this.textStyle); this.labelField.text = label; this.labelField._height = this.labelField.textHeight + 2; }; FLabelClass.prototype.setSize = function (width) { this.labelField._width = width; }; FLabelClass.prototype.setEnabled = function (enable) { this.enable = enable; var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value; if (tmpColor == undefined) { tmpColor = (enable ? 0 : 8947848); } this.setColor(tmpColor); }; FLabelClass.prototype.getLabel = function () { return(this.labelField.text); }; FLabelClass.prototype.setColor = function (col) { this.labelField.textColor = col; }; #endinitclip
Symbol 6 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller; component.registerSkinElement(highlight_mc, "selection"); stop();
Symbol 6 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled"); stop();
Symbol 6 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused"); stop();
Symbol 7 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1 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._width = (this.deadPreview._height = 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 i in this.styleFormat_prm) { this.setStyleProperty(i, this.styleFormat_prm[i]); } } }; FUIComponentClass.prototype.setEnabled = function (enabledFlag) { this.enable = ((arguments.length > 0) ? (enabledFlag) : true); this.tabEnabled = (this.focusEnabled = enabledFlag); 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 funct in this.methodTable) { this[funct](); } }; FUIComponentClass.prototype.drawRect = function (x, y, w, h) { var inner = this.styleTable.focusRectInner.value; var outer = this.styleTable.focusRectOuter.value; if (inner == undefined) { inner = 16777215 /* 0xFFFFFF */; } if (outer == undefined) { outer = 0; } this.createEmptyMovieClip("focusRect", 1000); this.focusRect.controller = this; this.focusRect.lineStyle(1, outer); 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, inner); 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 tmpValue = parseInt(value); if (!isNaN(tmpValue)) { value = tmpValue; } var global = ((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 || (!global)) { 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 textProp = propName.subString(4, propName.length); this.textStyle[textProp] = value; this.invalidate("setSize"); } else { for (var j in this.styleTable[propName].coloredMCs) { var myColor = new Color(this.styleTable[propName].coloredMCs[j]); if (this.styleTable[propName].value == undefined) { var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"}; myColor.setTransform(myTObj); } else { myColor.setRGB(value); } } } this.styleTable[propName].useGlobal = global; } }; 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 myColor = new Color(skinMCRef); myColor.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 i in arguments[0]) { this[i] = arguments[0][i]; } } }; _global.FStyleFormat.prototype = new Object(); FStyleFormat.prototype.addListener = function () { var arg = 0; while (arg < arguments.length) { var mcRef = arguments[arg]; this.listeners[arguments[arg]] = mcRef; for (var i in this) { if (this.isAStyle(i)) { mcRef.updateStyleProperty(this, i.toString()); } } arg++; } }; FStyleFormat.prototype.removeListener = function (component) { this.listeners[component] = undefined; for (var prop in this) { if (this.isAStyle(prop)) { if (component.styleTable[prop].useGlobal == this.isGlobal) { component.styleTable[prop].useGlobal = true; var value = (this.isGlobal ? undefined : (globalStyleFormat[prop])); component.setStyleProperty(prop, value, true); } } } }; FStyleFormat.prototype.applyChanges = function () { var count = 0; for (var i in this.listeners) { var component = this.listeners[i]; if (arguments.length > 0) { var j = 0; while (j < arguments.length) { if (this.isAStyle(arguments[j])) { component.updateStyleProperty(this, arguments[j]); } j++; } } else { for (var j in this) { if (this.isAStyle(j)) { component.updateStyleProperty(this, j.toString()); } } } } }; FStyleFormat.prototype.isAStyle = function (name) { return((this.nonStyles[name] ? false : true)); }; #endinitclip
Symbol 20 MovieClip 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");
Symbol 30 MovieClip 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");
Symbol 39 MovieClip 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");
Symbol 40 MovieClip [UpArrow] Frame 1
stop();
Symbol 40 MovieClip [UpArrow] Frame 2
stop();
Symbol 40 MovieClip [UpArrow] Frame 3
stop();
Symbol 47 MovieClip 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");
Symbol 54 MovieClip 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");
Symbol 59 MovieClip 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");
Symbol 60 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 68 MovieClip 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");
Symbol 76 MovieClip 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");
Symbol 84 MovieClip 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");
Symbol 85 MovieClip [DownArrow] Frame 1
stop();
Symbol 85 MovieClip [DownArrow] Frame 2
stop();
Symbol 85 MovieClip [DownArrow] Frame 3
stop();
Symbol 88 MovieClip Frame 1
var component = _parent; component.registerSkinElement(track_mc, "scrollTrack");
Symbol 89 MovieClip [FScrollBarSymbol] Frame 1
#initclip 5 FScrollBarClass = function () { if (this._height == 4) { return(undefined); } this.init(); this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0))); this.smallScroll = 1; this.width = (this.horizontal ? (this._width) : (this._height)); this._xscale = (this._yscale = 100); this.setScrollPosition(0); this.tabEnabled = false; if (this._targetInstanceName.length > 0) { this.setScrollTarget(this._parent[this._targetInstanceName]); } this.tabChildren = false; this.setSize(this.width); }; FScrollBarClass.prototype = new FUIComponentClass(); FScrollBarClass.prototype.setHorizontal = function (flag) { if (this.horizontal && (!flag)) { this._xscale = 100; this._rotation = 0; } else if (flag && (!this.horizontal)) { this._xscale = -100; this._rotation = -90; } this.horizontal = flag; }; FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) { if (!this.enable) { return(undefined); } this.pageSize = pSize; this.minPos = Math.max(mnPos, 0); this.maxPos = Math.max(mxPos, 0); this.scrollPosition = Math.max(this.minPos, this.scrollPosition); this.scrollPosition = Math.min(this.maxPos, this.scrollPosition); if ((this.maxPos - this.minPos) <= 0) { this.scrollThumb_mc.removeMovieClip(); this.upArrow_mc.gotoAndStop(3); this.downArrow_mc.gotoAndStop(3); this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null)); this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null)); this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null); this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null); this.scrollTrack_mc.useHandCursor = false; } else { var tmp = this.getScrollPosition(); this.upArrow_mc.gotoAndStop(1); this.downArrow_mc.gotoAndStop(1); this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller); this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling); this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller); this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling); this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller); this.scrollTrack_mc.onRelease = this.stopScrolling; this.scrollTrack_mc.onDragOut = this.stopScrolling; this.scrollTrack_mc.onRollOut = this.stopScrolling; this.scrollTrack_mc.useHandCursor = false; this.attachMovie("ScrollThumb", "scrollThumb_mc", 3); this.scrollThumb_mc._x = 0; this.scrollThumb_mc._y = this.upArrow_mc._height; this.scrollThumb_mc.onPress = this.startDragThumb; this.scrollThumb_mc.controller = this; this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb); this.scrollThumb_mc.useHandCursor = false; this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize; this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid; this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop; this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot; this.thumbHeight = Math.max(this.thumbHeight, 6); this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height; this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height; this.thumbMid_mc._y = this.thumbTop_mc._height; this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight; this.scrollTop = this.scrollThumb_mc._y; this.trackHeight = this.trackSize - this.thumbHeight; this.scrollBot = this.trackHeight + this.scrollTop; tmp = Math.min(tmp, this.maxPos); this.setScrollPosition(Math.max(tmp, this.minPos)); } }; FScrollBarClass.prototype.getScrollPosition = function () { return(this.scrollPosition); }; FScrollBarClass.prototype.setScrollPosition = function (pos) { this.scrollPosition = pos; if (this.scrollThumb_mc != undefined) { pos = Math.min(pos, this.maxPos); pos = Math.max(pos, this.minPos); } this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop; this.executeCallBack(); }; FScrollBarClass.prototype.setLargeScroll = function (lScroll) { this.largeScroll = lScroll; }; FScrollBarClass.prototype.setSmallScroll = function (sScroll) { this.smallScroll = sScroll; }; FScrollBarClass.prototype.setEnabled = function (enabledFlag) { var wasEnabled = this.enable; if (enabledFlag && (!wasEnabled)) { this.enable = enabledFlag; if (this.textField != undefined) { this.setScrollTarget(this.textField); } else { this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos); this.setScrollPosition(this.cachedPos); } this.clickFilter = undefined; } else if ((!enabledFlag) && (wasEnabled)) { this.textField.removeListener(this); this.cachedPos = this.getScrollPosition(); this.cachedMinPos = this.minPos; this.cachedMaxPos = this.maxPos; if (this.clickFilter == undefined) { this.setScrollProperties(this.pageSize, 0, 0); } else { this.clickFilter = true; } this.enable = enabledFlag; } }; FScrollBarClass.prototype.setSize = function (hgt) { if (this._height == 1) { return(undefined); } this.width = hgt; this.scrollTrack_mc._yscale = 100; this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height; if (this.upArrow_mc == undefined) { this.attachMovie("UpArrow", "upArrow_mc", 1); this.attachMovie("DownArrow", "downArrow_mc", 2); this.downArrow_mc.controller = (this.upArrow_mc.controller = this); this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false); this.upArrow_mc._x = (this.upArrow_mc._y = 0); this.downArrow_mc._x = 0; } this.scrollTrack_mc.controller = this; this.downArrow_mc._y = this.width - this.downArrow_mc._height; this.trackSize = this.width - (2 * this.downArrow_mc._height); if (this.textField != undefined) { this.onTextChanged(); } else { this.setScrollProperties(this.pageSize, this.minPos, this.maxPos); } }; FScrollBarClass.prototype.scrollIt = function (inc, mode) { var delt = this.smallScroll; if (inc != "one") { delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll)); } var newPos = (this.getScrollPosition() + (mode * delt)); if (newPos > this.maxPos) { newPos = this.maxPos; } else if (newPos < this.minPos) { newPos = this.minPos; } this.setScrollPosition(newPos); }; FScrollBarClass.prototype.startDragThumb = function () { this.lastY = this._ymouse; this.onMouseMove = this.controller.dragThumb; }; FScrollBarClass.prototype.dragThumb = function () { this.scrollMove = this._ymouse - this.lastY; this.scrollMove = this.scrollMove + this._y; if (this.scrollMove < this.controller.scrollTop) { this.scrollMove = this.controller.scrollTop; } else if (this.scrollMove > this.controller.scrollBot) { this.scrollMove = this.controller.scrollBot; } this._y = this.scrollMove; var c = this.controller; c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos; this.controller.isScrolling = true; updateAfterEvent(); this.controller.executeCallBack(); }; FScrollBarClass.prototype.stopDragThumb = function () { this.controller.isScrolling = false; this.onMouseMove = null; }; FScrollBarClass.prototype.startTrackScroller = function () { this.controller.trackScroller(); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1); }; FScrollBarClass.prototype.scrollInterval = function (inc, mode) { clearInterval(this.scrolling); if (inc == "page") { this.trackScroller(); } else { this.scrollIt(inc, mode); } this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode); }; FScrollBarClass.prototype.trackScroller = function () { if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) { this.scrollIt("page", 1); } else if (this.scrollThumb_mc._y > this._ymouse) { this.scrollIt("page", -1); } }; FScrollBarClass.prototype.stopScrolling = function () { this.controller.downArrow_mc.gotoAndStop(1); this.controller.upArrow_mc.gotoAndStop(1); clearInterval(this.controller.scrolling); }; FScrollBarClass.prototype.startUpScroller = function () { this.controller.upArrow_mc.gotoAndStop(2); this.controller.scrollIt("one", -1); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1); }; FScrollBarClass.prototype.startDownScroller = function () { this.controller.downArrow_mc.gotoAndStop(2); this.controller.scrollIt("one", 1); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1); }; FScrollBarClass.prototype.setScrollTarget = function (tF) { if (tF == undefined) { this.textField.removeListener(this); delete this.textField[(this.horizontal ? "hScroller" : "vScroller")]; if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) { this.textField.unwatch("text"); this.textField.unwatch("htmltext"); } } this.textField = undefined; if (!(tF instanceof TextField)) { return(undefined); } this.textField = tF; this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this; this.onTextChanged(); this.onChanged = function () { this.onTextChanged(); }; this.onScroller = function () { if (!this.isScrolling) { if (!this.horizontal) { this.setScrollPosition(this.textField.scroll); } else { this.setScrollPosition(this.textField.hscroll); } } }; this.textField.addListener(this); this.textField.watch("text", this.callback); this.textField.watch("htmlText", this.callback); }; FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) { clearInterval(this.hScroller.synchScroll); clearInterval(this.vScroller.synchScroll); this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50); this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50); return(newVal); }; FScrollBarClass.prototype.onTextChanged = function () { if ((!this.enable) || (this.textField == undefined)) { return(undefined); } clearInterval(this.synchScroll); if (this.horizontal) { var pos = this.textField.hscroll; this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll); this.setScrollPosition(Math.min(pos, this.textField.maxhscroll)); } else { var pos = this.textField.scroll; var pageSize = (this.textField.bottomScroll - this.textField.scroll); this.setScrollProperties(pageSize, 1, this.textField.maxscroll); this.setScrollPosition(Math.min(pos, this.textField.maxscroll)); } }; FScrollBarClass.prototype.executeCallBack = function () { if (this.textField == undefined) { super.executeCallBack(); } else if (this.horizontal) { this.textField.hscroll = this.getScrollPosition(); } else { this.textField.scroll = this.getScrollPosition(); } }; Object.registerClass("FScrollBarSymbol", FScrollBarClass); #endinitclip
Symbol 90 MovieClip [DataProviderSymbol] Frame 1
#initclip 2 _global.DataProviderClass = function () { this.init(); }; DataProviderClass.prototype.init = function () { this.items = new Array(); this.uniqueID = 0; this.views = new Array(); }; DataProviderClass.prototype.addView = function (viewRef) { this.views.push(viewRef); var eventObj = {event:"updateAll"}; viewRef.modelChanged(eventObj); }; DataProviderClass.prototype.addItemAt = function (index, value) { if (index < this.getLength()) { this.items.splice(index, 0, "tmp"); } this.items[index] = new Object(); if (typeof(value) == "object") { this.items[index] = value; } else { this.items[index].label = value; } this.items[index].__ID__ = this.uniqueID++; var eventObj = {event:"addRows", firstRow:index, lastRow:index}; this.updateViews(eventObj); }; DataProviderClass.prototype.addItem = function (value) { this.addItemAt(this.getLength(), value); }; DataProviderClass.prototype.removeItemAt = function (index) { var tmpItm = this.items[index]; this.items.splice(index, 1); var eventObj = {event:"deleteRows", firstRow:index, lastRow:index}; this.updateViews(eventObj); return(tmpItm); }; DataProviderClass.prototype.removeAll = function () { this.items = new Array(); this.updateViews({event:"deleteRows", firstRow:0, lastRow:this.getLength() - 1}); }; DataProviderClass.prototype.replaceItemAt = function (index, itemObj) { if ((index < 0) || (index >= this.getLength())) { return(undefined); } var tmpID = this.getItemID(index); if (typeof(itemObj) == "object") { this.items[index] = itemObj; } else { this.items[index].label = itemObj; } this.items[index].__ID__ = tmpID; this.updateViews({event:"updateRows", firstRow:index, lastRow:index}); }; DataProviderClass.prototype.getLength = function () { return(this.items.length); }; DataProviderClass.prototype.getItemAt = function (index) { return(this.items[index]); }; DataProviderClass.prototype.getItemID = function (index) { return(this.items[index].__ID__); }; DataProviderClass.prototype.sortItemsBy = function (fieldName, order) { this.items.sortOn(fieldName); if (order == "DESC") { this.items.reverse(); } this.updateViews({event:"sort"}); }; DataProviderClass.prototype.updateViews = function (eventObj) { var i = 0; while (i < this.views.length) { this.views[i].modelChanged(eventObj); i++; } }; #endinitclip
Symbol 91 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 7 function FSelectableItemClass() { this.init(); } FSelectableItemClass.prototype = new FUIComponentClass(); FSelectableItemClass.prototype.init = function () { if (this._name != "itemAsset") { this.highlighted = false; this.layoutContent(100); } }; FSelectableItemClass.prototype.drawItem = function (itmObj, selected) { this.displayContent(itmObj, selected); if ((this.highlighted != selected) || ((this.controller.focused != this.oldFocus) && (selected))) { this.setHighlighted(selected); } this.oldFocus = this.controller.focused; }; FSelectableItemClass.prototype.setSize = function (width, height) { var LOWEST_DEPTH = -16384; this.width = width; this.layoutContent(width); this.attachMovie("FHighlightSymbol", "highlight_mc", LOWEST_DEPTH); this.highlight_mc._x = 0.5; this.highlight_mc._width = width - 0.5; this.highlight_mc._height = height; this.highlight_mc.controller = this; this.highlight_mc._alpha = 0; this.highlight_mc.trackAsMenu = true; this.highlight_mc.onPress = function () { if (this.controller.enable) { this.controller.controller.clickHandler(this.controller.itemNum); } }; this.highlight_mc.onDragOver = function () { if (this.controller.controller.focused) { this.onPress(); } }; this.highlight_mc.useHandCursor = false; this.highlight_mc.trackAsMenu = true; }; FSelectableItemClass.prototype.setEnabled = function (enabledFlag) { this.enable = enabledFlag; this.fLabel_mc.setEnabled(enabledFlag); this.highlight_mc.gotoAndStop((enabledFlag ? "unfocused" : "disabled")); }; FSelectableItemClass.prototype.layoutContent = function (width) { this.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:this.controller}); this.fLabel_mc._x = 2; this.fLabel_mc._y = 0; this.fLabel_mc.setSize(width - 2); this.fLabel_mc.labelField.selectable = false; }; FSelectableItemClass.prototype.displayContent = function (itmObj, selected) { var tmpLabel = ""; if (itmObj.label != undefined) { tmpLabel = itmObj.label; } else if (typeof(itmObj) == "object") { for (var i in itmObj) { if (i != "__ID__") { tmpLabel = (itmObj[i] + ", ") + tmpLabel; } } tmpLabel = tmpLabel.substring(0, tmpLabel.length - 2); } else { tmpLabel = itmObj; } if (this.fLabel_mc.labelField.text != tmpLabel) { this.fLabel_mc.setLabel(tmpLabel); } var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value)); if (clr == undefined) { clr = (selected ? 16777215 : 0); } this.fLabel_mc.setColor(clr); }; FSelectableItemClass.prototype.getItemIndex = function () { return(this.controller.getScrollPosition() + this.itemNum); }; FSelectableItemClass.prototype.getItemModel = function () { return(this.controller.getItemAt(this.getItemIndex())); }; FSelectableItemClass.prototype.getHostDataProvider = function () { return(this.controller.dataProvider); }; FSelectableItemClass.prototype.setHighlighted = function (flag) { fade = this.controller.styleTable.fadeRate.value; if (((fade == undefined) || (fade == 0)) || (!flag)) { this.highlight_mc._alpha = (flag ? 100 : 0); delete this.onEnterFrame; } else { this.fadeN = fade; this.fadeX = 1; this.highLight_mc._alpha = 20; this.onEnterFrame = function () { this.highLight_mc._alpha = (60 * Math.sqrt((this.fadeX++) / this.fadeN)) + 40; if (this.fadeX > this.fadeN) { delete this.onEnterFrame; } }; } this.highlighted = flag; }; #endinitclip
Symbol 92 MovieClip [FSelectableListSymbol] Frame 1
#initclip 4 function FSelectableListClass() { this.init(); } FSelectableListClass.prototype = new FUIComponentClass(); FSelectableListClass.prototype.init = function () { super.init(); this.enable = true; this.selected = new Array(); this.topDisplayed = (this.numDisplayed = 0); this.lastSelected = 0; this.tabChildren = false; if (this._name != undefined) { this.dataProvider = new DataProviderClass(); this.dataProvider.addView(this); } }; FSelectableListClass.prototype.addItemAt = function (index, label, data) { if ((index < 0) || (!this.enable)) { return(undefined); } this.dataProvider.addItemAt(index, {label:label, data:data}); }; FSelectableListClass.prototype.addItem = function (label, data) { if (!this.enable) { return(undefined); } this.dataProvider.addItem({label:label, data:data}); }; FSelectableListClass.prototype.removeItemAt = function (index) { this.selectHolder = this.getSelectedIndex(); var item = this.getItemAt(index); this.dataProvider.removeItemAt(index); return(item); }; FSelectableListClass.prototype.removeAll = function () { this.dataProvider.removeAll(); }; FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) { this.dataProvider.replaceItemAt(index, {label:newLabel, data:newData}); }; FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) { this.lastSelID = this.dataProvider.getItemID(this.lastSelected); this.dataProvider.sortItemsBy(fieldName, order); }; FSelectableListClass.prototype.getLength = function () { return(this.dataProvider.getLength()); }; FSelectableListClass.prototype.getSelectedIndex = function () { for (var uniqueID in this.selected) { var tmpInd = this.selected[uniqueID].sIndex; if (tmpInd != undefined) { return(tmpInd); } } }; FSelectableListClass.prototype.getSelectedItem = function () { return(this.getItemAt(this.getSelectedIndex())); }; FSelectableListClass.prototype.getItemAt = function (index) { return(this.dataProvider.getItemAt(index)); }; FSelectableListClass.prototype.getEnabled = function () { return(this.enable); }; FSelectableListClass.prototype.getValue = function () { var item = this.getSelectedItem(); return(((item.data == undefined) ? (item.label) : (item.data))); }; FSelectableListClass.prototype.setSelectedIndex = function (index, flag) { if (((index >= 0) && (index < this.getLength())) && (this.enable)) { this.clearSelected(); this.selectItem(index, true); this.lastSelected = index; this.invalidate("updateControl"); if (flag != false) { this.executeCallBack(); } } }; FSelectableListClass.prototype.setDataProvider = function (obj) { this.setScrollPosition(0); this.clearSelected(); if (obj instanceof Array) { this.dataProvider = new DataProviderClass(); var i = 0; while (i < obj.length) { var value = ((typeof(obj[i]) == "string") ? ({label:obj[i]}) : (obj[i])); this.dataProvider.addItem(value); i++; } } else { this.dataProvider = obj; } this.dataProvider.addView(this); }; FSelectableListClass.prototype.setItemSymbol = function (linkID) { this.tmpPos = this.getScrollPosition(); this.itemSymbol = linkID; this.invalidate("setSize"); this.setScrollPosition(this.tmpPos); }; FSelectableListClass.prototype.setEnabled = function (enabledFlag) { this.cleanUI(); super.setEnabled(enabledFlag); this.enable = enabledFlag; this.boundingBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled")); var limit = Math.min(this.numDisplayed, this.getLength()); var i = 0; while (i < limit) { this.container_mc[("fListItem" + i) + "_mc"].setEnabled(this.enable); i++; } if (this.enable) { this.invalidate("updateControl"); } }; FSelectableListClass.prototype.updateControl = function () { var i = 0; while (i < this.numDisplayed) { this.container_mc[("fListItem" + i) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + i), this.isSelected(this.topDisplayed + i)); i++; } }; FSelectableListClass.prototype.setSize = function (w, h) { super.setSize(w, h); this.boundingBox_mc._xscale = (this.boundingBox_mc._yscale = 100); this.boundingBox_mc._xscale = (this.width * 100) / this.boundingBox_mc._width; this.boundingBox_mc._yscale = (this.height * 100) / this.boundingBox_mc._height; var i = 0; while (i < this.numDisplayed) { this.container_mc.attachMovie(this.itemSymbol, ("fListItem" + i) + "_mc", 10 + i, {controller:this, itemNum:i}); var item_mc = this.container_mc[("fListItem" + i) + "_mc"]; var offset = ((this.scrollOffset == undefined) ? 0 : (this.scrollOffset)); item_mc.setSize(this.width - offset, this.itmHgt); item_mc._y = (this.itmHgt - 2) * i; i++; } this.updateControl(); }; FSelectableListClass.prototype.modelChanged = function (eventObj) { var firstRow = eventObj.firstRow; var lastRow = eventObj.lastRow; var event = eventObj.event; if (event == "addRows") { for (var i in this.selected) { if ((this.selected[i].sIndex != undefined) && (this.selected[i].sIndex >= firstRow)) { this.selected[i].sIndex = this.selected[i].sIndex + ((lastRow - firstRow) + 1); this.setSelectedIndex(this.selected[i].sIndex, false); } } } else if (event == "deleteRows") { if (firstRow == lastRow) { var index = firstRow; if (this.selectHolder == index) { this.selectionDeleted = true; } if (((this.topDisplayed + this.numDisplayed) >= this.getLength()) && (this.topDisplayed > 0)) { this.topDisplayed--; if (this.selectionDeleted && ((index - 1) >= 0)) { this.setSelectedIndex(index - 1, false); } } else if (this.selectionDeleted) { var len = this.getLength(); if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) { this.setSelectedIndex(index - 1, false); } else { this.setSelectedIndex(index, false); } } for (var i in this.selected) { if (this.selected[i].sIndex > firstRow) { this.selected[i].sIndex--; } } } else { this.clearSelected(); this.topDisplayed = 0; } } else if (event == "sort") { var len = this.getLength(); var i = 0; while (i < len) { if (this.isSelected(i)) { var id = this.dataProvider.getItemID(i); if (id == this.lastSelID) { this.lastSelected = i; } this.selected[String(id)].sIndex = i; } i++; } } this.invalidate("updateControl"); }; FSelectableListClass.prototype.measureItmHgt = function () { this.attachMovie(this.itemSymbol, "tmpItem_mc", 0, {controller:this}); this.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false); this.itmHgt = this.tmpItem_mc._height; this.tmpItem_mc.removeMovieClip(); }; FSelectableListClass.prototype.selectItem = function (index, selectedFlag) { if (selectedFlag && (!this.isSelected(index))) { this.selected[String(this.dataProvider.getItemID(index))] = {sIndex:index}; } else if (!selectedFlag) { delete this.selected[String(this.dataProvider.getItemID(index))]; } }; FSelectableListClass.prototype.isSelected = function (index) { return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined); }; FSelectableListClass.prototype.clearSelected = function () { for (var uniqueID in this.selected) { var index = this.selected[uniqueID].sIndex; if (((index != undefined) && (this.topDisplayed <= index)) && (index < (this.topDisplayed + this.numDisplayed))) { this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), false); } } delete this.selected; this.selected = new Array(); }; FSelectableListClass.prototype.selectionHandler = function (itemNum) { var tmpInd = (this.topDisplayed + itemNum); if (this.getItemAt(tmpInd == undefined)) { this.changeFlag = false; return(undefined); } this.changeFlag = true; this.clearSelected(); this.selectItem(tmpInd, true); this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(tmpInd), this.isSelected(tmpInd)); }; FSelectableListClass.prototype.moveSelBy = function (incr) { var itmNum = this.getSelectedIndex(); var newItm = (itmNum + incr); newItm = Math.max(0, newItm); newItm = Math.min(this.getLength() - 1, newItm); if (newItm == itmNum) { return(undefined); } if ((itmNum < this.topDisplayed) || (itmNum >= (this.topDisplayed + this.numDisplayed))) { this.setScrollPosition(itmNum); } if ((newItm >= (this.topDisplayed + this.numDisplayed)) || (newItm < this.topDisplayed)) { this.setScrollPosition(this.topDisplayed + incr); } this.selectionHandler(newItm - this.topDisplayed); }; FSelectableListClass.prototype.clickHandler = function (itmNum) { this.focusRect.removeMovieClip(); if (!this.focused) { this.pressFocus(); } this.selectionHandler(itmNum); this.onMouseUp = this.releaseHandler; }; FSelectableListClass.prototype.releaseHandler = function () { if (this.changeFlag) { this.executeCallBack(); } this.changeFlag = false; this.onMouseUp = undefined; }; FSelectableListClass.prototype.myOnSetFocus = function () { super.myOnSetFocus(); var i = 0; while (i < this.numDisplayed) { this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("enabled"); i++; } }; FSelectableListClass.prototype.myOnKillFocus = function () { super.myOnKillFocus(); var i = 0; while (i < this.numDisplayed) { this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("unfocused"); i++; } }; #endinitclip
Instance of Symbol 90 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 92 MovieClip [FSelectableListSymbol] Frame 1
//component parameters onClipEvent (initialize) { }
Instance of Symbol 91 MovieClip [FSelectableItemSymbol] "ItemAsset" in Symbol 92 MovieClip [FSelectableListSymbol] Frame 1
//component parameters onClipEvent (initialize) { }
Symbol 93 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 6 function FScrollSelectListClass() { this.init(); } FScrollSelectListClass.prototype = new FSelectableListClass(); FScrollSelectListClass.prototype.getScrollPosition = function () { return(this.topDisplayed); }; FScrollSelectListClass.prototype.setScrollPosition = function (pos) { if (this.enable) { pos = Math.min(pos, this.getLength() - this.numDisplayed); pos = Math.max(pos, 0); this.scrollBar_mc.setScrollPosition(pos); } }; FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) { this.permaScrollBar = !flag; this.setSize(this.width, this.height); }; FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) { super.setEnabled(enabledFlag); this.scrollBar_mc.setEnabled(this.enable); }; FScrollSelectListClass.prototype.setSize = function (w, h) { var pos = this.getScrollPosition(); super.setSize(w, h); if (this.scrollBar_mc != undefined) { this.removed = true; } this.scrollBar_mc = undefined; this.initScrollBar(); this.setScrollPosition(pos); }; FScrollSelectListClass.prototype.modelChanged = function (eventObj) { super.modelChanged(eventObj); this.invalidate("initScrollBar"); }; FScrollSelectListClass.prototype.initScrollBar = function () { if ((!this.permaScrollBar) && (this.getLength() <= this.numDisplayed)) { if (this.removed) { this.scrollBar_mc.removeMovieClip(); this.scrollBar_mc = undefined; this.scrollOffset = undefined; this.invalidate("setSize"); } } else { if (this.scrollBar_mc == undefined) { this.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:this.styleTable}); this.scrollBar_mc = this.container_mc.scrollBar_mc; this.scrollBar_mc.setChangeHandler("scrollHandler", this); this.scrollBar_mc.setSize(this.height); this.scrollBar_mc._x = this.width - this.scrollBar_mc._width; this.scrollBar_mc._y = 0; this.scrollBar_mc.setLargeScroll(this.numDisplayed - 1); this.scrollOffset = this.scrollBar_mc._width; this.invalidate("setSize"); } this.scrollBar_mc.setScrollProperties(this.numDisplayed, 0, this.getLength() - this.numDisplayed); } }; FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) { var pos = scrollBar.getScrollPosition(); this.topDisplayed = pos; if (this.lastPosition != pos) { this.updateControl(); } this.lastPosition = pos; }; FScrollSelectListClass.prototype.clickHandler = function (itmNum) { super.clickHandler(itmNum); if ((this.dragScrolling == undefined) && (this.scrollBar_mc != undefined)) { this.dragScrolling = setInterval(this, "dragScroll", 15); } }; FScrollSelectListClass.prototype.releaseHandler = function () { clearInterval(this.dragScrolling); this.dragScrolling = undefined; super.releaseHandler(); }; FScrollSelectListClass.prototype.dragScroll = function () { clearInterval(this.dragScrolling); if (this.container_mc._ymouse < 0) { this.setScrollPosition(this.getScrollPosition() - 1); this.selectionHandler(0); this.scrollInterval = Math.max(25, (-23.8 * (-this.container_mc._ymouse)) + 500); this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval); } else if (this.container_mc._ymouse > ((this.itmHgt - 2) * this.numDisplayed)) { this.setScrollPosition(this.getScrollPosition() + 1); this.selectionHandler(this.numDisplayed - 1); this.scrollInterval = Math.max(25, (-23.8 * Math.abs((this.container_mc._ymouse - ((this.itmHgt - 2) * this.numDisplayed)) - 2)) + 500); this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval); } else { this.dragScrolling = setInterval(this, "dragScroll", 15); } }; FScrollSelectListClass.prototype.myOnKeyDown = function () { if (this.focused) { this.keyCodes = new Array(40, 38, 34, 33, 36, 35); this.keyIncrs = new Array(1, -1, this.numDisplayed - 1, -(this.numDisplayed - 1), -this.getLength(), this.getLength()); var i = 0; while (i < this.keyCodes.length) { if (Key.isDown(this.keyCodes[i])) { this.moveSelBy(this.keyIncrs[i]); return(undefined); } i++; } this.findInputText(); } }; FScrollSelectListClass.prototype.findInputText = function () { var tmpCode = Key.getAscii(); if ((tmpCode >= 33) && (tmpCode <= 126)) { this.findString(String.fromCharCode(tmpCode)); } }; FScrollSelectListClass.prototype.findString = function (str) { if (this.getLength() == 0) { return(undefined); } var itemNum = this.getSelectedIndex(); var jump = 0; var i = (itemNum + 1); while (i != itemNum) { var itmStr = this.getItemAt(i).label.substring(0, str.length); if ((str == itmStr) || (str.toUpperCase() == itmStr.toUpperCase())) { var jump = (i - itemNum); break; } if (i >= (this.getLength() - 1)) { i = -1; } i++; } if (jump != 0) { this.moveSelBy(jump); } }; #endinitclip
Instance of Symbol 89 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 93 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters onClipEvent (initialize) { _targetInstanceName = ""; horizontal = false; } onClipEvent (load) { this._width = (this._height = 1); }
Instance of Symbol 92 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 93 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters onClipEvent (initialize) { }
Symbol 94 MovieClip [FComboBoxItemSymbol] Frame 1
#initclip 9 function FComboBoxItemClass() { this.init(); } FComboBoxItemClass.prototype = new FSelectableItemClass(); Object.registerClass("FComboBoxItemSymbol", FComboBoxItemClass); FComboBoxItemClass.prototype.setSize = function (w, h) { super.setSize(w, h); this.highlight_mc.onRollOver = function () { this.controller.controller.selectionHandler(this.controller.itemNum); }; }; #endinitclip
Symbol 98 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent; component.registerSkinElement(boundingBox, "background"); stop();
Symbol 98 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled"); stop();
Symbol 101 MovieClip [FComboBoxSymbol] Frame 1
#initclip 8 function FComboBoxClass() { _global._popUpLevel = ((_global._popUpLevel == undefined) ? 20000 : (_global._popUpLevel + 1)); this.superHolder = _root.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel); var testContainer = this.superHolder.createEmptyMovieClip("testCont", 20000); var testBox = testContainer.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0); if (testBox._name == undefined) { this.superHolder.removeMovieClip(); this.superHolder = this._parent.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel); } else { testContainer.removeMovieClip(); } if (this.rowCount == undefined) { this.rowCount = 8; this.editable = false; } this.itemSymbol = "FComboBoxItemSymbol"; this.init(); this.permaScrollBar = false; this.proxyBox_mc.gotoAndStop(1); this.width = this._width; this.height = (this.proxyBox_mc._height * this._yscale) / 100; var i = 0; while (i < this.labels.length) { this.addItem(this.labels[i], this.data[i]); i++; } this.lastSelected = 0; this.selectItem(0); this._xscale = (this._yscale = 100); this.opened = false; this.setSize(this.width); this.highlightTop(false); if (this.changeHandler.length > 0) { this.setChangeHandler(this.changeHandler); } this.onUnload = function () { this.superHolder.removeMovieClip(); }; this.setSelectedIndex(0, false); this.value = ""; this.focusEnabled = true; this.changeFlag = false; } FComboBoxClass.prototype = new FScrollSelectListClass(); Object.registerClass("FComboBoxSymbol", FComboBoxClass); FComboBoxClass.prototype.modelChanged = function (eventObj) { super.modelChanged(eventObj); var event = eventObj.event; if ((event == "addRows") || (event == "deleteRows")) { var diff = ((eventObj.lastRow - eventObj.firstRow) + 1); var mode = ((event == "addRows") ? 1 : -1); var len = this.getLength(); var lenBefore = (len - (mode * diff)); if ((this.rowCount > lenBefore) || (this.rowCount > len)) { this.invalidate("setSize"); } if (this.getSelectedIndex() == undefined) { this.setSelectedIndex(0, false); } } else if (event == "updateAll") { this.invalidate("setSize"); } }; FComboBoxClass.prototype.removeAll = function () { if (!this.enable) { return(undefined); } super.removeAll(); if (this.editable) { this.value = ""; } this.invalidate("setSize"); }; FComboBoxClass.prototype.setSize = function (w) { if ((((w == undefined) || (typeof(w) != "number")) || (w <= 0)) || (!this.enable)) { return(undefined); } this.proxyBox_mc._width = w; this.container_mc.removeMovieClip(); this.measureItmHgt(); this.container_mc = this.superHolder.createEmptyMovieClip("container", 3); this.container_mc.tabChildren = false; this.setPopUpLocation(this.container_mc); this.container_mc.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0); this.boundingBox_mc = this.container_mc.boundingBox_mc; this.boundingBox_mc.component = this; this.registerSkinElement(this.boundingBox_mc.boundingBox, "background"); this.proxyBox_mc._height = this.itmHgt; this.numDisplayed = Math.min(this.rowCount, this.getLength()); if (this.numDisplayed < 3) { this.numDisplayed = Math.min(3, this.getLength()); } this.height = (this.numDisplayed * (this.itmHgt - 2)) + 2; super.setSize(w, this.height); this.attachMovie("DownArrow", "downArrow", 10); this.downArrow._y = 0; this.downArrow._width = this.itmHgt; this.downArrow._height = this.itmHgt; this.downArrow._x = this.proxyBox_mc._width - this.downArrow._width; this.setEditable(this.editable); this.container_mc._visible = this.opened; this.highlightTop(false); this.fader = this.superHolder.attachMovie("FBoundingBoxSymbol", "faderX", 4); this.registerSkinElement(this.fader.boundingBox, "background"); this.fader._width = this.width; this.fader._height = this.height; this.fader._visible = false; }; FComboBoxClass.prototype.setDataProvider = function (dp) { super.setDataProvider(dp); this.invalidate("setSize"); this.setSelectedIndex(0); }; FComboBoxClass.prototype.getValue = function () { if (this.editable) { return(this.fLabel_mc.getLabel()); } return(super.getValue()); }; FComboBoxClass.prototype.getRowCount = function () { return(this.rowCount); }; FComboBoxClass.prototype.setRowCount = function (count) { this.rowCount = ((this.getLength() > count) ? (Math.max(count, 3)) : (count)); this.setSize(this.width); var len = this.getLength(); if ((len - this.getScrollPosition()) < this.rowCount) { this.setScrollPosition(len - Math.min(this.rowCount, len)); this.invalidate("updateControl"); } }; FComboBoxClass.prototype.setEditable = function (editableFlag) { if (!this.enable) { return(undefined); } this.editable = editableFlag; if (!this.editable) { this.onPress = this.pressHandler; this.useHandCursor = false; this.trackAsMenu = true; this.attachMovie("FComboBoxItemSymbol", "fLabel_mc", 5, {controller:this, itemNum:-1}); this.fLabel_mc.onRollOver = undefined; this.fLabel_mc.setSize((this.width - this.itmHgt) + 1, this.itmHgt); this.topLabel = this.getSelectedItem(); this.fLabel_mc.drawItem(this.topLabel, false); this.highlightTop(false); } else { this.attachMovie("FLabelSymbol", "fLabel_mc", 5); this.fLabel_txt = this.fLabel_mc.labelField; this.fLabel_txt.type = "input"; this.fLabel_txt._x = 4; this.fLabel_txt.onSetFocus = this.onLabelFocus; this.fLabel_mc.setSize((this.width - this.itmHgt) - 3); delete this.onPress; this.fLabel_txt.onKillFocus = function () { this._parent._parent.myOnKillFocus(); }; this.fLabel_mc.setLabel(this.value); this.fLabel_txt.onChanged = function () { this._parent._parent.findInputText(); }; this.downArrow.onPress = this.buttonPressHandler; this.downArrow.useHandCursor = false; this.downArrow.trackAsMenu = true; } }; FComboBoxClass.prototype.setEnabled = function (enabledFlag) { enabledFlag = (((enabledFlag == undefined) || (typeof(enabledFlag) != "boolean")) ? true : (enabledFlag)); super.setEnabled(enabledFlag); this.registerSkinElement(this.boundingBox_mc.boundingBox, "background"); this.proxyBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled")); this.downArrow.gotoAndStop((this.enable ? 1 : 3)); if (this.editable) { this.fLabel_txt.type = (enabledFlag ? "input" : "dynamic"); this.fLabel_txt.selectable = enabledFlag; } else if (enabledFlag) { this.fLabel_mc.drawItem(this.topLabel, false); this.setSelectedIndex(this.getSelectedIndex(), false); } this.fLabel_mc.setEnabled(this.enable); this.fLabel_txt.onSetFocus = (enabledFlag ? (this.onLabelFocus) : undefined); }; FComboBoxClass.prototype.setSelectedIndex = function (index, flag) { super.setSelectedIndex(index, flag); if (!this.editable) { this.topLabel = this.getSelectedItem(); this.fLabel_mc.drawItem(this.topLabel, false); } else { this.value = ((flag != undefined) ? "" : (this.getSelectedItem().label)); this.fLabel_mc.setLabel(this.value); } this.invalidate("updateControl"); }; FComboBoxClass.prototype.setValue = function (value) { if (this.editable) { this.fLabel_mc.setLabel(value); this.value = value; } }; FComboBoxClass.prototype.pressHandler = function () { this.focusRect.removeMovieClip(); if (this.enable) { if (!this.opened) { this.onMouseUp = this.releaseHandler; } else { this.onMouseUp = undefined; } this.changeFlag = false; if (!this.focused) { this.pressFocus(); this.clickFilter = (this.editable ? false : true); } if (!this.clickFilter) { this.openOrClose(!this.opened); } else { this.clickFilter = false; } } }; FComboBoxClass.prototype.clickHandler = function (itmNum) { if (!this.focused) { if (this.editable) { this.fLabel_txt.onKillFocus = undefined; } this.pressFocus(); } super.clickHandler(itmNum); this.selectionHandler(itmNum); this.onMouseUp = this.releaseHandler; }; FComboBoxClass.prototype.highlightTop = function (flag) { if (!this.editable) { this.fLabel_mc.drawItem(this.topLabel, flag); } }; FComboBoxClass.prototype.myOnSetFocus = function () { super.myOnSetFocus(); this.fLabel_mc.highlight_mc.gotoAndStop("enabled"); this.highlightTop(true); }; FComboBoxClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this.width + 4, this._height + 4); }; FComboBoxClass.prototype.myOnKillFocus = function () { if (Selection.getFocus().indexOf("labelField") != -1) { return(undefined); } super.myOnKillFocus(); delete this.fLabel_txt.onKeyDown; this.openOrClose(false); this.highlightTop(false); }; FComboBoxClass.prototype.setPopUpLocation = function (mcRef) { mcRef._x = this._x; var point = {x:this._x, y:this._y + this.proxyBox_mc._height}; this._parent.localToGlobal(point); mcRef._parent.globalToLocal(point); mcRef._x = point.x; mcRef._y = point.y; if ((this.height + mcRef._y) >= Stage.height) { this.upward = true; mcRef._y = (point.y - this.height) - this.proxyBox_mc._height; } else { this.upward = false; } }; FComboBoxClass.prototype.openOrClose = function (flag) { if (this.getLength() == 0) { return(undefined); } this.setPopUpLocation(this.container_mc); if ((this.lastSelected != -1) && ((this.lastSelected < this.topDisplayed) || (this.lastSelected > (this.topDisplayed + this.numDisplayed)))) { super.moveSelBy(this.lastSelected - this.getSelectedIndex()); } if (!flag) { (this.downArrow.gotoAndStop(1));// not popped } else { (this.downArrow.gotoAndStop(2));// not popped } if (flag == this.opened) { return(undefined); } this.highlightTop(!flag); this.fadeRate = this.styleTable.popUpFade.value; if (((!flag) || (this.fadeRate == undefined)) || (this.fadeRate == 0)) { this.opened = (this.container_mc._visible = flag); return(undefined); } this.setPopUpLocation(this.fader); this.time = 0; this.const = 85 / Math.sqrt(this.fadeRate); this.fader._alpha = 85; this.container_mc._visible = (this.fader._visible = true); this.onEnterFrame = function () { this.fader._alpha = 100 - ((this.const * Math.sqrt(++this.time)) + 15); if (this.time >= this.fadeRate) { this.fader._visible = false; delete this.onEnterFrame; this.opened = true; } }; }; FComboBoxClass.prototype.fireChange = function () { this.lastSelected = this.getSelectedIndex(); if (!this.editable) { this.topLabel = this.getSelectedItem(); this.fLabel_mc.drawItem(this.topLabel, true); } else { this.value = this.getSelectedItem().label; this.fLabel_mc.setLabel(this.value); } this.executeCallback(); }; FComboBoxClass.prototype.releaseHandler = function () { var onCombo = this.boundingBox_mc.hitTest(_root._xmouse, _root._ymouse); if (this.changeFlag) { if (onCombo) { this.fireChange(); } this.openOrClose(!this.opened); } else if (onCombo) { this.openOrClose(false); } else { this.onMouseDown = function () { if ((!this.boundingBox_mc.hitTest(_root._xmouse, _root._ymouse)) && (!this.hitTest(_root._xmouse, _root._ymouse))) { this.onMouseDown = undefined; this.openOrClose(false); } }; } this.changeFlag = false; this.onMouseUp = undefined; clearInterval(this.dragScrolling); this.dragScrolling = undefined; }; FComboBoxClass.prototype.moveSelBy = function (itemNum) { if (itemNum != 0) { super.moveSelBy(itemNum); if (this.editable) { this.setValue(this.getSelectedItem().label); } if (!this.opened) { if (this.changeFlag && (!this.isSelected(this.lastSelected))) { this.fireChange(); } } } }; FComboBoxClass.prototype.myOnKeyDown = function () { if (!this.focused) { return(undefined); } if (this.editable && (Key.isDown(13))) { this.setValue(this.fLabel_mc.getLabel()); this.executeCallback(); this.openOrClose(false); } else if ((Key.isDown(13) || (Key.isDown(32) && (!this.editable))) && (this.opened)) { if (this.getSelectedIndex() != this.lastSelected) { this.fireChange(); } this.openOrClose(false); this.fLabel_txt.hscroll = 0; } super.myOnKeyDown(); }; FComboBoxClass.prototype.findInputText = function () { if (!this.editable) { super.findInputText(); } }; FComboBoxClass.prototype.onLabelFocus = function () { this._parent._parent.tabFocused = false; this._parent._parent.focused = true; this.onKeyDown = function () { this._parent._parent.myOnKeyDown(); }; Key.addListener(this); }; FComboBoxClass.prototype.buttonPressHandler = function () { this._parent.pressHandler(); }; #endinitclip this.deadPreview._visible = false;
Instance of Symbol 93 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 101 MovieClip [FComboBoxSymbol] Frame 1
//component parameters onClipEvent (initialize) { }
Symbol 110 MovieClip Frame 1
function setValue(v) { mv = (v / 100) * 144; } var mv = 0;
Instance of Symbol 109 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (enterFrame) { if (_parent.thebar._x < _parent.mv) { if ((_parent.mv - _parent.thebar._x) >= 2) { _parent.thebar._x = _parent.thebar._x + 2; } else { _parent.thebar._x++; } } }
Symbol 124 Button
on (release) { gotoAndPlay (95); }
Symbol 128 Button
on (release) { gotoAndStop (90); }
Symbol 131 Button
on (release) { getURL ("http://www.funflashgames.com/", "_blank"); }
Symbol 135 Button
on (release) { getURL ("http://www.funflashgames.com/freecontent.html", "_blank"); }
Symbol 141 Button
on (release) { getURL ("mailto:aqlahmad@hotmail.com"); }
Symbol 145 Button
on (release) { gotoAndStop (89); }
Symbol 149 Button
on (release) { gamelevel = int(combobox.getValue() - 1); play(); }
Symbol 167 Button
on (release) { _parent.glevel++; if (_parent.glevel == 60) { _parent.glevel = 0; } _parent.clearVehicles(); _parent.gotoAndPlay(_parent._currentframe - 1); }
Symbol 168 MovieClip Frame 1
stop();
Symbol 171 Button
on (press) { mePressed(); } on (release) { meReleased(); }
Symbol 180 MovieClip Frame 1
function mePressed() { _parent.mePressed(mynumber, _currentframe); } function meReleased() { _parent.meReleased(mynumber, _currentframe); } var mynumber;
Symbol 181 MovieClip Frame 1
glevel = _parent.gamelevel; var tgamescleared = 0; var gamescleared = new Array(); var i = 0; while (i < 60) { gamescleared[i] = false; i++; } var score = 0; var glevels = new Array(); glevels[0] = new Array(); glevels[0][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[0][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[0][2] = {vtype:2, vx:0, vy:4, vmain:false}; glevels[0][3] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[0][4] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[0][5] = {vtype:4, vx:3, vy:3, vmain:false}; glevels[0][6] = {vtype:5, vx:4, vy:0, vmain:false}; glevels[0][7] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[1] = new Array(); glevels[1][0] = {vtype:5, vx:0, vy:3, vmain:false}; glevels[1][1] = {vtype:5, vx:1, vy:0, vmain:false}; glevels[1][2] = {vtype:3, vx:1, vy:3, vmain:false}; glevels[1][3] = {vtype:4, vx:1, vy:5, vmain:false}; glevels[1][4] = {vtype:2, vx:2, vy:1, vmain:false}; glevels[1][5] = {vtype:1, vx:2, vy:2, vmain:true}; glevels[1][6] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[1][7] = {vtype:3, vx:3, vy:3, vmain:false}; glevels[1][8] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[1][9] = {vtype:3, vx:4, vy:3, vmain:false}; glevels[1][10] = {vtype:2, vx:4, vy:5, vmain:false}; glevels[1][11] = {vtype:3, vx:5, vy:0, vmain:false}; glevels[1][12] = {vtype:5, vx:5, vy:2, vmain:false}; glevels[2] = new Array(); glevels[2][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[2][1] = {vtype:4, vx:0, vy:1, vmain:false}; glevels[2][2] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[2][3] = {vtype:5, vx:1, vy:3, vmain:false}; glevels[2][4] = {vtype:2, vx:2, vy:0, vmain:false}; glevels[2][5] = {vtype:3, vx:2, vy:2, vmain:false}; glevels[2][6] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[2][7] = {vtype:5, vx:3, vy:2, vmain:false}; glevels[2][8] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[2][9] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[3] = new Array(); glevels[3][0] = {vtype:5, vx:0, vy:0, vmain:false}; glevels[3][1] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[3][2] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[3][3] = {vtype:4, vx:2, vy:5, vmain:false}; glevels[3][4] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[3][5] = {vtype:4, vx:3, vy:3, vmain:false}; glevels[3][6] = {vtype:3, vx:5, vy:4, vmain:false}; glevels[4] = new Array(); glevels[4][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[4][1] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[4][2] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[4][3] = {vtype:4, vx:1, vy:1, vmain:false}; glevels[4][4] = {vtype:3, vx:1, vy:3, vmain:false}; glevels[4][5] = {vtype:3, vx:2, vy:2, vmain:false}; glevels[4][6] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[4][7] = {vtype:3, vx:3, vy:2, vmain:false}; glevels[4][8] = {vtype:3, vx:4, vy:0, vmain:false}; glevels[4][9] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[5] = new Array(); glevels[5][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[5][1] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[5][2] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[5][3] = {vtype:3, vx:1, vy:3, vmain:false}; glevels[5][4] = {vtype:2, vx:2, vy:0, vmain:false}; glevels[5][5] = {vtype:3, vx:2, vy:1, vmain:false}; glevels[5][6] = {vtype:4, vx:2, vy:3, vmain:false}; glevels[5][7] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[5][8] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[5][9] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[5][10] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[6] = new Array(); glevels[6][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[6][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[6][2] = {vtype:4, vx:0, vy:3, vmain:false}; glevels[6][3] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[6][4] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[6][5] = {vtype:3, vx:1, vy:4, vmain:false}; glevels[6][6] = {vtype:3, vx:2, vy:1, vmain:false}; glevels[6][7] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[6][8] = {vtype:3, vx:3, vy:0, vmain:false}; glevels[6][9] = {vtype:3, vx:3, vy:2, vmain:false}; glevels[6][10] = {vtype:2, vx:4, vy:1, vmain:false}; glevels[6][11] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[7] = new Array(); glevels[7][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[7][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[7][2] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[7][3] = {vtype:4, vx:1, vy:1, vmain:false}; glevels[7][4] = {vtype:4, vx:1, vy:4, vmain:false}; glevels[7][5] = {vtype:2, vx:2, vy:0, vmain:false}; glevels[7][6] = {vtype:3, vx:3, vy:2, vmain:false}; glevels[7][7] = {vtype:4, vx:3, vy:5, vmain:false}; glevels[7][8] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[7][9] = {vtype:2, vx:4, vy:1, vmain:false}; glevels[7][10] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[7][11] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[8] = new Array(); glevels[8][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[8][1] = {vtype:5, vx:0, vy:3, vmain:false}; glevels[8][2] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[8][3] = {vtype:5, vx:1, vy:3, vmain:false}; glevels[8][4] = {vtype:5, vx:2, vy:0, vmain:false}; glevels[8][5] = {vtype:2, vx:2, vy:3, vmain:false}; glevels[8][6] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[8][7] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[8][8] = {vtype:3, vx:4, vy:3, vmain:false}; glevels[8][9] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[8][10] = {vtype:3, vx:5, vy:3, vmain:false}; glevels[9] = new Array(); glevels[9][0] = {vtype:4, vx:0, vy:3, vmain:false}; glevels[9][1] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[9][2] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[9][3] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[9][4] = {vtype:4, vx:1, vy:4, vmain:false}; glevels[9][5] = {vtype:3, vx:3, vy:2, vmain:false}; glevels[9][6] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[9][7] = {vtype:2, vx:4, vy:1, vmain:false}; glevels[9][8] = {vtype:3, vx:4, vy:2, vmain:false}; glevels[9][9] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[9][10] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[10] = new Array(); glevels[10][0] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[10][1] = {vtype:2, vx:1, vy:3, vmain:false}; glevels[10][2] = {vtype:3, vx:1, vy:4, vmain:false}; glevels[10][3] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[10][4] = {vtype:5, vx:3, vy:2, vmain:false}; glevels[10][5] = {vtype:5, vx:5, vy:3, vmain:false}; glevels[11] = new Array(); glevels[11][0] = {vtype:2, vx:0, vy:1, vmain:false}; glevels[11][1] = {vtype:5, vx:0, vy:2, vmain:false}; glevels[11][2] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[11][3] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[11][4] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[11][5] = {vtype:2, vx:2, vy:4, vmain:false}; glevels[11][6] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[11][7] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[11][8] = {vtype:5, vx:3, vy:1, vmain:false}; glevels[11][9] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[11][10] = {vtype:2, vx:4, vy:3, vmain:false}; glevels[11][11] = {vtype:3, vx:4, vy:4, vmain:false}; glevels[11][12] = {vtype:3, vx:5, vy:0, vmain:false}; glevels[11][13] = {vtype:3, vx:5, vy:4, vmain:false}; glevels[12] = new Array(); glevels[12][0] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[12][1] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[12][2] = {vtype:2, vx:2, vy:0, vmain:false}; glevels[12][3] = {vtype:2, vx:2, vy:3, vmain:false}; glevels[12][4] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[12][5] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[12][6] = {vtype:3, vx:4, vy:0, vmain:false}; glevels[12][7] = {vtype:3, vx:5, vy:0, vmain:false}; glevels[12][8] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[13] = new Array(); glevels[13][0] = {vtype:4, vx:0, vy:0, vmain:false}; glevels[13][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[13][2] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[13][3] = {vtype:2, vx:1, vy:4, vmain:false}; glevels[13][4] = {vtype:2, vx:1, vy:5, vmain:false}; glevels[13][5] = {vtype:3, vx:2, vy:1, vmain:false}; glevels[13][6] = {vtype:2, vx:2, vy:3, vmain:false}; glevels[13][7] = {vtype:3, vx:3, vy:0, vmain:false}; glevels[13][8] = {vtype:4, vx:3, vy:4, vmain:false}; glevels[13][9] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[13][10] = {vtype:3, vx:4, vy:0, vmain:false}; glevels[13][11] = {vtype:2, vx:4, vy:3, vmain:false}; glevels[13][12] = {vtype:3, vx:5, vy:0, vmain:false}; glevels[14] = new Array(); glevels[14][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[14][1] = {vtype:3, vx:0, vy:1, vmain:false}; glevels[14][2] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[14][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[14][4] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[14][5] = {vtype:4, vx:2, vy:0, vmain:false}; glevels[14][6] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[14][7] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[14][8] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[14][9] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[14][10] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[14][11] = {vtype:3, vx:5, vy:0, vmain:false}; glevels[14][12] = {vtype:3, vx:5, vy:3, vmain:false}; glevels[15] = new Array(); glevels[15][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[15][1] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[15][2] = {vtype:2, vx:0, vy:4, vmain:false}; glevels[15][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[15][4] = {vtype:2, vx:2, vy:1, vmain:false}; glevels[15][5] = {vtype:3, vx:2, vy:2, vmain:false}; glevels[15][6] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[15][7] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[15][8] = {vtype:3, vx:3, vy:2, vmain:false}; glevels[15][9] = {vtype:4, vx:3, vy:4, vmain:false}; glevels[15][10] = {vtype:4, vx:3, vy:5, vmain:false}; glevels[15][11] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[15][12] = {vtype:2, vx:4, vy:3, vmain:false}; glevels[15][13] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[16] = new Array(); glevels[16][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[16][1] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[16][2] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[16][3] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[16][4] = {vtype:2, vx:1, vy:5, vmain:false}; glevels[16][5] = {vtype:5, vx:2, vy:2, vmain:false}; glevels[16][6] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[16][7] = {vtype:2, vx:3, vy:1, vmain:false}; glevels[16][8] = {vtype:5, vx:3, vy:2, vmain:false}; glevels[16][9] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[16][10] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[16][11] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[17] = new Array(); glevels[17][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[17][1] = {vtype:2, vx:0, vy:1, vmain:false}; glevels[17][2] = {vtype:5, vx:0, vy:2, vmain:false}; glevels[17][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[17][4] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[17][5] = {vtype:4, vx:1, vy:3, vmain:false}; glevels[17][6] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[17][7] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[17][8] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[17][9] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[17][10] = {vtype:2, vx:4, vy:5, vmain:false}; glevels[17][11] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[18] = new Array(); glevels[18][0] = {vtype:4, vx:0, vy:0, vmain:false}; glevels[18][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[18][2] = {vtype:3, vx:1, vy:4, vmain:false}; glevels[18][3] = {vtype:3, vx:2, vy:1, vmain:false}; glevels[18][4] = {vtype:2, vx:2, vy:4, vmain:false}; glevels[18][5] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[18][6] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[18][7] = {vtype:5, vx:4, vy:0, vmain:false}; glevels[18][8] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[19] = new Array(); glevels[19][0] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[19][1] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[19][2] = {vtype:3, vx:1, vy:3, vmain:false}; glevels[19][3] = {vtype:2, vx:1, vy:5, vmain:false}; glevels[19][4] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[19][5] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[19][6] = {vtype:5, vx:3, vy:2, vmain:false}; glevels[19][7] = {vtype:3, vx:4, vy:2, vmain:false}; glevels[19][8] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[19][9] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[20] = new Array(); glevels[20][0] = {vtype:5, vx:0, vy:0, vmain:false}; glevels[20][1] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[20][2] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[20][3] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[20][4] = {vtype:4, vx:2, vy:5, vmain:false}; glevels[20][5] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[20][6] = {vtype:4, vx:3, vy:3, vmain:false}; glevels[20][7] = {vtype:3, vx:5, vy:4, vmain:false}; glevels[21] = new Array(); glevels[21][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[21][1] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[21][2] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[21][3] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[21][4] = {vtype:5, vx:2, vy:0, vmain:false}; glevels[21][5] = {vtype:2, vx:2, vy:4, vmain:false}; glevels[21][6] = {vtype:4, vx:2, vy:5, vmain:false}; glevels[21][7] = {vtype:4, vx:3, vy:0, vmain:false}; glevels[21][8] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[21][9] = {vtype:2, vx:4, vy:1, vmain:false}; glevels[21][10] = {vtype:3, vx:4, vy:3, vmain:false}; glevels[21][11] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[21][12] = {vtype:3, vx:5, vy:4, vmain:false}; glevels[22] = new Array(); glevels[22][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[22][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[22][2] = {vtype:4, vx:0, vy:5, vmain:false}; glevels[22][3] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[22][4] = {vtype:5, vx:2, vy:1, vmain:false}; glevels[22][5] = {vtype:4, vx:3, vy:3, vmain:false}; glevels[22][6] = {vtype:3, vx:4, vy:4, vmain:false}; glevels[22][7] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[23] = new Array(); glevels[23][0] = {vtype:3, vx:0, vy:1, vmain:false}; glevels[23][1] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[23][2] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[23][3] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[23][4] = {vtype:5, vx:1, vy:3, vmain:false}; glevels[23][5] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[23][6] = {vtype:2, vx:2, vy:3, vmain:false}; glevels[23][7] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[23][8] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[23][9] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[23][10] = {vtype:5, vx:4, vy:1, vmain:false}; glevels[23][11] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[23][12] = {vtype:3, vx:5, vy:3, vmain:false}; glevels[24] = new Array(); glevels[24][0] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[24][1] = {vtype:3, vx:1, vy:3, vmain:false}; glevels[24][2] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[24][3] = {vtype:5, vx:3, vy:2, vmain:false}; glevels[24][4] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[24][5] = {vtype:5, vx:4, vy:1, vmain:false}; glevels[24][6] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[24][7] = {vtype:2, vx:4, vy:5, vmain:false}; glevels[24][8] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[25] = new Array(); glevels[25][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[25][1] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[25][2] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[25][3] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[25][4] = {vtype:2, vx:1, vy:4, vmain:false}; glevels[25][5] = {vtype:2, vx:1, vy:5, vmain:false}; glevels[25][6] = {vtype:2, vx:2, vy:0, vmain:false}; glevels[25][7] = {vtype:5, vx:2, vy:1, vmain:false}; glevels[25][8] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[25][9] = {vtype:3, vx:4, vy:0, vmain:false}; glevels[25][10] = {vtype:2, vx:4, vy:5, vmain:false}; glevels[25][11] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[26] = new Array(); glevels[26][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[26][1] = {vtype:5, vx:0, vy:3, vmain:false}; glevels[26][2] = {vtype:3, vx:1, vy:2, vmain:false}; glevels[26][3] = {vtype:2, vx:1, vy:5, vmain:false}; glevels[26][4] = {vtype:2, vx:2, vy:0, vmain:false}; glevels[26][5] = {vtype:3, vx:2, vy:1, vmain:false}; glevels[26][6] = {vtype:1, vx:3, vy:2, vmain:true}; glevels[26][7] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[26][8] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[26][9] = {vtype:3, vx:4, vy:0, vmain:false}; glevels[26][10] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[26][11] = {vtype:2, vx:4, vy:5, vmain:false}; glevels[26][12] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[27] = new Array(); glevels[27][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[27][1] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[27][2] = {vtype:3, vx:1, vy:4, vmain:false}; glevels[27][3] = {vtype:5, vx:2, vy:1, vmain:false}; glevels[27][4] = {vtype:2, vx:2, vy:4, vmain:false}; glevels[27][5] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[27][6] = {vtype:5, vx:3, vy:1, vmain:false}; glevels[27][7] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[27][8] = {vtype:3, vx:4, vy:3, vmain:false}; glevels[27][9] = {vtype:2, vx:4, vy:5, vmain:false}; glevels[27][10] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[27][11] = {vtype:3, vx:5, vy:3, vmain:false}; glevels[28] = new Array(); glevels[28][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[28][1] = {vtype:3, vx:0, vy:2, vmain:false}; glevels[28][2] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[28][3] = {vtype:3, vx:1, vy:2, vmain:false}; glevels[28][4] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[28][5] = {vtype:1, vx:2, vy:2, vmain:true}; glevels[28][6] = {vtype:2, vx:2, vy:3, vmain:false}; glevels[28][7] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[28][8] = {vtype:2, vx:4, vy:1, vmain:false}; glevels[28][9] = {vtype:3, vx:4, vy:2, vmain:false}; glevels[28][10] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[28][11] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[29] = new Array(); glevels[29][0] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[29][1] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[29][2] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[29][3] = {vtype:3, vx:1, vy:3, vmain:false}; glevels[29][4] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[29][5] = {vtype:5, vx:3, vy:1, vmain:false}; glevels[29][6] = {vtype:5, vx:4, vy:1, vmain:false}; glevels[29][7] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[29][8] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[30] = new Array(); glevels[30][0] = {vtype:2, vx:0, vy:1, vmain:false}; glevels[30][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[30][2] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[30][3] = {vtype:2, vx:0, vy:4, vmain:false}; glevels[30][4] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[30][5] = {vtype:5, vx:2, vy:0, vmain:false}; glevels[30][6] = {vtype:4, vx:2, vy:3, vmain:false}; glevels[30][7] = {vtype:2, vx:2, vy:4, vmain:false}; glevels[30][8] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[30][9] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[30][10] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[30][11] = {vtype:5, vx:5, vy:2, vmain:false}; glevels[31] = new Array(); glevels[31][0] = {vtype:2, vx:0, vy:1, vmain:false}; glevels[31][1] = {vtype:5, vx:0, vy:2, vmain:false}; glevels[31][2] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[31][3] = {vtype:5, vx:1, vy:2, vmain:false}; glevels[31][4] = {vtype:2, vx:1, vy:5, vmain:false}; glevels[31][5] = {vtype:2, vx:2, vy:1, vmain:false}; glevels[31][6] = {vtype:1, vx:2, vy:2, vmain:true}; glevels[31][7] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[31][8] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[31][9] = {vtype:3, vx:3, vy:3, vmain:false}; glevels[31][10] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[31][11] = {vtype:5, vx:4, vy:1, vmain:false}; glevels[31][12] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[31][13] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[32] = new Array(); glevels[32][0] = {vtype:4, vx:0, vy:3, vmain:false}; glevels[32][1] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[32][2] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[32][3] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[32][4] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[32][5] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[32][6] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[32][7] = {vtype:5, vx:4, vy:2, vmain:false}; glevels[33] = new Array(); glevels[33][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[33][1] = {vtype:2, vx:0, vy:1, vmain:false}; glevels[33][2] = {vtype:5, vx:0, vy:2, vmain:false}; glevels[33][3] = {vtype:4, vx:0, vy:5, vmain:false}; glevels[33][4] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[33][5] = {vtype:4, vx:1, vy:3, vmain:false}; glevels[33][6] = {vtype:2, vx:1, vy:4, vmain:false}; glevels[33][7] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[33][8] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[34] = new Array(); glevels[34][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[34][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[34][2] = {vtype:4, vx:0, vy:4, vmain:false}; glevels[34][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[34][4] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[34][5] = {vtype:3, vx:2, vy:1, vmain:false}; glevels[34][6] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[34][7] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[34][8] = {vtype:2, vx:3, vy:1, vmain:false}; glevels[34][9] = {vtype:5, vx:3, vy:2, vmain:false}; glevels[34][10] = {vtype:2, vx:4, vy:3, vmain:false}; glevels[34][11] = {vtype:3, vx:4, vy:4, vmain:false}; glevels[34][12] = {vtype:3, vx:5, vy:0, vmain:false}; glevels[35] = new Array(); glevels[35][0] = {vtype:3, vx:1, vy:2, vmain:false}; glevels[35][1] = {vtype:4, vx:1, vy:4, vmain:false}; glevels[35][2] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[35][3] = {vtype:1, vx:2, vy:2, vmain:true}; glevels[35][4] = {vtype:2, vx:2, vy:3, vmain:false}; glevels[35][5] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[35][6] = {vtype:3, vx:4, vy:1, vmain:false}; glevels[35][7] = {vtype:3, vx:4, vy:3, vmain:false}; glevels[36] = new Array(); glevels[36][0] = {vtype:2, vx:0, vy:1, vmain:false}; glevels[36][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[36][2] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[36][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[36][4] = {vtype:4, vx:1, vy:0, vmain:false}; glevels[36][5] = {vtype:2, vx:1, vy:3, vmain:false}; glevels[36][6] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[36][7] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[36][8] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[36][9] = {vtype:3, vx:4, vy:0, vmain:false}; glevels[36][10] = {vtype:3, vx:4, vy:2, vmain:false}; glevels[36][11] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[36][12] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[37] = new Array(); glevels[37][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[37][1] = {vtype:5, vx:0, vy:1, vmain:false}; glevels[37][2] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[37][3] = {vtype:4, vx:1, vy:3, vmain:false}; glevels[37][4] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[37][5] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[37][6] = {vtype:4, vx:3, vy:5, vmain:false}; glevels[38] = new Array(); glevels[38][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[38][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[38][2] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[38][3] = {vtype:4, vx:1, vy:1, vmain:false}; glevels[38][4] = {vtype:2, vx:1, vy:5, vmain:false}; glevels[38][5] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[38][6] = {vtype:3, vx:3, vy:2, vmain:false}; glevels[38][7] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[38][8] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[38][9] = {vtype:5, vx:4, vy:1, vmain:false}; glevels[38][10] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[38][11] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[39] = new Array(); glevels[39][0] = {vtype:4, vx:2, vy:0, vmain:false}; glevels[39][1] = {vtype:3, vx:2, vy:1, vmain:false}; glevels[39][2] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[39][3] = {vtype:4, vx:2, vy:5, vmain:false}; glevels[39][4] = {vtype:2, vx:3, vy:1, vmain:false}; glevels[39][5] = {vtype:1, vx:3, vy:2, vmain:true}; glevels[39][6] = {vtype:3, vx:3, vy:3, vmain:false}; glevels[39][7] = {vtype:2, vx:4, vy:3, vmain:false}; glevels[39][8] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[39][9] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[40] = new Array(); glevels[40][0] = {vtype:4, vx:0, vy:1, vmain:false}; glevels[40][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[40][2] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[40][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[40][4] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[40][5] = {vtype:2, vx:2, vy:3, vmain:false}; glevels[40][6] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[40][7] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[40][8] = {vtype:2, vx:3, vy:4, vmain:false}; glevels[40][9] = {vtype:3, vx:4, vy:0, vmain:false}; glevels[40][10] = {vtype:3, vx:4, vy:2, vmain:false}; glevels[40][11] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[40][12] = {vtype:3, vx:5, vy:4, vmain:false}; glevels[41] = new Array(); glevels[41][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[41][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[41][2] = {vtype:2, vx:1, vy:0, vmain:false}; glevels[41][3] = {vtype:2, vx:1, vy:1, vmain:false}; glevels[41][4] = {vtype:3, vx:2, vy:2, vmain:false}; glevels[41][5] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[41][6] = {vtype:5, vx:3, vy:0, vmain:false}; glevels[41][7] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[41][8] = {vtype:4, vx:3, vy:5, vmain:false}; glevels[41][9] = {vtype:5, vx:5, vy:2, vmain:false}; glevels[42] = new Array(); glevels[42][0] = {vtype:4, vx:0, vy:0, vmain:false}; glevels[42][1] = {vtype:2, vx:0, vy:1, vmain:false}; glevels[42][2] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[42][3] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[42][4] = {vtype:2, vx:1, vy:5, vmain:false}; glevels[42][5] = {vtype:3, vx:2, vy:3, vmain:false}; glevels[42][6] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[42][7] = {vtype:3, vx:3, vy:3, vmain:false}; glevels[42][8] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[42][9] = {vtype:3, vx:5, vy:0, vmain:false}; glevels[42][10] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[43] = new Array(); glevels[43][0] = {vtype:4, vx:0, vy:0, vmain:false}; glevels[43][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[43][2] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[43][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[43][4] = {vtype:3, vx:1, vy:3, vmain:false}; glevels[43][5] = {vtype:5, vx:2, vy:1, vmain:false}; glevels[43][6] = {vtype:4, vx:2, vy:4, vmain:false}; glevels[43][7] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[43][8] = {vtype:3, vx:3, vy:0, vmain:false}; glevels[43][9] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[43][10] = {vtype:2, vx:4, vy:1, vmain:false}; glevels[43][11] = {vtype:5, vx:5, vy:3, vmain:false}; glevels[44] = new Array(); glevels[44][0] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[44][1] = {vtype:2, vx:1, vy:3, vmain:false}; glevels[44][2] = {vtype:3, vx:1, vy:4, vmain:false}; glevels[44][3] = {vtype:5, vx:3, vy:1, vmain:false}; glevels[44][4] = {vtype:2, vx:3, vy:4, vmain:false}; glevels[44][5] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[44][6] = {vtype:5, vx:4, vy:1, vmain:false}; glevels[44][7] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[45] = new Array(); glevels[45][0] = {vtype:5, vx:0, vy:0, vmain:false}; glevels[45][1] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[45][2] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[45][3] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[45][4] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[45][5] = {vtype:2, vx:2, vy:3, vmain:false}; glevels[45][6] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[45][7] = {vtype:4, vx:3, vy:0, vmain:false}; glevels[45][8] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[45][9] = {vtype:5, vx:5, vy:3, vmain:false}; glevels[46] = new Array(); glevels[46][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[46][1] = {vtype:3, vx:0, vy:2, vmain:false}; glevels[46][2] = {vtype:2, vx:0, vy:4, vmain:false}; glevels[46][3] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[46][4] = {vtype:5, vx:2, vy:3, vmain:false}; glevels[46][5] = {vtype:4, vx:3, vy:0, vmain:false}; glevels[46][6] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[46][7] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[46][8] = {vtype:4, vx:3, vy:5, vmain:false}; glevels[46][9] = {vtype:2, vx:4, vy:1, vmain:false}; glevels[46][10] = {vtype:5, vx:5, vy:2, vmain:false}; glevels[47] = new Array(); glevels[47][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[47][1] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[47][2] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[47][3] = {vtype:2, vx:1, vy:3, vmain:false}; glevels[47][4] = {vtype:5, vx:2, vy:0, vmain:false}; glevels[47][5] = {vtype:2, vx:2, vy:4, vmain:false}; glevels[47][6] = {vtype:5, vx:3, vy:1, vmain:false}; glevels[47][7] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[47][8] = {vtype:5, vx:4, vy:2, vmain:false}; glevels[47][9] = {vtype:3, vx:5, vy:2, vmain:false}; glevels[47][10] = {vtype:3, vx:5, vy:4, vmain:false}; glevels[48] = new Array(); glevels[48][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[48][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[48][2] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[48][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[48][4] = {vtype:2, vx:1, vy:3, vmain:false}; glevels[48][5] = {vtype:5, vx:2, vy:0, vmain:false}; glevels[48][6] = {vtype:3, vx:3, vy:0, vmain:false}; glevels[48][7] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[48][8] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[48][9] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[48][10] = {vtype:5, vx:5, vy:3, vmain:false}; glevels[49] = new Array(); glevels[49][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[49][1] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[49][2] = {vtype:4, vx:0, vy:5, vmain:false}; glevels[49][3] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[49][4] = {vtype:2, vx:1, vy:3, vmain:false}; glevels[49][5] = {vtype:2, vx:1, vy:4, vmain:false}; glevels[49][6] = {vtype:5, vx:2, vy:0, vmain:false}; glevels[49][7] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[49][8] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[49][9] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[49][10] = {vtype:3, vx:4, vy:4, vmain:false}; glevels[49][11] = {vtype:5, vx:5, vy:3, vmain:false}; glevels[50] = new Array(); glevels[50][0] = {vtype:4, vx:0, vy:0, vmain:false}; glevels[50][1] = {vtype:4, vx:0, vy:1, vmain:false}; glevels[50][2] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[50][3] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[50][4] = {vtype:3, vx:2, vy:2, vmain:false}; glevels[50][5] = {vtype:3, vx:3, vy:2, vmain:false}; glevels[50][6] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[50][7] = {vtype:5, vx:4, vy:0, vmain:false}; glevels[50][8] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[50][9] = {vtype:2, vx:4, vy:5, vmain:false}; glevels[50][10] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[51] = new Array(); glevels[51][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[51][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[51][2] = {vtype:4, vx:0, vy:3, vmain:false}; glevels[51][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[51][4] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[51][5] = {vtype:4, vx:3, vy:0, vmain:false}; glevels[51][6] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[51][7] = {vtype:3, vx:3, vy:3, vmain:false}; glevels[51][8] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[51][9] = {vtype:3, vx:4, vy:2, vmain:false}; glevels[51][10] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[51][11] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[52] = new Array(); glevels[52][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[52][1] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[52][2] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[52][3] = {vtype:4, vx:1, vy:3, vmain:false}; glevels[52][4] = {vtype:2, vx:1, vy:4, vmain:false}; glevels[52][5] = {vtype:5, vx:2, vy:0, vmain:false}; glevels[52][6] = {vtype:2, vx:3, vy:0, vmain:false}; glevels[52][7] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[52][8] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[52][9] = {vtype:3, vx:4, vy:4, vmain:false}; glevels[52][10] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[53] = new Array(); glevels[53][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[53][1] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[53][2] = {vtype:3, vx:1, vy:0, vmain:false}; glevels[53][3] = {vtype:4, vx:1, vy:5, vmain:false}; glevels[53][4] = {vtype:2, vx:2, vy:0, vmain:false}; glevels[53][5] = {vtype:4, vx:2, vy:1, vmain:false}; glevels[53][6] = {vtype:3, vx:2, vy:2, vmain:false}; glevels[53][7] = {vtype:2, vx:2, vy:4, vmain:false}; glevels[53][8] = {vtype:3, vx:3, vy:2, vmain:false}; glevels[53][9] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[53][10] = {vtype:2, vx:4, vy:3, vmain:false}; glevels[53][11] = {vtype:3, vx:4, vy:4, vmain:false}; glevels[53][12] = {vtype:3, vx:5, vy:1, vmain:false}; glevels[53][13] = {vtype:3, vx:5, vy:4, vmain:false}; glevels[54] = new Array(); glevels[54][0] = {vtype:5, vx:0, vy:0, vmain:false}; glevels[54][1] = {vtype:4, vx:0, vy:3, vmain:false}; glevels[54][2] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[54][3] = {vtype:4, vx:1, vy:0, vmain:false}; glevels[54][4] = {vtype:3, vx:1, vy:1, vmain:false}; glevels[54][5] = {vtype:2, vx:2, vy:1, vmain:false}; glevels[54][6] = {vtype:1, vx:2, vy:2, vmain:true}; glevels[54][7] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[54][8] = {vtype:3, vx:3, vy:3, vmain:false}; glevels[54][9] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[54][10] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[54][11] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[55] = new Array(); glevels[55][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[55][1] = {vtype:2, vx:0, vy:1, vmain:false}; glevels[55][2] = {vtype:5, vx:0, vy:2, vmain:false}; glevels[55][3] = {vtype:2, vx:0, vy:5, vmain:false}; glevels[55][4] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[55][5] = {vtype:4, vx:1, vy:3, vmain:false}; glevels[55][6] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[55][7] = {vtype:3, vx:3, vy:4, vmain:false}; glevels[55][8] = {vtype:2, vx:4, vy:0, vmain:false}; glevels[55][9] = {vtype:5, vx:4, vy:1, vmain:false}; glevels[55][10] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[55][11] = {vtype:2, vx:4, vy:5, vmain:false}; glevels[55][12] = {vtype:5, vx:5, vy:1, vmain:false}; glevels[56] = new Array(); glevels[56][0] = {vtype:2, vx:0, vy:0, vmain:false}; glevels[56][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[56][2] = {vtype:3, vx:0, vy:3, vmain:false}; glevels[56][3] = {vtype:3, vx:1, vy:4, vmain:false}; glevels[56][4] = {vtype:2, vx:2, vy:0, vmain:false}; glevels[56][5] = {vtype:5, vx:2, vy:2, vmain:false}; glevels[56][6] = {vtype:5, vx:3, vy:1, vmain:false}; glevels[56][7] = {vtype:2, vx:3, vy:5, vmain:false}; glevels[56][8] = {vtype:2, vx:4, vy:4, vmain:false}; glevels[56][9] = {vtype:5, vx:5, vy:0, vmain:false}; glevels[57] = new Array(); glevels[57][0] = {vtype:3, vx:0, vy:0, vmain:false}; glevels[57][1] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[57][2] = {vtype:2, vx:1, vy:1, vmain:false}; glevels[57][3] = {vtype:3, vx:2, vy:2, vmain:false}; glevels[57][4] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[57][5] = {vtype:4, vx:3, vy:0, vmain:false}; glevels[57][6] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[57][7] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[57][8] = {vtype:2, vx:3, vy:4, vmain:false}; glevels[57][9] = {vtype:4, vx:3, vy:5, vmain:false}; glevels[57][10] = {vtype:5, vx:5, vy:2, vmain:false}; glevels[58] = new Array(); glevels[58][0] = {vtype:1, vx:0, vy:2, vmain:true}; glevels[58][1] = {vtype:2, vx:0, vy:3, vmain:false}; glevels[58][2] = {vtype:3, vx:0, vy:4, vmain:false}; glevels[58][3] = {vtype:3, vx:1, vy:4, vmain:false}; glevels[58][4] = {vtype:3, vx:2, vy:0, vmain:false}; glevels[58][5] = {vtype:3, vx:2, vy:2, vmain:false}; glevels[58][6] = {vtype:2, vx:2, vy:4, vmain:false}; glevels[58][7] = {vtype:2, vx:2, vy:5, vmain:false}; glevels[58][8] = {vtype:4, vx:3, vy:0, vmain:false}; glevels[58][9] = {vtype:3, vx:3, vy:1, vmain:false}; glevels[58][10] = {vtype:2, vx:3, vy:3, vmain:false}; glevels[58][11] = {vtype:5, vx:5, vy:2, vmain:false}; glevels[59] = new Array(); glevels[59][0] = {vtype:3, vx:0, vy:1, vmain:false}; glevels[59][1] = {vtype:1, vx:1, vy:2, vmain:true}; glevels[59][2] = {vtype:2, vx:1, vy:3, vmain:false}; glevels[59][3] = {vtype:3, vx:1, vy:4, vmain:false}; glevels[59][4] = {vtype:3, vx:2, vy:4, vmain:false}; glevels[59][5] = {vtype:5, vx:3, vy:1, vmain:false}; glevels[59][6] = {vtype:2, vx:3, vy:4, vmain:false}; glevels[59][7] = {vtype:5, vx:5, vy:1, vmain:false};
Symbol 181 MovieClip Frame 3
function mePressed(mn, tp) { if (gameOn == false) { return(undefined); } if (((tp == 1) || (tp == 2)) || (tp == 4)) { toplimit = this["vehicle" + mn]._y; bottomlimit = this["vehicle" + mn]._y; leftlimit = getleftlimit(mn, tp); rightlimit = getrightlimit(mn, tp); } else { leftlimit = this["vehicle" + mn]._x; rightlimit = this["vehicle" + mn]._x; toplimit = gettoplimit(mn, tp); bottomlimit = getbottomlimit(mn, tp); } this["vehicle" + mn].startDrag(false, leftlimit, toplimit, rightlimit, bottomlimit); } function meReleased(mn, tp) { this["vehicle" + mn].stopDrag(); newvx = Math.floor(this["vehicle" + mn]._x / 36); newvy = Math.floor(this["vehicle" + mn]._y / 36); this["vehicle" + mn].vx = newvx; this["vehicle" + mn].vy = newvy; this["vehicle" + mn]._x = newvx * 36; this["vehicle" + mn]._y = newvy * 36; updateGridArray(); Moves++; txtMoves.text = Moves; if ((tp == 1) && (this["vehicle" + mn].vx == 5)) { gameOn = false; gamescleared[glevel] = true; this["thelevel" + glevel].marker._visible = true; tgamescleared++; if (tgamescleared == 60) { btnNextLevel._visible = false; } btnNextLevel.gotoAndStop(2); score = score + 100; if (Moves < 50) { score = score + (50 - Moves); } txtScore.text = score; } } function getleftlimit(mn, tp) { if (this["vehicle" + mn].vx == 0) { return(0); } var i = (this["vehicle" + mn].vx - 1); while (i >= 0) { if (gridarray[i][this["vehicle" + mn].vy] == 1) { return((i + 1) * 36); } i--; } } function gettoplimit(mn, tp) { if (this["vehicle" + mn].vy == 0) { return(0); } var i = (this["vehicle" + mn].vy - 1); while (i >= 0) { if (gridarray[this["vehicle" + mn].vx][i] == 1) { return((i + 1) * 36); } i--; } return(0); } function getrightlimit(mn, tp) { var startatx = 0; var stepsfor = 0; switch (tp) { case 1 : case 2 : startatx = this["vehicle" + mn].vx + 2; break; case 3 : startatx = this["vehicle" + mn].vx + 1; break; case 4 : startatx = this["vehicle" + mn].vx + 3; break; case 5 : startatx = this["vehicle" + mn].vx + 1; break; } if (startatx > 6) { return(this["vehicle" + mn].vx + 0); } var newstartx = 0; var i = startatx; while (i < 6) { yval = this["vehicle" + mn].vy; if (gridarray[i][yval] == 0) { newstartx++; } else { break; } i++; } if (tp == 1) { if ((this["vehicle" + mn].vx + newstartx) == 4) { return(((this["vehicle" + mn].vx + newstartx) + 1) * 36); } } return((this["vehicle" + mn].vx + newstartx) * 36); } function getbottomlimit(mn, tp) { var startaty = 0; var stepsfor = 0; switch (tp) { case 1 : case 2 : startaty = this["vehicle" + mn].vy + 1; break; case 3 : startaty = this["vehicle" + mn].vy + 2; break; case 4 : startaty = this["vehicle" + mn].vy + 1; break; case 5 : startaty = this["vehicle" + mn].vy + 3; break; } if (startaty > 6) { return(this["vehicle" + mn].vy + 0); } var newstarty = 0; var i = startaty; while (i < 6) { xval = this["vehicle" + mn].vx; gridvalue = gridarray[xval][i]; if (gridvalue == 0) { newstarty++; } else { break; } i++; } return((this["vehicle" + mn].vy + newstarty) * 36); } function updateGridArray() { var i = 0; while (i < 6) { var j = 0; while (j < 6) { gridarray[i][j] = 0; j++; } i++; } var i = 0; while (i < totalvehicles) { veh = this["vehicle" + i]; switch (veh._currentframe) { case 1 : case 2 : gridarray[veh.vx][veh.vy] = 1; gridarray[veh.vx + 1][veh.vy] = 1; break; case 3 : gridarray[veh.vx][veh.vy] = 1; gridarray[veh.vx][veh.vy + 1] = 1; break; case 4 : gridarray[veh.vx][veh.vy] = 1; gridarray[veh.vx + 1][veh.vy] = 1; gridarray[veh.vx + 2][veh.vy] = 1; break; case 5 : gridarray[veh.vx][veh.vy] = 1; gridarray[veh.vx][veh.vy + 1] = 1; gridarray[veh.vx][veh.vy + 2] = 1; break; } i++; } } function showGridData() { var i = 0; while (i < 6) { str = ""; var j = 0; while (j < 6) { str = str + (" " + gridarray[j][i]); j++; } i++; } } function clearVehicles() { var t = 1; while (t < totalvehicles) { unloadMovie ("vehicle" + t); t++; } } var gameOn = true; var Moves = 0; btnNextLevel.gotoAndStop(1); if (tgamescleared == 59) { btnNextLevel._visible = false; } var yp = thelevel0._y; var l = 0; while (l < 60) { if (l == 0) { thelevel = thelevel0; } else { thelevel = thelevel0.duplicateMovieClip("thelevel" + l, l + 500); thelevel._x = thelevel0._x + ((l % 10) * thelevel0._width); thelevel._visible = true; if ((l % 10) == 0) { yp = yp + thelevel0._height; } thelevel._y = yp; } thelevel.txtNo.text = l + 1; thelevel.marker._visible = gamescleared[l]; l++; } var gridarray = new Array(); var i = 0; while (i < 6) { gridarray[i] = new Array(0, 0, 0, 0, 0, 0); i++; } txtLevel.text = glevel + 1; txtMoves.text = Moves; var totalvehicles = glevels[glevel].length; var i = 0; while (i < totalvehicles) { if (i > 0) { veh = vehicle0.duplicateMovieClip("vehicle" + i, i); } else { veh = vehicle0; } veh._visible = true; veh.gotoAndStop(glevels[glevel][i].vtype); veh.stop(); veh._x = glevels[glevel][i].vx * 36; veh._y = glevels[glevel][i].vy * 36; veh.vx = glevels[glevel][i].vx; veh.vy = glevels[glevel][i].vy; veh.mynumber = i; i++; } updateGridArray(); stop();
Symbol 185 Button
on (release) { gotoAndStop (89); }

Library Items

Symbol 1 FontUsed by:2
Symbol 2 EditableTextUses:1Used by:3
Symbol 3 MovieClip [FLabelSymbol]Uses:2
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:6
Symbol 6 MovieClip [FHighlightSymbol]Uses:5
Symbol 7 MovieClip [FUIComponentSymbol]
Symbol 8 GraphicUsed by:9 27 45 46 52 53 55 61 73
Symbol 9 MovieClipUses:8Used by:20
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:20
Symbol 12 GraphicUsed by:13 33 64 79
Symbol 13 MovieClipUses:12Used by:20
Symbol 14 GraphicUsed by:15 34 65 80
Symbol 15 MovieClipUses:14Used by:20
Symbol 16 GraphicUsed by:17 22 32 66 70 78
Symbol 17 MovieClipUses:16Used by:20
Symbol 18 GraphicUsed by:19 21 31 67 69 77
Symbol 19 MovieClipUses:18Used by:20
Symbol 20 MovieClipUses:9 11 13 15 17 19Used by:40
Symbol 21 MovieClipUses:18Used by:30
Symbol 22 MovieClipUses:16Used by:30
Symbol 23 GraphicUsed by:24 71
Symbol 24 MovieClipUses:23Used by:30
Symbol 25 GraphicUsed by:26 72
Symbol 26 MovieClipUses:25Used by:30
Symbol 27 MovieClipUses:8Used by:30
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:30
Symbol 30 MovieClipUses:21 22 24 26 27 29Used by:40
Symbol 31 MovieClipUses:18Used by:39
Symbol 32 MovieClipUses:16Used by:39
Symbol 33 MovieClipUses:12Used by:39
Symbol 34 MovieClipUses:14Used by:39
Symbol 35 GraphicUsed by:36 81
Symbol 36 MovieClipUses:35Used by:39
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:39
Symbol 39 MovieClipUses:31 32 33 34 36 38Used by:40
Symbol 40 MovieClip [UpArrow]Uses:20 30 39
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:47
Symbol 43 GraphicUsed by:44 48 49 58
Symbol 44 MovieClipUses:43Used by:47
Symbol 45 MovieClipUses:8Used by:47
Symbol 46 MovieClipUses:8Used by:47
Symbol 47 MovieClipUses:42 44 45 46Used by:60
Symbol 48 MovieClipUses:43Used by:54
Symbol 49 MovieClipUses:43Used by:54
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:54
Symbol 52 MovieClipUses:8Used by:54
Symbol 53 MovieClipUses:8Used by:54
Symbol 54 MovieClipUses:48 49 51 52 53Used by:60
Symbol 55 MovieClipUses:8Used by:59
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:59
Symbol 58 MovieClipUses:43Used by:59
Symbol 59 MovieClipUses:55 57 58Used by:60
Symbol 60 MovieClip [ScrollThumb]Uses:47 54 59
Symbol 61 MovieClipUses:8Used by:68
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:68
Symbol 64 MovieClipUses:12Used by:68
Symbol 65 MovieClipUses:14Used by:68
Symbol 66 MovieClipUses:16Used by:68
Symbol 67 MovieClipUses:18Used by:68
Symbol 68 MovieClipUses:61 63 64 65 66 67Used by:85
Symbol 69 MovieClipUses:18Used by:76
Symbol 70 MovieClipUses:16Used by:76
Symbol 71 MovieClipUses:23Used by:76
Symbol 72 MovieClipUses:25Used by:76
Symbol 73 MovieClipUses:8Used by:76
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:76
Symbol 76 MovieClipUses:69 70 71 72 73 75Used by:85
Symbol 77 MovieClipUses:18Used by:84
Symbol 78 MovieClipUses:16Used by:84
Symbol 79 MovieClipUses:12Used by:84
Symbol 80 MovieClipUses:14Used by:84
Symbol 81 MovieClipUses:35Used by:84
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClipUses:77 78 79 80 81 83Used by:85
Symbol 85 MovieClip [DownArrow]Uses:68 76 84
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:88
Symbol 88 MovieClipUses:87Used by:89
Symbol 89 MovieClip [FScrollBarSymbol]Uses:88Used by:93
Symbol 90 MovieClip [DataProviderSymbol]Used by:92
Symbol 91 MovieClip [FSelectableItemSymbol]Used by:92
Symbol 92 MovieClip [FSelectableListSymbol]Uses:90 91Used by:93
Symbol 93 MovieClip [FScrollSelectListSymbol]Uses:89 92Used by:101
Symbol 94 MovieClip [FComboBoxItemSymbol]Used by:101
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:98
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClip [FBoundingBoxSymbol]Uses:96 97Used by:101
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:101
Symbol 101 MovieClip [FComboBoxSymbol]Uses:93 94 98 100Used by:Timeline
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:Timeline
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:110
Symbol 106 GraphicUsed by:110
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:110
Symbol 109 MovieClipUsed by:110
Symbol 110 MovieClipUses:105 106 108 109Used by:Timeline
Symbol 111 GraphicUsed by:Timeline
Symbol 112 FontUsed by:113
Symbol 113 TextUses:112Used by:Timeline
Symbol 114 GraphicUsed by:Timeline
Symbol 115 FontUsed by:116 118 119 121 122 125 126 139 142 143 146 147 150 154 156 158 164
Symbol 116 TextUses:115Used by:Timeline
Symbol 117 GraphicUsed by:Timeline
Symbol 118 TextUses:115Used by:Timeline
Symbol 119 TextUses:115Used by:Timeline
Symbol 120 GraphicUsed by:Timeline
Symbol 121 TextUses:115Used by:124
Symbol 122 TextUses:115Used by:124
Symbol 123 GraphicUsed by:124
Symbol 124 ButtonUses:121 122 123Used by:Timeline
Symbol 125 TextUses:115Used by:128
Symbol 126 TextUses:115Used by:128
Symbol 127 GraphicUsed by:128
Symbol 128 ButtonUses:125 126 127Used by:Timeline
Symbol 129 GraphicUsed by:131
Symbol 130 GraphicUsed by:131
Symbol 131 ButtonUses:129 130Used by:Timeline
Symbol 132 FontUsed by:133 138 140 160
Symbol 133 TextUses:132Used by:135
Symbol 134 GraphicUsed by:135
Symbol 135 ButtonUses:133 134Used by:Timeline
Symbol 136 FontUsed by:137 138 139 153 155 157 182 183
Symbol 137 TextUses:136Used by:Timeline
Symbol 138 TextUses:136 132Used by:Timeline
Symbol 139 EditableTextUses:115 136Used by:Timeline
Symbol 140 TextUses:132Used by:141
Symbol 141 ButtonUses:140Used by:Timeline
Symbol 142 TextUses:115Used by:145
Symbol 143 TextUses:115Used by:145
Symbol 144 GraphicUsed by:145
Symbol 145 ButtonUses:142 143 144Used by:Timeline
Symbol 146 TextUses:115Used by:149
Symbol 147 TextUses:115Used by:149
Symbol 148 GraphicUsed by:149
Symbol 149 ButtonUses:146 147 148Used by:Timeline
Symbol 150 TextUses:115Used by:Timeline
Symbol 151 GraphicUsed by:181
Symbol 152 GraphicUsed by:181
Symbol 153 TextUses:136Used by:181
Symbol 154 EditableTextUses:115Used by:181
Symbol 155 TextUses:136Used by:181
Symbol 156 EditableTextUses:115Used by:181
Symbol 157 TextUses:136Used by:181
Symbol 158 EditableTextUses:115Used by:181
Symbol 159 GraphicUsed by:163
Symbol 160 EditableTextUses:132Used by:163
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:163
Symbol 163 MovieClipUses:159 160 162Used by:181
Symbol 164 TextUses:115Used by:168
Symbol 165 GraphicUsed by:168
Symbol 166 GraphicUsed by:167 171
Symbol 167 ButtonUses:166Used by:168
Symbol 168 MovieClipUses:164 165 167Used by:181
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:180
Symbol 171 ButtonUses:166Used by:180
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:180
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:180
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:180
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:180
Symbol 180 MovieClipUses:170 171 173 175 177 179Used by:181
Symbol 181 MovieClipUses:151 152 153 154 155 156 157 158 163 168 180Used by:Timeline
Symbol 182 TextUses:136Used by:185
Symbol 183 TextUses:136Used by:185
Symbol 184 GraphicUsed by:185
Symbol 185 ButtonUses:182 183 184Used by:Timeline

Instance Names

"thebar"Frame 1Symbol 110 MovieClip
"combobox"Frame 96Symbol 101 MovieClip [FComboBoxSymbol]
"labelField"Symbol 3 MovieClip [FLabelSymbol] Frame 1Symbol 2 EditableText
"highlight_mc"Symbol 6 MovieClip [FHighlightSymbol] Frame 1Symbol 5 MovieClip
"highlight_mc2"Symbol 6 MovieClip [FHighlightSymbol] Frame 2Symbol 5 MovieClip
"highlight_mc3"Symbol 6 MovieClip [FHighlightSymbol] Frame 3Symbol 5 MovieClip
"face_mc"Symbol 20 MovieClip Frame 1Symbol 9 MovieClip
"arrow_mc"Symbol 20 MovieClip Frame 1Symbol 11 MovieClip
"highlight_mc"Symbol 20 MovieClip Frame 1Symbol 13 MovieClip
"shadow_mc"Symbol 20 MovieClip Frame 1Symbol 15 MovieClip
"darkshadow_mc"Symbol 20 MovieClip Frame 1Symbol 17 MovieClip
"highlight3D_mc"Symbol 20 MovieClip Frame 1Symbol 19 MovieClip
"darkshadow_mc"Symbol 30 MovieClip Frame 1Symbol 21 MovieClip
"highlight3D_mc"Symbol 30 MovieClip Frame 1Symbol 22 MovieClip
"highlight_mc"Symbol 30 MovieClip Frame 1Symbol 24 MovieClip
"shadow_mc"Symbol 30 MovieClip Frame 1Symbol 26 MovieClip
"face_mc"Symbol 30 MovieClip Frame 1Symbol 27 MovieClip
"arrow_mc"Symbol 30 MovieClip Frame 1Symbol 29 MovieClip
"highlight3D_mc"Symbol 39 MovieClip Frame 1Symbol 31 MovieClip
"darkshadow_mc"Symbol 39 MovieClip Frame 1Symbol 32 MovieClip
"highlight_mc"Symbol 39 MovieClip Frame 1Symbol 33 MovieClip
"shadow_mc"Symbol 39 MovieClip Frame 1Symbol 34 MovieClip
"face_mc"Symbol 39 MovieClip Frame 1Symbol 36 MovieClip
"arrow_mc"Symbol 39 MovieClip Frame 1Symbol 38 MovieClip
"up"Symbol 40 MovieClip [UpArrow] Frame 1Symbol 20 MovieClip
"down"Symbol 40 MovieClip [UpArrow] Frame 2Symbol 30 MovieClip
"disabled"Symbol 40 MovieClip [UpArrow] Frame 3Symbol 39 MovieClip
"highlight3D_mc"Symbol 47 MovieClip Frame 1Symbol 42 MovieClip
"darkshadow_mc"Symbol 47 MovieClip Frame 1Symbol 44 MovieClip
"highlight_mc"Symbol 47 MovieClip Frame 1Symbol 45 MovieClip
"shadow_mc"Symbol 47 MovieClip Frame 1Symbol 46 MovieClip
"highlight3D_mc"Symbol 54 MovieClip Frame 1Symbol 48 MovieClip
"darkshadow_mc"Symbol 54 MovieClip Frame 1Symbol 49 MovieClip
"shadow_mc"Symbol 54 MovieClip Frame 1Symbol 51 MovieClip
"face_mc"Symbol 54 MovieClip Frame 1Symbol 52 MovieClip
"highlight_mc"Symbol 54 MovieClip Frame 1Symbol 53 MovieClip
"shadow_mc"Symbol 59 MovieClip Frame 1Symbol 55 MovieClip
"darkshadow_mc"Symbol 59 MovieClip Frame 1Symbol 57 MovieClip
"highlight3D_mc"Symbol 59 MovieClip Frame 1Symbol 58 MovieClip
"mc_sliderTop"Symbol 60 MovieClip [ScrollThumb] Frame 1Symbol 47 MovieClip
"mc_sliderMid"Symbol 60 MovieClip [ScrollThumb] Frame 1Symbol 54 MovieClip
"mc_sliderBot"Symbol 60 MovieClip [ScrollThumb] Frame 1Symbol 59 MovieClip
"face_mc"Symbol 68 MovieClip Frame 1Symbol 61 MovieClip
"arrow_mc"Symbol 68 MovieClip Frame 1Symbol 63 MovieClip
"highlight_mc"Symbol 68 MovieClip Frame 1Symbol 64 MovieClip
"shadow_mc"Symbol 68 MovieClip Frame 1Symbol 65 MovieClip
"darkshadow_mc"Symbol 68 MovieClip Frame 1Symbol 66 MovieClip
"highlight3D_mc"Symbol 68 MovieClip Frame 1Symbol 67 MovieClip
"darkshadow_mc"Symbol 76 MovieClip Frame 1Symbol 69 MovieClip
"highlight3D_mc"Symbol 76 MovieClip Frame 1Symbol 70 MovieClip
"highlight_mc"Symbol 76 MovieClip Frame 1Symbol 71 MovieClip
"shadow_mc"Symbol 76 MovieClip Frame 1Symbol 72 MovieClip
"face_mc"Symbol 76 MovieClip Frame 1Symbol 73 MovieClip
"arrow_mc"Symbol 76 MovieClip Frame 1Symbol 75 MovieClip
"highlight3D_mc"Symbol 84 MovieClip Frame 1Symbol 77 MovieClip
"darkshadow_mc"Symbol 84 MovieClip Frame 1Symbol 78 MovieClip
"highlight_mc"Symbol 84 MovieClip Frame 1Symbol 79 MovieClip
"shadow_mc"Symbol 84 MovieClip Frame 1Symbol 80 MovieClip
"face_mc"Symbol 84 MovieClip Frame 1Symbol 81 MovieClip
"arrow_mc"Symbol 84 MovieClip Frame 1Symbol 83 MovieClip
"up"Symbol 85 MovieClip [DownArrow] Frame 1Symbol 68 MovieClip
"down"Symbol 85 MovieClip [DownArrow] Frame 2Symbol 76 MovieClip
"disabled"Symbol 85 MovieClip [DownArrow] Frame 3Symbol 84 MovieClip
"track_mc"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"scrollTrack_mc"Symbol 89 MovieClip [FScrollBarSymbol] Frame 1Symbol 88 MovieClip
"dPAsset"Symbol 92 MovieClip [FSelectableListSymbol] Frame 1Symbol 90 MovieClip [DataProviderSymbol]
"ItemAsset"Symbol 92 MovieClip [FSelectableListSymbol] Frame 1Symbol 91 MovieClip [FSelectableItemSymbol]
"scrollBarAsset"Symbol 93 MovieClip [FScrollSelectListSymbol] Frame 1Symbol 89 MovieClip [FScrollBarSymbol]
"superClassAsset"Symbol 93 MovieClip [FScrollSelectListSymbol] Frame 1Symbol 92 MovieClip [FSelectableListSymbol]
"boundingBox"Symbol 98 MovieClip [FBoundingBoxSymbol] Frame 1Symbol 96 MovieClip
"boundingBox2"Symbol 98 MovieClip [FBoundingBoxSymbol] Frame 2Symbol 96 MovieClip
"superClassAsset"Symbol 101 MovieClip [FComboBoxSymbol] Frame 1Symbol 93 MovieClip [FScrollSelectListSymbol]
"itemAsset"Symbol 101 MovieClip [FComboBoxSymbol] Frame 1Symbol 94 MovieClip [FComboBoxItemSymbol]
"proxyBox_mc"Symbol 101 MovieClip [FComboBoxSymbol] Frame 1Symbol 98 MovieClip [FBoundingBoxSymbol]
"deadPreview"Symbol 101 MovieClip [FComboBoxSymbol] Frame 1Symbol 100 MovieClip
"thebar"Symbol 110 MovieClip Frame 1Symbol 108 MovieClip
"txtNo"Symbol 163 MovieClip Frame 1Symbol 160 EditableText
"marker"Symbol 163 MovieClip Frame 1Symbol 162 MovieClip
"txtLevel"Symbol 181 MovieClip Frame 1Symbol 154 EditableText
"txtMoves"Symbol 181 MovieClip Frame 1Symbol 156 EditableText
"txtScore"Symbol 181 MovieClip Frame 1Symbol 158 EditableText
"thelevel0"Symbol 181 MovieClip Frame 1Symbol 163 MovieClip
"btnNextLevel"Symbol 181 MovieClip Frame 3Symbol 168 MovieClip
"vehicle0"Symbol 181 MovieClip Frame 3Symbol 180 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 3 as "FLabelSymbol"
ExportAssets (56)Timeline Frame 1Symbol 6 as "FHighlightSymbol"
ExportAssets (56)Timeline Frame 1Symbol 7 as "FUIComponentSymbol"
ExportAssets (56)Timeline Frame 1Symbol 40 as "UpArrow"
ExportAssets (56)Timeline Frame 1Symbol 60 as "ScrollThumb"
ExportAssets (56)Timeline Frame 1Symbol 85 as "DownArrow"
ExportAssets (56)Timeline Frame 1Symbol 89 as "FScrollBarSymbol"
ExportAssets (56)Timeline Frame 1Symbol 89 as "FScrollBarSymbol"
ExportAssets (56)Timeline Frame 1Symbol 90 as "DataProviderSymbol"
ExportAssets (56)Timeline Frame 1Symbol 91 as "FSelectableItemSymbol"
ExportAssets (56)Timeline Frame 1Symbol 92 as "FSelectableListSymbol"
ExportAssets (56)Timeline Frame 1Symbol 93 as "FScrollSelectListSymbol"
ExportAssets (56)Timeline Frame 1Symbol 94 as "FComboBoxItemSymbol"
ExportAssets (56)Timeline Frame 1Symbol 98 as "FBoundingBoxSymbol"
ExportAssets (56)Timeline Frame 1Symbol 101 as "FComboBoxSymbol"
ExportAssets (56)Timeline Frame 96Symbol 101 as "FComboBoxSymbol"

Labels

"titlescreen"Frame 89
"credits"Frame 90
"gamescreen"Frame 95
"Symbol_32"Symbol 3 MovieClip [FLabelSymbol] Frame 1
"enabled"Symbol 6 MovieClip [FHighlightSymbol] Frame 1
"disabled"Symbol 6 MovieClip [FHighlightSymbol] Frame 2
"unfocused"Symbol 6 MovieClip [FHighlightSymbol] Frame 3
"Symbol_36"Symbol 7 MovieClip [FUIComponentSymbol] Frame 1
"Symbol_354"Symbol 90 MovieClip [DataProviderSymbol] Frame 1
"enabled"Symbol 98 MovieClip [FBoundingBoxSymbol] Frame 1
"disabled"Symbol 98 MovieClip [FBoundingBoxSymbol] Frame 2




http://swfchan.com/3/10006/info.shtml
Created: 9/6 -2019 01:38:36 Last modified: 9/6 -2019 01:38:36 Server time: 28/04 -2024 05:12:21