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 = "4 pieces of chicken";
_local1.ing2 = "a sprinkle of salt";
_local1.ing3 = "1 lemon";
_local1.ing4 = "1 clove of garlic";
_local1.ing5 = "1/2 cup water";
_local1.ing6 = "1/2 cup honey";
}
if (whichLanguage eq "espanol") {
_local1.ing1 = "4 trozos de pollo";
_local1.ing2 = "una pizca de sal";
_local1.ing3 = "un lim\u00F3n";
_local1.ing4 = "1 diente de ajo";
_local1.ing5 = "1/2 taza de agua";
_local1.ing6 = "1/2 taza de miel";
}
}
}
function SetupMysteryList(whichGame, whichLanguage) {
var _local1 = _root;
if (whichGame == 1) {
if (whichLanguage eq "english") {
_local1.mystery1easy = "This meat comes from an animal that says \"cluck, cluck, cluck.\" You can find it with some luck.";
_local1.mystery2easy = "This white stuff you shake on food. It likes pepper when it\u2019s in the mood.";
_local1.mystery3easy = "This yellow fruit is called <I>lim\u00F3n</A> in Spanish.";
_local1.mystery4easy = "This stinky herb is loved by many. I like to use it in spaghetti.";
_local1.mystery5easy = "Look for a liquid that you drink and wash yourself with.";
_local1.mystery6easy = "In Spanish it is called <I>miel</I>. Just what is it? Can you tell?";
_local1.mystery1hard = "The number of pieces that I need is less than 5 and more than 3. How many pieces, if you please? ";
_local1.mystery2hard = "xxxxxx";
_local1.mystery3hard = "It\u2019s the greatest, it\u2019s the best. It\u2019s numero uno. Can you guess? How many do I need? ";
_local1.mystery4hard = "It\u2019s the greatest, it\u2019s the best. It\u2019s numero uno. Can you guess? How many do I need? ";
_local1.mystery5hard = "In Spanish, it\u2019s <I>agua</I>. Can you find it?";
_local1.mystery6hard = "I need some honey in a cup. But not a full one. So, how much?";
}
if (whichLanguage eq "espanol") {
_local1.mystery1easy = "Este animal viene de un animal que hace \"kikirik\u00ED\".Con suerte lo encontrar\u00E1s por aqu\u00ED.";
_local1.mystery2easy = "Es blanca y se espolvorea en la comida. Con la pimienta se lleva de maravilla.";
_local1.mystery3easy = "Esta fruta amarilla se llama lemon en ingl\u00E9s.";
_local1.mystery4easy = "Esta planta gusta a mucha gente. Yo la como con espaguetis calientes.";
_local1.mystery5easy = "Piensa en un l\u00EDquido que se bebe y con el que te lavas.";
_local1.mystery6easy = "Se dice <I>honey</I> en ingl\u00E9s. \u00BFPuedes decirme qu\u00E9 es?";
_local1.mystery1hard = "El n\u00FAmero de trozos que necesito es menos que 5 y m\u00E1s que 3. \u00BFCu\u00E1ntos son por favor?";
_local1.mystery2hard = "xxxx";
_local1.mystery3hard = "Es magn\u00EDfico, es el ganador. En ingles se llama one. \u00BFLo adivinaste? \u00A1Es el mejor!";
_local1.mystery4hard = "Es magn\u00EDfico, es el ganador. En ingles se llama one. \u00BFLo adivinaste? \u00A1Es el mejor!";
_local1.mystery5hard = "Se dice <I>water</I> en ingl\u00E9s. \u00BFYa la ves?";
_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.item3Found) {
_local1.item3.gotoAndStop("off");
}
if (!_local1.item4Found) {
_local1.item4.gotoAndStop("off");
}
_local1.distractor1.gotoAndStop("off");
_local1.distractor6.gotoAndStop("off");
_local1.distractor9.gotoAndStop("off");
_local1.distractor8.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.item3.gotoAndStop("on");
_local1.item4.gotoAndStop("on");
_local1.distractor1.gotoAndStop("on");
_local1.distractor6.gotoAndStop("on");
_local1.distractor8.gotoAndStop("on");
_local1.distractor9.gotoAndStop("on");
_local1.distractor10.gotoAndStop("on");
_local1.fridgesounds.gotoAndPlay("opendoor");
}
function CloseUpperCabinets() {
var _local1 = _root;
if (!_local1.item2Found) {
_local1.item2.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.item2.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");
if (!_local1.item6Found) {
_local1.item6.gotoAndStop("off");
}
_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.item6.gotoAndStop("on");
_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 = 1;
_root.excludedItem2 = 2;
_root.excludedItem3 = -1;
_root.excludedItem4 = 5;
_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 46
stop();
Symbol 38 MovieClip Frame 90
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 66
stop();
Symbol 42 MovieClip Frame 130
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 78
stop();
Symbol 44 MovieClip Frame 176
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 71
stop();
Symbol 46 MovieClip Frame 172
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 93
stop();
Symbol 48 MovieClip Frame 168
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 67
stop();
Symbol 52 MovieClip Frame 116
stop();
Symbol 59 Button
on (release) {
_root.level = "easy";
_root.gotoAndStop("start");
}
Symbol 62 Button
on (release) {
_root.level = "easy";
_root.gotoAndStop("start");
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 9
stop();
Symbol 68 Button
on (release) {
_root.level = "hard";
_root.gotoAndStop("start");
}
Symbol 72 Button
on (release) {
_root.level = "hard";
_root.gotoAndStop("start");
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 8
stop();
Symbol 76 Button
on (release) {
getURL ("index.html");
}
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 8
stop();
Symbol 86 Button
on (release) {
getURL ("index.html");
}
Symbol 95 Button
on (release) {
_root.curtainsounds.gotoAndPlay("open");
gotoAndStop ("open");
}
Symbol 97 Button
on (release) {
_root.curtainsounds.gotoAndPlay("closed");
gotoAndStop ("closed");
}
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 8
stop();
Symbol 100 Button
on (release) {
if (_root.dragon) {
_root.openUpperCabinets();
gotoAndStop ("open");
}
}
Symbol 102 Button
on (release) {
_root.closeUpperCabinets();
gotoAndStop ("closed");
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 7
stop();
Symbol 106 Button
on (release) {
if (_root.dragon) {
_root.openLowerCabinets();
gotoAndStop ("open");
}
}
Symbol 109 Button
on (release) {
_root.CloseLowerCabinets();
gotoAndStop ("closed");
}
Symbol 111 MovieClip Frame 1
_root.lowercabopen = false;
stop();
Symbol 111 MovieClip Frame 7
_root.lowercabopen = true;
stop();
Symbol 113 Button
on (release) {
if (_root.dragon) {
_root.openSinkCabinets();
gotoAndStop ("open");
}
}
Symbol 116 Button
on (release) {
_root.CloseSinkCabinets();
gotoAndStop ("closed");
}
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 7
stop();
Symbol 119 Button
on (release) {
_root.switchsound.gotoAndPlay("on");
if (_root.dimmed) {
_root.dimmer.gotoAndStop("off");
} else {
_root.dimmer.gotoAndStop("on");
}
}
Symbol 122 Button
on (release) {
if (_root.dragon) {
_root.OpenFridge();
gotoAndStop ("open");
}
}
Symbol 125 Button
on (release) {
_root.closeFridge();
gotoAndStop ("closed");
}
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 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.wrongsound2.gotoAndPlay("on");
}
Symbol 180 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 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 8
stop();
Symbol 185 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 186 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 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 8
stop();
Symbol 191 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 192 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 8
stop();
Symbol 197 Button
on (release) {
_root.wrongsound2.gotoAndPlay("on");
}
Symbol 198 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 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 8
stop();
Symbol 206 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 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 8
stop();
Symbol 214 MovieClip Frame 1
_root.listboxopen = "";
_root.dragon = true;
stop();
Symbol 214 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 214 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 214 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 214 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 214 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 214 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 223 Button
on (press) {
_root.BeforeDrag(this);
}
on (release) {
_root.AfterDrag(this);
}
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 6
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 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 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 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 6
stop();
Symbol 307 Button
on (press) {
_root.BeforeDrag(this);
}
on (release) {
_root.AfterDrag(this);
}
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 6
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 6
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 6
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 6
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 6
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 6
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 6
stop();
Symbol 332 MovieClip Frame 1
_root.dimmed = false;
stop();
Symbol 332 MovieClip Frame 7
_root.dimmed = true;
stop();
Symbol 336 Button
on (release) {
_root.help.gotoAndStop(_root.language);
}
Symbol 340 Button
on (release) {
_root.language = "english";
gotoAndStop(_root.language);
_root.ChangeLanguage(_root.language, _root.whichGame);
}
Symbol 341 Button
on (release) {
_root.language = "espanol";
gotoAndStop(_root.language);
_root.ChangeLanguage(_root.language, _root.whichGame);
}
Symbol 345 MovieClip Frame 1
if (_root.language eq "english") {
gotoAndStop ("english");
}
if (_root.language eq "espanol") {
gotoAndStop ("espanol");
}
stop();
Symbol 345 MovieClip Frame 8
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 7
stop();
Symbol 356 Button
on (release) {
gotoAndStop ("off");
}
Symbol 362 Button
on (release) {
_root.language = "english";
gotoAndStop(_root.language);
_root.help.gotoAndStop(_root.language);
}
Symbol 363 Button
on (release) {
_root.language = "espanol";
gotoAndStop(_root.language);
_root.help.gotoAndStop(_root.language);
}
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 8
stop();
Symbol 371 MovieClip Frame 1
_root.helpon = false;
helptoggle.gotoAndStop(_root.language);
stop();
Symbol 371 MovieClip Frame 6
_root.helpon = true;
helptoggle.gotoAndStop(_root.language);
stop();
Symbol 371 MovieClip Frame 13
stop();
helptoggle.gotoAndStop(_root.language);
_root.helpon = true;
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 15
gotoAndStop ("off");
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 17
gotoAndStop ("off");
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 17
gotoAndStop ("off");
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 6
stop();
Symbol 383 MovieClip Frame 14
gotoAndStop ("off");
Symbol 383 MovieClip Frame 24
gotoAndStop ("off");
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 6
stop();
Symbol 387 MovieClip Frame 14
gotoAndStop ("off");
Symbol 387 MovieClip Frame 24
gotoAndStop ("off");
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 6
stop();
Symbol 391 MovieClip Frame 14
gotoAndStop ("off");
Symbol 391 MovieClip Frame 24
gotoAndStop ("off");
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 15
gotoAndStop ("off");
Symbol 396 Button
on (release) {
getURL ("index.html");
}
Symbol 422 MovieClip Frame 7
gotoAndPlay (1);
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 3
play();
Symbol 425 MovieClip Frame 34
stop();
Symbol 435 MovieClip Frame 11
stop();
Symbol 439 MovieClip Frame 1
this.stopAllSounds();
stop();
Symbol 439 MovieClip Frame 14
stop();
Symbol 441 MovieClip Frame 1
miguelanimation.gotoAndPlay("animate");
stop();
Symbol 474 MovieClip Frame 1
loopcounter = 0;
stop();
Symbol 474 MovieClip Frame 26
loopcounter = loopcounter + 1;
if (loopcounter < 3) {
gotoAndPlay ("animate");
} else {
play();
}
Symbol 474 MovieClip Frame 37
_root.mywinscreen.miguelanimation.gotoAndStop("happy");
stop();
Symbol 476 MovieClip Frame 172
_root.gotoAndPlay("finale");
Symbol 480 MovieClip Frame 1
stop();
Symbol 480 MovieClip Frame 35
_root.winbeat.gotoAndStop("off");
stopAllSounds();
Symbol 480 MovieClip Frame 43
stop();
_root.gotoAndStop("theend");
Symbol 481 MovieClip Frame 1
stop();
Symbol 481 MovieClip Frame 7
stop();
Symbol 503 Button
on (release) {
getURL ("index.html");
}
Symbol 510 Button
on (release) {
getURL ("/mayaandmiguel/english/print/chinesechicken.html");
}
Symbol 514 Button
on (release) {
getURL ("index.html");
}
Symbol 517 Button
on (release) {
getURL ("/mayaandmiguel/espanol/print/chinesechicken.html");
}
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 8
stop();