Frame 1
stop();
Instance of Symbol 47 MovieClip in Frame 1
onClipEvent (load) {
Btotal = _parent.getBytesTotal();
var Bloaded = _parent.getBytesLoaded();
if (_parent._framesloaded >= 70) {
_parent.gotoAndStop("Play");
}
}
onClipEvent (enterFrame) {
var Bloaded = _parent.getBytesLoaded();
if (_parent._framesloaded >= 70) {
_parent.gotoAndStop("Play");
}
var pourcent = Math.floor((Bloaded / Btotal) * 100);
bar._xscale = pourcent;
}
Frame 10
stop();
Frame 20
stop();
Instance of Symbol 196 MovieClip in Frame 20
onClipEvent (load) {
function goToPlay() {
_parent.gotoAndPlay("init");
}
function goToBack() {
_parent.gotoAndPlay("Play");
}
}
Frame 30
score = 0;
Instance of Symbol 210 MovieClip in Frame 30
/* no clip actions */
Instance of Symbol 221 MovieClip "ickmeter" in Frame 30
onClipEvent (load) {
stop();
if (_parent.v.nbrLife > _parent.v.lifeChange) {
var inverseScale = ((_parent.v.lifeScale - _parent.v.nbrLife) + 1);
bar._xscale = Math.floor((inverseScale / _parent.v.lifeScale) * 100);
this.gotoAndPlay("ding");
} else {
bar._xscale = 0;
var inverseScale = (_parent.v.lifeScale - _parent.v.nbrLife);
bar._xscale = Math.floor((inverseScale / _parent.v.lifeScale) * 100);
}
_parent.v.lifeChange = _parent.v.nbrLife;
}
onClipEvent (enterFrame) {
if ((_parent.v.nbrLife != _parent.v.lifeChange) and (_parent.v.nbrLife < _parent.v.lifeChange)) {
if (_parent.v.nbrLife < _parent.v.lifeChange) {
play();
}
var inverseScale = (_parent.v.lifeScale - _parent.v.nbrLife);
bar._xscale = Math.floor((inverseScale / _parent.v.lifeScale) * 100);
bar.gotoAndPlay(1);
_parent.v.lifeChange = _parent.v.nbrLife;
}
}
Instance of Symbol 277 MovieClip "food1" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food2" in Frame 30
onClipEvent (load) {
limits = 2;
}
Instance of Symbol 277 MovieClip "food3" in Frame 30
onClipEvent (load) {
limits = 3;
}
Instance of Symbol 277 MovieClip "food4" in Frame 30
onClipEvent (load) {
limits = 4;
}
Instance of Symbol 277 MovieClip "food5" in Frame 30
onClipEvent (load) {
limits = 5;
}
Instance of Symbol 277 MovieClip "food6" in Frame 30
onClipEvent (load) {
limits = 6;
}
Instance of Symbol 277 MovieClip "food7" in Frame 30
onClipEvent (load) {
limits = 7;
}
Instance of Symbol 277 MovieClip "food8" in Frame 30
onClipEvent (load) {
limits = 8;
}
Instance of Symbol 277 MovieClip "food9" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food10" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food11" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food12" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food13" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food14" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food16" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food17" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food19" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food20" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food21" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food22" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food23" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food24" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 332 MovieClip "barre" in Frame 30
onClipEvent (load) {
action = "";
}
Instance of Symbol 277 MovieClip "food25" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food26" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food27" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 277 MovieClip "food28" in Frame 30
onClipEvent (load) {
limits = 1;
}
Instance of Symbol 374 MovieClip "fallingObject" in Frame 30
/* no clip actions */
Instance of Symbol 375 MovieClip "instructions" in Frame 30
onClipEvent (load) {
function goToPlay() {
_parent.v.HelpWasPressed = false;
_parent.v.pause = false;
_parent.barre.action = "retourPause";
_parent.barre.gotoAndPlay("retourPause");
if (_parent.v.nbrLife <= 0) {
_root.v.intervalInstructions = setInterval(function () {
_parent.v.endSandwich = false;
_parent.v.sandwichHeight = 1;
_parent.v.fallNumber = 100;
_parent.v.RandomBread = random(4) + 9;
_parent.gotoAndStop("gameover");
clearInterval(_root.v.intervalInstructions);
}, 250);
}
this.gotoAndStop(1);
_parent.controler.hideFallObj(true);
}
function goToBack() {
_parent.v.HelpWasPressed = false;
_parent.v.pause = false;
_parent.barre.action = "retourPause";
_parent.barre.gotoAndPlay("retourPause");
if (_parent.v.nbrLife <= 0) {
_root.v.intervalInstructions = setInterval(function () {
_parent.v.endSandwich = false;
_parent.v.sandwichHeight = 1;
_parent.v.fallNumber = 100;
_parent.v.RandomBread = random(4) + 9;
trace("gotoPlay" + _root.v.interval);
_parent.gotoAndStop("gameover");
clearInterval(_root.v.intervalInstructions);
}, 250);
}
this.gotoAndStop(1);
_parent.controler.hideFallObj(true);
}
}
Instance of Symbol 379 MovieClip "v" in Frame 39
onClipEvent (load) {
stageWidth = 580;
speedDown = 7;
intervalFall = 1100;
PlateSpeed = 9;
move = 0;
pause = false;
betweenLevel = false;
fallNumber = 100;
sandwichHeight = 0;
xMinFallObject = 36;
xMaxFallObject = 370;
minMaxDiff = 278;
tempFood = 0;
lifeScale = 3;
nbrLife = lifeScale;
lifeChange = lifeScale;
bonusLife = 1000;
gameOver = false;
nbrSandLevel = 1;
breadSlice = 17;
levelNumber = 0;
var startRanBread = 9;
RandomBread = random(4) + startRanBread;
endSandwich = false;
sandwichCumul = 0;
nbrSandwich = 0;
ecranCumul = new Array(2, 5, 9);
interval = null;
intervalInstructions = null;
startScore = 125;
score = 0;
moving = false;
QuitWasPressed = false;
HelpWasPressed = false;
lastXofFallObj = random(xMaxFallObject - xMinFallObject) + xMinFallObject;
distBetweenFallObj = 270;
}
Frame 40
stop();
Instance of Symbol 384 MovieClip "MClevel" in Frame 40
onClipEvent (load) {
levelText = "LEVEL " add (_parent.v.levelNumber + 1);
}
Instance of Symbol 392 MovieClip "controler" in Frame 40
onClipEvent (load) {
function Fall() {
}
function FiniSandwiche() {
_parent.v.sandwichCumul++;
_parent.v.nbrSandwich++;
_parent["food" + (_parent.v.sandwichHeight - 1)].play();
_parent.v.endSandwich = false;
_parent.v.fallNumber = 100;
var startRanBread = 9;
_parent.v.RandomBread = random(4) + startRanBread;
_parent.barre.gotoAndPlay("Swallow");
_parent.barre.action = "Swallow";
if (_parent.v.score >= _parent.v.bonusLife) {
if (_parent.v.lifeScale > _parent.v.nbrLife) {
_parent.v.nbrLife++;
_parent.Life = _parent.v.nbrLife;
}
_parent.v.bonusLife = _parent.v.bonusLife + 1000;
}
}
function fallingObjectPause(theCallingObj) {
if (_parent.v.pause) {
theCallingObj.stop();
} else {
theCallingObj.play();
}
}
function hideFallObj(state) {
var fallObjNum = _parent.v.fallNumber;
while (_parent["mc" add fallObjNum] != null) {
_parent["mc" add fallObjNum]._visible = state;
fallObjNum--;
}
return(undefined);
}
_parent.v.referenceFrame = _parent._currentframe;
_parent.v.endSandwich = false;
_parent.v.sandwichHeight = 1;
_parent.v.fallNumber = 100;
var startRanBread = 9;
_parent.v.RandomBread = random(4) + startRanBread;
_parent.Life = _parent.v.nbrLife;
_parent.score = _parent.v.score;
intervFallObj = getTimer() + _parent.v.intervalFall;
pauseWasPressed = false;
_parent.v.pause = false;
}
onClipEvent (enterFrame) {
if (_parent.v.pause) {
if (pauseWasPressed == false) {
intervalLeft = intervFallObj - getTimer();
}
pauseWasPressed = true;
return(undefined);
}
if (pauseWasPressed) {
intervFallObj = getTimer() + intervalLeft;
pauseWasPressed = false;
}
if (intervFallObj < getTimer()) {
intervFallObj = intervFallObj + _parent.v.intervalFall;
do {
var Xrandom = (random(2) ? (_parent.v.lastXofFallObj + random(_parent.v.distBetweenFallObj)) : (_parent.v.lastXofFallObj - random(_parent.v.distBetweenFallObj)));
} while ((Xrandom > _parent.v.xMaxFallObject) or (Xrandom < _parent.v.xMinFallObject));
_parent.v.fallNumber++;
duplicateMovieClip (_parent.fallingObject, "mc" + _parent.v.fallNumber, _parent.v.fallNumber);
_parent["mc" + _parent.v.fallNumber]._x = Xrandom;
_parent["mc" + _parent.v.fallNumber].gotoAndPlay("fall");
_parent.v.lastXofFallObj = Xrandom;
}
_parent.v.moving = false;
if (Key.isDown(37) and (!Key.isDown(39))) {
if (_parent.barre._x > _parent.v.xMinFallObject) {
_parent.v.move = -_parent.v.PlateSpeed;
_parent.barre._x = _parent.barre._x - _parent.v.PlateSpeed;
_parent.v.moving = true;
}
} else if (Key.isDown(39) and (!Key.isDown(37))) {
if (_parent.barre._x < _parent.v.xMaxFallObject) {
_parent.v.move = _parent.v.PlateSpeed;
_parent.barre._x = _parent.barre._x + _parent.v.PlateSpeed;
_parent.v.moving = true;
}
}
if ((_parent.food28._currentframe != 1) and (_parent.food28._currentframe != _parent.v.breadSlice)) {
_parent.v.gameOver = true;
_parent.gotoAndPlay("gameover");
}
}
Frame 50
stop();
Instance of Symbol 422 MovieClip in Frame 50
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Instance of Symbol 441 MovieClip in Frame 50
onClipEvent (load) {
_parent.v.speedDown = _parent.v.speedDown + (_parent.v.speedDown * 0.01);
_parent.v.intervalFall = _parent.v.intervalFall - (_parent.v.intervalFall * 0.04);
if (_parent.v.intervalFall < 700) {
_parent.v.intervalFall = 700;
}
_parent.v.distBetweenFallObj = _parent.v.distBetweenFallObj - (_parent.v.distBetweenFallObj * 0.01);
_parent.v.PlateSpeed = _parent.v.PlateSpeed + (_parent.v.PlateSpeed * 0.01);
trace((((((_parent.v.speedDown + " : ") + _parent.v.intervalFall) + " : ") + _parent.v.distBetweenFallObj) + " : ") + _parent.v.PlateSpeed);
_parent.v.nbrSandwich = 0;
_parent.v.levelNumber++;
switch (_parent.v.levelNumber) {
case _parent.v.ecranCumul[0] :
_parent.comment = "Nombre de sandwich";
_parent.cumulatif = _parent.v.sandwichCumul;
break;
case _parent.v.ecranCumul[1] :
_parent.comment = "Nombre de sandwich";
_parent.cumulatif = _parent.v.sandwichCumul;
break;
case _parent.v.ecranCumul[2] :
_parent.comment = "Nombre de sandwich";
_parent.cumulatif = _parent.v.sandwichCumul;
break;
default :
_parent.comment = "";
_parent.cumulatif = "";
}
_parent.v.sandwichHeight = 1;
_parent.v.fallNumber = 100;
var startRanBread = 9;
_parent.v.RandomBread = random(4) + startRanBread;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) or Key.isDown(13)) {
_parent.gotoAndStop("game");
}
}
Instance of Symbol 384 MovieClip in Frame 50
onClipEvent (load) {
levelText = "LEVEL " add _parent.v.levelNumber;
}
onClipEvent (enterFrame) {
if (_currentframe > 15) {
stop();
}
}
Frame 60
stop();
Frame 70
function fsdPlayAgain() {
gotoAndPlay (30);
}
var eventID = "dc_ls625ss_2536";
var subject = "625 Sandwich Stacker";
var playerScore = score;
DOGE.loadMovie("http://www.disney.go.com/disneychannel/global/game/scoredisplays/fsd.swf", 1);
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 49
gotoAndStop (1);
Symbol 116 Button
on (release) {
gotoAndPlay (30);
}
Symbol 123 Button
on (release) {
gotoAndStop (20);
}
Symbol 194 Button
on (release) {
goToPlay();
}
Symbol 196 MovieClip Frame 1
stop();
Instance of Symbol 150 MovieClip "t3" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 150 MovieClip "t2" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 150 MovieClip "t1" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 157 MovieClip "t2" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 157 MovieClip "t1" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 164 MovieClip "t2" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 164 MovieClip "t1" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 169 MovieClip "t1" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 169 MovieClip "t2" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Symbol 201 Button
on (press) {
if ((_parent.v.QuitWasPressed or _parent.v.HelpWasPressed) or (_parent.barre.action == "Swallow")) {
return(undefined);
}
if (_parent.v.PauseWasPressed == undefined) {
_parent.v.PauseWasPressed = false;
}
if (_parent.v.pause == false) {
_parent.v.pause = true;
_parent.v.moving = false;
_parent.barre.action = "pauseAction";
_parent.barre.gotoAndPlay("pauseAction");
_parent.v.PauseWasPressed = true;
_parent.gotoAndStop("pause");
gotoAndStop (2);
}
}
Symbol 204 Button
on (press) {
if (((!_parent.v.QuitWasPressed) and (!_parent.v.PauseWasPressed)) and (_parent.barre.action != "Swallow")) {
_parent.v.pause = true;
_parent.v.moving = false;
_parent.barre.action = "pauseAction";
_parent.barre.gotoAndPlay("pauseAction");
_parent.instructions.gotoAndStop(2);
_parent.v.HelpWasPressed = true;
_parent.controler.hideFallObj(false);
}
}
Symbol 207 Button
on (press) {
if ((_parent.v.PauseWasPressed or _parent.v.HelpWasPressed) or (_parent.barre.action == "Swallow")) {
return(undefined);
}
if (!_parent.v.QuitWasPressed) {
_parent.v.pause = true;
_parent.v.moving = false;
_parent.barre.action = "pauseAction";
_parent.barre.gotoAndPlay("pauseAction");
_parent.mcQuit.play();
_parent.v.QuitWasPressed = true;
} else {
_parent.v.QuitWasPressed = false;
_parent.mcQuit.gotoAndStop(1);
_parent.v.pause = false;
_parent.barre.action = "retourPause";
_parent.barre.gotoAndPlay("retourPause");
_parent.controler.hideFallObj(true);
}
}
Symbol 209 Button
on (press) {
_parent.v.pause = false;
_parent.barre.action = "retourPause";
_parent.barre.gotoAndPlay("retourPause");
_parent.v.PauseWasPressed = false;
_parent.gotoAndStop("game");
gotoAndStop (1);
}
Symbol 210 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 10
gotoAndStop (1);
Symbol 221 MovieClip Frame 12
trace("start ding");
bar.gotoAndPlay(2);
play();
Symbol 221 MovieClip Frame 34
trace("end ding");
bar._xscale = 0;
if (_parent.v.lifeScale == undefined) {
_parent.v.lifeScale = _parent.v.nbrLife;
}
var inverseScale = (_parent.v.lifeScale - _parent.v.nbrLife);
bar._xscale = Math.floor((inverseScale / _parent.v.lifeScale) * 100);
gotoAndStop (1);
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 21
gotoAndStop (1);
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 9
gotoAndStop (1);
Symbol 250 Button
on (release) {
_parent.v.endSandwich = false;
_parent.v.sandwichHeight = 1;
_parent.v.fallNumber = 100;
_parent.v.RandomBread = random(4) + 9;
_parent.gotoAndStop("DOGE");
}
Symbol 251 Button
on (release) {
_parent.v.QuitWasPressed = false;
_parent.v.pause = false;
_parent.barre.action = "retourPause";
_parent.barre.gotoAndPlay("retourPause");
_parent.controler.hideFallObj(true);
this.gotoAndStop(1);
}
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 10
_parent.controler.hideFallObj(false);
stop();
Instance of Symbol 260 MovieClip in Symbol 276 MovieClip Frame 3
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 152 MovieClip in Symbol 276 MovieClip Frame 4
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 152 MovieClip in Symbol 276 MovieClip Frame 4
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 266 MovieClip in Symbol 276 MovieClip Frame 6
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 166 MovieClip in Symbol 276 MovieClip Frame 9
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 166 MovieClip in Symbol 276 MovieClip Frame 9
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 161 MovieClip in Symbol 276 MovieClip Frame 11
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 161 MovieClip in Symbol 276 MovieClip Frame 11
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Symbol 277 MovieClip Frame 1
Xoffset = 0;
stop();
Instance of Symbol 255 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 277 MovieClip Frame 10
play();
Instance of Symbol 276 MovieClip "objectFixe" in Symbol 277 MovieClip Frame 10
onClipEvent (load) {
function decompte() {
this.onEnterFrame = function () {
if (waitAframe == undefined) {
waitAframe = "defined";
} else {
_parent._parent.v.score = _parent._parent.v.score + (5 * positionNum);
_parent._parent.score = _parent._parent.v.score;
_parent._parent.v.bonus = _parent._parent.v.bonus + (5 * positionNum);
_parent._parent.bonus = "+" add _parent._parent.v.bonus;
_parent._parent.MCbonus.play();
if (_parent._parent["food" + (positionNum - 1)].objectFixe != undefined) {
_parent._parent["food" + (positionNum - 1)].objectFixe.decompte();
} else {
_parent._parent.v.sandwichHeight = 1;
if (_parent._parent.v.endSandwich == true) {
_parent._parent.controler.FiniSandwiche();
}
_parent._parent.sfx.gotoAndStop("stopMunche");
}
_parent.gotoAndStop("inactive");
}
};
}
positionNum = _parent._name.slice(4, 6);
if (_parent._parent.v.tempFood != 0) {
this._x = _parent._parent.barre._x - 175;
this.gotoAndStop(_parent._parent.v.tempFood);
_parent._parent.v.tempFood = 0;
}
if (_parent._parent.folowObjOrient == undefined) {
_parent._parent.folowObjOrient = -1;
}
_parent._parent.folowObjOrient = _parent._parent.folowObjOrient * -1;
this._xscale = 100 * _parent._parent.folowObjOrient;
this._x = _parent._parent["food" add (positionNum - 1)].objectFixe._x;
this.onEnterFrame = function () {
if (_parent._parent.v.pause) {
return(undefined);
}
var half = (_parent._parent.v.sandwichHeight / 2);
half = half - Math.abs(half - positionNum);
half = half * 2;
var plateauX = (_parent._parent.barre._x - 175);
if (positionNum == 1) {
this._x = plateauX;
} else {
this._x = this._x + (((2 * positionNum) / 100) * _parent._parent.v.move);
if (this._x > (plateauX + ((2 * positionNum) + half))) {
this._x = plateauX + ((2 * positionNum) + half);
if (!_parent._parent.v.moving) {
_parent._parent.v.move = _parent._parent.v.move * -0.7;
}
} else if (this._x < (plateauX - ((2 * positionNum) + half))) {
this._x = plateauX - ((2 * positionNum) + half);
if (!_parent._parent.v.moving) {
_parent._parent.v.move = _parent._parent.v.move * -0.7;
}
}
this._rotation = this._x - _parent._parent["food" add (positionNum - 1)].objectFixe._x;
}
};
}
Symbol 277 MovieClip Frame 19
stop();
Symbol 277 MovieClip Frame 29
stop();
objectFixe.decompte();
Symbol 290 MovieClip Frame 1
stop();
if (random(3) == 0) {
play();
}
Symbol 315 MovieClip Frame 8
stop();
Symbol 332 MovieClip Frame 1
if (action != "") {
gotoAndPlay(action);
} else if (_parent.v.moving) {
gotoAndPlay (11);
} else {
play();
}
Symbol 332 MovieClip Frame 2
call(1);
Symbol 332 MovieClip Frame 3
call(1);
Symbol 332 MovieClip Frame 4
call(1);
Symbol 332 MovieClip Frame 5
call(1);
Symbol 332 MovieClip Frame 6
call(1);
Symbol 332 MovieClip Frame 7
call(1);
Symbol 332 MovieClip Frame 8
call(1);
Symbol 332 MovieClip Frame 9
call(1);
Symbol 332 MovieClip Frame 10
call(1);
gotoAndPlay (1);
Symbol 332 MovieClip Frame 11
if (action != "") {
gotoAndPlay(action);
} else {
play();
}
Symbol 332 MovieClip Frame 15
if (action != "") {
gotoAndPlay(action);
} else if (_parent.v.moving) {
gotoAndPlay (11);
} else {
gotoAndPlay (1);
}
Symbol 332 MovieClip Frame 16
this.onEnterFrame = function () {
if (_parent.v.moving) {
gotoAndPlay (126);
this.onEnterFrame = null;
}
};
Symbol 332 MovieClip Frame 125
gotoAndPlay (46);
Symbol 332 MovieClip Frame 126
play();
Symbol 332 MovieClip Frame 128
if (_parent.v.nbrLife == 0) {
_root.v.interval = setInterval(function () {
_parent.v.endSandwich = false;
_parent.v.sandwichHeight = 1;
_parent.v.fallNumber = 100;
_parent.v.RandomBread = random(4) + 9;
_parent.gotoAndStop("gameover");
trace("retour pause");
clearInterval(_root.v.interval);
}, 250);
}
action = "";
gotoAndPlay (1);
Symbol 332 MovieClip Frame 129
play();
Instance of Symbol 316 MovieClip in Symbol 332 MovieClip Frame 129
onClipEvent (load) {
gotoAndStop(_parent._parent.v.tempFood - 1);
}
Symbol 332 MovieClip Frame 138
if (condType != "bad") {
action = "";
gotoAndPlay (1);
}
condType = "good";
Symbol 332 MovieClip Frame 139
play();
Symbol 332 MovieClip Frame 150
if (_parent.v.nbrLife <= 0) {
_root.v.interval = setInterval(function () {
_parent.v.endSandwich = false;
_parent.v.sandwichHeight = 1;
_parent.v.fallNumber = 100;
_parent.v.RandomBread = random(4) + 9;
trace("fin Yark");
_parent.gotoAndStop("gameover");
clearInterval(_root.v.interval);
}, 250);
}
action = "";
gotoAndPlay (1);
Symbol 332 MovieClip Frame 151
play();
Symbol 332 MovieClip Frame 161
if (_parent.v.nbrSandwich == _parent.v.nbrSandLevel) {
_parent.gotoAndStop("nextlevel");
}
action = "";
gotoAndPlay (1);
Instance of Symbol 157 MovieClip "t2" in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 157 MovieClip "t1" in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 169 MovieClip "t1" in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 169 MovieClip "t2" in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 150 MovieClip "t3" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 150 MovieClip "t2" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 150 MovieClip "t1" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 164 MovieClip "t2" in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 164 MovieClip "t1" in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Symbol 373 MovieClip Frame 1
stop();
Instance of Symbol 342 MovieClip in Symbol 373 MovieClip Frame 2
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Instance of Symbol 346 MovieClip "t1" in Symbol 373 MovieClip Frame 3
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Instance of Symbol 347 MovieClip "t1" in Symbol 373 MovieClip Frame 4
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 348 MovieClip in Symbol 373 MovieClip Frame 7
onClipEvent (load) {
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Instance of Symbol 349 MovieClip in Symbol 373 MovieClip Frame 8
onClipEvent (load) {
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Instance of Symbol 350 MovieClip in Symbol 373 MovieClip Frame 9
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 351 MovieClip in Symbol 373 MovieClip Frame 10
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 352 MovieClip in Symbol 373 MovieClip Frame 11
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 359 MovieClip in Symbol 373 MovieClip Frame 12
onClipEvent (load) {
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Instance of Symbol 364 MovieClip in Symbol 373 MovieClip Frame 13
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Instance of Symbol 365 MovieClip in Symbol 373 MovieClip Frame 14
onClipEvent (load) {
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Instance of Symbol 369 MovieClip in Symbol 373 MovieClip Frame 15
onClipEvent (load) {
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Instance of Symbol 136 MovieClip in Symbol 373 MovieClip Frame 16
onClipEvent (load) {
this._yscale = (random(2) ? -100 : 100);
}
Instance of Symbol 372 MovieClip in Symbol 373 MovieClip Frame 17
onClipEvent (load) {
this.onEnterFrame = function () {
if (_parent._parent._parent.v.pause) {
stop();
} else {
play();
}
};
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 10
stop();
if (_parent.fallObjOrient == undefined) {
_parent.fallObjOrient = -1;
}
_parent.fallObjOrient = _parent.fallObjOrient * -1;
this._xscale = 100 * _parent.fallObjOrient;
this.onEnterFrame = function () {
if ((_parent.v.referenceFrame - _parent._currentframe) < -9) {
this.removeMovieClip();
return(undefined);
}
if (_parent.v.pause == true) {
return(undefined);
}
if (_y < 410) {
_y = (_y + _parent.v.speedDown);
} else {
this.removeMovieClip();
return(undefined);
}
if ((_parent.v.gameover == true) or (_parent.v.endSandwich == true)) {
this.removeMovieClip();
return(undefined);
}
if (_parent.v.sandwichHeight == 1) {
if ((((_y > (_parent.barre._y - 3)) && (_y < (_parent.barre._y + (_parent.v.speedDown * 2)))) && (_x > (_parent.barre._x - 30))) && (_x < (_parent.barre._x + 30))) {
if (RandomElement <= 11) {
_parent.v.tempFood = RandomElement;
_parent["food" + _parent.v.sandwichHeight].Xoffset = this._x;
_parent["food" + _parent.v.sandwichHeight].gotoAndPlay("follow");
_parent.v.sandwichHeight++;
} else {
_parent.barre.gotoAndPlay("YARK");
_parent.barre.action = "YARK";
_parent.v.nbrLife--;
_parent.Life = _parent.v.nbrLife;
_parent.tete.gotoAndPlay("blink");
this.play();
this.onEnterFrame = null;
return(undefined);
}
this.onEnterFrame = this.removeMovieClip();
}
} else {
var currCondiment = _parent["food" + (_parent.v.sandwichHeight - 1)];
if ((((_y > (currCondiment._y - 3)) && (_y < (currCondiment._y + (_parent.v.speedDown * 2)))) && (_x > (currCondiment.objectFixe._x + 125))) && (_x < (currCondiment.objectFixe._x + 225))) {
if (RandomElement <= 11) {
_parent.v.tempFood = RandomElement;
_parent["food" + _parent.v.sandwichHeight].gotoAndPlay("follow");
_parent.v.sandwichHeight++;
} else if (RandomElement == _parent.v.breadSlice) {
_parent.v.tempFood = RandomElement;
_parent["food" + _parent.v.sandwichHeight].gotoAndPlay("bread");
_parent.v.sandwichHeight++;
_parent.v.endSandwich = true;
_parent.sfx.gotoAndStop("munche");
_parent.v.bonus = 0;
} else {
_parent.barre.gotoAndPlay("YARK");
_parent.barre.action = "YARK";
_parent.v.nbrLife--;
_parent.Life = _parent.v.nbrLife;
_parent.tete.gotoAndPlay("blink");
this.play();
this.onEnterFrame = null;
return(undefined);
}
this.onEnterFrame = this.removeMovieClip();
}
}
};
Instance of Symbol 373 MovieClip "completeObjects" in Symbol 374 MovieClip Frame 10
onClipEvent (load) {
if (((_parent._parent.v.fallNumber - 100) >= _parent._parent.v.RandomBread) && (_parent._parent.v.sandwichHeight > 3)) {
_parent.RandomElement = _parent._parent.v.breadSlice;
_parent._parent.v.RandomBread = _parent._parent.v.RandomBread + _parent._parent.v.RandomBread;
_parent._parent.toaster.play();
_parent._y = -30 * _parent._parent.v.speedDown;
_parent._parent.controler.intervFallObj = _parent._parent.controler.intervFallObj + 1500;
} else {
do {
_parent.RandomElement = random(16) + 1;
} while ((_parent.RandomElement == 1) or (_parent._parent.v.lastFallenElement == _parent.RandomElement));
if (_parent.RandomElement < 12) {
_parent._parent.v.lastFallenElement = _parent.RandomElement;
}
}
this.gotoAndStop(_parent.RandomElement);
}
Instance of Symbol 316 MovieClip in Symbol 374 MovieClip Frame 12
onClipEvent (load) {
gotoAndStop(_parent.RandomElement - 1);
this._xscale = 100 * _parent._parent.fallObjOrient;
}
Symbol 374 MovieClip Frame 19
this.removeMovieClip();
Symbol 375 MovieClip Frame 1
stop();
Instance of Symbol 150 MovieClip "t3" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 150 MovieClip "t2" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 150 MovieClip "t1" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 157 MovieClip "t2" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 157 MovieClip "t1" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 164 MovieClip "t2" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 164 MovieClip "t1" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 169 MovieClip "t1" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Instance of Symbol 169 MovieClip "t2" in Symbol 375 MovieClip Frame 2
onClipEvent (load) {
this.onEnterFrame = function () {
stop();
if (_parent._parent._parent._parent.v.pause == false) {
play();
}
};
}
Symbol 384 MovieClip Frame 35
stop();
Symbol 389 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 19
gotoAndStop (1);
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stop();
Symbol 422 MovieClip Frame 3
stop();
Symbol 422 MovieClip Frame 4
stop();
Symbol 422 MovieClip Frame 5
stop();
Symbol 436 Button
on (release) {
v.QuitWasPressed = false;
v.HelpWasPressed = false;
v.PauseWasPressed = false;
gotoAndStop (40);
}
Symbol 463 Button
on (release) {
v.QuitWasPressed = false;
v.HelpWasPressed = false;
v.PauseWasPressed = false;
gotoAndStop (70);
}
Symbol 470 Button
on (release) {
v.QuitWasPressed = false;
v.HelpWasPressed = false;
v.PauseWasPressed = false;
gotoAndPlay (30);
}