Frame 1
if (((_root.language eq null) or (_root.language eq "")) or (_root.language.length == 0)) {
_root.language = "english";
}
if (_root.language eq "english") {
_root.preloader.preloadertext = "loading...";
} else if (_root.language eq "espanol") {
_root.preloader.preloadertext = "cargando...";
}
stop();
Frame 9
function BeforeDrag(whichMC) {
var _local1 = whichMC;
var _local2 = _root;
if (_local2.dragon) {
_local2.SwapLayerSymbol.swapDepths(_local1);
_local2.Item1currentx = _local1._x;
_local2.Item1currenty = _local1._y;
startDrag (_local1, true);
}
}
function AfterDrag(whichMC) {
var _local1 = _root;
var _local2 = whichMC;
if (_local1.dragon) {
stopDrag();
_local2.swapDepths(_local1.SwapLayerSymbol);
whichItem = _local2._name;
if ((_local2._droptarget eq "/countertop") and (whichItem.substr(0, 4) eq "item")) {
if (whichItem eq "item1") {
if (!_local1.item1Found) {
_local1.item1Found = true;
_local1.rightsound.gotoAndPlay("on");
_local1.ingredients.checkmark1._alpha = 100;
_local1.DisplayFoundIngredient(whichItem);
_local1.CloseAllDoors();
if ((_local1.Mymysteryitem1 == 1) or (_local1.Mymysteryitem2 == 1)) {
_local1.ingredients.mystery1.gotoAndPlay("animate");
_local1.hintpopup.gotoAndStop("off");
if (_local1.level eq "hard") {
_local1.measurements.gotoAndStop("item1");
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
}
}
if (whichItem eq "item2") {
if (!_local1.item2Found) {
_local1.item2Found = true;
_local1.rightsound.gotoAndPlay("on");
_local1.ingredients.checkmark2._alpha = 100;
_local1.DisplayFoundIngredient(whichItem);
_local1.CloseAllDoors();
if ((_local1.Mymysteryitem1 == 2) or (_local1.Mymysteryitem2 == 2)) {
_local1.ingredients.mystery2.gotoAndPlay("animate");
_local1.hintpopup.gotoAndStop("off");
if (_local1.level eq "hard") {
_local1.measurements.gotoAndStop("item2");
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
}
}
if (whichItem eq "item3") {
if (!_local1.item3Found) {
_local1.item3Found = true;
_local1.rightsound.gotoAndPlay("on");
_local1.ingredients.checkmark3._alpha = 100;
_local1.DisplayFoundIngredient(whichItem);
_local1.CloseAllDoors();
if ((_local1.Mymysteryitem1 == 3) or (_local1.Mymysteryitem2 == 3)) {
_local1.ingredients.mystery3.gotoAndPlay("animate");
_local1.hintpopup.gotoAndStop("off");
if (_local1.level eq "hard") {
_local1.measurements.gotoAndStop("item3");
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
}
}
if (whichItem eq "item4") {
if (!_local1.item4Found) {
_local1.item4Found = true;
_local1.rightsound.gotoAndPlay("on");
_local1.ingredients.checkmark4._alpha = 100;
_local1.DisplayFoundIngredient(whichItem);
_local1.CloseAllDoors();
if ((_local1.Mymysteryitem1 == 4) or (_local1.Mymysteryitem2 == 4)) {
_local1.ingredients.mystery4.gotoAndPlay("animate");
_local1.hintpopup.gotoAndStop("off");
if (_local1.level eq "hard") {
_local1.measurements.gotoAndStop("item4");
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
}
}
if (whichItem eq "item5") {
if (!_local1.item5Found) {
_local1.item5Found = true;
_local1.rightsound.gotoAndPlay("on");
_local1.ingredients.checkmark5._alpha = 100;
_local1.DisplayFoundIngredient(whichItem);
_local1.CloseAllDoors();
if ((_local1.Mymysteryitem1 == 5) or (_local1.Mymysteryitem2 == 5)) {
_local1.ingredients.mystery5.gotoAndPlay("animate");
_local1.hintpopup.gotoAndStop("off");
if (_local1.level eq "hard") {
_local1.measurements.gotoAndStop("item5");
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
}
}
if (whichItem eq "item6") {
if (!_local1.item6Found) {
_local1.item6Found = true;
_local1.rightsound.gotoAndPlay("on");
_local1.ingredients.checkmark6._alpha = 100;
_local1.DisplayFoundIngredient(whichItem);
_local1.CloseAllDoors();
if ((_local1.Mymysteryitem1 == 6) or (_local1.Mymysteryitem2 == 6)) {
_local1.ingredients.mystery6.gotoAndPlay("animate");
_local1.hintpopup.gotoAndStop("off");
if (_local1.level eq "hard") {
_local1.measurements.gotoAndStop("item6");
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
} else if (_local1.WeHaveaWinner()) {
_local1.gotoAndPlay(("recipe_" + _local1.whichgame) + "_win");
}
}
}
} else {
_local2._x = _local1.Item1currentx;
_local2._y = _local1.Item1currenty;
_local1.wrongsound.gotoAndPlay("on");
}
}
}
function randomBetween(a, b) {
return(a + Math.floor(Math.random() * ((b - a) + 1)));
}
function SelectNextScene() {
_root.nextscene = Math.randomBetween(1, _root.totalscenes);
blnTest = true;
var i = 1;
while (i <= _root.totalscenes) {
blnTest = blnTest and eval (("_root.scene" + i) + "played");
i++;
}
if (blnTest) {
_root.scene1played = false;
_root.scene2played = false;
_root.scene3played = false;
_root.scene4played = false;
_root.scene5played = false;
_root.scene6played = false;
_root.scene7played = false;
_root.scene8played = false;
_root.scene9played = false;
_root.scene10played = false;
}
while (eval (("_root.scene" + _root.nextscene) + "played")) {
_root.nextscene = Math.randomBetween(1, _root.totalscenes);
}
if (_root.nextscene < 10) {
temp2 = "recipe_0" + _root.nextscene;
} else if ((_root.nextscene >= 10) and (_root.nextscene <= _root.totalscenes)) {
temp2 = "recipe_" + _root.nextscene;
}
return(temp2);
}
function IngredientsList(whichGame, whichLanguage) {
var _local1 = _root;
if (whichGame == 1) {
_local1.ingredients.ingredient1 = (("<B>" + _local1.textcolornotfound) + _local1.ing1) + "</FONT></B>";
_local1.ingredients.ingredient2 = (("<B>" + _local1.textcolornotfound) + _local1.ing2) + "</FONT></B>";
_local1.ingredients.ingredient3 = (("<B>" + _local1.textcolornotfound) + _local1.ing3) + "</FONT></B>";
_local1.ingredients.ingredient4 = (("<B>" + _local1.textcolornotfound) + _local1.ing4) + "</FONT></B>";
_local1.ingredients.ingredient5 = (("<B>" + _local1.textcolornotfound) + _local1.ing5) + "</FONT></B>";
_local1.ingredients.ingredient6 = (("<B>" + _local1.textcolornotfound) + _local1.ing6) + "</FONT></B>";
}
}
function ChangeLanguage(whichLanguage, whichGame) {
_root.SetupIngredientList(whichGame, whichLanguage);
_root.SetupMysteryList(whichGame, whichLanguage);
_root.IngredientsList(whichgame, whichLanguage);
_root.ReDisplayFoundIngredients();
_root.ingredients.gotoAndStop(whichLanguage);
_root.text.gotoAndStop(whichLanguage);
_root.wintext.gotoAndStop(whichLanguage);
if (_root.listboxopen ne "") {
_root.output1 = substring(_root.listboxopen, 4, 1);
_root.measurements.mysteryhinttexthard = eval (("_root.mystery" + (substring(_root.listboxopen, 5, 1))) + "hard");
_root.hintpopup.mysteryhinttext = eval (_root.CurrentHintText);
_root.measurements.answers.gotoAndStop(whichLanguage);
}
if (_root.hinton) {
_root.hintpopup.mysteryhinttext = eval (_root.CurrentHintText);
}
}
function SetupIngredientList(whichGame, whichLanguage) {
var _local1 = _root;
if (whichGame == 1) {
if (whichLanguage eq "english") {
_local1.ing1 = "6 tablespoons honey";
_local1.ing2 = "1 melon";
_local1.ing3 = "1 pineapple";
_local1.ing4 = "8 kiwis";
_local1.ing5 = "1 mango";
_local1.ing6 = "1 coconut";
}
if (whichLanguage eq "espanol") {
_local1.ing1 = "6 cucharadas de miel";
_local1.ing2 = "1 mel\u00F3n";
_local1.ing3 = "1 pi\u00F1a";
_local1.ing4 = "8 kiwis";
_local1.ing5 = "1 mango";
_local1.ing6 = "1 coco";
}
}
}
function SetupMysteryList(whichGame, whichLanguage) {
var _local1 = _root;
if (whichGame == 1) {
if (whichLanguage eq "english") {
_local1.mystery1easy = "Help me find a sweet, thick liquid that is made by bees.";
_local1.mystery2easy = "xxxxx";
_local1.mystery3easy = "In Spanish, this fruit\u2019s called <I>pi\u00F1a</I>.";
_local1.mystery4easy = "Can you find a small round fruit with a brown hairy outside and a green inside? ";
_local1.mystery5easy = "I like to eat this fruit that rhymes with tango. ";
_local1.mystery6easy = "Look for a large round fruit that has a brown hairy outside and is white inside.";
_local1.mystery1hard = "I need a number between 4 and 8. If you can tell me, that\u2019s just great! How much do I need?";
_local1.mystery2hard = "xxxxxxx";
_local1.mystery3hard = "It\u2019s the greatest, it\u2019s the best. In Spanish, it\u2019s <I>uno</I>. Can you guess?";
_local1.mystery4hard = "I need a number that\u2019s less than 10. Help me find it, if you can! How many do I need? ";
_local1.mystery5hard = "In Spanish, it\u2019s <I>una taza</I>. How much is it? ";
_local1.mystery6hard = "xxxxxx";
}
if (whichLanguage eq "espanol") {
_local1.mystery1easy = "Ay\u00FAdame a buscar un l\u00EDquido dulce y espeso hecho por las abejas.";
_local1.mystery2easy = "xxxxxxx";
_local1.mystery3easy = "En ingl\u00E9s esta fruta se llama <I>pineapple</I>.";
_local1.mystery4easy = "\u00BFPodr\u00EDas encontrar una fruta peque\u00F1a y redonda de piel caf\u00E9 con bellitos y verde por dentro?";
_local1.mystery5easy = "Me encanta esta fruta que rima con \u201Ctango\u201D.";
_local1.mystery6easy = "Busca una fruta grande y redonda que es de color caf\u00E9 y peluda por fuera y blanca por dentro.";
_local1.mystery1hard = "Necesito un n\u00FAmero entre 4 y 8. Si no me lo dices no te lo reprocho. \u00BFCu\u00E1nto necesito?";
_local1.mystery2hard = "Para medir \"al alza\" deber\u00E1s usar:";
_local1.mystery3hard = "Es magn\u00EDfico, es el ganador. En ingles se llama <I>one</I>. \u00BFLo adivinaste? \u00A1Es el mejor!";
_local1.mystery4hard = "Necesito un n\u00FAmero menor que 10. \u00A1A ver si me ayudas a encontrarlo otra vez! \u00BFCu\u00E1ntos necesito?";
_local1.mystery5hard = "En ingl\u00E9s es <I>one cup</I>. \u00BFCu\u00E1nto es? ";
_local1.mystery6hard = "Tengo que poner miel en una taza. Pero no quiero llenarla. \u00BFCu\u00E1nta necesito?";
}
}
}
function ReDisplayFoundIngredients() {
i = 1;
while (i <= _root.totalingredients) {
if (eval (("_root.item" + i) + "Found")) {
_root.DisplayFoundIngredient("item" + i);
}
i++;
}
}
function DisplayFoundIngredient(whichItem) {
var _local1 = _root;
switch (whichItem) {
case "item1" :
_local1.ingredients.checkmark1._alpha = 100;
_local1.ingredients.ingredient1 = (("<B>" + _local1.textcolorfound) + _local1.ing1) + "</FONT></B>";
return;
case "item2" :
_local1.ingredients.checkmark2._alpha = 100;
_local1.ingredients.ingredient2 = (("<B>" + _local1.textcolorfound) + _local1.ing2) + "</FONT></B>";
return;
case "item3" :
_local1.ingredients.checkmark3._alpha = 100;
_local1.ingredients.ingredient3 = (("<B>" + _local1.textcolorfound) + _local1.ing3) + "</FONT></B>";
return;
case "item4" :
_local1.ingredients.checkmark4._alpha = 100;
_local1.ingredients.ingredient4 = (("<B>" + _local1.textcolorfound) + _local1.ing4) + "</FONT></B>";
return;
case "item5" :
_local1.ingredients.checkmark5._alpha = 100;
_local1.ingredients.ingredient5 = (("<B>" + _local1.textcolorfound) + _local1.ing5) + "</FONT></B>";
return;
case "item6" :
_local1.ingredients.checkmark6._alpha = 100;
_local1.ingredients.ingredient6 = (("<B>" + _local1.textcolorfound) + _local1.ing6) + "</FONT></B>";
}
}
function WeHaveaWinner() {
var _local1 = _root;
results = false;
if (((((_local1.item1Found and _local1.item2Found) and _local1.item3Found) and _local1.item4Found) and _local1.item5Found) and _local1.item6Found) {
results = true;
}
return(results);
}
function CloseAllDoors() {
var _local1 = _root;
_local1.CloseFridge();
_local1.CloseUpperCabinets();
_local1.CloseLowerCabinets();
_local1.CloseSinkCabinets();
}
function TurnOffAllDistractors() {
var _local1 = _root;
_local1.distractor1.gotoAndPlay("off");
_local1.distractor2.gotoAndPlay("off");
_local1.distractor3.gotoAndPlay("off");
_local1.distractor4.gotoAndPlay("off");
_local1.distractor5.gotoAndPlay("off");
_local1.distractor6.gotoAndPlay("off");
_local1.distractor7.gotoAndPlay("off");
_local1.distractor8.gotoAndPlay("off");
}
function CloseFridge() {
var _local1 = _root;
_local1.fridgemovie.gotoAndStop("closed");
if (!_local1.item5Found) {
_local1.item5.gotoAndStop("off");
}
if (!_local1.item2Found) {
_local1.item2.gotoAndStop("off");
}
if (!_local1.item6Found) {
_local1.item6.gotoAndStop("off");
}
_local1.distractor1.gotoAndStop("off");
_local1.distractor6.gotoAndStop("off");
_local1.distractor9.gotoAndStop("off");
_local1.distractor8.gotoAndStop("off");
_local1.distractor7.gotoAndStop("off");
_local1.distractor15.gotoAndStop("off");
_local1.distractor10.gotoAndStop("off");
_local1.fridgesounds.gotoAndPlay("closedoor");
}
function OpenFridge() {
var _local1 = _root;
_local1.CloseSinkCabinets();
_local1.fridgemovie.gotoAndStop("Open");
_local1.item5.gotoAndStop("on");
_local1.item2.gotoAndStop("on");
_local1.item6.gotoAndStop("on");
_local1.distractor1.gotoAndStop("on");
_local1.distractor7.gotoAndStop("on");
_local1.distractor6.gotoAndStop("on");
_local1.distractor8.gotoAndStop("on");
_local1.distractor9.gotoAndStop("on");
_local1.distractor10.gotoAndStop("on");
_local1.distractor15.gotoAndStop("on");
_local1.fridgesounds.gotoAndPlay("opendoor");
}
function CloseUpperCabinets() {
var _local1 = _root;
if (!_local1.item1Found) {
_local1.item1.gotoAndStop("off");
}
_local1.topCabinets.gotoAndStop("closed");
_local1.cabinetsounds.gotoAndPlay("closed");
_local1.distractor2.gotoAndStop("off");
_local1.distractor5.gotoAndStop("off");
_local1.fridgesounds.gotoAndPlay("closedoor");
}
function OpenUpperCabinets() {
var _local1 = _root;
_local1.topCabinets.gotoAndStop("open");
_local1.cabinetsounds.gotoAndPlay("open");
_local1.distractor2.gotoAndStop("on");
_local1.item1.gotoAndStop("on");
_local1.distractor5.gotoAndStop("on");
}
function CloseLowerCabinets() {
var _local1 = _root;
if (_local1.lowercabopen) {
_local1.SwapLayerSymbol2.swapDepths(_local1.bottomcabinets);
}
_local1.bottomcabinets.gotoAndStop("closed");
_local1.cabinetsounds.gotoAndPlay("closed");
_local1.distractor3.gotoAndStop("off");
_local1.distractor11.gotoAndStop("off");
}
function OpenLowerCabinets() {
var _local1 = _root;
if (!_local1.lowercabopen) {
_local1.bottomcabinets.swapDepths(_local1.SwapLayerSymbol2);
}
_local1.CloseSinkCabinets();
_local1.bottomcabinets.gotoAndStop("open");
_local1.cabinetsounds.gotoAndPlay("open");
_local1.distractor3.gotoAndStop("on");
_local1.distractor11.gotoAndStop("on");
}
function CloseSinkCabinets() {
var _local1 = _root;
_local1.sinkcabinets.gotoAndStop("closed");
_local1.cabinetsounds.gotoAndPlay("closed");
_local1.distractor4.gotoAndStop("off");
}
function OpenSinkCabinets() {
var _local1 = _root;
_local1.CloseFridge();
_local1.CloseLowerCabinets();
_local1.sinkcabinets.gotoAndStop("open");
_local1.cabinetsounds.gotoAndPlay("open");
_local1.distractor4.gotoAndStop("on");
}
function jingleSpoon() {
if (!_root.hinton) {
var temp;
_root.temp = _root.randomBetween(1, _root.maxBoing);
if (!_root.hinton) {
if (_root.temp == 1) {
if (!eval (("_root.item" + _root.Mymysteryitem1) + "Found")) {
eval ("_root.ingredients.mystery" + _root.Mymysteryitem1).gotoAndPlay("jingle");
}
} else if (_root.temp == 2) {
if (!eval (("_root.item" + _root.Mymysteryitem2) + "Found")) {
eval ("_root.ingredients.mystery" + _root.Mymysteryitem2).gotoAndPlay("jingle");
}
}
}
}
}
_root.totalingredients = 6;
_root.textcolorfound = "<FONT COLOR=\"#FF0000\">";
_root.textcolornotfound = "<FONT COLOR=\"#999999\">";
_root.dragon = true;
_root.maxBoing = 9;
_root.easy.gotoAndStop(_root.language);
_root.hard.gotoAndStop(_root.language);
_root.text.gotoAndStop(_root.language);
_root.audiochoose.gotoAndPlay(_root.language);
stop();
Frame 16
_root.gotoAndStop("recipe_1");
Frame 22
_root.whichgame = 1;
_root.item1Found = false;
_root.item2Found = false;
_root.item3Found = false;
_root.item4Found = false;
_root.item5Found = false;
_root.excludedItem1 = 2;
_root.excludedItem2 = 5;
_root.excludedItem3 = 6;
_root.excludedItem4 = -1;
_root.Mymysteryitem1 = 0;
_root.Mymysteryitem2 = 0;
_root.audiochoose.gotoAndStop("off");
_root.audiointro.gotoAndPlay(_root.language);
while (((((_root.Mymysteryitem1 == _root.excludedItem1) or (_root.Mymysteryitem1 == _root.excludedItem2)) or (_root.Mymysteryitem1 == _root.excludedItem3)) or (_root.Mymysteryitem1 == _root.excludedItem4)) or (_root.Mymysteryitem1 == 0)) {
_root.Mymysteryitem1 = _root.randomBetween(1, 6);
}
if (_root.level eq "hard") {
while ((((((_root.Mymysteryitem2 == _root.excludedItem1) or (_root.Mymysteryitem2 == _root.excludedItem2)) or (_root.Mymysteryitem2 == _root.excludedItem3)) or (_root.Mymysteryitem2 == _root.excludedItem4)) or (_root.Mymysteryitem2 == 0)) or (_root.Mymysteryitem2 == _root.Mymysteryitem1)) {
_root.Mymysteryitem2 = _root.randomBetween(1, 6);
}
}
eval ("_root.ingredients.mystery" + _root.Mymysteryitem1).gotoAndStop("on");
eval ("_root.ingredients.mystery" + _root.Mymysteryitem2).gotoAndStop("on");
_root.SetupIngredientList(_root.whichgame, _root.language);
_root.SetupMysteryList(_root.whichgame, _root.language);
if (_root.level eq "easy") {
_root.IngredientsList(_root.whichgame, _root.language);
}
if (_root.level eq "hard") {
_root.IngredientsList(_root.whichgame, _root.language);
}
_root.text.gotoAndStop(_root.language);
_root.ingredients.gotoAndStop(_root.language);
stop();
Frame 32
_root.dragon = false;
_root.CloseAllDoors();
Frame 42
_root.audiogreatjob.gotoAndPlay(_root.language);
stop();
Frame 58
Frame 62
_root.text.gotoAndStop(_root.language);
Frame 66
_root.myclock.gotoAndPlay("start");
_root.mywinscreen.miguelanimation.gotoAndStop("off");
_root.abuellacutting.gotoAndStop("off");
stop();
Frame 90
_root.wintext.gotoAndStop(_root.language);
stop();
Instance of Symbol 22 MovieClip in Symbol 23 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.debug = false;
if (_root.debug) {
_root.output3 = _level0.getBytesTotal();
}
_root.progressposition = Math.round((_level0.getBytesLoaded() / _level0.getBytesTotal()) * 100);
if ((_level0.getBytesTotal() == _level0.getBytesLoaded()) and (_level0.getBytesTotal() > 0)) {
if (_root.debug) {
_root.output1 = "done";
}
if (_root.debug) {
_root.output2 = _level0.getBytesLoaded();
}
_root.preloader.gotoAndPlay(_root.progressposition);
_root.preloader.percentage = _root.progressposition + "%";
_root.gotoAndPlay("begin");
stop();
} else {
if (_root.debug) {
_root.output1 = _level0.getBytesTotal();
}
if (_root.debug) {
_root.output2 = _level0.getBytesLoaded();
}
_root.preloader.gotoAndPlay(_root.progressposition);
_root.preloader.percentage = _root.progressposition + "%";
}
}
Symbol 27 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 17
stop();
Symbol 36 MovieClip Frame 38
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 53
stop();
Symbol 38 MovieClip Frame 105
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 77
_root.abuellacutting.gotoAndPlay("animate");
_root.winbeat.gotoAndPlay("on");
stop();
Symbol 40 MovieClip Frame 165
_root.abuellacutting.gotoAndPlay("animate");
_root.winbeat.gotoAndPlay("on");
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 38
stop();
Symbol 42 MovieClip Frame 81
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 64
stop();
Symbol 44 MovieClip Frame 131
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 68
stop();
Symbol 46 MovieClip Frame 162
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 49
stop();
Symbol 48 MovieClip Frame 109
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 61
stop();
Symbol 50 MovieClip Frame 124
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 72
stop();
Symbol 52 MovieClip Frame 143
stop();
Symbol 59 Button
on (release) {
_root.level = "easy";
_root.gotoAndStop("start");
}
Symbol 63 Button
on (release) {
_root.level = "easy";
_root.gotoAndStop("start");
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 9
stop();
Symbol 69 Button
on (release) {
_root.level = "hard";
_root.gotoAndStop("start");
}
Symbol 73 Button
on (release) {
_root.level = "hard";
_root.gotoAndStop("start");
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 8
stop();
Symbol 77 Button
on (release) {
getURL ("index.html");
}
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 8
stop();
Symbol 87 Button
on (release) {
getURL ("index.html");
}
Symbol 96 Button
on (release) {
_root.curtainsounds.gotoAndPlay("open");
gotoAndStop ("open");
}
Symbol 98 Button
on (release) {
_root.curtainsounds.gotoAndPlay("closed");
gotoAndStop ("closed");
}
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 8
stop();
Symbol 101 Button
on (release) {
if (_root.dragon) {
_root.openUpperCabinets();
gotoAndStop ("open");
}
}
Symbol 103 Button
on (release) {
_root.closeUpperCabinets();
gotoAndStop ("closed");
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 7
stop();
Symbol 107 Button
on (release) {
if (_root.dragon) {
_root.openLowerCabinets();
gotoAndStop ("open");
}
}
Symbol 110 Button
on (release) {
_root.CloseLowerCabinets();
gotoAndStop ("closed");
}
Symbol 112 MovieClip Frame 1
_root.lowercabopen = false;
stop();
Symbol 112 MovieClip Frame 7
_root.lowercabopen = true;
stop();
Symbol 114 Button
on (release) {
if (_root.dragon) {
_root.openSinkCabinets();
gotoAndStop ("open");
}
}
Symbol 117 Button
on (release) {
_root.CloseSinkCabinets();
gotoAndStop ("closed");
}
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 7
stop();
Symbol 120 Button
on (release) {
_root.switchsound.gotoAndPlay("on");
if (_root.dimmed) {
_root.dimmer.gotoAndStop("off");
} else {
_root.dimmer.gotoAndStop("on");
}
}
Symbol 123 Button
on (release) {
if (_root.dragon) {
_root.OpenFridge();
gotoAndStop ("open");
}
}
Symbol 126 Button
on (release) {
_root.closeFridge();
gotoAndStop ("closed");
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 7
stop();
Symbol 151 Button
on (release) {
_root.spoonClicked = substring(this._name, 8, 1);
_root.hintpopup.gotoAndStop("on");
_root.CurrentHintText = ("_root.mystery" + (substring(this._name, 8, 1))) + "easy";
_root.hintpopup.mysteryhinttext = eval (_root.CurrentHintText);
stopAllSounds();
_root.whichAudioPlaying = "_root.audiohint" + _root.spoonClicked;
eval ("_root.audiohint" + _root.spoonClicked).gotoAndPlay(_root.language);
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 9
stop();
Symbol 155 MovieClip Frame 10
stop();
Symbol 155 MovieClip Frame 23
gotoAndStop ("on");
Symbol 155 MovieClip Frame 31
gotoAndStop ("off");
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 8
stop();
Symbol 159 MovieClip Frame 20
_root.jingleSpoon();
gotoAndPlay ("start");
Symbol 164 Button
on (release) {
gotoAndStop ("off");
}
Symbol 165 Button
on (release) {
gotoAndStop ("off");
eval (_root.whichAudioPlaying).gotoAndStop("off");
stopAllSounds();
}
Symbol 167 MovieClip Frame 1
_root.hinton = false;
_root.dragon = true;
stop();
Symbol 167 MovieClip Frame 7
_root.hinton = true;
_root.dragon = false;
play();
Symbol 167 MovieClip Frame 16
stop();
Symbol 168 MovieClip Frame 7
gotoAndStop ("start");
Symbol 171 Button
on (release) {
_root.item1Found = true;
_root.ingredients.checkmark1._alpha = 100;
_root.DisplayFoundIngredient("item1");
_root.ingredients.mystery1.gotoAndPlay("animate");
if (_root.WeHaveaWinner()) {
_root.gotoAndPlay(("recipe_" + _root.whichgame) + "_win");
}
stopAllSounds();
eval (_root.whichAudioPlaying).gotoAndStop("off");
_root.rightsound.gotoAndPlay("on");
_root.measurements.gotoAndStop("off");
}
Symbol 172 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 173 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 8
stop();
Symbol 181 Button
on (release) {
_root.item2Found = true;
_root.ingredients.checkmark2._alpha = 100;
_root.DisplayFoundIngredient("item2");
_root.ingredients.mystery2.gotoAndPlay("animate");
if (_root.WeHaveaWinner()) {
_root.gotoAndPlay(("recipe_" + _root.whichgame) + "_win");
}
stopAllSounds();
eval (_root.whichAudioPlaying).gotoAndStop("off");
_root.rightsound.gotoAndPlay("on");
_root.measurements.gotoAndStop("off");
}
Symbol 182 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 183 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 8
stop();
Symbol 191 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 192 Button
on (release) {
_root.item3Found = true;
_root.ingredients.checkmark3._alpha = 100;
_root.DisplayFoundIngredient("item3");
_root.ingredients.mystery3.gotoAndPlay("animate");
if (_root.WeHaveaWinner()) {
_root.gotoAndPlay(("recipe_" + _root.whichgame) + "_win");
}
stopAllSounds();
eval (_root.whichAudioPlaying).gotoAndStop("off");
_root.rightsound.gotoAndPlay("on");
_root.measurements.gotoAndStop("off");
}
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 8
stop();
Symbol 197 Button
on (release) {
_root.item4Found = true;
_root.ingredients.checkmark4._alpha = 100;
_root.DisplayFoundIngredient("item4");
_root.ingredients.mystery4.gotoAndPlay("animate");
if (_root.WeHaveaWinner()) {
_root.gotoAndPlay(("recipe_" + _root.whichgame) + "_win");
}
stopAllSounds();
eval (_root.whichAudioPlaying).gotoAndStop("off");
_root.rightsound.gotoAndPlay("on");
_root.measurements.gotoAndStop("off");
}
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 8
stop();
Symbol 202 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 203 Button
on (release) {
_root.item5Found = true;
_root.ingredients.checkmark5._alpha = 100;
_root.DisplayFoundIngredient("item5");
_root.ingredients.mystery5.gotoAndPlay("animate");
if (_root.WeHaveaWinner()) {
_root.gotoAndPlay(("recipe_" + _root.whichgame) + "_win");
}
stopAllSounds();
eval (_root.whichAudioPlaying).gotoAndStop("off");
_root.rightsound.gotoAndPlay("on");
_root.measurements.gotoAndStop("off");
}
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 8
stop();
Symbol 211 Button
on (release) {
_root.item6Found = true;
_root.ingredients.checkmark6._alpha = 100;
_root.DisplayFoundIngredient("item6");
_root.ingredients.mystery6.gotoAndPlay("animate");
if (_root.WeHaveaWinner()) {
_root.gotoAndPlay(("recipe_" + _root.whichgame) + "_win");
}
stopAllSounds();
eval (_root.whichAudioPlaying).gotoAndStop("off");
_root.rightsound.gotoAndPlay("on");
_root.measurements.gotoAndStop("off");
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 8
stop();
Symbol 218 MovieClip Frame 1
_root.listboxopen = "";
_root.dragon = true;
stop();
Symbol 218 MovieClip Frame 5
mysteryhinttexthard = _root.mystery1hard;
_root.audiomeasurement1.gotoAndPlay(_root.language);
_root.whichAudioPlaying = "_root.audiomeasurement1";
_root.dragon = false;
_root.listboxopen = "item1";
if (_root.language eq "espanol") {
answers.gotoAndStop("espanol");
} else {
answers.gotoAndStop("english");
}
stop();
Symbol 218 MovieClip Frame 12
mysteryhinttexthard = _root.mystery2hard;
_root.audiomeasurement2.gotoAndPlay(_root.language);
_root.whichAudioPlaying = "_root.audiomeasurement2";
_root.dragon = false;
_root.listboxopen = "item2";
if (_root.language eq "espanol") {
answers.gotoAndStop("espanol");
} else {
answers.gotoAndStop("english");
}
stop();
Symbol 218 MovieClip Frame 18
mysteryhinttexthard = _root.mystery3hard;
_root.audiomeasurement3.gotoAndPlay(_root.language);
_root.whichAudioPlaying = "_root.audiomeasurement3";
_root.dragon = false;
_root.listboxopen = "item3";
if (_root.language eq "espanol") {
answers.gotoAndStop("espanol");
} else {
answers.gotoAndStop("english");
}
stop();
Symbol 218 MovieClip Frame 24
mysteryhinttexthard = _root.mystery4hard;
_root.audiomeasurement4.gotoAndPlay(_root.language);
_root.whichAudioPlaying = "_root.audiomeasurement4";
_root.dragon = false;
_root.listboxopen = "item4";
if (_root.language eq "espanol") {
answers.gotoAndStop("espanol");
} else {
answers.gotoAndStop("english");
}
stop();
Symbol 218 MovieClip Frame 30
mysteryhinttexthard = _root.mystery5hard;
_root.audiomeasurement5.gotoAndPlay(_root.language);
_root.whichAudioPlaying = "_root.audiomeasurement5";
_root.dragon = false;
_root.listboxopen = "item5";
if (_root.language eq "espanol") {
answers.gotoAndStop("espanol");
} else {
answers.gotoAndStop("english");
}
stop();
Symbol 218 MovieClip Frame 35
mysteryhinttexthard = _root.mystery6hard;
_root.audiomeasurement6.gotoAndPlay(_root.language);
_root.whichAudioPlaying = "_root.audiomeasurement6";
_root.dragon = false;
_root.listboxopen = "item6";
if (_root.language eq "espanol") {
answers.gotoAndStop("espanol");
} else {
answers.gotoAndStop("english");
}
stop();
Symbol 228 Button
on (press) {
_root.BeforeDrag(this);
}
on (release) {
_root.AfterDrag(this);
}
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 6
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 6
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 6
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 6
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 6
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 6
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 6
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 6
stop();
Symbol 249 Button
on (press) {
_root.BeforeDrag(this);
}
on (release) {
_root.AfterDrag(this);
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 6
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 6
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 6
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 6
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 6
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 6
stop();
Symbol 270 MovieClip Frame 1
_root.dimmed = false;
stop();
Symbol 270 MovieClip Frame 7
_root.dimmed = true;
stop();
Symbol 274 Button
on (release) {
_root.help.gotoAndStop(_root.language);
}
Symbol 278 Button
on (release) {
_root.language = "english";
gotoAndStop(_root.language);
_root.ChangeLanguage(_root.language, _root.whichGame);
}
Symbol 279 Button
on (release) {
_root.language = "espanol";
gotoAndStop(_root.language);
_root.ChangeLanguage(_root.language, _root.whichGame);
}
Symbol 283 MovieClip Frame 1
if (_root.language eq "english") {
gotoAndStop ("english");
}
if (_root.language eq "espanol") {
gotoAndStop ("espanol");
}
stop();
Symbol 283 MovieClip Frame 8
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 7
stop();
Symbol 294 Button
on (release) {
gotoAndStop ("off");
}
Symbol 300 Button
on (release) {
_root.language = "english";
gotoAndStop(_root.language);
_root.help.gotoAndStop(_root.language);
}
Symbol 301 Button
on (release) {
_root.language = "espanol";
gotoAndStop(_root.language);
_root.help.gotoAndStop(_root.language);
}
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 8
stop();
Symbol 309 MovieClip Frame 1
_root.helpon = false;
helptoggle.gotoAndStop(_root.language);
stop();
Symbol 309 MovieClip Frame 6
_root.helpon = true;
helptoggle.gotoAndStop(_root.language);
stop();
Symbol 309 MovieClip Frame 13
stop();
helptoggle.gotoAndStop(_root.language);
_root.helpon = true;
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 15
gotoAndStop ("off");
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 17
gotoAndStop ("off");
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 17
gotoAndStop ("off");
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 6
stop();
Symbol 321 MovieClip Frame 14
gotoAndStop ("off");
Symbol 321 MovieClip Frame 24
gotoAndStop ("off");
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 6
stop();
Symbol 325 MovieClip Frame 14
gotoAndStop ("off");
Symbol 325 MovieClip Frame 24
gotoAndStop ("off");
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 6
stop();
Symbol 330 MovieClip Frame 14
gotoAndStop ("off");
Symbol 330 MovieClip Frame 24
gotoAndStop ("off");
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 15
gotoAndStop ("off");
Symbol 335 Button
on (release) {
getURL ("index.html");
}
Symbol 361 MovieClip Frame 7
gotoAndPlay (1);
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 3
play();
Symbol 364 MovieClip Frame 34
stop();
Symbol 374 MovieClip Frame 11
stop();
Symbol 378 MovieClip Frame 1
this.stopAllSounds();
stop();
Symbol 378 MovieClip Frame 14
stop();
Symbol 380 MovieClip Frame 1
miguelanimation.gotoAndPlay("animate");
stop();
Symbol 413 MovieClip Frame 1
loopcounter = 0;
stop();
Symbol 413 MovieClip Frame 26
loopcounter = loopcounter + 1;
if (loopcounter < 3) {
gotoAndPlay ("animate");
} else {
play();
}
Symbol 413 MovieClip Frame 37
_root.mywinscreen.miguelanimation.gotoAndStop("happy");
stop();
Symbol 415 MovieClip Frame 172
_root.gotoAndPlay("finale");
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 35
_root.winbeat.gotoAndStop("off");
stopAllSounds();
Symbol 419 MovieClip Frame 43
stop();
_root.gotoAndStop("theend");
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 7
stop();
Symbol 452 Button
on (release) {
getURL ("index.html");
}
Symbol 459 Button
on (release) {
getURL ("/mayaandmiguel/english/print/salad.html");
}
Symbol 464 Button
on (release) {
getURL ("index.html");
}
Symbol 468 Button
on (release) {
getURL ("/mayaandmiguel/espanol/print/salad.html");
}
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 8
stop();