Frame 1
stop();
loading.onEnterFrame = function () {
Load = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.loadMC.gotoAndStop(Load);
if (Load == 100) {
this.play();
delete this.onEnterFrame;
}
};
GamesList.as2.GamesListAPIAS2.config("Restaurant-Business", "FreeGamesList");
Frame 5
function HomePage() {
OneGame = false;
GamePause = false;
gotoAndStop ("HomeFrame");
HomePic.PlayOn.onRelease = NewGame;
HomePic.MoreGamesOn.onRelease = MoreGameOK;
HomePic.Free.onRelease = FreeURL;
HomePic.HowToPlay.onRelease = HelpPage;
}
function HelpPage() {
gotoAndStop ("HelpFrame");
HelpPic.Back.onRelease = HomePage;
}
function MoreGameOK() {
getURL ("http://www.gameslist.com/", "_blank");
}
function FreeURL() {
getURL ("http://www.gameslist.com/freegames", "_blank");
}
function URLInit() {
RoleURL = GamePic.Role;
RoleURL.Type = "Waiter";
RoleURL.Speed = 10;
RoleURL.AllRoleRoad = [];
RoleURL.XYIng = null;
RoleURL.a.gotoAndStop(1);
RoleURL.a.b.gotoAndStop(1);
GamePic.Clean.swapDepths(1000);
NextMoneyLevel = 0;
}
function InitVisibleReady() {
var _local1 = 0;
while (_local1 < 30) {
var _local2 = GamePic["xy" + _local1];
_local2._visible = false;
_local1++;
}
GamePic.NotRoad._visible = false;
NewWindowsPage("Ready");
}
function NewWindowsPage(Type) {
WindowsPic.gotoAndStop(Type);
WindowsPic._visible = true;
if (Type == "Pause") {
GamePause = true;
WindowsPic.Continue.onRelease = ContinueGame;
WindowsPic.MenuOn.onRelease = HomePage;
} else if (Type == "Exit") {
WindowsPic._visible = false;
} else if (Type == "NextLevel") {
GamesList.as2.GamesListAPIAS2.GenerateScoreID();
GamePause = true;
WindowsPic.MoreGamesOn.onRelease = MoreGameOK;
WindowsPic.Continue.onRelease = function () {
NextLevelReady();
ContinueGame();
};
} else if (Type == "GameOver") {
GamePause = true;
WindowsPic.MenuOn.onRelease = HomePage;
WindowsPic.MoreGamesOn.onRelease = MoreGameOK;
GamesList.as2.GamesListAPIAS2.GenerateScoreID();
} else if (Type == "Ready") {
GamePause = true;
WindowsPic.Score.text = NextMoney;
WindowsPic.Continue.onRelease = function () {
ContinueGame();
};
}
}
function ContinueGame() {
GamePause = false;
NewWindowsPage("Exit");
}
function DelFoodClub(Type) {
trace("Del:" + Type);
var _local1 = 0;
while (_local1 < FoodTypeClub.length) {
var _local2 = FoodTypeClub[_local1];
if (_local2 == Type) {
FoodTypeClub.splice(_local1, 1);
break;
}
_local1++;
}
InitFoodClub();
}
function InitFoodClub() {
var _local3 = 0;
while (_local3 < 4) {
var _local2 = GamePic.FoodClub["Food" + _local3];
var _local4 = FoodTypeClub[_local3];
_local2.Num = _local4;
_local2.gotoAndStop(_local2.Num);
_local2.Type = "Food";
_local2.ActionIng = "Food";
_local2.onRollOver = function () {
NewGlow(this, 100);
};
_local2.onRelease = function () {
if (!RoleURL.Food) {
RoleFoodAction(this);
RoleURL.XYUrl = this;
}
};
if (FoodTypeClub[_local3]) {
_local2._visible = true;
} else {
_local2._visible = false;
}
_local3++;
}
GamePic.DelFood.onRelease = function () {
RoleDelAction();
};
}
function RoleActionReady(Mc) {
if (RoleURL.XYIng != Mc._name) {
if (Mc._name == "Table0") {
if (RoleURL.XYIng == null) {
RoleURL.AllRoleRoad.push({x:GamePic.xy1._x, y:GamePic.xy1._y});
}
if (((RoleURL.XYIng == "Table1") or (RoleURL.XYIng == "Food")) or (RoleURL.XYIng == "DelFood")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy1._x, y:GamePic.xy1._y});
}
if (RoleURL.XYIng == "Table2") {
RoleURL.AllRoleRoad.push({x:GamePic.xy7._x, y:GamePic.xy7._y}, {x:GamePic.xy0._x, y:GamePic.xy0._y}, {x:GamePic.xy1._x, y:GamePic.xy1._y});
}
if (RoleURL.XYIng == "Table3") {
RoleURL.AllRoleRoad.push({x:GamePic.xy7._x, y:GamePic.xy7._y}, {x:GamePic.xy0._x, y:GamePic.xy0._y}, {x:GamePic.xy1._x, y:GamePic.xy1._y});
}
}
if (Mc._name == "Table1") {
if ((((RoleURL.XYIng == null) or (RoleURL.XYIng == "Table0")) or (RoleURL.XYIng == "Food")) or (RoleURL.XYIng == "DelFood")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy2._x, y:GamePic.xy2._y});
}
if (RoleURL.XYIng == "Table2") {
RoleURL.AllRoleRoad.push({x:GamePic.xy4._x, y:GamePic.xy4._y}, {x:GamePic.xy3._x, y:GamePic.xy3._y}, {x:GamePic.xy2._x, y:GamePic.xy2._y});
}
if (RoleURL.XYIng == "Table3") {
RoleURL.AllRoleRoad.push({x:GamePic.xy4._x, y:GamePic.xy4._y}, {x:GamePic.xy3._x, y:GamePic.xy3._y}, {x:GamePic.xy2._x, y:GamePic.xy2._y});
}
}
if (Mc._name == "Table2") {
if ((RoleURL.XYIng == null) or (RoleURL.XYIng == "Table0")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy0._x, y:GamePic.xy0._y}, {x:GamePic.xy7._x, y:GamePic.xy7._y}, {x:GamePic.xy6._x, y:GamePic.xy6._y});
}
if (((RoleURL.XYIng == "Table1") or (RoleURL.XYIng == "Food")) or (RoleURL.XYIng == "DelFood")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy0._x, y:GamePic.xy0._y}, {x:GamePic.xy7._x, y:GamePic.xy7._y}, {x:GamePic.xy6._x, y:GamePic.xy6._y});
}
if (RoleURL.XYIng == "Table3") {
RoleURL.AllRoleRoad.push({x:GamePic.xy6._x, y:GamePic.xy6._y});
}
}
if (Mc._name == "Table3") {
if ((RoleURL.XYIng == null) or (RoleURL.XYIng == "Table0")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy3._x, y:GamePic.xy3._y}, {x:GamePic.xy4._x, y:GamePic.xy4._y}, {x:GamePic.xy5._x, y:GamePic.xy5._y});
}
if (((RoleURL.XYIng == "Table1") or (RoleURL.XYIng == "Food")) or (RoleURL.XYIng == "DelFood")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy3._x, y:GamePic.xy3._y}, {x:GamePic.xy4._x, y:GamePic.xy4._y}, {x:GamePic.xy5._x, y:GamePic.xy5._y});
}
if (RoleURL.XYIng == "Table2") {
RoleURL.AllRoleRoad.push({x:GamePic.xy5._x, y:GamePic.xy5._y});
}
}
}
RoleURL.ActionIng = Mc.ActionIng;
RoleURL.XYIng = Mc._name;
RoleURL.XYUrl = Mc;
McGotoObj(RoleURL);
txt.text = "XYIng:" + Mc._name;
}
function RoleFoodAction(Mc) {
if (Mc.Type == "Food") {
if ((RoleURL.XYIng == null) or (RoleURL.XYIng == "Table0")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy20._x, y:GamePic.xy20._y});
}
if (((RoleURL.XYIng == "Table1") or (RoleURL.XYIng == "Food")) or (RoleURL.XYIng == "DelFood")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy20._x, y:GamePic.xy20._y});
}
if (RoleURL.XYIng == "Table2") {
RoleURL.AllRoleRoad.push({x:GamePic.xy7._x, y:GamePic.xy7._y}, {x:GamePic.xy0._x, y:GamePic.xy0._y}, {x:GamePic.xy20._x, y:GamePic.xy20._y});
}
if (RoleURL.XYIng == "Table3") {
RoleURL.AllRoleRoad.push({x:GamePic.xy4._x, y:GamePic.xy4._y}, {x:GamePic.xy3._x, y:GamePic.xy3._y}, {x:GamePic.xy20._x, y:GamePic.xy20._y});
}
RoleURL.Food = Mc.Num;
RoleURL.XYIng = "Food";
RoleURL.ActionIng = Mc.ActionIng;
}
McGotoObj(RoleURL);
}
function RoleDelAction() {
if ((RoleURL.XYIng == null) or (RoleURL.XYIng == "Table0")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy3._x, y:GamePic.xy3._y});
}
if (((RoleURL.XYIng == "Table1") or (RoleURL.XYIng == "Food")) or (RoleURL.XYIng == "DelFood")) {
RoleURL.AllRoleRoad.push({x:GamePic.xy3._x, y:GamePic.xy3._y});
}
if (RoleURL.XYIng == "Table2") {
RoleURL.AllRoleRoad.push({x:GamePic.xy7._x, y:GamePic.xy7._y}, {x:GamePic.xy0._x, y:GamePic.xy0._y}, {x:GamePic.xy3._x, y:GamePic.xy3._y});
}
if (RoleURL.XYIng == "Table3") {
RoleURL.AllRoleRoad.push({x:GamePic.xy4._x, y:GamePic.xy4._y}, {x:GamePic.xy3._x, y:GamePic.xy3._y});
}
RoleURL.XYIng = "DelFood";
RoleURL.DelFood = true;
McGotoObj(RoleURL);
}
function ReadyTween(Type, Mc, Min, Max) {
switch (Type) {
case "X" :
var _local7 = new mx.transitions.Tween(Mc, "_x", Effect, Min, Max, 1, true);
break;
case "Y" :
Effect = mx.transitions.easing.Elastic.easeInOut;
var _local6 = new mx.transitions.Tween(Mc, "_y", Effect, Min, Max, 1, true);
break;
case "XY" :
_local7 = new mx.transitions.Tween(Mc, "_x", Effect, Min, Max, 1, true);
_local6 = new mx.transitions.Tween(Mc, "_y", Effect, Min, Max, 1, true);
break;
case "WH" :
Effect = mx.transitions.easing.Regular.easeInOut;
var _local4 = new mx.transitions.Tween(Mc, "_xscale", Effect, Min, Max, 0.5, true);
var _local5 = new mx.transitions.Tween(Mc, "_yscale", Effect, Min, Max, 0.5, true);
}
_local4.onMotionChanged = function () {
};
_local4.onMotionFinished = function () {
};
}
function XYZ(Mc, W, H, X, Y) {
Effect = mx.transitions.easing.Regular.easeInOut;
Wx = new mx.transitions.Tween(Mc, "_width", Effect, Mc._width, W, 1, true);
Hx = new mx.transitions.Tween(Mc, "_height", Effect, Mc._height, H, 1, true);
Xx = new mx.transitions.Tween(Mc, "_x", Effect, Mc._x, X, 1, true);
Yx = new mx.transitions.Tween(Mc, "_y", Effect, Mc._y, Y, 1, true);
}
function PrintPicReady() {
BackMenuButton._visible = false;
var _local3 = this.createEmptyMovieClip("mc", 0);
var _local4 = new flash.display.BitmapData(700, 500);
_local3.attachBitmap(_local4, 0);
_local4.draw(_root);
printAsBitmap (_local3, "bmovie");
BackMenuButton._visible = true;
_local3.onPress = function () {
removeMovieClip(this);
};
}
function NewBlur(Obj, Num) {
var _local1 = new flash.filters.BlurFilter(10, 10, 2);
_local1.blurX = Num;
_local1.blurY = Num;
Obj.filters = new Array(_local1);
}
function NewGlow(Mc, Alpha) {
var _local2 = new flash.filters.GlowFilter(RGB, Alpha, 15, 15, 1.8, 1, false);
Mc.filters = new Array(_local2);
Mc.onRollOut = function () {
if (BuyerSelectReady != Mc) {
this.filters = null;
}
};
Mc.onReleaseOutside = function () {
if (BuyerSelectReady != Mc) {
this.filters = null;
}
};
}
function NewGame() {
gotoAndStop ("GameFrame");
URLInit();
NewMoney();
InitTableClub();
InitFoodClub();
InitVisibleReady();
InitRoleStart();
BuyerTimeReady();
MenuInit();
NewGood();
NewTime();
}
function NewTime() {
function TimeAction() {
if (!GamePause) {
Time--;
var _local2 = int(Time / 60);
var _local1 = Time - (int(Time / 60) * 60);
if (_local1 > 9) {
} else {
_local1 = "0" + _local1;
}
SXPic.Time.text = (("00:0" + _local2) + ":") + _local1;
if (Time == 0) {
NewWindowsPage("GameOver");
clearInterval(T);
}
}
}
clearInterval(T);
Time = TimeMax;
T = setInterval(TimeAction, 1000);
}
function NewMoney() {
trace("\u65B0\u7684\u94B1\u6570!");
var _local1 = 300;
var _local2 = (_local1 * Level) + ((_local1 * Level) * 0.4);
NextMoney = _local2 + ((_local2 * NextMoneyLevel) / 12);
if (Money >= NextMoney) {
NewWindowsPage("NextLevel");
}
SXPic.Money.text = (Math.floor(Money) + "/") + Math.floor(NextMoney);
}
function NewGood() {
SXPic.Good.text = Math.floor(Good);
if (Good <= 0) {
NewWindowsPage("GameOver");
}
}
function NextLevelReady() {
Level++;
Time = TimeMax;
NewLevel();
NewGood();
NewMoney();
}
function NewLevel() {
SXPic.Level.text = Level;
}
function MenuInit() {
SXPic.Pause.onRelease = function () {
NewWindowsPage("Pause");
};
Mc.MoneyTable.MoenyIoc.gotoAndStop(Mc.MoneyTable.MoenyIoc._currentframe);
}
function InitTable(Mc) {
Mc.a.gotoAndStop("Not");
Mc.a.aMsg._visible = false;
Mc.ActionIng = "Table";
Mc.BuyerOK = false;
Mc.GetFood = false;
}
function InitTableClub() {
var _local3 = 0;
while (_local3 < 4) {
var _local2 = GamePic["Table" + _local3];
InitTable(_local2);
_local2.a.b._visible = false;
_local2.onRelease = function () {
trace("this.GetFood:" + this.GetFood);
if (!this.GetFood) {
if (!this.BuyerOK) {
if (BuyerSelectReady and (!BuyerSelectReady.GotoTabelReady)) {
BuyerActionReady(this);
} else if (RoleURL.XYUrl != this) {
RoleActionReady(this);
}
} else if (RoleURL.XYUrl != this) {
RoleActionReady(this);
}
}
};
_local2.onRollOver = function () {
NewGlow(this, 100);
};
_local2.onEnterFrame = function () {
this.swapDepths(int(Math.abs(this._y)));
};
_local3++;
}
}
function BuyerTimeReady() {
clearInterval(BuyerTimeURL);
BuyerTimeURL = setInterval(BuyerReady, BuyerTimeNumber);
GamePic.Door.gotoAndPlay(3);
}
function DelBuyer(Mc) {
DelBuyerSelectReady(Mc);
removeMovieClip(Mc);
var _local1 = WaitByerClub[0];
if (_local1) {
trace("\u7B49\u5F85\u7684\u987E\u5BA2\u4E0A\u524D!: " + _local1);
SortTableOK(_local1, "OutBuyer");
}
}
function DelBuyerSelectReady(Mc) {
if (Mc == BuyerSelectReady) {
BuyerSelectReady = null;
}
}
function BuyerGotoTable(Mc) {
var _local1 = 0;
while (_local1 < WaitByerClub.length) {
var _local2 = WaitByerClub[_local1];
if (_local2 == Mc) {
WaitByerClub.splice(_local1, 1);
}
_local1++;
}
SortBuyerReady();
}
function SortBuyerReady() {
var _local1 = 0;
while (_local1 < WaitByerClub.length) {
var _local3 = WaitByerClub[_local1];
var _local2 = GamePic["xy1" + (_local1 + 1)];
_local3.AllRoleRoad.push({x:_local2._x, y:_local2._y});
McGotoObj(_local3);
_local1++;
}
}
function SortTableOK(Mc, Type) {
var _local1 = 0;
while (_local1 < 4) {
var _local2 = GamePic["Table" + _local1];
if (!_local2.BuyerOK) {
BuyerSelectReady = Mc;
BuyerActionReady(_local2);
return(undefined);
}
_local1++;
}
if (Type == "NewBuyer") {
var _local4 = GamePic["xy1" + BuyerComReadyNumber];
Mc.AllRoleRoad.push({x:GamePic.xy7._x, y:GamePic.xy7._y}, {x:_local4._x, y:_local4._y});
WaitByerClub.push(Mc);
Mc.NewBuyer = true;
McGotoObj(Mc);
}
}
function BuyerReady() {
if (!GamePause) {
if (BuyerComReadyNumber < 3) {
var _local1 = GamePic.attachMovie("BuyerId", "BuyerId" + BuyerIDNumber, BuyerIDNumber++);
_local1._x = GamePic.xy10._x;
_local1._y = GamePic.xy10._y;
_local1.Love._visible = false;
_local1.Speed = 10;
_local1.AllRoleRoad = [];
_local1.Num = int(random(5) + 1);
_local1.a.gotoAndStop(_local1.Num);
_local1.Type = "Buyer";
BuyerComReadyNumber++;
SortTableOK(_local1, "NewBuyer");
}
}
}
function BuyerOut(Obj) {
if (Obj.Food) {
DelFoodClub(Obj.Food);
}
var _local1 = GamePic.attachMovie("BuyerId", "BuyerId" + BuyerIDNumber, BuyerIDNumber++);
_local1._x = Obj._x;
_local1._y = Obj._y;
_local1.Speed = 10;
_local1.AllRoleRoad = [];
_local1.a.gotoAndStop(Obj.Num);
if (Obj.MoodType == "Happy") {
_local1.AllRoleRoad.push({x:GamePic.xy0._x, y:GamePic.xy0._y}, {x:GamePic.xy10._x, y:GamePic.xy10._y});
} else if (Obj.MoodType == "Anger") {
_local1.AllRoleRoad.push({x:GamePic.xy10._x, y:GamePic.xy10._y});
}
_local1.Type = "Buyer";
_local1.DelOK = true;
_local1.Love._visible = false;
McGotoObj(_local1);
}
function BuyerEventReady(Mc) {
Mc.onRollOver = function () {
NewGlow(Mc, 100);
};
Mc.onRelease = function () {
if (BuyerSelectReady != this) {
BuyerSelectReady.filters = null;
}
BuyerSelectReady = this;
};
if (Mc.NewBuyer) {
Mc.NewBuyer = false;
BuyerWaitMoodReady(Mc.Love);
}
if (Mc.TableReady) {
Mc.TableReady.a.gotoAndStop(Mc.Num);
Mc.TableReady.a.b._visible = false;
Mc.TableReady.Num = Mc.Num;
Mc.TableReady.a.Food0._visible = false;
Mc.TableReady.a.a.gotoAndStop(1);
Mc.TableReady.a.a.a.gotoAndStop(1);
Mc.TableReady.a.aMsg._visible = true;
Mc.TableReady.a.aMsg.Love.gotoAndStop(5);
var _local2 = int(random(10) + 1);
Mc.TableReady.a.aMsg.Food.gotoAndStop(_local2);
Mc.TableReady.Food = _local2;
FoodTypeClub.push(_local2);
InitFoodClub();
Mc.TableReady.BuyerOK = true;
BuyerMoodReady(Mc.TableReady);
BuyerSelectReady = null;
removeMovieClip(Mc);
}
}
function BuyerWaitMoodReady(Mc) {
Mc.Mood = 6;
Mc.GetFood = false;
Mc._visible = true;
Mc.onEnterFrame = function () {
if (this.Mood > 0) {
this.Mood = this.Mood - 0.02;
} else {
Good = Good - addGood;
NewGood();
this._parent.MoodType = "Anger";
BuyerOut(this._parent);
BuyerComReadyNumber--;
BuyerGotoTable(this._parent);
DelBuyerSelectReady(this._parent);
removeMovieClip(this._parent);
delete this.onEnterFrame;
}
this.gotoAndStop(int(this.Mood));
};
}
function BuyerMoodReady(Mc) {
Mc.Mood = 6;
Mc.GetFood = false;
Mc.onEnterFrame = function () {
if (this.Mood > 0) {
this.Mood = this.Mood - 0.01;
} else {
Good = Good - addGood;
NewGood();
this.MoodType = "Anger";
BuyerOut(this);
InitTable(this);
delete this.onEnterFrame;
}
this.a.aMsg.Love.gotoAndStop(int(this.Mood));
};
}
function BuyerActionReady(Mc) {
BuyerSelectReady.Love._visible = false;
delete BuyerSelectReady.Love.onEnterFrame;
if (Mc._name == "Table0") {
BuyerSelectReady.AllRoleRoad.push({x:GamePic.xy21._x, y:GamePic.xy21._y});
} else if (Mc._name == "Table1") {
BuyerSelectReady.AllRoleRoad.push({x:GamePic.xy22._x, y:GamePic.xy22._y});
} else if (Mc._name == "Table2") {
BuyerSelectReady.AllRoleRoad.push({x:GamePic.xy6._x, y:GamePic.xy6._y});
} else if (Mc._name == "Table3") {
BuyerSelectReady.AllRoleRoad.push({x:GamePic.xy5._x, y:GamePic.xy5._y});
}
BuyerSelectReady.GotoTabelReady = true;
Mc.BuyerOK = true;
BuyerComReadyNumber--;
BuyerGotoTable(BuyerSelectReady);
McGotoObj(BuyerSelectReady);
BuyerSelectReady.TableReady = Mc;
}
function ByerAddFoodOK(Mc) {
trace("\u987E\u5BA2\u5F97\u5230\u98DF\u7269\u4E86\uFF01");
Mc.a.aMsg._visible = false;
Mc.a.a.gotoAndStop(2);
Mc.a.a.a.play();
Mc.TimeOut = 50;
Mc.GetFood = true;
Mc.onEnterFrame = function () {
if (!GamePause) {
if (this.TimeOut > 0) {
this.TimeOut--;
} else {
Money = Money + Number(addMoney * this.Mood);
Money = int(Money);
Good = Good + int(this.Mood);
NewMoney();
NewGood();
this.MoodType = "Happy";
BuyerOut(this);
InitTable(this);
delete this.onEnterFrame;
}
}
};
}
function InitRoleStart() {
RoleURL.a.gotoAndStop(1);
RoleURL.a.b.gotoAndStop(1);
RoleURL.a.b.a.gotoAndStop(1);
if ((RoleURL.XYUrl._name == "Table2") || (RoleURL.XYUrl._name == "Table3")) {
RoleURL.a.b.gotoAndStop(3);
RoleURL.a.b.a.gotoAndStop(1);
}
RoleURL.XYUrl = null;
RoleURL.DelFood = false;
RoleURL.Food = null;
for (var _local2 in RoleURL.a.b) {
var _local1 = RoleURL.a.b[_local2];
_local1.gotoAndStop(1);
trace(_local1);
}
}
function NewDetph() {
}
function RoleReadLength(Mc) {
Mc.AllRoleRoad.shift();
if (Mc.AllRoleRoad.length > 0) {
McGotoObj(Mc);
} else {
if ((Mc.XYIng == "Table0") or (Mc.XYIng == "Table1")) {
Mc.a.b.gotoAndStop(1);
RoleURL.a.b.a.gotoAndStop(1);
} else {
Mc.a.b.gotoAndStop(3);
RoleURL.a.b.a.gotoAndStop(1);
}
for (var _local3 in Mc.a.b) {
var _local2 = Mc.a.b[_local3];
_local2.gotoAndStop(1);
}
if (Mc.Type == "Buyer") {
if (Mc.DelOK) {
DelBuyer(Mc);
} else {
BuyerEventReady(Mc);
}
}
if (Mc.Type == "Waiter") {
if (Mc.Food) {
Mc.a.gotoAndStop(2);
Mc.a.b.gotoAndStop(2);
Mc.a.b.a.gotoAndStop(1);
Mc.a.b.Food.gotoAndStop(Mc.Food);
}
trace((((("ActionIng:" + Mc.ActionIng) + " Mc.Food:") + Mc.Food) + " Mc.XYUrl.Food:") + Mc.XYUrl.Food);
if (Mc.ActionIng == "Table") {
if (Mc.XYUrl.BuyerOK) {
if (Mc.Food == Mc.XYUrl.Food) {
Mc.XYUrl.a.Food0._visible = true;
Mc.XYUrl.a.Food0.gotoAndStop(Mc.Food);
ByerAddFoodOK(Mc.XYUrl);
InitRoleStart();
}
}
}
if (Mc.DelFood) {
InitRoleStart();
}
}
}
}
function McGotoObj(Mc) {
var Obj = Mc.AllRoleRoad[0];
for (var _local4 in Mc.a.b) {
var _local3 = Mc.a.b[_local4];
_local3.play();
}
if (Mc.Type == "Buyer") {
if (Obj.y == 350.3) {
GamePic.MoneyTable.MoenyIoc.gotoAndPlay(1);
}
}
Mc.Angle = Math.atan2(Obj.y - Mc._y, Obj.x - Mc._x);
if (Mc._y > Obj.y) {
if (Mc._x > Obj.x) {
Mc.a.b.gotoAndStop(4);
} else {
Mc.a.b.gotoAndStop(3);
}
} else if (Mc._y < Obj.y) {
if (Mc._x > Obj.x) {
Mc.a.b.gotoAndStop(1);
Mc.a.b.Food.gotoAndStop(Mc.Food);
} else {
Mc.a.b.gotoAndStop(2);
Mc.a.b.Food.gotoAndStop(Mc.Food);
}
}
Mc.onEnterFrame = function () {
if (!GamePause) {
this._x = this._x + ((this.Speed * Math.cos(this.Angle)) * 0.8);
this._y = this._y + ((this.Speed * Math.sin(this.Angle)) * 0.8);
if (((this._x - 10) < Obj.x) and ((this._x + 10) > Obj.x)) {
if (((this._y - 10) < Obj.y) and ((this._y + 10) > Obj.y)) {
delete this.onEnterFrame;
RoleReadLength(this);
}
}
this.swapDepths(int(Math.abs(this._y)));
}
};
}
stop();
var OneGame;
var GamePause;
var Money = 0;
var addMoney = 10;
var NextMoney = 500;
var NextMoneyLevel = 0;
var Level = 1;
var Good = 50;
var addGood = 5;
var Time = 0;
var TimeMax = 180;
var RoleURL;
var AllRoleRoad = new Array();
var FoodTypeClub = new Array();
var BuyerComReady = new Array();
var WaitByerClub = new Array();
var BuyerTimeURL;
var BuyerTimeNumber = 3000;
var BuyerIDNumber = 10000;
var BuyerComReadyNumber = 0;
var BuyerSelectReady;
HomePage();
var Effect = mx.transitions.easing.Regular.easeInOut;
var TweenX;
var TweenY;
var TweenWidth;
var TweenHeight;
var TweenXscale;
var TweenYscale;
var RGB = "0xFF0000";
var T;
Symbol 12 MovieClip Frame 1
_root.stop(this);
Symbol 12 MovieClip Frame 100
_root.stop(this);
Symbol 42 Button
on (release) {
getURL ("http://www.gameslist.com", "_blank");
}
Symbol 47 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 12
stop();
Symbol 535 MovieClip [__Packages.GamesList.as2.GamesListAPIAS2] Frame 0
class GamesList.as2.GamesListAPIAS2
{
static var HighScore_GameName, HighScore_Pass, HighScore_ScoreID;
function GamesListAPIAS2 () {
}
static function config(gamename, pass) {
HighScore_GameName = gamename;
HighScore_Pass = pass;
}
static function GenerateScoreID() {
HighScore_ScoreID = new Date().getTime() + String(Math.floor(Math.random() * 9000) + 1000);
}
static function SubmitScore(score) {
trace("submitscore");
var _local1 = GamesList.as2.GamesListMD5AS2.calculate((HighScore_Pass + HighScore_ScoreID) + score);
var _local2 = (((((("http://www.gameslist.com/submitscore.php?game=" + HighScore_GameName) + "&scoreid=") + HighScore_ScoreID) + "&score=") + score) + "&key=") + _local1;
getURL (_local2, "_blank");
}
}
Symbol 536 MovieClip [__Packages.GamesList.as2.GamesListMD5AS2] Frame 0
class GamesList.as2.GamesListMD5AS2
{
function GamesListMD5AS2 () {
}
static function calculate(src) {
return(hex_md5(src));
}
static function hex_md5(src) {
return(binl2hex(core_md5(str2binl(src), src.length * 8)));
}
static function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var _local4 = 1732584193 /* 0x67452301 */;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var _local5 = 0;
while (_local5 < x.length) {
var _local10 = _local4;
var _local9 = _local3;
var _local8 = _local2;
var _local7 = _local1;
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 0], 7, -680876936);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 3], 22, -1044525330);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 4], 7, -176418897);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 7], 22, -45705983);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 8], 7, 1770035416);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 11], 22, -1990404162);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 12], 7, 1804603682);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 15], 22, 1236535329);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 1], 5, -165796510);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 0], 20, -373897302);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 5], 5, -701558691);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 4], 20, -405537848);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 9], 5, 568446438);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 8], 20, 1163531501);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 13], 5, -1444681467);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 12], 20, -1926607734);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 5], 4, -378558);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 14], 23, -35309556);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 1], 4, -1530992060);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 10], 23, -1094730640);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 13], 4, 681279174);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 6], 23, 76029189);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 9], 4, -640364487);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 2], 23, -995338651);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 0], 6, -198630844);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 5], 21, -57434055);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 12], 6, 1700485571);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 1], 21, -2054922799);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 8], 6, 1873313359);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 13], 21, 1309151649);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 4], 6, -145523070);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 9], 21, -343485551);
_local4 = safe_add(_local4, _local10);
_local3 = safe_add(_local3, _local9);
_local2 = safe_add(_local2, _local8);
_local1 = safe_add(_local1, _local7);
_local5 = _local5 + 16;
}
return(new Array(_local4, _local3, _local2, _local1));
}
static function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
static function md5_ff(a, b, c, d, x, s, t) {
return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
static function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
static function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
static function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
static function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
static function safe_add(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
static function str2binl(str) {
var _local3 = new Array();
var _local4 = 255;
var _local1 = 0;
while (_local1 < (str.length * 8)) {
_local3[_local1 >> 5] = _local3[_local1 >> 5] | ((str.charCodeAt(_local1 / 8) & _local4) << (_local1 % 32));
_local1 = _local1 + 8;
}
return(_local3);
}
static function binl2hex(binarray) {
var _local4 = new String("");
var _local3 = new String("0123456789abcdef");
var _local1 = 0;
while (_local1 < (binarray.length * 4)) {
_local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(_local4);
}
}
Symbol 537 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 538 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 539 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 540 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.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 var version = "1.1.0.52";
}
Symbol 541 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
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 var version = "1.1.0.52";
}
Symbol 60 MovieClip Frame 81
stop();
Symbol 91 MovieClip Frame 29
stop();
Symbol 92 MovieClip Frame 59
Symbol 92 MovieClip Frame 120
_root.gotoAndStop(5);
Symbol 112 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
function FreeURL() {
getURL ("http://www.gameslist.com/", "_blank");
}
a.onRelease = FreeURL;
Symbol 252 MovieClip Frame 85
stop();
Symbol 258 MovieClip Frame 36
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
stop();
a.stop();
Symbol 334 MovieClip Frame 2
stop();
a.play();
Symbol 355 MovieClip Frame 1
stop();
a.stop();
Symbol 380 MovieClip Frame 1
stop();
a.stop();
Symbol 400 MovieClip Frame 1
stop();
a.stop();
Symbol 429 MovieClip Frame 1
stop();
a.stop();
Symbol 458 MovieClip Frame 1
gotoAndStop(random(5));
stop();
Symbol 485 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 1
function NewSound(OK) {
if (OK) {
this.onEnterFrame = function () {
if (s < 100) {
s = s + 5;
_root.sod.setVolume(s);
} else {
delete this.onEnterFrame;
}
};
} else {
this.onEnterFrame = function () {
if (s > 0) {
s = s - 5;
_root.sod.setVolume(s);
} else {
delete this.onEnterFrame;
}
};
}
}
stop();
var s = 100;
_root.sod = new Sound();
a.onRelease = function () {
if (this._currentframe == 1) {
this.gotoAndStop(2);
NewSound(false);
} else {
this.gotoAndStop(1);
NewSound(true);
}
};
Symbol 496 Button
on (release) {
getURL ("http://www.gameslist.com", "_blank");
}
Symbol 517 Button
on (release) {
GamesList.as2.GamesListAPIAS2.SubmitScore(lastscore.text);
}
Symbol 523 MovieClip Frame 1
a.useHandCursor = false;