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");
}
}
}
} 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>";
}
}
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 = "3 cups yogurt";
_local1.ing2 = "1/2 cup water";
_local1.ing3 = "1 cup milk";
_local1.ing4 = "1 cup mango";
_local1.ing5 = "1/2 cup sugar";
}
if (whichLanguage eq "espanol") {
_local1.ing1 = "3 tazas de yogur";
_local1.ing2 = "1/2 taza de agua";
_local1.ing3 = "1 taza de leche";
_local1.ing4 = "1 taza de mango";
_local1.ing5 = "1/2 taza de az\u00FAcar";
}
}
}
function SetupMysteryList(whichGame, whichLanguage) {
var _local1 = _root;
if (whichGame == 1) {
if (whichLanguage eq "english") {
_local1.mystery1easy = "This ingredient is creamy and white. It\u2019s made from milk, and sometimes a little sour.";
_local1.mystery2easy = "Look for a liquid that you drink and wash yourself with.";
_local1.mystery3easy = "This white liquid comes from an animal that chews and says \"Moo.\"";
_local1.mystery4easy = "I like to eat this fruit that rhymes with tango.";
_local1.mystery5easy = "In Spanish, this sweet white powder is called <I>az\u00FAcar</I>.";
_local1.mystery1hard = "I need cups. The number\u2019s tres. Count it slowly, not in haste.";
_local1.mystery2hard = "I need more than a tablespoon but less than a cup. It\u2019s 1 over 2, with 1 on the up. How much is it? ";
_local1.mystery3hard = "In Spanish, it\u2019s <I>una taza</I>. How much is it? ";
_local1.mystery4hard = "It\u2019s the greatest, it\u2019s the best. In Spanish, it\u2019s <I>uno</I>. Can you guess? How many do I need?";
_local1.mystery5hard = "It\u2019s more than 1/4 cup and less than 2/3rds. How much is it?";
}
if (whichLanguage eq "espanol") {
_local1.mystery1easy = "Este ingrediente es cremoso y blanco. Se hace con leche, y a veces es un poquito amargo. ";
_local1.mystery2easy = "Piensa en un l\u00EDquido que se bebe y con el que te lavas.";
_local1.mystery3easy = "Este l\u00EDquido blanco proviene de un animal que rumia y dice \"mu\". ";
_local1.mystery4easy = "Me encanta esta fruta que rima con \"tango\".";
_local1.mystery5easy = "En ingl\u00E9s, este dulce polvo blanco se llama <I>sugar</I>.";
_local1.mystery1hard = "Necesito tazas. El n\u00FAmero es <I>three</I>. Cuenta despacio que son para m\u00ED.";
_local1.mystery2hard = "Necesito m\u00E1s de una cucharada pero menos que una taza. Es un 1 sobre un 2. \u00BFCu\u00E1nto es?";
_local1.mystery3hard = "En ingl\u00E9s es <I>one cup</I>. \u00BFCu\u00E1nto es?";
_local1.mystery4hard = "Es magn\u00EDfico, es el ganador. En ingles se llama <I>one</I>. \u00BFLo adivinaste? \u00A1Es el mejor!\u00BFCu\u00E1ntos necesito?";
_local1.mystery5hard = "Es m\u00E1s de 1/4 de taza y menos de 2/3 de taza. \u00BFCu\u00E1nto es? ";
}
}
}
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>";
}
}
function WeHaveaWinner() {
var _local1 = _root;
results = false;
if ((((_local1.item1Found and _local1.item2Found) and _local1.item3Found) and _local1.item4Found) and _local1.item5Found) {
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.item1Found) {
_local1.item1.gotoAndStop("off");
}
if (!_local1.item3Found) {
_local1.item3.gotoAndStop("off");
}
if (!_local1.item4Found) {
_local1.item4.gotoAndStop("off");
}
_local1.distractor1.gotoAndStop("off");
_local1.distractor6.gotoAndStop("off");
_local1.distractor8.gotoAndStop("off");
_local1.fridgesounds.gotoAndPlay("closedoor");
}
function OpenFridge() {
var _local1 = _root;
_local1.CloseSinkCabinets();
_local1.fridgemovie.gotoAndStop("Open");
_local1.item1.gotoAndStop("on");
_local1.item3.gotoAndStop("on");
_local1.item4.gotoAndStop("on");
_local1.distractor1.gotoAndStop("on");
_local1.distractor6.gotoAndStop("on");
_local1.distractor8.gotoAndStop("on");
_local1.fridgesounds.gotoAndPlay("opendoor");
}
function CloseUpperCabinets() {
var _local1 = _root;
_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.distractor5.gotoAndStop("on");
_local1.distractor2.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");
if (!_local1.item5Found) {
_local1.item5.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.item5.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 = 5;
_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 = 4;
_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 == 0)) {
_root.Mymysteryitem1 = _root.randomBetween(1, 5);
}
if (_root.level eq "hard") {
while ((((_root.Mymysteryitem2 == _root.excludedItem1) or (_root.Mymysteryitem2 == _root.excludedItem2)) or (_root.Mymysteryitem2 == 0)) or (_root.Mymysteryitem2 == _root.Mymysteryitem1)) {
_root.Mymysteryitem2 = _root.randomBetween(1, 5);
}
}
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 87
stop();
Symbol 38 MovieClip Frame 167
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 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 68
stop();
Symbol 43 MovieClip Frame 140
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 62
stop();
Symbol 45 MovieClip Frame 114
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 71
stop();
Symbol 47 MovieClip Frame 151
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 52
stop();
Symbol 49 MovieClip Frame 101
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 66
stop();
Symbol 51 MovieClip Frame 138
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 61
stop();
Symbol 53 MovieClip Frame 124
stop();
Symbol 60 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 150 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 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 9
stop();
Symbol 154 MovieClip Frame 10
stop();
Symbol 154 MovieClip Frame 23
gotoAndStop ("on");
Symbol 154 MovieClip Frame 31
gotoAndStop ("off");
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 8
stop();
Symbol 158 MovieClip Frame 20
_root.jingleSpoon();
gotoAndPlay ("start");
Symbol 163 Button
on (release) {
gotoAndStop ("off");
}
Symbol 164 Button
on (release) {
gotoAndStop ("off");
eval (_root.whichAudioPlaying).gotoAndStop("off");
stopAllSounds();
}
Symbol 166 MovieClip Frame 1
_root.hinton = false;
_root.dragon = true;
stop();
Symbol 166 MovieClip Frame 7
_root.hinton = true;
_root.dragon = false;
play();
Symbol 166 MovieClip Frame 16
stop();
Symbol 167 MovieClip Frame 7
gotoAndStop ("start");
Symbol 170 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
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 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 8
stop();
Symbol 179 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 180 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 8
stop();
Symbol 188 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 189 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 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 8
stop();
Symbol 196 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 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 8
stop();
Symbol 201 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 202 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 8
stop();
Symbol 210 MovieClip Frame 1
_root.listboxopen = "";
_root.dragon = true;
stop();
Symbol 210 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 210 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 210 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 210 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 210 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 219 Button
on (press) {
_root.BeforeDrag(this);
}
on (release) {
_root.AfterDrag(this);
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 6
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 6
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 6
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 6
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 6
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 6
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 6
stop();
Symbol 240 Button
on (press) {
_root.BeforeDrag(this);
}
on (release) {
_root.AfterDrag(this);
}
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 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 6
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 6
stop();
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 261 MovieClip Frame 1
_root.dimmed = false;
stop();
Symbol 261 MovieClip Frame 7
_root.dimmed = true;
stop();
Symbol 265 Button
on (release) {
_root.help.gotoAndStop(_root.language);
}
Symbol 269 Button
on (release) {
_root.language = "english";
gotoAndStop(_root.language);
_root.ChangeLanguage(_root.language, _root.whichGame);
}
Symbol 270 Button
on (release) {
_root.language = "espanol";
gotoAndStop(_root.language);
_root.ChangeLanguage(_root.language, _root.whichGame);
}
Symbol 274 MovieClip Frame 1
if (_root.language eq "english") {
gotoAndStop ("english");
}
if (_root.language eq "espanol") {
gotoAndStop ("espanol");
}
stop();
Symbol 274 MovieClip Frame 8
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 7
stop();
Symbol 285 Button
on (release) {
gotoAndStop ("off");
}
Symbol 291 Button
on (release) {
_root.language = "english";
gotoAndStop(_root.language);
_root.help.gotoAndStop(_root.language);
}
Symbol 292 Button
on (release) {
_root.language = "espanol";
gotoAndStop(_root.language);
_root.help.gotoAndStop(_root.language);
}
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 8
stop();
Symbol 300 MovieClip Frame 1
_root.helpon = false;
helptoggle.gotoAndStop(_root.language);
stop();
Symbol 300 MovieClip Frame 6
_root.helpon = true;
helptoggle.gotoAndStop(_root.language);
stop();
Symbol 300 MovieClip Frame 13
stop();
helptoggle.gotoAndStop(_root.language);
_root.helpon = true;
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 15
gotoAndStop ("off");
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 17
gotoAndStop ("off");
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 17
gotoAndStop ("off");
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 6
stop();
Symbol 312 MovieClip Frame 14
gotoAndStop ("off");
Symbol 312 MovieClip Frame 24
gotoAndStop ("off");
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 6
stop();
Symbol 316 MovieClip Frame 14
gotoAndStop ("off");
Symbol 316 MovieClip Frame 24
gotoAndStop ("off");
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 6
stop();
Symbol 320 MovieClip Frame 14
gotoAndStop ("off");
Symbol 320 MovieClip Frame 24
gotoAndStop ("off");
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 15
gotoAndStop ("off");
Symbol 325 Button
on (release) {
getURL ("index.html");
}
Symbol 351 MovieClip Frame 7
gotoAndPlay (1);
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 3
play();
Symbol 354 MovieClip Frame 34
stop();
Symbol 364 MovieClip Frame 11
stop();
Symbol 368 MovieClip Frame 1
this.stopAllSounds();
stop();
Symbol 368 MovieClip Frame 14
stop();
Symbol 370 MovieClip Frame 1
miguelanimation.gotoAndPlay("animate");
stop();
Symbol 403 MovieClip Frame 1
loopcounter = 0;
stop();
Symbol 403 MovieClip Frame 26
loopcounter = loopcounter + 1;
if (loopcounter < 3) {
gotoAndPlay ("animate");
} else {
play();
}
Symbol 403 MovieClip Frame 37
_root.mywinscreen.miguelanimation.gotoAndStop("happy");
stop();
Symbol 405 MovieClip Frame 172
_root.gotoAndPlay("finale");
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 35
_root.winbeat.gotoAndStop("off");
stopAllSounds();
Symbol 409 MovieClip Frame 43
stop();
_root.gotoAndStop("theend");
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 7
stop();
Symbol 432 Button
on (release) {
getURL ("index.html");
}
Symbol 439 Button
on (release) {
getURL ("/mayaandmiguel/english/print/mango.html");
}
Symbol 443 Button
on (release) {
getURL ("index.html");
}
Symbol 446 Button
on (release) {
getURL ("/mayaandmiguel/espanol/print/mango.html");
}
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 8
stop();