home *** CD-ROM | disk | FTP | other *** search
- function StopAll()
- {
- _o_.StopAll();
- }
- function ModulePause()
- {
- trace("ModulePause : " + ModulePause);
- }
- function ModuleResume()
- {
- }
- function Init()
- {
- _global.xGetConfig();
- InitMC({mc:_root.BT_RETOUR});
- _root.BT_RETOUR.OnPress = function()
- {
- _global.ChangeModule({codeRub:"MBB",numMod:0});
- };
- _root.BT_RETOUR.swapDepths(17589);
- _root.InitOk();
- }
- function InitNextZone()
- {
- _root.stopBruitage({nomSon:"B_CRAIE"});
- _root.stopBruitage({nomSon:"B_EPONGE"});
- _root.stopBruitage({nomSon:"B_AIMANT"});
- _root.stopBruitage({nomSon:"B_METRE"});
- _root.stopBruitage({nomSon:"B_POP"});
- _root.stopBruitage({nomSon:"B_RADIO"});
- _root.stopBruitage({nomSon:"B_RADIO_01"});
- ZONE_EN_COURS++;
- _root.afficherMascottes([{nom:"BUG_ANE",action:"E2"},{nom:"SPAM_NEUTRE",action:"E2"},{nom:"WIKI_NEUTRE",action:"E2"}]);
- var _loc4_ = _root["ZONE_" + gimme2digits(ZONE_EN_COURS)];
- trace("zone : " + _loc4_);
- _loc4_.No = ZONE_EN_COURS;
- if(ZONE_EN_COURS == 10)
- {
- InitMC({mc:_loc4_,son:BRUITS_ZONES[ZONE_EN_COURS]});
- _loc4_.OnPress = function()
- {
- _root.stopBruitage({nomSon:BRUITS_ZONES[this.No]});
- this.enabled = false;
- _root.gotoAndStop(gimme2digits(this.No) + "_00");
- };
- }
- else
- {
- _loc4_.CiblesDrag = [_root.TABLEAU];
- InitMC({mc:_loc4_,fonction:"dragdrop",son:BRUITS_ZONES[ZONE_EN_COURS]});
- _loc4_.ApresDrag = function()
- {
- if(this.CiblesTouchees[0] == _root.TABLEAU)
- {
- this.enabled = false;
- this._visible = false;
- _root.gotoAndStop(gimme2digits(this.No) + "_00");
- }
- else
- {
- this.ComeBack();
- gereCursor("fleche");
- }
- };
- }
- var _loc3_ = ZONE_EN_COURS;
- while(_loc3_ <= 10)
- {
- _root["ZONE_" + gimme2digits(_loc3_)]._visible = true;
- _loc3_ = _loc3_ + 1;
- }
- }
- var mod = this;
- _root.StopAll = StopAll;
- var ZONE_EN_COURS = 0;
- var BRUITS_ZONES = [undefined,undefined,"B_CARTE","B_DESSIN","B_METRE","B_CRAIE","B_DESSIN","B_QUESTION","B_CAHIER","B_LIVRE","B_RADIO"];
- _root.InitNextZone = InitNextZone;
-