Frame 1
mochi.as2.MochiAd.showPreGameAd({id:"89eeb21c20aebeb3", res:"640x400"});
gamename = "hiring_day";
_root.localization_url1 = ("http://www.gamesgames.com/moregames/?utm_medium=brandedgames_as2&utm_campaign=" + gamename) + "&utm_source=unknown";
_root.localization_language_nr = 1;
_root.localization_branding_nr = 17;
_root.localization_portal = "family";
Instance of Symbol 8 MovieClip in Frame 1
onClipEvent (load) {
this.swapDepths(1);
}
Frame 2
Stage.showMenu = false;
fscommand ("allowscale", true);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
_root._focusrect = false;
_root._quality = "MEDIUM";
bytesload = _root.getBytesLoaded();
bytestotal = _root.getBytesTotal();
percent = Math.floor((bytesload / bytestotal) * 100);
TEXT = percent + " %";
BAR.gotoAndStop(percent);
if (_root.localization_portal == "game_com_cn") {
this.moregames.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.moregames.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=button_preloader_moregames", "_blank");
};
}
if (percent >= 100) {
gotoAndPlay ("splash");
} else {
play();
}
Frame 3
_root.gotoAndStop("loading");
Frame 5
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("ac97e50c", this, 10301, true);
local = "oui";
Instance of Symbol 143 MovieClip "qualitee" in Frame 5
onClipEvent (load) {
this.swapDepths(2);
}
Frame 6
if (local == "oui") {
Notice = false;
} else {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
pfixEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(pfixEnd, domain.length);
if ((domain == "snailsanimation.com") || (domain == "flashgamelicense.com")) {
Notice = false;
this.play();
} else {
stop();
Notice = true;
}
}
Instance of Symbol 146 MovieClip "Notice" in Frame 6
onClipEvent (load) {
if (_root.Notice == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Frame 7
stop();
Frame 8
function sonsF(son, nom) {
if ((_root.sons == "on") && (nom == "o")) {
if (((son == "toutou") || (son == "tomate")) || (son == "liquide")) {
_root.sonMC[son + ""].gotoAndPlay(2);
} else if ((son == "pots") || (son == "souris")) {
_root.sonMC[son + ""].gotoAndPlay(4 - random(3));
}
} else if ((_root.sons == "on") && (nom == "autre")) {
_root.sonMC[son + ""].gotoAndPlay(2);
}
}
stop();
_root.musique = "on";
_root.sons = "on";
_root.maxVol = 100;
_root.volumeValue = 0;
Instance of Symbol 2 MovieClip [musicMC] "musicMC" in Frame 8
onClipEvent (load) {
this.swapDepths(3);
}
Instance of Symbol 232 MovieClip "sonMC" in Frame 8
onClipEvent (load) {
this.swapDepths(4);
}
Frame 9
_root.frame = "splash";
_root.gotoAndStop("menu");
Frame 10
_root.frame = "menu";
_root.menu2.play1.enabled = false;
_root.menu2.howto.enabled = false;
_root.menu2.highscores.enabled = false;
_root.menu2.smash.enabled = false;
_root.menu2.moregames.enabled = false;
_root.menu2.credits.enabled = false;
Instance of Symbol 325 MovieClip in Frame 10
onClipEvent (load) {
if (_root.musique == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 330 MovieClip in Frame 10
onClipEvent (load) {
if (_root.sons == "off") {
this.gotoAndStop(2);
}
}
Frame 14
stop();
_root.menu1.play1.enabled = true;
_root.menu1.howto.enabled = true;
_root.menu1.highscores.enabled = true;
_root.menu1.smash.enabled = true;
_root.menu1.moregames.enabled = true;
_root.menu1.credits.enabled = true;
Instance of Symbol 332 MovieClip "fondu" in Frame 14
onClipEvent (load) {
if (_root.frame != "menu") {
this.gotoAndPlay("fade_in");
_root.frame = "menu";
}
}
Frame 15
_root.menu2.play1.enabled = false;
_root.menu2.howto.enabled = false;
_root.menu2.highscores.enabled = false;
_root.menu2.smash.enabled = false;
_root.menu2.moregames.enabled = false;
_root.menu2.credits.enabled = false;
stop();
Instance of Symbol 313 MovieClip "menu2" in Frame 15
onClipEvent (enterFrame) {
this._alpha = this._alpha - 20;
if (this._alpha <= -5) {
_parent.gotoAndPlay(_parent.goto);
}
}
Frame 24
credits.back.enabled = false;
Frame 29
stop();
credits.back.enabled = true;
Frame 30
credits.back.enabled = false;
Frame 35
stop();
gotoAndPlay ("to_menu");
Frame 44
stop();
_root.sub.submit.enabled = true;
_root.sub.moregames.enabled = true;
_root.sub.menu1.enabled = true;
_root.sub.tryagain.enabled = true;
_root.sub.highscores.enabled = true;
Instance of Symbol 332 MovieClip "fondu" in Frame 44
onClipEvent (load) {
if (_root.frame != "menu") {
this.gotoAndPlay("fade_in");
_root.frame = "menu";
}
}
Frame 45
_root.sub.submit.enabled = false;
_root.sub.moregames.enabled = false;
_root.sub.menu1.enabled = false;
_root.sub.tryagain.enabled = false;
_root.sub.highscores.enabled = false;
Frame 49
stop();
_root.gotoAndPlay("to_menu");
Frame 71
test = true;
_root.gotoAndStop("lv1");
Frame 74
stop();
delete _root.hit;
_root.hit = new Array();
_root.lv = 0;
_root.pres.gotoAndStop("lv" + _root.lv);
_root.maxSpawn = 51;
delete _root.bon;
_root.bon = new Array("f1");
if (test == true) {
_root.score = 0;
}
_root.vies = 3;
_root.frame = "lv0";
Instance of Symbol 484 MovieClip "corps" in Frame 74
onClipEvent (load) {
_root.exam.gotoAndStop("parle");
_root.tapis.t.stop();
this.gotoAndStop("tuto");
}
Instance of Symbol 716 MovieClip "tapis" in Frame 74
onClipEvent (load) {
this.gotoAndStop(_root.vitesse);
}
Instance of Symbol 325 MovieClip in Frame 74
onClipEvent (load) {
if (_root.musique == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 330 MovieClip in Frame 74
onClipEvent (load) {
if (_root.sons == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 806 MovieClip "spawn" in Frame 74
onClipEvent (load) {
this.gotoAndPlay(2);
}
Frame 79
stop();
delete _root.hit;
_root.hit = new Array();
_root.lv = 1;
_root.pres.gotoAndStop("lv" + _root.lv);
_root.maxSpawn = 51;
delete _root.bon;
_root.bon = new Array("f1");
_root.score = 0;
_root.vies = 3;
_root.frame = "lv1";
Instance of Symbol 716 MovieClip "tapis" in Frame 79
onClipEvent (load) {
this.gotoAndStop(_root.vitesse);
}
Instance of Symbol 325 MovieClip in Frame 79
onClipEvent (load) {
if (_root.musique == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 330 MovieClip in Frame 79
onClipEvent (load) {
if (_root.sons == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 879 MovieClip "spawn" in Frame 79
onClipEvent (load) {
this.gotoAndPlay(2);
}
Frame 84
stop();
delete _root.hit;
_root.hit = new Array();
_root.lv = 2;
_root.pres.gotoAndStop("lv" + _root.lv);
_root.maxSpawn = 51;
delete _root.bon;
_root.bon = new Array("f1", "f2");
if (test == true) {
_root.score = 0;
}
_root.vies = 3;
_root.frame = "lv2";
Instance of Symbol 716 MovieClip "tapis" in Frame 84
onClipEvent (load) {
this.gotoAndStop(_root.vitesse);
}
Instance of Symbol 325 MovieClip in Frame 84
onClipEvent (load) {
if (_root.musique == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 330 MovieClip in Frame 84
onClipEvent (load) {
if (_root.sons == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 897 MovieClip "spawn" in Frame 84
onClipEvent (load) {
this.gotoAndPlay(2);
}
Frame 89
stop();
delete _root.hit;
_root.hit = new Array();
_root.lv = 3;
_root.pres.gotoAndStop("lv" + _root.lv);
_root.maxSpawn = 51;
if (test == true) {
_root.score = 0;
}
_root.vies = 3;
_root.frame = "lv3";
Instance of Symbol 716 MovieClip "tapis" in Frame 89
onClipEvent (load) {
this.gotoAndStop(_root.vitesse);
}
Instance of Symbol 325 MovieClip in Frame 89
onClipEvent (load) {
if (_root.musique == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 330 MovieClip in Frame 89
onClipEvent (load) {
if (_root.sons == "off") {
this.gotoAndStop(2);
}
}
Instance of Symbol 924 MovieClip "spawn" in Frame 89
onClipEvent (load) {
this.gotoAndPlay(2);
}
Symbol 2 MovieClip [musicMC] Frame 1
stop();
Symbol 2 MovieClip [musicMC] Frame 2
stop();
_root.musFrame = "Menu";
Menu1 = new Sound(m_Menu);
Menu1.attachSound("mus_Menu");
Menu1.start(0, 9999);
if (_root.musique == "on") {
Menu1.setVolume(_root.volumeValue);
} else {
Menu1.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 3
stop();
_root.musFrame = "lvl1";
lvl1 = new Sound(m_lvl1);
lvl1.attachSound("mus_lvl1");
lvl1.start(0, 9999);
if (_root.musique == "on") {
lvl1.setVolume(_root.volumeValue);
} else {
lvl1.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 4
stop();
_root.musFrame = "lvl2";
lvl2 = new Sound(m_lvl2);
lvl2.attachSound("mus_lvl2");
lvl2.start(0, 9999);
if (_root.musique == "on") {
lvl2.setVolume(_root.volumeValue);
} else {
lvl2.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 5
stop();
_root.musFrame = "lvl3";
lvl3 = new Sound(m_lvl3);
lvl3.attachSound("mus_lvl3");
lvl3.start(0, 9999);
if (_root.musique == "on") {
lvl3.setVolume(_root.volumeValue);
} else {
lvl3.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 6
stop();
_root.musFrame = "lvl4";
lvl4 = new Sound(m_lvl4);
lvl4.attachSound("mus_lvl4");
lvl4.start(0, 9999);
if (_root.musique == "on") {
lvl4.setVolume(_root.volumeValue);
} else {
lvl4.setVolume(0);
}
Symbol 2 MovieClip [musicMC] Frame 7
_root.musFrame = "bonus";
bonus = new Sound(m_bonus);
bonus.attachSound("mus_bonus");
bonus.start(0, 9999);
if (_root.musique == "on") {
bonus.setVolume(_root.volumeValue);
} else {
bonus.setVolume(0);
}
Symbol 925 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.0 as2");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(15);
}
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(30);
}
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(45);
}
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(60);
}
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(75);
}
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(90);
}
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(105);
}
Symbol 128 MovieClip Frame 1
stop();
gotoAndStop(_root.localization_branding_nr);
Symbol 136 Button
on (keyPress "q") {
if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
q_text.gotoAndPlay("low");
} else if (_root._quality == "LOW") {
_root._quality = "BEST";
q_text.gotoAndPlay("best");
} else if (_root._quality == "BEST") {
_root._quality = "HIGH";
q_text.gotoAndPlay("high");
} else if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
q_text.gotoAndPlay("medium");
}
}
on (keyPress "Q") {
if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
q_text.gotoAndPlay("low");
} else if (_root._quality == "LOW") {
_root._quality = "BEST";
q_text.gotoAndPlay("best");
} else if (_root._quality == "BEST") {
_root._quality = "HIGH";
q_text.gotoAndPlay("high");
} else if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
q_text.gotoAndPlay("medium");
}
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 15
gotoAndStop (1);
Symbol 142 MovieClip Frame 30
gotoAndStop (1);
Symbol 142 MovieClip Frame 45
gotoAndStop (1);
Symbol 142 MovieClip Frame 60
gotoAndStop (1);
Symbol 149 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 154 MovieClip Frame 90
stop();
_root.play();
Symbol 157 MovieClip Frame 1
if (_root.localization_portal == "game_com_cn") {
this.logo_intro.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.logo_intro.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=logo_intro", "_blank");
};
}
Symbol 157 MovieClip Frame 90
stop();
Symbol 163 MovieClip Frame 88
stop();
_root.play();
Symbol 170 MovieClip Frame 88
stop();
_root.play();
Symbol 174 MovieClip Frame 88
stop();
_root.play();
Symbol 175 MovieClip Frame 1
if (_root.localization_portal == "family") {
gotoAndStop (1);
}
if (_root.localization_portal == "tweens") {
gotoAndStop (2);
}
if (_root.localization_portal == "girl") {
gotoAndStop (3);
}
if (_root.localization_portal == "game_com_cn") {
gotoAndStop (4);
}
Symbol 176 MovieClip Frame 5
stop();
Symbol 198 MovieClip Frame 2
_root.musicMC.gotoAndStop("lvl3");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 198 MovieClip Frame 2
onClipEvent (load) {
frames = 85;
maxVol = _root.maxVol;
i = maxVol / frames;
fade = "in";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 198 MovieClip Frame 90
stop();
_parent.play();
Symbol 199 MovieClip Frame 9
stop();
Symbol 199 MovieClip Frame 23
_root.play();
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 2
gotoAndStop (1);
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 2
gotoAndStop (1);
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 2
gotoAndStop (1);
Symbol 207 MovieClip Frame 3
gotoAndStop (1);
Symbol 207 MovieClip Frame 4
gotoAndStop (1);
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
gotoAndStop (1);
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 2
gotoAndStop (1);
Symbol 213 MovieClip Frame 3
gotoAndStop (1);
Symbol 213 MovieClip Frame 4
gotoAndStop (1);
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
gotoAndStop (1);
Symbol 215 MovieClip Frame 3
gotoAndStop (1);
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 2
gotoAndStop (1);
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
gotoAndStop (1);
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
gotoAndStop (1);
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 2
gotoAndStop (1);
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 2
gotoAndStop (1);
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 2
gotoAndStop (1);
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
gotoAndStop (1);
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 2
gotoAndStop (1);
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
gotoAndStop (1);
Symbol 264 Button
on (release) {
_root.goto = "lv1";
_root.fondu.gotoAndPlay(2);
}
Symbol 267 Button
on (release) {
_root.goto = "lv0";
_root.fondu.gotoAndPlay(2);
}
Symbol 286 MovieClip Frame 1
stop();
gotoAndStop(_root.localization_language_nr);
Symbol 287 MovieClip Frame 1
stop();
gotoAndStop(_root.localization_branding_nr);
Symbol 305 MovieClip Frame 1
stop();
gotoAndStop(_root.localization_language_nr);
Symbol 309 Button
on (release) {
_parent.goto = "to_credits";
_parent.gotoAndStop("exit_menu");
}
Symbol 313 MovieClip Frame 1
stop();
if (_root.localization_portal == "game_com_cn") {
this.moregames.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.moregames.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=button_mainscreen_moregames", "_blank");
};
}
Symbol 313 MovieClip Frame 2
stop();
if (_root.localization_portal == "game_com_cn") {
this.moregames.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.moregames.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=button_mainscreen_moregames", "_blank");
};
}
Symbol 321 Button
on (release) {
_root.musique = "off";
_root.musicMC.Menu1.setVolume(0);
_root.musicMC.lvl1.setVolume(0);
_root.musicMC.lvl2.setVolume(0);
_root.musicMC.lvl3.setVolume(0);
_root.musicMC.lvl4.setVolume(0);
_root.musicMC.bonus.setVolume(0);
gotoAndStop (2);
}
Symbol 323 Button
on (release) {
_root.musique = "on";
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
gotoAndStop (1);
}
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 2
stop();
Symbol 327 Button
on (release) {
_root.sons = "off";
_root.sonMC.gotoAndPlay("mute");
gotoAndStop (2);
}
Symbol 329 Button
on (release) {
_root.sons = "on";
gotoAndStop (1);
}
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 2
stop();
Symbol 332 MovieClip Frame 1
stop();
_root.menu2.play1.enabled = true;
_root.menu2.howto.enabled = true;
_root.menu2.highscores.enabled = true;
_root.menu2.smash.enabled = true;
_root.menu2.moregames.enabled = true;
_root.menu2.credits.enabled = true;
_root.sub.submit.enabled = true;
_root.sub.moregames.enabled = true;
_root.sub.menu1.enabled = true;
_root.sub.tryagain.enabled = true;
_root.sub.highscores.enabled = true;
Symbol 332 MovieClip Frame 2
_root.menu2.play1.enabled = false;
_root.menu2.howto.enabled = false;
_root.menu2.highscores.enabled = false;
_root.menu2.smash.enabled = false;
_root.menu2.moregames.enabled = false;
_root.menu2.credits.enabled = false;
_root.sub.submit.enabled = false;
_root.sub.moregames.enabled = false;
_root.sub.menu1.enabled = false;
_root.sub.tryagain.enabled = false;
_root.sub.highscores.enabled = false;
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 332 MovieClip Frame 2
onClipEvent (load) {
frames = 14;
maxVol = _root.volumeValue;
i = maxVol / frames;
fade = "out";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 332 MovieClip Frame 16
_root.musicMC.Menu1.stop();
_root.musicMC.lvl1.stop();
_root.musicMC.lvl2.stop();
_root.musicMC.lvl3.stop();
_root.musicMC.lvl4.stop();
_root.musicMC.bonus.stop();
_root.musicMC.gotoAndStop(1);
_root.gotoAndPlay(_root.goto);
stop();
Symbol 332 MovieClip Frame 20
_root.musicMC.gotoAndStop("lvl3");
_root.menu2.play1.enabled = false;
_root.menu2.howto.enabled = false;
_root.menu2.highscores.enabled = false;
_root.menu2.smash.enabled = false;
_root.menu2.moregames.enabled = false;
_root.menu2.credits.enabled = false;
_root.sub.submit.enabled = false;
_root.sub.moregames.enabled = false;
_root.sub.menu1.enabled = false;
_root.sub.tryagain.enabled = false;
_root.sub.highscores.enabled = false;
play();
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 332 MovieClip Frame 20
onClipEvent (load) {
frames = 15;
maxVol = _root.maxVol;
i = maxVol / frames;
fade = "in";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 332 MovieClip Frame 35
gotoAndStop (1);
Symbol 338 Button
on (release) {
_parent.gotoAndPlay("credits_to_menu");
}
Symbol 348 Button
on (release) {
_root.gotoAndPlay("submit_to_menu");
}
Symbol 351 Button
on (release) {
_root.goto = "lv1";
_root.fondu.gotoAndPlay(2);
}
Symbol 365 MovieClip Frame 1
stop();
gotoAndStop(_root.localization_language_nr);
Symbol 379 MovieClip Frame 1
stop();
gotoAndStop(_root.localization_language_nr);
Symbol 384 Button
on (release) {
gotoAndStop ("entername");
}
Symbol 388 Button
on (release) {
prevFrame();
}
Symbol 399 Button
on (release) {
gotoAndStop ("entername");
}
Symbol 401 MovieClip Frame 1
stop();
if (_root.localization_portal == "game_com_cn") {
this.moregames.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.moregames.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=button_gameover_moregames", "_blank");
};
}
Symbol 401 MovieClip Frame 2
stop();
submit._visible = false;
Symbol 401 MovieClip Frame 3
stop();
Selection.setFocus(_root.sub.playerName);
Symbol 401 MovieClip Frame 4
stop();
Symbol 401 MovieClip Frame 5
stop();
Symbol 401 MovieClip Frame 6
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 14
_root.corps.gotoAndPlay("tuto2");
Symbol 422 MovieClip Frame 129
gotoAndPlay (15);
Symbol 422 MovieClip Frame 145
_parent.gotoAndStop(1);
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 2
stop();
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 7
gotoAndStop (1);
Symbol 439 MovieClip Frame 16
_root.mayoche._visible = false;
Symbol 439 MovieClip Frame 23
stop();
_root.mayoche._visible = false;
Symbol 439 MovieClip Frame 30
_root.mayoche._visible = true;
gotoAndStop (1);
Symbol 445 MovieClip Frame 9
stop();
_parent.gotoAndStop("idle");
Symbol 447 MovieClip Frame 45
stop();
_parent._parent.play();
Symbol 447 MovieClip Frame 55
stop();
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 2
stop();
Symbol 448 MovieClip Frame 3
stop();
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
if (_root.fin.frame != "gameover") {
this.gotoAndStop(1);
}
Symbol 484 MovieClip Frame 29
_root.sonsF("slap", "autre");
Symbol 484 MovieClip Frame 30
stop();
Symbol 484 MovieClip Frame 38
stop();
Instance of Symbol 448 MovieClip "yeux" in Symbol 484 MovieClip Frame 38
onClipEvent (load) {
this.gotoAndStop("content");
}
Symbol 484 MovieClip Frame 39
_root.bras.gotoAndPlay("lache");
Symbol 484 MovieClip Frame 44
stop();
Symbol 484 MovieClip Frame 53
stop();
if (_root.spawn._currentframe < 75) {
_root.bras.gotoAndStop("normal");
}
Symbol 484 MovieClip Frame 59
stop();
Symbol 484 MovieClip Frame 60
if (_root.bras._currentframe > 1) {
_root.bras.play();
}
Symbol 484 MovieClip Frame 198
stop();
Symbol 484 MovieClip Frame 210
stop();
Symbol 484 MovieClip Frame 248
stop();
Symbol 494 Button
on (press) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (_root.hit[i] == _parent._parent._parent._name) {
this.gotoAndStop(1);
_root.hit.splice(i, 1);
break;
}
cnt = 1;
if ((i == (_root.maxSpawn - 1)) && (cnt == 1)) {
_root.hit.push(_parent._parent._parent._name);
this.gotoAndStop(2);
}
i++;
}
}
Symbol 498 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 2
stop();
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 2
stop();
Symbol 504 Button
on (press) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (_root.hit[i] == _parent._parent._parent._name) {
this.gotoAndStop(1);
_root.hit.splice(i, 1);
break;
}
cnt = 1;
if ((i == (_root.maxSpawn - 1)) && (cnt == 1)) {
_root.hit.push(_parent._parent._parent._name);
this.gotoAndStop(2);
}
i++;
}
}
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 2
stop();
Symbol 515 MovieClip Frame 13
stop();
Symbol 516 MovieClip Frame 1
stop();
if ((_parent._name != "c") && (_parent._parent._name != "item")) {
array = new Array("f1", "f1", "f1", "f2", "f2", "f3");
i = array[random(array.length)];
_parent._parent.sorte = i;
_parent._parent.etat = i;
gotoAndStop(i);
} else if ((_parent._name == "c") && (_parent._parent._name != "item")) {
i = _parent._parent.etat;
gotoAndStop(i);
}
Instance of Symbol 498 MovieClip "c" in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 516 MovieClip Frame 2
stop();
_parent._parent.etat = this._currentframe;
Symbol 516 MovieClip Frame 3
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 502 MovieClip "c" in Symbol 516 MovieClip Frame 3
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 516 MovieClip Frame 4
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 508 MovieClip "c" in Symbol 516 MovieClip Frame 4
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 516 MovieClip Frame 5
stop();
_parent._parent.etat = this._currentframe;
_parent._parent.squish = true;
_root.sonsF("toutou", _parent._name);
Instance of Symbol 515 MovieClip "c" in Symbol 516 MovieClip Frame 5
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 518 Button
on (press) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (_root.hit[i] == _parent._parent._parent._name) {
this.gotoAndStop(1);
_root.hit.splice(i, 1);
break;
}
cnt = 1;
if ((i == (_root.maxSpawn - 1)) && (cnt == 1)) {
_root.hit.push(_parent._parent._parent._name);
this.gotoAndStop(2);
}
i++;
}
}
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 2
stop();
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 2
stop();
Symbol 542 MovieClip Frame 44
stop();
Symbol 544 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 2
stop();
Symbol 546 Button
on (press) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (_root.hit[i] == _parent._parent._parent._name) {
this.gotoAndStop(1);
_root.hit.splice(i, 1);
break;
}
cnt = 1;
if ((i == (_root.maxSpawn - 1)) && (cnt == 1)) {
_root.hit.push(_parent._parent._parent._name);
this.gotoAndStop(2);
}
i++;
}
}
Symbol 550 MovieClip Frame 1
stop();
Symbol 550 MovieClip Frame 2
stop();
Symbol 557 MovieClip Frame 67
if (_root.tapis.frame == "fast") {
this.gotoAndPlay("anime");
}
Symbol 557 MovieClip Frame 170
stop();
Symbol 558 MovieClip Frame 1
stop();
Symbol 558 MovieClip Frame 2
stop();
Symbol 565 MovieClip Frame 13
stop();
Symbol 566 MovieClip Frame 1
stop();
if ((_parent._name != "c") && (_parent._parent._name != "item")) {
array = new Array("f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f2", "f2", "f3", "f3", "f4", "f4", "f5");
i = array[random(array.length)];
_parent._parent.sorte = i;
_parent._parent.etat = i;
gotoAndStop(i);
} else if ((_parent._name == "c") && (_parent._parent._name != "item")) {
i = _parent._parent.etat;
gotoAndStop(i);
}
Instance of Symbol 521 MovieClip "c" in Symbol 566 MovieClip Frame 1
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 566 MovieClip Frame 2
stop();
_parent._parent.etat = this._currentframe;
Symbol 566 MovieClip Frame 3
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 523 MovieClip "c" in Symbol 566 MovieClip Frame 3
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 566 MovieClip Frame 4
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 544 MovieClip "c" in Symbol 566 MovieClip Frame 4
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 566 MovieClip Frame 5
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 550 MovieClip "c" in Symbol 566 MovieClip Frame 5
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 566 MovieClip Frame 6
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 558 MovieClip "c" in Symbol 566 MovieClip Frame 6
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 566 MovieClip Frame 7
stop();
_parent._parent.etat = this._currentframe;
_parent._parent.squish = true;
_root.sonsF("tomate", _parent._name);
Symbol 568 Button
on (press) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (_root.hit[i] == _parent._parent._parent._name) {
this.gotoAndStop(1);
_root.hit.splice(i, 1);
break;
}
cnt = 1;
if ((i == (_root.maxSpawn - 1)) && (cnt == 1)) {
_root.hit.push(_parent._parent._parent._name);
this.gotoAndStop(2);
}
i++;
}
}
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 2
stop();
Symbol 575 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 2
stop();
Symbol 577 MovieClip Frame 1
stop();
Symbol 577 MovieClip Frame 2
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 2
stop();
Symbol 582 MovieClip Frame 1
stop();
Symbol 582 MovieClip Frame 2
stop();
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 2
stop();
Symbol 588 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 2
stop();
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 2
stop();
Symbol 593 MovieClip Frame 1
stop();
Symbol 593 MovieClip Frame 2
stop();
Symbol 596 MovieClip Frame 1
stop();
Symbol 596 MovieClip Frame 2
stop();
Symbol 599 MovieClip Frame 1
stop();
Symbol 599 MovieClip Frame 2
stop();
Symbol 606 MovieClip Frame 5
_root.sonsF("liquide", _parent._parent._parent._name);
Symbol 606 MovieClip Frame 13
stop();
Symbol 613 MovieClip Frame 5
_root.sonsF("liquide", _parent._parent._parent._name);
Symbol 613 MovieClip Frame 13
stop();
Symbol 620 MovieClip Frame 5
_root.sonsF("liquide", _parent._parent._parent._name);
Symbol 620 MovieClip Frame 13
stop();
Symbol 621 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 2
stop();
Symbol 621 MovieClip Frame 3
stop();
Symbol 644 MovieClip Frame 1
stop();
if ((_parent._name != "c") && (_parent._parent._name != "item")) {
array = new Array("f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f3", "f3", "f3", "f3", "f4", "f4", "f4", "f4", "f5", "f5", "f5", "f5", "f5", "f5", "f5", "f5", "f6", "f6", "f6", "f6", "f7", "f7", "f7", "f7", "f8", "f8", "f8", "f8", "f9", "f9", "f10", "f10", "f11");
i = array[random(array.length)];
_parent._parent.sorte = i;
_parent._parent.etat = i;
gotoAndStop(i);
} else if ((_parent._name == "c") && (_parent._parent._name != "item")) {
i = _parent._parent.etat;
gotoAndStop(i);
}
Instance of Symbol 572 MovieClip "c" in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 2
stop();
_parent._parent.etat = this._currentframe;
Symbol 644 MovieClip Frame 3
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 575 MovieClip "c" in Symbol 644 MovieClip Frame 3
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 4
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 577 MovieClip "c" in Symbol 644 MovieClip Frame 4
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 5
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 579 MovieClip "c" in Symbol 644 MovieClip Frame 5
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 6
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 582 MovieClip "c" in Symbol 644 MovieClip Frame 6
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 7
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 585 MovieClip "c" in Symbol 644 MovieClip Frame 7
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 8
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 588 MovieClip "c" in Symbol 644 MovieClip Frame 8
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 9
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 591 MovieClip "c" in Symbol 644 MovieClip Frame 9
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 10
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 593 MovieClip "c" in Symbol 644 MovieClip Frame 10
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 11
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 596 MovieClip "c" in Symbol 644 MovieClip Frame 11
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 12
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 599 MovieClip "c" in Symbol 644 MovieClip Frame 12
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 644 MovieClip Frame 13
stop();
_parent._parent.etat = this._currentframe;
_parent._parent.squish = true;
_root.sonsF("pots", _parent._name);
if (((((_parent._parent.sorte == "f1") || (_parent._parent.sorte == "f3")) || (_parent._parent.sorte == "f5")) || (_parent._parent.sorte == "f7")) || (_parent._parent.sorte == "f9")) {
this.e.gotoAndStop("cornichons");
} else if (((((_parent._parent.sorte == "f2") || (_parent._parent.sorte == "f4")) || (_parent._parent.sorte == "f6")) || (_parent._parent.sorte == "f8")) || (_parent._parent.sorte == "f10")) {
this.e.gotoAndStop("oeufs");
} else if (_parent._parent.sorte == "f11") {
this.e.gotoAndStop("foetus");
}
Instance of Symbol 623 MovieClip "c" in Symbol 644 MovieClip Frame 19
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Instance of Symbol 628 MovieClip "c" in Symbol 644 MovieClip Frame 20
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 646 Button
on (press) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (_root.hit[i] == _parent._parent._parent._name) {
this.gotoAndStop(1);
_root.hit.splice(i, 1);
break;
}
cnt = 1;
if ((i == (_root.maxSpawn - 1)) && (cnt == 1)) {
_root.hit.push(_parent._parent._parent._name);
this.gotoAndStop(2);
}
i++;
}
}
Symbol 653 MovieClip Frame 1
stop();
Symbol 653 MovieClip Frame 2
stop();
Symbol 656 MovieClip Frame 1
stop();
Symbol 656 MovieClip Frame 2
stop();
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 2
stop();
Symbol 662 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 2
stop();
Symbol 665 MovieClip Frame 1
stop();
Symbol 665 MovieClip Frame 2
stop();
Symbol 668 MovieClip Frame 1
stop();
Symbol 668 MovieClip Frame 2
stop();
Symbol 671 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 2
stop();
Symbol 674 MovieClip Frame 1
stop();
Symbol 674 MovieClip Frame 2
stop();
Symbol 676 Button
on (press) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (_root.hit[i] == _parent._parent._parent._name) {
this.gotoAndStop(1);
_root.hit.splice(i, 1);
break;
}
cnt = 1;
if ((i == (_root.maxSpawn - 1)) && (cnt == 1)) {
_root.hit.push(_parent._parent._parent._name);
this.gotoAndStop(2);
}
i++;
}
}
Symbol 680 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 2
stop();
Symbol 683 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 2
stop();
Symbol 685 Button
on (press) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (_root.hit[i] == _parent._parent._parent._name) {
this.gotoAndStop(1);
_root.hit.splice(i, 1);
break;
}
cnt = 1;
if ((i == (_root.maxSpawn - 1)) && (cnt == 1)) {
_root.hit.push(_parent._parent._parent._name);
this.gotoAndStop(2);
}
i++;
}
}
Symbol 689 MovieClip Frame 1
stop();
Symbol 689 MovieClip Frame 2
stop();
Symbol 696 MovieClip Frame 1
_root.sonsF("souris", _parent._parent._parent._name);
_root.sonsF("tomate", _parent._parent._parent._name);
Symbol 696 MovieClip Frame 13
stop();
Symbol 703 MovieClip Frame 1
_root.sonsF("toutou", _parent._parent._parent._name);
Symbol 703 MovieClip Frame 13
stop();
Symbol 704 MovieClip Frame 1
stop();
Symbol 704 MovieClip Frame 2
stop();
Symbol 705 MovieClip Frame 1
stop();
if ((_parent._name != "c") && (_parent._parent._name != "item")) {
array = new Array("f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f1", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f2", "f3", "f3", "f3", "f3", "f3", "f3", "f3", "f3", "f3", "f3", "f7", "f7", "f7", "f7", "f7", "f7", "f7", "f7", "f7", "f7", "f8", "f8", "f8", "f8", "f8", "f8", "f8", "f8", "f8", "f8", "f4", "f5", "f6", "f9", "f10", "f11");
i = array[random(array.length)];
_parent._parent.sorte = i;
_parent._parent.etat = i;
gotoAndStop(i);
} else if ((_parent._name == "c") && (_parent._parent._name != "item")) {
i = _parent._parent.etat;
gotoAndStop(i);
}
Instance of Symbol 653 MovieClip "c" in Symbol 705 MovieClip Frame 1
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 2
stop();
_parent._parent.etat = this._currentframe;
Symbol 705 MovieClip Frame 3
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 656 MovieClip "c" in Symbol 705 MovieClip Frame 3
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 4
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 659 MovieClip "c" in Symbol 705 MovieClip Frame 4
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 5
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 662 MovieClip "c" in Symbol 705 MovieClip Frame 5
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 6
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 665 MovieClip "c" in Symbol 705 MovieClip Frame 6
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 7
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 668 MovieClip "c" in Symbol 705 MovieClip Frame 7
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 8
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 671 MovieClip "c" in Symbol 705 MovieClip Frame 8
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 9
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 674 MovieClip "c" in Symbol 705 MovieClip Frame 9
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 10
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 680 MovieClip "c" in Symbol 705 MovieClip Frame 10
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 11
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 683 MovieClip "c" in Symbol 705 MovieClip Frame 11
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 12
stop();
_parent._parent.etat = this._currentframe;
Instance of Symbol 689 MovieClip "c" in Symbol 705 MovieClip Frame 12
onClipEvent (load) {
flip = random(2);
if (_parent._parent._name == "c") {
if (_parent._parent._parent.flip == true) {
this._xscale = -100;
}
} else if (flip == 1) {
this._xscale = -100;
_parent._parent._parent.flip = true;
}
}
Symbol 705 MovieClip Frame 13
stop();
_parent._parent.etat = this._currentframe;
_parent._parent.squish = true;
if (_parent._parent.sorte == "f11") {
this.e.gotoAndStop("jouet");
} else {
this.e.gotoAndStop("souris");
}
Symbol 706 MovieClip Frame 1
stop();
this.gotoAndStop("lv" + _root.lv);
Symbol 706 MovieClip Frame 2
stop();
Symbol 706 MovieClip Frame 3
stop();
Symbol 706 MovieClip Frame 4
stop();
Symbol 710 MovieClip Frame 1
stop();
if (_root.vies > 0) {
if ((_parent.sorte == _root.bon[0]) || (_parent.sorte == _root.bon[1])) {
if (_parent.squish == true) {
this.gotoAndStop("moins");
this.pts = "-50";
_root.score = _root.score - 50;
_root.sonsF("erreur", "autre");
} else {
this.gotoAndStop("plus");
this.pts = "+10";
_root.score = _root.score + 10;
_root.sonsF("correct1", "autre");
}
} else if (_parent.squish == true) {
this.gotoAndStop("plus");
this.pts = "+20";
_root.score = _root.score + 20;
_root.sonsF("correct2", "autre");
} else {
this.gotoAndStop("moins");
this.pts = "-50";
_root.score = _root.score - 50;
_root.sonsF("erreur", "autre");
}
}
Symbol 710 MovieClip Frame 2
stop();
if (_root.vies > 0) {
_root.vies = _root.vies - 1;
if (_root.vies == 2) {
_root.v1.gotoAndStop(2);
} else if (_root.vies == 1) {
_root.v2.gotoAndStop(2);
} else if (_root.vies == 0) {
_root.v3.gotoAndStop(2);
i = 0;
while (i < _root.maxSpawn) {
_root.spawn.stop();
_root.tapis.t["item" + i].o.clip.c.hit.enabled = false;
_root.tapis.t.stop();
if ((_root.vitesse == "slow") && (_root.tapis.t["item" + i]._currentframe < 260)) {
_root.tapis.t["item" + i].stop();
} else if ((_root.vitesse == "fast") && (_root.tapis.t["item" + i]._currentframe < 159)) {
_root.tapis.t["item" + i].stop();
}
i++;
}
}
}
Symbol 711 MovieClip Frame 2
o.clip.c.hit.enabled = true;
Symbol 711 MovieClip Frame 215
o.clip.c.hit.enabled = false;
i = 0;
while (i < _root.maxSpawn) {
if ((_root.hit[i] == this._name) && (_root.vies > 0)) {
_root.next1 = this._name;
_root.mayoche.gotoAndPlay(2);
_root.bras.gotoAndPlay(2);
_root.hit.splice(i, 1);
break;
}
i++;
}
Symbol 711 MovieClip Frame 260
c.clip.c.hit.enabled = false;
Symbol 711 MovieClip Frame 269
removeMovieClip(this);
Symbol 712 MovieClip Frame 1
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Instance of Symbol 711 MovieClip "item" in Symbol 712 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "item") {
this.stop();
this._visible = false;
}
}
Symbol 712 MovieClip Frame 36
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 712 MovieClip Frame 71
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 712 MovieClip Frame 106
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 712 MovieClip Frame 141
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 712 MovieClip Frame 176
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 712 MovieClip Frame 211
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 714 MovieClip Frame 2
o.clip.c.hit.enabled = true;
Symbol 714 MovieClip Frame 133
o.clip.c.hit.enabled = false;
i = 0;
while (i < _root.maxSpawn) {
if ((_root.hit[i] == this._name) && (_root.vies > 0)) {
_root.next1 = this._name;
_root.mayoche.gotoAndPlay(2);
_root.bras.gotoAndPlay(2);
_root.hit.splice(i, 1);
break;
}
i++;
}
Symbol 714 MovieClip Frame 159
c.clip.c.hit.enabled = false;
Symbol 714 MovieClip Frame 168
removeMovieClip(this);
Symbol 715 MovieClip Frame 1
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Instance of Symbol 714 MovieClip "item" in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "item") {
this.stop();
this._visible = false;
}
}
Symbol 715 MovieClip Frame 23
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 715 MovieClip Frame 43
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 715 MovieClip Frame 65
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 715 MovieClip Frame 87
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 715 MovieClip Frame 108
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 715 MovieClip Frame 129
if (_root.vitesse != _parent.frame) {
cnt = 0;
i = 0;
while (i < _root.maxSpawn) {
if (this["item" + i] != undefined) {
cnt = 1;
}
if ((i == (_root.maxSpawn - 1)) && (cnt == 0)) {
_root.spawn.play();
_parent.gotoAndStop(_root.vitesse);
}
i++;
}
}
Symbol 716 MovieClip Frame 1
stop();
frame = "slow";
Instance of Symbol 712 MovieClip "t" in Symbol 716 MovieClip Frame 1
/* no clip actions */
Symbol 716 MovieClip Frame 2
stop();
frame = "fast";
Instance of Symbol 715 MovieClip "t" in Symbol 716 MovieClip Frame 2
/* no clip actions */
Symbol 724 MovieClip Frame 1
stop();
Symbol 724 MovieClip Frame 2
_root.tapis.t[_root.next1].o.clip.gotoAndStop("hit");
_root.next1 = undefined;
_root.corps.yeux.gotoAndPlay("frappe");
Symbol 724 MovieClip Frame 7
gotoAndStop (1);
Symbol 729 MovieClip Frame 1
stop();
Symbol 729 MovieClip Frame 2
stop();
Symbol 740 MovieClip Frame 1
stop();
this.c.c.hit.enabled = false;
if (this._name != "c2") {
this.gotoAndStop(_root.pres.souris);
} else {
this.gotoAndStop(_root.pres.souris2);
}
Symbol 740 MovieClip Frame 2
stop();
this.c.c.hit.enabled = false;
Symbol 740 MovieClip Frame 3
stop();
this.c.c.hit.enabled = false;
Symbol 740 MovieClip Frame 4
stop();
this.c.c.hit.enabled = false;
Symbol 740 MovieClip Frame 5
stop();
this.c.c.hit.enabled = false;
Symbol 741 MovieClip Frame 1
stop();
Symbol 741 MovieClip Frame 2
frame = "old";
Symbol 741 MovieClip Frame 12
if (_root.wave == 3) {
gotoAndPlay ("code2");
}
delete souris;
souris = new Array("s1", "s2", "s3", "s4", "s5");
i = souris[random(souris.length)];
_root.pres.souris = i;
delete _root.bon;
_root.bon = new Array();
if (i == "s1") {
_root.bon.push("f1");
} else if (i == "s2") {
_root.bon.push("f2");
} else if (i == "s3") {
_root.bon.push("f3");
} else if (i == "s4") {
_root.bon.push("f7");
} else if (i == "s5") {
_root.bon.push("f8");
}
Symbol 741 MovieClip Frame 16
frame = "new";
Symbol 741 MovieClip Frame 26
this.gotoAndStop(1);
Symbol 741 MovieClip Frame 35
stop();
Symbol 741 MovieClip Frame 36
frame = "old";
Symbol 741 MovieClip Frame 46
delete souris;
souris = new Array("s1", "s2", "s3", "s4", "s5");
i = souris[random(souris.length)];
_root.pres.souris = i;
delete _root.bon;
_root.bon = new Array();
if (i == "s1") {
_root.bon.push("f1");
} else if (i == "s2") {
_root.bon.push("f2");
} else if (i == "s3") {
_root.bon.push("f3");
} else if (i == "s4") {
_root.bon.push("f7");
} else if (i == "s5") {
_root.bon.push("f8");
}
souris2 = new Array();
k = 1;
while (k < 6) {
if (("s" + k) != i) {
souris2.push("s" + k);
}
k++;
}
j = souris2[random(souris2.length)];
_root.pres.souris2 = j;
if (j == "s1") {
_root.bon.push("f1");
} else if (j == "s2") {
_root.bon.push("f2");
} else if (j == "s3") {
_root.bon.push("f3");
} else if (j == "s4") {
_root.bon.push("f7");
} else if (j == "s5") {
_root.bon.push("f8");
}
Symbol 741 MovieClip Frame 50
frame = "new";
Symbol 741 MovieClip Frame 60
gotoAndStop ("idle2");
stop();
Symbol 742 MovieClip Frame 1
stop();
this.c.hit.enabled = false;
Symbol 742 MovieClip Frame 2
stop();
this.c.hit.enabled = false;
Symbol 742 MovieClip Frame 3
stop();
this.c1.hit.enabled = false;
this.c2.hit.enabled = false;
Symbol 742 MovieClip Frame 4
stop();
delete souris;
souris = new Array("s1", "s2", "s3", "s4", "s5");
i = souris[random(souris.length)];
_root.pres.souris = i;
delete _root.bon;
_root.bon = new Array();
if (i == "s1") {
_root.bon.push("f1");
} else if (i == "s2") {
_root.bon.push("f2");
} else if (i == "s3") {
_root.bon.push("f3");
} else if (i == "s4") {
_root.bon.push("f7");
} else if (i == "s5") {
_root.bon.push("f8");
}
Symbol 747 MovieClip Frame 1
stop();
Symbol 747 MovieClip Frame 2
_root.sonsF("correct3", "autre");
Symbol 747 MovieClip Frame 8
_root.score = _root.score + 10;
Symbol 764 MovieClip Frame 20
stop();
if (_root.lv > 0) {
if (((_parent._name == "v3") && (_root.vies <= 0)) && (_root.fin.frame != "gameover")) {
_root.fin.gotoAndStop("gameover");
}
} else if ((_parent._name == "v3") && (_root.vies <= 0)) {
_root.spawn.gotoAndPlay("fini");
}
Symbol 765 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 2
stop();
Symbol 772 Button
on (release) {
if (this._currentframe < 7) {
nextFrame();
} else {
_parent.play();
}
}
Symbol 777 Button
on (release) {
prevFrame();
}
Symbol 781 Button
on (release) {
_parent.gotoAndPlay("exit");
}
Symbol 795 Button
on (release) {
_parent.gotoAndPlay("try");
}
Symbol 798 Button
on (release) {
_parent.play();
}
Symbol 802 MovieClip Frame 1
stop();
_parent.bad._visible = false;
Symbol 802 MovieClip Frame 2
stop();
_parent.bad._visible = true;
Symbol 802 MovieClip Frame 3
stop();
_parent.bad._visible = false;
Symbol 802 MovieClip Frame 4
stop();
Symbol 802 MovieClip Frame 5
stop();
Symbol 802 MovieClip Frame 6
stop();
Symbol 802 MovieClip Frame 7
stop();
Symbol 802 MovieClip Frame 11
stop();
Symbol 802 MovieClip Frame 12
stop();
Symbol 802 MovieClip Frame 16
stop();
Symbol 802 MovieClip Frame 17
stop();
Symbol 802 MovieClip Frame 18
stop();
Instance of Symbol 502 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 508 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Symbol 806 MovieClip Frame 2
_root.vitesse = "slow";
_root.musicMC.gotoAndStop("lvl2");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 806 MovieClip Frame 2
onClipEvent (load) {
frames = 15;
maxVol = _root.maxVol;
i = maxVol / frames;
fade = "in";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 806 MovieClip Frame 20
_root.exam.e.play();
Symbol 806 MovieClip Frame 40
stop();
Instance of Symbol 805 MovieClip "bad" in Symbol 806 MovieClip Frame 40
onClipEvent (load) {
this._visible = false;
}
Symbol 806 MovieClip Frame 41
_root.exam.e.gotoAndPlay("fini");
_root.corps.play();
_root.vitesse = "slow";
_root.tapis.t.play();
Symbol 806 MovieClip Frame 70
maxCnt = 20;
cnt = 0;
_root.wave = 1;
Symbol 806 MovieClip Frame 113
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 158
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 203
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 258
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 308
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 348
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 388
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 433
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 473
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 806 MovieClip Frame 523
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if (cnt < maxCnt) {
gotoAndPlay ("vague1");
} else {
cnt = 0;
}
Symbol 806 MovieClip Frame 805
_root.exam.gotoAndPlay("parle");
_root.corps.gotoAndStop("tuto");
_root.tapis.t.stop();
Symbol 806 MovieClip Frame 807
_root.exam.e.play();
Symbol 806 MovieClip Frame 819
if (_root.vies > 0) {
play();
} else {
gotoAndStop ("bad");
}
Symbol 806 MovieClip Frame 820
stop();
Instance of Symbol 802 MovieClip in Symbol 806 MovieClip Frame 820
onClipEvent (load) {
this.gotoAndStop("good");
}
Symbol 806 MovieClip Frame 823
stop();
Instance of Symbol 802 MovieClip in Symbol 806 MovieClip Frame 823
onClipEvent (load) {
this.gotoAndStop("bad");
}
Symbol 806 MovieClip Frame 835
_root.exam.e.gotoAndStop(1);
_root.corps.gotoAndStop("tuto");
_root.bras.gotoAndStop("normal");
_root.vies = 3;
_root.v1.gotoAndStop(1);
_root.v2.gotoAndStop(1);
_root.v3.gotoAndStop(1);
_root.next1 = undefined;
i = 0;
while (i < _root.maxSpawn) {
if (_root.tapis.t["item" + i] != undefined) {
removeMovieClip(_root.tapis.t["item" + i]);
}
i++;
}
Symbol 806 MovieClip Frame 843
gotoAndPlay (20);
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 806 MovieClip Frame 850
onClipEvent (load) {
frames = 20;
maxVol = _root.volumeValue;
i = maxVol / frames;
fade = "out";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 806 MovieClip Frame 885
_root.musicMC.Menu1.stop();
_root.musicMC.lvl1.stop();
_root.musicMC.lvl2.stop();
_root.musicMC.lvl3.stop();
_root.musicMC.lvl4.stop();
_root.musicMC.bonus.stop();
stop();
_root.gotoAndPlay("menu");
Symbol 808 MovieClip Frame 1
if (_root.wave == 1) {
i = "st";
} else if (_root.wave == 2) {
i = "nd";
} else if (_root.wave == 3) {
i = "rd";
} else if (_root.wave >= 4) {
i = "th";
}
texte.text = (_root.wave + i) + " wave completed!";
Symbol 811 MovieClip Frame 3
_root.sonsF("wave", "autre");
Symbol 811 MovieClip Frame 30
_root.sonsF("correct2", "autre");
Symbol 811 MovieClip Frame 38
_root.score = _root.score + 100;
Symbol 811 MovieClip Frame 55
if (_root.v3._currentframe == 1) {
_root.v3.pts.gotoAndPlay(2);
}
Symbol 811 MovieClip Frame 63
if (_root.v2._currentframe == 1) {
_root.v2.pts.gotoAndPlay(2);
}
Symbol 811 MovieClip Frame 72
if (_root.v1._currentframe == 1) {
_root.v1.pts.gotoAndPlay(2);
}
Symbol 811 MovieClip Frame 100
stop();
_root.spawn.play();
_parent.gotoAndStop(1);
Symbol 816 MovieClip Frame 1
_root.sonsF("shift", "autre");
Symbol 816 MovieClip Frame 10
_root.corps.gotoAndPlay("endday");
Symbol 816 MovieClip Frame 89
_root.sonsF("correct2", "autre");
Symbol 816 MovieClip Frame 97
_root.score = _root.score + 1000;
Symbol 816 MovieClip Frame 140
_root.exam.gotoAndPlay("parle");
Symbol 816 MovieClip Frame 142
_root.exam.e.play();
Symbol 816 MovieClip Frame 157
_root.spawn.play();
stop();
Symbol 816 MovieClip Frame 160
stop();
_parent.gotoAndStop(1);
Symbol 852 MovieClip Frame 15
_root.corps.gotoAndPlay("gameover");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 852 MovieClip Frame 45
onClipEvent (load) {
frames = 55;
maxVol = _root.volumeValue;
i = maxVol / frames;
fade = "out";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 852 MovieClip Frame 101
_root.musicMC.Menu1.stop();
_root.musicMC.lvl1.stop();
_root.musicMC.lvl2.stop();
_root.musicMC.lvl3.stop();
_root.musicMC.lvl4.stop();
_root.musicMC.bonus.stop();
Symbol 852 MovieClip Frame 102
_root.musicMC.gotoAndStop(1);
Symbol 852 MovieClip Frame 105
_root.sonsF("fired", "autre");
Symbol 852 MovieClip Frame 155
stop();
_root.gotoAndStop("submit");
Symbol 853 MovieClip Frame 1
stop();
frame = "idle";
Symbol 853 MovieClip Frame 2
stop();
frame = "wave";
Symbol 853 MovieClip Frame 3
stop();
frame = "endday";
Symbol 853 MovieClip Frame 4
stop();
frame = "gameover";
Symbol 863 MovieClip Frame 1
stop();
Symbol 863 MovieClip Frame 14
_root.corps.gotoAndPlay("tuto2");
Symbol 863 MovieClip Frame 129
gotoAndPlay (15);
Symbol 863 MovieClip Frame 145
_parent.gotoAndStop(1);
Symbol 864 MovieClip Frame 1
stop();
Symbol 864 MovieClip Frame 2
stop();
Symbol 872 Button
on (release) {
play();
}
Symbol 877 MovieClip Frame 1
stop();
Symbol 877 MovieClip Frame 2
stop();
Instance of Symbol 523 MovieClip in Symbol 878 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 544 MovieClip in Symbol 878 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 550 MovieClip in Symbol 878 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 877 MovieClip in Symbol 878 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Symbol 879 MovieClip Frame 2
_root.vitesse = "slow";
_root.musicMC.gotoAndStop("lvl1");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 879 MovieClip Frame 2
onClipEvent (load) {
frames = 15;
maxVol = _root.maxVol;
i = maxVol / frames;
fade = "in";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 879 MovieClip Frame 27
stop();
Symbol 879 MovieClip Frame 30
_root.vitesse = "slow";
maxCnt = 20;
cnt = 0;
_root.wave = 1;
Symbol 879 MovieClip Frame 49
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 79
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 124
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 154
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 204
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 229
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 269
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 314
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 354
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 404
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if (cnt < maxCnt) {
gotoAndPlay ("vague1");
} else {
cnt = 0;
}
Symbol 879 MovieClip Frame 679
stop();
_root.fin.gotoAndPlay(2);
Symbol 879 MovieClip Frame 680
_root.wave = 2;
if (_root.vies > 0) {
_root.vies = 3;
_root.v1.gotoAndStop(1);
_root.v2.gotoAndStop(1);
_root.v3.gotoAndStop(1);
}
Symbol 879 MovieClip Frame 681
maxCnt = 40;
Symbol 879 MovieClip Frame 696
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 720
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 745
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 765
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 790
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 810
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 835
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 855
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 875
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 895
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if (cnt < maxCnt) {
gotoAndPlay ("vague2");
} else {
cnt = 0;
}
Symbol 879 MovieClip Frame 896
stop();
_root.vitesse = "fast";
vag = 0;
Symbol 879 MovieClip Frame 897
stop();
_root.fin.gotoAndPlay(2);
Symbol 879 MovieClip Frame 898
_root.wave = 3;
if (_root.vies > 0) {
_root.vies = 3;
_root.v1.gotoAndStop(1);
_root.v2.gotoAndStop(1);
_root.v3.gotoAndStop(1);
}
Symbol 879 MovieClip Frame 899
maxCnt = 50;
maxVag = 60;
Symbol 879 MovieClip Frame 908
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 916
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 931
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 943
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 964
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 993
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 1003
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 1013
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 1028
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 879 MovieClip Frame 1053
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if ((cnt == maxCnt) && (vag < maxVag)) {
gotoAndPlay ("cnt0");
} else if (vag < maxVag) {
gotoAndPlay ("vague3");
} else {
gotoAndStop ("fin");
}
Symbol 879 MovieClip Frame 1084
stop();
cnt = 0;
if (vag < maxVag) {
gotoAndPlay ("vague3");
} else {
gotoAndStop ("fin");
}
Symbol 879 MovieClip Frame 1119
stop();
_root.vitesse = "slow";
Symbol 879 MovieClip Frame 1120
stop();
_root.fin.gotoAndPlay(2);
if (_root.vies > 0) {
_root.vies = 3;
}
Symbol 879 MovieClip Frame 1124
stop();
_root.fin.gotoAndPlay("endday");
_root.tapis.t.stop();
Symbol 879 MovieClip Frame 1125
stop();
Instance of Symbol 802 MovieClip in Symbol 879 MovieClip Frame 1125
onClipEvent (load) {
this.gotoAndStop("fin1");
}
Symbol 879 MovieClip Frame 1126
_root.exam.e.gotoAndPlay("fini");
_root.corps.gotoAndPlay("fin");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 879 MovieClip Frame 1126
onClipEvent (load) {
frames = 47;
maxVol = _root.volumeValue;
i = maxVol / frames;
fade = "out";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 879 MovieClip Frame 1190
_root.musicMC.Menu1.stop();
_root.musicMC.lvl1.stop();
_root.musicMC.lvl2.stop();
_root.musicMC.lvl3.stop();
_root.musicMC.lvl4.stop();
_root.musicMC.bonus.stop();
_root.gotoAndStop("lv2");
stop();
Symbol 890 MovieClip Frame 1
stop();
Symbol 890 MovieClip Frame 14
_root.corps.gotoAndPlay("tuto2");
Symbol 890 MovieClip Frame 129
gotoAndPlay (15);
Symbol 890 MovieClip Frame 145
_parent.gotoAndStop(1);
Symbol 891 MovieClip Frame 1
stop();
Symbol 891 MovieClip Frame 2
stop();
Instance of Symbol 577 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 582 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 588 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 579 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 585 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 591 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Symbol 897 MovieClip Frame 2
_root.vitesse = "slow";
_root.musicMC.gotoAndStop("lvl2");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 897 MovieClip Frame 2
onClipEvent (load) {
frames = 15;
maxVol = _root.maxVol;
i = maxVol / frames;
fade = "in";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 897 MovieClip Frame 27
stop();
Symbol 897 MovieClip Frame 30
_root.vitesse = "slow";
maxCnt = 30;
cnt = 0;
_root.wave = 1;
Symbol 897 MovieClip Frame 50
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 75
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 95
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 114
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 143
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 162
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 186
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 210
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 229
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 249
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if (cnt < maxCnt) {
gotoAndPlay ("vague1");
} else {
cnt = 0;
}
Symbol 897 MovieClip Frame 279
stop();
_root.vitesse = "fast";
vag = 0;
Symbol 897 MovieClip Frame 280
stop();
_root.fin.gotoAndStop(2);
Symbol 897 MovieClip Frame 281
_root.wave = 2;
if (_root.vies > 0) {
_root.vies = 3;
_root.v1.gotoAndStop(1);
_root.v2.gotoAndStop(1);
_root.v3.gotoAndStop(1);
}
Symbol 897 MovieClip Frame 282
maxCnt = 50;
maxVag = 50;
Symbol 897 MovieClip Frame 299
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 313
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 335
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 354
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 372
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 392
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 415
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 430
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 447
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 465
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if ((cnt == maxCnt) && (vag < maxVag)) {
gotoAndPlay ("cnt0");
} else if (vag < maxVag) {
gotoAndPlay ("vague2");
} else {
gotoAndPlay ("fin2");
}
Symbol 897 MovieClip Frame 485
stop();
cnt = 0;
gotoAndPlay ("vague2");
Symbol 897 MovieClip Frame 661
stop();
_root.fin.gotoAndStop(2);
Symbol 897 MovieClip Frame 662
_root.wave = 3;
cnt = 0;
vag = 0;
if (_root.vies > 0) {
_root.vies = 3;
_root.v1.gotoAndStop(1);
_root.v2.gotoAndStop(1);
_root.v3.gotoAndStop(1);
}
Symbol 897 MovieClip Frame 663
maxCnt = 50;
maxVag = 70;
Symbol 897 MovieClip Frame 677
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 692
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 706
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 722
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 733
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 748
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 758
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 773
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 782
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 897 MovieClip Frame 794
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if ((cnt == maxCnt) && (vag < maxVag)) {
gotoAndPlay ("cnt1");
} else if (vag < maxVag) {
gotoAndPlay ("vague3");
} else {
gotoAndStop ("fin3");
}
Symbol 897 MovieClip Frame 825
stop();
cnt = 0;
gotoAndPlay ("vague3");
Symbol 897 MovieClip Frame 847
stop();
_root.vitesse = "slow";
Symbol 897 MovieClip Frame 848
stop();
_root.fin.gotoAndStop(2);
if (_root.vies > 0) {
_root.vies = 3;
}
Symbol 897 MovieClip Frame 852
stop();
_root.fin.gotoAndStop("endday");
_root.tapis.t.stop();
Symbol 897 MovieClip Frame 853
stop();
Instance of Symbol 802 MovieClip in Symbol 897 MovieClip Frame 853
onClipEvent (load) {
this.gotoAndStop("fin2");
}
Symbol 897 MovieClip Frame 854
_root.exam.e.gotoAndPlay("fini");
_root.corps.gotoAndPlay("fin");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 897 MovieClip Frame 854
onClipEvent (load) {
frames = 47;
maxVol = _root.volumeValue;
i = maxVol / frames;
fade = "out";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 897 MovieClip Frame 918
_root.musicMC.Menu1.stop();
_root.musicMC.lvl1.stop();
_root.musicMC.lvl2.stop();
_root.musicMC.lvl3.stop();
_root.musicMC.lvl4.stop();
_root.musicMC.bonus.stop();
_root.gotoAndStop("lv3");
stop();
Symbol 915 MovieClip Frame 1
stop();
Symbol 915 MovieClip Frame 14
_root.corps.gotoAndPlay("tuto2");
Symbol 915 MovieClip Frame 129
gotoAndPlay (15);
Symbol 915 MovieClip Frame 145
_parent.gotoAndStop(1);
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 2
stop();
Instance of Symbol 653 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 656 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 659 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 662 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 665 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 668 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 671 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 674 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 680 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 683 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.hit.enabled = false;
}
Instance of Symbol 668 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
this.moustache.stop();
this.hit.enabled = false;
}
Symbol 924 MovieClip Frame 2
_root.vitesse = "slow";
_root.musicMC.gotoAndStop("lvl3");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 924 MovieClip Frame 2
onClipEvent (load) {
frames = 15;
maxVol = _root.maxVol;
i = maxVol / frames;
fade = "in";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 924 MovieClip Frame 27
stop();
Symbol 924 MovieClip Frame 30
_root.vitesse = "slow";
maxCnt = 40;
cnt = 0;
_root.wave = 1;
Symbol 924 MovieClip Frame 54
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 79
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 99
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 124
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 154
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 174
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 194
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 219
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 239
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 259
cnt = cnt + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if (cnt < maxCnt) {
gotoAndPlay ("vague1");
} else {
cnt = 0;
}
Symbol 924 MovieClip Frame 534
stop();
vag = 0;
_root.fin.gotoAndStop(2);
Symbol 924 MovieClip Frame 535
_root.wave = 2;
_root.pres.c.gotoAndPlay("old");
if (_root.vies > 0) {
_root.vies = 3;
_root.v1.gotoAndStop(1);
_root.v2.gotoAndStop(1);
_root.v3.gotoAndStop(1);
}
Symbol 924 MovieClip Frame 539
maxCnt = 50;
maxVag = 60;
Symbol 924 MovieClip Frame 554
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 574
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 594
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 614
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 634
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 659
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 674
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 694
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 719
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 739
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if ((cnt == maxCnt) && (vag < maxVag)) {
gotoAndPlay ("cnt0");
} else if (vag < maxVag) {
gotoAndPlay ("vague2");
} else {
gotoAndPlay ("fin2");
}
Symbol 924 MovieClip Frame 759
stop();
cnt = 0;
gotoAndPlay ("vague2");
Symbol 924 MovieClip Frame 1039
stop();
_root.fin.gotoAndStop(2);
Symbol 924 MovieClip Frame 1040
_root.wave = 3;
_root.pres.c.gotoAndPlay("old");
cnt = 0;
vag = 0;
if (_root.vies > 0) {
_root.vies = 3;
_root.v1.gotoAndStop(1);
_root.v2.gotoAndStop(1);
_root.v3.gotoAndStop(1);
}
Symbol 924 MovieClip Frame 1041
maxCnt = 50;
maxVag = 80;
Symbol 924 MovieClip Frame 1064
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1084
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1109
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1134
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1154
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1174
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1199
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1219
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1239
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
Symbol 924 MovieClip Frame 1264
cnt = cnt + 1;
vag = vag + 1;
duplicateMovieClip (_root.tapis.t.item, "item" + cnt, cnt);
if ((cnt == maxCnt) && (vag < maxVag)) {
gotoAndPlay ("cnt1");
} else if (vag < maxVag) {
gotoAndPlay ("vague3");
} else {
gotoAndPlay ("fin3");
}
Symbol 924 MovieClip Frame 1309
stop();
cnt = 0;
gotoAndPlay ("vague3");
Symbol 924 MovieClip Frame 1331
play();
Symbol 924 MovieClip Frame 1611
stop();
_root.fin.gotoAndStop(2);
if (_root.vies > 0) {
_root.vies = 3;
}
Symbol 924 MovieClip Frame 1615
stop();
_root.fin.gotoAndStop("endday");
_root.tapis.t.stop();
Symbol 924 MovieClip Frame 1616
stop();
Instance of Symbol 802 MovieClip in Symbol 924 MovieClip Frame 1616
onClipEvent (load) {
this.gotoAndStop("fin3");
}
Symbol 924 MovieClip Frame 1617
_root.exam.e.gotoAndPlay("fini");
_root.corps.gotoAndPlay("fin2");
Instance of Symbol 176 MovieClip "fadeMC" in Symbol 924 MovieClip Frame 1617
onClipEvent (load) {
frames = 47;
maxVol = _root.volumeValue;
i = maxVol / frames;
fade = "out";
}
onClipEvent (enterFrame) {
if (fade == "in") {
if (_root.volumeValue < maxVol) {
_root.volumeValue = _root.volumeValue + i;
} else if (_root.volumeValue >= maxVol) {
_root.volumeValue = maxVol;
}
}
if (fade == "out") {
if (_root.volumeValue >= 0) {
_root.volumeValue = _root.volumeValue - i;
} else if (_root.volumeValue <= 0) {
_root.volumeValue = 0;
}
}
if (_root.musique == "on") {
_root.musicMC.Menu1.setVolume(_root.volumeValue);
_root.musicMC.lvl1.setVolume(_root.volumeValue);
_root.musicMC.lvl2.setVolume(_root.volumeValue);
_root.musicMC.lvl3.setVolume(_root.volumeValue);
_root.musicMC.lvl4.setVolume(_root.volumeValue);
_root.musicMC.bonus.setVolume(_root.volumeValue);
}
}
Symbol 924 MovieClip Frame 1744
_root.musicMC.Menu1.stop();
_root.musicMC.lvl1.stop();
_root.musicMC.lvl2.stop();
_root.musicMC.lvl3.stop();
_root.musicMC.lvl4.stop();
_root.musicMC.bonus.stop();
_root.musicMC.gotoAndStop(1);
_root.gotoAndStop("submit");
stop();