Frame 1
function goToSoap() {
_global.trackSite("click", "viewSoapSite");
_root.getURL("http://www.soap.com.au", "_blank");
}
function highQuality() {
_quality = "HIGH";
}
function lowQuality() {
_quality = "LOW";
}
if (_global.$tweenManager == undefined) {
_global.$tweenManager = new zigo.tweenManager();
} else {
_global.$tweenManager.cleanUp();
_global.$tweenManager.init();
}
com.robertpenner.easing.Back;
com.robertpenner.easing.Bounce;
com.robertpenner.easing.Circ;
com.robertpenner.easing.Cubic;
com.robertpenner.easing.Elastic;
com.robertpenner.easing.Expo;
com.robertpenner.easing.Linear;
com.robertpenner.easing.Quad;
com.robertpenner.easing.Quart;
com.robertpenner.easing.Quint;
com.robertpenner.easing.Sine;
var Mp = MovieClip.prototype;
Mp.addListener = function () {
if (!this._listeners) {
AsBroadcaster.initialize(this);
}
this.addListener.apply(this, arguments);
};
ASSetPropFlags(Mp, "addListener", 1, 0);
Mp.tween = function (props, pEnd, seconds, animType, delay, callback, extra1, extra2) {
if (_global.$tweenManager.isTweenLocked(this)) {
trace("tween not added, this movieclip is locked");
return(undefined);
}
if (arguments.length < 2) {
trace("tween not added, props & pEnd must be defined");
return(undefined);
}
if (typeof(props) == "string") {
if (props.indexOf(",") > -1) {
props = props.split(" ").join("").split(",");
} else {
props = [props];
}
}
if (!(pEnd instanceof Array)) {
pEnd = [pEnd];
while (pEnd.length < props.length) {
pEnd.push(pEnd[0]);
}
}
if (seconds == undefined) {
seconds = 2;
} else if (seconds < 0.01) {
seconds = 0;
}
if ((delay < 0.01) || (delay == undefined)) {
delay = 0;
}
switch (typeof(animType)) {
case "string" :
animType = animType.toLowerCase();
if (animType == "linear") {
var eqf = com.robertpenner.easing.Linear.easeNone;
} else if (animType.indexOf("easeoutin") == 0) {
var t = animType.substr(9);
t = t.charAt(0).toUpperCase() + t.substr(1);
var eqf = com.robertpenner.easing[t].easeOutIn;
} else if (animType.indexOf("easeinout") == 0) {
var t = animType.substr(9);
t = t.charAt(0).toUpperCase() + t.substr(1);
var eqf = com.robertpenner.easing[t].easeInOut;
} else if (animType.indexOf("easein") == 0) {
var t = animType.substr(6);
t = t.charAt(0).toUpperCase() + t.substr(1);
var eqf = com.robertpenner.easing[t].easeIn;
} else if (animType.indexOf("easeout") == 0) {
var t = animType.substr(7);
t = t.charAt(0).toUpperCase() + t.substr(1);
var eqf = com.robertpenner.easing[t].easeOut;
}
if (eqf == undefined) {
var eqf = com.robertpenner.easing.Expo.easeOut;
}
break;
case "function" :
var eqf = animType;
break;
case "object" :
if ((animType.ease != undefined) && (animType.pts != undefined)) {
var eqf = animType.ease;
extra1 = animType.pts;
} else {
var eqf = com.robertpenner.easing.Expo.easeOut;
}
break;
default :
var eqf = com.robertpenner.easing.Expo.easeOut;
}
switch (typeof(callback)) {
case "function" :
callback = {func:callback, scope:this._parent};
break;
case "string" :
var ilp;
var funcp;
var scope;
var args;
var a;
ilp = callback.indexOf("(");
funcp = callback.slice(0, ilp);
scope = eval (funcp.slice(0, funcp.lastIndexOf(".")));
func = eval (funcp);
args = callback.slice(ilp + 1, callback.lastIndexOf(")")).split(",");
var i = 0;
while (i < args.length) {
a = eval (args[i]);
if (a != undefined) {
args[i] = a;
}
i++;
}
callback = {func:func, scope:scope, args:args};
}
if (_global.$tweenManager.autoStop) {
_global.$tweenManager.removeTween(this);
}
if (delay > 0) {
_global.$tweenManager.addTweenWithDelay(delay, this, props, pEnd, seconds, eqf, callback, extra1, extra2);
} else {
_global.$tweenManager.addTween(this, props, pEnd, seconds, eqf, callback, extra1, extra2);
}
};
Mp.stopTween = function (props) {
if (typeof(props) == "string") {
if (props.indexOf(",") > -1) {
props = props.split(" ").join("").split(",");
} else {
props = [props];
}
}
_global.$tweenManager.removeTween(this, props);
};
Mp.isTweening = function (prop) {
return(_global.$tweenManager.isTweening(this, prop));
};
Mp.getTweens = function () {
return(_global.$tweenManager.getTweens(this));
};
Mp.lockTween = function () {
_global.$tweenManager.lockTween(this, true);
};
Mp.unlockTween = function () {
_global.$tweenManager.lockTween(this, false);
};
Mp.isTweenLocked = function () {
return(_global.$tweenManager.isTweenLocked(this));
};
Mp.isTweenPaused = function (prop) {
return(_global.$tweenManager.isTweenPaused(this, prop));
};
Mp.pauseTween = function (props) {
var _local4;
if (props != undefined) {
if (typeof(props) == "string") {
if (props.indexOf(",") > -1) {
props = props.split(" ").join("").split(",");
} else {
props = [props];
}
}
_local4 = {};
for (var _local5 in props) {
_local4[props[_local5]] = true;
}
}
_global.$tweenManager.pauseTween(this, _local4);
};
Mp.unpauseTween = function (props) {
var _local4;
if (props != undefined) {
if (typeof(props) == "string") {
if (props.indexOf(",") > -1) {
props = props.split(" ").join("").split(",");
} else {
props = [props];
}
}
_local4 = {};
for (var _local5 in props) {
_local4[props[_local5]] = true;
}
}
_global.$tweenManager.unpauseTween(this, _local4);
};
Mp.pauseAllTweens = function () {
_global.$tweenManager.pauseTween();
};
Mp.unpauseAllTweens = function () {
_global.$tweenManager.unpauseTween();
};
Mp.stopAllTweens = function () {
_global.$tweenManager.stopAll();
};
Mp.ffTween = function (props) {
var _local4;
if (props != undefined) {
if (typeof(props) == "string") {
if (props.indexOf(",") > -1) {
props = props.split(" ").join("").split(",");
} else {
props = [props];
}
}
_local4 = {};
for (var _local5 in props) {
_local4[props[_local5]] = true;
}
}
_global.$tweenManager.ffTween(this, _local4);
};
Mp.rewTween = function (props) {
var _local4;
if (props != undefined) {
if (typeof(props) == "string") {
if (props.indexOf(",") > -1) {
props = props.split(" ").join("").split(",");
} else {
props = [props];
}
}
_local4 = {};
for (var _local5 in props) {
_local4[props[_local5]] = true;
}
}
_global.$tweenManager.rewTween(this, _local4);
};
Mp.alphaTo = function (destAlpha, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_alpha"], [destAlpha], seconds, animType, delay, callback, extra1, extra2);
};
Mp.scaleTo = function (destScale, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_xscale", "_yscale"], [destScale, destScale], seconds, animType, delay, callback, extra1, extra2);
};
Mp.sizeTo = function (destSize, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_width", "_height"], [destSize, destSize], seconds, animType, delay, callback, extra1, extra2);
};
Mp.slideTo = function (destX, destY, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_x", "_y"], [destX, destY], seconds, animType, delay, callback, extra1, extra2);
};
Mp.rotateTo = function (destRotation, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_rotation"], [destRotation], seconds, animType, delay, callback, extra1, extra2);
};
_global.getColorTransObj = function (type, amt, rgb) {
switch (type) {
case "brightness" :
var _local4 = 100 - Math.abs(amt);
var _local6 = 0;
if (amt > 0) {
_local6 = 256 * (amt / 100);
}
return({ra:_local4, rb:_local6, ga:_local4, gb:_local6, ba:_local4, bb:_local6});
case "brightOffset" :
_local6 = 256 * (amt / 100);
return({ra:100, rb:_local6, ga:100, gb:_local6, ba:100, bb:_local6});
case "contrast" :
var _local2 = {};
_local2.ra = (_local2.ga = (_local2.ba = amt));
_local2.rb = (_local2.gb = (_local2.bb = 128 - (1.28 * amt)));
return(_local2);
case "invertColor" :
_local2 = {};
_local2.ra = (_local2.ga = (_local2.ba = 100 - (2 * amt)));
_local2.rb = (_local2.gb = (_local2.bb = amt * 2.55));
return(_local2);
case "tint" :
if ((rgb == undefined) || (rgb == null)) {
} else {
var _local8 = rgb >> 16;
var _local9 = (rgb >> 8) & 255;
var _local7 = rgb & 255;
var _local5 = amt / 100;
_local2 = {rb:_local8 * _local5, gb:_local9 * _local5, bb:_local7 * _local5};
_local2.ra = (_local2.ga = (_local2.ba = 100 - amt));
return(_local2);
}
}
return({rb:0, ra:100, gb:0, ga:100, bb:0, ba:100});
};
Mp.brightnessTo = function (bright, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_ct_"], [getColorTransObj("brightness", bright)], seconds, animType, delay, callback, extra1, extra2);
};
Mp.brightOffsetTo = function (percent, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_ct_"], [getColorTransObj("brightOffset", percent)], seconds, animType, delay, callback, extra1, extra2);
};
Mp.contrastTo = function (percent, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_ct_"], [getColorTransObj("contrast", percent)], seconds, animType, delay, callback, extra1, extra2);
};
Mp.colorTo = function (rgb, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_ct_"], [getColorTransObj("tint", 100, rgb)], seconds, animType, delay, callback, extra1, extra2);
};
Mp.colorTransformTo = function (ra, rb, ga, gb, ba, bb, aa, ab, seconds, animType, delay, callback, extra1, extra2) {
var _local2 = {ra:ra, rb:rb, ga:ga, gb:gb, ba:ba, bb:bb, aa:aa, ab:ab};
this.tween(["_ct_"], [_local2], seconds, animType, delay, callback, extra1, extra2);
};
Mp.invertColorTo = function (percent, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_ct_"], [getColorTransObj("invertColor", percent)], seconds, animType, delay, callback, extra1, extra2);
};
Mp.tintTo = function (rgb, percent, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_ct_"], [getColorTransObj("tint", percent, rgb)], seconds, animType, delay, callback, extra1, extra2);
};
Mp.getFrame = function () {
return(this._currentframe);
};
Mp.setFrame = function (fr) {
this.gotoAndStop(Math.round(fr));
};
Mp.addProperty("_frame", Mp.getFrame, Mp.setFrame);
Mp.frameTo = function (endframe, duration, animType, delay, callback, extra1, extra2) {
if (endframe == undefined) {
endframe = this._totalframes;
}
this.tween("_frame", endframe, duration, animType, delay, callback, extra1, extra2);
};
var TFP = TextField.prototype;
if (!TFP.origAddListener) {
TFP.origAddListener = TFP.addListener;
ASSetPropFlags(TFP, "origAddListener", 1, 0);
TFP.addListener = function () {
if (!this._listeners) {
AsBroadcaster.initialize(this);
}
this.origAddListener.apply(this, arguments);
};
}
var $_$methods = ["tween", "stopTween", "isTweening", "getTweens", "lockTween", "isTweenLocked", "unlockTween", "isTweenPaused", "pauseTween", "unpauseTween", "pauseAllTweens", "unpauseAllTweens", "stopAllTweens", "ffTween", "rewTween", "getFrame", "setFrame", "_frame", "frameTo", "alphaTo", "brightnessTo", "colorTo", "colorTransformTo", "invertColorTo", "tintTo", "scaleTo", "sizeTo", "slideTo", "rotateTo", "brightOffsetTo", "contrastTo"];
for (var $_$i in $_$methods) {
ASSetPropFlags(Mp, $_$methods[$_$i], 1, 0);
if ($_$methods[$_$i].toLowerCase().indexOf("frame") == -1) {
TFP[$_$methods[$_$i]] = Mp[$_$methods[$_$i]];
ASSetPropFlags(TFP, $_$methods[$_$i], 1, 0);
}
}
delete Mp;
delete TFP;
delete $_$methods;
delete $_$i;
var cm = new ContextMenu();
cm.hideBuiltInItems();
var cmItem1 = new ContextMenuItem("Game by Soap Creative", goToSoap);
var cmItem2 = new ContextMenuItem("High Quality", highQuality);
var cmItem3 = new ContextMenuItem("Low Quality", lowQuality);
cm.customItems = [cmItem1, cmItem2, cmItem3];
this.menu = cm;
var loadComplete = false;
onEnterFrame = function () {
var _local1 = getBytesTotal();
var _local2 = getBytesLoaded();
var _local3 = _local2 / _local1;
if (_local1 > 100) {
loader.arrow._rotation = _local3 * 180;
if (_local1 == _local2) {
onEnterFrame = null;
loadComplete = true;
loader.gotoAndPlay("loaded");
}
}
};
Frame 2
stop();
bg.brightnessTo(-70, 0, "easeOutQuad");
Frame 22
_global.GAMEID = 72;
_global.trackingClientID = 16;
_global.trackingProjectID = 3;
_global.debugSiteStats = false;
_global.getTrackingSO = function () {
var _local2 = SharedObject.getLocal(_global.SOName, "/");
return(_local2);
};
_global.getTrackingSOData = function () {
return(getTrackingSO().data);
};
_global.siteStartTime = getTimer();
_global.siteEVTTime = getTimer();
_global.SOName = (("siteTrackingStats_" + trackingClientID) + "_") + trackingProjectID;
if (_global.getTrackingSO().data.userID == undefined) {
returnVisitor = 0;
_global.getTrackingSO().data.userID = random(9999999999);
} else {
returnVisitor = 1;
_global.getTrackingSO().data.userID = random(9999999999);
}
_global.trackSystemInfo = function () {
sendSystemInfoLV = new LoadVars();
var _local2 = _global.trackingClientID;
var _local3 = _global.trackingProjectID;
sendSystemInfoLV.clientId = _local2;
sendSystemInfoLV.projectId = _local3;
sendSystemInfoLV.version = System.capabilities.version;
sendSystemInfoLV.manufacturer = System.capabilities.manufacturer;
sendSystemInfoLV.os = System.capabilities.os;
sendSystemInfoLV.screenResolutionX = System.capabilities.screenResolutionX;
sendSystemInfoLV.screenResolutionY = System.capabilities.screenResolutionY;
sendSystemInfoLV.avHardwareDisable = System.capabilities.avHardwareDisable;
sendSystemInfoLV.pixelAspectRatio = System.capabilities.pixelAspectRatio;
sendSystemInfoLV.screenDPI = System.capabilities.screenDPI;
sendSystemInfoLV.language = System.capabilities.language;
sendSystemInfoLV.hasAudioEncoder = System.capabilities.hasAudioEncoder;
sendSystemInfoLV.hasVideoEncoder = System.capabilities.hasVideoEncoder;
sendSystemInfoLV.hasAccessibility = System.capabilities.hasAccessibility;
if (_url.substring(0, 4) == "http") {
sendSystemInfoLV.url = _url;
} else {
sendSystemInfoLV.url = "local";
}
sendSystemInfoLV.onLoad = function (success) {
if (_global.debugSiteStats) {
if (!success) {
}
}
};
sendSystemInfoLV.sendAndLoad("http://www.soap.com.au/php_dev/sitestats/usrinfo.php", sendSystemInfoLV, "POST");
sendRefererInfoLV = new LoadVars();
sendRefererInfoLV.clientid = _local2;
sendRefererInfoLV.projectid = _local3;
var _local4 = referer;
sendRefererInfoLV.referrer = referer;
sendRefererInfoLV.onLoad = function (success) {
if (_global.debugSiteStats) {
if (!success) {
}
}
};
sendRefererInfoLV.sendAndLoad("http://www.soap.com.au/php_dev/pgtrack/reftrack.php", sendRefererInfoLV, "POST");
};
_global.trackSite = function (actionType) {
var _local7 = _global.trackingClientID;
var _local8 = _global.trackingProjectID;
var _local5 = arguments;
_local5.shift();
var _local4 = 0;
switch (actionType) {
case "impression" :
break;
case "click" :
break;
case "over" :
break;
case "durationFromInit" :
_local4 = Math.ceil((getTimer() - _global.siteStartTime) / 1000);
break;
case "durationEvent" :
_local4 = Math.ceil((getTimer() - _global.siteEVTTime) / 1000);
break;
default :
actionType = "";
}
var _local6 = _local5.join(",");
sendTrackInfoLV = new LoadVars();
sendTrackInfoLV.return = returnVisitor;
sendTrackInfoLV.onLoad = function (success) {
if (_global.debugSiteStats) {
if (!success) {
}
}
};
sendTrackInfoLV.clientId = _local7;
sendTrackInfoLV.projectId = _local8;
sendTrackInfoLV.actionType = actionType;
sendTrackInfoLV.pageId = _local6;
sendTrackInfoLV.time = _local4;
sendTrackInfoLV.user = _global.getTrackingSOData().userID;
sendTrackInfoLV.sendAndLoad("http://www.soap.com.au/php_dev/pgtrack/pgtrack.php", sendTrackInfoLV, "POST");
if (_global.debugSiteStats) {
}
};
play();
Frame 29
function init() {
bbq._x = screenX;
bbq._y = screenY + screenH;
topNav.gotoAndStop("off");
nav.gotoAndStop("off");
mainMenu.gotoAndPlay("mainMenu");
}
function endGame() {
reset();
nav.navigate("defaultIn", "", "gameOut");
topNav.gotoAndStop("logo");
mainMenu.navigate("gameOver");
}
function reset() {
Food.destroyAll();
_quality = "HIGH";
clearInterval(creationTime);
bbq.slideTo(screenX, screenH, 2, "easeInOutQuint");
bbq.fly.gotoAndStop("off");
bbq.table.bottle.gotoAndStop(1);
bg.brightnessTo(-70, 2, "easeOutQuad");
bg.anim.gotoAndStop("off");
soundOb.stopAll();
onEnterFrame = null;
Mouse.removeListener(mouseListen);
}
function newGame() {
_quality = "MEDIUM";
Food.reset();
objects = bbq.objects;
meters = bbq.meters;
effects = bbq.effects;
game.score = 0;
game.smoke = 0;
game.maxSmoke = 200;
game.lives = 3;
game.difficulty = 15;
game.interval = 5000;
var _local1 = 0;
while (_local1 < 5) {
var _local2 = bbq.objects["spot" + _local1];
spots[_local1] = (available[_local1] = new chris.physics.util.Vector(_local2._x, _local2._y));
_local1++;
}
topNav.gotoAndStop("game");
bbq.slideTo(screenX, screenY, 2, "easeInOutQuint");
bbq.fly.gotoAndPlay("on");
bg.brightnessTo(0, 2, "easeOutQuad");
bg.anim.gotoAndPlay("on");
soundOb.getLayer("music").play("party.wav", 100, true);
raiseDifficulty(0);
onEnterFrame = control;
Mouse.addListener(mouseListen);
}
function raiseDifficulty(a) {
game.difficulty = game.difficulty + a;
createFood();
creationTime = setInterval(this, "createFood", game.interval);
}
function createFood() {
clearInterval(creationTime);
var _local1 = available.length;
if (_local1 <= 0) {
return(undefined);
}
var _local2 = random(_local1);
var _local4 = foods[random(foods.length)];
var _local3 = available[_local2];
available.splice(_local2, 1);
var _local5 = new Food(_local3.x, _local3.y, _local4);
}
function createScore(x, y, amount, comment) {
var _local3 = bbq.getNextHighestDepth();
var _local2 = bbq.attachMovie("score", "score" + _local3, _local3);
var _local1 = _local2.textBox.blurb;
_local2._x = x;
_local2._y = y;
_local2.graphic.score.text = amount;
_local1.autoSize = "center";
_local1.text = comment;
if (y < 310) {
_local1._y = ((-_local2.textBox._y) - _local1._height) + _local1._y;
}
}
function drinkBottle() {
game.smoke = 0;
topNav.smokeMeter.warning.gotoAndStop(1);
topNav.chefTemp.gotoAndStop(1);
bbq.table.bottle.gotoAndStop(1);
soundOb.getLayer("sfx").play("drink.wav");
}
function control() {
nav.main.score.text = game.score;
nav.main.lives.gotoAndStop(game.lives + 1);
if (game.smoke < game.maxSmoke) {
game.smoke = game.smoke + 0.3;
var _local3 = game.smoke / game.maxSmoke;
var _local2 = topNav.smokeMeter.warning;
_local2.mask._yscale = _local3 * 100;
if ((_local3 > 0.8) && (_local2._currentframe == 1)) {
_local2.gotoAndPlay("on");
topNav.chefTemp.gotoAndPlay("on");
bbq.table.bottle.gotoAndPlay("warning");
}
} else {
endGame();
}
mouse.x = bbq._xmouse;
mouse.y = bbq._ymouse;
Food.selected = null;
for (var _local1 in Food.objects) {
Food.objects[_local1].control();
}
player.control();
}
stop();
var screenW = 700;
var screenH = 480;
var screenX = 90;
var screenY = 94;
var soundOb = (new chris.AS2.SoundUtil(this.createEmptyMovieClip("soundClip", 10)));
var player = new Player(Stage.width / 2, Stage.height / 2, bbq.spatula);
var mouse = (new chris.physics.util.Vector(0, 0));
var mouseListen = {};
var effects = bbq.effects;
var objects = bbq.objects;
var meters = bbq.meters;
var foods = ["kebab", "mushrooms", "prawn", "squid", "steak"];
var spots = [];
var available = [];
var game = {score:0, difficulty:0, interval:0, lives:0, smoke:0, maxSmoke:0};
var creationTime = 0;
mouseListen.onMouseDown = function () {
var _local1 = Food.selected;
((_local1.__get__flipCount() < 1) ? (_local1.flip()) : (_local1.finish()));
player.__get__graphic().gotoAndPlay("on");
};
init();
Symbol 12 MovieClip [score] Frame 105
this.removeMovieClip();
Symbol 18 MovieClip [highScoreElement] Frame 10
stop();
idField.text = id;
nameField.text = name;
scoreField.text = score;
Symbol 21 MovieClip [smoke] Frame 1
_yscale = (20 + (Math.random() * 80));
_alpha = (20 + (Math.random() * 80));
Symbol 21 MovieClip [smoke] Frame 60
this.removeMovieClip();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 7
gotoAndPlay ("on");
Symbol 43 MovieClip [steak] Frame 1
stop();
Symbol 43 MovieClip [steak] Frame 60
stop();
Symbol 50 MovieClip [squid] Frame 1
stop();
Symbol 50 MovieClip [squid] Frame 60
stop();
Symbol 57 MovieClip [prawn] Frame 1
stop();
Symbol 57 MovieClip [prawn] Frame 60
stop();
Symbol 63 MovieClip [mushrooms] Frame 1
stop();
Symbol 69 MovieClip [kebab] Frame 1
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
function endComment() {
clearInterval(interval);
gotoAndPlay ("out");
}
var comments = 0;
var interval = 0;
Symbol 87 MovieClip Frame 2
comments++;
if (_root.loadComplete && (comments > 3)) {
_root.gotoAndPlay("init");
stop();
}
textMask.gotoAndStop(comments);
Symbol 87 MovieClip Frame 21
stop();
interval = setInterval(this, "endComment", 4000);
Symbol 87 MovieClip Frame 42
gotoAndPlay (2);
Symbol 91 Button
on (release) {
_root.gotoAndPlay("init");
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 10
stop();
Symbol 367 MovieClip [__Packages.com.robertpenner.easing.Quad] Frame 0
class com.robertpenner.easing.Quad
{
function Quad () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static function easeOutIn(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
t--;
return((((-c) / 2) * ((t * t) - 1)) + b);
}
t--;
return(((c / 2) * ((t * t) + 1)) + b);
}
}
Symbol 368 MovieClip [__Packages.com.robertpenner.easing.Circ] Frame 0
class com.robertpenner.easing.Circ
{
function Circ () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * Math.sqrt(1 - (t * t))) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
t = t - 2;
return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b);
}
static function easeOutIn(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
t--;
return(((c / 2) * Math.sqrt(1 - (t * t))) + b);
}
t--;
return(((c / 2) * (2 - Math.sqrt(1 - (t * t)))) + b);
}
}
Symbol 369 MovieClip [__Packages.com.robertpenner.easing.Quart] Frame 0
class com.robertpenner.easing.Quart
{
function Quart () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((((c * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return(((-c) * ((((t * t) * t) * t) - 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((((c / 2) * t) * t) * t) * t) + b);
}
t = t - 2;
return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b);
}
static function easeOutIn(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
t--;
return((((-c) / 2) * ((((t * t) * t) * t) - 1)) + b);
}
t--;
return(((c / 2) * ((((t * t) * t) * t) + 1)) + b);
}
}
Symbol 370 MovieClip [__Packages.com.robertpenner.easing.Sine] Frame 0
class com.robertpenner.easing.Sine
{
function Sine () {
}
static function easeIn(t, b, c, d) {
return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b);
}
static function easeOut(t, b, c, d) {
return((c * Math.sin((t / d) * (Math.PI/2))) + b);
}
static function easeInOut(t, b, c, d) {
return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b);
}
static function easeOutIn(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((c / 2) * Math.sin((Math.PI * t) / 2)) + b);
}
t--;
return((((-c) / 2) * (Math.cos((Math.PI * t) / 2) - 2)) + b);
}
}
Symbol 371 MovieClip [__Packages.com.robertpenner.easing.Back] Frame 0
class com.robertpenner.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static function easeOutIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
t--;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
t--;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) - s)) + 1)) + b);
}
}
Symbol 372 MovieClip [__Packages.com.robertpenner.easing.Quint] Frame 0
class com.robertpenner.easing.Quint
{
function Quint () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static function easeOutIn(t, b, c, d) {
t = t / (d / 2);
t--;
return(((c / 2) * (((((t * t) * t) * t) * t) + 1)) + b);
}
}
Symbol 373 MovieClip [__Packages.com.robertpenner.easing.Linear] Frame 0
class com.robertpenner.easing.Linear
{
function Linear () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOutIn(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 374 MovieClip [__Packages.com.robertpenner.easing.Expo] Frame 0
class com.robertpenner.easing.Expo
{
function Expo () {
}
static function easeIn(t, b, c, d) {
return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b)));
}
static function easeOut(t, b, c, d) {
return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b)));
}
static function easeInOut(t, b, c, d) {
if (t == 0) {
return(b);
}
if (t == d) {
return(b + c);
}
t = t / (d / 2);
if (t < 1) {
return(((c / 2) * Math.pow(2, 10 * (t - 1))) + b);
}
t--;
return(((c / 2) * ((-Math.pow(2, -10 * t)) + 2)) + b);
}
static function easeOutIn(t, b, c, d) {
if (t == 0) {
return(b);
}
if (t == d) {
return(b + c);
}
t = t / (d / 2);
if (t < 1) {
return(((c / 2) * ((-Math.pow(2, -10 * t)) + 1)) + b);
}
return(((c / 2) * (Math.pow(2, 10 * (t - 2)) + 1)) + b);
}
}
Symbol 375 MovieClip [__Packages.com.robertpenner.easing.Elastic] Frame 0
class com.robertpenner.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static function easeOutIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
return(((0.5 * ((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + (c / 2)) + b);
}
return(((c / 2) + (0.5 * ((a * Math.pow(2, 10 * (t - 2))) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)))) + b);
}
}
Symbol 376 MovieClip [__Packages.com.robertpenner.easing.Bounce] Frame 0
class com.robertpenner.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static function easeOutIn(t, b, c, d) {
if (t < (d / 2)) {
return((easeOut(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeIn((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
}
Symbol 377 MovieClip [__Packages.zigo.tweenManager] Frame 0
class zigo.tweenManager
{
var playing, autoStop, broadcastEvents, autoOverwrite, ints, lockedTweens, tweenList, updateTime, tweenHolder, updateIntId, now;
function tweenManager () {
playing = false;
autoStop = false;
broadcastEvents = false;
autoOverwrite = true;
ints = new Array();
lockedTweens = new Object();
tweenList = new Array();
}
function cleanUp() {
if (!((tweenList instanceof Array) && (tweenList.length > 0))) {
return(undefined);
}
for (var _local2 in tweenList) {
if (tweenList[_local2].mc._x == undefined) {
tweenList.splice(Number(_local2), 1);
}
}
if (tweenList.length == 0) {
tweenList = [];
deinit();
}
for (var _local2 in ints) {
if ((ints[_local2] != undefined) && (ints[_local2].mc._x == undefined)) {
removeDelayedTween(Number(_local2));
}
}
}
function set updateInterval(time) {
if (playing) {
deinit();
updateTime = time;
init();
} else {
updateTime = time;
}
//return(updateInterval);
}
function get updateInterval() {
return(updateTime);
}
function set controllerDepth(v) {
if (_global.isNaN(v) == true) {
return;
}
if (tweenHolder._name != undefined) {
tweenHolder.swapDepths(v);
} else {
_th_depth = v;
}
//return(controllerDepth);
}
function get controllerDepth() {
return(_th_depth);
}
function init() {
if (updateTime > 0) {
clearInterval(updateIntId);
updateIntId = setInterval(this, "update", updateTime);
} else {
if (tweenHolder._name == undefined) {
tweenHolder = _root.createEmptyMovieClip("_th_", _th_depth);
}
var tm = this;
tweenHolder.onEnterFrame = function () {
tm.update.call(tm);
};
}
playing = true;
now = getTimer();
}
function deinit() {
playing = false;
clearInterval(updateIntId);
delete tweenHolder.onEnterFrame;
}
function update() {
var _local2;
var _local10;
var _local3;
var _local13 = false;
_local10 = tweenList.length;
if (broadcastEvents) {
var _local4;
var _local7;
var _local5;
var _local9;
_local4 = {};
_local7 = {};
_local5 = {};
_local9 = {};
}
while (_local10--) {
_local2 = tweenList[_local10];
if (_local2.mc._x == undefined) {
_local13 = true;
continue;
}
if (_local2.pt != -1) {
continue;
}
if ((_local2.ts + _local2.d) > now) {
if (_local2.ctm == undefined) {
_local2.mc[_local2.pp] = _local2.ef(now - _local2.ts, _local2.ps, _local2.ch, _local2.d, _local2.e1, _local2.e2);
} else {
var _local8 = {};
for (_local3 in _local2.ctm) {
_local8[_local3] = _local2.ef(now - _local2.ts, _local2.stm[_local3], _local2.ctm[_local3], _local2.d, _local2.e1, _local2.e2);
}
_local2.c.setTransform(_local8);
}
if (broadcastEvents) {
if (_local4[targetPath(_local2.mc)] == undefined) {
_local4[targetPath(_local2.mc)] = _local2.mc;
}
if (_local5[targetPath(_local2.mc)] == undefined) {
_local5[targetPath(_local2.mc)] = [];
}
_local5[targetPath(_local2.mc)].push(((_local2.ctm != undefined) ? "_ct_" : (_local2.pp)));
}
if (_local2.cb.updfunc != undefined) {
var _local6 = _local2.cb.updfunc;
if ((typeof(_local6) == "string") && (_local2.cb.updscope != undefined)) {
_local6 = _local2.cb.updscope[_local6];
}
_local6.apply(_local2.cb.updscope, _local2.cb.updargs);
}
} else {
if (_local2.ctm == undefined) {
_local2.mc[_local2.pp] = _local2.ps + _local2.ch;
} else {
var _local8 = {};
for (_local3 in _local2.ctm) {
_local8[_local3] = _local2.stm[_local3] + _local2.ctm[_local3];
}
_local2.c.setTransform(_local8);
}
if (broadcastEvents) {
if (_local4[targetPath(_local2.mc)] == undefined) {
_local4[targetPath(_local2.mc)] = _local2.mc;
}
if (_local7[targetPath(_local2.mc)] == undefined) {
_local7[targetPath(_local2.mc)] = _local2.mc;
}
if (_local5[targetPath(_local2.mc)] == undefined) {
_local5[targetPath(_local2.mc)] = [];
}
_local5[targetPath(_local2.mc)].push(((_local2.ctm != undefined) ? "_ct_" : (_local2.pp)));
if (_local9[targetPath(_local2.mc)] == undefined) {
_local9[targetPath(_local2.mc)] = [];
}
_local9[targetPath(_local2.mc)].push(((_local2.ctm != undefined) ? "_ct_" : (_local2.pp)));
}
if (_local2.cb.updfunc != undefined) {
var _local6 = _local2.cb.updfunc;
if ((typeof(_local6) == "string") && (_local2.cb.updscope != undefined)) {
_local6 = _local2.cb.updscope[_local6];
}
_local6.updfunc.apply(_local2.cb.updscope, _local2.cb.updargs);
}
if (endt == undefined) {
var endt = new Array();
}
endt.push(_local10);
}
}
if (_local13) {
cleanUp();
}
for (_local3 in _local4) {
_local4[_local3].broadcastMessage("onTweenUpdate", {target:_local4[_local3], props:_local5[_local3]});
}
if (endt != undefined) {
endTweens(endt);
}
for (_local3 in _local7) {
_local7[_local3].broadcastMessage("onTweenEnd", {target:_local7[_local3], props:_local9[_local3]});
}
now = getTimer();
if (updateTime > 0) {
updateAfterEvent();
}
}
function endTweens(tid_arr) {
var _local2;
var _local9;
var _local3;
var _local5;
var _local8;
_local2 = [];
_local9 = tid_arr.length;
_local3 = 0;
while (_local3 < _local9) {
_local5 = tweenList[tid_arr[_local3]].cb;
if (_local5 != undefined) {
var _local6 = true;
for (_local8 in _local2) {
if (_local2[_local8] == _local5) {
_local6 = false;
break;
}
}
if (_local6) {
_local2.push(_local5);
}
}
tweenList.splice(tid_arr[_local3], 1);
_local3++;
}
_local3 = 0;
while (_local3 < _local2.length) {
var _local4 = _local2[_local3].func;
if ((typeof(_local4) == "string") && (_local2[_local3].scope != undefined)) {
_local4 = _local2[_local3].scope[_local4];
}
_local4.apply(_local2[_local3].scope, _local2[_local3].args);
_local3++;
}
if (tweenList.length == 0) {
deinit();
}
}
function removeDelayedTween(index) {
clearInterval(ints[index].intid);
ints[index] = undefined;
var _local2 = true;
for (var _local3 in ints) {
if (ints[_local3] != undefined) {
_local2 = false;
break;
}
}
if (_local2) {
ints = [];
}
}
function addTween(mc, props, pEnd, sec, eqFunc, callback, extra1, extra2) {
var _local4;
var _local13;
var _local6;
var _local3;
var _local2;
if (!playing) {
init();
}
var _local12 = [];
for (_local4 in props) {
_local13 = props[_local4];
_local6 = true;
if (_local13.substr(0, 4) != "_ct_") {
var _local17 = ((typeof(pEnd[_local4]) == "string") ? (Number(pEnd[_local4])) : (pEnd[_local4] - mc[_local13]));
if (autoOverwrite) {
for (_local3 in tweenList) {
_local2 = tweenList[_local3];
if ((_local2.mc == mc) && (_local2.pp == _local13)) {
_local2.ps = mc[_local13];
_local2.ch = _local17;
_local2.ts = now;
_local2.d = sec * 1000;
_local2.ef = eqFunc;
_local2.cb = callback;
_local2.e1 = extra1;
_local2.e2 = extra2;
_local2.pt = -1;
_local6 = false;
_local12.push(_local2.pp);
break;
}
}
}
if (_local6) {
tweenList.unshift({mc:mc, pp:_local13, ps:mc[_local13], ch:_local17, ts:now, d:sec * 1000, ef:eqFunc, cb:callback, e1:extra1, e2:extra2, pt:-1});
}
} else {
var _local16 = new Color(mc);
var _local20 = _local16.getTransform();
var _local19 = {};
for (_local3 in pEnd[_local4]) {
if ((pEnd[_local4][_local3] != _local20[_local3]) && (pEnd[_local4][_local3] != undefined)) {
_local19[_local3] = ((typeof(pEnd[_local4][_local3]) == "string") ? (_local20[_local3] + Number(pEnd[_local4][_local3])) : (pEnd[_local4][_local3] - _local20[_local3]));
}
}
if (autoOverwrite) {
for (_local3 in tweenList) {
_local2 = tweenList[_local3];
if ((_local2.mc == mc) && (_local2.ctm != undefined)) {
_local2.c = _local16;
_local2.stm = _local20;
(_local2.ctm = _local19);
(_local2.ts = now);
_local2.d = sec * 1000;
_local2.ef = eqFunc;
_local2.cb = callback;
_local2.e1 = extra1;
_local2.e2 = extra2;
_local2.pt = -1;
_local6 = false;
_local12.push("_ct_");
break;
}
}
}
if (_local6) {
tweenList.unshift({mc:mc, c:_local16, stm:_local20, ctm:_local19, ts:now, d:sec * 1000, ef:eqFunc, cb:callback, e1:extra1, e2:extra2, pt:-1});
}
}
}
if (broadcastEvents) {
if (_local12.length > 0) {
mc.broadcastMessage("onTweenInterrupt", {target:mc, props:_local12});
}
mc.broadcastMessage("onTweenStart", {target:mc, props:props});
}
if (callback.startfunc != undefined) {
var _local27 = callback.startfunc;
if ((typeof(_local27) == "string") && (callback.startscope != undefined)) {
_local27 = callback.startscope[_local27];
}
_local27.apply(callback.startscope, callback.startargs);
}
if (sec == 0) {
update();
}
}
function addTweenWithDelay(delay, mc, props, pEnd, sec, eqFunc, callback, extra1, extra2) {
var il;
var _local3;
il = ints.length;
_local3 = setInterval(function (obj) {
obj.removeDelayedTween(il);
if (mc._x != undefined) {
obj.addTween(mc, props, pEnd, sec, eqFunc, callback, extra1, extra2);
}
}, delay * 1000, this);
ints[il] = {mc:mc, props:props, pend:pEnd, intid:_local3, st:getTimer(), delay:delay * 1000, args:arguments.slice(1), pt:-1};
if (!playing) {
init();
}
}
function removeTween(mc, props) {
var _local8;
var _local2;
var _local5;
_local8 = false;
if ((props == undefined) && (broadcastEvents != true)) {
_local8 = true;
}
_local2 = tweenList.length;
var _local4 = {};
while (_local2--) {
if (tweenList[_local2].mc == mc) {
if (_local8) {
tweenList.splice(_local2, 1);
} else {
for (_local5 in props) {
if (tweenList[_local2].pp == props[_local5]) {
tweenList.splice(_local2, 1);
if (_local4[targetPath(mc)] == undefined) {
_local4[targetPath(mc)] = {t:mc, p:[]};
}
_local4[targetPath(mc)].p.push(props[_local5]);
} else if (((props[_local5] == "_ct_") && (tweenList[_local2].ctm != undefined)) && (tweenList[_local2].mc == mc)) {
tweenList.splice(_local2, 1);
if (_local4[targetPath(mc)] == undefined) {
_local4[targetPath(mc)] = {t:mc, p:[]};
}
_local4[targetPath(mc)].p.push("_ct_");
}
}
}
}
}
_local2 = ints.length;
while (_local2--) {
if (ints[_local2].mc == mc) {
if (_local8) {
removeDelayedTween(Number(_local2));
} else {
for (_local5 in props) {
for (var _local11 in ints[_local2].props) {
if (ints[_local2].props[_local11] == props[_local5]) {
ints[_local2].props.splice(_local11, 1);
ints[_local2].pend.splice(_local11, 1);
if (_local4[targetPath(mc)] == undefined) {
_local4[targetPath(mc)] = {t:mc, p:[]};
}
_local4[targetPath(mc)].p.push(props[_local5]);
}
}
if (ints[_local2].props.length == 0) {
clearInterval(ints[_local2].intid);
}
}
}
}
}
if (broadcastEvents) {
for (var _local11 in _local4) {
if (_local4[_local11].p.length > 0) {
_local4[_local11].t.broadcastMessage("onTweenInterrupt", {target:_local4[_local11].t, props:_local4[_local11].p});
}
}
}
if (tweenList.length == 0) {
deinit();
}
}
function isTweening(mc, prop) {
var _local4 = prop == undefined;
for (var _local6 in tweenList) {
var _local2 = tweenList[_local6];
if (((tweenList[_local6].mc == mc) && (tweenList[_local6].pt == -1)) && ((_local4 || (prop == _local2.pp)) || ((prop == "_ct_") && (_local2.ctm != undefined)))) {
return(true);
}
}
return(false);
}
function getTweens(mc) {
var _local2 = 0;
for (var _local4 in tweenList) {
if (tweenList[_local4].mc == mc) {
_local2++;
}
}
return(_local2);
}
function lockTween(mc, bool) {
lockedTweens[targetPath(mc)] = bool;
}
function isTweenLocked(mc) {
if (lockedTweens[targetPath(mc)] == undefined) {
return(false);
}
return(lockedTweens[targetPath(mc)]);
}
function ffTween(mc, propsObj) {
var _local4 = mc == undefined;
var _local6 = propsObj == undefined;
for (var _local8 in tweenList) {
var _local2 = tweenList[_local8];
if (((_local2.mc == mc) || (_local4)) && (_local6 || (propsObj[_local2.pp] == true))) {
if (_local2.pt != -1) {
_local2.pt = -1;
}
_local2.ts = now - _local2.d;
}
}
for (var _local8 in ints) {
if (ints[_local8] != undefined) {
if ((ints[_local8].mc == mc) || (_local4)) {
if (ints[_local8].mc._x != undefined) {
var _local3 = ints[_local8].args;
_local3[3] = 0;
addTween.apply(this, _local3);
}
removeDelayedTween(Number(_local8));
}
}
}
update();
}
function rewTween(mc, propsObj) {
var _local3 = mc == undefined;
var _local5 = propsObj == undefined;
for (var _local7 in tweenList) {
var _local2 = tweenList[_local7];
if (((_local2.mc == mc) || (_local3)) && (_local5 || (propsObj[_local2.pp] == true))) {
if (_local2.pt != -1) {
_local2.pt = -1;
}
_local2.ts = now;
}
}
for (var _local7 in ints) {
if (ints[_local7] != undefined) {
if ((ints[_local7].mc == mc) || (_local3)) {
if (ints[_local7].mc._x != undefined) {
addTween.apply(this, ints[_local7].args);
}
removeDelayedTween(Number(_local7));
}
}
}
update();
}
function isTweenPaused(mc, prop) {
if (mc == undefined) {
return(null);
}
var _local5 = prop == undefined;
for (var _local6 in tweenList) {
var _local2 = tweenList[_local6];
if ((tweenList[_local6].mc == mc) && ((_local5 || (prop == _local2.pp)) || ((prop == "_ct_") && (_local2.ctm != undefined)))) {
return(Boolean(tweenList[_local6].pt != -1));
}
}
for (var _local6 in ints) {
if ((ints[_local6] != undefined) && (ints[_local6].mc == mc)) {
return(Boolean(ints[_local6].pt != -1));
}
}
return(false);
}
function pauseTween(mc, propsObj) {
var _local3 = mc == undefined;
if ((_local3 == false) && (isTweenPaused(mc) == true)) {
return(undefined);
}
var _local6 = propsObj == undefined;
for (var _local7 in tweenList) {
var _local2 = tweenList[_local7];
if (((_local2.pt == -1) && ((_local2.mc == mc) || (_local3))) && ((_local6 || (propsObj[_local2.pp] == true)) || ((propsObj._ct_ != undefined) && (_local2.ctm != undefined)))) {
_local2.pt = now;
}
}
for (var _local7 in ints) {
if (ints[_local7] != undefined) {
if ((ints[_local7].pt == -1) && ((ints[_local7].mc == mc) || (_local3))) {
ints[_local7].pt = now;
}
}
}
}
function unpauseTween(mc, propsObj) {
var _local4 = mc == undefined;
if ((_local4 == false) && (isTweenPaused(mc) === false)) {
return(undefined);
}
var _local7 = propsObj == undefined;
if (!playing) {
init();
}
for (var _local2 in tweenList) {
var _local3 = tweenList[_local2];
if ((((_local3.pt != -1) && ((_local3.mc == mc) || (_local4))) && (_local7 || (propsObj[_local3.pp] == true))) || ((propsObj._ct_ != undefined) && (_local3.ctm != undefined))) {
_local3.ts = now - (_local3.pt - _local3.ts);
_local3.pt = -1;
}
}
for (var _local2 in ints) {
if (ints[_local2] != undefined) {
if ((ints[_local2].pt != -1) && ((ints[_local2].mc == mc) || (_local4))) {
ints[_local2].delay = ints[_local2].delay - (ints[_local2].pt - ints[_local2].st);
ints[_local2].st = now;
ints[_local2].intid = setInterval(function (obj, id) {
obj.addTween.apply(obj, obj.ints[id].args);
clearInterval(obj.ints[id].intid);
obj.ints[id] = undefined;
}, ints[_local2].delay, this, _local2);
}
}
}
}
function pauseAll() {
pauseTween();
}
function unpauseAll() {
unpauseTween();
}
function stopAll() {
for (var _local2 in ints) {
removeDelayedTween(Number(_local2));
}
tweenList = new Array();
deinit();
}
function toString() {
return("[AS2 tweenManager 1.2.0]");
}
var _th_depth = 6789;
}
Symbol 378 MovieClip [__Packages.com.robertpenner.easing.Cubic] Frame 0
class com.robertpenner.easing.Cubic
{
function Cubic () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((c * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((t * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((c / 2) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((t * t) * t) + 2)) + b);
}
static function easeOutIn(t, b, c, d) {
t = t / (d / 2);
t--;
return(((c / 2) * (((t * t) * t) + 1)) + b);
}
}
Symbol 379 MovieClip [__Packages.Player] Frame 0
class Player
{
var p, clip, ease, shadow;
function Player (x, y, mc) {
p = new chris.physics.util.Vector(x, y);
clip = mc;
clip.graphic.cacheAsBitmap = true;
ease = 5;
shadow = _root.bbq.table.shadow;
}
function get graphic() {
return(clip);
}
function get width() {
return(clip._width);
}
function get height() {
return(clip._height);
}
function render() {
clip._x = (shadow._x = p.x);
clip._y = p.y;
shadow._y = p.y + 10;
}
function control() {
p.x = p.x + ((_root.mouse.x - p.x) / ease);
p.y = p.y + ((Math.max(_root.mouse.y, 270) - p.y) / ease);
render();
}
}
Symbol 380 MovieClip [__Packages.chris.physics.util.Vector] Frame 0
class chris.physics.util.Vector
{
var x, y;
function Vector (px, py) {
x = px;
y = py;
}
function set(px, py) {
x = px;
y = py;
}
function clone() {
return(new chris.physics.util.Vector(x, y));
}
function copy(v) {
x = v.x;
y = v.y;
return(this);
}
function add(v) {
x = x + v.x;
y = y + v.y;
return(this);
}
function addNew(v) {
return(new chris.physics.util.Vector(x + v.x, y + v.y));
}
function sub(v) {
x = x - v.x;
y = y - v.y;
return(this);
}
function subNew(v) {
return(new chris.physics.util.Vector(x - v.x, y - v.y));
}
function distance(v) {
return(subNew(v).__get__length());
}
function radianBetween(v) {
return(subNew(v).__get__radian());
}
function degreeBetween(v) {
return(radianBetween(v) * DEG);
}
function dot(v) {
return((x * v.x) + (y * v.y));
}
function minusNew(n) {
return(new chris.physics.util.Vector(x - n, y - n));
}
function plusNew(n) {
return(new chris.physics.util.Vector(x + n, y + n));
}
function multNew(n) {
return(new chris.physics.util.Vector(x * n, y * n));
}
function mult(n) {
x = x * n;
y = y * n;
return(this);
}
function divide(n) {
x = x / n;
y = y / n;
return(this);
}
function toString() {
return((("x:" + x) + " y:") + y);
}
function get radian() {
return(atan2(y, x));
}
function get length() {
return(sqrt((x * x) + (y * y)));
}
function get magnitude() {
return((x * x) + (y * y));
}
function get unit() {
var _local2 = length;
if (_local2 == 0) {
_local2 = 0.0001;
}
return(multNew(1 / _local2));
}
static function get ZERO() {
return(new chris.physics.util.Vector(0, 0));
}
static var floor = Math.floor;
static var atan2 = Math.atan2;
static var sqrt = Math.sqrt;
static var abs = Math.abs;
static var PI = Math.PI;
static var DEG = 57.2957795130823;
static var RAD = 565.486677646163;
}
Symbol 381 MovieClip [__Packages.chris.AS2.SoundUtil] Frame 0
class chris.AS2.SoundUtil
{
var clip, globalSound, sounds;
function SoundUtil (clip) {
this.clip = clip;
init();
}
function init() {
globalSound = new Sound();
sounds = {};
addLayer("sfx");
addLayer("voice");
addLayer("music");
}
function addLayer(layer) {
var _local2 = new chris.AS2.sound.SoundLayer(layer, clip.createEmptyMovieClip("sound" + id, id));
id++;
sounds[layer] = _local2;
return(_local2);
}
function getLayer(layer) {
return(sounds[layer]);
}
function removeLayer(layer) {
sounds[layer].destroy();
}
function stopAll() {
for (var _local2 in sounds) {
sounds[_local2].stop();
}
}
function destroyAll() {
for (var _local2 in sounds) {
sounds[_local2].destroy();
}
}
function toString() {
return("Sound Utility - " + clip);
}
function get instance() {
return(clip);
}
function set globalVolume(n) {
globalSound.setVolume(n);
//return(globalVolume);
}
function get globalVolume() {
return(globalSound.getVolume());
}
function get soundOn() {
return(globalVolume > 0);
}
function get sfx() {
return(sounds.sfx);
}
function get music() {
return(sounds.music);
}
function get voice() {
return(sounds.voice);
}
static function reset() {
id = 0;
}
static var id = 0;
}
Symbol 382 MovieClip [__Packages.chris.AS2.sound.SoundLayer] Frame 0
class chris.AS2.sound.SoundLayer
{
var clip, sound, interval;
function SoundLayer (name, mc) {
clip = mc;
sound = new Sound(mc);
interval = 0;
}
function play(s, vol, loops, loopsOffset, offset, loop) {
sound.attachSound(s);
sound.setVolume(vol || 100);
sound.start(offset || 0, loop || 0);
if (loops) {
clearInterval(interval);
interval = setInterval(this, "play", sound.duration, s, vol, true, loopsOffset, loopsOffset);
}
return(sound);
}
function stop() {
clearInterval(interval);
sound.stop();
}
function destroy() {
stop();
clip.removeMovieClip();
}
}
Symbol 383 MovieClip [__Packages.Food] Frame 0
class Food
{
static var id, objects, selected;
var type, name, clip, graphic, bounds, shadow, p, t, o, v, flips, scale, mode, bounce, smokeTime, mySound, cookPoint, cookAmount, maxCook, meter, cookSpeed;
function Food (x, y, type) {
this.type = type;
name = (type + "_") + id;
clip = _root.objects.createEmptyMovieClip(name, _root.objects.getNextHighestDepth());
graphic = clip.attachMovie(type, "graphic", 2);
bounds = graphic.getBounds(clip);
shadow = new Shadow(clip.createEmptyMovieClip("shadow", 1), width, height);
shadow.draw(graphic, new flash.geom.Matrix(1, 0, 0, 1, -bounds.xMin, -bounds.yMin));
p = new chris.physics.util.Vector(x, -(clip._height + _root.bbq._y));
t = new chris.physics.util.Vector(x, y);
o = new chris.physics.util.Vector(x, y);
v = new chris.physics.util.Vector(0, 0);
graphic.cacheAsBitmap = true;
objects[name] = this;
id++;
init();
}
function init() {
flips = 0;
scale = 100;
mode = "init";
bounce = -0.2;
smokeTime = 0;
mySound = _root.soundOb.addLayer(name);
render();
}
function get width() {
return(graphic._width);
}
function get height() {
return(graphic._height);
}
function get flipCount() {
return(flips);
}
function get flipped() {
return(flips > 0);
}
function get burn() {
if (cookAmount < cookPoint) {
return(cookAmount / cookPoint);
}
return((cookAmount - cookPoint) / (maxCook - cookPoint));
}
static function reset() {
objects = {};
id = 0;
selected = null;
}
static function destroyAll() {
for (var _local1 in objects) {
objects[_local1].destroy();
}
}
function initCook() {
meter = _root.meters.attachMovie("meter", "meter" + name, _root.meters.getNextHighestDepth());
meter._y = clip.getBounds(clip._parent).yMin - 20;
meter._alpha = 0;
meter.alphaTo(100, 0.5, "easeInOutQuint");
var _local3 = (_root.game.difficulty + (Math.random() * 15)) / 100;
cookPoint = 66 + (Math.random() * 40);
cookSpeed = Math.min(2.5, _local3);
cookAmount = 0;
maxCook = 120;
meter.cookPoint._x = cookPoint;
}
function getScore(mult) {
var _local2 = 0;
if (cookAmount < cookPoint) {
_local2 = Math.floor(burn * mult);
} else if (cookAmount < maxCook) {
_local2 = Math.floor(mult - (burn * mult));
}
return(_local2);
}
function flip() {
var _local3 = getScore(100);
var _local4 = "Thanks for \n the charcoal!";
if (_local3 >= 85) {
_local4 = "Spot on!";
} else if (((cookAmount > cookPoint) && (_local3 < 85)) && (_local3 > 0)) {
_local4 = "That\u2019ll be \n tough going!";
} else if ((cookAmount < cookPoint) && (_local3 < 85)) {
_local4 = "Ah, come on \n it\u2019s still raw!";
_local3 = 0;
if (_root.game.score > 20) {
_local3 = -30;
}
}
_root.game.score = _root.game.score + _local3;
mode = "flip";
flips++;
cookAmount = 0;
scale = scale * -1;
v.y = -15;
v.x = ((p.x > _root.mouse.x) ? 3 : -3);
meter.warning.gotoAndStop("off");
_root.createScore(t.x, t.y, _local3, _local4);
mySound.stop();
mySound.play(((flips == 1) ? "flip.wav" : "flick.wav"));
}
function destroy() {
mySound.destroy();
delete objects[name];
clip.removeMovieClip();
meter.removeMovieClip();
}
function finish() {
flip();
mode = "cooked";
_root.available.push(t.clone());
v.x = (50 - p.x) * 0.2;
t.y = 280 - (Math.random() * 10);
_root.raiseDifficulty(1);
meter.removeMovieClip();
}
function burnt() {
_root.game.lives--;
finish();
if (_root.game.lives <= 0) {
_root.endGame();
}
}
function cook() {
cookAmount = cookAmount + cookSpeed;
smokeTime++;
var _local3 = 0;
if (smokeTime > 5) {
var _local5 = _root.effects.getNextHighestDepth();
var _local4 = _root.effects.attachMovie("smoke", "smoke" + _local5, _local5);
var _local6 = width / 2;
_local4._x = (p.x - _local6) + (Math.random() * width);
_local4._y = p.y - 20;
smokeTime = 0;
}
if (meter.warning._currentframe == 1) {
if (cookAmount > (cookPoint - 15)) {
meter.warning.gotoAndPlay("on");
}
}
if (cookAmount > cookPoint) {
_local3 = 30 + Math.floor(burn * 30);
if (cookAmount >= maxCook) {
burnt();
}
} else {
_local3 = Math.floor((cookAmount / cookPoint) * 30);
}
graphic.gotoAndStop(1 + _local3);
}
function movement() {
v.y = v.y + gravity;
v.x = v.x * friction;
p.add(v);
var _local2 = v.__get__length() < 2;
if (!_local2) {
graphic._xscale = graphic._xscale + ((scale - graphic._xscale) / 5);
shadow.__get__instance()._xscale = scale;
}
if ((p.y > t.y) && (v.y > 0)) {
if (mode == "init") {
mode = "bounce";
mySound.play("steam.wav", 40);
}
p.y = t.y;
v.y = v.y * bounce;
if (_local2 && (mode != "cooking")) {
if (mode == "cooked") {
v.x = -10;
if (p.x < ((-graphic._width) / 2)) {
destroy();
}
} else {
mode = "cooking";
mySound.play("bbq.wav", 100, true, 1);
if (flipped == false) {
initCook();
}
}
}
}
}
function render() {
clip._x = p.x;
clip._y = p.y;
clip.swapDepths(t.y);
var _local2 = (bounds.xMin * scale) / 100;
shadow.__get__instance()._x = _local2;
shadow.__get__instance()._y = (bounds.yMin + (t.y - p.y)) + 3;
meter.warning.mask._xscale = (cookAmount / maxCook) * 100;
meter._x = p.x - (meter._width / 2);
}
function control() {
movement();
if ((mode == "cooking") && (meter._alpha == 100)) {
cook();
var _local3 = clip.getBounds(clip._parent);
var _local5 = _root.player.p.x;
var _local4 = _root.player.p.y;
if ((((_local5 > _local3.xMin) && (_local5 < _local3.xMax)) && (_local4 > _local3.yMin)) && (_local4 < _local3.yMax)) {
p.y = t.y - 5;
selected = this;
}
}
render();
}
static var gravity = 1;
static var friction = 0.8;
}
Symbol 384 MovieClip [__Packages.Shadow] Frame 0
class Shadow
{
var clip, color, bmp;
function Shadow (mc, width, height) {
clip = mc;
color = new flash.geom.ColorTransform(0, 0, 0, 1, 0, 0, 0, 0);
bmp = new flash.display.BitmapData(width, height, true, 0);
clip.attachBitmap(bmp, 1);
clip._alpha = 40;
}
function get instance() {
return(clip);
}
function get bitmap() {
return(bmp);
}
function draw(mc, m) {
bmp.fillRect(bmp.rectangle, 0);
bmp.draw(mc, m, color, "layer");
}
}
Symbol 385 MovieClip [__Packages.chris.AS2.MovieButton] Frame 0
class chris.AS2.MovieButton
{
function MovieButton () {
}
static function create(clip, scope, func, args) {
clip.onRelease = (clip.onReleaseOutside = function () {
mx.utils.Delegate.create(scope, func).apply(scope, args);
this.gotoAndPlay("release");
});
clip.onPress = function () {
this.gotoAndPlay("press");
};
clip.onRollOver = function () {
this.gotoAndPlay("over");
};
clip.onRollOut = function () {
this.gotoAndPlay("out");
};
var _local3 = (clip.buttonProperties = {});
_local3.scope = scope;
_local3.func = func;
_local3.args = args;
}
static function enable(clip) {
var _local1 = clip.buttonProperties;
create(clip, _local1.scope, _local1.func, _local1.args);
clip.gotoAndStop(1);
}
static function disable(clip, removePress) {
delete clip.onRelease;
delete clip.onRollOver;
delete clip.onRollOut;
if (removePress) {
delete clip.onPress;
delete clip.onRelease;
delete clip.onReleaseOutside;
}
clip.gotoAndPlay("disable");
}
}
Symbol 386 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 265
gotoAndPlay ("on");
Symbol 124 Button
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut, dragOut) {
gotoAndPlay ("fade");
}
on (release) {
_global.trackSite("click", "view_soap");
getURL ("http://www.soap.com.au", "_blank");
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 11
stop();
Symbol 195 MovieClip Frame 44
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 9
gotoAndPlay ("on");
Symbol 207 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 7
stop();
Symbol 225 MovieClip Frame 16
stop();
Symbol 225 MovieClip Frame 25
stop();
Symbol 225 MovieClip Frame 35
gotoAndPlay ("warning");
Symbol 226 MovieClip Frame 1
chris.AS2.MovieButton.create(bottle, _root, _root.drinkBottle);
Symbol 228 MovieClip Frame 1
_visible = false;
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 347
gotoAndPlay ("on");
Symbol 269 MovieClip Frame 10
stop();
Symbol 270 MovieClip Frame 9
stop();
Symbol 272 Button
on (release) {
this.play();
}
Symbol 274 MovieClip Frame 32
stop();
Symbol 274 MovieClip Frame 85
stop();
_parent.navigate("game");
Symbol 293 Button
on (release) {
this.play();
}
Symbol 294 MovieClip Frame 30
stop();
Symbol 294 MovieClip Frame 83
stop();
_parent.navigate("instructions");
Symbol 301 MovieClip Frame 55
function navigate(frame) {
navFrame = frame;
gotoAndPlay ("out");
}
stop();
var navFrame = "";
Symbol 301 MovieClip Frame 60
if (navFrame != "game") {
_root.bg.brightnessTo(-70, 0, "easeOutQuad");
_root.nav.navigate("defaultIn", "", "navIn");
}
_parent.navigate(navFrame);
Symbol 307 MovieClip Frame 1
stop();
_root.meters = this;
_root.objects = this;
_root.effects = this;
_root.game.difficulty = 50;
var flipping = false;
var steak = new Food(154, 280, "steak");
onEnterFrame = function () {
steak.control();
if ((steak.__get__burn() > 0.8) && (!flipping)) {
flipping = true;
gotoAndPlay ("spatula");
}
};
Symbol 307 MovieClip Frame 23
spatula.gotoAndPlay("on");
steak.flip();
steak.meter.removeMovieClip();
Symbol 307 MovieClip Frame 85
onEnterFrame = null;
Symbol 307 MovieClip Frame 160
steak.destroy();
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 5
stop();
Symbol 318 Button
on (release) {
_parent.navigate("intro");
}
Symbol 324 MovieClip Frame 2
steak.gotoAndPlay("burn");
Symbol 324 MovieClip Frame 113
stop();
Symbol 326 MovieClip Frame 1
var percent = 0;
onEnterFrame = function () {
percent = percent + 0.5;
meter.warning.mask._yscale = percent;
if (percent > 70) {
if (meter.warning._currentframe == 1) {
meter.warning.gotoAndPlay("on");
bottle.gotoAndPlay("warning");
chefTemp.gotoAndPlay("on");
}
if (percent > 90) {
meter.warning.gotoAndStop("off");
chefTemp.gotoAndStop("off");
bottle.gotoAndPlay("press");
percent = 0;
}
}
};
Symbol 328 MovieClip Frame 1
function navigate(a) {
spatula.steak.destroy();
prev._visible = (next._visible = true);
gotoAndStop(_currentframe + a);
}
stop();
chris.AS2.MovieButton.create(prev, this, navigate, [-1]);
chris.AS2.MovieButton.create(next, this, navigate, [1]);
prev._visible = false;
Symbol 328 MovieClip Frame 3
next._visible = false;
chris.AS2.MovieButton.create(playGame, _root.nav, _root.nav.navigate, ["defaultOut", "game", "navOut"]);
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 6
stop();
Symbol 348 MovieClip Frame 1
function getFrame(s) {
if (_root.game.smoke >= _root.game.maxSmoke) {
return("drinkMore");
}
if (s >= 1600) {
return("good3");
}
if (s >= 1300) {
return("good2");
}
if (s >= 900) {
return("good1");
}
if (s < 300) {
return("bad1");
}
if (s < 600) {
return("bad2");
}
if (s < 900) {
return("bad3");
}
}
stop();
gotoAndStop(getFrame(_root.game.score));
scoreText.text = "SCORE: " + _root.game.score;
chris.AS2.MovieButton.create(submit, _parent, _parent.navigate, ["submit"]);
chris.AS2.MovieButton.create(playAgain, _root.nav, _root.nav.navigate, ["navOut", "game", "defaultOut"]);
Symbol 349 MovieClip Frame 1
function navigate(frame) {
_root.soundOb.stopAll();
gotoAndPlay(frame);
}
Symbol 349 MovieClip Frame 2
_root.topNav.gotoAndStop("off");
Symbol 349 MovieClip Frame 14
stop();
Symbol 349 MovieClip Frame 27
stop();
Symbol 349 MovieClip Frame 37
stop();
Symbol 349 MovieClip Frame 48
stop();
_root.nav.navigate("gameIn", "", "navIn");
_root.newGame();
Symbol 349 MovieClip Frame 58
stop();
Symbol 349 MovieClip Frame 68
stop();
Symbol 349 MovieClip Frame 78
stop();
Symbol 351 Button
on (release) {
_root.reset();
_root.mainMenu.gotoAndStop("game");
_root.newGame();
}
Symbol 352 Button
on (release) {
_root.reset();
_parent.navigate("navOut", "intro", "gameOut");
}
Symbol 353 Button
on (release) {
getURL ("http://www.lipton.com.au/bringlifetoyourbbq/");
}
Symbol 356 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 1
function navigate(menuFrame) {
_parent.navigate("defaultOut", menuFrame, "navOut");
}
chris.AS2.MovieButton.create(playGame, this, navigate, ["game"]);
chris.AS2.MovieButton.create(mainMenu, this, navigate, ["intro"]);
Symbol 366 MovieClip Frame 1
function navigate(f, m, outFrame) {
gotoAndPlay(outFrame);
inFrame = f;
menuFrame = m;
}
stop();
var inFrame = "";
var menuFrame = "";
Symbol 366 MovieClip Frame 10
stop();
Symbol 366 MovieClip Frame 20
navigate("", menuFrame, inFrame);
Symbol 366 MovieClip Frame 30
stop();
Symbol 366 MovieClip Frame 39
navigate("", menuFrame, inFrame);
Symbol 366 MovieClip Frame 55
gotoAndStop ("off");
_root.mainMenu.navigate(menuFrame);
Symbol 366 MovieClip Frame 69
navigate("", "", inFrame);