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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM55869427-13DC&rnd=55869427" width="1" height="1"></div>

lejeu030908kurumi.swf

This is the info page for
Flash #262238

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 fcb_hitArea { } movieClip 4 { } movieClip 6 { } movieClip 8 { } movieClip 10 { } movieClip 11 { frame 1 { var component = _parent._parent; component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 13 { } movieClip 14 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'background'); } } movieClip 16 { } movieClip 17 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'backgroundDisabled'); } } movieClip 18 { } movieClip 19 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'backgroundDisabled'); } } movieClip 21 { } movieClip 22 { frame 1 { var component = _parent._parent; component.registerSkinElement(check_mc, 'foregroundDisabled'); } } movieClip 24 { } movieClip 25 { frame 1 { var component = _parent._parent; component.registerSkinElement(check_mc, 'check'); } } movieClip 26 fcb_states { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } } movieClip 27 frb_hitArea { } movieClip 30 FLabelSymbol { #initclip _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 frame 1 { } } movieClip 32 { } movieClip 34 { } movieClip 36 { } movieClip 38 { } movieClip 39 { frame 1 { var component = _parent._parent; component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 41 { } movieClip 42 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'background'); } } movieClip 44 { } movieClip 45 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'backgroundDisabled'); } } movieClip 46 { } movieClip 47 { frame 1 { var component = _parent._parent; component.registerSkinElement(background_mc, 'backgroundDisabled'); } } movieClip 49 { } movieClip 50 { frame 1 { var component = _parent._parent; component.registerSkinElement(disabled_mc, 'foregroundDisabled'); } } movieClip 52 { } movieClip 53 { frame 1 { var component = _parent._parent; component.registerSkinElement(dot_mc, 'radioDot'); } } movieClip 54 frb_states { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 55 FUIComponentSymbol { #initclip function FUIComponentClass() { this.init(); } FUIComponentClass.prototype = new MovieClip(); FUIComponentClass.prototype.init = function () { this.enable = true; this.focused = false; this.useHandCursor = false; this._accImpl = new Object(); this._accImpl.stub = true; this.styleTable = new Array(); if (_global.globalStyleFormat == undefined) { _global.globalStyleFormat = new FStyleFormat(); globalStyleFormat.isGlobal = true; _global._focusControl = new Object(); _global._focusControl.onSetFocus = function (oldFocus, newFocus) { oldFocus.myOnKillFocus(); newFocus.myOnSetFocus(); }; Selection.addListener(_global._focusControl); } if (this._name != undefined) { this._focusrect = false; this.tabEnabled = true; this.focusEnabled = true; this.tabChildren = false; this.tabFocused = true; if (this.hostStyle == undefined) { globalStyleFormat.addListener(this); } else { this.styleTable = this.hostStyle; } this.deadPreview._visible = false; this.deadPreview._height = 1; this.deadPreview._width = 1; this.methodTable = new Object(); this.keyListener = new Object(); this.keyListener.controller = this; this.keyListener.onKeyDown = function () { this.controller.myOnKeyDown(); }; this.keyListener.onKeyUp = function () { this.controller.myOnKeyUp(); }; for (var 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.focusEnabled = enabledFlag; this.tabEnabled = this.focusEnabled; if (!this.enable && this.focused) { Selection.setFocus(undefined); } }; FUIComponentClass.prototype.getEnabled = function () { return this.enable; }; FUIComponentClass.prototype.setSize = function (w, h) { this.width = w; this.height = h; this.focusRect.removeMovieClip(); }; FUIComponentClass.prototype.setChangeHandler = function (chng, obj) { this.handlerObj = (obj == undefined) ? this._parent : obj; this.changeHandler = chng; }; FUIComponentClass.prototype.invalidate = function (methodName) { this.methodTable[methodName] = true; this.onEnterFrame = this.cleanUI; }; FUIComponentClass.prototype.cleanUI = function () { if (this.methodTable.setSize) { this.setSize(this.width, this.height); } else { this.cleanUINotSize(); } this.methodTable = new Object(); delete this.onEnterFrame; }; FUIComponentClass.prototype.cleanUINotSize = function () { for (var 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; } 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 frame 1 { } } movieClip 56 { } movieClip 58 FBoundingBoxSymbol { frame 1 { var component = _parent; component.registerSkinElement(boundingBox, 'background'); stop(); } frame 2 { component.registerSkinElement(boundingBox2, 'backgroundDisabled'); stop(); } } movieClip 60 { } movieClip 61 FCheckBoxSymbol { #initclip function FCheckBoxClass() { this.init(); } FCheckBoxClass.prototype = new FUIComponentClass(); Object.registerClass('FCheckBoxSymbol', FCheckBoxClass); FCheckBoxClass.prototype.init = function () { super.setSize(this._width, this._height); this.boundingBox_mc.unloadMovie(); this.attachMovie('fcb_hitArea', 'fcb_hitArea_mc', 1); this.attachMovie('fcb_states', 'fcb_states_mc', 2); this.attachMovie('FLabelSymbol', 'fLabel_mc', 3); super.init(); this.setChangeHandler(this.changeHandler); this._xscale = 100; this._yscale = 100; this.setSize(this.width, this.height); if (this.initialValue == undefined) { this.setCheckState(false); } else { this.setCheckState(this.initialValue); } if (this.label != undefined) { this.setLabel(this.label); } this.ROLE_SYSTEM_CHECKBUTTON = 44; this.STATE_SYSTEM_CHECKED = 16; this.EVENT_OBJECT_STATECHANGE = 32778; this.EVENT_OBJECT_NAMECHANGE = 32780; this._accImpl.master = this; this._accImpl.stub = false; this._accImpl.get_accRole = this.get_accRole; this._accImpl.get_accName = this.get_accName; this._accImpl.get_accState = this.get_accState; this._accImpl.get_accDefaultAction = this.get_accDefaultAction; this._accImpl.accDoDefaultAction = this.accDoDefaultAction; }; FCheckBoxClass.prototype.setLabelPlacement = function (pos) { this.setLabel(this.getLabel()); this.txtFormat(pos); var halfLabelH = this.fLabel_mc._height / 2; var halfFrameH = this.fcb_states_mc._height / 2; var vertCenter = halfFrameH - halfLabelH; var checkWidth = this.fcb_states_mc._width; var frame = this.fcb_states_mc; var label = this.fLabel_mc; var w = 0; if (frame._width > this.width) { w = 0; } else { w = this.width - frame._width; } this.fLabel_mc.setSize(w); if (pos == 'right' || pos == undefined) { this.labelPlacement = 'right'; this.fcb_states_mc._x = 0; this.fLabel_mc._x = checkWidth; this.txtFormat('left'); } else { if (pos == 'left') { this.labelPlacement = 'left'; this.fLabel_mc._x = 0; this.fcb_states_mc._x = this.width - checkWidth; this.txtFormat('right'); } } this.fLabel_mc._y = vertCenter; this.fcb_hitArea_mc._y = vertCenter; }; FCheckBoxClass.prototype.txtFormat = function (pos) { var txtS = this.textStyle; var sTbl = this.styleTable; txtS.align = (sTbl.textAlign.value == undefined) ? txtS.align : undefined; txtS.leftMargin = (sTbl.textLeftMargin.value == undefined) ? 0 : undefined; txtS.rightMargin = (sTbl.textRightMargin.value == undefined) ? 0 : undefined; if (this.flabel_mc._height > this.height) { super.setSize(this.width, this.flabel_mc._height); } else { super.setSize(this.width, this.height); } this.fLabel_mc.labelField.setTextFormat(this.textStyle); this.setEnabled(this.enable); }; FCheckBoxClass.prototype.setHitArea = function (w, h) { var hit = this.fcb_hitArea_mc; this.hitArea = hit; if (this.fcb_states_mc._width > w) { hit._width = this.fcb_states_mc._width; } else { hit._width = w; } hit._visible = false; if (arguments.length > 1) { hit._height = h; } }; FCheckBoxClass.prototype.setSize = function (w) { this.setLabel(this.getLabel()); this.setLabelPlacement(this.labelPlacement); if (this.fcb_states_mc._height < this.flabel_mc.labelField._height) { super.setSize(w, this.flabel_mc.labelField._height); } this.setHitArea(this.width, this.height); this.setLabelPlacement(this.labelPlacement); }; FCheckBoxClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this._width + 6, this._height - 1); }; FCheckBoxClass.prototype.onPress = function () { this.pressFocus(); _root.focusRect.removeMovieClip(); var states = this.fcb_states_mc; if (this.getValue()) { states.gotoAndStop('checkedPress'); } else { states.gotoAndStop('press'); } }; FCheckBoxClass.prototype.onRelease = function () { this.fcb_states_mc.gotoAndStop('up'); this.setValue(!this.checked); }; FCheckBoxClass.prototype.onReleaseOutside = function () { var states = this.fcb_states_mc; if (this.getValue()) { states.gotoAndStop('checkedEnabled'); } else { states.gotoAndStop('up'); } }; FCheckBoxClass.prototype.onDragOut = function () { var states = this.fcb_states_mc; if (this.getValue()) { states.gotoAndStop('checkedEnabled'); } else { states.gotoAndStop('up'); } }; FCheckBoxClass.prototype.onDragOver = function () { var states = this.fcb_states_mc; if (this.getValue()) { states.gotoAndStop('checkedPress'); } else { states.gotoAndStop('press'); } }; FCheckBoxClass.prototype.setValue = function (checkedValue) { if (checkedValue || checkedValue == undefined) { this.setCheckState(checkedValue); } else { if (checkedValue == false) { this.setCheckState(checkedValue); } } this.executeCallBack(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true); } }; FCheckBoxClass.prototype.setCheckState = function (checkedValue) { var states = this.fcb_states_mc; if (this.enable) { this.flabel_mc.setEnabled(true); if (checkedValue || checkedValue == undefined) { states.gotoAndStop('checkedEnabled'); this.enabled = true; this.checked = true; } else { states.gotoAndStop('up'); this.enabled = true; this.checked = false; } } else { this.flabel_mc.setEnabled(false); if (checkedValue || checkedValue == undefined) { states.gotoAndStop('checkedDisabled'); this.enabled = false; this.checked = true; } else { states.gotoAndStop('uncheckedDisabled'); this.enabled = false; this.checked = false; this.focusRect.removeMovieClip(); } } }; FCheckBoxClass.prototype.getValue = function () { return this.checked; }; FCheckBoxClass.prototype.setEnabled = function (enable) { if (enable == true || enable == undefined) { this.enable = true; Super.setEnabled(true); } else { this.enable = false; Super.setEnabled(false); } this.setCheckState(this.checked); }; FCheckBoxClass.prototype.getEnabled = function () { return this.enable; }; FCheckBoxClass.prototype.setLabel = function (label) { this.fLabel_mc.setLabel(label); this.txtFormat(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE); } }; FCheckBoxClass.prototype.getLabel = function () { return this.fLabel_mc.labelField.text; }; FCheckBoxClass.prototype.setTextColor = function (color) { this.fLabel_mc.labelField.textColor = color; }; FCheckBoxClass.prototype.myOnKeyDown = function () { if (Key.getCode() == 32 && this.pressOnce == undefined && this.enabled == true) { this.setValue(!this.getValue()); this.pressOnce = true; } }; FCheckBoxClass.prototype.myOnKeyUp = function () { if (Key.getCode() == 32) { this.pressOnce = undefined; } }; FCheckBoxClass.prototype.get_accRole = function (childId) { return this.master.ROLE_SYSTEM_CHECKBUTTON; }; FCheckBoxClass.prototype.get_accName = function (childId) { return this.master.getLabel(); }; FCheckBoxClass.prototype.get_accState = function (childId) { if (this.master.getValue()) { return this.master.STATE_SYSTEM_CHECKED; } else { return 0; } }; FCheckBoxClass.prototype.get_accDefaultAction = function (childId) { if (this.master.getValue()) { return 'UnCheck'; } else { return 'Check'; } }; FCheckBoxClass.prototype.accDoDefaultAction = function (childId) { this.master.setValue(!this.master.getValue()); }; #endinitclip frame 1 { boundingBox_mc._visible = false; deadPreview._visible = false; } } movieClip 63 { } movieClip 64 FRadioButtonSymbol { #initclip function FRadioButtonClass() { this.init(); } function FRadioButtonGroupClass() { this.radioInstances = new Array(); } FRadioButtonClass.prototype = new FUIComponentClass(); FRadioButtonGroupClass.prototype = new FUIComponentClass(); Object.registerClass('FRadioButtonSymbol', FRadioButtonClass); FRadioButtonClass.prototype.init = function () { if (this.initialState == undefined) { this.selected = false; } else { this.selected = this.initialState; } super.setSize(this._width, this._height); this.boundingBox_mc.unloadMovie(); this.boundingBox_mc._width = 0; this.boundingBox_mc._height = 0; this.attachMovie('frb_hitArea', 'frb_hitArea_mc', 1); this.attachMovie('frb_states', 'frb_states_mc', 2); this.attachMovie('FLabelSymbol', 'fLabel_mc', 3); super.init(); this._xscale = 100; this._yscale = 100; this.setSize(this.width, this.height); this.setChangeHandler(this.changeHandler); if (this.label != undefined) { this.setLabel(this.label); } if (this.initialState == undefined) { this.setValue(false); } else { this.setValue(this.initialState); } if (this.data == '') { this.data = undefined; } else { this.setData(this.data); } this.addToRadioGroup(); this.ROLE_SYSTEM_RADIOBUTTON = 45; this.STATE_SYSTEM_SELECTED = 16; this.EVENT_OBJECT_STATECHANGE = 32778; this.EVENT_OBJECT_NAMECHANGE = 32780; this._accImpl.master = this; this._accImpl.stub = false; this._accImpl.get_accRole = this.get_accRole; this._accImpl.get_accName = this.get_accName; this._accImpl.get_accState = this.get_accState; this._accImpl.get_accDefaultAction = this.get_accDefaultAction; this._accImpl.accDoDefaultAction = this.accDoDefaultAction; }; FRadioButtonClass.prototype.setHitArea = function (w, h) { var hit = this.frb_hitArea_mc; this.hitArea = hit; if (this.frb_states_mc._width > w) { hit._width = this.frb_states_mc._width; } else { hit._width = w; } hit._visible = false; if (arguments.length > 1) { hit._height = h; } }; FRadioButtonClass.prototype.txtFormat = function (pos) { var txtS = this.textStyle; var sTbl = this.styleTable; txtS.align = (sTbl.textAlign.value == undefined) ? txtS.align : undefined; txtS.leftMargin = (sTbl.textLeftMargin.value == undefined) ? 0 : undefined; txtS.rightMargin = (sTbl.textRightMargin.value == undefined) ? 0 : undefined; if (this.flabel_mc._height > this.height) { super.setSize(this.width, this.flabel_mc._height); } else { super.setSize(this.width, this.height); } this.setEnabled(this.enable); }; FRadioButtonClass.prototype.setSize = function (w, h) { this.setLabel(this.getLabel()); this.setLabelPlacement(this.labelPlacement); if (this.frb_states_mc._height < this.flabel_mc.labelField._height) { super.setSize(w, this.flabel_mc.labelField._height); } this.setHitArea(this.width, this.height); this.setLabelPlacement(this.labelPlacement); }; FRadioButtonClass.prototype.setLabelPlacement = function (pos) { this.setLabel(this.getLabel()); this.txtFormat(pos); var halfLabelH = this.fLabel_mc._height / 2; var halfFrameH = this.frb_states_mc._height / 2; var vertCenter = halfFrameH - halfLabelH; var radioWidth = this.frb_states_mc._width; var frame = this.frb_states_mc; var label = this.fLabel_mc; var w = this.width - frame._width; if (frame._width > this.width) { w = 0; } else { w = this.width - frame._width; } this.fLabel_mc.setSize(w); if (pos == 'right' || pos == undefined) { this.labelPlacement = 'right'; this.frb_states_mc._x = 0; this.fLabel_mc._x = radioWidth; this.txtFormat('left'); } else { if (pos == 'left') { this.labelPlacement = 'left'; this.fLabel_mc._x = 0; this.frb_states_mc._x = this.width - radioWidth; this.txtFormat('right'); } } this.fLabel_mc._y = vertCenter; this.frb_hitArea_mc._y = vertCenter; this.setLabel(this.getLabel()); }; FRadioButtonClass.prototype.setData = function (dataValue) { this.data = dataValue; }; FRadioButtonClass.prototype.getData = function () { return this.data; }; FRadioButtonClass.prototype.getState = function () { return this.selected; }; FRadioButtonClass.prototype.getSize = function () { return this.width; }; FRadioButtonClass.prototype.getGroupName = function () { return this.groupName; }; FRadioButtonClass.prototype.setGroupName = function (groupName) { var i = 0; while (i < this._parent[this.groupName].radioInstances.length) { if (this._parent[this.groupName].radioInstances[i] == this) { delete this._parent[this.groupName].radioInstances[i]; } ++i; } this.groupName = groupName; this.addToRadioGroup(); }; FRadioButtonClass.prototype.addToRadioGroup = function () { if (this._parent[this.groupName] == undefined) { this._parent[this.groupName] = new FRadioButtonGroupClass(); } this._parent[this.groupName].addRadioInstance(this); }; FRadioButtonClass.prototype.setValue = function (selected) { if (selected || selected == undefined) { this.setState(true); this.focusRect.removeMovieClip(); this.executeCallBack(); } else { if (selected == false) { this.setState(false); } } }; FRadioButtonClass.prototype.setTabState = function (selected) { Selection.setFocus(this); this.setState(selected); this.drawFocusRect(); this.executeCallBack(); }; FRadioButtonClass.prototype.setState = function (selected) { if (selected || selected == undefined) { this.tabEnabled = true; for (var i in this._parent) { if (this != this._parent[i] && this._parent[i].groupName == this.groupName) { this._parent[i].setState(false); this._parent[i].tabEnabled = false; } } } if (this.enable) { this.flabel_mc.setEnabled(true); if (selected || selected == undefined) { this.frb_states_mc.gotoAndStop('selectedEnabled'); this.enabled = false; this.selected = true; this.tabEnabled = true; this.tabFocused = true; } else { this.frb_states_mc.gotoAndStop('unselectedEnabled'); this.enabled = true; this.selected = false; this.tabEnabled = false; var enabTrue = this._parent[this.groupName].getEnabled(); var noneSelect = this._parent[this.groupName].getValue() == undefined; if (enabTrue && noneSelect) { this._parent[this.groupName].radioInstances[0].tabEnabled = true; } } } else { this.flabel_mc.setEnabled(false); if (selected || selected == undefined) { this.frb_states_mc.gotoAndStop('selectedDisabled'); this.enabled = false; this.selected = true; this.tabEnabled = false; } else { this.frb_states_mc.gotoAndStop('unselectedDisabled'); this.enabled = false; this.selected = false; this.tabEnabled = false; } } if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true); } }; FRadioButtonClass.prototype.getValue = function () { if (this.selected) { if (this.data == '' || this.data == undefined) { return this.getLabel(); } else { return this.data; } } }; FRadioButtonClass.prototype.setEnabled = function (enable) { if (enable == true || enable == undefined) { this.enable = true; super.setEnabled(true); } else { this.enable = false; super.setEnabled(false); } this.setState(this.selected); var cgn = this._parent[this.groupName].getEnabled() == undefined; var cgnez = this._parent[this.groupName].radioInstances[0].getEnabled() == false; if (cgn && cgnez) { var i = 0; while (i < this._parent[this.groupName].radioInstances.length) { if (this._parent[this.groupName].radioInstances[i].getEnabled() == true) { this._parent[this.groupName].radioInstances[i].tabEnabled = true; return undefined; } ++i; } } }; FRadioButtonClass.prototype.getEnabled = function () { return this.enable; }; FRadioButtonClass.prototype.setLabel = function (label) { this.fLabel_mc.setLabel(label); this.txtFormat(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE); } }; FRadioButtonClass.prototype.getLabel = function () { return this.fLabel_mc.getLabel(); }; FRadioButtonClass.prototype.onPress = function () { this.pressFocus(); this.frb_states_mc.gotoAndStop('press'); }; FRadioButtonClass.prototype.onRelease = function () { this.frb_states_mc.gotoAndStop('unselectedDisabled'); this.setValue(!this.selected); }; FRadioButtonClass.prototype.onReleaseOutside = function () { this.frb_states_mc.gotoAndStop('unselectedEnabled'); }; FRadioButtonClass.prototype.onDragOut = function () { this.frb_states_mc.gotoAndStop('unselectedEnabled'); }; FRadioButtonClass.prototype.onDragOver = function () { this.frb_states_mc.gotoAndStop('press'); }; FRadioButtonClass.prototype.executeCallBack = function () { this.handlerObj[this.changeHandler](this._parent[this.groupName]); }; FRadioButtonGroupClass.prototype.addRadioInstance = function (instance) { this.radioInstances.push(instance); this.radioInstances[0].tabEnabled = true; }; FRadioButtonGroupClass.prototype.setEnabled = function (enableFlag) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setEnabled(enableFlag); ++i; } }; FRadioButtonGroupClass.prototype.getEnabled = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].getEnabled() != this.radioInstances[0].getEnabled()) { return undefined; } ++i; } return this.radioInstances[0].getEnabled(); }; FRadioButtonGroupClass.prototype.setChangeHandler = function (changeHandler, obj) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setChangeHandler(changeHandler, obj); ++i; } }; FRadioButtonGroupClass.prototype.getValue = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected == true) { if (this.radioInstances[i].data == '' || this.radioInstances[i].data == undefined) { return this.radioInstances[i].getLabel(); } else { return this.radioInstances[i].data; } } ++i; } }; FRadioButtonGroupClass.prototype.getData = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected) { return this.radioInstances[i].getData(); } ++i; } }; FRadioButtonGroupClass.prototype.getInstance = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected == true) { return i; } else { undefined; } ++i; } }; FRadioButtonGroupClass.prototype.setValue = function (dataValue) { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].data == dataValue) { this.radioInstances[i].setValue(true); return undefined; } ++i; } var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].getLabel() == dataValue) { this.radioInstances[i].setValue(true); } ++i; } }; FRadioButtonGroupClass.prototype.setSize = function (w) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setSize(w); ++i; } }; FRadioButtonGroupClass.prototype.getSize = function () { var widestRadio = 0; var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].width >= widestRadio) { widestRadio = this.radioInstances[i].width; } ++i; } return widestRadio; }; FRadioButtonGroupClass.prototype.setGroupName = function (groupName) { this.oldGroupName = this.radioInstances[0].groupName; var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].groupName = groupName; this.radioInstances[i].addToRadioGroup(); ++i; } delete this._parent[this.oldGroupName]; }; FRadioButtonGroupClass.prototype.getGroupName = function () { return this.radioInstances[0].groupName; }; FRadioButtonGroupClass.prototype.setLabelPlacement = function (pos) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setLabelPlacement(pos); ++i; } }; FRadioButtonGroupClass.prototype.setStyleProperty = function (propName, value, isGlobal) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setStyleProperty(propName, value, isGlobal); ++i; } }; FRadioButtonGroupClass.prototype.addListener = function () { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].addListener(); ++i; } }; FRadioButtonGroupClass.prototype.applyChanges = function () { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].applyChanges(); ++i; } }; FRadioButtonGroupClass.prototype.removeListener = function (component) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].removeListener(component); ++i; } }; FRadioButtonClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this._width + 6, this._height - 3); }; FRadioButtonClass.prototype.myOnKillFocus = function () { Key.removeListener(this.keyListener); this.focused = false; this.focusRect.removeMovieClip(); this._parent[this.groupName].foobar = 0; }; FRadioButtonClass.prototype.myOnKeyDown = function () { if (Key.getCode() == 32 && this._parent[this.groupName].getValue() == undefined) { if (this._parent[this.groupName].radioInstances[0] == this) { this.setTabState(true); } } if (Key.getCode() == 40 && this.pressOnce == undefined) { this.foobar = this._parent[this.groupName].getInstance(); var i = this.foobar; while (i < this._parent[this.groupName].radioInstances.length) { var inc = i + 1; if (this._parent[this.groupName].radioInstances[inc].getEnabled()) { this._parent[this.groupName].radioInstances[inc].setTabState(true); return undefined; } ++i; } } if (Key.getCode() == 38 && this.pressOnce == undefined) { this.foobar = this._parent[this.groupName].getInstance(); var i = this.foobar; while (i >= 0) { var inc = i - 1; if (this._parent[this.groupName].radioInstances[inc].getEnabled()) { this._parent[this.groupName].radioInstances[inc].setTabState(true); return undefined; } --i; } } }; FRadioButtonClass.prototype.get_accRole = function (childId) { return this.master.ROLE_SYSTEM_RADIOBUTTON; }; FRadioButtonClass.prototype.get_accName = function (childId) { return this.master.getLabel(); }; FRadioButtonClass.prototype.get_accState = function (childId) { if (this.master.getState()) { return this.master.STATE_SYSTEM_SELECTED; } else { return 0; } }; FRadioButtonClass.prototype.get_accDefaultAction = function (childId) { if (this.master.getState()) { return 'UnCheck'; } else { return 'Check'; } }; FRadioButtonClass.prototype.accDoDefaultAction = function (childId) { this.master.setValue(!this.master.getValue()); }; #endinitclip frame 1 { boundingBox_mc._visible = false; deadPreview._visible = false; } } movieClip 74 { } movieClip 83 { frame 6 { gotoAndPlay(1); } frame 12 { gotoAndPlay(1); } frame 18 { gotoAndPlay(1); } frame 24 { gotoAndPlay(1); } } movieClip 85 { } movieClip 90 { } movieClip 97 { } movieClip 104 { } movieClip 120 { } movieClip 133 { } movieClip 137 { frame 1 { halo.gotoAndPlay('halo_g'); stop(); } frame 2 { halo.gotoAndPlay('halo_h'); stop(); } frame 3 { halo.gotoAndPlay('halo_d'); stop(); } frame 4 { halo.gotoAndPlay('halo_b'); stop(); } frame 33 { _dead = true; stop(); } frame 57 { _dead = true; stop(); } frame 108 { _dead = true; stop(); } } movieClip 138 { frame 1 { function init() { force = _force_init; bombes = _bombes_init; bombes_actives = 0; _vitesse = 50; _armure = false; _alpha = 100; joueur.halo._alpha = 0; malusExplose = false; malusTaille = false; malusTouche = false; malusBombes = false; nextMove = getTimer(); direction = 'S'; } function deplace(varx, vary) { _x = varx; _y = vary; } function peut_deplacer(chaine) { switch (chaine.charAt(0)) { return true; case 'M': return false; case 'L': return false; case 'B': return false; case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'f': (eval('_root.' + chaine)).mange(this); return true; case 'K': (eval('_root.' + chaine)).explose(); return true; case 'c': case 'd': case 'e': case 'g': case 'z': (eval('_root.' + chaine)).active(); (eval(_root.interface)).refresh(); return true; case 'O': case 'P': case 'Q': case 'R': (eval('_root.' + chaine)).mange(this); return true; case 'U': _root.libson.gotoAndPlay('bonus'); i = 0; while (i < _root.coffres.length) { (eval('_root.' + _root.coffres[i])).open(); ++i; } (eval('_root.' + chaine)).explose(); return true; case 'V': if ((eval('_root.' + chaine))._open) { (eval('_root.' + chaine)).mange(this); return true; } return false; case 'Z': (eval('_root.' + chaine)).mange(this); return true; } return true; } function haut() { varx = _x; vary = _y - pas; if (direction != 'H') { joueur.gotoAndStop('H'); } x = pos_x(); y = Math.floor((vary - _root.yoffset) / 40); if (y >= 0) { if (y != pos_y()) { if (peut_deplacer(_root.tableau[x][y])) { deplace(x * 40 + _root.xoffset, vary); } } else { deplace(varx, vary); } } direction = 'H'; } function bas() { if (direction != 'B') { joueur.gotoAndStop('B'); } direction = 'B'; varx = _x; vary = _y + pas; x = pos_x(); y = Math.floor((vary + 39 - _root.yoffset) / 40); if (y <= 12) { if (y != pos_y()) { if (peut_deplacer(_root.tableau[x][y])) { deplace(x * 40 + _root.xoffset, vary); } } else { deplace(varx, vary); } } } function gauche() { if (direction != 'G') { joueur.gotoAndStop('G'); } direction = 'G'; varx = _x - pas; vary = _y; y = pos_y(); x = Math.floor((varx - _root.xoffset) / 40); if (x >= 0) { if (x != pos_x()) { if (peut_deplacer(_root.tableau[x][y])) { deplace(varx, y * 40 + _root.yoffset); } } else { deplace(varx, vary); } } } function droite() { if (direction != 'D') { joueur.gotoAndStop('D'); } direction = 'D'; varx = _x + pas; vary = _y; y = pos_y(); x = Math.floor((varx + 39 - _root.xoffset) / 40); if (x <= 12) { if (x != pos_x()) { if (peut_deplacer(_root.tableau[x][y])) { deplace(varx, y * 40 + _root.yoffset); } } else { deplace(varx, vary); } } } function pos_x() { return Math.round((_x - _root.xoffset) / 40); } function pos_y() { return Math.round((_y - _root.yoffset) / 40); } function explose() { if (!_dead) { if (_armure) { _armure = false; showArmure(); } else { telecommande = false; --vies; choix = Math.floor(Math.random() * 100 % 3) + 1; joueur.gotoAndPlay('mort' + choix); nextMove = getTimer() + 1000; _dead = true; } } } function showArmure() { if (_armure) { joueur.halo._alpha = 100; } else { joueur.halo._alpha = 0; } } function malus() { finished = false; while (!finished) { switch (random(5) + 1) { case 1: if (vies > 1) { finished = true; --vies; } break; case 2: if (bombes > 1) { finished = true; --bombes; } break; case 3: if (force > 1) { finished = true; --force; } break; case 4: _vitesse += 50; finished = true; break; case 5: malusBombes = true; finished = true; } } (eval(_root.interface)).refresh(); } var force; var bombes; var pas = 8; var _explose = false; var nextMove; var _vitesse; var _armure = false; var vies; var direction; stop(); } } movieClip 146 { } movieClip 155 { frame 6 { gotoAndPlay(1); } frame 12 { gotoAndPlay(1); } frame 18 { gotoAndPlay(1); } frame 24 { gotoAndPlay(1); } } movieClip 165 { } movieClip 173 { } movieClip 180 { frame 1 { halo.gotoAndPlay('halo_g'); stop(); } frame 2 { halo.gotoAndPlay('halo_h'); stop(); } frame 3 { halo.gotoAndPlay('halo_d'); stop(); } frame 4 { halo.gotoAndPlay('halo_b'); stop(); } frame 33 { _dead = true; stop(); } frame 57 { _dead = true; stop(); } } movieClip 181 { frame 1 { function init() { force = 1; bombes = 1; _vitesse = 50; _armure = false; _alpha = 100; bombes_actives = 0; joueur.halo._alpha = 0; malusExplose = false; malusTaille = false; malusTouche = false; malusBombes = false; nextMove = getTimer(); direction = 'S'; } function deplace(varx, vary) { _x = varx; _y = vary; } function peut_deplacer(chaine) { switch (chaine.charAt(0)) { return true; case 'M': return false; case 'L': return false; case 'B': return false; case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'f': (eval('_root.' + chaine)).mange(this); return true; case 'K': (eval('_root.' + chaine)).explose(); return true; case 'c': case 'd': case 'e': case 'g': case 'z': (eval('_root.' + chaine)).active(); (eval(_root.interface)).refresh(); return true; case 'O': case 'P': case 'Q': case 'R': (eval('_root.' + chaine)).mange(this); return true; case 'U': _root.libson.gotoAndPlay('bonus'); i = 0; while (i < _root.coffres.length) { (eval('_root.' + _root.coffres[i])).open(); ++i; } (eval('_root.' + chaine)).explose(); return true; case 'V': if ((eval('_root.' + chaine))._open) { (eval('_root.' + chaine)).mange(this); return true; } return false; case 'Z': (eval('_root.' + chaine)).mange(this); return true; } return true; } function haut() { varx = _x; vary = _y - pas; if (direction != 'H') { joueur.gotoAndStop('H'); } x = pos_x(); y = Math.floor((vary - _root.yoffset) / 40); if (y >= 0) { if (y != pos_y()) { if (peut_deplacer(_root.tableau[x][y])) { deplace(x * 40 + _root.xoffset, vary); } } else { deplace(varx, vary); } } direction = 'H'; } function bas() { if (direction != 'B') { joueur.gotoAndStop('B'); } direction = 'B'; varx = _x; vary = _y + pas; x = pos_x(); y = Math.floor((vary + 39 - _root.yoffset) / 40); if (y <= 12) { if (y != pos_y()) { if (peut_deplacer(_root.tableau[x][y])) { deplace(x * 40 + _root.xoffset, vary); } } else { deplace(varx, vary); } } } function gauche() { if (direction != 'G') { joueur.gotoAndStop('G'); } direction = 'G'; varx = _x - pas; vary = _y; y = pos_y(); x = Math.floor((varx - _root.xoffset) / 40); if (x >= 0) { if (x != pos_x()) { if (peut_deplacer(_root.tableau[x][y])) { deplace(varx, y * 40 + _root.yoffset); } } else { deplace(varx, vary); } } } function droite() { if (direction != 'D') { joueur.gotoAndStop('D'); } direction = 'D'; varx = _x + pas; vary = _y; y = pos_y(); x = Math.floor((varx + 39 - _root.xoffset) / 40); if (x <= 12) { if (x != pos_x()) { if (peut_deplacer(_root.tableau[x][y])) { deplace(varx, y * 40 + _root.yoffset); } } else { deplace(varx, vary); } } } function pos_x() { return Math.round((_x - _root.xoffset) / 40); } function pos_y() { return Math.round((_y - _root.yoffset) / 40); } function explose() { if (!_dead) { if (_armure) { _armure = false; showArmure(); } else { telecommande = false; --vies; choix = Math.floor(Math.random() * 100 % 3) + 1; joueur.gotoAndPlay('mort' + choix); nextMove = getTimer() + 1000; _dead = true; } } } function showArmure() { if (_armure) { joueur.halo._alpha = 100; } else { joueur.halo._alpha = 0; } } function malus() { finished = false; while (!finished) { switch (random(5) + 1) { case 1: if (vies > 1) { finished = true; --vies; } break; case 2: if (bombes > 1) { finished = true; --bombes; } break; case 3: if (force > 1) { finished = true; --force; } break; case 4: _vitesse += 50; finished = true; break; case 5: malusBombes = true; finished = true; } } (eval(_root.interface)).refresh(); } var force; var bombes; var pas = 8; var _explose = false; var nextMove; var _vitesse; var _armure = false; var vies; var direction; stop(); } } button 205 { on (release) { _root.pause = false; _root.aide1._alpha = 0; _root.aide1.removeMovieClip(); } } movieClip 206 { } movieClip 207 mc_aide { frame 1 { } frame 6 { stop(); } } frame 64 { gotoAndPlay(65); } movieClip 217 { } movieClip 220 { } instance of movieClip 220 { onClipEvent (load) { Selection.setFocus('_level0.bn2'); } onClipEvent (enterFrame) { if (getTimer() > nextMove) { nextMove = getTimer() + 300; if (Key.isDown(9)) { if (Selection.getFocus() == '_level0.bn1') { Selection.setFocus('_level0.bn2'); } else { if (Selection.getFocus() == '_level0.bn2') { Selection.setFocus('_level0.bn3'); } else { if (Selection.getFocus() == '_level0.bn3') { Selection.setFocus('_level0.bn4'); } else { Selection.setFocus('_level0.bn1'); } } } } if (Key.isDown(13)) { if (Selection.getFocus() == '_level0.bn1') { gotoAndStop(144); } else { if (Selection.getFocus() == '_level0.bn2') { gotoAndPlay(95); } else { if (Selection.getFocus() == '_level0.bn3') { gotoAndPlay(128); } else { if (Selection.getFocus() == '_level0.bn4') { gotoAndPlay(134); } } } } } } } } button 226 { on (release) { gotoAndPlay(134); } } button 230 { on (release) { getURL('javascript:newwin();', ''); } } button 233 { on (release) { gotoAndPlay(128); } } button 237 { on (release) { gotoAndPlay(95); } } button 240 { on (release) { gotoAndPlay(144); } } button 241 { on (release) { gotoAndPlay(134); } on (rollOver) { play(); } } button 242 { on (release) { gotoAndPlay(128); } on (rollOver) { play(); } } button 243 { on (release) { gotoAndPlay(95); } on (rollOver) { play(); } } button 244 { on (release) { gotoAndStop(144); } on (rollOver) { play(); } } button 251 { on (release) { getURL('http://www.gargul-studio.com', '_blank'); } } frame 94 { gotoAndStop(79); } frame 95 { loadMovieNum('http://www.axegames.com/blaster/toto.txt', 120); niveau = 0; score = 0; maintenant = new Date(); startTime = maintenant.getTime(); time = 0; monstres = new Array(); pause = false; mode2 = false; arcade = false; perdu = false; if (joueurs == undefined) { joueurs = new Array(); } if (_root.joueur1 != undefined) { _root.joueur1.vies = 3; } if (_root.j2 != undefined) { delete _root.j2; } xoffset = 40; yoffset = 40; i = 1; tableau = new Array(13); i = 0; while (i < 13) { tableau[i] = new Array(13); ++i; } gotoAndPlay(108); } frame 95 { } movieClip 259 { frame 1 { stop(); } } movieClip 265 { frame 1 { stop(); } } movieClip 278 { frame 1 { stop(); } } movieClip 279 { frame 1 { stop(); } } movieClip 280 { } movieClip 285 { } movieClip 286 { frame 1 { function refresh() { if (_root.mode2) { j2._alpha = 100; haut._alpha = 0; j1.bombes.gotoAndStop(_root.joueur1.bombes); j1.vies.gotoAndStop(_root.joueur1.vies + 1); j1.force.gotoAndStop(_root.joueur1.force); j2.bombes.gotoAndStop(_root.j2.bombes); j2.vies.gotoAndStop(_root.j2.vies + 1); j2.force.gotoAndStop(_root.j2.force); } else { haut._alpha = 100; j2._alpha = 0; if (Math.floor(_root.score / 5000) > Math.floor(score / 5000) && score > 0) { ++_root.joueur1.vies; } j1.bombes.gotoAndStop(_root.joueur1.bombes); j1.vies.gotoAndStop(_root.joueur1.vies + 1); j1.force.gotoAndStop(_root.joueur1.force); haut.score = _root.score; haut.niveau = _root.niveau; } } var score = 0; stop(); } } movieClip 291 { frame 1 { } } movieClip 294 { } movieClip 295 { frame 1 { function explose() { _explose = true; } function detruit() { x = Math.floor((_x - _root.xoffset) / 40); y = Math.floor((_y - _root.yoffset) / 40); _root.tableau[x][y] = car; --(eval('_root.' + parent)).bombes_actives; this.removeMovieClip(); } var parent; var _explose = false; var car; var _remove = false; } frame 52 { function explosion() { x = Math.floor((_x - _root.xoffset) / 40); y = Math.floor((_y - _root.yoffset) / 40); force = (eval('_root.' + parent)).force; _root.tableau[x][y] = car; h = 1; while (h <= 4) { switch (h) { case 1: i = 1; j = 0; explosion = 'exp_d'; break; case 2: i = -1; j = 0; explosion = 'exp_g'; break; case 3: i = 0; j = 1; explosion = 'exp_b'; break; case 4: i = 0; j = -1; explosion = 'exp_h'; } cpt = 0; while (cpt <= force) { if (x + i * cpt < 0 || x + i * cpt > 12 || y + j * cpt < 0 || y + j * cpt > 12) { break; } if (length(_root.tableau[x + i * cpt][y + j * cpt]) > 0) { (eval('_root.' + _root.tableau[x + i * cpt][y + j * cpt])).explose(); break; } ++cpt; } if (force < cpt) { cpt = force; } (eval('this.' + explosion)).gotoAndStop(cpt); cpt = 0; while (cpt < _root.monstres.length) { if ((eval('_root.' + _root.monstres[cpt])).hitTest(eval('this.' + explosion))) { (eval('_root.' + _root.monstres[cpt])).explose(); } ++cpt; } cpt = 0; while (cpt < _root.joueurs.length) { if ((eval('_root.' + _root.joueurs[cpt] + '.joueur.contour')).hitTest(eval('this.' + explosion))) { (eval('_root.' + _root.joueurs[cpt])).explose(); } ++cpt; } ++h; } --(eval('_root.' + parent)).bombes_actives; _remove = true; exploseTime = getTimer() + 50; } explosion(); stop(); } } instance bombe of movieClip 295 { onClipEvent (load) { if (String(_name) == 'bombe') { this.gotoAndStop('End'); } else { _root.bombes.push(_name); exploseTime = getTimer() + 999999; } } onClipEvent (enterFrame) { if (String(_name) != 'bombe') { if (this._explose && !this._remove) { this.gotoAndPlay('Boom'); } if (this._remove && getTimer() > exploseTime) { this.removeMovieClip(); } if (_malus) { stop(); bombe.stop(); exploseTime = getTimer() + (random(10) + 1) * 1000; _malus = false; } if (getTimer() > exploseTime) { this._explose = true; } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.bombes.length) { if (_root.bombes[cpt] == _name) { _root.bombes.splice(cpt, 1); } ++cpt; } } } instance joueur of movieClip 138 { onClipEvent (load) { force = 1; bombes = 1; vies = 3; _force_init = 1; _bombes_init = 1; _vitesse = 50; malusExplose = false; malusTaille = false; malusTouche = false; malusBombes = false; telecommande = false; myBombs = new Array(); } onClipEvent (enterFrame) { if (String(_name) != 'joueur' && getTimer() > nextMove) { if (_dead) { _alpha = 0; nextMove = getTimer() + 5000; _dead = false; _force_init = 1; _bombes_init = 1; _root.j2._alpha = 0; if (!_root.mode2) { _root.perdu = true; } if (vies > 0) { _root.gotoAndPlay('nouveauNiveau'); } else { _root.gotoAndPlay('perdu'); } } if (Key.isDown(40) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.bas(); } if (Key.isDown(38) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.haut(); } if (Key.isDown(37) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.gauche(); } if (Key.isDown(39) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.droite(); } if (Key.isDown(80)) { nextMove = getTimer() + 200; _root.pause = !_root.pause; cpt = 0; while (cpt < _root.bombes.length) { if (_root.pause) { (eval('_root.' + _root.bombes[cpt] + '.bombe')).stop(); (eval('_root.' + _root.bombes[cpt])).stop(); } else { (eval('_root.' + _root.bombes[cpt] + '.bombe')).play(); (eval('_root.' + _root.bombes[cpt])).play(); } ++cpt; } } if (Key.isDown(13) && myBombs.length > 0 && !_root.pause) { (eval('_root.' + myBombs.shift())).explose(); nextMove = getTimer() + 200; } if (Key.isDown(16) && !_root.pause) { varx = pos_x(); vary = pos_y(); if (bombes_actives < this.bombes && ' BT'.indexOf(_root.tableau[varx][vary].charAt(0)) <= 0) { bombe_panel = bombe_panel % 10 + 1; ++bombes_actives; bombe_level = 5000 + bombe_panel; duplicateMovieClip(_root.bombe, 'B' + bombe_level, bombe_level); eval(eval('_root.B' + bombe_level))._x = varx * 40 + _root.xoffset; eval(eval('_root.B' + bombe_level))._y = vary * 40 + _root.yoffset; if (telecommande) { (eval('_root.B' + bombe_level)).stop(); (eval('_root.B' + bombe_level)).bombe.stop(); myBombs.push('B' + bombe_level); } if (malusExplose) { (eval('_root.B' + bombe_level))._malus = true; } (eval('_root.B' + bombe_level)).parent = String(_name); (eval('_root.B' + bombe_level)).car = _root.tableau[varx][vary]; _root.tableau[varx][vary] = 'B' + bombe_level; } } if (getTimer() > invinsible) { i = 0; while (i < _root.monstres.length) { if (this.joueur.contour.hittest(eval('_root.' + _root.monstres[i]))) { invinsible = getTimer() + 2000; if ((eval('_root.' + _root.monstres[i])).type == '4') { this.malus(); } else { this.explose(); } } ++i; } } } } } movieClip 297 { } movieClip 307 { frame 1 { function explose() { --vies; if (vies <= 0) { switch (type) { case 'c': _root.duplicateCadeau(_root.malus1, 'c', _x, _y); break; case 'C': _root.duplicateCadeau(_root.bonus1, 'C', _x, _y); break; case 'd': _root.duplicateCadeau(_root.malus2, 'd', _x, _y); break; case 'D': _root.duplicateCadeau(_root.bonus2, 'D', _x, _y); break; case 'e': _root.duplicateCadeau(_root.malus3, 'e', _x, _y); break; case 'E': _root.duplicateCadeau(_root.bonus3, 'E', _x, _y); break; case 'F': _root.duplicateCadeau(_root.bonus4, 'F', _x, _y); break; case 'g': _root.duplicateCadeau(_root.malus5, 'g', _x, _y); break; case 'G': _root.duplicateCadeau(_root.bonus5, 'G', _x, _y); break; case 'H': _root.duplicateCadeau(_root.bonus6, 'H', _x, _y); break; case 'I': _root.duplicateCadeau(_root.bonus7, 'I', _x, _y); break; case 'K': _root.duplicateCadeau(_root.porte, 'T', _x, _y); break; case 'O': _root.duplicateCadeau(_root.saphir, 'O', _x, _y); break; case 'P': _root.duplicateCadeau(_root.rubis, 'P', _x, _y); break; case 'Q': _root.duplicateCadeau(_root.emeraude, 'Q', _x, _y); break; case 'R': _root.duplicateCadeau(_root.diamand, 'R', _x, _y); break; case 'U': _root.duplicateCadeau(_root.clef, 'U', _x, _y); break; case 'z': _root.duplicateCadeau(_root.malus4, 'z', _x, _y); break; case 'Z': _root.duplicateCadeau(_root.telecommande, 'Z', _x, _y); break; default: _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; } this.removeMovieClip(); } else { this.gotoAndPlay(this._currentframe + 1); } } var type; var vies; stop(); } frame 6 { stop(); } frame 10 { stop(); } } movieClip 311 { } movieClip 315 { } movieClip 320 { } movieClip 322 { frame 12 { stop(); } } movieClip 323 { frame 1 { stop(); } frame 20 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 32 { _dead = true; stop(); } } movieClip 324 { frame 1 { function deplace() { pos = position(); x = pos.x; y = pos.y; varx = 0; vary = 0; direc = '1'; obstacle = '1MB'; if (x * 40 + _root.xoffset == _x && y * 40 + _root.yoffset == _y) { if (obstacle.indexOf(_root.tableau[x - 1][y].charAt(0)) <= 0 && x > 0) { direc += 'G'; } if (obstacle.indexOf(_root.tableau[x][y - 1].charAt(0)) <= 0 && y > 0) { direc += 'H'; } if (obstacle.indexOf(_root.tableau[x + 1][y].charAt(0)) <= 0 && x < 12) { direc += 'D'; } if (obstacle.indexOf(_root.tableau[x][y + 1].charAt(0)) <= 0 && y < 12) { direc += 'B'; } if (direc.indexOf(direction) >= 0) { direc += direction + direction + direction; } choix = Math.random() * 100 % (direc.length - 1) + 1; direction = direc.charAt(choix); } else { if (obstacle.indexOf(_root.tableau[x][y].charAt(0)) > 0) { switch (direction) { case 'H': direction = 'B'; break; case 'B': direction = 'H'; break; case 'G': direction = 'D'; break; case 'D': direction = 'G'; } } } switch (direction) { case 'H': vary = -pas; monstre.gotoAndStop('H'); break; case 'B': vary = pas; monstre.gotoAndStop('B'); break; case 'G': varx = -pas; monstre.gotoAndStop('G'); break; case 'D': varx = pas; monstre.gotoAndStop('D'); } if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } function explose() { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } var direction; var pas = 8; var nextMove; var points = 200; var _vitesse = 120; var type; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre2 of movieClip 324 { onClipEvent (load) { if (String(_name) != 'monstre2') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre2') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 325 { } movieClip 326 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); ++joueur.bombes; (eval(_root.interface)).refresh(); this.removeMovieClip(); } } } movieClip 328 { } movieClip 329 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); ++joueur.force; (eval(_root.interface)).refresh(); this.removeMovieClip(); } } instance of movieClip 328 { onClipEvent (load) { this.gotoAndStop(1); } } } movieClip 356 { frame 1 { stop(); } frame 23 { stop(); } } movieClip 357 { frame 1 { function explose() { cpt = 0; while (cpt < 3) { duplicateMovieClip(_root.monstre3, 'A' + i, i); eval('_root.A' + i)._x = this._x; eval('_root.A' + i)._y = this._y; _root.objets.push('A' + i); ++i; ++cpt; } isActivate = false; gotoAndStop(1); } isActivate; var i = 1500; } } instance porte of movieClip 357 { onClipEvent (load) { this.isActivate = false; } onClipEvent (enterFrame) { if (String(_name) != 'porte' && nextMove < getTimer()) { if (_root.monstres.length <= 0 && !this.isActivate) { this.porte.gotoAndPlay(2); this.isActivate = true; } if (_root.monstres.length > 0 && this.isActivate) { this.porte.gotoAndStop(1); this.isActivate = false; } if (_root.monstres.length <= 0 && _root.joueur1.hitTest(_x + 20, _y + 20)) { _root.joueur1._alpha = 0; _root.gotoAndPlay('nouveauNiveau'); } nextMove = getTimer() + 150; } } } movieClip 358 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } var type; stop(); } frame 22 { monstre_ok = true; } } instance trappe of movieClip 358 { onClipEvent (load) { newMonstre = getTimer() + 10000; i = 1400; monstre_ok = false; } onClipEvent (enterFrame) { if (String(_name) != 'trappe') { if (_root.monstres.length <= 5 && getTimer() > newMonstre) { newMonstre = getTimer() + 10000; this.gotoAndPlay(2); } if (monstre_ok) { monstre_ok = false; duplicateMovieClip('_root.monstre' + type, 'A' + i, i); eval('_root.A' + i)._x = this._x; eval('_root.A' + i)._y = this._y; ++i; } } } } movieClip 362 { } movieClip 363 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); _root.score += points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } var points = 750; } instance of movieClip 362 { onClipEvent (load) { } } } movieClip 366 { } movieClip 368 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); joueur._vitesse = 30; this.removeMovieClip(); } var points = 100; } } movieClip 370 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); joueur._armure = true; joueur.showArmure(); this.removeMovieClip(); } var points = 100; } } movieClip 372 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); ++joueur.vies; (eval(_root.interface)).refresh(); this.removeMovieClip(); } var points = 100; } } movieClip 374 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); switch (random(10)) { case 1: ++joueur.vies; break; case 3: ++joueur.bombes; break; case 5: joueur._vitesse = 30; break; case 7: joueur._armure = true; joueur.showArmure(); break; default: joueur.malus(); } (eval(_root.interface)).refresh(); this.removeMovieClip(); } var points = 100; } } movieClip 376 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); i = 0; while (i < _root.monstres.length) { (eval('_root.' + _root.monstres[i]))._vitesse *= 2; ++i; } this.removeMovieClip(); } var points = 100; } } movieClip 381 { } movieClip 382 { } movieClip 384 { } movieClip 385 { } movieClip 386 { frame 1 { stop(); _root.monstre7.monstre.oeil_m7.stop(); } frame 2 { _root.monstre7.monstre.oeil_m7.stop(); } frame 3 { _root.monstre7.monstre.oeil_m7.play(); } frame 4 { _root.monstre7.monstre.oeil_m7.stop(); } frame 17 { stop(); } frame 30 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 42 { _dead = true; stop(); } } movieClip 387 { frame 1 { function deplace() { pos = position(); x = pos.x; y = pos.y; direc = '1'; obstacle = '1MLB'; if (x * 40 + _root.xoffset == _x && y * 40 + _root.yoffset == _y) { if (obstacle.indexOf(_root.tableau[x - 1][y].charAt(0)) <= 0 && x > 0) { direc += 'G'; } if (obstacle.indexOf(_root.tableau[x][y - 1].charAt(0)) <= 0 && y > 0) { direc += 'H'; } if (obstacle.indexOf(_root.tableau[x + 1][y].charAt(0)) <= 0 && x < 12) { direc += 'D'; } if (obstacle.indexOf(_root.tableau[x][y + 1].charAt(0)) <= 0 && y < 12) { direc += 'B'; } if (direc.indexOf(direction) <= 0 || Math.floor(Math.random() * 100 % 5) == 1) { choix = Math.random() * 100 % (direc.length - 1) + 1; direction = direc.charAt(choix); } if (_invisible && getTimer() > apparait) { _invisible = false; } switch (direction) { case 'H': varx = 0; vary = -pas; if (!_invisible) { monstre.gotoAndStop(4); } break; case 'B': varx = 0; vary = pas; if (!_invisible) { monstre.gotoAndStop(2); } break; case 'G': varx = -pas; vary = 0; if (!_invisible) { if (Math.floor(Math.random() * 100 % 5) == 1) { monstre.gotoAndPlay('invisible'); apparait = getTimer() + 4000; _invisible = true; } else { monstre.gotoAndStop(1); } } break; case 'D': varx = pas; vary = 0; if (!_invisible) { monstre.gotoAndStop(3); } } } else { if (obstacle.indexOf(_root.tableau[x][y].charAt(0)) > 0) { varx = -varx; vary = -vary; switch (direction) { case 'H': direction = 'B'; break; case 'B': direction = 'H'; break; case 'G': direction = 'D'; break; case 'D': direction = 'G'; } } } if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } function explose() { if (!_invisible) { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } } var direction = 'S'; var pas = 8; var nextMove; var varx; var vary; var apparait; var points = 300; var _vitesse = 120; var type; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre7 of movieClip 387 { onClipEvent (load) { if (String(_name) != 'monstre7') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre7') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 397 { } movieClip 405 { } movieClip 414 { } movieClip 424 { } movieClip 425 { frame 1 { stop(); } frame 22 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 35 { _dead = true; stop(); } } movieClip 426 { frame 1 { function deplace() { pos = position(); x = pos.x; y = pos.y; varx = 0; vary = 0; direc = '1'; obstacle = '1MLB'; if (x * 40 + _root.xoffset == _x && y * 40 + _root.yoffset == _y) { if (obstacle.indexOf(_root.tableau[x - 1][y].charAt(0)) <= 0 && x > 0) { direc += 'G'; } if (obstacle.indexOf(_root.tableau[x][y - 1].charAt(0)) <= 0 && y > 0) { direc += 'H'; } if (obstacle.indexOf(_root.tableau[x + 1][y].charAt(0)) <= 0 && x < 12) { direc += 'D'; } if (obstacle.indexOf(_root.tableau[x][y + 1].charAt(0)) <= 0 && y < 12) { direc += 'B'; } if (direc.indexOf(direction) <= 0 || Math.floor(Math.random() * 100 % 5) == 1) { choix = Math.random() * 100 % (direc.length - 1) + 1; newdirection = direc.charAt(choix); } } else { if (obstacle.indexOf(_root.tableau[x][y].charAt(0)) > 0) { switch (newdirection) { case 'H': newdirection = 'B'; break; case 'B': newdirection = 'H'; break; case 'G': newdirection = 'D'; break; case 'D': newdirection = 'G'; } } } switch (newdirection) { case 'H': vary = -pas; if (newdirection != direction) { monstre.gotoAndStop('H'); } break; case 'B': vary = pas; if (newdirection != direction) { monstre.gotoAndStop('B'); } break; case 'G': varx = -pas; if (newdirection != direction) { monstre.gotoAndStop('G'); } break; case 'D': varx = pas; if (newdirection != direction) { monstre.gotoAndStop('D'); } break; default: if (newdirection == direction) break; monstre.gotoAndStop('H'); } direction = newdirection; if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function explose() { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } var direction = 'S'; var newdirection = 'S'; var pas = 8; var nextMove; var points = 150; var _vitesse = 120; var type; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre1 of movieClip 426 { onClipEvent (load) { if (String(_name) != 'monstre1') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre1') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 429 { } movieClip 433 { } movieClip 437 { } movieClip 438 { frame 1 { stop(); } frame 17 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 30 { _dead = true; stop(); } } movieClip 439 { frame 1 { function direc(x, y, level) { var G; var D; var H; var B; if (x < 0 || x > 12 || y < 0 || y > 12) { return 0; } if (x == (position()).x && y == (position()).y) { return 0; } switch (_root.tableau[x][y].charAt(0)) { x2 = _root.joueur1.pos_x(); y2 = _root.joueur1.pos_y(); distance = Math.round(Math.sqrt((x - x2) * (x - x2) + (y - y2) * (y - y2))); return 20 - distance; case 'B': return -8; case 'M': case 'L': return 0; } x2 = _root.joueur1.pos_x(); y2 = _root.joueur1.pos_y(); distance = Math.round(Math.sqrt((x - x2) * (x - x2) + (y - y2) * (y - y2))); return 20 - distance; } function deplace() { pos = position(); x = pos.x; y = pos.y; varx = 0; vary = 0; if (x * 40 + _root.xoffset == _x && y * 40 + _root.yoffset == _y) { var possibilite = ''; choix[0] = [direc(x - 1, y, 0), 'G']; choix[1] = [direc(x + 1, y, 0), 'D']; choix[2] = [direc(x, y - 1, 0), 'H']; choix[3] = [direc(x, y + 1, 0), 'B']; max = 0; car = ''; i = 3; while (i >= 0) { if (choix[i][0] > 0) { if (choix[i][0] > max) { max = choix[i][0]; car = choix[i][1]; } else { if (choix[i][0] == max) { car += choix[i][1]; } } possibilite += choix[i][1]; if (choix[i][1] == direction) { possibilite += choix[i][1]; } } --i; } possibilite += car + car; aleatoire = Math.random() * 100 % (possibilite.length - 1) + 1; newdirection = possibilite.charAt(aleatoire); } switch (newdirection) { case 'H': vary = -pas; if (newdirection != direction) { monstre.gotoAndStop('H'); } break; case 'B': vary = pas; if (newdirection != direction) { monstre.gotoAndStop('B'); } break; case 'G': varx = -pas; if (newdirection != direction) { monstre.gotoAndStop('G'); } break; case 'D': varx = pas; if (newdirection != direction) { monstre.gotoAndStop('D'); } break; default: if (newdirection == direction) break; monstre.gotoAndStop('G'); } direction = newdirection; if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function explose() { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } var direction = 'S'; var newdirection = 'S'; var pas = 8; var nextMove; var points = 150; var _vitesse = 100; var choix = new Array(); var nextHit; var type; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre4 of movieClip 439 { onClipEvent (load) { if (String(_name) != 'monstre4') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre4') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 444 { } movieClip 446 { } movieClip 450 { } movieClip 453 { } movieClip 456 { } movieClip 457 { frame 1 { stop(); } frame 19 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 32 { _dead = true; stop(); } } movieClip 458 { frame 1 { function direc(x, y, level) { var G; var D; var H; var B; if (x < 0 || x > 12 || y < 0 || y > 12) { return 0; } if (x == (position()).x && y == (position()).y) { return 0; } switch (_root.tableau[x][y].charAt(0)) { case 'B': return -8; case 'M': case 'L': return 0; } if (level <= 0) { return 2; } G = direc(x - 1, y, level - 1); D = direc(x + 1, y, level - 1); H = direc(x, y - 1, level - 1); B = direc(x, y + 1, level - 1); val = G + D + H + B; if (val & true) { return 1; } if (val >= 0) { return 2 + val; } return 1; } function deplace() { pos = position(); x = pos.x; y = pos.y; varx = 0; vary = 0; if (x * 40 + _root.xoffset == _x && y * 40 + _root.yoffset == _y) { var possibilite = ''; choix[0] = [direc(x - 1, y, 2), 'G']; choix[1] = [direc(x + 1, y, 2), 'D']; choix[2] = [direc(x, y - 1, 2), 'H']; choix[3] = [direc(x, y + 1, 2), 'B']; max = 0; i = 3; while (i >= 0) { if (choix[i][0] > 0) { if (choix[i][0] == max) { possibilite += choix[i][1] + choix[i][1]; } if (choix[i][0] > max) { max = choix[i][0]; possibilite = choix[i][1] + choix[i][1]; } if (choix[i][1] == direction && choix[i][0] > 4) { possibilite += choix[i][1]; } } --i; } aleatoire = Math.random() * 100 % (possibilite.length - 1) + 1; newdirection = possibilite.charAt(aleatoire); } switch (newdirection) { case 'H': vary = -pas; if (newdirection != direction) { monstre.gotoAndStop('H'); } break; case 'B': vary = pas; if (newdirection != direction) { monstre.gotoAndStop('B'); } break; case 'G': varx = -pas; if (newdirection != direction) { monstre.gotoAndStop('G'); } break; case 'D': varx = pas; if (newdirection != direction) { monstre.gotoAndStop('D'); } break; default: if (newdirection == direction) break; monstre.gotoAndStop('G'); } direction = newdirection; if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function explose() { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } var direction = 'S'; var newdirection = 'S'; var pas = 8; var nextMove; var points = 150; var _vitesse = 100; var choix = new Array(); var type; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre8 of movieClip 458 { onClipEvent (load) { if (String(_name) != 'monstre8') { _root.monstres.push(_name); poseBombe = getTimer() + Math.random() * 10000 + 1000; force = 2; nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre8') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; if (getTimer() > poseBombe) { varx = (position()).x; vary = (position()).y; poseBombe = getTimer() + Math.random() * 10000 + 1000; bombe_panel = bombe_panel % 10 + 1; depth = 1100 + bombe_panel; duplicateMovieClip(_root.bombe, 'B' + depth, depth); eval(eval('_root.B' + depth))._x = varx * 40 + _root.xoffset; eval(eval('_root.B' + depth))._y = vary * 40 + _root.yoffset; (eval('_root.B' + depth)).parent = String(_name); (eval('_root.B' + depth)).car = _root.tableau[varx][vary]; _root.tableau[varx][vary] = 'B' + depth; } } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 460 { } movieClip 466 { } movieClip 468 { } movieClip 473 { } movieClip 480 { } movieClip 481 { } movieClip 482 { frame 1 { stop(); } frame 20 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 32 { _dead = true; stop(); } } movieClip 483 { frame 1 { function deplace() { pos = position(); x = pos.x; y = pos.y; varx = 0; vary = 0; direc = '1'; obstacle = '1MLB'; if (x * 40 + _root.xoffset == _x && y * 40 + _root.yoffset == _y) { if (obstacle.indexOf(_root.tableau[x - 1][y].charAt(0)) <= 0 && x > 0) { direc += 'G'; } if (obstacle.indexOf(_root.tableau[x][y - 1].charAt(0)) <= 0 && y > 0) { direc += 'H'; } if (obstacle.indexOf(_root.tableau[x + 1][y].charAt(0)) <= 0 && x < 12) { direc += 'D'; } if (obstacle.indexOf(_root.tableau[x][y + 1].charAt(0)) <= 0 && y < 12) { direc += 'B'; } if (direc.indexOf(direction) <= 0 || Math.floor(Math.random() * 100 % 5) == 1) { choix = Math.random() * 100 % (direc.length - 1) + 1; newdirection = direc.charAt(choix); } } else { if (obstacle.indexOf(_root.tableau[x][y].charAt(0)) > 0) { switch (newdirection) { case 'H': newdirection = 'B'; break; case 'B': newdirection = 'H'; break; case 'G': newdirection = 'D'; break; case 'D': newdirection = 'G'; } } } switch (newdirection) { case 'H': vary = -pas; if (newdirection != direction) { monstre.gotoAndStop('H'); } break; case 'B': vary = pas; if (newdirection != direction) { monstre.gotoAndStop('B'); } break; case 'G': varx = -pas; if (newdirection != direction) { monstre.gotoAndStop('G'); } break; case 'D': varx = pas; if (newdirection != direction) { monstre.gotoAndStop('D'); } break; default: if (newdirection == direction) break; monstre.gotoAndStop('G'); } direction = newdirection; if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function explose() { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } var direction = 'S'; var newdirection = 'S'; var pas = 8; var nextMove; var points = 150; var _vitesse = 60; var type; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre5 of movieClip 483 { onClipEvent (load) { if (String(_name) != 'monstre5') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre5') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 492 { } movieClip 498 { } movieClip 506 { } movieClip 512 { } movieClip 513 { frame 1 { stop(); } frame 20 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 32 { _dead = true; stop(); } } movieClip 514 { frame 1 { function deplace() { pos = position(); x = pos.x; y = pos.y; varx = 0; vary = 0; direc = '1'; obstacle = '1MLB'; if (x * 40 + _root.xoffset == (realpos()).x && y * 40 + _root.yoffset == (realpos()).y) { if (obstacle.indexOf(_root.tableau[x - 1][y].charAt(0)) <= 0 && x > 0) { direc += 'G'; } if (obstacle.indexOf(_root.tableau[x][y - 1].charAt(0)) <= 0 && y > 0) { direc += 'H'; } if (obstacle.indexOf(_root.tableau[x + 1][y].charAt(0)) <= 0 && x < 12) { direc += 'D'; } if (obstacle.indexOf(_root.tableau[x][y + 1].charAt(0)) <= 0 && y < 12) { direc += 'B'; } if (direc.indexOf(direction) <= 0 || Math.floor(Math.random() * 100 % 5) == 1) { choix = Math.random() * 100 % (direc.length - 1) + 1; newdirection = direc.charAt(choix); } } else { if (obstacle.indexOf(_root.tableau[x][y].charAt(0)) > 0) { switch (newdirection) { case 'H': newdirection = 'B'; break; case 'B': newdirection = 'H'; break; case 'G': newdirection = 'D'; break; case 'D': newdirection = 'G'; } } } switch (newdirection) { case 'H': vary = -pas; if (newdirection != direction) { monstre.gotoAndStop('H'); } break; case 'B': vary = pas; if (newdirection != direction) { monstre.gotoAndStop('B'); } break; case 'G': varx = -pas; if (newdirection != direction) { monstre.gotoAndStop('G'); } break; case 'D': varx = pas; if (newdirection != direction) { monstre.gotoAndStop('D'); } break; default: if (newdirection == direction) break; monstre.gotoAndStop('G'); } direction = newdirection; if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function explose() { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } function realpos() { objet = new Object(); if (_xscale > 50) { objet.x = _x; objet.y = _y; return objet; } objet.x = _x - 10; objet.y = _y - 10; return objet; } var direction = 'S'; var newdirection = 'S'; var pas = 8; var nextMove; var points = 150; var _vitesse = 100; var type; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre9 of movieClip 514 { onClipEvent (load) { if (String(_name) != 'monstre9') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre9') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); if (_xscale > 50) { cpt = 0; while (cpt < 3) { duplicateMovieClip(_root.monstre9, 'A' + _root.i, _root.i); eval('_root.A' + _root.i)._x = Math.floor(this._x / 40) * 40 + 10; eval('_root.A' + _root.i)._y = Math.floor(this._y / 40) * 40 + 10; eval(eval('_root.A' + _root.i))._xscale = 50; eval(eval('_root.A' + _root.i))._yscale = 50; _root.objets.push('A' + _root.i); ++_root.i; ++cpt; } } this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 516 { } movieClip 523 { } movieClip 525 { } movieClip 527 { } movieClip 528 { } movieClip 531 { } movieClip 533 { } movieClip 537 { frame 1 { stop(); } frame 21 { gotoAndStop(4); } frame 34 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 48 { _dead = true; stop(); } } movieClip 538 { frame 1 { function deplace() { pos = position(); x = pos.x; y = pos.y; varx = 0; vary = 0; direc = '1'; obstacle = '1ML'; if (x * 40 + _root.xoffset == _x && y * 40 + _root.yoffset == _y) { if (obstacle.indexOf(_root.tableau[x - 1][y].charAt(0)) <= 0 && x > 0) { direc += 'G'; } if (obstacle.indexOf(_root.tableau[x][y - 1].charAt(0)) <= 0 && y > 0) { direc += 'H'; } if (obstacle.indexOf(_root.tableau[x + 1][y].charAt(0)) <= 0 && x < 12) { direc += 'D'; } if (obstacle.indexOf(_root.tableau[x][y + 1].charAt(0)) <= 0 && y < 12) { direc += 'B'; } if (direc.indexOf(direction) <= 0 || Math.floor(Math.random() * 100 % 5) == 1) { choix = Math.random() * 100 % (direc.length - 1) + 1; newdirection = direc.charAt(choix); } } else { if (obstacle.indexOf(_root.tableau[x][y].charAt(0)) > 0) { switch (newdirection) { case 'H': newdirection = 'B'; break; case 'B': newdirection = 'H'; break; case 'G': newdirection = 'D'; break; case 'D': newdirection = 'G'; } } } switch (newdirection) { case 'H': vary = -pas; if (newdirection != direction) { monstre.gotoAndStop('H'); } break; case 'B': vary = pas; if (newdirection != direction) { monstre.gotoAndStop('B'); } break; case 'G': varx = -pas; if (newdirection != direction) { monstre.gotoAndStop('G'); } break; case 'D': varx = pas; if (newdirection != direction) { monstre.gotoAndStop('D'); } break; default: if (newdirection == direction) break; monstre.gotoAndStop('G'); } direction = newdirection; if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function explose() { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } var direction = 'S'; var newdirection = 'S'; var pas = 8; var nextMove; var points = 150; var _vitesse = 100; var type; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre6 of movieClip 538 { onClipEvent (load) { if (String(_name) != 'monstre6') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre6') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { if (_root.tableau[(position()).x][(position()).y].charAt(0) == 'B') { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).detruit(); this.monstre.gotoAndPlay('mange'); nextMove = getTimer() + 1000; direction = 'S'; } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 544 { } movieClip 547 { frame 21 { gotoAndPlay(1); } } movieClip 551 { } movieClip 555 { } movieClip 559 { } movieClip 560 { frame 1 { stop(); } frame 20 { _root.duplicateCadeau(_root.flower, 'f', _parent._x, _parent._y); } frame 32 { _dead = true; stop(); } } movieClip 561 { frame 1 { function deplace() { pos = position(); x = pos.x; y = pos.y; varx = 0; vary = 0; direc = '1'; obstacle = '1MLB'; if (x * 40 + _root.xoffset == _x && y * 40 + _root.yoffset == _y) { if (obstacle.indexOf(_root.tableau[x - 1][y].charAt(0)) <= 0 && x > 0) { direc += 'G'; } if (obstacle.indexOf(_root.tableau[x][y - 1].charAt(0)) <= 0 && y > 0) { direc += 'H'; } if (obstacle.indexOf(_root.tableau[x + 1][y].charAt(0)) <= 0 && x < 12) { direc += 'D'; } if (obstacle.indexOf(_root.tableau[x][y + 1].charAt(0)) <= 0 && y < 12) { direc += 'B'; } if (direc.indexOf(direction) <= 0 || Math.floor(Math.random() * 100 % 5) == 1) { choix = Math.random() * 100 % (direc.length - 1) + 1; newdirection = direc.charAt(choix); } } else { if (_root.tableau[x][y].charAt(0) == 'B') { switch (newdirection) { case 'H': newdirection = 'B'; break; case 'B': newdirection = 'H'; break; case 'G': newdirection = 'D'; break; case 'D': newdirection = 'G'; } } } switch (newdirection) { case 'H': vary = -pas; if (newdirection != direction) { monstre.gotoAndStop('H'); } break; case 'B': vary = pas; if (newdirection != direction) { monstre.gotoAndStop('B'); } break; case 'G': varx = -pas; if (newdirection != direction) { monstre.gotoAndStop('G'); } break; case 'D': varx = pas; if (newdirection != direction) { monstre.gotoAndStop('D'); } break; default: if (newdirection == direction) break; monstre.gotoAndStop('G'); } direction = newdirection; if (varx != 0 || vary != 0) { _x = _x + varx; _y = _y + vary; if (bonus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).explose(); } if (malus.indexOf(_root.tableau[(position()).x][(position()).y].charAt(0)) >= 0) { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).active(); } } } function explose() { if (vies > 1) { --vies; monstre.halo._alpha = 0; } else { monstre.gotoAndPlay('explose'); nextMove = getTimer() + 2000; } } function position() { monObjet = new Object(); monObjet.x = Math.round((_x - _root.xoffset) / 40); monObjet.y = Math.round((_y - _root.yoffset) / 40); return monObjet; } var direction = 'S'; var newdirection = 'S'; var pas = 8; var nextMove; var points = 150; var _vitesse = 100; var type; var vies = 2; var bonus = 'CDEFGHIOPQRZf'; var malus = 'cdegz'; } } instance monstre3 of movieClip 561 { onClipEvent (load) { if (String(_name) != 'monstre3') { _root.monstres.push(_name); vies = 2; monstre.halo._alpha = 100; nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre3') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } movieClip 562 { } movieClip 563 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); _root.score += points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } var points = 500; } instance of movieClip 562 { onClipEvent (load) { } } } movieClip 565 { } movieClip 566 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); _root.score += points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } var points = 250; } instance of movieClip 565 { onClipEvent (load) { } } } movieClip 567 { } movieClip 568 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); _root.score += points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } var points = 1000; } instance of movieClip 567 { onClipEvent (load) { } } } movieClip 574 { frame 1 { stop(); } frame 11 { stop(); } frame 23 { stop(); } frame 32 { stop(); } } instance libson of movieClip 574 { onClipEvent (load) { stop(); } } movieClip 583 { } instance teleporte of movieClip 583 { onClipEvent (enterFrame) { if (String(_name) != 'teleporte' && nextMove < getTimer()) { if (_root.joueur1.hitTest(_x + 20, _y + 20)) { first = 0; trouve = false; i = 0; while (i < _root.teleportes.length) { if (Number((eval('_root.' + _root.teleportes[i])).type) == Number(type) + 1) { _root.libson.gotoAndPlay('teleportation'); (eval('_root.' + _root.teleportes[i])).nextMove = getTimer() + 2000; _root.joueur1._x = (eval('_root.' + _root.teleportes[i]))._x; _root.joueur1._y = (eval('_root.' + _root.teleportes[i]))._y; trouve = true; break; } if (Number((eval('_root.' + _root.teleportes[i])).type) < Number((eval('_root.' + _root.teleportes[first])).type)) { first = i; } ++i; } if (!trouve) { _root.libson.gotoAndPlay('teleportation'); (eval('_root.' + _root.teleportes[first])).nextMove = getTimer() + 2000; _root.joueur1._x = (eval('_root.' + _root.teleportes[first]))._x; _root.joueur1._y = (eval('_root.' + _root.teleportes[first]))._y; } } nextMove = getTimer() + 1000; } } } movieClip 588 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); joueur.telecommande = true; (eval(_root.interface)).refresh(); this.removeMovieClip(); } var points = 0; } } movieClip 592 { frame 1 { stop(); } frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; _root.libson.gotoAndPlay('bonus'); switch (type) { case '1': ++joueur.force; ++joueur._force_init; break; case '2': ++joueur.bombes; ++joueur._bombes_init; break; case '5': ++joueur.vie; } (eval(_root.interface)).refresh(); this.removeMovieClip(); } function open() { _open = true; if (type == '1') { gotoAndStop(2); } if (type == '2') { gotoAndStop(3); } if (type == '5') { gotoAndStop(4); } } var points = 0; } frame 2 { stop(); } } movieClip 596 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } var points = 0; } } movieClip 598 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function active() { if (_root.joueur1.force > 1) { --_root.joueur1.force; } (eval(_root.interface)).refresh(); _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } } instance of movieClip 328 { onClipEvent (load) { this.gotoAndStop(1); } } } movieClip 599 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function active() { if (_root.joueur1.bombes > 1) { --_root.joueur1.bombes; } (eval(_root.interface)).refresh(); _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } } } movieClip 600 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function active() { _root.joueur1._vitesse = 100; _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } var points = 100; } } movieClip 601 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function active() { if (_root.joueur1.vies > 1) { --_root.joueur1.vies; } (eval(_root.interface)).refresh(); _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } var points = 100; } } movieClip 605 { frame 1 { function explose() { _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } function active() { _root.joueur1.malusExplose = true; _root.tableau[(_x - _root.xoffset) / 40][(_y - _root.yoffset) / 40] = ''; this.removeMovieClip(); } var points = 0; } } instance joueur2 of movieClip 181 { onClipEvent (load) { force = 1; bombes = 1; _vitesse = 50; vies = 3; malusExplose = false; malusTaille = false; malusTouche = false; malusBombes = false; telecommande = false; myBombs = new Array(); } onClipEvent (enterFrame) { if (String(_name) != 'joueur2' && getTimer() > nextMove) { if (_dead) { _alpha = 0; nextMove = getTimer() + 5000; _dead = false; _root.joueur1._alpha = 0; if (!_root.mode2) { --_root.niveau; } if (vies > 0) { _root.gotoAndPlay('nouveauNiveau'); } else { _root.gotoAndPlay('perdu'); } } if (Key.isDown(66) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.bas(); } if (Key.isDown(71) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.haut(); } if (Key.isDown(86) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.gauche(); } if (Key.isDown(78) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.droite(); } if (Key.isDown(89) && myBombs.length > 0 && !_root.pause) { (eval('_root.' + myBombs.shift())).explose(); nextMove = getTimer() + 200; } if (Key.isDown(87) && !_root.pause) { varx = pos_x(); vary = pos_y(); if (bombes_actives < this.bombes && _root.tableau[varx][vary].charAt(0) != 'B') { bombe_panel = bombe_panel % 10 + 1; ++bombes_actives; bombe_level = 5100 + bombe_panel; duplicateMovieClip(_root.bombe, 'B' + bombe_level, bombe_level); eval(eval('_root.B' + bombe_level))._x = varx * 40 + _root.xoffset; eval(eval('_root.B' + bombe_level))._y = vary * 40 + _root.yoffset; if (telecommande) { (eval('_root.B' + bombe_level)).stop(); (eval('_root.B' + bombe_level)).bombe.stop(); myBombs.push('B' + bombe_level); } if (malusExplose) { (eval('_root.B' + bombe_level))._malus = true; } (eval('_root.B' + bombe_level)).parent = String(_name); (eval('_root.B' + bombe_level)).car = _root.tableau[varx][vary]; _root.tableau[varx][vary] = 'B' + bombe_level; } } if (getTimer() > invinsible) { i = 0; while (i < _root.monstres.length) { if (this.joueur.contour.hittest(eval('_root.' + _root.monstres[i]))) { invinsible = getTimer() + 2000; if ((eval('_root.' + _root.monstres[i])).type == '4') { this.malus(); } else { this.explose(); } } ++i; } } } } } movieClip 610 { frame 1 { function explose() { _root.tableau[Math.floor((_x - _root.xoffset) / 40)][Math.floor((_y - _root.yoffset) / 40)] = ''; this.removeMovieClip(); } function mange(joueur) { _root.tableau[Math.floor((_x - _root.xoffset) / 40)][Math.floor((_y - _root.yoffset) / 40)] = ''; _root.libson.gotoAndPlay('bonus'); _root.score += 50; (eval(_root.interface)).refresh(); this.removeMovieClip(); } } frame 17 { stop(); } } movieClip 613 { frame 1 { stop(); } frame 17 { reponsequest = ''; _x = 800; _y = 800; } } frame 96 { _root.interface.refresh(); _root.fond.gotoAndStop(_root.bgr); stop(); } button 618 { on (release) { duplicateMovieClip(_root.help, 'aide1', 15000); aide1._x = 300; aide1._y = 300; _root.pause = true; } } frame 108 { function detruitObjects() { x = 0; while (x < 13) { y = 0; while (y < 13) { if (length(_root.tableau[x][y]) > 0) { (eval('_root.' + tableau[x][y])).removeMovieClip(); } ++y; } ++x; } i = 0; while (i < monstres.length) { (eval('_root.' + monstres[i])).removeMovieClip(); ++i; } i = 0; while (i < teleportes.length) { (eval('_root.' + teleportes[i])).removeMovieClip(); ++i; } i = 0; while (i < bombes.length) { (eval('_root.' + bombes[i])).removeMovieClip(); ++i; } delete monstres; monstres = new Array(); delete teleportes; teleportes = new Array(); delete coffres; coffres = new Array(); delete bombes; bombes = new Array(); } detruitObjects(); _root.formulaire.gotoAndStop(1); if (_root.perdu) { _root.perdu = false; _root.formulaire.gotoAndStop(2); } else { if (arcade) { _root.niveau = random(25) + 1; _root.formulaire.gotoAndStop(2); } else { ++_root.niveau; if (!mode2) { if (_root.niveau == 1) { _root.formulaire.gotoAndStop(random(9) + 3); } else { if (_root.niveau % 5 == 1) { _root.formulaire.gotoAndStop(random(13) + 13); } else { _root.formulaire.gotoAndStop(2); } } } } } if (mode2) { niveau_txt._alpha = 0; niveau_txt2._alpha = 0; _root.formulaire.gotoAndStop(2); } else { niveau_txt._alpha = 100; niveau_txt2._alpha = 100; } if (_root.niveau == 26) { gotoAndPlay(139); } if (_root.joueur1 == null) { duplicateMovieClip(_root.joueur, 'joueur1', 10000); joueurs.push('joueur1'); _root.joueur1.vies = 3; } stop(); } button 627 { on (release) { rep = 0; if (Q1.getValue() == 2) { rep += 1; } if (Q2.getValue() == 1) { rep += 1; } if (Q3.getValue() == 3) { rep += 1; } if (Q4.getValue() == 3) { rep += 1; } if (Q5.getValue() == 2) { rep += 1; } if (rep == 2) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 631 { on (release) { rep = 0; if (Q1.getValue() == 2) { rep += 1; } if (Q2.getValue() == 1) { rep += 1; } if (Q3.getValue() == 3) { rep += 1; } if (Q4.getValue() == 3) { rep += 1; } if (Q5.getValue() == 2) { rep += 1; } if (rep == 2) { ++_root.joueur1.bombes; ++_root.joueur1._bombes_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus déodorant'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 634 { on (release) { rep = 0; if (Q1.getValue() == 2) { rep += 1; } if (Q2.getValue() == 1) { rep += 1; } if (Q3.getValue() == 3) { rep += 1; } if (Q4.getValue() == 3) { rep += 1; } if (Q5.getValue() == 2) { rep += 1; } if (rep == 2) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 650 { on (release) { if (Q1.getValue() == 1) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 652 { on (release) { if (Q1.getValue() == 2) { ++_root.joueur1.bombes; ++_root.joueur1._bombes_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus déodorant'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 654 { on (release) { if (Q1.getValue() == 3) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 656 { on (release) { if (Q1.getValue() == 1) { ++_root.joueur1.bombes; ++_root.joueur1._bombes_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus déodorant'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 658 { on (release) { if (Q1.getValue() == 1) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 660 { on (release) { if (Q1.getValue() == 2) { ++_root.joueur1.bombes; ++_root.joueur1._bombes_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus déodorant'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 664 { on (release) { if (Q1.getValue() == 3) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 668 { on (release) { if (Q1.getValue() == 1) { ++_root.joueur1.bombes; ++_root.joueur1._bombes_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus déodorant'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 670 { on (release) { if (Q1.getValue() == 2) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 672 { on (release) { if (Q1.getValue() == 3) { ++_root.joueur1.bombes; ++_root.joueur1._bombes_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus déodorant'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 674 { on (release) { if (Q1.getValue() == 1) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 676 { on (release) { if (Q1.getValue() == 1) { ++_root.joueur1.bombes; ++_root.joueur1._bombes_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus déodorant'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } button 678 { on (release) { if (Q1.getValue() == 1) { ++_root.joueur1.force; ++_root.joueur1._force_init; _root.reponse.reponsequest = 'Bravo, vous avez gagner un bonus Puissance'; } else { _root.reponse.reponsequest = 'Perdu, vous devriez visiter le site axe.tm.fr'; } _root.reponse._x = 300; _root.reponse._y = 300; _root.reponse.play(); _parent.play(); } } movieClip 679 { frame 1 { stop(); } frame 2 { _parent.play(); } frame 3 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '100 ml'; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '150 ml'; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '200 ml'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '50 ml'; initialState = false; groupName = 'Q2'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '80 ml'; initialState = false; groupName = 'Q2'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '100 ml'; initialState = false; groupName = 'Q2'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '20 ml'; initialState = false; groupName = 'Q3'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '35 ml'; initialState = false; groupName = 'Q3'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '50 ml'; initialState = false; groupName = 'Q3'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '50 ml'; initialState = false; groupName = 'Q2'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '80 ml'; initialState = false; groupName = 'Q2'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '100 ml'; initialState = false; groupName = 'Q2'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '80 ml'; initialState = false; groupName = 'Q5'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '100 ml'; initialState = false; groupName = 'Q5'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '150 ml'; initialState = false; groupName = 'Q5'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '20 ml'; initialState = false; groupName = 'Q3'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '35 ml'; initialState = false; groupName = 'Q3'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '50 ml'; initialState = false; groupName = 'Q3'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '150 ml'; initialState = false; groupName = 'Q4'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '200 ml'; initialState = false; groupName = 'Q4'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '250 ml'; initialState = false; groupName = 'Q4'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '150 ml'; initialState = false; groupName = 'Q4'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '200 ml'; initialState = false; groupName = 'Q4'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '250 ml'; initialState = false; groupName = 'Q4'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '80 ml'; initialState = false; groupName = 'Q5'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '100 ml'; initialState = false; groupName = 'Q5'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '150 ml'; initialState = false; groupName = 'Q5'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '20 ml'; initialState = false; groupName = 'Q3'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '35 ml'; initialState = false; groupName = 'Q3'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '50 ml'; initialState = false; groupName = 'Q3'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '100 ml'; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '150 ml'; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '200 ml'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '150 ml'; initialState = false; groupName = 'Q4'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '200 ml'; initialState = false; groupName = 'Q4'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '250 ml'; initialState = false; groupName = 'Q4'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '50 ml'; initialState = false; groupName = 'Q2'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '80 ml'; initialState = false; groupName = 'Q2'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '100 ml'; initialState = false; groupName = 'Q2'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 13 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Re-load'; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Contact '; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Lendemain difficile'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 14 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 1; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 2; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 4; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 15 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '6h00'; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '12h00'; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = '24h00'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 16 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Rouge'; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Bleu'; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Vert'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 17 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Energisants '; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Revitalisants '; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Hydratants'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 18 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Pulse '; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Voodoo '; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Marine '; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 19 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Africa '; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Musk '; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Phoenix '; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 20 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Vert'; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Orange'; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Jaune'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 21 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 2; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 3; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Tous'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 22 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Noir'; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Blanc'; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Gris'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 23 { } frame 24 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'photos de la tournée des plages Axe '; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Des photos de stars qui utilisent Axe '; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Des pubs Axe'; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } frame 25 { } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Anglet '; initialState = false; groupName = 'Q1'; data = 1; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Capbreton '; initialState = false; groupName = 'Q1'; data = 2; labelPlacement = 'right'; changeHandler = ''; } } instance of movieClip 64 FRadioButtonSymbol { onClipEvent (initialize) { label = 'Saint Malo '; initialState = false; groupName = 'Q1'; data = 3; labelPlacement = 'right'; changeHandler = ''; } } } movieClip 682 { } movieClip 685 { frame 18 { stop(); } } instance bombe of movieClip 295 { onClipEvent (load) { if (String(_name) == 'bombe') { this.gotoAndStop('End'); } else { _root.bombes.push(_name); exploseTime = getTimer() + 999999; } } onClipEvent (enterFrame) { if (String(_name) != 'bombe') { if (this._explose && !this._remove) { this.gotoAndPlay('Boom'); } if (this._remove && getTimer() > exploseTime) { this.removeMovieClip(); } if (_malus) { stop(); bombe.stop(); exploseTime = getTimer() + (random(10) + 1) * 1000; _malus = false; } if (getTimer() > exploseTime) { this._explose = true; } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.bombes.length) { if (_root.bombes[cpt] == _name) { _root.bombes.splice(cpt, 1); } ++cpt; } } } instance joueur of movieClip 138 { onClipEvent (load) { force = 1; bombes = 1; vies = 3; _force_init = 1; _bombes_init = 1; _vitesse = 50; malusExplose = false; malusTaille = false; malusTouche = false; malusBombes = false; telecommande = false; myBombs = new Array(); } onClipEvent (enterFrame) { if (String(_name) != 'joueur' && getTimer() > nextMove) { if (_dead) { _alpha = 0; nextMove = getTimer() + 5000; _dead = false; _force_init = 1; _bombes_init = 1; _root.j2._alpha = 0; if (!_root.mode2) { _root.perdu = true; } if (vies > 0) { _root.gotoAndPlay('nouveauNiveau'); } else { _root.gotoAndPlay('perdu'); } } if (Key.isDown(40) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.bas(); } if (Key.isDown(38) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.haut(); } if (Key.isDown(37) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.gauche(); } if (Key.isDown(39) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.droite(); } if (Key.isDown(80)) { nextMove = getTimer() + 200; _root.pause = !_root.pause; cpt = 0; while (cpt < _root.bombes.length) { if (_root.pause) { (eval('_root.' + _root.bombes[cpt] + '.bombe')).stop(); (eval('_root.' + _root.bombes[cpt])).stop(); } else { (eval('_root.' + _root.bombes[cpt] + '.bombe')).play(); (eval('_root.' + _root.bombes[cpt])).play(); } ++cpt; } } if (Key.isDown(13) && myBombs.length > 0 && !_root.pause) { (eval('_root.' + myBombs.shift())).explose(); nextMove = getTimer() + 200; } if (Key.isDown(16) && !_root.pause) { varx = pos_x(); vary = pos_y(); if (bombes_actives < this.bombes && ' BT'.indexOf(_root.tableau[varx][vary].charAt(0)) <= 0) { bombe_panel = bombe_panel % 10 + 1; ++bombes_actives; bombe_level = 5000 + bombe_panel; duplicateMovieClip(_root.bombe, 'B' + bombe_level, bombe_level); eval(eval('_root.B' + bombe_level))._x = varx * 40 + _root.xoffset; eval(eval('_root.B' + bombe_level))._y = vary * 40 + _root.yoffset; if (telecommande) { (eval('_root.B' + bombe_level)).stop(); (eval('_root.B' + bombe_level)).bombe.stop(); myBombs.push('B' + bombe_level); } if (malusExplose) { (eval('_root.B' + bombe_level))._malus = true; } (eval('_root.B' + bombe_level)).parent = String(_name); (eval('_root.B' + bombe_level)).car = _root.tableau[varx][vary]; _root.tableau[varx][vary] = 'B' + bombe_level; } } if (getTimer() > invinsible) { i = 0; while (i < _root.monstres.length) { if (this.joueur.contour.hittest(eval('_root.' + _root.monstres[i]))) { invinsible = getTimer() + 2000; if ((eval('_root.' + _root.monstres[i])).type == '4') { this.malus(); } else { this.explose(); } } ++i; } } } } } instance monstre2 of movieClip 324 { onClipEvent (load) { if (String(_name) != 'monstre2') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre2') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance porte of movieClip 357 { onClipEvent (load) { this.isActivate = false; } onClipEvent (enterFrame) { if (String(_name) != 'porte' && nextMove < getTimer()) { if (_root.monstres.length <= 0 && !this.isActivate) { this.porte.gotoAndPlay(2); this.isActivate = true; } if (_root.monstres.length > 0 && this.isActivate) { this.porte.gotoAndStop(1); this.isActivate = false; } if (_root.monstres.length <= 0 && _root.joueur1.hitTest(_x + 20, _y + 20)) { _root.joueur1._alpha = 0; _root.gotoAndPlay('nouveauNiveau'); } nextMove = getTimer() + 150; } } } instance trappe of movieClip 358 { onClipEvent (load) { newMonstre = getTimer() + 10000; i = 1400; monstre_ok = false; } onClipEvent (enterFrame) { if (String(_name) != 'trappe') { if (_root.monstres.length <= 5 && getTimer() > newMonstre) { newMonstre = getTimer() + 10000; this.gotoAndPlay(2); } if (monstre_ok) { monstre_ok = false; duplicateMovieClip('_root.monstre' + type, 'A' + i, i); eval('_root.A' + i)._x = this._x; eval('_root.A' + i)._y = this._y; ++i; } } } } instance monstre7 of movieClip 387 { onClipEvent (load) { if (String(_name) != 'monstre7') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre7') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance monstre1 of movieClip 426 { onClipEvent (load) { if (String(_name) != 'monstre1') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre1') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance monstre4 of movieClip 439 { onClipEvent (load) { if (String(_name) != 'monstre4') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre4') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance monstre8 of movieClip 458 { onClipEvent (load) { if (String(_name) != 'monstre8') { _root.monstres.push(_name); poseBombe = getTimer() + Math.random() * 10000 + 1000; force = 2; nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre8') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; if (getTimer() > poseBombe) { varx = (position()).x; vary = (position()).y; poseBombe = getTimer() + Math.random() * 10000 + 1000; bombe_panel = bombe_panel % 10 + 1; depth = 1100 + bombe_panel; duplicateMovieClip(_root.bombe, 'B' + depth, depth); eval(eval('_root.B' + depth))._x = varx * 40 + _root.xoffset; eval(eval('_root.B' + depth))._y = vary * 40 + _root.yoffset; (eval('_root.B' + depth)).parent = String(_name); (eval('_root.B' + depth)).car = _root.tableau[varx][vary]; _root.tableau[varx][vary] = 'B' + depth; } } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance monstre5 of movieClip 483 { onClipEvent (load) { if (String(_name) != 'monstre5') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre5') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance monstre9 of movieClip 514 { onClipEvent (load) { if (String(_name) != 'monstre9') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre9') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); if (_xscale > 50) { cpt = 0; while (cpt < 3) { duplicateMovieClip(_root.monstre9, 'A' + _root.i, _root.i); eval('_root.A' + _root.i)._x = Math.floor(this._x / 40) * 40 + 10; eval('_root.A' + _root.i)._y = Math.floor(this._y / 40) * 40 + 10; eval(eval('_root.A' + _root.i))._xscale = 50; eval(eval('_root.A' + _root.i))._yscale = 50; _root.objets.push('A' + _root.i); ++_root.i; ++cpt; } } this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance monstre6 of movieClip 538 { onClipEvent (load) { if (String(_name) != 'monstre6') { _root.monstres.push(_name); nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre6') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { if (_root.tableau[(position()).x][(position()).y].charAt(0) == 'B') { (eval('_root.' + _root.tableau[(position()).x][(position()).y])).detruit(); this.monstre.gotoAndPlay('mange'); nextMove = getTimer() + 1000; direction = 'S'; } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance monstre3 of movieClip 561 { onClipEvent (load) { if (String(_name) != 'monstre3') { _root.monstres.push(_name); vies = 2; monstre.halo._alpha = 100; nextMove = getTimer() + random(5) * 100; } } onClipEvent (enterFrame) { if (!_root.pause && String(_name) != 'monstre3') { if (getTimer() > nextMove) { if (this.monstre._dead) { _root.score += this.points; (eval(_root.interface)).refresh(); this.removeMovieClip(); } else { this.deplace(); nextMove = getTimer() + _vitesse; } } } } onClipEvent (unload) { cpt = 0; while (cpt < _root.monstres.length) { if (_root.monstres[cpt] == _name) { _root.monstres.splice(cpt, 1); } ++cpt; } } } instance libson of movieClip 574 { onClipEvent (load) { stop(); } } instance teleporte of movieClip 583 { onClipEvent (enterFrame) { if (String(_name) != 'teleporte' && nextMove < getTimer()) { if (_root.joueur1.hitTest(_x + 20, _y + 20)) { first = 0; trouve = false; i = 0; while (i < _root.teleportes.length) { if (Number((eval('_root.' + _root.teleportes[i])).type) == Number(type) + 1) { _root.libson.gotoAndPlay('teleportation'); (eval('_root.' + _root.teleportes[i])).nextMove = getTimer() + 2000; _root.joueur1._x = (eval('_root.' + _root.teleportes[i]))._x; _root.joueur1._y = (eval('_root.' + _root.teleportes[i]))._y; trouve = true; break; } if (Number((eval('_root.' + _root.teleportes[i])).type) < Number((eval('_root.' + _root.teleportes[first])).type)) { first = i; } ++i; } if (!trouve) { _root.libson.gotoAndPlay('teleportation'); (eval('_root.' + _root.teleportes[first])).nextMove = getTimer() + 2000; _root.joueur1._x = (eval('_root.' + _root.teleportes[first]))._x; _root.joueur1._y = (eval('_root.' + _root.teleportes[first]))._y; } } nextMove = getTimer() + 1000; } } } instance joueur2 of movieClip 181 { onClipEvent (load) { force = 1; bombes = 1; _vitesse = 50; vies = 3; malusExplose = false; malusTaille = false; malusTouche = false; malusBombes = false; telecommande = false; myBombs = new Array(); } onClipEvent (enterFrame) { if (String(_name) != 'joueur2' && getTimer() > nextMove) { if (_dead) { _alpha = 0; nextMove = getTimer() + 5000; _dead = false; _root.joueur1._alpha = 0; if (!_root.mode2) { --_root.niveau; } if (vies > 0) { _root.gotoAndPlay('nouveauNiveau'); } else { _root.gotoAndPlay('perdu'); } } if (Key.isDown(66) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.bas(); } if (Key.isDown(71) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.haut(); } if (Key.isDown(86) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.gauche(); } if (Key.isDown(78) && !_root.pause) { nextMove = getTimer() + this._vitesse; this.droite(); } if (Key.isDown(89) && myBombs.length > 0 && !_root.pause) { (eval('_root.' + myBombs.shift())).explose(); nextMove = getTimer() + 200; } if (Key.isDown(87) && !_root.pause) { varx = pos_x(); vary = pos_y(); if (bombes_actives < this.bombes && _root.tableau[varx][vary].charAt(0) != 'B') { bombe_panel = bombe_panel % 10 + 1; ++bombes_actives; bombe_level = 5100 + bombe_panel; duplicateMovieClip(_root.bombe, 'B' + bombe_level, bombe_level); eval(eval('_root.B' + bombe_level))._x = varx * 40 + _root.xoffset; eval(eval('_root.B' + bombe_level))._y = vary * 40 + _root.yoffset; if (telecommande) { (eval('_root.B' + bombe_level)).stop(); (eval('_root.B' + bombe_level)).bombe.stop(); myBombs.push('B' + bombe_level); } if (malusExplose) { (eval('_root.B' + bombe_level))._malus = true; } (eval('_root.B' + bombe_level)).parent = String(_name); (eval('_root.B' + bombe_level)).car = _root.tableau[varx][vary]; _root.tableau[varx][vary] = 'B' + bombe_level; } } if (getTimer() > invinsible) { i = 0; while (i < _root.monstres.length) { if (this.joueur.contour.hittest(eval('_root.' + _root.monstres[i]))) { invinsible = getTimer() + 2000; if ((eval('_root.' + _root.monstres[i])).type == '4') { this.malus(); } else { this.explose(); } } ++i; } } } } } frame 127 { function distribue(chaine) { myArray = chaine.split(','); cpt = 0; while (cpt < myArray.length) { varx = random(11); vary = random(11); if (length(_root.tableau[varx + 1][vary + 1]) <= 0 && varx - joueur1_x + vary - joueur1_y >= 2) { _root.tableau[varx + 1][vary + 1] = myArray[cpt]; ++cpt; } } } function distribue2(chaine) { listeMurs = new Array(); myArray = chaine.split(','); x = 0; while (x < 13) { y = 0; while (y < 13) { if (_root.tableau[x][y].charAt(0) == 'L') { listeMurs.push([x, y]); } ++y; } ++x; } cpt = 0; while (cpt < myArray.length) { myVar = random(listeMurs.length); _root.tableau[listeMurs[myVar][0]][listeMurs[myVar][1]] = myArray[cpt]; listeMurs.splice(myVar, 1); ++cpt; } delete myArray; } function affiche() { i = 1; x = 0; while (x < 13) { y = 0; while (y < 13) { car0 = _root.tableau[x][y].charAt(0); car1 = _root.tableau[x][y].charAt(1); switch (car0) { case 'M': duplicateClip(_root.mur1, 'M' + i, i, x, y); break; case 'J': if (car1 == '1') { joueur1._x = x * 40 + _root.xoffset; joueur1._y = y * 40 + _root.yoffset; _root.joueur1.joueur.gotoAndStop(1); _root.joueur1.init(); _root.tableau[x][y] = ''; } if (car1 == '2') { if (_root.j2 == null) { duplicateMovieClip(_root.joueur2, 'j2', 11000); joueurs.push('j2'); _root.j2.vies = 3; } j2._x = x * 40 + _root.xoffset; j2._y = y * 40 + _root.yoffset; _root.j2.joueur.gotoAndStop(1); _root.j2.init(); _root.tableau[x][y] = ''; } break; case 'A': duplicateClip('_root.monstre' + car1, 'A' + i, 500 + i, x, y); (eval('A' + i)).type = car1; _root.tableau[x][y] = ''; break; case 'c': case 'C': case 'd': case 'D': case 'e': case 'E': case 'F': case 'g': case 'G': case 'H': case 'I': case 'K': case 'L': case 'O': case 'P': case 'Q': case 'R': case 'U': case 'z': case 'Z': duplicateClip(_root.brique1, 'L' + i, i, x, y); (eval('L' + i)).type = car0; (eval('L' + i)).vies = car1; break; case 'V': duplicateClip(_root.coffre, 'V' + i, i, x, y); (eval('V' + i)).type = car1; coffres.push('V' + i); break; case 'W': duplicateClip(_root.teleporte, 'W' + i, i, x, y); (eval('W' + i)).type = car1; teleportes.push('W' + i); _root.tableau[x][y] = ''; break; case 'Y': duplicateClip(_root.trappe, 'Y' + i, i, x, y); (eval('Y' + i)).type = Number(car1); break; default: _root.tableau[x][y] = ''; } ++i; ++y; } ++x; } } function crypt(val, passWord) { input = val; result = ''; code = 0; charCount = 1; while (charCount <= passWord.length) { code += ord(substring(passWord, charCount, 1)); ++charCount; } charCount = 1; while (charCount <= input.length) { encChar = ord(substring(input, charCount, 1)) + code; result += encChar add '-'; ++charCount; } input = ''; return substring(result, 1, result.length - 1); } function duplicateClip(clip, name, i, x, y) { duplicateMovieClip(clip, name, i); eval(name)._x = x * 40 + _root.xoffset; eval(name)._y = y * 40 + _root.yoffset; _root.tableau[x][y] = name; } function duplicateCadeau(clip, name, x, y) { if (name == 'f' && _root.tableau[Math.floor((x - _root.xoffset) / 40)][Math.floor((y - _root.yoffset) / 40)].charAt(0) != '') { return ''; } duplicateMovieClip(clip, name + i, i); eval(name + i)._x = x; eval(name + i)._y = y; _root.tableau[Math.floor((x - _root.xoffset) / 40)][Math.floor((y - _root.yoffset) / 40)] = name + i; ++i; } if (niveau == 1) { _root.tableau[0].splice(0, 13, 'J1', ' ', '', 'L1', '', 'L1', '', 'L1', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L1', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', '', 'L1', '', 'L1', '', 'L1', '', '', 'A2', '', ''); _root.tableau[3].splice(0, 13, 'L1', 'M1', 'L1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L1', 'M1', ''); _root.tableau[4].splice(0, 13, '', '', '', '', 'A1', 'L1', '', 'L1', '', '', '', '', ''); _root.tableau[5].splice(0, 13, 'L1', 'M1', 'L1', 'M1', 'L1', 'M1', '', 'M1', 'L1', 'M1', 'L1', 'M1', 'L1'); _root.tableau[6].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', ''); _root.tableau[7].splice(0, 13, 'L1', 'M1', 'L1', 'M1', 'L1', 'M1', '', 'M1', 'L1', 'M1', 'L1', 'M1', 'L1'); _root.tableau[8].splice(0, 13, '', '', '', '', '', 'L1', '', 'L1', '', '', '', '', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L1', 'M1', 'L1'); _root.tableau[10].splice(0, 13, '', 'L1', 'A2', 'L1', '', 'L1', '', 'L1', '', 'L1', 'A1', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', 'L1', '', 'L1', '', 'L1', '', '', ''); chaine2 = 'K1,F1,c1,C1,C1,D1'; chaine = ''; _root.bgr = 2; distribue(chaine); distribue2(chaine2); } if (niveau == 2) { _root.tableau[0].splice(0, 13, '', ' ', '', 'M1', '', 'M1', 'A1', ' ', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'L1', '', '', '', 'L1', '', 'M1', '', 'L1', 'A3', '', ''); _root.tableau[3].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', '', '', 'L1', '0', '0', '', '', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '0', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'A2', 'L1', '', 'L1', '', 'M1', 'J1', 'M1', '', 'L1', '', 'L1', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '0', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', '', '', 'L1', '0', '0', '', '', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'L1', '', '', '', 'L1', '', 'M1', '', 'L1', 'A1', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', 'M1', '', 'M1', '', '', '', '', '', '', ''); chaine2 = 'K1,C1,D1,C1,D1,O1,P1,c1'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 3) { _root.tableau[0].splice(0, 13, '', ' ', '', 'M1', '', 'M1', 'A1', ' ', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', '', '', '', '', '', 'M1', '', '', '', '', ''); _root.tableau[3].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'L1', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', 'L1', '', 'L1', '0', 'L1', '', 'L1', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '0', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'A2', 'L1', 'A3', 'L1', '', 'M1', 'J1', 'M1', '', 'L1', 'A3', 'L1', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '0', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', 'L1', '', 'L1', '0', 'L1', '', 'L1', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'L1', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', '', '', '', '', '', '', 'M1', '', '', 'A2', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', 'M1', '', 'M1', '', '', '', '', '', '', ''); chaine2 = 'C1,D1,K1,d1,E1,C1,D1,O1'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 4) { _root.tableau[0].splice(0, 13, 'A3', '', '', '', '', 'M1', '', 'M1', '', '', '', '', 'A2'); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'L1', '', '', '', '', '', 'L1', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'L1', '', 'M1', '', 'M1', '', '', '', 'L1', '', 'L1', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'A4', 'L1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'L2', 'M1', '', 'M1', 'A1', 'L2', 'L2', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2'); _root.tableau[7].splice(0, 13, '', 'M1', '', 'L1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'L1', '', 'M1', '', 'M1', '', '', '', 'L1', '', 'L1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '0'); _root.tableau[10].splice(0, 13, '', 'M1', '', 'L1', '', '', '', '', '', 'L1', '', 'M1', '0'); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '0'); _root.tableau[12].splice(0, 13, 'A3', '', '', '', '', '', 'M1', '', '0', '0', '0', '0', 'J1'); chaine2 = 'K2,C1,D1,D2,C2,c1,d1,O1,P2,F2'; chaine = ''; _root.bgr = 4; distribue(chaine); distribue2(chaine2); } if (niveau == 5) { _root.tableau[0].splice(0, 13, '', '', '', '', '', 'M1', '', 'M1', '', '', '', '', 'A2'); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', '', '', '', '', '', '', '', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', '', '', '', '', '', 'L2', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'L2', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'M1', 'A2', 'M1', 'A1', 'L2', 'A3', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'L2', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', '', '', '', '', '', 'L2', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', '0'); _root.tableau[10].splice(0, 13, '', 'M1', '', '', '', '', '', '', '', '', '', 'M1', '0'); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', '0'); _root.tableau[12].splice(0, 13, 'A3', '', '', '', '', '', 'M1', '', '0', '0', '0', '0', 'J1'); chaine2 = 'K2,C1,D1,D2,D2,G2,e2,d2,E2,O2,P2'; chaine = ''; _root.bgr = 4; distribue(chaine); distribue2(chaine2); } if (niveau == 6) { _root.tableau[0].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', ''); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'A3', '', 'M1', '', 'M1', '', '', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', 'A1', 'L2', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', '', '', 'M1', '0', 'M1', '', '', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '0', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[6].splice(0, 13, '', '', '', 'L2', '0', '0', 'J1', '0', '0', 'L2', '', '', ''); _root.tableau[7].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '0', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', 'A4', '', 'M1', '0', 'M1', '', '', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', '', 'L2', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', '', '', 'M1', '', 'M1', '', 'A2', '', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', '', 'A5', '', '', '', '', '', ''); chaine2 = 'K2,C2,D2,F2,Q2,R2,c2'; chaine = ''; _root.bgr = 5; distribue(chaine); distribue2(chaine2); } if (niveau == 7) { _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'A3', '', 'M1', '', 'M1', '', '', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', '', 'L2', '', 'L2', '', 'M1', 'Y1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', '', '', 'M1', '0', 'M1', '', '', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'M1', 'L2', 'M1', 'M1', '0', 'M1', 'M1', 'L2', 'M1', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'L2', '', '', '0', '0', 'J1', '0', '0', '', '', 'L2', ''); _root.tableau[7].splice(0, 13, '', 'M1', 'M1', 'L2', 'M1', 'M1', '0', 'M1', 'M1', 'L2', 'M1', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', 'A4', '', 'M1', '0', 'M1', '', '', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'L2', '', 'L2', '', 'M1', '', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', '', '', 'M1', '', 'M1', '', 'A2', '', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', 'A5', '', '', '', '', '', '', '', ''); chaine2 = 'K2,C2,D2,E2,Q2,P2,c2,e2'; chaine = ''; _root.bgr = 5; distribue(chaine); distribue2(chaine2); } if (niveau == 8) { _root.tableau[0].splice(0, 13, 'J1', ' ', 'M1', ' ', '', 'M1', 'A1', 'M1', '', '', '', 'L3', ''); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', 'L2', '', 'A2', 'L2', '', 'L2', '', '', 'M1', '', ''); _root.tableau[3].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', '', 'M1', '', '', '', 'M1', '', 'A3', '', '', 'L2', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'L2', 'A6', 'L1', '', '', 'L3', '', '', '', '', 'L1', ''); _root.tableau[7].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', '', 'L2', '', '', '', 'M1', '', '', '', '', 'L2', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', '', 'M1', '', '', 'L2', '', 'L2', '', '', 'M1', '', 'A5'); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'A4', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', 'L3', '', '', 'M1', '', 'M1', '', '', '', 'L3', ''); chaine2 = 'K3,C2,D2,C2,D2,I2,F2,O2,P2,c2,d2,e2'; chaine = ''; _root.bgr = 6; distribue(chaine); distribue2(chaine2); } if (niveau == 9) { _root.tableau[0].splice(0, 13, 'J1', ' ', 'M1', ' ', '', 'M1', 'A4', 'M1', '', '', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', '', '', '', 'L2', '', 'L2', '', '', 'M1', '', 'A3'); _root.tableau[3].splice(0, 13, 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', '', 'M1', '', 'A6', '', 'M1', '', '', '', '', '', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'M1', 'M1', 'L3', 'M1', 'M1', 'M1', 'L2', 'M1', 'L3', 'M1', 'L3'); _root.tableau[6].splice(0, 13, '', '', '', '', '', '', '', '', 'A5', '', '', '', ''); _root.tableau[7].splice(0, 13, 'L3', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'L2', 'M1', ''); _root.tableau[8].splice(0, 13, 'A4', '', '', '', '', '', 'M1', '', '', '', '', '', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'M1', 'M1', 'L3', 'M1', 'M1', 'M1', 'L3', 'M1', 'M1', 'M1', 'L2'); _root.tableau[10].splice(0, 13, '', '', 'M1', '', '', '', '', '', '', '', 'M1', '', ''); _root.tableau[11].splice(0, 13, 'L3', 'M1', 'M1', 'M1', 'L2', 'M1', '', 'M1', 'L3', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', 'M1', 'Y2', 'M1', '', '', '', '', ''); chaine2 = 'K3,C2,D2,C3,D3,Z3,c2,d2,c2,g3,P3,Q3'; chaine = ''; _root.bgr = 6; distribue(chaine); distribue2(chaine2); } if (niveau == 10) { _root.tableau[0].splice(0, 13, 'J1', '', 'M1', ' ', '', 'L3', '', 'L3', '', ' ', 'M1', ' ', 'A5'); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', '', '', '', 'L2', '', 'L2', '', '', '', '', ''); _root.tableau[3].splice(0, 13, 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', '', '', '', '', 'M1', '', 'M1', '', '', '', 'L2', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'M1', 'L2', 'M1', '', 'L3', '', 'L2', '', 'M1', 'Y2', 'M1', 'L3'); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'A7', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', '', '', '', 'A4', 'M1', '', 'M1', '', '', '', 'L2', ''); _root.tableau[9].splice(0, 13, 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', '', 'L2', '', '', 'L2', '', 'L3', '', '', '', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, 'A6', '', 'M1', '', '', 'L1', '', 'L1', '', '', 'M1', '', 'A3'); chaine2 = 'K3,C2,D2,C3,D3,c2,d2,d2,e2,I2,F3,R3,O2'; chaine = ''; _root.bgr = 7; distribue(chaine); distribue2(chaine2); } if (niveau == 11) { _root.tableau[0].splice(0, 13, 'J1', '', 'M1', ' ', '', '', '', '', '', ' ', 'M1', ' ', 'A5'); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'L3', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', '', '', '', 'L3', '', '', '', '', '', '', ''); _root.tableau[3].splice(0, 13, 'L2', 'M1', 'M1', 'M1', 'L3', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, 'A6', '', '', '', '', 'M1', '', 'M1', '', '', '', 'L3', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', 'L2', 'M1', 'L3', 'M1', '', 'M1', 'L2', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'M1', '', 'M1', '', '', '', 'Y3', '', 'M1', 'V1', 'M1', 'L2'); _root.tableau[7].splice(0, 13, '', 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'L3', '', '', 'A4', 'M1', '', 'M1', '', '', '', 'L3', ''); _root.tableau[9].splice(0, 13, 'L3', 'M1', 'M1', 'M1', 'L3', 'M1', '', 'M1', 'L3', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', '', '', '', '', '', '', 'L2', '', '', '', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'L3', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, 'A6', '', 'M1', '', '', 'L2', '', '', '', '', 'M1', '', 'A7'); chaine2 = 'K3,C2,D2,C3,D3,E3,F3,U3,c2,d2,d2,g1,Q3,O2'; chaine = ''; _root.bgr = 7; distribue(chaine); distribue2(chaine2); } if (niveau == 12) { _root.tableau[0].splice(0, 13, 'J1', '', '', 'L2', 'A7', '', '', '', '', 'M1', '', 'L3', 'V2'); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', '', 'L3', '', 'M1', 'M1'); _root.tableau[2].splice(0, 13, '', '', '', 'M1', '', 'L2', '', 'L2', '', 'M1', '', '', ''); _root.tableau[3].splice(0, 13, 'L3', 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2'); _root.tableau[4].splice(0, 13, '', '', '', 'M1', '', 'L2', '', 'L1', '', 'M1', '', '', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'L3', '', 'M1', 'M1', 'M1', '', '', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'L3', 'M1', '', 'M1', '', '', '', '', 'A8', 'M1', 'L3', 'M1', ''); _root.tableau[7].splice(0, 13, 'A3', 'M1', '', 'L3', '', 'M1', 'M1', 'M1', '', '', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', '', '', 'M1', '', 'L3', '', 'L2', '', 'M1', '', '', ''); _root.tableau[9].splice(0, 13, 'L2', 'M1', 'M1', 'M1', 'M1', 'M1', 'A4', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2'); _root.tableau[10].splice(0, 13, '', 'A6', '', 'M1', '', 'L2', '', 'L2', '', 'M1', '', '', ''); _root.tableau[11].splice(0, 13, 'M1', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', 'M1', '', '', 'A5', '', '', 'L2', '', '', 'Y2'); chaine2 = 'K3,C1,C3,D2,D3,G3,Z3,O3,P3,R3,c1,c2,d3,g1,U3'; chaine = ''; _root.bgr = 8; distribue(chaine); distribue2(chaine2); } if (niveau == 13) { _root.tableau[0].splice(0, 13, '', '', '', 'M1', 'A5', '', '', '', '', 'M1', '', 'L2', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'W3', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', 'A3', 'M1', '', '', '', '', '', 'M1', '', '', ''); _root.tableau[3].splice(0, 13, 'L3', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'L3', 'M1', 'L3'); _root.tableau[4].splice(0, 13, '', '', '', 'M1', '', '', '', '', '', 'M1', '', '', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'L3', '', 'M1', 'M1', 'M1', '', 'L3', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'J1', 'M1', '', 'M1', '', 'L3', 'Y2', 'L3', 'A6', 'M1', 'A7', 'W1', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'L3', '', 'M1', 'M1', 'M1', '', 'L3', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', '', '', 'M1', '', '', '', '', '', 'M1', '', '', ''); _root.tableau[9].splice(0, 13, 'L3', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'L3', 'M1', 'L3'); _root.tableau[10].splice(0, 13, '', '', '', 'M1', 'A4', '', '', '', '', 'M1', '', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'W2', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', 'M1', '', '', '', '', '', 'M1', '', 'L2', ''); chaine2 = 'K3,C2,C3,D2,D3,c2,d2,E3,F2,I2,R3,g3'; chaine = ''; _root.bgr = 8; distribue(chaine); distribue2(chaine2); } if (niveau == 14) { _root.tableau[0].splice(0, 13, 'Y5', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', '', 'M1'); _root.tableau[1].splice(0, 13, '', 'L2', '', 'L2', '', 'L2', '', '', 'A7', '', '', '', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', '', 'M1'); _root.tableau[3].splice(0, 13, '', '', '', '', '', '', '', '', '', 'L2', '', '', ''); _root.tableau[4].splice(0, 13, 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', 'L3', 'M1', 'M1', 'M1', 'M1', 'L2'); _root.tableau[5].splice(0, 13, 'M1', '', 'M1', '', 'M1', '', 'M1', '', '', 'A2', '', '', ''); _root.tableau[6].splice(0, 13, 'M1', 'J1', 'M1', 'L2', 'M1', 'A6', 'M1', 'M1', 'M1', '', 'M1', 'M1', ''); _root.tableau[7].splice(0, 13, 'M1', '', 'M1', '', 'M1', '', 'M1', '', '', '', 'A3', '', ''); _root.tableau[8].splice(0, 13, 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', 'L3', 'M1', 'M1', 'M1', 'M1', 'L2'); _root.tableau[9].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', '', 'M1'); _root.tableau[11].splice(0, 13, '', 'L2', '', 'L2', '', 'L2', '', '', 'A8', '', '', '', ''); _root.tableau[12].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', '', 'M1'); chaine2 = 'K3,D2,C2,C3,D3,z1,c1,d2,R3,F2'; chaine = ''; _root.bgr = 9; distribue(chaine); distribue2(chaine2); } if (niveau == 15) { _root.tableau[0].splice(0, 13, 'J1', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', '', 'M1'); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'L2', '', 'L3', '', 'L2', '', 'A9', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', '', 'M1'); _root.tableau[3].splice(0, 13, '', '', '', '', '', '', '', 'L3', '', '', '', '', ''); _root.tableau[4].splice(0, 13, 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', 'L2', 'M1', 'M1', 'M1', 'M1', 'L2'); _root.tableau[5].splice(0, 13, 'M1', 'L3', 'M1', '', 'M1', '', 'M1', 'L2', '', 'A6', '', '', ''); _root.tableau[6].splice(0, 13, 'M1', 'V2', 'M1', 'L3', 'M1', 'A5', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1'); _root.tableau[7].splice(0, 13, 'M1', 'L3', 'M1', '', 'M1', '', 'M1', 'L2', '', '', '', '', ''); _root.tableau[8].splice(0, 13, 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', 'L2', 'M1', 'M1', 'M1', 'M1', 'L2'); _root.tableau[9].splice(0, 13, '', '', '', '', '', '', '', 'L3', 'A2', '', '', '', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', '', 'M1'); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'L2', '', 'L3', '', 'L2', '', 'Y3', ''); _root.tableau[12].splice(0, 13, '', 'M1', 'A7', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', '', 'M1'); chaine2 = 'K3,D2,C2,C3,D3,Z3,G3,I2,R3,Q2,d3,d2,c1,e2'; chaine = ''; _root.bgr = 9; distribue(chaine); distribue2(chaine2); } if (niveau == 16) { _root.tableau[0].splice(0, 13, '', ' ', '', ' ', '', ' ', 'A5', ' ', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', 'L3', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', '', '', '', '', '', '', '', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', '', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', 'M1', '', '', 'A9', '', '', 'M1', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'L3', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'A7', 'L2', '', 'L3', '', 'L2', 'Y2', 'L2', '', 'L3', 'J1', 'L2', 'A7'); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'L3', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', 'M1', '', '', 'A9', '', '', 'M1', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', '', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', '', '', '', '', '', '', '', '', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', 'L3', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', '', 'A5', '', '', '', '', '', ''); chaine2 = 'K3,C2,C3,D2,C3,I2,c1,c3,d2,d3,R2'; chaine = ''; _root.bgr = 2; distribue(chaine); distribue2(chaine2); } if (niveau == 17) { _root.tableau[0].splice(0, 13, '', '', '', '', 'M1', '', 'M1', '', 'M1', '', '', '', ''); _root.tableau[1].splice(0, 13, 'L3', 'M1', 'M1', '', '', '', 'A5', '', 'M1', '', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', '', '', 'M1', '', 'M1', '', 'M1', '', 'W1', 'M1', 'A4'); _root.tableau[3].splice(0, 13, 'L2', 'M1', 'M1', 'L3', 'M1', '', '', '', 'M1', 'L2', 'M1', 'M1', 'L3'); _root.tableau[4].splice(0, 13, '', '', '', '', 'M1', '', 'M1', '', 'M1', '', '', '', ''); _root.tableau[5].splice(0, 13, 'M1', 'M1', 'M1', '', 'L2', '', '', '', 'L2', '', 'M1', 'M1', 'M1'); _root.tableau[6].splice(0, 13, 'Y2', '', '', 'W2', 'M1', 'M1', 'M1', 'M1', 'M1', '', '', '', 'J1'); _root.tableau[7].splice(0, 13, 'M1', 'M1', 'M1', '', 'L2', '', '', '', 'L2', '', 'M1', 'M1', 'M1'); _root.tableau[8].splice(0, 13, '', '', 'A1', '', 'M1', '', 'M1', '', 'M1', '', '', '', ''); _root.tableau[9].splice(0, 13, 'L2', 'M1', 'M1', 'L2', 'M1', '', 'A8', '', 'M1', 'L3', 'M1', 'M1', 'L3'); _root.tableau[10].splice(0, 13, '', '', '', '', 'M1', '', 'M1', '', 'M1', '', 'W3', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', '', '', '', '', '', 'M1', '', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', 'M1', '', 'M1', '', 'M1', '', '', 'A6', ''); chaine2 = 'K3,C2,C3,D2,D3,F3,E3,c1,c2,d2,z1,R3,Q2'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 18) { _root.tableau[0].splice(0, 13, '', '', '', '', '', '', 'M1', 'A7', 'M1', '', '', '', ''); _root.tableau[1].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L2', 'M1'); _root.tableau[2].splice(0, 13, 'A5', '', '', '', 'L3', '', 'L3', '', 'M1', '', '', '', ''); _root.tableau[3].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L2', 'M1'); _root.tableau[4].splice(0, 13, 'A5', '', '', '', 'L3', '', 'L3', '', 'M1', '', '', '', ''); _root.tableau[5].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'L3', 'M1', '', 'M1', 'L2', 'M1'); _root.tableau[6].splice(0, 13, 'W1', 'V5', '', '', 'L3', 'J1', '', '', 'M1', '', '', 'W2', 'Y5'); _root.tableau[7].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'L3', 'M1', '', 'M1', 'L2', 'M1'); _root.tableau[8].splice(0, 13, 'A5', '', '', '', 'L3', '', 'L3', '', 'M1', '', '', '', ''); _root.tableau[9].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L2', 'M1'); _root.tableau[10].splice(0, 13, 'A5', '', '', '', 'L3', '', 'L3', '', 'M1', '', '', '', ''); _root.tableau[11].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L2', 'M1'); _root.tableau[12].splice(0, 13, '', '', '', '', '', '', 'M1', 'A7', 'M1', '', '', '', ''); chaine2 = 'K3,C2,C3,D2,D3,G3,P3,Q3,R2,Z1,c1,d2,c2,d3,e2,U3'; chaine = ''; _root.bgr = 4; distribue(chaine); distribue2(chaine2); } if (niveau == 19) { _root.tableau[0].splice(0, 13, '', '', '', '', '', 'M1', '', 'M1', '', '', '', '', 'J1'); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'A6', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'L2', ''); _root.tableau[3].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', ''); _root.tableau[5].splice(0, 13, 'M1', 'M1', 'M1', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', 'M1', 'M1', 'M1'); _root.tableau[6].splice(0, 13, '', 'A6', '', 'L2', '', 'L2', 'Y6', 'L2', '', 'L2', 'A6', '', ''); _root.tableau[7].splice(0, 13, 'M1', 'M1', 'M1', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', 'M1', 'M1', 'M1'); _root.tableau[8].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'L2', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'A6', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', 'M1', '', 'M1', '', '', '', '', ''); chaine2 = 'K2,C2,D2,G2,F2,c2,d3,g1'; chaine = ''; _root.bgr = 4; distribue(chaine); distribue2(chaine2); } if (niveau == 20) { _root.tableau[0].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', '', '', '', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', 'A3', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'L2', '', 'L2', '', 'L2', '', 'L2', '', 'L1', 'A3', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, 'L3', 'M1', '', '', '', '', '', 'M1', '', '', '', '', ''); _root.tableau[5].splice(0, 13, 'L2', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[6].splice(0, 13, 'Y2', 'L3', 'A9', 'L3', 'A5', 'L3', '', 'L3', 'J1', 'L2', '', 'M1', 'A7'); _root.tableau[7].splice(0, 13, 'L2', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[8].splice(0, 13, 'L3', 'M1', '', '', '', '', '', 'M1', '', '', '', '', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', 'L3', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'L2', '', 'L2', '', 'L2', '', 'L2', '', 'L2', 'V1', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', 'A6', 'M1', '', 'M2', '', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', '', '', '', ''); chaine2 = 'K3,C2,C3,D2,C3,c1,c3,d2,d2,I3,F2,P2,R3,U2'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 21) { _root.tableau[0].splice(0, 13, 'J1', 'M1', '', '', '', 'L3', '', 'L3', '', 'L3', '', 'M1', 'W1'); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L2'); _root.tableau[2].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'A4'); _root.tableau[3].splice(0, 13, '', 'M1', '', 'L2', '', 'M1', 'A9', 'M1', 'A2', 'L2', '', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', '', '', 'M1', '', 'L3', '', 'L3', '', 'M1', '', '', ''); _root.tableau[6].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1'); _root.tableau[7].splice(0, 13, '', '', '', 'M1', '', 'L3', '', 'L3', '', 'M1', '', '', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'L2', 'A7', 'M1', 'A5', 'M1', 'A9', 'L2', '', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, 'W2', 'M1', '', '', '', 'L3', '', 'L3', '', 'L3', '', 'M1', 'Y5'); chaine2 = 'K3,C2,C3,D2,C3,c2,c3,d2,d2,E3,F2,P2,Q3'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 22) { _root.tableau[0].splice(0, 13, 'W1', 'M1', '', 'M1', '', '', '', 'A5', '', '', '', '', ''); _root.tableau[1].splice(0, 13, 'L2', 'M1', '', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'L2', 'A7', 'M1', '', 'L2', '', 'M1', '', '', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'A2', '', 'M1', '', 'L3', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1'); _root.tableau[5].splice(0, 13, '', 'M1', 'L3', 'M1', '', '', '', '', '', '', '', '', 'W3'); _root.tableau[6].splice(0, 13, '', 'J1', '', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1'); _root.tableau[7].splice(0, 13, '', 'M1', 'L3', 'M1', 'W2', '', '', '', '', '', '', '', 'A9'); _root.tableau[8].splice(0, 13, '', 'M1', '', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'L2', '', 'M1', '', '', '', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'L2', 'A3', 'M1', '', 'M1', '', 'A6', '', 'M1', '', 'L3', ''); _root.tableau[11].splice(0, 13, 'L2', 'M1', '', 'M1', '', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1'); _root.tableau[12].splice(0, 13, 'V5', 'M1', '', 'M1', '', 'L3', '', '', '', '', '', '', 'Y3'); chaine2 = 'K3,C2,C3,D2,C3,c2,c3,d2,d2,g1,I3,C2,P2,R3,U2'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 23) { _root.tableau[0].splice(0, 13, '', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', ''); _root.tableau[1].splice(0, 13, 'M1', 'J1', '', '', 'L2', 'A6', 'L2', 'A4', 'L2', '', 'L2', 'W1', 'M1'); _root.tableau[2].splice(0, 13, '', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', ''); _root.tableau[3].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1'); _root.tableau[4].splice(0, 13, '', '', '', '', '', 'M1', '', 'M1', '', '', '', '', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'L1', 'W3', 'L2', 'A2', 'L2', 'A7', 'L2', '', 'L2', 'Y2', 'L3', ''); _root.tableau[7].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[8].splice(0, 13, '', '', '', '', '', 'M1', '', 'M1', '', '', '', '', ''); _root.tableau[9].splice(0, 13, 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1', 'M1'); _root.tableau[10].splice(0, 13, '', '', '', '', 'L3', '', 'L3', '', 'L3', '', '', '', ''); _root.tableau[11].splice(0, 13, 'M1', 'W2', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'A9', 'M1'); _root.tableau[12].splice(0, 13, 'A5', '', '', '', 'L3', '', 'L3', '', 'L3', '', '', '', ''); chaine2 = 'K3,C2,C3,D2,C3,c2,c3,d2,d2,E3,F2,P2,Q3'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 24) { _root.tableau[0].splice(0, 13, '', '', '', '', '', '', 'A9', '', '', '', '', '', ''); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', 'Y6', 'L3', '', '', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'L2', '', '', '', '', 'A5', '', '', '', '', 'L2', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'M1', '', 'M1', 'M1', 'L3', 'M1', 'M1', '', 'M1', 'M1', ''); _root.tableau[6].splice(0, 13, 'A7', '', '', 'M1', '', '', 'J1', '', '', 'M1', '', '', 'A7'); _root.tableau[7].splice(0, 13, '', 'M1', 'M1', '', 'M1', 'M1', 'L3', 'M1', 'M1', '', 'M1', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'L2', '', '', '', '', 'A5', '', '', '', '', 'L2', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'L3', '', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', '', 'A9', '', '', '', '', '', ''); chaine2 = 'K3,C3,D2,C3,c2,d2,E3,F2,P2,Q3'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 25) { _root.tableau[0].splice(0, 13, '', 'M1', 'V1', 'M1', '', 'M1', '', '', '', '', '', '', ''); _root.tableau[1].splice(0, 13, '', 'M1', 'A5', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'Y6', 'L2', '', '', ''); _root.tableau[3].splice(0, 13, '', 'M1', 'L3', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'L2', '', '', '', 'M1', '', '', '', '', '', '', ''); _root.tableau[5].splice(0, 13, 'M1', 'M1', 'L2', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'L3', 'M1', 'M1', 'M1'); _root.tableau[6].splice(0, 13, 'W1', '', '', 'L2', 'J1', 'M1', 'W2', '', '', '', '', 'A7', ''); _root.tableau[7].splice(0, 13, 'M1', 'M1', 'L3', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1'); _root.tableau[8].splice(0, 13, '', 'L2', '', '', '', 'M1', '', '', '', '', '', '', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'L2', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'L3', '', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'A4', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', '', '', '', '', 'A2', ''); chaine2 = 'K3,C2,C3,D2,D3,U3,c1,c2,d2,z1,R3'; chaine = ''; _root.bgr = 1; distribue(chaine); distribue2(chaine2); } if (niveau == 50) { _root.tableau[0].splice(0, 13, 'J1', ' ', '', ' ', '', ' ', '', '', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, ' ', 'M1', 'L1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'L1', 'L1', '', 'L1', '', 'L1', '', 'L1', '', 'L1', 'L1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[4].splice(0, 13, '', '', 'L1', '', '', '', 'A1', '', '', '', 'L1', '', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, '', '', '', '', '', '', 'L1', '', '', 'L1', 'L1', '', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'L1', 'L1', '', '', '', 'A1', '', '', '', 'L1', 'L1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[10].splice(0, 13, '', '', '', '', 'L1', '', '', '', 'L1', '', '', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', 'J2'); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 2; distribue(chaine); distribue2(chaine2); } if (niveau == 51) { _root.tableau[0].splice(0, 13, 'J1', ' ', '', ' ', '', ' ', '', '', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'L1', '', '', '', 'L1', '', '', '', 'L1', '', '', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[4].splice(0, 13, '', '', '', 'L1', '', '', '', 'L1', '', '', '', 'L1', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'L1', '', '', '', 'L1', '', '', 'A1', 'L1', '', '', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', '', '', 'L1', '', '', 'A1', 'L1', '', '', '', 'L1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'L1', '', '', '', 'L1', '', '', '', 'L1', '', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', 'J2'); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } if (niveau == 52) { _root.tableau[0].splice(0, 13, 'J1', ' ', '', ' ', '', ' ', '', '', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'L1', '', '', '', 'L1', '', '', '', 'L1', '', 'L1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'L1', '', 'L1', '', 'L1', '', 'L1', '', 'L1', '', 'L1', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, '', '', '', 'L1', '', 'L1', '', 'L1', 'A1', '', '', 'L1', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'L1', '', 'L1', '', 'L1', '', 'L1', '', 'L1', '', 'L1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'L1', '', '', '', 'L1', '', '', '', 'L1', '', 'L1', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, 'J2', '', '', '', '', '', '', '', '', '', '', '', 'A2'); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 4; distribue(chaine); distribue2(chaine2); } if (niveau == 53) { _root.tableau[0].splice(0, 13, 'J1', ' ', '', 'L1', '', 'L1', '', 'L1', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L1', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', '', 'L1', '', 'L1', '', 'L1', '', '', 'A2', '', ''); _root.tableau[3].splice(0, 13, 'L1', 'M1', 'L1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L1', 'M1', ''); _root.tableau[4].splice(0, 13, '', '', '', '', '', 'L1', '', 'L1', '', '', '', '', ''); _root.tableau[5].splice(0, 13, 'L1', 'M1', 'L1', 'M1', 'L1', 'M1', '', 'M1', 'L1', 'M1', 'L1', 'M1', 'L1'); _root.tableau[6].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', ''); _root.tableau[7].splice(0, 13, 'L1', 'M1', 'L1', 'M1', 'L1', 'M1', '', 'M1', 'L1', 'M1', 'L1', 'M1', 'L1'); _root.tableau[8].splice(0, 13, '', '', '', '', '', 'L1', '', 'L1', '', '', '', '', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', 'L1', 'M1', 'L1'); _root.tableau[10].splice(0, 13, '', 'L1', 'A2', 'L1', '', 'L1', '', 'L1', '', 'L1', '', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', 'L1', '', 'L1', '', 'L1', '', '', 'J2'); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 5; distribue(chaine); distribue2(chaine2); } if (niveau == 54) { _root.tableau[0].splice(0, 13, '', ' ', '', 'M1', '', 'M1', '', ' ', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'L1', '', '', '', 'L1', '', 'M1', '', 'L1', 'A3', '', ''); _root.tableau[3].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', '', '', 'L1', '0', '0', '', '', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '0', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'A2', 'L1', '', 'L1', '', 'M1', 'J1', 'M1', '', 'L1', '', 'L1', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '0', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', '', '', 'L1', '0', '0', '', '', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'L1', '', '', '', 'L1', '', 'M1', '', 'L1', '', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', 'M1', '', 'M1', '', '', '', '', '', '', 'J2'); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 6; distribue(chaine); distribue2(chaine2); } if (niveau == 55) { _root.tableau[0].splice(0, 13, '', ' ', '', 'M1', '', 'M1', '', ' ', '', ' ', '', ' ', ''); _root.tableau[1].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[2].splice(0, 13, '', '', '', '', '', '', '', 'M1', '', '', '', '', ''); _root.tableau[3].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'L1', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', 'L1', '', 'L1', '0', 'L1', '', 'L1', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '0', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'A2', 'L1', '', 'L1', '', 'M1', 'J1', 'M1', '', 'L1', 'A3', 'L1', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '0', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', 'L1', '', 'L1', '0', 'L1', '', 'L1', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'L1', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[10].splice(0, 13, '', '', '', '', '', '', '', 'M1', '', '', 'A2', '', ''); _root.tableau[11].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', 'M1', '', 'M1', '', '', '', '', '', '', 'J2'); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 7; distribue(chaine); distribue2(chaine2); } if (niveau == 56) { _root.tableau[0].splice(0, 13, 'A3', '', '', '', '', 'M1', '', 'M1', '', '', '', '', 'A2'); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'L1', '', '', '', '', '', 'L1', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'L1', '', 'M1', '', 'M1', '', '', '', 'L1', '', 'L1', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'L1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, 'L2', 'M1', '', 'M1', 'A1', 'L2', 'L2', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2'); _root.tableau[7].splice(0, 13, '', 'M1', '', 'L1', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'L1', '', 'M1', '', 'M1', '', '', '', 'L1', '', 'L1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '0'); _root.tableau[10].splice(0, 13, '', 'M1', '', 'L1', '', '', '', '', '', 'L1', '', 'M1', '0'); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', '0'); _root.tableau[12].splice(0, 13, 'A3', '', '', '', '', '', 'M1', '', '0', '0', '0', '0', 'J1'); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 8; distribue(chaine); distribue2(chaine2); } if (niveau == 57) { _root.tableau[0].splice(0, 13, '', '', '', '', '', 'M1', '', 'M1', '', '', '', '', 'A2'); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'L2', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', '', '', '', '', '', '', '', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', '', '', '', '', '', 'L2', ''); _root.tableau[5].splice(0, 13, '', 'M1', '', 'L2', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'M1', 'A2', 'M1', 'A1', 'L2', 'A3', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[7].splice(0, 13, '', 'M1', '', 'L2', '', 'M1', '', 'M1', '', 'M1', '', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', '', '', '', '', '', 'L2', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', '0'); _root.tableau[10].splice(0, 13, '', 'M1', '', '', '', '', '', '', '', '', '', 'M1', '0'); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', '0'); _root.tableau[12].splice(0, 13, 'A3', '', '', '', '', '', 'M1', '', '0', '0', '0', '0', 'J1'); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 9; distribue(chaine); distribue2(chaine2); } if (niveau == 58) { _root.tableau[0].splice(0, 13, '', '', '', '', '', '', '', '', '', '', '', '', ''); _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'A3', '', 'M1', '', 'M1', '', '', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', 'A1', 'L2', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', '', '', 'M1', '0', 'M1', '', '', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '0', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[6].splice(0, 13, '', '', '', 'L2', '0', '0', 'J1', '0', '0', 'L2', '', '', ''); _root.tableau[7].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '0', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', 'A4', '', 'M1', '0', 'M1', '', '', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'L2', '', 'M1', '', 'M1', 'L2', 'M1', '', 'M1', '', 'L2', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', '', '', 'M1', '', 'M1', '', 'A2', '', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', '', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', '', '', 'A5', '', '', '', '', '', ''); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 2; distribue(chaine); distribue2(chaine2); } if (niveau == 59) { _root.tableau[1].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[2].splice(0, 13, '', 'M1', '', 'A3', '', 'M1', '', 'M1', '', '', '', 'M1', ''); _root.tableau[3].splice(0, 13, '', 'M1', '', 'M1', '', 'L2', '', 'L2', '', 'M1', 'Y1', 'M1', ''); _root.tableau[4].splice(0, 13, '', 'M1', '', '', '', 'M1', '0', 'M1', '', '', '', 'M1', ''); _root.tableau[5].splice(0, 13, '', 'M1', 'M1', 'L2', 'M1', 'M1', '0', 'M1', 'M1', 'L2', 'M1', 'M1', ''); _root.tableau[6].splice(0, 13, '', 'L2', '', '', '0', '0', 'J1', '0', '0', '', '', 'L2', ''); _root.tableau[7].splice(0, 13, '', 'M1', 'M1', 'L2', 'M1', 'M1', '0', 'M1', 'M1', 'L2', 'M1', 'M1', ''); _root.tableau[8].splice(0, 13, '', 'M1', '', 'A4', '', 'M1', '0', 'M1', '', '', '', 'M1', ''); _root.tableau[9].splice(0, 13, '', 'M1', '', 'M1', '', 'L2', '', 'L2', '', 'M1', '', 'M1', ''); _root.tableau[10].splice(0, 13, '', 'M1', '', '', '', 'M1', '', 'M1', '', 'A2', '', 'M1', ''); _root.tableau[11].splice(0, 13, '', 'M1', 'M1', 'M1', 'M1', 'M1', 'L2', 'M1', 'M1', 'M1', 'M1', 'M1', ''); _root.tableau[12].splice(0, 13, '', '', '', '', 'A5', '', '', '', '', '', '', '', ''); chaine2 = 'C1,C1,C1,C1,C1,D1,D1,D1,D1,D1'; chaine = ''; _root.bgr = 3; distribue(chaine); distribue2(chaine2); } affiche(); gotoAndStop(96); } frame 128 { niveau = 49; score = 0; maintenant = new Date(); startTime = maintenant.getTime(); time = 0; monstres = new Array(); pause = false; mode2 = true; arcade = false; perdu = false; if (joueurs == undefined) { joueurs = new Array(); } else { _root.joueur1.vies = 3; _root.j2.vies = 3; } xoffset = 40; yoffset = 40; i = 1; tableau = new Array(13); i = 0; while (i < 13) { tableau[i] = new Array(13); ++i; } gotoAndPlay(108); } frame 134 { niveau = 0; score = 0; maintenant = new Date(); startTime = maintenant.getTime(); time = 0; monstres = new Array(); pause = false; mode2 = false; arcade = true; perdu = false; if (joueurs == undefined) { joueurs = new Array(); } if (_root.joueur1 != undefined) { _root.joueur1.vies = 3; } if (_root.j2 != undefined) { delete _root.j2; } xoffset = 40; yoffset = 40; i = 1; tableau = new Array(13); i = 0; while (i < 13) { tableau[i] = new Array(13); ++i; } gotoAndPlay(108); } frame 139 { _root.detruitObjects(); maintenant = new Date(); _root.time = maintenant.getTime() - _root.startTime; date2 = new Date(0, 0, 0, 0, 0, 0, maintenant.getTime() - _root.startTime); _root.time = date2.getHours() + ':' + date2.getMinutes() + ':' + date2.getSeconds(); if (mode2) { if (_root.joueur1.vies <= 0) { gotoAndPlay(231); } else { gotoAndPlay(212); } } else { if (arcade) { gotoAndPlay(212); } else { gotoAndPlay(241); } } } frame 144 { stop(); } instance of movieClip 220 { onClipEvent (load) { Selection.setFocus('_level0.bn2'); } onClipEvent (enterFrame) { if (getTimer() > nextMove) { nextMove = getTimer() + 300; if (Key.isDown(9)) { if (Selection.getFocus() == '_level0.bn1') { Selection.setFocus('_level0.bn2'); } else { if (Selection.getFocus() == '_level0.bn2') { Selection.setFocus('_level0.bn3'); } else { if (Selection.getFocus() == '_level0.bn3') { Selection.setFocus('_level0.bn4'); } else { Selection.setFocus('_level0.bn1'); } } } } if (Key.isDown(13)) { if (Selection.getFocus() == '_level0.bn1') { gotoAndStop(144); } else { if (Selection.getFocus() == '_level0.bn2') { gotoAndPlay(95); } else { if (Selection.getFocus() == '_level0.bn3') { gotoAndPlay(128); } else { if (Selection.getFocus() == '_level0.bn4') { gotoAndPlay(134); } } } } } } } } button 704 { on (release) { gotoAndStop(177); } } button 708 { on (release) { gotoAndPlay(65); } } button 711 { on (release) { gotoAndPlay(211); } } button 715 { on (release) { gotoAndPlay(210); } } button 718 { on (release) { gotoAndPlay(144); } } button 721 { on (release) { getURL('http://www.axegames.com/blaster/reglement.html', '_blank'); } } frame 177 { stop(); } instance of movieClip 220 { onClipEvent (load) { Selection.setFocus('_level0.bn2'); } onClipEvent (enterFrame) { if (getTimer() > nextMove) { nextMove = getTimer() + 300; if (Key.isDown(9)) { if (Selection.getFocus() == '_level0.bn1') { Selection.setFocus('_level0.bn2'); } else { if (Selection.getFocus() == '_level0.bn2') { Selection.setFocus('_level0.bn3'); } else { if (Selection.getFocus() == '_level0.bn3') { Selection.setFocus('_level0.bn4'); } else { Selection.setFocus('_level0.bn1'); } } } } if (Key.isDown(13)) { if (Selection.getFocus() == '_level0.bn1') { gotoAndStop(144); } else { if (Selection.getFocus() == '_level0.bn2') { gotoAndPlay(95); } else { if (Selection.getFocus() == '_level0.bn3') { gotoAndPlay(128); } else { if (Selection.getFocus() == '_level0.bn4') { gotoAndPlay(134); } } } } } } } } movieClip 726 { } instance of movieClip 220 { onClipEvent (load) { Selection.setFocus('_level0.bn2'); } onClipEvent (enterFrame) { if (getTimer() > nextMove) { nextMove = getTimer() + 300; if (Key.isDown(9)) { if (Selection.getFocus() == '_level0.bn1') { Selection.setFocus('_level0.bn2'); } else { if (Selection.getFocus() == '_level0.bn2') { Selection.setFocus('_level0.bn3'); } else { if (Selection.getFocus() == '_level0.bn3') { Selection.setFocus('_level0.bn4'); } else { Selection.setFocus('_level0.bn1'); } } } } if (Key.isDown(13)) { if (Selection.getFocus() == '_level0.bn1') { gotoAndStop(144); } else { if (Selection.getFocus() == '_level0.bn2') { gotoAndPlay(95); } else { if (Selection.getFocus() == '_level0.bn3') { gotoAndPlay(128); } else { if (Selection.getFocus() == '_level0.bn4') { gotoAndPlay(134); } } } } } } } } instance of movieClip 220 { onClipEvent (load) { Selection.setFocus('_level0.bn2'); } onClipEvent (enterFrame) { if (getTimer() > nextMove) { nextMove = getTimer() + 300; if (Key.isDown(9)) { if (Selection.getFocus() == '_level0.bn1') { Selection.setFocus('_level0.bn2'); } else { if (Selection.getFocus() == '_level0.bn2') { Selection.setFocus('_level0.bn3'); } else { if (Selection.getFocus() == '_level0.bn3') { Selection.setFocus('_level0.bn4'); } else { Selection.setFocus('_level0.bn1'); } } } } if (Key.isDown(13)) { if (Selection.getFocus() == '_level0.bn1') { gotoAndStop(144); } else { if (Selection.getFocus() == '_level0.bn2') { gotoAndPlay(95); } else { if (Selection.getFocus() == '_level0.bn3') { gotoAndPlay(128); } else { if (Selection.getFocus() == '_level0.bn4') { gotoAndPlay(134); } } } } } } } } movieClip 754 { } button 757 { on (release) { getURL('javascript:newwin();', ''); } } button 760 { on (release) { gotoAndStop(288); } } button 763 { on (release) { gotoAndPlay(65); } } frame 221 { stop(); } frame 240 { stop(); } frame 241 { url = 'http://www.axegames.com/blaster/hit.php'; loadVariables(url, this, 'POST'); firstrec = 0; resu = 0; this.score = _root.score; this.level = _root.niveau; this.clef = _root.score % 113; this.vers = '1.03'; this.Mydate = new Date(); this.theDate = MyDate.getYear() * 10000 + MyDate.getMonth() * 100 + MyDate.getDate(); this.v1 = _root.crypt(String(this.score), String(this.theDate)); stop(); } button 775 { on (release) { url = 'http://www.axegames.com/blaster/submit.php'; loadVariables(url, this, 'POST'); gotoAndStop(287); } } button 779 { on (release) { gotoAndPlay(265); } } frame 271 { } button 806 { on (release) { if (nom != null and prenom != null and age != null and email != null and pseudo != null and adresse != null and zip != null and ville != null) { alerte = ''; this.mailing = this.info.getValue(); url = 'http://www.axegames.com/blaster/submit.php'; loadVariables(url, this, 'POST'); gotoAndStop(287); } else { alerte = 'Saissisez les champs obligatoires'; } } } instance info of movieClip 61 FCheckBoxSymbol { onClipEvent (initialize) { label = 'info'; initialValue = true; labelPlacement = 'right'; changeHandler = ''; } } frame 276 { nom1.tabIndex = 1; prenom1.tabIndex = 2; age1.tabIndex = 3; email1.tabIndex = 4; pseudo1.tabIndex = 5; adresse1.tabIndex = 6; cp1.tabIndex = 7; ville1.tabindex = 8; gsm1.tabIndex = 9; next.tabIndex = 10; firstrec = 1; stop(); } frame 287 { this.retour._alpha = 0; this.retour._x = 800; } button 812 { on (release) { gotoAndPlay(265); } } movieClip 814 { } instance of movieClip 814 { onClipEvent (load) { this.startTime = getTimer(); _parent.resu = 0; } onClipEvent (enterFrame) { if (_parent.resu == 1) { _parent.resultext = 'Vos données ont été enregistrées'; this.removeMovieClip(); return ''; } else { if (_parent.resu == 2) { _parent.resultext = 'Impossible de se connecter à la base'; this.removeMovieClip(); return ''; } else { if (_parent.resu == 3) { _parent.resultext = 'L\'adresse Email n\'existe pas'; _parent.retour._alpha = 100; _parent.retour._x = 277; this.removeMovieClip(); return ''; } } } var diff = int((getTimer() - this.startTime) / 1000); if (diff > 30) { _parent.resultext = 'Echec de connexion'; this.removeMovieClip(); return ''; } if (diff % 4 == 0) { _parent.resultext = 'Connexion en cours.'; } else { if (diff % 4 == 1) { _parent.resultext = 'Connexion en cours..'; } else { if (diff % 4 == 2) { _parent.resultext = 'Connexion en cours...'; } else { _parent.resultext = 'Connexion en cours..'; } } } } } frame 288 { stop(); } instance of movieClip 220 { onClipEvent (load) { Selection.setFocus('_level0.bn2'); } onClipEvent (enterFrame) { if (getTimer() > nextMove) { nextMove = getTimer() + 300; if (Key.isDown(9)) { if (Selection.getFocus() == '_level0.bn1') { Selection.setFocus('_level0.bn2'); } else { if (Selection.getFocus() == '_level0.bn2') { Selection.setFocus('_level0.bn3'); } else { if (Selection.getFocus() == '_level0.bn3') { Selection.setFocus('_level0.bn4'); } else { Selection.setFocus('_level0.bn1'); } } } } if (Key.isDown(13)) { if (Selection.getFocus() == '_level0.bn1') { gotoAndStop(144); } else { if (Selection.getFocus() == '_level0.bn2') { gotoAndPlay(95); } else { if (Selection.getFocus() == '_level0.bn3') { gotoAndPlay(128); } else { if (Selection.getFocus() == '_level0.bn4') { gotoAndPlay(134); } } } } } } } }




https://swfchan.com/53/262238/info.shtml
Created: 10/12 -2025 13:15:13 Last modified: 10/12 -2025 13:15:13 Server time: 13/12 -2025 21:54:13