Section 1
//001STARTGAME_391 (1_br3_gamesgames_0803_fla.001STARTGAME_391)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 001STARTGAME_391 extends MovieClip {
public function 001STARTGAME_391(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 2
//002HOWTOPLAY_393 (1_br3_gamesgames_0803_fla.002HOWTOPLAY_393)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 002HOWTOPLAY_393 extends MovieClip {
public function 002HOWTOPLAY_393(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 3
//003HIGHSCORES_395 (1_br3_gamesgames_0803_fla.003HIGHSCORES_395)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 003HIGHSCORES_395 extends MovieClip {
public function 003HIGHSCORES_395(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 4
//004MOREGAMES_360 (1_br3_gamesgames_0803_fla.004MOREGAMES_360)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 004MOREGAMES_360 extends MovieClip {
public function 004MOREGAMES_360(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 5
//006STORYMODE_370 (1_br3_gamesgames_0803_fla.006STORYMODE_370)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 006STORYMODE_370 extends MovieClip {
public function 006STORYMODE_370(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 6
//007CHALLENGMODE_366 (1_br3_gamesgames_0803_fla.007CHALLENGMODE_366)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 007CHALLENGMODE_366 extends MovieClip {
public function 007CHALLENGMODE_366(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 7
//007MORESKILLGAMESON_5 (1_br3_gamesgames_0803_fla.007MORESKILLGAMESON_5)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 007MORESKILLGAMESON_5 extends MovieClip {
public function 007MORESKILLGAMESON_5(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 8
//0093000_374 (1_br3_gamesgames_0803_fla.0093000_374)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 0093000_374 extends MovieClip {
public function 0093000_374(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 9
//010BACk_346 (1_br3_gamesgames_0803_fla.010BACk_346)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 010BACk_346 extends MovieClip {
public function 010BACk_346(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 10
//011CONTINUE_321 (1_br3_gamesgames_0803_fla.011CONTINUE_321)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 011CONTINUE_321 extends MovieClip {
public function 011CONTINUE_321(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17);
}
function frame10(){
gotoAndStop(language.language_nr);
}
function frame14(){
gotoAndStop(language.language_nr);
}
function frame12(){
gotoAndStop(language.language_nr);
}
function frame3(){
gotoAndStop(language.language_nr);
}
function frame6(){
gotoAndStop(language.language_nr);
}
function frame7(){
gotoAndStop(language.language_nr);
}
function frame1(){
gotoAndStop(language.language_nr);
}
function frame13(){
gotoAndStop(language.language_nr);
}
function frame17(){
gotoAndStop(language.language_nr);
}
function frame4(){
gotoAndStop(language.language_nr);
}
function frame5(){
gotoAndStop(language.language_nr);
}
function frame9(){
gotoAndStop(language.language_nr);
}
function frame16(){
gotoAndStop(language.language_nr);
}
function frame8(){
gotoAndStop(language.language_nr);
}
function frame2(){
gotoAndStop(language.language_nr);
}
function frame15(){
gotoAndStop(language.language_nr);
}
function frame11(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 11
//012India_432 (1_br3_gamesgames_0803_fla.012India_432)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 012India_432 extends MovieClip {
public function 012India_432(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 12
//013Italy_433 (1_br3_gamesgames_0803_fla.013Italy_433)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 013Italy_433 extends MovieClip {
public function 013Italy_433(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 13
//014WildWest_434 (1_br3_gamesgames_0803_fla.014WildWest_434)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 014WildWest_434 extends MovieClip {
public function 014WildWest_434(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 14
//015Japan_435 (1_br3_gamesgames_0803_fla.015Japan_435)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 015Japan_435 extends MovieClip {
public function 015Japan_435(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 15
//016China_436 (1_br3_gamesgames_0803_fla.016China_436)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 016China_436 extends MovieClip {
public function 016China_436(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 16
//017GAMEOVER_355 (1_br3_gamesgames_0803_fla.017GAMEOVER_355)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 017GAMEOVER_355 extends MovieClip {
public function 017GAMEOVER_355(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 17
//018YOURSCORE_353 (1_br3_gamesgames_0803_fla.018YOURSCORE_353)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 018YOURSCORE_353 extends MovieClip {
public function 018YOURSCORE_353(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 18
//019YOURNAME_354 (1_br3_gamesgames_0803_fla.019YOURNAME_354)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 019YOURNAME_354 extends MovieClip {
public function 019YOURNAME_354(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 19
//020SUBMITSCORE_357 (1_br3_gamesgames_0803_fla.020SUBMITSCORE_357)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 020SUBMITSCORE_357 extends MovieClip {
public function 020SUBMITSCORE_357(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 20
//021PLAYAGAIN_362 (1_br3_gamesgames_0803_fla.021PLAYAGAIN_362)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 021PLAYAGAIN_362 extends MovieClip {
public function 021PLAYAGAIN_362(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 21
//022WELLDONE_476 (1_br3_gamesgames_0803_fla.022WELLDONE_476)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 022WELLDONE_476 extends MovieClip {
public function 022WELLDONE_476(){
addFrameScript(0, frame1, 4, frame5, 8, frame9, 12, frame13, 15, frame16);
}
function frame16(){
gotoAndStop(language.language_nr);
}
function frame1(){
gotoAndStop(language.language_nr);
}
function frame13(){
gotoAndStop(language.language_nr);
}
function frame5(){
gotoAndStop(language.language_nr);
}
function frame9(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 22
//022WELLDONE_509 (1_br3_gamesgames_0803_fla.022WELLDONE_509)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 022WELLDONE_509 extends MovieClip {
public function 022WELLDONE_509(){
addFrameScript(0, frame1, 4, frame5, 8, frame9, 12, frame13, 15, frame16);
}
function frame16(){
gotoAndStop(language.language_nr);
}
function frame1(){
gotoAndStop(language.language_nr);
}
function frame13(){
gotoAndStop(language.language_nr);
}
function frame5(){
gotoAndStop(language.language_nr);
}
function frame9(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 23
//023CHALLENGLEVELS_343 (1_br3_gamesgames_0803_fla.023CHALLENGLEVELS_343)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 023CHALLENGLEVELS_343 extends MovieClip {
public function 023CHALLENGLEVELS_343(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 24
//024_311 (1_br3_gamesgames_0803_fla.024_311)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 024_311 extends MovieClip {
public function 024_311(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 25
//027_323 (1_br3_gamesgames_0803_fla.027_323)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 027_323 extends MovieClip {
public function 027_323(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 26
//031_324 (1_br3_gamesgames_0803_fla.031_324)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 031_324 extends MovieClip {
public function 031_324(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 27
//035_327 (1_br3_gamesgames_0803_fla.035_327)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 035_327 extends MovieClip {
public function 035_327(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 28
//038_330 (1_br3_gamesgames_0803_fla.038_330)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 038_330 extends MovieClip {
public function 038_330(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 29
//042_336 (1_br3_gamesgames_0803_fla.042_336)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 042_336 extends MovieClip {
public function 042_336(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 30
//045Phone_337 (1_br3_gamesgames_0803_fla.045Phone_337)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 045Phone_337 extends MovieClip {
public function 045Phone_337(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 31
//046Bag_338 (1_br3_gamesgames_0803_fla.046Bag_338)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 046Bag_338 extends MovieClip {
public function 046Bag_338(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 32
//049buy_596 (1_br3_gamesgames_0803_fla.049buy_596)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 049buy_596 extends MovieClip {
public function 049buy_596(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 33
//050equip_597 (1_br3_gamesgames_0803_fla.050equip_597)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 050equip_597 extends MovieClip {
public function 050equip_597(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 34
//051speedup_598 (1_br3_gamesgames_0803_fla.051speedup_598)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 051speedup_598 extends MovieClip {
public function 051speedup_598(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 35
//052NormalShirt_600 (1_br3_gamesgames_0803_fla.052NormalShirt_600)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 052NormalShirt_600 extends MovieClip {
public function 052NormalShirt_600(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 36
//053CharityShirt_601 (1_br3_gamesgames_0803_fla.053CharityShirt_601)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 053CharityShirt_601 extends MovieClip {
public function 053CharityShirt_601(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 37
//054TipShirt_602 (1_br3_gamesgames_0803_fla.054TipShirt_602)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 054TipShirt_602 extends MovieClip {
public function 054TipShirt_602(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 38
//055PleasingShirt_603 (1_br3_gamesgames_0803_fla.055PleasingShirt_603)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 055PleasingShirt_603 extends MovieClip {
public function 055PleasingShirt_603(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 39
//056GirlsGoGamesApron_604 (1_br3_gamesgames_0803_fla.056GirlsGoGamesApron_604)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 056GirlsGoGamesApron_604 extends MovieClip {
public function 056GirlsGoGamesApron_604(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 40
//057AgameShoes_605 (1_br3_gamesgames_0803_fla.057AgameShoes_605)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 057AgameShoes_605 extends MovieClip {
public function 057AgameShoes_605(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 41
//058GamesgamesMenu_606 (1_br3_gamesgames_0803_fla.058GamesgamesMenu_606)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 058GamesgamesMenu_606 extends MovieClip {
public function 058GamesgamesMenu_606(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 42
//059NormalShoes_607 (1_br3_gamesgames_0803_fla.059NormalShoes_607)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 059NormalShoes_607 extends MovieClip {
public function 059NormalShoes_607(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 43
//060Greenshoes_608 (1_br3_gamesgames_0803_fla.060Greenshoes_608)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 060Greenshoes_608 extends MovieClip {
public function 060Greenshoes_608(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 44
//061Redshoes_609 (1_br3_gamesgames_0803_fla.061Redshoes_609)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 061Redshoes_609 extends MovieClip {
public function 061Redshoes_609(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 45
//062_618 (1_br3_gamesgames_0803_fla.062_618)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 062_618 extends MovieClip {
public function 062_618(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 46
//062Breadmachine1speedup_615 (1_br3_gamesgames_0803_fla.062Breadmachine1speedup_615)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 062Breadmachine1speedup_615 extends MovieClip {
public function 062Breadmachine1speedup_615(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 47
//063_616 (1_br3_gamesgames_0803_fla.063_616)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 063_616 extends MovieClip {
public function 063_616(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 48
//063Thebreadmachinewilloperateat150_614 (1_br3_gamesgames_0803_fla.063Thebreadmachinewilloperateat150_614)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 063Thebreadmachinewilloperateat150_614 extends MovieClip {
public function 063Thebreadmachinewilloperateat150_614(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 49
//064Getasecondbreadmachine_617 (1_br3_gamesgames_0803_fla.064Getasecondbreadmachine_617)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 064Getasecondbreadmachine_617 extends MovieClip {
public function 064Getasecondbreadmachine_617(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 50
//065Milkshakemachine1speedup_620 (1_br3_gamesgames_0803_fla.065Milkshakemachine1speedup_620)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 065Milkshakemachine1speedup_620 extends MovieClip {
public function 065Milkshakemachine1speedup_620(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 51
//066_621 (1_br3_gamesgames_0803_fla.066_621)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 066_621 extends MovieClip {
public function 066_621(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 52
//066Themilkshakemachinewilloperateat150_619 (1_br3_gamesgames_0803_fla.066Themilkshakemachinewilloperateat150_619)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 066Themilkshakemachinewilloperateat150_619 extends MovieClip {
public function 066Themilkshakemachinewilloperateat150_619(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 53
//067GetIceCreammachine_622 (1_br3_gamesgames_0803_fla.067GetIceCreammachine_622)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 067GetIceCreammachine_622 extends MovieClip {
public function 067GetIceCreammachine_622(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 54
//068IceCreammachinespeedup_624 (1_br3_gamesgames_0803_fla.068IceCreammachinespeedup_624)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 068IceCreammachinespeedup_624 extends MovieClip {
public function 068IceCreammachinespeedup_624(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 55
//069_625 (1_br3_gamesgames_0803_fla.069_625)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 069_625 extends MovieClip {
public function 069_625(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 56
//069TheIceCreammachinewilloperateat150_623 (1_br3_gamesgames_0803_fla.069TheIceCreammachinewilloperateat150_623)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 069TheIceCreammachinewilloperateat150_623 extends MovieClip {
public function 069TheIceCreammachinewilloperateat150_623(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 57
//070Getasecondworkstation_626 (1_br3_gamesgames_0803_fla.070Getasecondworkstation_626)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 070Getasecondworkstation_626 extends MovieClip {
public function 070Getasecondworkstation_626(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 58
//071Cost_627 (1_br3_gamesgames_0803_fla.071Cost_627)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 071Cost_627 extends MovieClip {
public function 071Cost_627(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 59
//075ready_557 (1_br3_gamesgames_0803_fla.075ready_557)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 075ready_557 extends MovieClip {
public function 075ready_557(){
addFrameScript(0, frame1, 1, frame2, 8, frame9, 16, frame17);
}
function frame1(){
gotoAndStop(language.language_nr);
}
function frame17(){
gotoAndStop(language.language_nr);
}
function frame9(){
gotoAndStop(language.language_nr);
}
function frame2(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 60
//076Getasecondgrill_628 (1_br3_gamesgames_0803_fla.076Getasecondgrill_628)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 076Getasecondgrill_628 extends MovieClip {
public function 076Getasecondgrill_628(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 61
//077Target_542 (1_br3_gamesgames_0803_fla.077Target_542)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 077Target_542 extends MovieClip {
public function 077Target_542(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 62
//078close_546 (1_br3_gamesgames_0803_fla.078close_546)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 078close_546 extends MovieClip {
public function 078close_546(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 63
//079NEW_369 (1_br3_gamesgames_0803_fla.079NEW_369)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 079NEW_369 extends MovieClip {
public function 079NEW_369(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 64
//080Thefirstcustomerhasarrived_292 (1_br3_gamesgames_0803_fla.080Thefirstcustomerhasarrived_292)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 080Thefirstcustomerhasarrived_292 extends MovieClip {
public function 080Thefirstcustomerhasarrived_292(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 65
//081Shewouldlikeahamburgerwithketchup_293 (1_br3_gamesgames_0803_fla.081Shewouldlikeahamburgerwithketchup_293)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 081Shewouldlikeahamburgerwithketchup_293 extends MovieClip {
public function 081Shewouldlikeahamburgerwithketchup_293(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 66
//082Thebreadisready_296 (1_br3_gamesgames_0803_fla.082Thebreadisready_296)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 082Thebreadisready_296 extends MovieClip {
public function 082Thebreadisready_296(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 67
//083Grilltheburgerbyclickingonthestackofburgers_297 (1_br3_gamesgames_0803_fla.083Grilltheburgerbyclickingonthestackofburgers_297)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 083Grilltheburgerbyclickingonthestackofburgers_297 extends MovieClip {
public function 083Grilltheburgerbyclickingonthestackofburgers_297(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 68
//084Putthegrilledmeatonthebread_298 (1_br3_gamesgames_0803_fla.084Putthegrilledmeatonthebread_298)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 084Putthegrilledmeatonthebread_298 extends MovieClip {
public function 084Putthegrilledmeatonthebread_298(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 69
//085Don_299 (1_br3_gamesgames_0803_fla.085Don_299)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 085Don_299 extends MovieClip {
public function 085Don_299(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 70
//086Servethehamburgertothecustomer_300 (1_br3_gamesgames_0803_fla.086Servethehamburgertothecustomer_300)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 086Servethehamburgertothecustomer_300 extends MovieClip {
public function 086Servethehamburgertothecustomer_300(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 71
//087Youhaveworkedhard_301 (1_br3_gamesgames_0803_fla.087Youhaveworkedhard_301)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class 087Youhaveworkedhard_301 extends MovieClip {
public function 087Youhaveworkedhard_301(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 72
//A__165 (1_br3_gamesgames_0803_fla.A__165)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class A__165 extends MovieClip {
public var mc:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 73
//ASL_188 (1_br3_gamesgames_0803_fla.ASL_188)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class ASL_188 extends MovieClip {
public function ASL_188(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 74
//B_branding_aligned_center_6 (1_br3_gamesgames_0803_fla.B_branding_aligned_center_6)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class B_branding_aligned_center_6 extends MovieClip {
public function B_branding_aligned_center_6(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.branding_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 75
//branding_aligned_center_514 (1_br3_gamesgames_0803_fla.branding_aligned_center_514)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class branding_aligned_center_514 extends MovieClip {
public function branding_aligned_center_514(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.branding_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 76
//branding_with_games_on_textcopy_538 (1_br3_gamesgames_0803_fla.branding_with_games_on_textcopy_538)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class branding_with_games_on_textcopy_538 extends MovieClip {
public function branding_with_games_on_textcopy_538(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.branding_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 77
//bt_pause_547 (1_br3_gamesgames_0803_fla.bt_pause_547)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class bt_pause_547 extends MovieClip {
public var bt1:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 78
//Char_58 (1_br3_gamesgames_0803_fla.Char_58)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Char_58 extends MovieClip {
public function Char_58(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 79
//char_arm_mask_68 (1_br3_gamesgames_0803_fla.char_arm_mask_68)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class char_arm_mask_68 extends MovieClip {
public var mc:MovieClip;
public function char_arm_mask_68(){
addFrameScript(0, frame1);
}
function frame1(){
if ((((Tray.list.length > 0)) && (!((mc.x == 1000))))){
trace("消失");
mc.x = 1000;
} else {
if ((((Tray.list.length == 0)) && (!((mc.x == 0))))){
mc.x = 0;
};
};
}
}
}//package 1_br3_gamesgames_0803_fla
Section 80
//close__544 (1_br3_gamesgames_0803_fla.close__544)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class close__544 extends MovieClip {
public function close__544(){
addFrameScript(0, frame1, 32, frame33);
}
function frame1(){
stop();
}
function frame33(){
prevFrame();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 81
//HighScores_371 (1_br3_gamesgames_0803_fla.HighScores_371)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class HighScores_371 extends MovieClip {
public function HighScores_371(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 82
//loadingbar_1 (1_br3_gamesgames_0803_fla.loadingbar_1)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class loadingbar_1 extends MovieClip {
public var txt:TextField;
public function loadingbar_1(){
addFrameScript(0, frame1);
}
public function progressHandler(_arg1:ProgressEvent){
txt.text = (Math.floor(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100)) + "%");
}
function frame1(){
this.root.loaderInfo.addEventListener(Event.COMPLETE, completeHandler);
this.root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
}
public function completeHandler(_arg1:Event){
this.root.loaderInfo.removeEventListener(Event.COMPLETE, completeHandler);
this.root.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, progressHandler);
MovieClip(parent).gotoAndPlay("edit");
}
}
}//package 1_br3_gamesgames_0803_fla
Section 83
//logo__313 (1_br3_gamesgames_0803_fla.logo__313)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class logo__313 extends MovieClip {
public function logo__313(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 84
//logo__315 (1_br3_gamesgames_0803_fla.logo__315)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class logo__315 extends MovieClip {
public function logo__315(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 85
//logo__501 (1_br3_gamesgames_0803_fla.logo__501)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class logo__501 extends MovieClip {
public function logo__501(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 86
//logo__504 (1_br3_gamesgames_0803_fla.logo__504)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class logo__504 extends MovieClip {
public function logo__504(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 87
//logoani1_664 (1_br3_gamesgames_0803_fla.logoani1_664)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class logoani1_664 extends MovieClip {
public function logoani1_664(){
addFrameScript(239, frame240);
}
function frame240(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 88
//logologo_663 (1_br3_gamesgames_0803_fla.logologo_663)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class logologo_663 extends MovieClip {
public var bt:SimpleButton;
public function logologo_663(){
addFrameScript(0, frame1, 239, frame240);
}
public function _onmousedown(_arg1:MouseEvent){
var _local2:String;
var _local3:*;
_local2 = "http://www.game.com.cn/moregames/";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
function frame1(){
bt.addEventListener(MouseEvent.MOUSE_DOWN, _onmousedown);
}
function frame240(){
MovieClip(parent).play();
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 89
//MC__168 (1_br3_gamesgames_0803_fla.MC__168)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC__168 extends MovieClip {
public function MC__168(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 90
//MC__523 (1_br3_gamesgames_0803_fla.MC__523)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC__523 extends MovieClip {
public function MC__523(){
addFrameScript(0, frame1, 14, frame15, 21, frame22);
}
function frame15(){
MovieClip(parent).shows();
}
function frame1(){
stop();
}
function frame22(){
MovieClip(parent).moden = 0;
}
}
}//package 1_br3_gamesgames_0803_fla
Section 91
//MC__525 (1_br3_gamesgames_0803_fla.MC__525)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC__525 extends MovieClip {
public function MC__525(){
addFrameScript(0, frame1, 14, frame15, 24, frame25);
}
function frame15(){
MovieClip(parent).shows();
}
function frame1(){
stop();
}
function frame25(){
MovieClip(parent).moden = 0;
}
}
}//package 1_br3_gamesgames_0803_fla
Section 92
//MC__527 (1_br3_gamesgames_0803_fla.MC__527)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC__527 extends MovieClip {
public function MC__527(){
addFrameScript(0, frame1, 17, frame18, 25, frame26);
}
function frame18(){
MovieClip(parent).shows();
}
function frame1(){
stop();
}
function frame26(){
MovieClip(parent).moden = 0;
}
}
}//package 1_br3_gamesgames_0803_fla
Section 93
//MC__529 (1_br3_gamesgames_0803_fla.MC__529)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC__529 extends MovieClip {
public function MC__529(){
addFrameScript(0, frame1, 15, frame16, 28, frame29);
}
function frame16(){
MovieClip(parent).shows();
}
function frame1(){
stop();
}
function frame29(){
MovieClip(parent).moden = 0;
}
}
}//package 1_br3_gamesgames_0803_fla
Section 94
//MC_Char_109 (1_br3_gamesgames_0803_fla.MC_Char_109)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_109 extends MovieClip {
public function MC_Char_109(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 95
//MC_Char_111 (1_br3_gamesgames_0803_fla.MC_Char_111)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_111 extends MovieClip {
public function MC_Char_111(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 96
//MC_Char_123 (1_br3_gamesgames_0803_fla.MC_Char_123)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_123 extends MovieClip {
public function MC_Char_123(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 97
//MC_Char_59 (1_br3_gamesgames_0803_fla.MC_Char_59)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_59 extends MovieClip {
public function MC_Char_59(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 98
//MC_Char_63 (1_br3_gamesgames_0803_fla.MC_Char_63)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_63 extends MovieClip {
public function MC_Char_63(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 99
//MC_Char_64 (1_br3_gamesgames_0803_fla.MC_Char_64)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_64 extends MovieClip {
public function MC_Char_64(){
addFrameScript(0, frame1, 2, frame3);
}
function frame3(){
gotoAndStop(GameData.shirt);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 100
//MC_Char_65 (1_br3_gamesgames_0803_fla.MC_Char_65)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_65 extends MovieClip {
public function MC_Char_65(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 101
//MC_Char_70 (1_br3_gamesgames_0803_fla.MC_Char_70)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_70 extends MovieClip {
public function MC_Char_70(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 102
//MC_Char_71 (1_br3_gamesgames_0803_fla.MC_Char_71)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_71 extends MovieClip {
public function MC_Char_71(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 103
//MC_Char_72 (1_br3_gamesgames_0803_fla.MC_Char_72)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_72 extends MovieClip {
public function MC_Char_72(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 104
//MC_Char_74 (1_br3_gamesgames_0803_fla.MC_Char_74)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_74 extends MovieClip {
public function MC_Char_74(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 105
//MC_Char_75 (1_br3_gamesgames_0803_fla.MC_Char_75)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_75 extends MovieClip {
public function MC_Char_75(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 106
//MC_Char_76 (1_br3_gamesgames_0803_fla.MC_Char_76)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_76 extends MovieClip {
public function MC_Char_76(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 107
//MC_Char_78 (1_br3_gamesgames_0803_fla.MC_Char_78)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_78 extends MovieClip {
public function MC_Char_78(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 108
//MC_Char_80 (1_br3_gamesgames_0803_fla.MC_Char_80)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_80 extends MovieClip {
public function MC_Char_80(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 109
//MC_Char_83 (1_br3_gamesgames_0803_fla.MC_Char_83)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_83 extends MovieClip {
public function MC_Char_83(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 110
//MC_Char_85 (1_br3_gamesgames_0803_fla.MC_Char_85)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_Char_85 extends MovieClip {
public function MC_Char_85(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shirt);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 111
//MCChar_108 (1_br3_gamesgames_0803_fla.MCChar_108)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class MCChar_108 extends MovieClip {
public var masks:MovieClip;
public var logo:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 112
//MCChar_122 (1_br3_gamesgames_0803_fla.MCChar_122)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class MCChar_122 extends MovieClip {
public var masks:MovieClip;
public var logo:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 113
//MCChar_56 (1_br3_gamesgames_0803_fla.MCChar_56)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class MCChar_56 extends MovieClip {
public var masks:MovieClip;
public var shose1:MovieClip;
public var shose0:MovieClip;
public var arm0:MovieClip;
public var arm1:MovieClip;
public var body:MovieClip;
public var logo:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 114
//MCChar_79 (1_br3_gamesgames_0803_fla.MCChar_79)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class MCChar_79 extends MovieClip {
public var masks:MovieClip;
public var logo:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 115
//ok_569 (1_br3_gamesgames_0803_fla.ok_569)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class ok_569 extends MovieClip {
public function ok_569(){
addFrameScript(26, frame27);
}
function frame27(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 116
//PAUSE_550 (1_br3_gamesgames_0803_fla.PAUSE_550)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class PAUSE_550 extends MovieClip {
public function PAUSE_550(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 117
//phone_221 (1_br3_gamesgames_0803_fla.phone_221)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class phone_221 extends MovieClip {
public var bug:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 118
//Playthisgameon_btn_512 (1_br3_gamesgames_0803_fla.Playthisgameon_btn_512)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class Playthisgameon_btn_512 extends MovieClip {
public var playbranding:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 119
//shoose1_100 (1_br3_gamesgames_0803_fla.shoose1_100)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_100 extends MovieClip {
public function shoose1_100(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 120
//shoose1_102 (1_br3_gamesgames_0803_fla.shoose1_102)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_102 extends MovieClip {
public function shoose1_102(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 121
//shoose1_104 (1_br3_gamesgames_0803_fla.shoose1_104)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_104 extends MovieClip {
public function shoose1_104(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 122
//shoose1_106 (1_br3_gamesgames_0803_fla.shoose1_106)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_106 extends MovieClip {
public function shoose1_106(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 123
//shoose1_81 (1_br3_gamesgames_0803_fla.shoose1_81)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_81 extends MovieClip {
public function shoose1_81(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 124
//shoose1_87 (1_br3_gamesgames_0803_fla.shoose1_87)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_87 extends MovieClip {
public function shoose1_87(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 125
//shoose1_89 (1_br3_gamesgames_0803_fla.shoose1_89)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_89 extends MovieClip {
public function shoose1_89(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 126
//shoose1_91 (1_br3_gamesgames_0803_fla.shoose1_91)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_91 extends MovieClip {
public function shoose1_91(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 127
//shoose1_94 (1_br3_gamesgames_0803_fla.shoose1_94)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_94 extends MovieClip {
public function shoose1_94(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 128
//shoose1_96 (1_br3_gamesgames_0803_fla.shoose1_96)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_96 extends MovieClip {
public function shoose1_96(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 129
//shoose1_98 (1_br3_gamesgames_0803_fla.shoose1_98)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose1_98 extends MovieClip {
public function shoose1_98(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 130
//shoose3_110 (1_br3_gamesgames_0803_fla.shoose3_110)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shoose3_110 extends MovieClip {
public function shoose3_110(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 131
//shop_intro_613 (1_br3_gamesgames_0803_fla.shop_intro_613)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shop_intro_613 extends MovieClip {
public function shop_intro_613(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 132
//shose2_101 (1_br3_gamesgames_0803_fla.shose2_101)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_101 extends MovieClip {
public function shose2_101(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 133
//shose2_103 (1_br3_gamesgames_0803_fla.shose2_103)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_103 extends MovieClip {
public function shose2_103(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 134
//shose2_105 (1_br3_gamesgames_0803_fla.shose2_105)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_105 extends MovieClip {
public function shose2_105(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 135
//shose2_107 (1_br3_gamesgames_0803_fla.shose2_107)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_107 extends MovieClip {
public function shose2_107(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 136
//shose2_82 (1_br3_gamesgames_0803_fla.shose2_82)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_82 extends MovieClip {
public function shose2_82(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 137
//shose2_88 (1_br3_gamesgames_0803_fla.shose2_88)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_88 extends MovieClip {
public function shose2_88(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 138
//shose2_90 (1_br3_gamesgames_0803_fla.shose2_90)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_90 extends MovieClip {
public function shose2_90(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 139
//shose2_92 (1_br3_gamesgames_0803_fla.shose2_92)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_92 extends MovieClip {
public function shose2_92(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 140
//shose2_95 (1_br3_gamesgames_0803_fla.shose2_95)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_95 extends MovieClip {
public function shose2_95(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 141
//shose2_97 (1_br3_gamesgames_0803_fla.shose2_97)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_97 extends MovieClip {
public function shose2_97(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 142
//shose2_99 (1_br3_gamesgames_0803_fla.shose2_99)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose2_99 extends MovieClip {
public function shose2_99(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 143
//shose3_112 (1_br3_gamesgames_0803_fla.shose3_112)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_112 extends MovieClip {
public function shose3_112(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 144
//shose3_113 (1_br3_gamesgames_0803_fla.shose3_113)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_113 extends MovieClip {
public function shose3_113(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 145
//shose3_114 (1_br3_gamesgames_0803_fla.shose3_114)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_114 extends MovieClip {
public function shose3_114(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 146
//shose3_115 (1_br3_gamesgames_0803_fla.shose3_115)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_115 extends MovieClip {
public function shose3_115(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 147
//shose3_116 (1_br3_gamesgames_0803_fla.shose3_116)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_116 extends MovieClip {
public function shose3_116(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 148
//shose3_117 (1_br3_gamesgames_0803_fla.shose3_117)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_117 extends MovieClip {
public function shose3_117(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 149
//shose3_118 (1_br3_gamesgames_0803_fla.shose3_118)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_118 extends MovieClip {
public function shose3_118(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 150
//shose3_119 (1_br3_gamesgames_0803_fla.shose3_119)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_119 extends MovieClip {
public function shose3_119(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 151
//shose3_120 (1_br3_gamesgames_0803_fla.shose3_120)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_120 extends MovieClip {
public function shose3_120(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 152
//shose3_121 (1_br3_gamesgames_0803_fla.shose3_121)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class shose3_121 extends MovieClip {
public function shose3_121(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(GameData.shoes);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 153
//soundCtrl_music_400 (1_br3_gamesgames_0803_fla.soundCtrl_music_400)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class soundCtrl_music_400 extends MovieClip {
public function soundCtrl_music_400(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 154
//text100020003000_630 (1_br3_gamesgames_0803_fla.text100020003000_630)
package 1_br3_gamesgames_0803_fla {
import flash.display.*;
public dynamic class text100020003000_630 extends MovieClip {
public var txt3:MovieClip;
}
}//package 1_br3_gamesgames_0803_fla
Section 155
//Timeline_166 (1_br3_gamesgames_0803_fla.Timeline_166)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_166 extends MovieClip {
public function Timeline_166(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 156
//Timeline_170 (1_br3_gamesgames_0803_fla.Timeline_170)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_170 extends MovieClip {
public function Timeline_170(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 157
//Timeline_172 (1_br3_gamesgames_0803_fla.Timeline_172)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_172 extends MovieClip {
public var head:MovieClip;
public function Timeline_172(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 158
//Timeline_175 (1_br3_gamesgames_0803_fla.Timeline_175)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_175 extends MovieClip {
public function Timeline_175(){
addFrameScript(65, frame66);
}
function frame66(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 159
//Timeline_181 (1_br3_gamesgames_0803_fla.Timeline_181)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_181 extends MovieClip {
public function Timeline_181(){
addFrameScript(81, frame82);
}
function frame82(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 160
//Timeline_190 (1_br3_gamesgames_0803_fla.Timeline_190)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_190 extends MovieClip {
public function Timeline_190(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 161
//Timeline_191 (1_br3_gamesgames_0803_fla.Timeline_191)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_191 extends MovieClip {
public function Timeline_191(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 162
//Timeline_194 (1_br3_gamesgames_0803_fla.Timeline_194)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_194 extends MovieClip {
public function Timeline_194(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 163
//Timeline_195 (1_br3_gamesgames_0803_fla.Timeline_195)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_195 extends MovieClip {
public function Timeline_195(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 164
//Timeline_196 (1_br3_gamesgames_0803_fla.Timeline_196)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_196 extends MovieClip {
public function Timeline_196(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 165
//Timeline_197 (1_br3_gamesgames_0803_fla.Timeline_197)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_197 extends MovieClip {
public function Timeline_197(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 166
//Timeline_207 (1_br3_gamesgames_0803_fla.Timeline_207)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_207 extends MovieClip {
public function Timeline_207(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 167
//Timeline_209 (1_br3_gamesgames_0803_fla.Timeline_209)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_209 extends MovieClip {
public function Timeline_209(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 168
//Timeline_212 (1_br3_gamesgames_0803_fla.Timeline_212)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_212 extends MovieClip {
public function Timeline_212(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 169
//Timeline_215 (1_br3_gamesgames_0803_fla.Timeline_215)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_215 extends MovieClip {
public var shoes:MovieClip;
public function Timeline_215(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 170
//Timeline_319 (1_br3_gamesgames_0803_fla.Timeline_319)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_319 extends MovieClip {
public var _bt_1:MovieClip;
public function Timeline_319(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 171
//Timeline_358 (1_br3_gamesgames_0803_fla.Timeline_358)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_358 extends MovieClip {
public var logo_mainscreen:MovieClip;
public function Timeline_358(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 172
//Timeline_367 (1_br3_gamesgames_0803_fla.Timeline_367)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_367 extends MovieClip {
public var scores:TextField;
public var names:TextField;
public var num:TextField;
public function Timeline_367(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 173
//Timeline_372 (1_br3_gamesgames_0803_fla.Timeline_372)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_372 extends MovieClip {
public var _bt_1:MovieClip;
public function Timeline_372(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 174
//Timeline_389 (1_br3_gamesgames_0803_fla.Timeline_389)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_389 extends MovieClip {
public function Timeline_389(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 175
//Timeline_392 (1_br3_gamesgames_0803_fla.Timeline_392)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_392 extends MovieClip {
public function Timeline_392(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 176
//Timeline_394 (1_br3_gamesgames_0803_fla.Timeline_394)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_394 extends MovieClip {
public function Timeline_394(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 177
//Timeline_401 (1_br3_gamesgames_0803_fla.Timeline_401)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_401 extends MovieClip {
public function Timeline_401(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 178
//Timeline_404 (1_br3_gamesgames_0803_fla.Timeline_404)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_404 extends MovieClip {
public function Timeline_404(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 179
//Timeline_405 (1_br3_gamesgames_0803_fla.Timeline_405)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_405 extends MovieClip {
public function Timeline_405(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 180
//Timeline_437 (1_br3_gamesgames_0803_fla.Timeline_437)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_437 extends MovieClip {
public function Timeline_437(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 181
//Timeline_456 (1_br3_gamesgames_0803_fla.Timeline_456)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_456 extends MovieClip {
public function Timeline_456(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
br3_Sound.playEffect("_sound_desk_four", 1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 182
//Timeline_458 (1_br3_gamesgames_0803_fla.Timeline_458)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_458 extends MovieClip {
public function Timeline_458(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 183
//Timeline_468 (1_br3_gamesgames_0803_fla.Timeline_468)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_468 extends MovieClip {
public function Timeline_468(){
addFrameScript(0, frame1, 23, frame24);
}
function frame1(){
stop();
}
function frame24(){
stop();
MovieClip(parent).india_s1 = 2;
}
}
}//package 1_br3_gamesgames_0803_fla
Section 184
//Timeline_477 (1_br3_gamesgames_0803_fla.Timeline_477)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_477 extends MovieClip {
public function Timeline_477(){
addFrameScript(61, frame62);
}
function frame62(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 185
//Timeline_533 (1_br3_gamesgames_0803_fla.Timeline_533)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_533 extends MovieClip {
public function Timeline_533(){
addFrameScript(0, frame1, 1, frame2, 20, frame21, 32, frame33, 36, frame37);
}
function frame1(){
stop();
}
function frame21(){
br3_Sound.playEffect("_sound_desk_three_1", 1);
}
function frame2(){
br3_Sound.playEffect("_sound_peiliao_qidong", 1);
}
function frame37(){
MovieClip(parent).shows();
MovieClip(parent).moden = 0;
}
function frame33(){
br3_Sound.stopEffect("_sound_desk_three_1");
}
}
}//package 1_br3_gamesgames_0803_fla
Section 186
//Timeline_535 (1_br3_gamesgames_0803_fla.Timeline_535)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_535 extends MovieClip {
public function Timeline_535(){
addFrameScript(0, frame1, 1, frame2, 20, frame21, 31, frame32, 36, frame37);
}
function frame1(){
stop();
}
function frame21(){
br3_Sound.playEffect("_sound_desk_three_1", 1);
}
function frame2(){
br3_Sound.playEffect("_sound_peiliao_qidong", 1);
}
function frame37(){
MovieClip(parent).shows();
MovieClip(parent).moden = 0;
}
function frame32(){
br3_Sound.stopEffect("_sound_desk_three_1");
}
}
}//package 1_br3_gamesgames_0803_fla
Section 187
//Timeline_536 (1_br3_gamesgames_0803_fla.Timeline_536)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_536 extends MovieClip {
public function Timeline_536(){
addFrameScript(0, frame1, 1, frame2, 20, frame21, 32, frame33, 36, frame37);
}
function frame1(){
stop();
}
function frame21(){
br3_Sound.playEffect("_sound_desk_three_1", 1);
}
function frame2(){
br3_Sound.playEffect("_sound_peiliao_qidong", 1);
}
function frame37(){
MovieClip(parent).shows();
MovieClip(parent).moden = 0;
}
function frame33(){
br3_Sound.stopEffect("_sound_desk_three_1");
}
}
}//package 1_br3_gamesgames_0803_fla
Section 188
//Timeline_54 (1_br3_gamesgames_0803_fla.Timeline_54)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_54 extends MovieClip {
public function Timeline_54(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 189
//Timeline_549 (1_br3_gamesgames_0803_fla.Timeline_549)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_549 extends MovieClip {
public var bt:SimpleButton;
public var brights:Bright;
public var _bt:MovieClip;
public function Timeline_549(){
addFrameScript(0, frame1);
}
public function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
}
public function _onMouseOver(_arg1:MouseEvent){
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
function frame1(){
brights = new Bright();
bt.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt.addEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
bt.addEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
}
public function _mouseDown(_arg1:MouseEvent){
MC_GameEngine.gameStart = true;
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
visible = false;
}
}
}//package 1_br3_gamesgames_0803_fla
Section 190
//Timeline_561 (1_br3_gamesgames_0803_fla.Timeline_561)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_561 extends MovieClip {
public function Timeline_561(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(MovieClip(parent)._speed);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 191
//Timeline_565 (1_br3_gamesgames_0803_fla.Timeline_565)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_565 extends MovieClip {
public function Timeline_565(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(MovieClip(parent).types);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 192
//Timeline_568 (1_br3_gamesgames_0803_fla.Timeline_568)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_568 extends MovieClip {
public function Timeline_568(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 193
//Timeline_573 (1_br3_gamesgames_0803_fla.Timeline_573)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_573 extends MovieClip {
public var mc:MovieClip;
public function Timeline_573(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 194
//Timeline_577 (1_br3_gamesgames_0803_fla.Timeline_577)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_577 extends MovieClip {
public function Timeline_577(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(MovieClip(parent)._speed);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 195
//Timeline_579 (1_br3_gamesgames_0803_fla.Timeline_579)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_579 extends MovieClip {
public function Timeline_579(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(MovieClip(parent)._speed);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 196
//Timeline_585 (1_br3_gamesgames_0803_fla.Timeline_585)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_585 extends MovieClip {
public function Timeline_585(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(MovieClip(parent)._speed);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 197
//Timeline_586 (1_br3_gamesgames_0803_fla.Timeline_586)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_586 extends MovieClip {
public function Timeline_586(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 198
//Timeline_588 (1_br3_gamesgames_0803_fla.Timeline_588)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_588 extends MovieClip {
public function Timeline_588(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(MovieClip(parent).types);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 199
//Timeline_599 (1_br3_gamesgames_0803_fla.Timeline_599)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_599 extends MovieClip {
public function Timeline_599(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 200
//Timeline_645 (1_br3_gamesgames_0803_fla.Timeline_645)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_645 extends MovieClip {
public function Timeline_645(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 201
//Timeline_646 (1_br3_gamesgames_0803_fla.Timeline_646)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_646 extends MovieClip {
public function Timeline_646(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 202
//Timeline_647 (1_br3_gamesgames_0803_fla.Timeline_647)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Timeline_647 extends MovieClip {
public function Timeline_647(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 203
//txt_554 (1_br3_gamesgames_0803_fla.txt_554)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class txt_554 extends MovieClip {
public function txt_554(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 204
//txt_556 (1_br3_gamesgames_0803_fla.txt_556)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class txt_556 extends MovieClip {
public function txt_556(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 205
//txt_559 (1_br3_gamesgames_0803_fla.txt_559)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class txt_559 extends MovieClip {
public function txt_559(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 206
//txt_652 (1_br3_gamesgames_0803_fla.txt_652)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class txt_652 extends MovieClip {
public function txt_652(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13);
}
function frame10(){
gotoAndStop(language.language_nr);
}
function frame12(){
gotoAndStop(language.language_nr);
}
function frame3(){
gotoAndStop(language.language_nr);
}
function frame6(){
gotoAndStop(language.language_nr);
}
function frame7(){
gotoAndStop(language.language_nr);
}
function frame1(){
gotoAndStop(language.language_nr);
}
function frame13(){
gotoAndStop(language.language_nr);
}
function frame4(){
gotoAndStop(language.language_nr);
}
function frame5(){
gotoAndStop(language.language_nr);
}
function frame9(){
gotoAndStop(language.language_nr);
}
function frame8(){
gotoAndStop(language.language_nr);
}
function frame2(){
gotoAndStop(language.language_nr);
}
function frame11(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 207
//txt_buy_387 (1_br3_gamesgames_0803_fla.txt_buy_387)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class txt_buy_387 extends MovieClip {
public function txt_buy_387(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 208
//TXT_levelfail_409 (1_br3_gamesgames_0803_fla.TXT_levelfail_409)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class TXT_levelfail_409 extends MovieClip {
public function TXT_levelfail_409(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 209
//txtWebsitePlanNederland_384 (1_br3_gamesgames_0803_fla.txtWebsitePlanNederland_384)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class txtWebsitePlanNederland_384 extends MovieClip {
public var _bt_plan:MovieClip;
public function txtWebsitePlanNederland_384(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 1_br3_gamesgames_0803_fla
Section 210
//ui_396 (1_br3_gamesgames_0803_fla.ui_396)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class ui_396 extends MovieClip {
public function ui_396(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 211
//ui_399 (1_br3_gamesgames_0803_fla.ui_399)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class ui_399 extends MovieClip {
public var bt2:MovieClip;
public function ui_399(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 212
//ui_402 (1_br3_gamesgames_0803_fla.ui_402)
package 1_br3_gamesgames_0803_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class ui_402 extends MovieClip {
public function ui_402(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1_br3_gamesgames_0803_fla
Section 213
//CampaignInfo (com.google.analytics.campaign.CampaignInfo)
package com.google.analytics.campaign {
import com.google.analytics.utils.*;
public class CampaignInfo {
private var _new:Boolean;
private var _empty:Boolean;
public function CampaignInfo(_arg1:Boolean=true, _arg2:Boolean=false){
_empty = _arg1;
_new = _arg2;
}
public function isEmpty():Boolean{
return (_empty);
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
if (((!(isEmpty())) && (isNew()))){
_local1.utmcn = utmcn;
};
if (((!(isEmpty())) && (!(isNew())))){
_local1.utmcr = utmcr;
};
return (_local1);
}
public function isNew():Boolean{
return (_new);
}
public function get utmcn():String{
return ("1");
}
public function get utmcr():String{
return ("1");
}
}
}//package com.google.analytics.campaign
Section 214
//CampaignKey (com.google.analytics.campaign.CampaignKey)
package com.google.analytics.campaign {
public class CampaignKey {
public var UCMD:String;// = "utm_medium"
public var UCID:String;// = "utm_id"
public var UCTR:String;// = "utm_term"
public var UCSR:String;// = "utm_source"
public var UCNO:String;// = "utm_nooverride"
public var UCCN:String;// = "utm_campaign"
public var UGCLID:String;// = "gclid"
public var UCCT:String;// = "utm_content"
}
}//package com.google.analytics.campaign
Section 215
//CampaignManager (com.google.analytics.campaign.CampaignManager)
package com.google.analytics.campaign {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import com.google.analytics.utils.*;
public class CampaignManager {
private var _config:Configuration;
private var _domainHash:Number;
private var _debug:DebugConfiguration;
private var _timeStamp:Number;
private var _referrer:String;
private var _buffer:Buffer;
public static const trackingDelimiter:String = "|";
public function CampaignManager(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Number, _arg5:String, _arg6:Number){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_domainHash = _arg4;
_referrer = _arg5;
_timeStamp = _arg6;
}
public function hasNoOverride(_arg1:String):Boolean{
var _local2:CampaignKey;
var _local3:Variables;
var _local4:String;
_local2 = _config.campaignKey;
if (_arg1 == ""){
return (false);
};
_local3 = new Variables(_arg1);
_local4 = "";
if (_local3.hasOwnProperty(_local2.UCNO)){
_local4 = _local3[_local2.UCNO];
switch (_local4){
case "1":
return (true);
case "":
case "0":
default:
return (false);
};
};
return (false);
}
public function getCampaignInformation(_arg1:String, _arg2:Boolean):CampaignInfo{
var _local3:CampaignInfo;
var _local4:CampaignTracker;
var _local5:Boolean;
var _local6:Boolean;
var _local7:int;
var _local8:CampaignTracker;
var _local9:int;
_local3 = new CampaignInfo();
_local5 = false;
_local6 = false;
_local7 = 0;
if (((_config.allowLinker) && (_buffer.isGenuine()))){
if (!_buffer.hasUTMZ()){
return (_local3);
};
};
_local4 = getTrackerFromSearchString(_arg1);
if (isValid(_local4)){
_local6 = hasNoOverride(_arg1);
if (((_local6) && (!(_buffer.hasUTMZ())))){
return (_local3);
};
};
if (!isValid(_local4)){
_local4 = getOrganicCampaign();
if (((!(_buffer.hasUTMZ())) && (isIgnoredKeyword(_local4)))){
return (_local3);
};
};
if (((!(isValid(_local4))) && (_arg2))){
_local4 = getReferrerCampaign();
if (((!(_buffer.hasUTMZ())) && (isIgnoredReferral(_local4)))){
return (_local3);
};
};
if (!isValid(_local4)){
if (((!(_buffer.hasUTMZ())) && (_arg2))){
_local4 = getDirectCampaign();
};
};
if (!isValid(_local4)){
return (_local3);
};
if (((_buffer.hasUTMZ()) && (!(_buffer.utmz.isEmpty())))){
_local8 = new CampaignTracker();
_local8.fromTrackerString(_buffer.utmz.campaignTracking);
_local5 = (_local8.toTrackerString() == _local4.toTrackerString());
_local7 = _buffer.utmz.responseCount;
};
if (((!(_local5)) || (_arg2))){
_local9 = _buffer.utma.sessionCount;
_local7++;
if (_local9 == 0){
_local9 = 1;
};
_buffer.utmz.domainHash = _domainHash;
_buffer.utmz.campaignCreation = _timeStamp;
_buffer.utmz.campaignSessions = _local9;
_buffer.utmz.responseCount = _local7;
_buffer.utmz.campaignTracking = _local4.toTrackerString();
_debug.info(_buffer.utmz.toString(), VisualDebugMode.geek);
_local3 = new CampaignInfo(false, true);
} else {
_local3 = new CampaignInfo(false, false);
};
return (_local3);
}
public function isValid(_arg1:CampaignTracker):Boolean{
if (((_arg1) && (_arg1.isValid()))){
return (true);
};
return (false);
}
public function getTrackerFromSearchString(_arg1:String):CampaignTracker{
var _local2:CampaignTracker;
var _local3:CampaignTracker;
var _local4:CampaignKey;
var _local5:Variables;
_local2 = getOrganicCampaign();
_local3 = new CampaignTracker();
_local4 = _config.campaignKey;
if (_arg1 == ""){
return (_local3);
};
_local5 = new Variables(_arg1);
if (_local5.hasOwnProperty(_local4.UCID)){
_local3.id = _local5[_local4.UCID];
};
if (_local5.hasOwnProperty(_local4.UCSR)){
_local3.source = _local5[_local4.UCSR];
};
if (_local5.hasOwnProperty(_local4.UGCLID)){
_local3.clickId = _local5[_local4.UGCLID];
};
if (_local5.hasOwnProperty(_local4.UCCN)){
_local3.name = _local5[_local4.UCCN];
} else {
_local3.name = "(not set)";
};
if (_local5.hasOwnProperty(_local4.UCMD)){
_local3.medium = _local5[_local4.UCMD];
} else {
_local3.medium = "(not set)";
};
if (_local5.hasOwnProperty(_local4.UCTR)){
_local3.term = _local5[_local4.UCTR];
} else {
if (((_local2) && (!((_local2.term == ""))))){
_local3.term = _local2.term;
};
};
if (_local5.hasOwnProperty(_local4.UCCT)){
_local3.content = _local5[_local4.UCCT];
};
return (_local3);
}
public function getOrganicCampaign():CampaignTracker{
var _local1:CampaignTracker;
var _local2:URL;
var _local3:String;
var _local4:Array;
var _local5:OrganicReferrer;
var _local6:String;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
_local2 = new URL(_referrer);
_local3 = "";
if (_local2.hostName != ""){
if (_local2.hostName.indexOf(".") > -1){
_local4 = _local2.hostName.split(".");
switch (_local4.length){
case 2:
_local3 = _local4[0];
break;
case 3:
_local3 = _local4[1];
break;
};
};
};
if (_config.organic.match(_local3)){
_local5 = _config.organic.getReferrerByName(_local3);
_local6 = _config.organic.getKeywordValue(_local5, _local2.search);
_local1 = new CampaignTracker();
_local1.source = _local5.engine;
_local1.name = "(organic)";
_local1.medium = "organic";
_local1.term = _local6;
};
return (_local1);
}
public function isIgnoredReferral(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "referral")))){
return (_config.organic.isIgnoredReferral(_arg1.source));
};
return (false);
}
public function getDirectCampaign():CampaignTracker{
var _local1:CampaignTracker;
_local1 = new CampaignTracker();
_local1.source = "(direct)";
_local1.name = "(direct)";
_local1.medium = "(none)";
return (_local1);
}
public function isIgnoredKeyword(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "organic")))){
return (_config.organic.isIgnoredKeyword(_arg1.term));
};
return (false);
}
public function getReferrerCampaign():CampaignTracker{
var _local1:CampaignTracker;
var _local2:URL;
var _local3:String;
var _local4:String;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
_local2 = new URL(_referrer);
_local3 = _local2.hostName;
_local4 = _local2.path;
if (_local3.indexOf("www.") == 0){
_local3 = _local3.substr(4);
};
_local1 = new CampaignTracker();
_local1.source = _local3;
_local1.name = "(referral)";
_local1.medium = "referral";
_local1.content = _local4;
return (_local1);
}
public static function isInvalidReferrer(_arg1:String):Boolean{
var _local2:URL;
if ((((((_arg1 == "")) || ((_arg1 == "-")))) || ((_arg1 == "0")))){
return (true);
};
if (_arg1.indexOf("://") > -1){
_local2 = new URL(_arg1);
if ((((_local2.protocol == Protocols.file)) || ((_local2.protocol == Protocols.none)))){
return (true);
};
};
return (false);
}
public static function isFromGoogleCSE(_arg1:String, _arg2:Configuration):Boolean{
var _local3:URL;
_local3 = new URL(_arg1);
if (_local3.hostName.indexOf(_arg2.google) > -1){
if (_local3.search.indexOf((_arg2.googleSearchParam + "=")) > -1){
if (_local3.path == ("/" + _arg2.googleCsePath)){
return (true);
};
};
};
return (false);
}
}
}//package com.google.analytics.campaign
Section 216
//CampaignTracker (com.google.analytics.campaign.CampaignTracker)
package com.google.analytics.campaign {
import com.google.analytics.utils.*;
public class CampaignTracker {
public var content:String;
public var source:String;
public var clickId:String;
public var name:String;
public var term:String;
public var medium:String;
public var id:String;
public function CampaignTracker(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:String="", _arg5:String="", _arg6:String="", _arg7:String=""){
this.id = _arg1;
this.source = _arg2;
this.clickId = _arg3;
this.name = _arg4;
this.medium = _arg5;
this.term = _arg6;
this.content = _arg7;
}
public function isValid():Boolean{
if (((((!((id == ""))) || (!((source == ""))))) || (!((clickId == ""))))){
return (true);
};
return (false);
}
public function toTrackerString():String{
var _local1:Array = [];
_addIfNotEmpty(_local1, "utmcsr=", source);
_addIfNotEmpty(_local1, "utmccn=", name);
_addIfNotEmpty(_local1, "utmcmd=", medium);
_addIfNotEmpty(_local1, "utmctr=", term);
_addIfNotEmpty(_local1, "utmcct=", content);
_addIfNotEmpty(_local1, "utmcid=", id);
_addIfNotEmpty(_local1, "utmgclid=", clickId);
return (_local1.join(CampaignManager.trackingDelimiter));
}
private function _addIfNotEmpty(_arg1:Array, _arg2:String, _arg3:String):void{
if (_arg3 != ""){
_arg3 = _arg3.split("+").join("%20");
_arg3 = _arg3.split(" ").join("%20");
_arg1.push((_arg2 + _arg3));
};
}
public function fromTrackerString(_arg1:String):void{
var _local2:String = _arg1.split(CampaignManager.trackingDelimiter).join("&");
var _local3:Variables = new Variables(_local2);
if (_local3.hasOwnProperty("utmcid")){
this.id = _local3["utmcid"];
};
if (_local3.hasOwnProperty("utmcsr")){
this.source = _local3["utmcsr"];
};
if (_local3.hasOwnProperty("utmccn")){
this.name = _local3["utmccn"];
};
if (_local3.hasOwnProperty("utmcmd")){
this.medium = _local3["utmcmd"];
};
if (_local3.hasOwnProperty("utmctr")){
this.term = _local3["utmctr"];
};
if (_local3.hasOwnProperty("utmcct")){
this.content = _local3["utmcct"];
};
if (_local3.hasOwnProperty("utmgclid")){
this.clickId = _local3["utmgclid"];
};
}
}
}//package com.google.analytics.campaign
Section 217
//FlashTracker (com.google.analytics.components.FlashTracker)
package com.google.analytics.components {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
import com.google.analytics.*;
import flash.utils.*;
import com.google.analytics.events.*;
public class FlashTracker extends Sprite implements AnalyticsTracker {
private var _adSense:AdSenseGlobals;
private var _env:Environment;
protected var _height:Number;// = 18
private var _idleTimer:IdleTimer;
private var _config:Configuration;
private var _mode:String;// = "AS3"
private var _dom:HTMLDOM;
private var _ready:Boolean;// = false
protected var _width:Number;// = 18
private var _account:String;// = ""
protected var _componentInspectorSetting:Boolean;
private var _visualDebug:Boolean;// = false
public var boundingBox_mc:DisplayObject;
private var _debug:DebugConfiguration;
private var _buffer:Buffer;
private var _display:DisplayObject;
protected var livePreviewHeight:Number;
private var _jsproxy:JavascriptProxy;
protected var isLivePreview:Boolean;
protected var preview:MovieClip;
private var _gifRequest:GIFRequest;
protected var livePreviewWidth:Number;
private var _tracker:GoogleAnalyticsAPI;
public static var version:Version = API.version;
public function FlashTracker(){
_ready = false;
_account = "";
_mode = TrackerMode.AS3;
_visualDebug = false;
_width = 18;
_height = 18;
super();
_tracker = new TrackerCache();
isLivePreview = _checkLivePreview();
_componentInspectorSetting = false;
if (boundingBox_mc){
boundingBox_mc.visible = false;
removeChild(boundingBox_mc);
boundingBox_mc = null;
};
if (isLivePreview){
_createLivePreview();
};
addEventListener(Event.ENTER_FRAME, _factory);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
return (_tracker.trackEvent(_arg1, _arg2, _arg3, _arg4));
}
public function trackTrans():void{
_tracker.trackTrans();
}
private function _createLivePreview():void{
var _local1:Graphics;
var _local2:Class;
preview = new MovieClip();
_local1 = preview.graphics;
_local1.beginFill(0xFFFFFF);
_local1.moveTo(0, 0);
_local1.lineTo(0, _width);
_local1.lineTo(_width, _height);
_local1.lineTo(_height, 0);
_local1.lineTo(0, 0);
_local1.endFill();
_local2 = (getDefinitionByName("com.google.analytics.components::Icon") as Class);
preview.icon_mc = new (_local2);
preview.icon_mc.name = "icon_mc";
preview.addChild(preview.icon_mc);
addChild(preview);
}
public function trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_arg1);
}
public function get account():String{
return (_account);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_tracker.linkByPost(_arg1, _arg2);
}
public function getDetectTitle():Boolean{
return (_tracker.getDetectTitle());
}
public function setCampNameKey(_arg1:String):void{
_tracker.setCampNameKey(_arg1);
}
public function resetSession():void{
_tracker.resetSession();
}
public function set account(_arg1:String):void{
_account = _arg1;
}
public function get debug():DebugConfiguration{
if (!_debug){
_createDebugAndConfig();
};
return (_debug);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_arg1));
}
public function set config(_arg1:Configuration):void{
_config = _arg1;
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
return (_tracker.addTrans(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
}
public function setLocalServerMode():void{
_tracker.setLocalServerMode();
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
public function isReady():Boolean{
return (_ready);
}
public function set debug(_arg1:DebugConfiguration):void{
_debug = _arg1;
}
public function getVersion():String{
return (_tracker.getVersion());
}
public function setLocalRemoteServerMode():void{
_tracker.setLocalRemoteServerMode();
}
public function setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_tracker.addIgnoredOrganic(_arg1);
}
public function setCookiePath(_arg1:String):void{
_tracker.setCookiePath(_arg1);
}
public function setCampTermKey(_arg1:String):void{
_tracker.setCampTermKey(_arg1);
}
private function _trackerFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (AS3) v" + version) + "\naccount: ") + account));
_adSense = new AdSenseGlobals(debug);
_dom = new HTMLDOM(debug);
_dom.cacheProperties();
_env = new Environment("", "", "", debug, _dom);
_buffer = new Buffer(config, debug, false);
_gifRequest = new GIFRequest(config, debug, _buffer, _env);
_idleTimer = new IdleTimer(config, debug, _display, _buffer);
_env.url = _display.stage.loaderInfo.url;
return (new Tracker(account, config, debug, _env, _buffer, _gifRequest, _adSense));
}
public function setCampaignTrack(_arg1:Boolean):void{
_tracker.setCampaignTrack(_arg1);
}
public function getServiceMode():ServerOperationMode{
return (_tracker.getServiceMode());
}
public function set componentInspectorSetting(_arg1:Boolean):void{
_componentInspectorSetting = _arg1;
}
public function setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_tracker.addOrganic(_arg1, _arg2);
}
public function setCookieTimeout(_arg1:int):void{
_tracker.setCookieTimeout(_arg1);
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
public function setAllowLinker(_arg1:Boolean):void{
_tracker.setAllowLinker(_arg1);
}
public function setClientInfo(_arg1:Boolean):void{
_tracker.setClientInfo(_arg1);
}
private function _bridgeFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (Bridge) v" + version) + "\naccount: ") + account));
return (new Bridge(account, _debug, _jsproxy));
}
public function get config():Configuration{
if (!_config){
_createDebugAndConfig();
};
return (_config);
}
public function set mode(_arg1:String):void{
_mode = _arg1;
}
public function setDetectFlash(_arg1:Boolean):void{
_tracker.setDetectFlash(_arg1);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_tracker.addItem(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function setVar(_arg1:String):void{
_tracker.setVar(_arg1);
}
public function clearIgnoredOrganic():void{
_tracker.clearIgnoredOrganic();
}
public function setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
private function _checkLivePreview():Boolean{
if (((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")))){
return (true);
};
return (false);
}
public function setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
public function setCampContentKey(_arg1:String):void{
_tracker.setCampContentKey(_arg1);
}
public function setSize(_arg1:Number, _arg2:Number):void{
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function setLocalGifPath(_arg1:String):void{
_tracker.setLocalGifPath(_arg1);
}
public function get mode():String{
return (_mode);
}
public function setSampleRate(_arg1:Number):void{
_tracker.setSampleRate(_arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_tracker.setAllowHash(_arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
_tracker.setDetectTitle(_arg1);
}
public function cookiePathCopy(_arg1:String):void{
_tracker.cookiePathCopy(_arg1);
}
private function _factory(_arg1:Event):void{
var _local2:GoogleAnalyticsAPI;
var _local3:TrackerCache;
removeEventListener(Event.ENTER_FRAME, _factory);
if (isLivePreview){
return;
};
_display = this;
_createDebugAndConfig();
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
_jsproxy = new JavascriptProxy(debug);
_local3 = (_tracker as TrackerCache);
switch (mode){
case TrackerMode.BRIDGE:
_local2 = _bridgeFactory();
break;
case TrackerMode.AS3:
default:
_local2 = _trackerFactory();
};
if (!_local3.isEmpty()){
_local3.tracker = _local2;
_local3.flush();
};
_tracker = _local2;
_ready = true;
dispatchEvent(new AnalyticsEvent(AnalyticsEvent.READY, this));
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function clearOrganic():void{
_tracker.clearOrganic();
}
private function _createDebugAndConfig():void{
if (!_debug){
this.debug = new DebugConfiguration();
};
if (!_config){
this.config = new Configuration(debug);
};
}
public function addIgnoredRef(_arg1:String):void{
_tracker.addIgnoredRef(_arg1);
}
public function set visualDebug(_arg1:Boolean):void{
_visualDebug = _arg1;
}
public function setCampMediumKey(_arg1:String):void{
_tracker.setCampMediumKey(_arg1);
}
public function getAccount():String{
return (_tracker.getAccount());
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_tracker.link(_arg1, _arg2);
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics.components
Section 218
//Icon (com.google.analytics.components.Icon)
package com.google.analytics.components {
import flash.display.*;
public dynamic class Icon extends MovieClip {
}
}//package com.google.analytics.components
Section 219
//BrowserInfo (com.google.analytics.core.BrowserInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.utils.*;
public class BrowserInfo {
private var _config:Configuration;
private var _info:Environment;
public function BrowserInfo(_arg1:Configuration, _arg2:Environment){
_config = _arg1;
_info = _arg2;
}
public function get utmul():String{
return (_info.language.toLowerCase());
}
public function get utmje():String{
return ("0");
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function get utmsr():String{
return (((_info.screenWidth + "x") + _info.screenHeight));
}
public function get utmcs():String{
return (_info.languageEncoding);
}
public function get utmfl():String{
var _local1:Version;
if (_config.detectFlash){
_local1 = _info.flashVersion;
return (((((_local1.major + ".") + _local1.minor) + " r") + _local1.build));
};
return ("-");
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
_local1.utmcs = utmcs;
_local1.utmsr = utmsr;
_local1.utmsc = utmsc;
_local1.utmul = utmul;
_local1.utmje = utmje;
_local1.utmfl = utmfl;
return (_local1);
}
public function get utmsc():String{
return ((_info.screenColorDepth + "-bit"));
}
}
}//package com.google.analytics.core
Section 220
//Buffer (com.google.analytics.core.Buffer)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import flash.events.*;
import com.google.analytics.data.*;
public dynamic class Buffer {
private var _SO:SharedObject;
private var _OBJ:Object;
private var _utma:UTMA;
private var _utmb:UTMB;
private var _utmc:UTMC;
private var _debug:DebugConfiguration;
private var _utmk:UTMK;
private var _config:Configuration;
private var _utmv:UTMV;
private var _utmz:UTMZ;
private var _volatile:Boolean;
public function Buffer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Boolean=false, _arg4:Object=null){
var _local5:Boolean;
var _local6:String;
super();
_config = _arg1;
_debug = _arg2;
UTMB.defaultTimespan = _config.sessionTimeout;
UTMZ.defaultTimespan = _config.conversionTimeout;
if (!_arg3){
_SO = SharedObject.getLocal(_config.cookieName, _config.cookiePath);
_local5 = false;
if (_SO.data.utma){
if (!hasUTMA()){
_createUMTA();
};
_utma.fromSharedObject(_SO.data.utma);
if (_debug.verbose){
_debug.info(("found: " + _utma.toString(true)), VisualDebugMode.geek);
};
if (_utma.isExpired()){
if (_debug.verbose){
_debug.warning("UTMA has expired", VisualDebugMode.advanced);
};
_clearUTMA();
_local5 = true;
};
};
if (_SO.data.utmb){
if (!hasUTMB()){
_createUMTB();
};
_utmb.fromSharedObject(_SO.data.utmb);
if (_debug.verbose){
_debug.info(("found: " + _utmb.toString(true)), VisualDebugMode.geek);
};
if (_utmb.isExpired()){
if (_debug.verbose){
_debug.warning("UTMB has expired", VisualDebugMode.advanced);
};
_clearUTMB();
_local5 = true;
};
};
if (_SO.data.utmc){
delete _SO.data.utmc;
_local5 = true;
};
if (_SO.data.utmk){
if (!hasUTMK()){
_createUMTK();
};
_utmk.fromSharedObject(_SO.data.utmk);
if (_debug.verbose){
_debug.info(("found: " + _utmk.toString()), VisualDebugMode.geek);
};
};
if (_SO.data.utmv){
if (!hasUTMV()){
_createUMTV();
};
_utmv.fromSharedObject(_SO.data.utmv);
if (_debug.verbose){
_debug.info(("found: " + _utmv.toString(true)), VisualDebugMode.geek);
};
if (_utmv.isExpired()){
if (_debug.verbose){
_debug.warning("UTMV has expired", VisualDebugMode.advanced);
};
_clearUTMV();
_local5 = true;
};
};
if (_SO.data.utmz){
if (!hasUTMZ()){
_createUMTZ();
};
_utmz.fromSharedObject(_SO.data.utmz);
if (_debug.verbose){
_debug.info(("found: " + _utmz.toString(true)), VisualDebugMode.geek);
};
if (_utmz.isExpired()){
if (_debug.verbose){
_debug.warning("UTMZ has expired", VisualDebugMode.advanced);
};
_clearUTMZ();
_local5 = true;
};
};
if (_local5){
save();
};
} else {
_OBJ = new Object();
if (_arg4){
for (_local6 in _arg4) {
_OBJ[_local6] = _arg4[_local6];
};
};
};
_volatile = _arg3;
}
public function clearCookies():void{
utma.reset();
utmb.reset();
utmc.reset();
utmz.reset();
utmv.reset();
utmk.reset();
}
public function save():void{
var flushStatus:String;
if (!isVolatile()){
flushStatus = null;
try {
flushStatus = _SO.flush();
} catch(e:Error) {
_debug.warning("Error...Could not write SharedObject to disk");
};
switch (flushStatus){
case SharedObjectFlushStatus.PENDING:
_debug.info("Requesting permission to save object...");
_SO.addEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus);
break;
case SharedObjectFlushStatus.FLUSHED:
_debug.info("Value flushed to disk.");
break;
};
};
}
public function get utmv():UTMV{
if (!hasUTMV()){
_createUMTV();
};
return (_utmv);
}
public function get utmz():UTMZ{
if (!hasUTMZ()){
_createUMTZ();
};
return (_utmz);
}
public function hasUTMA():Boolean{
if (_utma){
return (true);
};
return (false);
}
public function hasUTMB():Boolean{
if (_utmb){
return (true);
};
return (false);
}
public function hasUTMC():Boolean{
if (_utmc){
return (true);
};
return (false);
}
public function isGenuine():Boolean{
if (!hasUTMK()){
return (true);
};
return ((utmk.hash == generateCookiesHash()));
}
public function resetCurrentSession():void{
_clearUTMB();
_clearUTMC();
save();
}
public function hasUTMK():Boolean{
if (_utmk){
return (true);
};
return (false);
}
public function generateCookiesHash():Number{
var _local1 = "";
_local1 = (_local1 + utma.valueOf());
_local1 = (_local1 + utmb.valueOf());
_local1 = (_local1 + utmc.valueOf());
_local1 = (_local1 + utmz.valueOf());
_local1 = (_local1 + utmv.valueOf());
return (Utils.generateHash(_local1));
}
private function _createUMTB():void{
_utmb = new UTMB();
_utmb.proxy = this;
}
private function _createUMTC():void{
_utmc = new UTMC();
}
private function _createUMTA():void{
_utma = new UTMA();
_utma.proxy = this;
}
public function hasUTMV():Boolean{
if (_utmv){
return (true);
};
return (false);
}
private function _createUMTK():void{
_utmk = new UTMK();
_utmk.proxy = this;
}
public function hasUTMZ():Boolean{
if (_utmz){
return (true);
};
return (false);
}
private function _createUMTV():void{
_utmv = new UTMV();
_utmv.proxy = this;
}
private function _onFlushStatus(_arg1:NetStatusEvent):void{
_debug.info("User closed permission dialog...");
switch (_arg1.info.code){
case "SharedObject.Flush.Success":
_debug.info("User granted permission -- value saved.");
break;
case "SharedObject.Flush.Failed":
_debug.info("User denied permission -- value not saved.");
break;
};
_SO.removeEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus);
}
private function _createUMTZ():void{
_utmz = new UTMZ();
_utmz.proxy = this;
}
public function updateUTMA(_arg1:Number):void{
if (_debug.verbose){
_debug.info((("updateUTMA( " + _arg1) + " )"), VisualDebugMode.advanced);
};
if (!utma.isEmpty()){
if (isNaN(utma.sessionCount)){
utma.sessionCount = 1;
} else {
utma.sessionCount = (utma.sessionCount + 1);
};
utma.lastTime = utma.currentTime;
utma.currentTime = _arg1;
};
}
private function _clearUTMA():void{
_utma = null;
if (!isVolatile()){
_SO.data.utma = null;
delete _SO.data.utma;
};
}
private function _clearUTMC():void{
_utmc = null;
}
private function _clearUTMB():void{
_utmb = null;
if (!isVolatile()){
_SO.data.utmb = null;
delete _SO.data.utmb;
};
}
public function update(_arg1:String, _arg2):void{
if (isVolatile()){
_OBJ[_arg1] = _arg2;
} else {
_SO.data[_arg1] = _arg2;
};
}
private function _clearUTMZ():void{
_utmz = null;
if (!isVolatile()){
_SO.data.utmz = null;
delete _SO.data.utmz;
};
}
private function _clearUTMV():void{
_utmv = null;
if (!isVolatile()){
_SO.data.utmv = null;
delete _SO.data.utmv;
};
}
public function isVolatile():Boolean{
return (_volatile);
}
public function get utma():UTMA{
if (!hasUTMA()){
_createUMTA();
};
return (_utma);
}
public function get utmb():UTMB{
if (!hasUTMB()){
_createUMTB();
};
return (_utmb);
}
public function get utmc():UTMC{
if (!hasUTMC()){
_createUMTC();
};
return (_utmc);
}
public function get utmk():UTMK{
if (!hasUTMK()){
_createUMTK();
};
return (_utmk);
}
}
}//package com.google.analytics.core
Section 221
//DocumentInfo (com.google.analytics.core.DocumentInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
public class DocumentInfo {
private var _config:Configuration;
private var _utmr:String;
private var _adSense:AdSenseGlobals;
private var _info:Environment;
private var _pageURL:String;
public function DocumentInfo(_arg1:Configuration, _arg2:Environment, _arg3:String, _arg4:String=null, _arg5:AdSenseGlobals=null){
_config = _arg1;
_info = _arg2;
_utmr = _arg3;
_pageURL = _arg4;
_adSense = _arg5;
}
public function get utmr():String{
if (!_utmr){
return ("-");
};
return (_utmr);
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
private function _renderPageURL(_arg1:String=""):String{
var _local2:String;
var _local3:String;
_local2 = _info.locationPath;
_local3 = _info.locationSearch;
if (((!(_arg1)) || ((_arg1 == "")))){
_arg1 = (_local2 + unescape(_local3));
};
return (_arg1);
}
public function get utmp():String{
return (_renderPageURL(_pageURL));
}
private function _generateHitId():Number{
var _local1:Number;
if (((_adSense.hid) && (!((_adSense.hid == ""))))){
_local1 = Number(_adSense.hid);
} else {
_local1 = Math.round((Math.random() * 2147483647));
_adSense.hid = String(_local1);
};
return (_local1);
}
public function get utmhid():String{
return (String(_generateHitId()));
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
if (((_config.detectTitle) && (!((utmdt == ""))))){
_local1.utmdt = utmdt;
};
_local1.utmhid = utmhid;
_local1.utmr = utmr;
_local1.utmp = utmp;
return (_local1);
}
public function get utmdt():String{
return (_info.documentTitle);
}
}
}//package com.google.analytics.core
Section 222
//Domain (com.google.analytics.core.Domain)
package com.google.analytics.core {
import com.google.analytics.debug.*;
public class Domain {
private var _mode:DomainNameMode;
private var _debug:DebugConfiguration;
private var _name:String;
public function Domain(_arg1:DomainNameMode=null, _arg2:String="", _arg3:DebugConfiguration=null){
_debug = _arg3;
if (_arg1 == null){
_arg1 = DomainNameMode.auto;
};
_mode = _arg1;
if (_arg1 == DomainNameMode.custom){
this.name = _arg2;
} else {
_name = _arg2;
};
}
public function get mode():DomainNameMode{
return (_mode);
}
public function set mode(_arg1:DomainNameMode):void{
_mode = _arg1;
if (_mode == DomainNameMode.none){
_name = "";
};
}
public function get name():String{
return (_name);
}
public function set name(_arg1:String):void{
if (((!((_arg1.charAt(0) == "."))) && (_debug))){
_debug.warning(("missing leading period \".\", cookie will only be accessible on " + _arg1), VisualDebugMode.geek);
};
_name = _arg1;
}
}
}//package com.google.analytics.core
Section 223
//DomainNameMode (com.google.analytics.core.DomainNameMode)
package com.google.analytics.core {
public class DomainNameMode {
private var _value:int;
private var _name:String;
public static const custom:DomainNameMode = new DomainNameMode(2, "custom");
;
public static const none:DomainNameMode = new DomainNameMode(0, "none");
;
public static const auto:DomainNameMode = new DomainNameMode(1, "auto");
;
public function DomainNameMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 224
//EventInfo (com.google.analytics.core.EventInfo)
package com.google.analytics.core {
import com.google.analytics.data.*;
import com.google.analytics.utils.*;
public class EventInfo {
private var _isEventHit:Boolean;
private var _ext10:X10;
private var _x10:X10;
public function EventInfo(_arg1:Boolean, _arg2:X10, _arg3:X10=null){
_isEventHit = _arg1;
_x10 = _arg2;
_ext10 = _arg3;
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function get utmt():String{
return ("event");
}
public function get utme():String{
return (_x10.renderMergedUrlString(_ext10));
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
if (_isEventHit){
_local1.utmt = utmt;
};
_local1.utme = utme;
return (_local1);
}
}
}//package com.google.analytics.core
Section 225
//EventTracker (com.google.analytics.core.EventTracker)
package com.google.analytics.core {
import com.google.analytics.v4.*;
public class EventTracker {
private var _parent:GoogleAnalyticsAPI;
public var name:String;
public function EventTracker(_arg1:String, _arg2:GoogleAnalyticsAPI){
this.name = _arg1;
_parent = _arg2;
}
public function trackEvent(_arg1:String, _arg2:String=null, _arg3:Number=NaN):Boolean{
return (_parent.trackEvent(name, _arg1, _arg2, _arg3));
}
}
}//package com.google.analytics.core
Section 226
//ga_internal (com.google.analytics.core.ga_internal)
package com.google.analytics.core {
public namespace ga_internal;
}//package com.google.analytics.core
Section 227
//GIFRequest (com.google.analytics.core.GIFRequest)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import flash.system.*;
public class GIFRequest {
private var _info:Environment;
private var _count:int;
private var _utmac:String;
private var _alertcount:int;
private var _debug:DebugConfiguration;
private var _lastRequest:URLRequest;
private var _buffer:Buffer;
private var _config:Configuration;
private var _requests:Array;
public function GIFRequest(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Environment){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_info = _arg4;
_count = 0;
_alertcount = 0;
_requests = [];
}
public function get utmn():String{
return ((Utils.generate32bitRandom() as String));
}
public function onIOError(_arg1:IOErrorEvent):void{
var _local2:String = _lastRequest.url;
var _local3:String = String((_requests.length - 1));
var _local4 = (("Gif Request #" + _local3) + " failed");
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local2.indexOf("?") > -1){
_local2 = _local2.split("?")[0];
};
_local2 = _shortenURL(_local2);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local4 = (_local4 + ((" \"" + _local2) + "\" does not exists or is unreachable"));
};
_debug.failure(_local4);
} else {
_debug.warning(_local4);
};
_removeListeners(_arg1.target);
}
public function send(_arg1:String, _arg2:Variables=null, _arg3:Boolean=false, _arg4:Boolean=false):void{
var _local5:String;
var _local6:URLRequest;
var _local7:URLRequest;
_utmac = _arg1;
if (!_arg2){
_arg2 = new Variables();
};
_arg2.URIencode = false;
_arg2.pre = ["utmwv", "utmn", "utmhn", "utmt", "utme", "utmcs", "utmsr", "utmsc", "utmul", "utmje", "utmfl", "utmdt", "utmhid", "utmr", "utmp"];
_arg2.post = ["utmcc"];
if (_debug.verbose){
_debug.info(((("tracking: " + _buffer.utmb.trackCount) + "/") + _config.trackingLimitPerSession), VisualDebugMode.geek);
};
if ((((_buffer.utmb.trackCount < _config.trackingLimitPerSession)) || (_arg3))){
if (_arg4){
updateToken();
};
if (((((_arg3) || (!(_arg4)))) || ((_buffer.utmb.token >= 1)))){
if (((!(_arg3)) && (_arg4))){
_buffer.utmb.token = (_buffer.utmb.token - 1);
};
_buffer.utmb.trackCount = (_buffer.utmb.trackCount + 1);
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
};
_arg2.utmwv = utmwv;
_arg2.utmn = Utils.generate32bitRandom();
if (_info.domainName != ""){
_arg2.utmhn = _info.domainName;
};
if (_config.sampleRate < 1){
_arg2.utmsp = (_config.sampleRate * 100);
};
if ((((_config.serverMode == ServerOperationMode.local)) || ((_config.serverMode == ServerOperationMode.both)))){
_local5 = _info.locationSWFPath;
if (_local5.lastIndexOf("/") > 0){
_local5 = _local5.substring(0, _local5.lastIndexOf("/"));
};
_local6 = new URLRequest();
if (_config.localGIFpath.indexOf("http") == 0){
_local6.url = _config.localGIFpath;
} else {
_local6.url = (_local5 + _config.localGIFpath);
};
_local6.url = (_local6.url + ("?" + _arg2.toString()));
if (((_debug.active) && (_debug.GIFRequests))){
_debugSend(_local6);
} else {
sendRequest(_local6);
};
};
if ((((_config.serverMode == ServerOperationMode.remote)) || ((_config.serverMode == ServerOperationMode.both)))){
_local7 = new URLRequest();
if (_info.protocol == Protocols.HTTPS){
_local7.url = _config.secureRemoteGIFpath;
} else {
if (_info.protocol == Protocols.HTTP){
_local7.url = _config.remoteGIFpath;
} else {
_local7.url = _config.remoteGIFpath;
};
};
_arg2.utmac = utmac;
_arg2.utmcc = encodeURIComponent(utmcc);
_local7.url = (_local7.url + ("?" + _arg2.toString()));
if (((_debug.active) && (_debug.GIFRequests))){
_debugSend(_local7);
} else {
sendRequest(_local7);
};
};
};
};
}
public function onSecurityError(_arg1:SecurityErrorEvent):void{
if (_debug.GIFRequests){
_debug.failure(_arg1.text);
};
}
public function get utmsp():String{
return (((_config.sampleRate * 100) as String));
}
public function get utmcc():String{
var _local1:Array = [];
if (_buffer.hasUTMA()){
_local1.push((_buffer.utma.toURLString() + ";"));
};
if (_buffer.hasUTMZ()){
_local1.push((_buffer.utmz.toURLString() + ";"));
};
if (_buffer.hasUTMV()){
_local1.push((_buffer.utmv.toURLString() + ";"));
};
return (_local1.join("+"));
}
public function get utmac():String{
return (_utmac);
}
public function get utmwv():String{
return (_config.version);
}
public function sendRequest(_arg1:URLRequest):void{
var request = _arg1;
var loader:Loader = new Loader();
loader.name = String(_count++);
var context:LoaderContext = new LoaderContext(false);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
_lastRequest = request;
_requests[loader.name] = new RequestObject(request);
try {
loader.load(request, context);
} catch(e:Error) {
_debug.failure("\"Loader.load()\" could not instanciate Gif Request");
};
}
private function _removeListeners(_arg1:Object):void{
_arg1.removeEventListener(IOErrorEvent.IO_ERROR, onIOError);
_arg1.removeEventListener(Event.COMPLETE, onComplete);
}
public function updateToken():void{
var _local2:Number;
var _local1:Number = new Date().getTime();
_local2 = ((_local1 - _buffer.utmb.lastTime) * (_config.tokenRate / 1000));
if (_debug.verbose){
_debug.info(("tokenDelta: " + _local2), VisualDebugMode.geek);
};
if (_local2 >= 1){
_buffer.utmb.token = Math.min(Math.floor((_buffer.utmb.token + _local2)), _config.bucketCapacity);
_buffer.utmb.lastTime = _local1;
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
};
};
}
public function get utmhn():String{
return (_info.domainName);
}
private function _shortenURL(_arg1:String):String{
var _local2:Array;
if (_arg1.length > 60){
_local2 = _arg1.split("/");
while (_arg1.length > 60) {
_local2.shift();
_arg1 = ("../" + _local2.join("/"));
};
};
return (_arg1);
}
private function _debugSend(_arg1:URLRequest):void{
var _local3:String;
var _local2 = "";
switch (_debug.mode){
case VisualDebugMode.geek:
_local2 = ((("Gif Request #" + _alertcount) + ":\n") + _arg1.url);
break;
case VisualDebugMode.advanced:
_local3 = _arg1.url;
if (_local3.indexOf("?") > -1){
_local3 = _local3.split("?")[0];
};
_local3 = _shortenURL(_local3);
_local2 = (((("Send Gif Request #" + _alertcount) + ":\n") + _local3) + " ?");
break;
case VisualDebugMode.basic:
default:
_local2 = (((("Send " + _config.serverMode.toString()) + " Gif Request #") + _alertcount) + " ?");
};
_debug.alertGifRequest(_local2, _arg1, this);
_alertcount++;
}
public function onComplete(_arg1:Event):void{
var _local2:String = _arg1.target.loader.name;
_requests[_local2].complete();
var _local3 = (("Gif Request #" + _local2) + " sent");
var _local4:String = _requests[_local2].request.url;
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local4.indexOf("?") > -1){
_local4 = _local4.split("?")[0];
};
_local4 = _shortenURL(_local4);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local3 = (_local3 + ((" to \"" + _local4) + "\""));
};
_debug.success(_local3);
} else {
_debug.info(_local3);
};
_removeListeners(_arg1.target);
}
}
}//package com.google.analytics.core
Section 228
//IdleTimer (com.google.analytics.core.IdleTimer)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class IdleTimer {
private var _loop:Timer;
private var _stage:Stage;
private var _lastMove:int;
private var _debug:DebugConfiguration;
private var _session:Timer;
private var _inactivity:Number;
private var _buffer:Buffer;
public function IdleTimer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:DisplayObject, _arg4:Buffer){
var _local5:Number;
var _local6:Number;
var _local7:Number;
super();
_local5 = _arg1.idleLoop;
_local6 = _arg1.idleTimeout;
_local7 = _arg1.sessionTimeout;
_loop = new Timer((_local5 * 1000));
_session = new Timer((_local7 * 1000), 1);
_debug = _arg2;
_stage = _arg3.stage;
_buffer = _arg4;
_lastMove = getTimer();
_inactivity = (_local6 * 1000);
_loop.addEventListener(TimerEvent.TIMER, checkForIdle);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
_debug.info(((((("delay: " + _local5) + "sec , inactivity: ") + _local6) + "sec, sessionTimeout: ") + _local7), VisualDebugMode.geek);
_loop.start();
}
private function onMouseMove(_arg1:MouseEvent):void{
_lastMove = getTimer();
if (_session.running){
_debug.info("session timer reset", VisualDebugMode.geek);
_session.reset();
};
}
public function endSession(_arg1:TimerEvent):void{
_session.removeEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_debug.info("session timer end session", VisualDebugMode.geek);
_session.reset();
_buffer.resetCurrentSession();
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.geek);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
}
public function checkForIdle(_arg1:TimerEvent):void{
var _local2:int;
_local2 = getTimer();
if ((_local2 - _lastMove) >= _inactivity){
if (!_session.running){
_debug.info("session timer start", VisualDebugMode.geek);
_session.start();
};
};
}
}
}//package com.google.analytics.core
Section 229
//Organic (com.google.analytics.core.Organic)
package com.google.analytics.core {
import com.google.analytics.utils.*;
public class Organic {
private var _sourcesCache:Array;
private var _sourcesEngine:Array;
private var _ignoredKeywords:Array;
private var _ignoredReferralsCache:Object;
private var _ignoredReferrals:Array;
private var _ignoredKeywordsCache:Object;
private var _sources:Array;
public static var throwErrors:Boolean = false;
public function Organic(){
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
_ignoredReferrals = [];
_ignoredReferralsCache = {};
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function getKeywordValue(_arg1:OrganicReferrer, _arg2:String):String{
var _local3:String;
_local3 = _arg1.keyword;
return (getKeywordValueFromPath(_local3, _arg2));
}
public function isIgnoredKeyword(_arg1:String):Boolean{
if (_ignoredKeywordsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function isIgnoredReferral(_arg1:String):Boolean{
if (_ignoredReferralsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function clear():void{
clearEngines();
clearIgnoredReferrals();
clearIgnoredKeywords();
}
public function get ignoredKeywordsCount():int{
return (_ignoredKeywords.length);
}
public function match(_arg1:String):Boolean{
if (_arg1 == ""){
return (false);
};
_arg1 = _arg1.toLowerCase();
if (_sourcesEngine[_arg1] != undefined){
return (true);
};
return (false);
}
public function get count():int{
return (_sources.length);
}
public function addSource(_arg1:String, _arg2:String):void{
var _local3:OrganicReferrer;
_local3 = new OrganicReferrer(_arg1, _arg2);
if (_sourcesCache[_local3.toString()] == undefined){
_sources.push(_local3);
_sourcesCache[_local3.toString()] = (_sources.length - 1);
if (_sourcesEngine[_local3.engine] == undefined){
_sourcesEngine[_local3.engine] = [(_sources.length - 1)];
} else {
_sourcesEngine[_local3.engine].push((_sources.length - 1));
};
} else {
if (throwErrors){
throw (new Error((_local3.toString() + " already exists, we don't add it.")));
};
};
}
public function clearIgnoredKeywords():void{
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function clearEngines():void{
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
}
public function get ignoredReferralsCount():int{
return (_ignoredReferrals.length);
}
public function addIgnoredReferral(_arg1:String):void{
if (_ignoredReferralsCache[_arg1] == undefined){
_ignoredReferrals.push(_arg1);
_ignoredReferralsCache[_arg1] = (_ignoredReferrals.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function clearIgnoredReferrals():void{
_ignoredReferrals = [];
_ignoredReferralsCache = {};
}
public function getReferrerByName(_arg1:String):OrganicReferrer{
var _local2:int;
if (match(_arg1)){
_local2 = _sourcesEngine[_arg1][0];
return (_sources[_local2]);
};
return (null);
}
public function addIgnoredKeyword(_arg1:String):void{
if (_ignoredKeywordsCache[_arg1] == undefined){
_ignoredKeywords.push(_arg1);
_ignoredKeywordsCache[_arg1] = (_ignoredKeywords.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function get sources():Array{
return (_sources);
}
public static function getKeywordValueFromPath(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Variables;
if (_arg2.indexOf((_arg1 + "=")) > -1){
if (_arg2.charAt(0) == "?"){
_arg2 = _arg2.substr(1);
};
_arg2 = _arg2.split("+").join("%20");
_local4 = new Variables(_arg2);
_local3 = _local4[_arg1];
};
return (_local3);
}
}
}//package com.google.analytics.core
Section 230
//OrganicReferrer (com.google.analytics.core.OrganicReferrer)
package com.google.analytics.core {
public class OrganicReferrer {
private var _engine:String;
private var _keyword:String;
public function OrganicReferrer(_arg1:String, _arg2:String){
this.engine = _arg1;
this.keyword = _arg2;
}
public function set engine(_arg1:String):void{
_engine = _arg1.toLowerCase();
}
public function get keyword():String{
return (_keyword);
}
public function toString():String{
return (((engine + "?") + keyword));
}
public function get engine():String{
return (_engine);
}
public function set keyword(_arg1:String):void{
_keyword = _arg1.toLowerCase();
}
}
}//package com.google.analytics.core
Section 231
//RequestObject (com.google.analytics.core.RequestObject)
package com.google.analytics.core {
import flash.net.*;
import flash.utils.*;
public class RequestObject {
public var start:int;
public var request:URLRequest;
public var end:int;
public function RequestObject(_arg1:URLRequest){
start = getTimer();
this.request = _arg1;
}
public function toString():String{
var _local1:Array;
_local1 = [];
_local1.push((("duration: " + duration) + "ms"));
_local1.push(("url: " + request.url));
return ((("{ " + _local1.join(", ")) + " }"));
}
public function get duration():int{
if (!hasCompleted()){
return (0);
};
return ((end - start));
}
public function hasCompleted():Boolean{
return ((end > 0));
}
public function complete():void{
end = getTimer();
}
}
}//package com.google.analytics.core
Section 232
//ServerOperationMode (com.google.analytics.core.ServerOperationMode)
package com.google.analytics.core {
public class ServerOperationMode {
private var _value:int;
private var _name:String;
public static const both:ServerOperationMode = new ServerOperationMode(2, "both");
;
public static const remote:ServerOperationMode = new ServerOperationMode(1, "remote");
;
public static const local:ServerOperationMode = new ServerOperationMode(0, "local");
;
public function ServerOperationMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 233
//TrackerCache (com.google.analytics.core.TrackerCache)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import flash.errors.*;
public class TrackerCache implements GoogleAnalyticsAPI {
public var tracker:GoogleAnalyticsAPI;
private var _ar:Array;
public static var CACHE_THROW_ERROR:Boolean;
public function TrackerCache(_arg1:GoogleAnalyticsAPI=null){
this.tracker = _arg1;
_ar = [];
}
public function size():uint{
return (_ar.length);
}
public function flush():void{
var _local1:Object;
var _local2:String;
var _local3:Array;
var _local4:int;
var _local5:int;
if (tracker == null){
return;
};
if (size() > 0){
_local4 = _ar.length;
while (_local5 < _local4) {
_local1 = _ar.shift();
_local2 = (_local1.name as String);
_local3 = (_local1.args as Array);
if (((!((_local2 == null))) && ((_local2 in tracker)))){
(tracker[_local2] as Function).apply(tracker, _local3);
};
_local5++;
};
};
}
public function enqueue(_arg1:String, ... _args):Boolean{
if (_arg1 == null){
return (false);
};
_ar.push({name:_arg1, args:_args});
return (true);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
enqueue("link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
enqueue("addOrganic", _arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
enqueue("setAllowLinker", _arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
enqueue("trackEvent", _arg1, _arg2, _arg3, _arg4);
return (true);
}
public function getClientInfo():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getClientInfo' method for the moment."));
};
return (false);
}
public function trackTrans():void{
enqueue("trackTrans");
}
public function trackPageview(_arg1:String=""):void{
enqueue("trackPageview", _arg1);
}
public function setClientInfo(_arg1:Boolean):void{
enqueue("setClientInfo", _arg1);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
enqueue("linkByPost", _arg1, _arg2);
}
public function setCookieTimeout(_arg1:int):void{
enqueue("setCookieTimeout", _arg1);
}
public function isEmpty():Boolean{
return ((_ar.length == 0));
}
public function getDetectTitle():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectTitle' method for the moment."));
};
return (false);
}
public function resetSession():void{
enqueue("resetSession");
}
public function setDetectFlash(_arg1:Boolean):void{
enqueue("setDetectFlash", _arg1);
}
public function clear():void{
_ar = [];
}
public function setCampNameKey(_arg1:String):void{
enqueue("setCampNameKey", _arg1);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
enqueue("addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function createEventTracker(_arg1:String):EventTracker{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'createEventTracker' method for the moment."));
};
return (null);
}
public function setVar(_arg1:String):void{
enqueue("setVar", _arg1);
}
public function clearIgnoredOrganic():void{
enqueue("clearIgnoredOrganic");
}
public function setDomainName(_arg1:String):void{
enqueue("setDomainName", _arg1);
}
public function setCampSourceKey(_arg1:String):void{
enqueue("setCampSourceKey", _arg1);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'addTrans' method for the moment."));
};
return (null);
}
public function setCampContentKey(_arg1:String):void{
enqueue("setCampContentKey", _arg1);
}
public function setLocalServerMode():void{
enqueue("setLocalServerMode");
}
public function getLocalGifPath():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getLocalGifPath' method for the moment."));
};
return ("");
}
public function setAllowAnchor(_arg1:Boolean):void{
enqueue("setAllowAnchor", _arg1);
}
public function clearIgnoredRef():void{
enqueue("clearIgnoredRef");
}
public function setLocalGifPath(_arg1:String):void{
enqueue("setLocalGifPath", _arg1);
}
public function getVersion():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getVersion' method for the moment."));
};
return ("");
}
public function setCookiePath(_arg1:String):void{
enqueue("setCookiePath", _arg1);
}
public function setSampleRate(_arg1:Number):void{
enqueue("setSampleRate", _arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
enqueue("setDetectTitle", _arg1);
}
public function setAllowHash(_arg1:Boolean):void{
enqueue("setAllowHash", _arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
enqueue("addIgnoredOrganic", _arg1);
}
public function setCampNOKey(_arg1:String):void{
enqueue("setCampNOKey", _arg1);
}
public function getServiceMode():ServerOperationMode{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getServiceMode' method for the moment."));
};
return (null);
}
public function setLocalRemoteServerMode():void{
enqueue("setLocalRemoteServerMode");
}
public function cookiePathCopy(_arg1:String):void{
enqueue("cookiePathCopy", _arg1);
}
public function getDetectFlash():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectFlash' method for the moment."));
};
return (false);
}
public function setCampaignTrack(_arg1:Boolean):void{
enqueue("setCampaignTrack", _arg1);
}
public function clearOrganic():void{
enqueue("clearOrganic");
}
public function setCampTermKey(_arg1:String):void{
enqueue("setCampTermKey", _arg1);
}
public function addIgnoredRef(_arg1:String):void{
enqueue("addIgnoredRef", _arg1);
}
public function setCampMediumKey(_arg1:String):void{
enqueue("setCampMediumKey", _arg1);
}
public function setSessionTimeout(_arg1:int):void{
enqueue("setSessionTimeout", _arg1);
}
public function setRemoteServerMode():void{
enqueue("setRemoteServerMode");
}
public function element(){
return (_ar[0]);
}
public function getAccount():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getAccount' method for the moment."));
};
return ("");
}
}
}//package com.google.analytics.core
Section 234
//TrackerMode (com.google.analytics.core.TrackerMode)
package com.google.analytics.core {
public class TrackerMode {
public static const BRIDGE:String = "Bridge";
public static const AS3:String = "AS3";
}
}//package com.google.analytics.core
Section 235
//Utils (com.google.analytics.core.Utils)
package com.google.analytics.core {
public class Utils {
public static function trim(_arg1:String, _arg2:Boolean=false):String{
var _local3:Array;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:int;
if (_arg1 == ""){
return ("");
};
_local3 = [" ", "\n", "\r", "\t"];
_local4 = _arg1;
if (_arg2){
_local5 = 0;
while ((((_local5 < _local3.length)) && ((_local4.indexOf(_local3[_local5]) > -1)))) {
_local4 = _local4.split(_local3[_local5]).join("");
_local5++;
};
} else {
_local6 = 0;
while ((((_local6 < _local4.length)) && ((_local3.indexOf(_local4.charAt(_local6)) > -1)))) {
_local6++;
};
_local4 = _local4.substr(_local6);
_local7 = (_local4.length - 1);
while ((((_local7 >= 0)) && ((_local3.indexOf(_local4.charAt(_local7)) > -1)))) {
_local7--;
};
_local4 = _local4.substring(0, (_local7 + 1));
};
return (_local4);
}
public static function generateHash(_arg1:String):int{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
_local2 = 1;
_local3 = 0;
if (((!((_arg1 == null))) && (!((_arg1 == ""))))){
_local2 = 0;
_local4 = (_arg1.length - 1);
while (_local4 >= 0) {
_local5 = _arg1.charCodeAt(_local4);
_local2 = ((((_local2 << 6) & 268435455) + _local5) + (_local5 << 14));
_local3 = (_local2 & 266338304);
if (_local3 != 0){
_local2 = (_local2 ^ (_local3 >> 21));
};
_local4--;
};
};
return (_local2);
}
public static function generate32bitRandom():int{
return (Math.round((Math.random() * 2147483647)));
}
public static function validateAccount(_arg1:String):Boolean{
var _local2:RegExp;
_local2 = /^UA-[0-9]*-[0-9]*$/;
return (_local2.test(_arg1));
}
}
}//package com.google.analytics.core
Section 236
//Cookie (com.google.analytics.data.Cookie)
package com.google.analytics.data {
public interface Cookie {
function fromSharedObject(_arg1:Object):void;
function toURLString():String;
function get creation():Date;
function toSharedObject():Object;
function isExpired():Boolean;
function set creation(_arg1:Date):void;
function set expiration(_arg1:Date):void;
function get expiration():Date;
}
}//package com.google.analytics.data
Section 237
//UTMA (com.google.analytics.data.UTMA)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMA extends UTMCookie {
private var _sessionId:Number;
private var _domainHash:Number;
private var _firstTime:Number;
private var _currentTime:Number;
private var _lastTime:Number;
private var _sessionCount:Number;
public function UTMA(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:Number=NaN, _arg6:Number=NaN){
super("utma", "__utma", ["domainHash", "sessionId", "firstTime", "lastTime", "currentTime", "sessionCount"], (Timespan.twoyears * 1000));
this.domainHash = _arg1;
this.sessionId = _arg2;
this.firstTime = _arg3;
this.lastTime = _arg4;
this.currentTime = _arg5;
this.sessionCount = _arg6;
}
public function get lastTime():Number{
return (_lastTime);
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function set currentTime(_arg1:Number):void{
_currentTime = _arg1;
update();
}
public function get sessionId():Number{
return (_sessionId);
}
public function get sessionCount():Number{
return (_sessionCount);
}
public function get firstTime():Number{
return (_firstTime);
}
public function get currentTime():Number{
return (_currentTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set sessionId(_arg1:Number):void{
_sessionId = _arg1;
update();
}
public function set sessionCount(_arg1:Number):void{
_sessionCount = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function set firstTime(_arg1:Number):void{
_firstTime = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 238
//UTMB (com.google.analytics.data.UTMB)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMB extends UTMCookie {
private var _trackCount:Number;
private var _lastTime:Number;
private var _domainHash:Number;
private var _token:Number;
public static var defaultTimespan:Number = Timespan.thirtyminutes;
public function UTMB(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN){
super("utmb", "__utmb", ["domainHash", "trackCount", "token", "lastTime"], (defaultTimespan * 1000));
this.domainHash = _arg1;
this.trackCount = _arg2;
this.token = _arg3;
this.lastTime = _arg4;
}
public function set token(_arg1:Number):void{
_token = _arg1;
update();
}
public function set trackCount(_arg1:Number):void{
_trackCount = _arg1;
update();
}
public function get lastTime():Number{
return (_lastTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function get token():Number{
return (_token);
}
public function get trackCount():Number{
return (_trackCount);
}
}
}//package com.google.analytics.data
Section 239
//UTMC (com.google.analytics.data.UTMC)
package com.google.analytics.data {
public class UTMC extends UTMCookie {
private var _domainHash:Number;
public function UTMC(_arg1:Number=NaN){
super("utmc", "__utmc", ["domainHash"]);
this.domainHash = _arg1;
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
}
}//package com.google.analytics.data
Section 240
//UTMCookie (com.google.analytics.data.UTMCookie)
package com.google.analytics.data {
import com.google.analytics.core.*;
public class UTMCookie implements Cookie {
protected var inURL:String;
protected var name:String;
private var _creation:Date;
private var _expiration:Date;
public var proxy:Buffer;
private var _timespan:Number;
protected var fields:Array;
public function UTMCookie(_arg1:String, _arg2:String, _arg3:Array, _arg4:Number=0){
this.name = _arg1;
this.inURL = _arg2;
this.fields = _arg3;
_timestamp(_arg4);
}
public function isEmpty():Boolean{
var _local1:int;
var _local2:String;
var _local3:int;
_local1 = 0;
_local3 = 0;
while (_local3 < fields.length) {
_local2 = fields[_local3];
if ((((this[_local2] is Number)) && (isNaN(this[_local2])))){
_local1++;
} else {
if ((((this[_local2] is String)) && ((this[_local2] == "")))){
_local1++;
};
};
_local3++;
};
if (_local1 == fields.length){
return (true);
};
return (false);
}
protected function update():void{
resetTimestamp();
if (proxy){
proxy.update(name, toSharedObject());
};
}
public function fromSharedObject(_arg1:Object):void{
var _local2:String;
var _local3:int;
var _local4:int;
_local3 = fields.length;
_local4 = 0;
while (_local4 < _local3) {
_local2 = fields[_local4];
if (_arg1[_local2]){
this[_local2] = _arg1[_local2];
};
_local4++;
};
if (_arg1.creation){
this.creation = _arg1.creation;
};
if (_arg1.expiration){
this.expiration = _arg1.expiration;
};
}
private function _timestamp(_arg1:Number):void{
creation = new Date();
_timespan = _arg1;
if (_arg1 > 0){
expiration = new Date((creation.valueOf() + _arg1));
};
}
public function isExpired():Boolean{
var _local1:Date;
var _local2:Number;
_local1 = new Date();
_local2 = (expiration.valueOf() - _local1.valueOf());
if (_local2 <= 0){
return (true);
};
return (false);
}
public function set expiration(_arg1:Date):void{
_expiration = _arg1;
}
public function get creation():Date{
return (_creation);
}
public function reset():void{
var _local1:String;
var _local2:int;
_local2 = 0;
while (_local2 < fields.length) {
_local1 = fields[_local2];
if ((this[_local1] is Number)){
this[_local1] = NaN;
} else {
if ((this[_local1] is String)){
this[_local1] = "";
};
};
_local2++;
};
resetTimestamp();
update();
}
public function valueOf():String{
var _local1:Array;
var _local2:String;
var _local3:*;
var _local4:int;
_local1 = [];
_local4 = 0;
while (_local4 < fields.length) {
_local2 = fields[_local4];
_local3 = this[_local2];
if ((_local3 is String)){
if (_local3 == ""){
_local3 = "-";
_local1.push(_local3);
} else {
_local1.push(_local3);
};
} else {
if ((_local3 is Number)){
if (_local3 == 0){
_local1.push(_local3);
} else {
if (isNaN(_local3)){
_local3 = "-";
_local1.push(_local3);
} else {
_local1.push(_local3);
};
};
};
};
_local4++;
};
return (("" + _local1.join(".")));
}
public function resetTimestamp(_arg1:Number=NaN):void{
if (!isNaN(_arg1)){
_timespan = _arg1;
};
_creation = null;
_expiration = null;
_timestamp(_timespan);
}
public function get expiration():Date{
if (_expiration){
return (_expiration);
};
return (new Date((new Date().valueOf() + 1000)));
}
public function toURLString():String{
return (((inURL + "=") + valueOf()));
}
public function toSharedObject():Object{
var _local1:Object;
var _local2:String;
var _local3:*;
var _local4:int;
_local1 = {};
_local4 = 0;
for (;_local4 < fields.length;_local4++) {
_local2 = fields[_local4];
_local3 = this[_local2];
if ((_local3 is String)){
_local1[_local2] = _local3;
} else {
if (_local3 == 0){
_local1[_local2] = _local3;
} else {
if (isNaN(_local3)){
continue;
} else {
_local1[_local2] = _local3;
};
};
};
};
_local1.creation = creation;
_local1.expiration = expiration;
return (_local1);
}
public function toString(_arg1:Boolean=false):String{
var _local2:Array;
var _local3:String;
var _local4:*;
var _local5:int;
var _local6:int;
var _local7:String;
_local2 = [];
_local5 = fields.length;
_local6 = 0;
for (;_local6 < _local5;_local6++) {
_local3 = fields[_local6];
_local4 = this[_local3];
if ((_local4 is String)){
_local2.push((((_local3 + ": \"") + _local4) + "\""));
} else {
if (_local4 == 0){
_local2.push(((_local3 + ": ") + _local4));
} else {
if (isNaN(_local4)){
continue;
} else {
_local2.push(((_local3 + ": ") + _local4));
};
};
};
};
_local7 = (((name.toUpperCase() + " {") + _local2.join(", ")) + "}");
if (_arg1){
_local7 = (_local7 + (((" creation:" + creation) + ", expiration:") + expiration));
};
return (_local7);
}
public function set creation(_arg1:Date):void{
_creation = _arg1;
}
}
}//package com.google.analytics.data
Section 241
//UTMK (com.google.analytics.data.UTMK)
package com.google.analytics.data {
public class UTMK extends UTMCookie {
private var _hash:Number;
public function UTMK(_arg1:Number=NaN){
super("utmk", "__utmk", ["hash"]);
this.hash = _arg1;
}
public function set hash(_arg1:Number):void{
_hash = _arg1;
update();
}
public function get hash():Number{
return (_hash);
}
}
}//package com.google.analytics.data
Section 242
//UTMV (com.google.analytics.data.UTMV)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMV extends UTMCookie {
private var _domainHash:Number;
private var _value:String;
public function UTMV(_arg1:Number=NaN, _arg2:String=""){
super("utmv", "__utmv", ["domainHash", "value"], (Timespan.twoyears * 1000));
this.domainHash = _arg1;
this.value = _arg2;
}
override public function toURLString():String{
return (((inURL + "=") + encodeURI(valueOf())));
}
public function get value():String{
return (_value);
}
public function get domainHash():Number{
return (_domainHash);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set value(_arg1:String):void{
_value = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 243
//UTMZ (com.google.analytics.data.UTMZ)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMZ extends UTMCookie {
private var _campaignTracking:String;
private var _campaignCreation:Number;
private var _responseCount:Number;
private var _domainHash:Number;
private var _campaignSessions:Number;
public static var defaultTimespan:Number = Timespan.sixmonths;
public function UTMZ(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:String=""){
super("utmz", "__utmz", ["domainHash", "campaignCreation", "campaignSessions", "responseCount", "campaignTracking"], (defaultTimespan * 1000));
this.domainHash = _arg1;
this.campaignCreation = _arg2;
this.campaignSessions = _arg3;
this.responseCount = _arg4;
this.campaignTracking = _arg5;
}
public function set responseCount(_arg1:Number):void{
_responseCount = _arg1;
update();
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set campaignCreation(_arg1:Number):void{
_campaignCreation = _arg1;
update();
}
public function get campaignTracking():String{
return (_campaignTracking);
}
public function get campaignSessions():Number{
return (_campaignSessions);
}
public function get domainHash():Number{
return (_domainHash);
}
public function get responseCount():Number{
return (_responseCount);
}
public function get campaignCreation():Number{
return (_campaignCreation);
}
public function set campaignSessions(_arg1:Number):void{
_campaignSessions = _arg1;
update();
}
public function set campaignTracking(_arg1:String):void{
_campaignTracking = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 244
//X10 (com.google.analytics.data.X10)
package com.google.analytics.data {
public class X10 {
private var _delimEnd:String;// = ")"
private var _delimSet:String;// = "*"
private var _escapeChar:String;// = "'"
private var _delimBegin:String;// = "("
private var _delimNumValue:String;// = "!"
private var _key:String;// = "k"
private var _set:Array;
private var _projectData:Object;
private var _hasData:int;
private var _escapeCharMap:Object;
private var _minimum:int;
private var _value:String;// = "v"
public function X10(){
_key = "k";
_value = "v";
_set = [_key, _value];
_delimBegin = "(";
_delimEnd = ")";
_delimSet = "*";
_delimNumValue = "!";
_escapeChar = "'";
super();
_projectData = {};
_escapeCharMap = {};
_escapeCharMap[_escapeChar] = "'0";
_escapeCharMap[_delimEnd] = "'1";
_escapeCharMap[_delimSet] = "'2";
_escapeCharMap[_delimNumValue] = "'3";
_minimum = 1;
}
private function _clearInternal(_arg1:Number, _arg2:String):void{
var _local3:Boolean;
var _local4:int;
var _local5:int;
if (((hasProject(_arg1)) && (!((_projectData[_arg1][_arg2] == undefined))))){
_projectData[_arg1][_arg2] = undefined;
_local3 = true;
_local5 = _set.length;
_local4 = 0;
while (_local4 < _local5) {
if (_projectData[_arg1][_set[_local4]] != undefined){
_local3 = false;
break;
};
_local4++;
};
if (_local3){
_projectData[_arg1] = undefined;
_hasData = (_hasData - 1);
};
};
}
public function hasData():Boolean{
return ((_hasData > 0));
}
private function _setInternal(_arg1:Number, _arg2:String, _arg3:Number, _arg4:String):void{
if (!hasProject(_arg1)){
_projectData[_arg1] = {};
};
if (_projectData[_arg1][_arg2] == undefined){
_projectData[_arg1][_arg2] = [];
};
_projectData[_arg1][_arg2][_arg3] = _arg4;
_hasData = (_hasData + 1);
}
public function hasProject(_arg1:Number):Boolean{
return (_projectData[_arg1]);
}
public function clearKey(_arg1:Number):void{
_clearInternal(_arg1, _key);
}
private function _renderDataType(_arg1:Array):String{
var _local2:Array;
var _local3:String;
var _local4:int;
_local2 = [];
_local4 = 0;
while (_local4 < _arg1.length) {
if (_arg1[_local4] != undefined){
_local3 = "";
if (((!((_local4 == _minimum))) && ((_arg1[(_local4 - 1)] == undefined)))){
_local3 = (_local3 + _local4.toString());
_local3 = (_local3 + _delimNumValue);
};
_local3 = (_local3 + _escapeExtensibleValue(_arg1[_local4]));
_local2.push(_local3);
};
_local4++;
};
return (((_delimBegin + _local2.join(_delimSet)) + _delimEnd));
}
public function getKey(_arg1:Number, _arg2:Number):String{
return ((_getInternal(_arg1, _key, _arg2) as String));
}
public function clearValue(_arg1:Number):void{
_clearInternal(_arg1, _value);
}
public function renderMergedUrlString(_arg1:X10=null):String{
var _local2:Array;
var _local3:String;
if (!_arg1){
return (renderUrlString());
};
_local2 = [_arg1.renderUrlString()];
for (_local3 in _projectData) {
if (((hasProject(Number(_local3))) && (!(_arg1.hasProject(Number(_local3)))))){
_local2.push((_local3 + _renderProject(_projectData[_local3])));
};
};
return (_local2.join(""));
}
public function setValue(_arg1:Number, _arg2:Number, _arg3:Number):Boolean{
if (((((!((Math.round(_arg3) == _arg3))) || (isNaN(_arg3)))) || ((_arg3 == Infinity)))){
return (false);
};
_setInternal(_arg1, _value, _arg2, _arg3.toString());
return (true);
}
public function renderUrlString():String{
var _local1:Array;
var _local2:String;
_local1 = [];
for (_local2 in _projectData) {
if (hasProject(Number(_local2))){
_local1.push((_local2 + _renderProject(_projectData[_local2])));
};
};
return (_local1.join(""));
}
private function _getInternal(_arg1:Number, _arg2:String, _arg3:Number):Object{
if (((hasProject(_arg1)) && (!((_projectData[_arg1][_arg2] == undefined))))){
return (_projectData[_arg1][_arg2][_arg3]);
};
return (undefined);
}
public function setKey(_arg1:Number, _arg2:Number, _arg3:String):Boolean{
_setInternal(_arg1, _key, _arg2, _arg3);
return (true);
}
public function getValue(_arg1:Number, _arg2:Number){
var _local3:*;
_local3 = _getInternal(_arg1, _value, _arg2);
if (_local3 == null){
return (null);
};
return (Number(_local3));
}
private function _renderProject(_arg1:Object):String{
var _local2:String;
var _local3:Boolean;
var _local4:int;
var _local5:Array;
var _local6:int;
_local2 = "";
_local3 = false;
_local6 = _set.length;
_local4 = 0;
while (_local4 < _local6) {
_local5 = _arg1[_set[_local4]];
if (_local5){
if (_local3){
_local2 = (_local2 + _set[_local4]);
};
_local2 = (_local2 + _renderDataType(_local5));
_local3 = false;
} else {
_local3 = true;
};
_local4++;
};
return (_local2);
}
private function _escapeExtensibleValue(_arg1:String):String{
var _local2:String;
var _local3:int;
var _local4:String;
var _local5:String;
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local4 = _arg1.charAt(_local3);
_local5 = _escapeCharMap[_local4];
if (_local5){
_local2 = (_local2 + _local5);
} else {
_local2 = (_local2 + _local4);
};
_local3++;
};
return (_local2);
}
}
}//package com.google.analytics.data
Section 245
//_Style (com.google.analytics.debug._Style)
package com.google.analytics.debug {
import flash.net.*;
import flash.text.*;
public class _Style {
public var borderColor:uint;
public var backgroundColor:uint;
private var _sheet:StyleSheet;
public var roundedCorner:uint;
public var alertColor:uint;
public var infoColor:uint;
public var successColor:uint;
private var _loader:URLLoader;
public var failureColor:uint;
private var _defaultSheet:String;
public var warningColor:uint;
public function _Style(){
_sheet = new StyleSheet();
_loader = new URLLoader();
_init();
}
private function _parseSheet(_arg1:String):void{
_sheet.parseCSS(_arg1);
}
public function get sheet():StyleSheet{
return (_sheet);
}
private function _init():void{
_defaultSheet = "";
_defaultSheet = (_defaultSheet + "a{text-decoration: underline;}\n");
_defaultSheet = (_defaultSheet + ".uiLabel{color: #000000;font-family: Arial;font-size: 12;margin-left: 2;margin-right: 2;}\n");
_defaultSheet = (_defaultSheet + ".uiWarning{color: #ffffff;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlert{color: #ffffff;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiInfo{color: #000000;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiSuccess{color: #ffffff;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiFailure{color: #ffffff;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlertAction{color: #ffffff;text-align: center;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlertTitle{color: #ffffff;font-family: Arial;font-size: 16;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + "\n");
roundedCorner = 6;
backgroundColor = 0xCCCCCC;
borderColor = 0x555555;
infoColor = 16777113;
alertColor = 0xFFCC00;
warningColor = 0xCC0000;
successColor = 0xFF00;
failureColor = 0xFF0000;
_parseSheet(_defaultSheet);
}
}
}//package com.google.analytics.debug
Section 246
//Alert (com.google.analytics.debug.Alert)
package com.google.analytics.debug {
import flash.events.*;
public class Alert extends Label {
public var actionOnNextLine:Boolean;// = true
public var autoClose:Boolean;// = true
private var _actions:Array;
public function Alert(_arg1:String, _arg2:Array, _arg3:String="uiAlert", _arg4:uint=0, _arg5:Align=null, _arg6:Boolean=false, _arg7:Boolean=true){
var _local8:int;
autoClose = true;
actionOnNextLine = true;
if (_arg4 == 0){
_arg4 = Style.alertColor;
};
if (_arg5 == null){
_arg5 = Align.center;
};
super(_arg1, _arg3, _arg4, _arg5, _arg6);
this.selectable = true;
super.mouseChildren = true;
this.buttonMode = true;
this.mouseEnabled = true;
this.useHandCursor = true;
this.actionOnNextLine = _arg7;
_actions = [];
_local8 = 0;
while (_local8 < _arg2.length) {
_arg2[_local8].container = this;
_actions.push(_arg2[_local8]);
_local8++;
};
}
protected function getAction(_arg1:String):AlertAction{
var _local2:int;
_local2 = 0;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (_actions[_local2]);
};
_local2++;
};
return (null);
}
override protected function layout():void{
super.layout();
_defineActions();
}
protected function spaces(_arg1:int):String{
var _local2:String;
var _local3:String;
var _local4:int;
_local2 = "";
_local3 = " ";
_local4 = 0;
while (_local4 < (_arg1 + 1)) {
_local2 = (_local2 + _local3);
_local4++;
};
return (_local2);
}
override public function onLink(_arg1:TextEvent):void{
var _local2:AlertAction;
if (isValidAction(_arg1.text)){
_local2 = getAction(_arg1.text);
if (_local2){
_local2.execute();
};
};
if (autoClose){
close();
};
}
protected function isValidAction(_arg1:String):Boolean{
var _local2:int;
_local2 = 0;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (true);
};
_local2++;
};
return (false);
}
private function _defineActions():void{
var _local1:String;
var _local2:Array;
var _local3:AlertAction;
var _local4:int;
_local1 = "";
if (actionOnNextLine){
_local1 = (_local1 + "\n");
} else {
_local1 = (_local1 + " |");
};
_local1 = (_local1 + " ");
_local2 = [];
_local4 = 0;
while (_local4 < _actions.length) {
_local3 = _actions[_local4];
_local2.push((((("<a href=\"event:" + _local3.activator) + "\">") + _local3.name) + "</a>"));
_local4++;
};
_local1 = (_local1 + _local2.join(" | "));
appendText(_local1, "uiAlertAction");
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 247
//AlertAction (com.google.analytics.debug.AlertAction)
package com.google.analytics.debug {
public class AlertAction {
public var container:Alert;
private var _callback;
public var name:String;
public var activator:String;
public function AlertAction(_arg1:String, _arg2:String, _arg3){
this.name = _arg1;
this.activator = _arg2;
_callback = _arg3;
}
public function execute():void{
if (_callback){
if ((_callback is Function)){
(_callback as Function)();
} else {
if ((_callback is String)){
var _local1 = container;
_local1[_callback]();
};
};
};
}
}
}//package com.google.analytics.debug
Section 248
//Align (com.google.analytics.debug.Align)
package com.google.analytics.debug {
public class Align {
private var _value:int;
private var _name:String;
public static const bottomRight:Align = new Align(18, "bottomRight");
;
public static const right:Align = new Align(16, "right");
;
public static const left:Align = new Align(32, "left");
;
public static const topRight:Align = new Align(17, "topRight");
;
public static const bottom:Align = new Align(2, "bottom");
;
public static const bottomLeft:Align = new Align(34, "bottomLeft");
;
public static const topLeft:Align = new Align(33, "topLeft");
;
public static const center:Align = new Align(0x0100, "center");
;
public static const none:Align = new Align(0, "none");
;
public static const top:Align = new Align(1, "top");
;
public function Align(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 249
//Background (com.google.analytics.debug.Background)
package com.google.analytics.debug {
import flash.display.*;
public class Background {
public static function drawRounded(_arg1, _arg2:Graphics, _arg3:uint=0, _arg4:uint=0):void{
var _local5:uint;
var _local6:uint;
var _local7:uint;
_local7 = Style.roundedCorner;
if ((((_arg3 > 0)) && ((_arg4 > 0)))){
_local5 = _arg3;
_local6 = _arg4;
} else {
_local5 = _arg1.width;
_local6 = _arg1.height;
};
if (((_arg1.stickToEdge) && (!((_arg1.alignement == Align.none))))){
switch (_arg1.alignement){
case Align.top:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, _local7, _local7);
break;
case Align.topLeft:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, 0, _local7);
break;
case Align.topRight:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, _local7, 0);
break;
case Align.bottom:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, _local7, 0, 0);
break;
case Align.bottomLeft:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, _local7, 0, 0);
break;
case Align.bottomRight:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, 0, 0, 0);
break;
case Align.left:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, _local7, 0, _local7);
break;
case Align.right:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, 0, _local7, 0);
break;
case Align.center:
_arg2.drawRoundRect(0, 0, _local5, _local6, _local7, _local7);
break;
};
} else {
_arg2.drawRoundRect(0, 0, _local5, _local6, _local7, _local7);
};
}
}
}//package com.google.analytics.debug
Section 250
//Debug (com.google.analytics.debug.Debug)
package com.google.analytics.debug {
import flash.events.*;
import flash.ui.*;
public class Debug extends Label {
private var _lines:Array;
private var _preferredForcedWidth:uint;// = 540
private var _linediff:int;// = 0
public var maxLines:uint;// = 16
public static var count:uint = 0;
public function Debug(_arg1:uint=0, _arg2:Align=null, _arg3:Boolean=false){
if (_arg2 == null){
_arg2 = Align.bottom;
};
super("", "uiLabel", _arg1, _arg2, _arg3);
this.name = ("Debug" + count++);
_lines = [];
selectable = true;
addEventListener(KeyboardEvent.KEY_DOWN, onKey);
}
public function writeBold(_arg1:String):void{
write(_arg1, true);
}
private function _getLinesToDisplay(_arg1:int=0):Array{
var _local2:Array;
var _local3:uint;
var _local4:uint;
if ((_lines.length - 1) > maxLines){
if ((_linediff <= 0)){
_linediff = (_linediff + _arg1);
} else {
if ((((_linediff > 0)) && ((_arg1 < 0)))){
_linediff = (_linediff + _arg1);
};
};
_local3 = ((_lines.length - maxLines) + _linediff);
_local4 = (_local3 + maxLines);
_local2 = _lines.slice(_local3, _local4);
} else {
_local2 = _lines;
};
return (_local2);
}
private function onKey(_arg1:KeyboardEvent=null):void{
var _local2:Array;
switch (_arg1.keyCode){
case Keyboard.DOWN:
_local2 = _getLinesToDisplay(1);
break;
case Keyboard.UP:
_local2 = _getLinesToDisplay(-1);
break;
default:
_local2 = null;
};
if (_local2 == null){
return;
};
text = _local2.join("\n");
}
override public function get forcedWidth():uint{
if (this.parent){
if (UISprite(this.parent).forcedWidth > _preferredForcedWidth){
return (_preferredForcedWidth);
};
return (UISprite(this.parent).forcedWidth);
//unresolved jump
};
return (super.forcedWidth);
}
public function write(_arg1:String, _arg2:Boolean=false):void{
var _local3:Array;
if (_arg1.indexOf("") > -1){
_local3 = _arg1.split("\n");
} else {
_local3 = [_arg1];
};
var _local4 = "";
var _local5 = "";
if (_arg2){
_local4 = "<b>";
_local5 = "</b>";
};
var _local6:int;
while (_local6 < _local3.length) {
_lines.push(((_local4 + _local3[_local6]) + _local5));
_local6++;
};
var _local7:Array = _getLinesToDisplay();
text = _local7.join("\n");
}
public function close():void{
dispose();
}
override protected function dispose():void{
removeEventListener(KeyboardEvent.KEY_DOWN, onKey);
super.dispose();
}
}
}//package com.google.analytics.debug
Section 251
//DebugConfiguration (com.google.analytics.debug.DebugConfiguration)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
public class DebugConfiguration {
public var showHideKey:Number;
private var _mode:VisualDebugMode;
private var _verbose:Boolean;// = false
public var destroyKey:Number;
public var GIFRequests:Boolean;// = false
public var showInfos:Boolean;// = true
public var infoTimeout:Number;// = 1000
public var minimizedOnStart:Boolean;// = false
private var _active:Boolean;// = false
public var traceOutput:Boolean;// = false
public var layout:ILayout;
public var warningTimeout:Number;// = 1500
public var javascript:Boolean;// = false
public var showWarnings:Boolean;// = true
private var _visualInitialized:Boolean;// = false
public function DebugConfiguration(){
_mode = VisualDebugMode.basic;
showHideKey = Keyboard.SPACE;
destroyKey = Keyboard.BACKSPACE;
super();
}
public function get verbose():Boolean{
return (_verbose);
}
public function set verbose(_arg1:Boolean):void{
_verbose = _arg1;
}
public function set mode(_arg1):void{
if ((_arg1 is String)){
switch (_arg1){
case "geek":
_arg1 = VisualDebugMode.geek;
break;
case "advanced":
_arg1 = VisualDebugMode.advanced;
break;
case "basic":
default:
_arg1 = VisualDebugMode.basic;
};
};
_mode = _arg1;
}
public function success(_arg1:String):void{
if (layout){
layout.createSuccessAlert(_arg1);
};
if (traceOutput){
trace((("[+] " + _arg1) + " !!"));
};
}
public function get active():Boolean{
return (_active);
}
private function _initializeVisual():void{
if (layout){
layout.init();
_visualInitialized = true;
};
}
private function _destroyVisual():void{
if (((layout) && (_visualInitialized))){
layout.destroy();
};
}
public function warning(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showWarnings))){
layout.createWarning(_arg1);
};
if (traceOutput){
trace((("## " + _arg1) + " ##"));
};
}
private function _filter(_arg1:VisualDebugMode=null):Boolean{
return (((_arg1) && ((int(_arg1) >= int(this.mode)))));
}
public function failure(_arg1:String):void{
if (layout){
layout.createFailureAlert(_arg1);
};
if (traceOutput){
trace((("[-] " + _arg1) + " !!"));
};
}
public function get mode(){
return (_mode);
}
public function set active(_arg1:Boolean):void{
_active = _arg1;
if (_active){
_initializeVisual();
} else {
_destroyVisual();
};
}
protected function trace(_arg1:String):void{
var _local7:Array;
var _local8:int;
var _local2:Array = [];
var _local3 = "";
var _local4 = "";
if (this.mode == VisualDebugMode.geek){
_local3 = (getTimer() + " - ");
_local4 = (new Array(_local3.length).join(" ") + " ");
};
if (_arg1.indexOf("\n") > -1){
_local7 = _arg1.split("\n");
_local8 = 0;
while (_local8 < _local7.length) {
if (_local7[_local8] == ""){
} else {
if (_local8 == 0){
_local2.push((_local3 + _local7[_local8]));
} else {
_local2.push((_local4 + _local7[_local8]));
};
};
_local8++;
};
} else {
_local2.push((_local3 + _arg1));
};
var _local5:int = _local2.length;
var _local6:int;
while (_local6 < _local5) {
trace(_local2[_local6]);
_local6++;
};
}
public function alert(_arg1:String):void{
if (layout){
layout.createAlert(_arg1);
};
if (traceOutput){
trace((("!! " + _arg1) + " !!"));
};
}
public function info(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showInfos))){
layout.createInfo(_arg1);
};
if (traceOutput){
trace(_arg1);
};
}
public function alertGifRequest(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
if (layout){
layout.createGIFRequestAlert(_arg1, _arg2, _arg3);
};
if (traceOutput){
trace(((">> " + _arg1) + " <<"));
};
}
}
}//package com.google.analytics.debug
Section 252
//FailureAlert (com.google.analytics.debug.FailureAlert)
package com.google.analytics.debug {
public class FailureAlert extends Alert {
public function FailureAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align;
var _local5:Boolean;
var _local6:Boolean;
_local4 = Align.bottomLeft;
_local5 = true;
_local6 = false;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Failure</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiFailure", Style.failureColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 253
//GIFRequestAlert (com.google.analytics.debug.GIFRequestAlert)
package com.google.analytics.debug {
public class GIFRequestAlert extends Alert {
public function GIFRequestAlert(_arg1:String, _arg2:Array){
super(_arg1, _arg2);
}
}
}//package com.google.analytics.debug
Section 254
//ILayout (com.google.analytics.debug.ILayout)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.display.*;
public interface ILayout {
function createWarning(_arg1:String):void;
function addToStage(_arg1:DisplayObject):void;
function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void;
function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void;
function createInfo(_arg1:String):void;
function createFailureAlert(_arg1:String):void;
function addToPanel(_arg1:String, _arg2:DisplayObject):void;
function init():void;
function createSuccessAlert(_arg1:String):void;
function createVisualDebug():void;
function createAlert(_arg1:String):void;
function destroy():void;
function bringToFront(_arg1:DisplayObject):void;
function isAvailable():Boolean;
}
}//package com.google.analytics.debug
Section 255
//Info (com.google.analytics.debug.Info)
package com.google.analytics.debug {
import flash.events.*;
import flash.utils.*;
public class Info extends Label {
private var _timer:Timer;
public function Info(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiInfo", Style.infoColor, Align.top, true);
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 256
//Label (com.google.analytics.debug.Label)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class Label extends UISprite {
private var _color:uint;
private var _background:Shape;
private var _textField:TextField;
public var stickToEdge:Boolean;
private var _text:String;
protected var selectable:Boolean;
private var _tag:String;
public static var count:uint = 0;
public function Label(_arg1:String="", _arg2:String="uiLabel", _arg3:uint=0, _arg4:Align=null, _arg5:Boolean=false){
this.name = ("Label" + count++);
selectable = false;
_background = new Shape();
_textField = new TextField();
_text = _arg1;
_tag = _arg2;
if (_arg4 == null){
_arg4 = Align.none;
};
this.alignement = _arg4;
this.stickToEdge = _arg5;
if (_arg3 == 0){
_arg3 = Style.backgroundColor;
};
_color = _arg3;
_textField.addEventListener(TextEvent.LINK, onLink);
}
public function get tag():String{
return (_tag);
}
private function _draw():void{
var _local1:Graphics = _background.graphics;
_local1.clear();
_local1.beginFill(_color);
var _local2:uint = _textField.width;
var _local3:uint = _textField.height;
if (forcedWidth > 0){
_local2 = forcedWidth;
};
Background.drawRounded(this, _local1, _local2, _local3);
_local1.endFill();
}
public function get text():String{
return (_textField.text);
}
public function appendText(_arg1:String, _arg2:String=""):void{
if (_arg1 == ""){
return;
};
if (_arg2 == ""){
_arg2 = tag;
};
_textField.htmlText = (_textField.htmlText + (((("<span class=\"" + _arg2) + "\">") + _arg1) + "</span>"));
_text = (_text + _arg1);
_draw();
resize();
}
public function set text(_arg1:String):void{
if (_arg1 == ""){
_arg1 = _text;
};
_textField.htmlText = (((("<span class=\"" + tag) + "\">") + _arg1) + "</span>");
_text = _arg1;
_draw();
resize();
}
override protected function layout():void{
_textField.type = TextFieldType.DYNAMIC;
_textField.autoSize = TextFieldAutoSize.LEFT;
_textField.background = false;
_textField.selectable = selectable;
_textField.multiline = true;
_textField.styleSheet = Style.sheet;
this.text = _text;
addChild(_background);
addChild(_textField);
}
public function set tag(_arg1:String):void{
_tag = _arg1;
text = "";
}
public function onLink(_arg1:TextEvent):void{
}
override protected function dispose():void{
_textField.removeEventListener(TextEvent.LINK, onLink);
super.dispose();
}
}
}//package com.google.analytics.debug
Section 257
//Layout (com.google.analytics.debug.Layout)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.*;
public class Layout implements ILayout {
private var _display:DisplayObject;
private var _infoQueue:Array;
private var _maxCharPerLine:int;// = 85
private var _hasInfo:Boolean;
private var _warningQueue:Array;
private var _hasDebug:Boolean;
private var _hasWarning:Boolean;
private var _mainPanel:Panel;
private var _GRAlertQueue:Array;
private var _debug:DebugConfiguration;
public var visualDebug:Debug;
private var _hasGRAlert:Boolean;
public function Layout(_arg1:DebugConfiguration, _arg2:DisplayObject){
_display = _arg2;
_debug = _arg1;
_hasWarning = false;
_hasInfo = false;
_hasDebug = false;
_hasGRAlert = false;
_warningQueue = [];
_infoQueue = [];
_GRAlertQueue = [];
}
private function onKey(_arg1:KeyboardEvent=null):void{
switch (_arg1.keyCode){
case _debug.showHideKey:
_mainPanel.visible = !(_mainPanel.visible);
break;
case _debug.destroyKey:
destroy();
break;
};
}
public function createWarning(_arg1:String):void{
if (((_hasWarning) || (!(isAvailable())))){
_warningQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasWarning = true;
var _local2:Warning = new Warning(_arg1, _debug.warningTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearWarning, false, 0, true);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function bringToFront(_arg1:DisplayObject):void{
_display.stage.setChildIndex(_arg1, (_display.stage.numChildren - 1));
}
public function createFailureAlert(_arg1:String):void{
var _local2:AlertAction;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
var _local3:Alert = new FailureAlert(_debug, _arg1, [_local2]);
addToPanel("analytics", _local3);
if (_hasDebug){
if (_debug.verbose){
_arg1 = _arg1.split("\n").join("");
_arg1 = _filterMaxChars(_arg1, 66);
};
visualDebug.writeBold(_arg1);
};
}
public function init():void{
var _local1 = 10;
var _local2:uint = (_display.stage.stageWidth - (_local1 * 2));
var _local3:uint = (_display.stage.stageHeight - (_local1 * 2));
var _local4:Panel = new Panel("analytics", _local2, _local3);
_local4.alignement = Align.top;
_local4.stickToEdge = false;
_local4.title = ("Google Analytics v" + GATracker.version);
_mainPanel = _local4;
addToStage(_local4);
bringToFront(_local4);
if (_debug.minimizedOnStart){
_mainPanel.onToggle();
};
createVisualDebug();
_display.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKey, false, 0, true);
}
public function addToPanel(_arg1:String, _arg2:DisplayObject):void{
var _local4:Panel;
var _local3:DisplayObject = _display.stage.getChildByName(_arg1);
if (_local3){
_local4 = (_local3 as Panel);
_local4.addData(_arg2);
} else {
trace((("panel \"" + _arg1) + "\" not found"));
};
}
private function _clearInfo(_arg1:Event):void{
_hasInfo = false;
if (_infoQueue.length > 0){
createInfo(_infoQueue.shift());
};
}
private function _filterMaxChars(_arg1:String, _arg2:int=0):String{
var _local6:String;
var _local3 = "\n";
var _local4:Array = [];
var _local5:Array = _arg1.split(_local3);
if (_arg2 == 0){
_arg2 = _maxCharPerLine;
};
var _local7:int;
while (_local7 < _local5.length) {
_local6 = _local5[_local7];
while (_local6.length > _arg2) {
_local4.push(_local6.substr(0, _arg2));
_local6 = _local6.substring(_arg2);
};
_local4.push(_local6);
_local7++;
};
return (_local4.join(_local3));
}
private function _clearGRAlert(_arg1:Event):void{
_hasGRAlert = false;
if (_GRAlertQueue.length > 0){
createGIFRequestAlert.apply(this, _GRAlertQueue.shift());
};
}
public function createSuccessAlert(_arg1:String):void{
var _local2:AlertAction;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
var _local3:Alert = new SuccessAlert(_debug, _arg1, [_local2]);
addToPanel("analytics", _local3);
if (_hasDebug){
if (_debug.verbose){
_arg1 = _arg1.split("\n").join("");
_arg1 = _filterMaxChars(_arg1, 66);
};
visualDebug.writeBold(_arg1);
};
}
public function isAvailable():Boolean{
return (!((_display.stage == null)));
}
public function createAlert(_arg1:String):void{
_arg1 = _filterMaxChars(_arg1);
var _local2:Alert = new Alert(_arg1, [new AlertAction("Close", "close", "close")]);
addToPanel("analytics", _local2);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function createInfo(_arg1:String):void{
if (((_hasInfo) || (!(isAvailable())))){
_infoQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasInfo = true;
var _local2:Info = new Info(_arg1, _debug.infoTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearInfo, false, 0, true);
if (_hasDebug){
visualDebug.write(_arg1);
};
}
public function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
var message = _arg1;
var request = _arg2;
var ref = _arg3;
if (_hasGRAlert){
_GRAlertQueue.push([message, request, ref]);
return;
};
_hasGRAlert = true;
var f:Function = function ():void{
ref.sendRequest(request);
};
message = _filterMaxChars(message);
var gra:GIFRequestAlert = new GIFRequestAlert(message, [new AlertAction("OK", "ok", f), new AlertAction("Cancel", "cancel", "close")]);
addToPanel("analytics", gra);
gra.addEventListener(Event.REMOVED_FROM_STAGE, _clearGRAlert, false, 0, true);
if (_hasDebug){
if (_debug.verbose){
message = message.split("\n").join("");
message = _filterMaxChars(message, 66);
};
visualDebug.write(message);
};
}
public function createVisualDebug():void{
if (!visualDebug){
visualDebug = new Debug();
visualDebug.alignement = Align.bottom;
visualDebug.stickToEdge = true;
addToPanel("analytics", visualDebug);
_hasDebug = true;
};
}
public function addToStage(_arg1:DisplayObject):void{
_display.stage.addChild(_arg1);
}
private function _clearWarning(_arg1:Event):void{
_hasWarning = false;
if (_warningQueue.length > 0){
createWarning(_warningQueue.shift());
};
}
public function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void{
var _local4:Panel = new Panel(_arg1, _arg2, _arg3);
_local4.alignement = Align.center;
_local4.stickToEdge = false;
addToStage(_local4);
bringToFront(_local4);
}
public function destroy():void{
_mainPanel.close();
_debug.layout = null;
}
}
}//package com.google.analytics.debug
Section 258
//Margin (com.google.analytics.debug.Margin)
package com.google.analytics.debug {
public class Margin {
public var bottom:int;
public var top:int;
public var right:int;
public var left:int;
public function Margin(_arg1:int=0, _arg2:int=0, _arg3:int=0, _arg4:int=0){
this.top = _arg1;
this.bottom = _arg2;
this.left = _arg3;
this.right = _arg4;
}
}
}//package com.google.analytics.debug
Section 259
//Panel (com.google.analytics.debug.Panel)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class Panel extends UISprite {
private var _savedH:uint;
private var _data:UISprite;
private var _mask:Sprite;
private var _background:Shape;
private var _savedW:uint;
private var _stickToEdge:Boolean;
private var _border:Shape;
private var _borderColor:uint;
protected var baseAlpha:Number;
private var _backgroundColor:uint;
private var _title:Label;
private var _colapsed:Boolean;
private var _name:String;
public function Panel(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint=0, _arg5:uint=0, _arg6:Number=0.3, _arg7:Align=null, _arg8:Boolean=false){
_name = _arg1;
this.name = _arg1;
this.mouseEnabled = false;
_colapsed = false;
forcedWidth = _arg2;
forcedHeight = _arg3;
this.baseAlpha = _arg6;
_background = new Shape();
_data = new UISprite();
_data.forcedWidth = _arg2;
_data.forcedHeight = _arg3;
_data.mouseEnabled = false;
_title = new Label(_arg1, "uiLabel", 0xFFFFFF, Align.topLeft, _arg8);
_title.buttonMode = true;
_title.margin.top = 0.6;
_title.margin.left = 0.6;
_title.addEventListener(MouseEvent.CLICK, onToggle);
_title.mouseChildren = false;
_border = new Shape();
_mask = new Sprite();
_mask.useHandCursor = false;
_mask.mouseEnabled = false;
_mask.mouseChildren = false;
if (_arg7 == null){
_arg7 = Align.none;
};
this.alignement = _arg7;
this.stickToEdge = _arg8;
if (_arg4 == 0){
_arg4 = Style.backgroundColor;
};
_backgroundColor = _arg4;
if (_arg5 == 0){
_arg5 = Style.borderColor;
};
_borderColor = _arg5;
}
public function get stickToEdge():Boolean{
return (_stickToEdge);
}
public function onToggle(_arg1:MouseEvent=null):void{
if (_colapsed){
_data.visible = true;
} else {
_data.visible = false;
};
_colapsed = !(_colapsed);
_update();
resize();
}
public function set stickToEdge(_arg1:Boolean):void{
_stickToEdge = _arg1;
_title.stickToEdge = _arg1;
}
override protected function dispose():void{
_title.removeEventListener(MouseEvent.CLICK, onToggle);
super.dispose();
}
private function _draw():void{
var _local1:uint;
var _local2:uint;
if (((_savedW) && (_savedH))){
forcedWidth = _savedW;
forcedHeight = _savedH;
};
if (!_colapsed){
_local1 = forcedWidth;
_local2 = forcedHeight;
} else {
_local1 = _title.width;
_local2 = _title.height;
_savedW = forcedWidth;
_savedH = forcedHeight;
forcedWidth = _local1;
forcedHeight = _local2;
};
var _local3:Graphics = _background.graphics;
_local3.clear();
_local3.beginFill(_backgroundColor);
Background.drawRounded(this, _local3, _local1, _local2);
_local3.endFill();
var _local4:Graphics = _data.graphics;
_local4.clear();
_local4.beginFill(_backgroundColor, 0);
Background.drawRounded(this, _local4, _local1, _local2);
_local4.endFill();
var _local5:Graphics = _border.graphics;
_local5.clear();
_local5.lineStyle(0.1, _borderColor);
Background.drawRounded(this, _local5, _local1, _local2);
_local5.endFill();
var _local6:Graphics = _mask.graphics;
_local6.clear();
_local6.beginFill(_backgroundColor);
Background.drawRounded(this, _local6, (_local1 + 1), (_local2 + 1));
_local6.endFill();
}
public function get title():String{
return (_title.text);
}
private function _update():void{
_draw();
if (baseAlpha < 1){
_background.alpha = baseAlpha;
_border.alpha = baseAlpha;
};
}
public function addData(_arg1:DisplayObject):void{
_data.addChild(_arg1);
}
override protected function layout():void{
_update();
addChild(_background);
addChild(_data);
addChild(_title);
addChild(_border);
addChild(_mask);
mask = _mask;
}
public function set title(_arg1:String):void{
_title.text = _arg1;
}
public function close():void{
dispose();
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 260
//Style (com.google.analytics.debug.Style)
package com.google.analytics.debug {
public const Style:_Style = new _Style();
}//package com.google.analytics.debug
Section 261
//SuccessAlert (com.google.analytics.debug.SuccessAlert)
package com.google.analytics.debug {
public class SuccessAlert extends Alert {
public function SuccessAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align;
var _local5:Boolean;
var _local6:Boolean;
_local4 = Align.bottomLeft;
_local5 = true;
_local6 = false;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Success</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiSuccess", Style.successColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 262
//UISprite (com.google.analytics.debug.UISprite)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class UISprite extends Sprite {
private var _forcedHeight:uint;
protected var listenResize:Boolean;
public var alignement:Align;
private var _forcedWidth:uint;
public var margin:Margin;
protected var alignTarget:DisplayObject;
public function UISprite(_arg1:DisplayObject=null){
listenResize = false;
alignement = Align.none;
this.alignTarget = _arg1;
margin = new Margin();
addEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
addEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
}
protected function dispose():void{
var _local1:DisplayObject;
var _local2:int;
_local2 = 0;
while (_local2 < numChildren) {
_local1 = getChildAt(_local2);
if (_local1){
removeChild(_local1);
};
_local2++;
};
}
protected function layout():void{
}
public function get forcedHeight():uint{
if (_forcedHeight){
return (_forcedHeight);
};
return (height);
}
public function alignTo(_arg1:Align, _arg2:DisplayObject=null):void{
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:UISprite;
if (_arg2 == null){
if ((parent is Stage)){
_arg2 = this.stage;
} else {
_arg2 = parent;
};
};
if (_arg2 == this.stage){
if (this.stage == null){
return;
};
_local3 = this.stage.stageHeight;
_local4 = this.stage.stageWidth;
_local5 = 0;
_local6 = 0;
} else {
_local7 = (_arg2 as UISprite);
if (_local7.forcedHeight){
_local3 = _local7.forcedHeight;
} else {
_local3 = _local7.height;
};
if (_local7.forcedWidth){
_local4 = _local7.forcedWidth;
} else {
_local4 = _local7.width;
};
_local5 = 0;
_local6 = 0;
};
switch (_arg1){
case Align.top:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (_local6 + margin.top);
break;
case Align.bottom:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.left:
x = (_local5 + margin.left);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.right:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.center:
x = ((_local4 / 2) - (forcedWidth / 2));
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.topLeft:
x = (_local5 + margin.left);
y = (_local6 + margin.top);
break;
case Align.topRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (_local6 + margin.top);
break;
case Align.bottomLeft:
x = (_local5 + margin.left);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.bottomRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
};
if (((!(listenResize)) && (!((_arg1 == Align.none))))){
_arg2.addEventListener(Event.RESIZE, onResize, false, 0, true);
listenResize = true;
};
this.alignement = _arg1;
this.alignTarget = _arg2;
}
public function get forcedWidth():uint{
if (_forcedWidth){
return (_forcedWidth);
};
return (width);
}
protected function onResize(_arg1:Event):void{
resize();
}
private function _onRemovedFromStage(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
removeEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
dispose();
}
public function resize():void{
if (alignement != Align.none){
alignTo(alignement, alignTarget);
};
}
private function _onAddedToStage(_arg1:Event):void{
layout();
resize();
}
public function set forcedHeight(_arg1:uint):void{
_forcedHeight = _arg1;
}
public function set forcedWidth(_arg1:uint):void{
_forcedWidth = _arg1;
}
}
}//package com.google.analytics.debug
Section 263
//Warning (com.google.analytics.debug.Warning)
package com.google.analytics.debug {
import flash.events.*;
import flash.utils.*;
public class Warning extends Label {
private var _timer:Timer;
public function Warning(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiWarning", Style.warningColor, Align.top, false);
margin.top = 32;
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 264
//VisualDebugMode (com.google.analytics.debug.VisualDebugMode)
package com.google.analytics.debug {
public class VisualDebugMode {
private var _value:int;
private var _name:String;
public static const advanced:VisualDebugMode = new VisualDebugMode(1, "advanced");
;
public static const geek:VisualDebugMode = new VisualDebugMode(2, "geek");
;
public static const basic:VisualDebugMode = new VisualDebugMode(0, "basic");
;
public function VisualDebugMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 265
//AnalyticsEvent (com.google.analytics.events.AnalyticsEvent)
package com.google.analytics.events {
import flash.events.*;
import com.google.analytics.*;
public class AnalyticsEvent extends Event {
public var tracker:AnalyticsTracker;
public static const READY:String = "ready";
public function AnalyticsEvent(_arg1:String, _arg2:AnalyticsTracker, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.tracker = _arg2;
}
override public function clone():Event{
return (new AnalyticsEvent(type, tracker, bubbles, cancelable));
}
}
}//package com.google.analytics.events
Section 266
//AdSenseGlobals (com.google.analytics.external.AdSenseGlobals)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class AdSenseGlobals extends JavascriptProxy {
private var _gaGlobalVerified:Boolean;// = false
public static var gaGlobal_js:XML = <script>
<![CDATA[
function()
{
try
{
gaGlobal
}
catch(e)
{
gaGlobal = {} ;
}
}
]]>
</script>
;
public function AdSenseGlobals(_arg1:DebugConfiguration){
_gaGlobalVerified = false;
super(_arg1);
}
public function set vid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.vid", _arg1);
}
public function get hid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.hid"));
}
public function get dh():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.dh"));
}
public function get gaGlobal():Object{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal"));
}
public function set hid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.hid", _arg1);
}
public function get sid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.sid"));
}
private function _verify():void{
if (!_gaGlobalVerified){
executeBlock(gaGlobal_js);
_gaGlobalVerified = true;
};
}
public function get vid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.vid"));
}
public function set sid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.sid", _arg1);
}
}
}//package com.google.analytics.external
Section 267
//HTMLDOM (com.google.analytics.external.HTMLDOM)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class HTMLDOM extends JavascriptProxy {
private var _referrer:String;
private var _protocol:String;
private var _host:String;
private var _location:String;
private var _pathname:String;
private var _title:String;
private var _characterSet:String;
private var _search:String;
private var _language:String;
private var _colorDepth:String;
public static var cache_properties_js:XML = <script>
<![CDATA[
function()
{
var obj = {};
obj.host = document.location.host;
obj.language = navigator.language ? navigator.language : navigator.browserLanguage;
obj.characterSet = document.characterSet ? document.characterSet : document.charset;
obj.colorDepth = window.screen.colorDepth;
obj.location = document.location.toString();
obj.pathname = document.location.pathname;
obj.protocol = document.location.protocol;
obj.search = document.location.search;
obj.referrer = document.referrer;
obj.title = document.title;
return obj;
}
]]>
</script>
;
public function HTMLDOM(_arg1:DebugConfiguration){
super(_arg1);
}
public function get search():String{
if (_search){
return (_search);
};
if (!isAvailable()){
return (null);
};
_search = getProperty("document.location.search");
return (_search);
}
public function get location():String{
if (_location){
return (_location);
};
if (!isAvailable()){
return (null);
};
_location = getPropertyString("document.location");
return (_location);
}
public function get pathname():String{
if (_pathname){
return (_pathname);
};
if (!isAvailable()){
return (null);
};
_pathname = getProperty("document.location.pathname");
return (_pathname);
}
public function get referrer():String{
if (_referrer){
return (_referrer);
};
if (!isAvailable()){
return (null);
};
_referrer = getProperty("document.referrer");
return (_referrer);
}
public function get protocol():String{
if (_protocol){
return (_protocol);
};
if (!isAvailable()){
return (null);
};
_protocol = getProperty("document.location.protocol");
return (_protocol);
}
public function cacheProperties():void{
var _local1:Object;
if (!isAvailable()){
return;
};
_local1 = call(cache_properties_js);
if (_local1){
_host = _local1.host;
_language = _local1.language;
_characterSet = _local1.characterSet;
_colorDepth = _local1.colorDepth;
_location = _local1.location;
_pathname = _local1.pathname;
_protocol = _local1.protocol;
_search = _local1.search;
_referrer = _local1.referrer;
_title = _local1.title;
};
}
public function get colorDepth():String{
if (_colorDepth){
return (_colorDepth);
};
if (!isAvailable()){
return (null);
};
_colorDepth = getProperty("window.screen.colorDepth");
return (_colorDepth);
}
public function get title():String{
if (_title){
return (_title);
};
if (!isAvailable()){
return (null);
};
_title = getProperty("document.title");
return (_title);
}
public function get host():String{
if (_host){
return (_host);
};
if (!isAvailable()){
return (null);
};
_host = getProperty("document.location.host");
return (_host);
}
public function get characterSet():String{
var _local1:String;
if (_characterSet){
return (_characterSet);
};
if (!isAvailable()){
return (null);
};
_local1 = getProperty("document.characterSet");
if (_local1 == null){
_local1 = getProperty("document.charset");
};
_characterSet = _local1;
return (_characterSet);
}
public function get language():String{
var _local1:String;
if (_language){
return (_language);
};
if (!isAvailable()){
return (null);
};
_local1 = getProperty("navigator.language");
if (_local1 == null){
_local1 = getProperty("navigator.browserLanguage");
};
_language = _local1;
return (_language);
}
}
}//package com.google.analytics.external
Section 268
//JavascriptProxy (com.google.analytics.external.JavascriptProxy)
package com.google.analytics.external {
import com.google.analytics.debug.*;
import flash.external.*;
import flash.system.*;
public class JavascriptProxy {
private var _notAvailableWarning:Boolean;// = true
private var _debug:DebugConfiguration;
public static var setProperty_js:XML = <script>
<![CDATA[
function( path , value )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
target[ prop ] = value ;
}
]]>
</script>
;
public static var hasProperty_js:XML = <script>
<![CDATA[
function( path )
{
var paths;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
}
else
{
paths = [path];
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
if( target )
{
return true;
}
else
{
return false;
}
}
]]>
</script>
;
public static var setPropertyRef_js:XML = <script>
<![CDATA[
function( path , target )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
alert( "paths:"+paths.length+", prop:"+prop );
var targets;
var name;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
alert( "targets:"+targets.length+", name:"+name );
var root = window;
var len = paths.length;
for( var i = 0 ; i < len ; i++ )
{
root = root[ paths[i] ] ;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
root[ prop ] = ref[name] ;
}
]]>
</script>
;
public function JavascriptProxy(_arg1:DebugConfiguration){
_notAvailableWarning = true;
super();
_debug = _arg1;
}
public function getProperty(_arg1:String){
return (call((_arg1 + ".valueOf")));
}
public function hasProperty(_arg1:String):Boolean{
return (call(hasProperty_js, _arg1));
}
public function setProperty(_arg1:String, _arg2):void{
call(setProperty_js, _arg1, _arg2);
}
public function executeBlock(_arg1:String):void{
var data = _arg1;
if (isAvailable()){
try {
ExternalInterface.call(data);
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
}
public function getPropertyString(_arg1:String):String{
return (call((_arg1 + ".toString")));
}
public function setPropertyByReference(_arg1:String, _arg2:String):void{
call(setPropertyRef_js, _arg1, _arg2);
}
public function call(_arg1:String, ... _args){
var output:String;
var functionName = _arg1;
var args = _args;
if (isAvailable()){
try {
if (((_debug.javascript) && (_debug.verbose))){
output = "";
output = ("Flash->JS: " + functionName);
output = (output + "( ");
if (args.length > 0){
output = (output + args.join(","));
};
output = (output + " )");
_debug.info(output);
};
args.unshift(functionName);
return (ExternalInterface.call.apply(ExternalInterface, args));
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
return (null);
}
public function isAvailable():Boolean{
var _local1:Boolean;
_local1 = ExternalInterface.available;
if (((_local1) && ((Capabilities.playerType == "External")))){
_local1 = false;
};
if (((((!(_local1)) && (_debug.javascript))) && (_notAvailableWarning))){
_debug.warning("ExternalInterface is not available.");
_notAvailableWarning = false;
};
return (_local1);
}
}
}//package com.google.analytics.external
Section 269
//Environment (com.google.analytics.utils.Environment)
package com.google.analytics.utils {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
import flash.system.*;
public class Environment {
private var _dom:HTMLDOM;
private var _appName:String;
private var _debug:DebugConfiguration;
private var _appVersion:Version;
private var _url:String;
private var _protocol:Protocols;
private var _userAgent:UserAgent;
public function Environment(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:DebugConfiguration=null, _arg5:HTMLDOM=null){
var _local6:Version;
super();
if (_arg2 == ""){
if (isAIR()){
_arg2 = "AIR";
} else {
_arg2 = "Flash";
};
};
if (_arg3 == ""){
_local6 = flashVersion;
} else {
_local6 = Version.fromString(_arg3);
};
_url = _arg1;
_appName = _arg2;
_appVersion = _local6;
_debug = _arg4;
_dom = _arg5;
}
public function isAIR():Boolean{
return ((((playerType == "Desktop")) && ((Security.sandboxType.toString() == "application"))));
}
public function get playerType():String{
return (Capabilities.playerType);
}
public function get locationSearch():String{
var _local1:String;
_local1 = _dom.search;
if (_local1){
return (_local1);
};
return ("");
}
public function get protocol():Protocols{
if (!_protocol){
_findProtocol();
};
return (_protocol);
}
public function get flashVersion():Version{
var _local1:Version;
_local1 = Version.fromString(Capabilities.version.split(" ")[1], ",");
return (_local1);
}
public function get screenWidth():Number{
return (Capabilities.screenResolutionX);
}
public function get languageEncoding():String{
var _local1:String;
if (System.useCodePage){
_local1 = _dom.characterSet;
if (_local1){
return (_local1);
};
return ("-");
};
return ("UTF-8");
}
public function get appName():String{
return (_appName);
}
public function get screenColorDepth():String{
var _local1:String;
var _local2:String;
switch (Capabilities.screenColor){
case "bw":
_local1 = "1";
break;
case "gray":
_local1 = "2";
break;
case "color":
default:
_local1 = "24";
};
_local2 = _dom.colorDepth;
if (_local2){
_local1 = _local2;
};
return (_local1);
}
private function _findProtocol():void{
var _local1:Protocols;
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:String;
_local1 = Protocols.none;
if (_url != ""){
_local4 = _url.toLowerCase();
_local5 = _local4.substr(0, 5);
switch (_local5){
case "file:":
_local1 = Protocols.file;
break;
case "http:":
_local1 = Protocols.HTTP;
break;
case "https":
if (_local4.charAt(5) == ":"){
_local1 = Protocols.HTTPS;
};
break;
default:
_protocol = Protocols.none;
};
};
_local2 = _dom.protocol;
_local3 = (_local1.toString() + ":").toLowerCase();
if (((((_local2) && (!((_local2 == _local3))))) && (_debug))){
_debug.warning(((("Protocol mismatch: SWF=" + _local3) + ", DOM=") + _local2));
};
_protocol = _local1;
}
public function get locationSWFPath():String{
return (_url);
}
public function get platform():String{
var _local1:String;
_local1 = Capabilities.manufacturer;
return (_local1.split("Adobe ")[1]);
}
public function get operatingSystem():String{
return (Capabilities.os);
}
public function set appName(_arg1:String):void{
_appName = _arg1;
userAgent.applicationProduct = _arg1;
}
public function get userAgent():UserAgent{
if (!_userAgent){
_userAgent = new UserAgent(this, appName, appVersion.toString(4));
};
return (_userAgent);
}
ga_internal function set url(_arg1:String):void{
_url = _arg1;
}
public function get referrer():String{
var _local1:String;
_local1 = _dom.referrer;
if (_local1){
return (_local1);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function isInHTML():Boolean{
return ((Capabilities.playerType == "PlugIn"));
}
public function get language():String{
var _local1:String;
var _local2:String;
_local1 = _dom.language;
_local2 = Capabilities.language;
if (_local1){
if ((((_local1.length > _local2.length)) && ((_local1.substr(0, _local2.length) == _local2)))){
_local2 = _local1;
};
};
return (_local2);
}
public function get domainName():String{
var _local1:String;
var _local2:String;
var _local3:int;
if ((((protocol == Protocols.HTTP)) || ((protocol == Protocols.HTTPS)))){
_local1 = _url.toLowerCase();
if (protocol == Protocols.HTTP){
_local2 = _local1.split("http://").join("");
} else {
if (protocol == Protocols.HTTPS){
_local2 = _local1.split("https://").join("");
};
};
_local3 = _local2.indexOf("/");
if (_local3 > -1){
_local2 = _local2.substring(0, _local3);
};
return (_local2);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function set userAgent(_arg1:UserAgent):void{
_userAgent = _arg1;
}
public function set appVersion(_arg1:Version):void{
_appVersion = _arg1;
userAgent.applicationVersion = _arg1.toString(4);
}
public function get screenHeight():Number{
return (Capabilities.screenResolutionY);
}
public function get locationPath():String{
var _local1:String;
_local1 = _dom.pathname;
if (_local1){
return (_local1);
};
return ("");
}
public function get documentTitle():String{
var _local1:String;
_local1 = _dom.title;
if (_local1){
return (_local1);
};
return ("");
}
public function get appVersion():Version{
return (_appVersion);
}
}
}//package com.google.analytics.utils
Section 270
//Protocols (com.google.analytics.utils.Protocols)
package com.google.analytics.utils {
public class Protocols {
private var _value:int;
private var _name:String;
public static const none:Protocols = new Protocols(0, "none");
;
public static const HTTPS:Protocols = new Protocols(3, "HTTPS");
;
public static const file:Protocols = new Protocols(1, "file");
;
public static const HTTP:Protocols = new Protocols(2, "HTTP");
;
public function Protocols(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.utils
Section 271
//Timespan (com.google.analytics.utils.Timespan)
package com.google.analytics.utils {
public class Timespan {
public static var sixmonths:Number = 15768000;
public static var twoyears:Number = 63072000;
public static var thirtyminutes:Number = 1800;
}
}//package com.google.analytics.utils
Section 272
//URL (com.google.analytics.utils.URL)
package com.google.analytics.utils {
public class URL {
private var _url:String;
public function URL(_arg1:String=""){
_url = _arg1.toLowerCase();
}
public function get domain():String{
var _local1:Array;
if (((!((hostName == ""))) && ((hostName.indexOf(".") > -1)))){
_local1 = hostName.split(".");
switch (_local1.length){
case 2:
return (hostName);
case 3:
if (_local1[1] == "co"){
return (hostName);
};
_local1.shift();
return (_local1.join("."));
case 4:
_local1.shift();
return (_local1.join("."));
};
};
return ("");
}
public function get path():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf(hostName) == 0){
_local1 = _local1.substr(hostName.length);
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[0];
};
if (_local1.charAt(0) != "/"){
_local1 = ("/" + _local1);
};
return (_local1);
}
public function get protocol():Protocols{
var _local1:String = _url.split("://")[0];
switch (_local1){
case "file":
return (Protocols.file);
case "http":
return (Protocols.HTTP);
case "https":
return (Protocols.HTTPS);
default:
return (Protocols.none);
};
}
public function get hostName():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf("/") > -1){
_local1 = _local1.split("/")[0];
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[0];
};
if ((((protocol == Protocols.file)) || ((protocol == Protocols.none)))){
return ("");
};
return (_local1);
}
public function get subDomain():String{
if (((!((domain == ""))) && (!((domain == hostName))))){
return (hostName.split(("." + domain)).join(""));
};
return ("");
}
public function get search():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf(hostName) == 0){
_local1 = _local1.substr(hostName.length);
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[1];
} else {
_local1 = "";
};
return (_local1);
}
}
}//package com.google.analytics.utils
Section 273
//UserAgent (com.google.analytics.utils.UserAgent)
package com.google.analytics.utils {
import com.google.analytics.core.*;
import flash.system.*;
public class UserAgent {
private var _version:Version;
private var _localInfo:Environment;
private var _applicationProduct:String;
public static var minimal:Boolean = false;
public function UserAgent(_arg1:Environment, _arg2:String="", _arg3:String=""){
_localInfo = _arg1;
applicationProduct = _arg2;
_version = Version.fromString(_arg3);
}
public function get tamarinProductToken():String{
if (UserAgent.minimal){
return ("");
};
if (System.vmVersion){
return (("Tamarin/" + Utils.trim(System.vmVersion, true)));
};
return ("");
}
public function set applicationProduct(_arg1:String):void{
_applicationProduct = _arg1;
}
public function get applicationVersion():String{
return (_version.toString(2));
}
public function get applicationProductToken():String{
var _local1:String;
_local1 = applicationProduct;
if (applicationVersion != ""){
_local1 = (_local1 + ("/" + applicationVersion));
};
return (_local1);
}
public function get vendorProductToken():String{
var _local1:String;
_local1 = "";
if (_localInfo.isAIR()){
_local1 = (_local1 + "AIR");
} else {
_local1 = (_local1 + "FlashPlayer");
};
_local1 = (_local1 + "/");
_local1 = (_local1 + _version.toString(3));
return (_local1);
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + applicationProductToken);
if (applicationComment != ""){
_local1 = (_local1 + (" " + applicationComment));
};
if (tamarinProductToken != ""){
_local1 = (_local1 + (" " + tamarinProductToken));
};
if (vendorProductToken != ""){
_local1 = (_local1 + (" " + vendorProductToken));
};
return (_local1);
}
public function get applicationComment():String{
var _local1:Array;
_local1 = [];
_local1.push(_localInfo.platform);
_local1.push(_localInfo.playerType);
if (!UserAgent.minimal){
_local1.push(_localInfo.operatingSystem);
_local1.push(_localInfo.language);
};
if (Capabilities.isDebugger){
_local1.push("DEBUG");
};
if (_local1.length > 0){
return ((("(" + _local1.join("; ")) + ")"));
};
return ("");
}
public function set applicationVersion(_arg1:String):void{
_version = Version.fromString(_arg1);
}
public function get applicationProduct():String{
return (_applicationProduct);
}
}
}//package com.google.analytics.utils
Section 274
//Variables (com.google.analytics.utils.Variables)
package com.google.analytics.utils {
import flash.net.*;
public dynamic class Variables {
public var post:Array;
public var URIencode:Boolean;
public var pre:Array;
public var sort:Boolean;// = true
public function Variables(_arg1:String=null, _arg2:Array=null, _arg3:Array=null){
pre = [];
post = [];
super();
if (_arg1){
decode(_arg1);
};
if (_arg2){
this.pre = _arg2;
};
if (_arg3){
this.post = _arg3;
};
}
private function _join(_arg1:Variables):void{
var _local2:String;
if (!_arg1){
return;
};
for (_local2 in _arg1) {
this[_local2] = _arg1[_local2];
};
}
public function join(... _args):void{
var _local2:int = _args.length;
var _local3:int;
while (_local3 < _local2) {
if (!(_args[_local3] is Variables)){
} else {
_join(_args[_local3]);
};
_local3++;
};
}
public function toString():String{
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:String;
var _local8:String;
var _local1:Array = [];
for (_local3 in this) {
_local2 = this[_local3];
if (URIencode){
_local2 = encodeURI(_local2);
};
_local1.push(((_local3 + "=") + _local2));
};
if (sort){
_local1.sort();
};
if (pre.length > 0){
pre.reverse();
_local5 = 0;
while (_local5 < pre.length) {
_local7 = pre[_local5];
_local6 = 0;
while (_local6 < _local1.length) {
_local4 = _local1[_local6];
if (_local4.indexOf(_local7) == 0){
_local1.unshift(_local1.splice(_local6, 1)[0]);
};
_local6++;
};
_local5++;
};
pre.reverse();
};
if (post.length > 0){
_local5 = 0;
while (_local5 < post.length) {
_local8 = post[_local5];
_local6 = 0;
while (_local6 < _local1.length) {
_local4 = _local1[_local6];
if (_local4.indexOf(_local8) == 0){
_local1.push(_local1.splice(_local6, 1)[0]);
};
_local6++;
};
_local5++;
};
};
return (_local1.join("&"));
}
public function decode(_arg1:String):void{
var _local2:Array;
var _local3:String;
var _local4:String;
var _local5:String;
var _local6:Array;
if (_arg1 == ""){
return;
};
if (_arg1.indexOf("&") > -1){
_local2 = _arg1.split("&");
} else {
_local2 = [_arg1];
};
var _local7:int;
while (_local7 < _local2.length) {
_local3 = _local2[_local7];
if (_local3.indexOf("=") > -1){
_local6 = _local3.split("=");
_local4 = _local6[0];
_local5 = decodeURI(_local6[1]);
this[_local4] = _local5;
};
_local7++;
};
}
public function toURLVariables():URLVariables{
var _local2:String;
var _local1:URLVariables = new URLVariables();
for (_local2 in this) {
_local1[_local2] = this[_local2];
};
return (_local1);
}
}
}//package com.google.analytics.utils
Section 275
//Version (com.google.analytics.utils.Version)
package com.google.analytics.utils {
public class Version {
private var _maxBuild:uint;// = 0xFF
private var _maxMinor:uint;// = 15
private var _maxMajor:uint;// = 15
private var _revision:uint;
private var _separator:String;// = "."
private var _maxRevision:uint;// = 0xFFFF
private var _build:uint;
private var _minor:uint;
private var _major:uint;
public function Version(_arg1:uint=0, _arg2:uint=0, _arg3:uint=0, _arg4:uint=0){
var _local5:Version;
_maxMajor = 15;
_maxMinor = 15;
_maxBuild = 0xFF;
_maxRevision = 0xFFFF;
_separator = ".";
super();
if ((((((((_arg1 > _maxMajor)) && ((_arg2 == 0)))) && ((_arg3 == 0)))) && ((_arg4 == 0)))){
_local5 = Version.fromNumber(_arg1);
_arg1 = _local5.major;
_arg2 = _local5.minor;
_arg3 = _local5.build;
_arg4 = _local5.revision;
};
this.major = _arg1;
this.minor = _arg2;
this.build = _arg3;
this.revision = _arg4;
}
public function toString(_arg1:int=0):String{
var _local2:Array;
if ((((_arg1 <= 0)) || ((_arg1 > 4)))){
_arg1 = getFields();
};
switch (_arg1){
case 1:
_local2 = [major];
break;
case 2:
_local2 = [major, minor];
break;
case 3:
_local2 = [major, minor, build];
break;
case 4:
default:
_local2 = [major, minor, build, revision];
};
return (_local2.join(_separator));
}
public function get revision():uint{
return (_revision);
}
public function set build(_arg1:uint):void{
_build = Math.min(_arg1, _maxBuild);
}
public function set minor(_arg1:uint):void{
_minor = Math.min(_arg1, _maxMinor);
}
public function get build():uint{
return (_build);
}
public function set major(_arg1:uint):void{
_major = Math.min(_arg1, _maxMajor);
}
public function get minor():uint{
return (_minor);
}
public function valueOf():uint{
return (((((major << 28) | (minor << 24)) | (build << 16)) | revision));
}
public function get major():uint{
return (_major);
}
public function set revision(_arg1:uint):void{
_revision = Math.min(_arg1, _maxRevision);
}
private function getFields():int{
var _local1:int;
_local1 = 4;
if (revision == 0){
_local1--;
};
if ((((_local1 == 3)) && ((build == 0)))){
_local1--;
};
if ((((_local1 == 2)) && ((minor == 0)))){
_local1--;
};
return (_local1);
}
public function equals(_arg1):Boolean{
if (!(_arg1 is Version)){
return (false);
};
if ((((((((_arg1.major == major)) && ((_arg1.minor == minor)))) && ((_arg1.build == build)))) && ((_arg1.revision == revision)))){
return (true);
};
return (false);
}
public static function fromString(_arg1:String="", _arg2:String="."):Version{
var _local3:Version;
var _local4:Array;
_local3 = new (Version);
if ((((_arg1 == "")) || ((_arg1 == null)))){
return (_local3);
};
if (_arg1.indexOf(_arg2) > -1){
_local4 = _arg1.split(_arg2);
_local3.major = parseInt(_local4[0]);
_local3.minor = parseInt(_local4[1]);
_local3.build = parseInt(_local4[2]);
_local3.revision = parseInt(_local4[3]);
} else {
_local3.major = parseInt(_arg1);
};
return (_local3);
}
public static function fromNumber(_arg1:Number=0):Version{
var _local2:Version;
_local2 = new (Version);
if (((((((((((isNaN(_arg1)) || ((_arg1 == 0)))) || ((_arg1 < 0)))) || ((_arg1 == Number.MAX_VALUE)))) || ((_arg1 == Number.POSITIVE_INFINITY)))) || ((_arg1 == Number.NEGATIVE_INFINITY)))){
return (_local2);
};
_local2.major = (_arg1 >>> 28);
_local2.minor = ((_arg1 & 251658240) >>> 24);
_local2.build = ((_arg1 & 0xFF0000) >>> 16);
_local2.revision = (_arg1 & 0xFFFF);
return (_local2);
}
}
}//package com.google.analytics.utils
Section 276
//Bridge (com.google.analytics.v4.Bridge)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
public class Bridge implements GoogleAnalyticsAPI {
private var _debug:DebugConfiguration;
private var _proxy:JavascriptProxy;
private var _jsContainer:String;// = "_GATracker"
private var _hasGATracker:Boolean;// = false
private var _account:String;
private static var _linkTrackingObject_js:XML = <script>
<![CDATA[
function( container , target )
{
var targets ;
var name ;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
window[container][target] = ref[name] ;
}
]]>
</script>
;
private static var _createTrackingObject_js:XML = <script>
<![CDATA[
function( acct )
{
_GATracker[acct] = _gat._getTracker(acct);
}
]]>
</script>
;
private static var _injectTrackingObject_js:XML = <script>
<![CDATA[
function()
{
try
{
_GATracker
}
catch(e)
{
_GATracker = {};
}
}
]]>
</script>
;
private static var _checkGAJS_js:XML = <script>
<![CDATA[
function()
{
if( _gat && _gat._getTracker )
{
return true;
}
return false;
}
]]>
</script>
;
private static var _checkValidTrackingObject_js:XML = <script>
<![CDATA[
function(acct)
{
if( _GATracker[acct] && (_GATracker[acct]._getAccount) )
{
return true ;
}
else
{
return false;
}
}
]]>
</script>
;
public function Bridge(_arg1:String, _arg2:DebugConfiguration, _arg3:JavascriptProxy){
var _local4:String;
var _local5:String;
var _local6:String;
super();
_account = _arg1;
_debug = _arg2;
_proxy = _arg3;
if (!_checkGAJS()){
_local4 = "";
_local4 = (_local4 + "ga.js not found, be sure to check if\n");
_local4 = (_local4 + "<script src=\"http://www.google-analytics.com/ga.js\"></script>\n");
_local4 = (_local4 + "is included in the HTML.");
_debug.warning(_local4);
throw (new Error(_local4));
};
if (!_hasGATracker){
if (((_debug.javascript) && (_debug.verbose))){
_local5 = "";
_local5 = (_local5 + "The Google Analytics tracking code was not found on the container page\n");
_local5 = (_local5 + "we create it");
_debug.info(_local5, VisualDebugMode.advanced);
};
_injectTrackingObject();
};
if (Utils.validateAccount(_arg1)){
_createTrackingObject(_arg1);
} else {
if (_checkTrackingObject(_arg1)){
_linkTrackingObject(_arg1);
} else {
_local6 = "";
_local6 = (_local6 + (("JS Object \"" + _arg1) + "\" doesn't exist in DOM\n"));
_local6 = (_local6 + "Bridge object not created.");
_debug.warning(_local6);
throw (new Error(_local6));
};
};
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_debug.info((((("link( " + _arg1) + ", ") + _arg2) + " )"));
_call("_link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )"));
_call("_addOrganic", _arg1);
}
public function setAllowLinker(_arg1:Boolean):void{
_debug.info((("setAllowLinker( " + _arg1) + " )"));
_call("_setAllowLinker", _arg1);
}
private function _linkTrackingObject(_arg1:String):void{
_proxy.call(_linkTrackingObject_js, _jsContainer, _arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5 = 2;
if (((_arg3) && (!((_arg3 == ""))))){
_local5 = 3;
};
if ((((_local5 == 3)) && (!(isNaN(_arg4))))){
_local5 = 4;
};
switch (_local5){
case 4:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2, _arg3, _arg4));
case 3:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2, _arg3));
case 2:
default:
_debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2));
};
}
public function setClientInfo(_arg1:Boolean):void{
_debug.info((("setClientInfo( " + _arg1) + " )"));
_call("_setClientInfo", _arg1);
}
public function trackTrans():void{
_debug.info("trackTrans()");
_call("_trackTrans");
}
public function setCookieTimeout(_arg1:int):void{
_debug.info((("setCookieTimeout( " + _arg1) + " )"));
_call("_setCookieTimeout", _arg1);
}
public function trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
_call("_trackPageview", _arg1);
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_call("_getClientInfo"));
}
private function _checkValidTrackingObject(_arg1:String):Boolean{
return (_proxy.call(_checkValidTrackingObject_js, _arg1));
}
private function _checkGAJS():Boolean{
return (_proxy.call(_checkGAJS_js));
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_debug.warning((((("linkByPost( " + _arg1) + ", ") + _arg2) + " ) not implemented"));
}
private function _call(_arg1:String, ... _args){
_args.unshift(((((("window." + _jsContainer) + "[\"") + _account) + "\"].") + _arg1));
return (_proxy.call.apply(_proxy, _args));
}
public function hasGAJS():Boolean{
return (_checkGAJS());
}
private function _checkTrackingObject(_arg1:String):Boolean{
var _local2:Boolean = _proxy.hasProperty(_arg1);
var _local3:Boolean = _proxy.hasProperty((_arg1 + "._getAccount"));
return (((_local2) && (_local3)));
}
public function resetSession():void{
_debug.warning("resetSession() not implemented");
}
public function getDetectTitle():Boolean{
_debug.info("getDetectTitle()");
return (_call("_getDetectTitle"));
}
public function setCampNameKey(_arg1:String):void{
_debug.info((("setCampNameKey( " + _arg1) + " )"));
_call("_setCampNameKey", _arg1);
}
public function setDetectFlash(_arg1:Boolean):void{
_debug.info((("setDetectFlash( " + _arg1) + " )"));
_call("_setDetectFlash", _arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
_debug.info((("createEventTracker( " + _arg1) + " )"));
return (new EventTracker(_arg1, this));
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_debug.info((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " )"));
_call("_addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function clearIgnoredOrganic():void{
_debug.info("clearIgnoredOrganic()");
_call("_clearIgnoreOrganic");
}
public function setVar(_arg1:String):void{
_debug.info((("setVar( " + _arg1) + " )"));
_call("_setVar", _arg1);
}
public function setDomainName(_arg1:String):void{
_debug.info((("setDomainName( " + _arg1) + " )"));
_call("_setDomainName", _arg1);
}
public function hasTrackingAccount(_arg1:String):Boolean{
if (Utils.validateAccount(_arg1)){
return (_checkValidTrackingObject(_arg1));
};
return (_checkTrackingObject(_arg1));
}
public function setCampSourceKey(_arg1:String):void{
_debug.info((("setCampSourceKey( " + _arg1) + " )"));
_call("_setCampSourceKey", _arg1);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
_debug.info((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " )"));
_call("_addTrans", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
return (null);
}
public function setCampContentKey(_arg1:String):void{
_debug.info((("setCampContentKey( " + _arg1) + " )"));
_call("_setCampContentKey", _arg1);
}
public function setLocalServerMode():void{
_debug.info("setLocalServerMode()");
_call("_setLocalServerMode");
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_call("_getLocalGifPath"));
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_call("_clearIgnoreRef");
}
public function setAllowAnchor(_arg1:Boolean):void{
_debug.info((("setAllowAnchor( " + _arg1) + " )"));
_call("_setAllowAnchor", _arg1);
}
public function setLocalGifPath(_arg1:String):void{
_debug.info((("setLocalGifPath( " + _arg1) + " )"));
_call("_setLocalGifPath", _arg1);
}
public function getVersion():String{
_debug.info("getVersion()");
return (_call("_getVersion"));
}
private function _injectTrackingObject():void{
_proxy.executeBlock(_injectTrackingObject_js);
_hasGATracker = true;
}
public function setCookiePath(_arg1:String):void{
_debug.info((("setCookiePath( " + _arg1) + " )"));
_call("_setCookiePath", _arg1);
}
public function setSampleRate(_arg1:Number):void{
_debug.info((("setSampleRate( " + _arg1) + " )"));
_call("_setSampleRate", _arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_debug.info((("setAllowHash( " + _arg1) + " )"));
_call("_setAllowHash", _arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_debug.info((("addIgnoredOrganic( " + _arg1) + " )"));
_call("_addIgnoredOrganic", _arg1);
}
public function setCampNOKey(_arg1:String):void{
_debug.info((("setCampNOKey( " + _arg1) + " )"));
_call("_setCampNOKey", _arg1);
}
public function cookiePathCopy(_arg1:String):void{
_debug.info((("cookiePathCopy( " + _arg1) + " )"));
_call("_cookiePathCopy", _arg1);
}
public function setLocalRemoteServerMode():void{
_debug.info("setLocalRemoteServerMode()");
_call("_setLocalRemoteServerMode");
}
public function getServiceMode():ServerOperationMode{
_debug.info("getServiceMode()");
return (_call("_getServiceMode"));
}
public function setDetectTitle(_arg1:Boolean):void{
_debug.info((("setDetectTitle( " + _arg1) + " )"));
_call("_setDetectTitle", _arg1);
}
private function _createTrackingObject(_arg1:String):void{
_proxy.call(_createTrackingObject_js, _arg1);
}
public function setCampaignTrack(_arg1:Boolean):void{
_debug.info((("setCampaignTrack( " + _arg1) + " )"));
_call("_setCampaignTrack", _arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_call("_clearOrganic");
}
public function setCampTermKey(_arg1:String):void{
_debug.info((("setCampTermKey( " + _arg1) + " )"));
_call("_setCampTermKey", _arg1);
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_call("_getDetectFlash"));
}
public function setCampMediumKey(_arg1:String):void{
_debug.info((("setCampMediumKey( " + _arg1) + " )"));
_call("_setCampMediumKey", _arg1);
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_call("_addIgnoredRef", _arg1);
}
public function setSessionTimeout(_arg1:int):void{
_debug.info((("setSessionTimeout( " + _arg1) + " )"));
_call("_setSessionTimeout", _arg1);
}
public function setRemoteServerMode():void{
_debug.info("setRemoteServerMode()");
_call("_setRemoteServerMode");
}
public function getAccount():String{
_debug.info("getAccount()");
return (_call("_getAccount"));
}
}
}//package com.google.analytics.v4
Section 277
//Configuration (com.google.analytics.v4.Configuration)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.utils.*;
import com.google.analytics.campaign.*;
public class Configuration {
public var serverMode:ServerOperationMode;
public var detectFlash:Boolean;// = true
public var allowLocalTracking:Boolean;// = true
public var secureRemoteGIFpath:String;// = "https://ssl.google-analytics.com/__utm.gif"
public var hasSiteOverlay:Boolean;// = false
private var _version:String;// = "4.3as"
public var allowDomainHash:Boolean;// = true
public var detectClientInfo:Boolean;// = true
public var idleLoop:Number;// = 30
public var isTrackOutboundSubdomains:Boolean;// = false
public var cookiePath:String;// = "/"
public var transactionFieldDelim:String;// = "|"
private var _organic:Organic;
private var _cookieName:String;// = "analytics"
public var campaignKey:CampaignKey;
public var google:String;// = "google"
public var googleCsePath:String;// = "cse"
public var bucketCapacity:Number;// = 10
private var _sampleRate:Number;// = 1
public var remoteGIFpath:String;// = "http://www.google-analytics.com/__utm.gif"
public var googleSearchParam:String;// = "q"
public var allowLinker:Boolean;// = false
public var maxOutboundLinkExamined:Number;// = 1000
private var _debug:DebugConfiguration;
private var _trackingLimitPerSession:int;// = 500
private var _domain:Domain;
public var allowAnchor:Boolean;// = false
public var tokenCliff:int;// = 10
public var sessionTimeout:Number;
public var idleTimeout:Number;// = 60
public var campaignTracking:Boolean;// = true
public var domainName:String;// = ""
public var detectTitle:Boolean;// = true
public var tokenRate:Number;// = 0.2
public var conversionTimeout:Number;
public var localGIFpath:String;// = "/__utm.gif"
public function Configuration(_arg1:DebugConfiguration=null){
_version = "4.3as";
_sampleRate = 1;
_trackingLimitPerSession = 500;
_organic = new Organic();
googleCsePath = "cse";
googleSearchParam = "q";
google = "google";
_cookieName = "analytics";
allowDomainHash = true;
allowAnchor = false;
allowLinker = false;
hasSiteOverlay = false;
tokenRate = 0.2;
conversionTimeout = Timespan.sixmonths;
sessionTimeout = Timespan.thirtyminutes;
idleLoop = 30;
idleTimeout = 60;
maxOutboundLinkExamined = 1000;
tokenCliff = 10;
bucketCapacity = 10;
detectClientInfo = true;
detectFlash = true;
detectTitle = true;
campaignKey = new CampaignKey();
campaignTracking = true;
isTrackOutboundSubdomains = false;
serverMode = ServerOperationMode.remote;
localGIFpath = "/__utm.gif";
remoteGIFpath = "http://www.google-analytics.com/__utm.gif";
secureRemoteGIFpath = "https://ssl.google-analytics.com/__utm.gif";
cookiePath = "/";
transactionFieldDelim = "|";
domainName = "";
allowLocalTracking = true;
super();
_debug = _arg1;
_domain = new Domain(DomainNameMode.auto, "", _debug);
serverMode = ServerOperationMode.remote;
_initOrganicSources();
}
public function get organic():Organic{
return (_organic);
}
public function get trackingLimitPerSession():int{
return (_trackingLimitPerSession);
}
private function _initOrganicSources():void{
addOrganicSource(google, googleSearchParam);
addOrganicSource("yahoo", "p");
addOrganicSource("msn", "q");
addOrganicSource("aol", "query");
addOrganicSource("aol", "encquery");
addOrganicSource("lycos", "query");
addOrganicSource("ask", "q");
addOrganicSource("altavista", "q");
addOrganicSource("netscape", "query");
addOrganicSource("cnn", "query");
addOrganicSource("looksmart", "qt");
addOrganicSource("about", "terms");
addOrganicSource("mamma", "query");
addOrganicSource("alltheweb", "q");
addOrganicSource("gigablast", "q");
addOrganicSource("voila", "rdata");
addOrganicSource("virgilio", "qs");
addOrganicSource("live", "q");
addOrganicSource("baidu", "wd");
addOrganicSource("alice", "qs");
addOrganicSource("yandex", "text");
addOrganicSource("najdi", "q");
addOrganicSource("aol", "q");
addOrganicSource("club-internet", "q");
addOrganicSource("mama", "query");
addOrganicSource("seznam", "q");
addOrganicSource("search", "q");
addOrganicSource("wp", "szukaj");
addOrganicSource("onet", "qt");
addOrganicSource("netsprint", "q");
addOrganicSource("google.interia", "q");
addOrganicSource("szukacz", "q");
addOrganicSource("yam", "k");
addOrganicSource("pchome", "q");
addOrganicSource("kvasir", "searchExpr");
addOrganicSource("sesam", "q");
addOrganicSource("ozu", "q");
addOrganicSource("terra", "query");
addOrganicSource("nostrum", "query");
addOrganicSource("mynet", "q");
addOrganicSource("ekolay", "q");
addOrganicSource("search.ilse", "search_for");
}
public function get sampleRate():Number{
return (_sampleRate);
}
public function get cookieName():String{
return (_cookieName);
}
public function addOrganicSource(_arg1:String, _arg2:String):void{
var engine = _arg1;
var keyword = _arg2;
try {
_organic.addSource(engine, keyword);
} catch(e:Error) {
if (((_debug) && (_debug.active))){
_debug.warning(e.message);
};
};
}
public function get domain():Domain{
return (_domain);
}
public function set sampleRate(_arg1:Number):void{
if (_arg1 <= 0){
_arg1 = 0.1;
};
if (_arg1 > 1){
_arg1 = 1;
};
_arg1 = Number(_arg1.toFixed(2));
_sampleRate = _arg1;
}
public function get version():String{
return (_version);
}
}
}//package com.google.analytics.v4
Section 278
//GoogleAnalyticsAPI (com.google.analytics.v4.GoogleAnalyticsAPI)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
public interface GoogleAnalyticsAPI {
function setCampSourceKey(_arg1:String):void;
function getServiceMode():ServerOperationMode;
function resetSession():void;
function setLocalServerMode():void;
function setCampContentKey(_arg1:String):void;
function addOrganic(_arg1:String, _arg2:String):void;
function setDetectFlash(_arg1:Boolean):void;
function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object;
function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean;
function setCampTermKey(_arg1:String):void;
function setCampNameKey(_arg1:String):void;
function addIgnoredOrganic(_arg1:String):void;
function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void;
function setAllowLinker(_arg1:Boolean):void;
function getClientInfo():Boolean;
function getDetectFlash():Boolean;
function setCampaignTrack(_arg1:Boolean):void;
function createEventTracker(_arg1:String):EventTracker;
function setCookieTimeout(_arg1:int):void;
function setAllowAnchor(_arg1:Boolean):void;
function trackTrans():void;
function clearOrganic():void;
function trackPageview(_arg1:String=""):void;
function setLocalGifPath(_arg1:String):void;
function getVersion():String;
function getLocalGifPath():String;
function setVar(_arg1:String):void;
function clearIgnoredOrganic():void;
function setCampMediumKey(_arg1:String):void;
function addIgnoredRef(_arg1:String):void;
function setClientInfo(_arg1:Boolean):void;
function setCookiePath(_arg1:String):void;
function setSampleRate(_arg1:Number):void;
function setSessionTimeout(_arg1:int):void;
function setRemoteServerMode():void;
function clearIgnoredRef():void;
function setDomainName(_arg1:String):void;
function setDetectTitle(_arg1:Boolean):void;
function setAllowHash(_arg1:Boolean):void;
function getAccount():String;
function linkByPost(_arg1:Object, _arg2:Boolean=false):void;
function link(_arg1:String, _arg2:Boolean=false):void;
function setCampNOKey(_arg1:String):void;
function setLocalRemoteServerMode():void;
function cookiePathCopy(_arg1:String):void;
function getDetectTitle():Boolean;
}
}//package com.google.analytics.v4
Section 279
//Tracker (com.google.analytics.v4.Tracker)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.data.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
import com.google.analytics.campaign.*;
public class Tracker implements GoogleAnalyticsAPI {
private const EVENT_TRACKER_LABEL_KEY_NUM:int = 3;
private const EVENT_TRACKER_VALUE_VALUE_NUM:int = 1;
private const EVENT_TRACKER_PROJECT_ID:int = 5;
private const EVENT_TRACKER_OBJECT_NAME_KEY_NUM:int = 1;
private const EVENT_TRACKER_TYPE_KEY_NUM:int = 2;
private var _adSense:AdSenseGlobals;
private var _eventTracker:X10;
private var _noSessionInformation:Boolean;// = false
private var _browserInfo:BrowserInfo;
private var _debug:DebugConfiguration;
private var _isNewVisitor:Boolean;// = false
private var _buffer:Buffer;
private var _config:Configuration;
private var _x10Module:X10;
private var _campaign:CampaignManager;
private var _formatedReferrer:String;
private var _timeStamp:Number;
private var _info:Environment;
private var _domainHash:Number;
private var _campaignInfo:CampaignInfo;
private var _gifRequest:GIFRequest;
private var _hasInitData:Boolean;// = false
private var _account:String;
public function Tracker(_arg1:String, _arg2:Configuration, _arg3:DebugConfiguration, _arg4:Environment, _arg5:Buffer, _arg6:GIFRequest, _arg7:AdSenseGlobals){
var _local8:String;
super();
_account = _arg1;
_config = _arg2;
_debug = _arg3;
_info = _arg4;
_buffer = _arg5;
_gifRequest = _arg6;
_adSense = _arg7;
if (!Utils.validateAccount(_arg1)){
_local8 = (("Account \"" + _arg1) + "\" is not valid.");
_debug.warning(_local8);
throw (new Error(_local8));
};
_initData();
}
private function _doTracking():Boolean{
if (((((!((_info.protocol == Protocols.file))) && (!((_info.protocol == Protocols.none))))) && (_isNotGoogleSearch()))){
return (true);
};
if (_config.allowLocalTracking){
return (true);
};
return (false);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )"));
_config.organic.addSource(_arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
_config.allowLinker = _arg1;
_debug.info((("setAllowLinker( " + _config.allowLinker) + " )"));
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5:Boolean;
var _local6 = 2;
if (((!((_arg1 == ""))) && (!((_arg2 == ""))))){
_eventTracker.clearKey(EVENT_TRACKER_PROJECT_ID);
_eventTracker.clearValue(EVENT_TRACKER_PROJECT_ID);
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_OBJECT_NAME_KEY_NUM, _arg1);
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_TYPE_KEY_NUM, _arg2);
if (((_arg3) && (!((_arg3 == ""))))){
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_LABEL_KEY_NUM, _arg3);
_local6 = 3;
if (!isNaN(_arg4)){
_local5 = _eventTracker.setValue(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_VALUE_VALUE_NUM, _arg4);
_local6 = 4;
};
};
if (_local5){
_debug.info(((("valid event tracking call\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek);
_sendXEvent(_eventTracker);
};
} else {
_debug.warning(((("event tracking call is not valid, failed!\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek);
_local5 = false;
};
switch (_local6){
case 4:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )"));
break;
case 3:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )"));
break;
case 2:
default:
_debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )"));
};
return (_local5);
}
public function trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
if (_doTracking()){
_initData();
_trackMetrics(_arg1);
_noSessionInformation = false;
} else {
_debug.warning((("trackPageview( " + _arg1) + " ) failed"));
};
}
public function setCookieTimeout(_arg1:int):void{
_config.conversionTimeout = _arg1;
_debug.info((("setCookieTimeout( " + _config.conversionTimeout) + " )"));
}
public function trackTrans():void{
_debug.warning("trackTrans() not implemented");
}
public function setClientInfo(_arg1:Boolean):void{
_config.detectClientInfo = _arg1;
_debug.info((("setClientInfo( " + _config.detectClientInfo) + " )"));
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_debug.warning((("linkByPost( " + [_arg1, _arg2].join(", ")) + " ) not implemented"));
}
private function _initData():void{
var _local1:String;
var _local2:String;
if (!_hasInitData){
_updateDomainName();
_domainHash = _getDomainHash();
_timeStamp = Math.round((new Date().getTime() / 1000));
if (_debug.verbose){
_local1 = "";
_local1 = (_local1 + "_initData 0");
_local1 = (_local1 + ("\ndomain name: " + _config.domainName));
_local1 = (_local1 + ("\ndomain hash: " + _domainHash));
_local1 = (_local1 + (((("\ntimestamp: " + _timeStamp) + " (") + new Date((_timeStamp * 1000))) + ")"));
_debug.info(_local1, VisualDebugMode.geek);
};
};
if (_doTracking()){
_handleCookie();
};
if (!_hasInitData){
if (_doTracking()){
_formatedReferrer = _formatReferrer();
_browserInfo = new BrowserInfo(_config, _info);
_debug.info(("browserInfo: " + _browserInfo.toURLString()), VisualDebugMode.advanced);
if (_config.campaignTracking){
_campaign = new CampaignManager(_config, _debug, _buffer, _domainHash, _formatedReferrer, _timeStamp);
_campaignInfo = _campaign.getCampaignInformation(_info.locationSearch, _noSessionInformation);
_debug.info(("campaignInfo: " + _campaignInfo.toURLString()), VisualDebugMode.advanced);
};
};
_x10Module = new X10();
_eventTracker = new X10();
_hasInitData = true;
};
if (_config.hasSiteOverlay){
_debug.warning("Site Overlay is not supported");
};
if (_debug.verbose){
_local2 = "";
_local2 = (_local2 + "_initData (misc)");
_local2 = (_local2 + ("\nflash version: " + _info.flashVersion.toString(4)));
_local2 = (_local2 + ("\nprotocol: " + _info.protocol));
_local2 = (_local2 + (("\ndefault domain name (auto): \"" + _info.domainName) + "\""));
_local2 = (_local2 + ("\nlanguage: " + _info.language));
_local2 = (_local2 + ("\ndomain hash: " + _getDomainHash()));
_local2 = (_local2 + ("\nuser-agent: " + _info.userAgent));
_debug.info(_local2, VisualDebugMode.geek);
};
}
public function getDetectTitle():Boolean{
_debug.info("getDetectTitle()");
return (_config.detectTitle);
}
public function resetSession():void{
_debug.info("resetSession()");
_buffer.resetCurrentSession();
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_config.detectClientInfo);
}
private function _sendXEvent(_arg1:X10=null):void{
var _local2:Variables;
var _local3:EventInfo;
var _local4:Variables;
var _local5:Variables;
_initData();
if (_takeSample()){
_local2 = new Variables();
_local2.URIencode = true;
_local3 = new EventInfo(true, _x10Module, _arg1);
_local4 = _local3.toVariables();
_local5 = _renderMetricsSearchVariables();
_local2.join(_local4, _local5);
_gifRequest.send(_account, _local2, false, true);
};
}
public function setDetectFlash(_arg1:Boolean):void{
_config.detectFlash = _arg1;
_debug.info((("setDetectFlash( " + _config.detectFlash) + " )"));
}
public function setCampNameKey(_arg1:String):void{
_config.campaignKey.UCCN = _arg1;
var _local2 = (("setCampNameKey( " + _config.campaignKey.UCCN) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCN]"));
} else {
_debug.info(_local2);
};
}
private function _formatReferrer():String{
var _local2:String;
var _local3:URL;
var _local4:URL;
var _local1:String = _info.referrer;
if ((((_local1 == "")) || ((_local1 == "localhost")))){
_local1 = "-";
} else {
_local2 = _info.domainName;
_local3 = new URL(_local1);
_local4 = new URL(("http://" + _local2));
if (_local3.hostName == _local2){
return ("-");
};
if (_local4.domain == _local3.domain){
if (_local4.subDomain != _local3.subDomain){
_local1 = "0";
};
};
if ((((_local1.charAt(0) == "[")) && (_local1.charAt((_local1.length - 1))))){
_local1 = "-";
};
};
_debug.info(("formated referrer: " + _local1), VisualDebugMode.advanced);
return (_local1);
}
private function _visitCode():Number{
if (_debug.verbose){
_debug.info(("visitCode: " + _buffer.utma.sessionId), VisualDebugMode.geek);
};
return (_buffer.utma.sessionId);
}
public function createEventTracker(_arg1:String):EventTracker{
_debug.info((("createEventTracker( " + _arg1) + " )"));
return (new EventTracker(_arg1, this));
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_debug.warning((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " ) not implemented"));
}
public function clearIgnoredOrganic():void{
_debug.info("clearIgnoredOrganic()");
_config.organic.clearIgnoredKeywords();
}
public function setVar(_arg1:String):void{
var _local2:Variables;
if (((!((_arg1 == ""))) && (_isNotGoogleSearch()))){
_initData();
_buffer.utmv.domainHash = _domainHash;
_buffer.utmv.value = _arg1;
if (_debug.verbose){
_debug.info(_buffer.utmv.toString(), VisualDebugMode.geek);
};
_debug.info((("setVar( " + _arg1) + " )"));
if (_takeSample()){
_local2 = new Variables();
_local2.utmt = "var";
_gifRequest.send(_account, _local2);
};
} else {
_debug.warning((("setVar \"" + _arg1) + "\" is ignored"));
};
}
public function setDomainName(_arg1:String):void{
if (_arg1 == "auto"){
_config.domain.mode = DomainNameMode.auto;
} else {
if (_arg1 == "none"){
_config.domain.mode = DomainNameMode.none;
} else {
_config.domain.mode = DomainNameMode.custom;
_config.domain.name = _arg1;
};
};
_updateDomainName();
_debug.info((("setDomainName( " + _config.domainName) + " )"));
}
private function _updateDomainName():void{
var _local1:String;
if (_config.domain.mode == DomainNameMode.auto){
_local1 = _info.domainName;
if (_local1.substring(0, 4) == "www."){
_local1 = _local1.substring(4);
};
_config.domain.name = _local1;
};
_config.domainName = _config.domain.name.toLowerCase();
_debug.info(("domain name: " + _config.domainName), VisualDebugMode.advanced);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
_debug.warning((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " ) not implemented"));
return (null);
}
private function _renderMetricsSearchVariables(_arg1:String=""):Variables{
var _local4:Variables;
var _local2:Variables = new Variables();
_local2.URIencode = true;
var _local3:DocumentInfo = new DocumentInfo(_config, _info, _formatedReferrer, _arg1, _adSense);
_debug.info(("docInfo: " + _local3.toURLString()), VisualDebugMode.geek);
if (_config.campaignTracking){
_local4 = _campaignInfo.toVariables();
};
var _local5:Variables = _browserInfo.toVariables();
_local2.join(_local3.toVariables(), _local5, _local4);
return (_local2);
}
public function setCampContentKey(_arg1:String):void{
_config.campaignKey.UCCT = _arg1;
var _local2 = (("setCampContentKey( " + _config.campaignKey.UCCT) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCT]"));
} else {
_debug.info(_local2);
};
}
private function _handleCookie():void{
var _local1:String;
var _local2:String;
var _local3:Array;
var _local4:String;
if (_config.allowLinker){
};
if (((_buffer.hasUTMA()) && (!(_buffer.utma.isEmpty())))){
if (((!(_buffer.hasUTMB())) || (!(_buffer.hasUTMC())))){
_buffer.updateUTMA(_timeStamp);
_noSessionInformation = true;
};
if (_debug.verbose){
_debug.info(("from cookie " + _buffer.utma.toString()), VisualDebugMode.geek);
};
} else {
_debug.info("create a new utma", VisualDebugMode.advanced);
_buffer.utma.domainHash = _domainHash;
_buffer.utma.sessionId = _getUniqueSessionId();
_buffer.utma.firstTime = _timeStamp;
_buffer.utma.lastTime = _timeStamp;
_buffer.utma.currentTime = _timeStamp;
_buffer.utma.sessionCount = 1;
if (_debug.verbose){
_debug.info(_buffer.utma.toString(), VisualDebugMode.geek);
};
_noSessionInformation = true;
_isNewVisitor = true;
};
if (((_adSense.gaGlobal) && ((_adSense.dh == String(_domainHash))))){
if (_adSense.sid){
_buffer.utma.currentTime = Number(_adSense.sid);
if (_debug.verbose){
_local1 = "";
_local1 = (_local1 + "AdSense sid found\n");
_local1 = (_local1 + (((("Override currentTime(" + _buffer.utma.currentTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")"));
_debug.info(_local1, VisualDebugMode.geek);
};
};
if (_isNewVisitor){
if (_adSense.sid){
_buffer.utma.lastTime = Number(_adSense.sid);
if (_debug.verbose){
_local2 = "";
_local2 = (_local2 + "AdSense sid found (new visitor)\n");
_local2 = (_local2 + (((("Override lastTime(" + _buffer.utma.lastTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")"));
_debug.info(_local2, VisualDebugMode.geek);
};
};
if (_adSense.vid){
_local3 = _adSense.vid.split(".");
_buffer.utma.sessionId = Number(_local3[0]);
_buffer.utma.firstTime = Number(_local3[1]);
if (_debug.verbose){
_local4 = "";
_local4 = (_local4 + "AdSense vid found (new visitor)\n");
_local4 = (_local4 + (((("Override sessionId(" + _buffer.utma.sessionId) + ") from AdSense vid(") + Number(_local3[0])) + ")\n"));
_local4 = (_local4 + (((("Override firstTime(" + _buffer.utma.firstTime) + ") from AdSense vid(") + Number(_local3[1])) + ")"));
_debug.info(_local4, VisualDebugMode.geek);
};
};
if (_debug.verbose){
_debug.info(("AdSense modified : " + _buffer.utma.toString()), VisualDebugMode.geek);
};
};
};
_buffer.utmb.domainHash = _domainHash;
if (isNaN(_buffer.utmb.trackCount)){
_buffer.utmb.trackCount = 0;
};
if (isNaN(_buffer.utmb.token)){
_buffer.utmb.token = _config.tokenCliff;
};
if (isNaN(_buffer.utmb.lastTime)){
_buffer.utmb.lastTime = _buffer.utma.currentTime;
};
_buffer.utmc.domainHash = _domainHash;
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.advanced);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.advanced);
};
}
public function setLocalServerMode():void{
_config.serverMode = ServerOperationMode.local;
_debug.info("setLocalServerMode()");
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_config.organic.clearIgnoredReferrals();
}
public function setCampSourceKey(_arg1:String):void{
_config.campaignKey.UCSR = _arg1;
var _local2 = (("setCampSourceKey( " + _config.campaignKey.UCSR) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCSR]"));
} else {
_debug.info(_local2);
};
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_config.localGIFpath);
}
public function setLocalGifPath(_arg1:String):void{
_config.localGIFpath = _arg1;
_debug.info((("setLocalGifPath( " + _config.localGIFpath) + " )"));
}
public function getVersion():String{
_debug.info("getVersion()");
return (_config.version);
}
public function setAllowAnchor(_arg1:Boolean):void{
_config.allowAnchor = _arg1;
_debug.info((("setAllowAnchor( " + _config.allowAnchor) + " )"));
}
private function _isNotGoogleSearch():Boolean{
var _local1:String = _config.domainName;
var _local2 = (_local1.indexOf("www.google.") < 0);
var _local3 = (_local1.indexOf(".google.") < 0);
var _local4 = (_local1.indexOf("google.") < 0);
var _local5 = (_local1.indexOf("google.org") > -1);
return (((((((((_local2) || (_local3))) || (_local4))) || (!((_config.cookiePath == "/"))))) || (_local5)));
}
public function setSampleRate(_arg1:Number):void{
if (_arg1 < 0){
_debug.warning("sample rate can not be negative, ignoring value.");
} else {
_config.sampleRate = _arg1;
};
_debug.info((("setSampleRate( " + _config.sampleRate) + " )"));
}
private function _takeSample():Boolean{
if (_debug.verbose){
_debug.info((((("takeSample: (" + (_visitCode() % 10000)) + ") < (") + (_config.sampleRate * 10000)) + ")"), VisualDebugMode.geek);
};
return (((_visitCode() % 10000) < (_config.sampleRate * 10000)));
}
public function setCookiePath(_arg1:String):void{
_config.cookiePath = _arg1;
_debug.info((("setCookiePath( " + _config.cookiePath) + " )"));
}
public function setAllowHash(_arg1:Boolean):void{
_config.allowDomainHash = _arg1;
_debug.info((("setAllowHash( " + _config.allowDomainHash) + " )"));
}
private function _generateUserDataHash():Number{
var _local1 = "";
_local1 = (_local1 + _info.appName);
_local1 = (_local1 + _info.appVersion);
_local1 = (_local1 + _info.language);
_local1 = (_local1 + _info.platform);
_local1 = (_local1 + _info.userAgent.toString());
_local1 = (_local1 + (((_info.screenWidth + "x") + _info.screenHeight) + _info.screenColorDepth));
_local1 = (_local1 + _info.referrer);
return (Utils.generateHash(_local1));
}
public function setCampNOKey(_arg1:String):void{
_config.campaignKey.UCNO = _arg1;
var _local2 = (("setCampNOKey( " + _config.campaignKey.UCNO) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCNO]"));
} else {
_debug.info(_local2);
};
}
public function addIgnoredOrganic(_arg1:String):void{
_debug.info((("addIgnoredOrganic( " + _arg1) + " )"));
_config.organic.addIgnoredKeyword(_arg1);
}
public function setLocalRemoteServerMode():void{
_config.serverMode = ServerOperationMode.both;
_debug.info("setLocalRemoteServerMode()");
}
public function cookiePathCopy(_arg1:String):void{
_debug.warning((("cookiePathCopy( " + _arg1) + " ) not implemented"));
}
public function setDetectTitle(_arg1:Boolean):void{
_config.detectTitle = _arg1;
_debug.info((("setDetectTitle( " + _config.detectTitle) + " )"));
}
public function setCampTermKey(_arg1:String):void{
_config.campaignKey.UCTR = _arg1;
var _local2 = (("setCampTermKey( " + _config.campaignKey.UCTR) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCTR]"));
} else {
_debug.info(_local2);
};
}
public function getServiceMode():ServerOperationMode{
_debug.info("getServiceMode()");
return (_config.serverMode);
}
private function _trackMetrics(_arg1:String=""):void{
var _local2:Variables;
var _local3:Variables;
var _local4:Variables;
var _local5:EventInfo;
if (_takeSample()){
_local2 = new Variables();
_local2.URIencode = true;
if (((_x10Module) && (_x10Module.hasData()))){
_local5 = new EventInfo(false, _x10Module);
_local3 = _local5.toVariables();
};
_local4 = _renderMetricsSearchVariables(_arg1);
_local2.join(_local3, _local4);
_gifRequest.send(_account, _local2);
};
}
public function setCampaignTrack(_arg1:Boolean):void{
_config.campaignTracking = _arg1;
_debug.info((("setCampaignTrack( " + _config.campaignTracking) + " )"));
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_config.organic.addIgnoredReferral(_arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_config.organic.clearEngines();
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_config.detectFlash);
}
public function setCampMediumKey(_arg1:String):void{
_config.campaignKey.UCMD = _arg1;
var _local2 = (("setCampMediumKey( " + _config.campaignKey.UCMD) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCMD]"));
} else {
_debug.info(_local2);
};
}
private function _getUniqueSessionId():Number{
var _local1:Number = ((Utils.generate32bitRandom() ^ _generateUserDataHash()) * 2147483647);
_debug.info(("Session ID: " + _local1), VisualDebugMode.geek);
return (_local1);
}
private function _getDomainHash():Number{
if (((((!(_config.domainName)) || ((_config.domainName == "")))) || ((_config.domain.mode == DomainNameMode.none)))){
_config.domainName = "";
return (1);
};
_updateDomainName();
if (_config.allowDomainHash){
return (Utils.generateHash(_config.domainName));
};
return (1);
}
public function setSessionTimeout(_arg1:int):void{
_config.sessionTimeout = _arg1;
_debug.info((("setSessionTimeout( " + _config.sessionTimeout) + " )"));
}
public function getAccount():String{
_debug.info("getAccount()");
return (_account);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_debug.warning((("link( " + [_arg1, _arg2].join(", ")) + " ) not implemented"));
}
public function setRemoteServerMode():void{
_config.serverMode = ServerOperationMode.remote;
_debug.info("setRemoteServerMode()");
}
}
}//package com.google.analytics.v4
Section 280
//AnalyticsTracker (com.google.analytics.AnalyticsTracker)
package com.google.analytics {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
public interface AnalyticsTracker extends GoogleAnalyticsAPI, IEventDispatcher {
function set config(_arg1:Configuration):void;
function isReady():Boolean;
function get mode():String;
function set debug(_arg1:DebugConfiguration):void;
function get account():String;
function set mode(_arg1:String):void;
function get config():Configuration;
function get debug():DebugConfiguration;
function set account(_arg1:String):void;
function get visualDebug():Boolean;
function set visualDebug(_arg1:Boolean):void;
}
}//package com.google.analytics
Section 281
//API (com.google.analytics.API)
package com.google.analytics {
import com.google.analytics.utils.*;
public class API {
public static var version:Version = new Version();
version.major = 1;
version.minor = 0;
version.build = 1;
version.revision = "$Rev: 319 $ ".split(" ")[1];
}
}//package com.google.analytics
Section 282
//GATracker (com.google.analytics.GATracker)
package com.google.analytics {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
import com.google.analytics.events.*;
public class GATracker implements AnalyticsTracker {
private var _adSense:AdSenseGlobals;
private var _env:Environment;
private var _visualDebug:Boolean;
private var _idleTimer:IdleTimer;
private var _debug:DebugConfiguration;
private var _buffer:Buffer;
private var _config:Configuration;
private var _mode:String;
private var _display:DisplayObject;
private var _jsproxy:JavascriptProxy;
private var _dom:HTMLDOM;
private var _eventDispatcher:EventDispatcher;
private var _ready:Boolean;// = false
private var _gifRequest:GIFRequest;
private var _account:String;
private var _tracker:GoogleAnalyticsAPI;
public static var version:Version = API.version;
public static var autobuild:Boolean = true;
public function GATracker(_arg1:DisplayObject, _arg2:String, _arg3:String="AS3", _arg4:Boolean=false, _arg5:Configuration=null, _arg6:DebugConfiguration=null){
_ready = false;
super();
_display = _arg1;
_eventDispatcher = new EventDispatcher(this);
_tracker = new TrackerCache();
this.account = _arg2;
this.mode = _arg3;
this.visualDebug = _arg4;
if (!_arg6){
this.debug = new DebugConfiguration();
};
if (!_arg5){
this.config = new Configuration(_arg6);
};
if (autobuild){
_factory();
};
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_tracker.link(_arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_tracker.addOrganic(_arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
_tracker.setAllowLinker(_arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
return (_tracker.trackEvent(_arg1, _arg2, _arg3, _arg4));
}
public function setCookieTimeout(_arg1:int):void{
_tracker.setCookieTimeout(_arg1);
}
public function trackTrans():void{
_tracker.trackTrans();
}
public function trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_arg1);
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
public function setClientInfo(_arg1:Boolean):void{
_tracker.setClientInfo(_arg1);
}
public function get account():String{
return (_account);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_tracker.linkByPost(_arg1, _arg2);
}
public function getDetectTitle():Boolean{
return (_tracker.getDetectTitle());
}
public function dispatchEvent(_arg1:Event):Boolean{
return (_eventDispatcher.dispatchEvent(_arg1));
}
public function get config():Configuration{
return (_config);
}
public function set mode(_arg1:String):void{
_mode = _arg1;
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
_eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public function setDetectFlash(_arg1:Boolean):void{
_tracker.setDetectFlash(_arg1);
}
public function resetSession():void{
_tracker.resetSession();
}
public function setCampNameKey(_arg1:String):void{
_tracker.setCampNameKey(_arg1);
}
public function get debug():DebugConfiguration{
return (_debug);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_tracker.addItem(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
private function _bridgeFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (Bridge) v" + version) + "\naccount: ") + account));
return (new Bridge(account, _debug, _jsproxy));
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
_eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public function clearIgnoredOrganic():void{
_tracker.clearIgnoredOrganic();
}
public function set account(_arg1:String):void{
_account = _arg1;
}
public function setVar(_arg1:String):void{
_tracker.setVar(_arg1);
}
public function build():void{
if (!isReady()){
_factory();
};
}
public function setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_arg1));
}
public function set config(_arg1:Configuration):void{
_config = _arg1;
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
return (_tracker.addTrans(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
}
public function setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
public function setCampContentKey(_arg1:String):void{
_tracker.setCampContentKey(_arg1);
}
public function willTrigger(_arg1:String):Boolean{
return (_eventDispatcher.willTrigger(_arg1));
}
public function setLocalServerMode():void{
_tracker.setLocalServerMode();
}
public function isReady():Boolean{
return (_ready);
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
public function get mode():String{
return (_mode);
}
public function set debug(_arg1:DebugConfiguration):void{
_debug = _arg1;
}
public function setLocalGifPath(_arg1:String):void{
_tracker.setLocalGifPath(_arg1);
}
public function getVersion():String{
return (_tracker.getVersion());
}
public function setSampleRate(_arg1:Number):void{
_tracker.setSampleRate(_arg1);
}
public function setCookiePath(_arg1:String):void{
_tracker.setCookiePath(_arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_tracker.setAllowHash(_arg1);
}
public function setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_tracker.addIgnoredOrganic(_arg1);
}
public function setLocalRemoteServerMode():void{
_tracker.setLocalRemoteServerMode();
}
public function cookiePathCopy(_arg1:String):void{
_tracker.cookiePathCopy(_arg1);
}
private function _factory():void{
var _local1:GoogleAnalyticsAPI;
var _local2:TrackerCache;
_jsproxy = new JavascriptProxy(debug);
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
_local2 = (_tracker as TrackerCache);
switch (mode){
case TrackerMode.BRIDGE:
_local1 = _bridgeFactory();
break;
case TrackerMode.AS3:
default:
_local1 = _trackerFactory();
};
if (!_local2.isEmpty()){
_local2.tracker = _local1;
_local2.flush();
};
_tracker = _local1;
_ready = true;
dispatchEvent(new AnalyticsEvent(AnalyticsEvent.READY, this));
}
public function setCampTermKey(_arg1:String):void{
_tracker.setCampTermKey(_arg1);
}
private function _trackerFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (AS3) v" + version) + "\naccount: ") + account));
_adSense = new AdSenseGlobals(debug);
_dom = new HTMLDOM(debug);
_dom.cacheProperties();
_env = new Environment("", "", "", debug, _dom);
_buffer = new Buffer(config, debug, false);
_gifRequest = new GIFRequest(config, debug, _buffer, _env);
_idleTimer = new IdleTimer(config, debug, _display, _buffer);
_env.url = _display.stage.loaderInfo.url;
return (new Tracker(account, config, debug, _env, _buffer, _gifRequest, _adSense));
}
public function setDetectTitle(_arg1:Boolean):void{
_tracker.setDetectTitle(_arg1);
}
public function getServiceMode():ServerOperationMode{
return (_tracker.getServiceMode());
}
public function clearOrganic():void{
_tracker.clearOrganic();
}
public function setCampaignTrack(_arg1:Boolean):void{
_tracker.setCampaignTrack(_arg1);
}
public function addIgnoredRef(_arg1:String):void{
_tracker.addIgnoredRef(_arg1);
}
public function set visualDebug(_arg1:Boolean):void{
_visualDebug = _arg1;
}
public function setCampMediumKey(_arg1:String):void{
_tracker.setCampMediumKey(_arg1);
}
public function setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function getAccount():String{
return (_tracker.getAccount());
}
public function hasEventListener(_arg1:String):Boolean{
return (_eventDispatcher.hasEventListener(_arg1));
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics
Section 283
//ARoad (lib.ARoad)
package lib {
import flash.display.*;
public class ARoad extends Sprite {
private var openList:Array;
private var roadArr:Array;
private var startPoint:MovieClip;
private var h:uint;
private var mapArr:Array;
private var endPoint:MovieClip;
private var isPath:Boolean;
private var w:uint;
private var isSearch:Boolean;
private var closeList:Array;
public function ARoad(){
openList = new Array();
closeList = new Array();
roadArr = new Array();
super();
}
private function setGHF(_arg1:MovieClip, _arg2:MovieClip, _arg3){
if (!_arg2.G){
_arg2.G = 0;
};
_arg1.G = (_arg2.G + _arg3);
_arg1.H = ((Math.abs((_arg1.px - endPoint.px)) + Math.abs((_arg1.py - endPoint.py))) * 10);
_arg1.F = (_arg1.H + _arg1.G);
_arg1.father = _arg2;
}
private function inArr(_arg1:MovieClip, _arg2:Array):Boolean{
var _local3:*;
for each (_local3 in _arg2) {
if (_arg1 == _local3){
return (true);
};
};
return (false);
}
private function checkG(_arg1:MovieClip, _arg2:MovieClip){
var _local3:*;
_local3 = (_arg2.G + 10);
if (_local3 <= _arg1.G){
_arg1.G = _local3;
_arg1.F = (_arg1.H + _local3);
_arg1.father = _arg2;
};
}
private function addAroundPoint(_arg1:MovieClip){
var _local2:uint;
var _local3:uint;
_local2 = _arg1.px;
_local3 = _arg1.py;
if ((((_local2 > 0)) && ((mapArr[_local3][(_local2 - 1)].go == 0)))){
if (!inArr(mapArr[_local3][(_local2 - 1)], closeList)){
if (!inArr(mapArr[_local3][(_local2 - 1)], openList)){
setGHF(mapArr[_local3][(_local2 - 1)], _arg1, 10);
openList.push(mapArr[_local3][(_local2 - 1)]);
} else {
checkG(mapArr[_local3][(_local2 - 1)], _arg1);
};
};
if ((((((_local3 > 0)) && ((mapArr[(_local3 - 1)][(_local2 - 1)].go == 0)))) && ((mapArr[(_local3 - 1)][_local2].go == 0)))){
if (((!(inArr(mapArr[(_local3 - 1)][(_local2 - 1)], closeList))) && (!(inArr(mapArr[(_local3 - 1)][(_local2 - 1)], openList))))){
setGHF(mapArr[(_local3 - 1)][(_local2 - 1)], _arg1, 14);
openList.push(mapArr[(_local3 - 1)][(_local2 - 1)]);
};
};
if ((((((_local3 < h)) && ((mapArr[(_local3 + 1)][(_local2 - 1)].go == 0)))) && ((mapArr[(_local3 + 1)][_local2].go == 0)))){
if (((!(inArr(mapArr[(_local3 + 1)][(_local2 - 1)], closeList))) && (!(inArr(mapArr[(_local3 + 1)][(_local2 - 1)], openList))))){
setGHF(mapArr[(_local3 + 1)][(_local2 - 1)], _arg1, 14);
openList.push(mapArr[(_local3 + 1)][(_local2 - 1)]);
};
};
};
if ((((_local2 < w)) && ((mapArr[_local3][(_local2 + 1)].go == 0)))){
if (!inArr(mapArr[_local3][(_local2 + 1)], closeList)){
if (!inArr(mapArr[_local3][(_local2 + 1)], openList)){
setGHF(mapArr[_local3][(_local2 + 1)], _arg1, 10);
openList.push(mapArr[_local3][(_local2 + 1)]);
} else {
checkG(mapArr[_local3][(_local2 + 1)], _arg1);
};
};
if ((((((_local3 > 0)) && ((mapArr[(_local3 - 1)][(_local2 + 1)].go == 0)))) && ((mapArr[(_local3 - 1)][_local2].go == 0)))){
if (((!(inArr(mapArr[(_local3 - 1)][(_local2 + 1)], closeList))) && (!(inArr(mapArr[(_local3 - 1)][(_local2 + 1)], openList))))){
setGHF(mapArr[(_local3 - 1)][(_local2 + 1)], _arg1, 14);
openList.push(mapArr[(_local3 - 1)][(_local2 + 1)]);
};
};
if ((((((_local3 < h)) && ((mapArr[(_local3 + 1)][(_local2 + 1)].go == 0)))) && ((mapArr[(_local3 + 1)][_local2].go == 0)))){
if (((!(inArr(mapArr[(_local3 + 1)][(_local2 + 1)], closeList))) && (!(inArr(mapArr[(_local3 + 1)][(_local2 + 1)], openList))))){
setGHF(mapArr[(_local3 + 1)][(_local2 + 1)], _arg1, 14);
openList.push(mapArr[(_local3 + 1)][(_local2 + 1)]);
};
};
};
if ((((_local3 > 0)) && ((mapArr[(_local3 - 1)][_local2].go == 0)))){
if (!inArr(mapArr[(_local3 - 1)][_local2], closeList)){
if (!inArr(mapArr[(_local3 - 1)][_local2], openList)){
setGHF(mapArr[(_local3 - 1)][_local2], _arg1, 10);
openList.push(mapArr[(_local3 - 1)][_local2]);
} else {
checkG(mapArr[(_local3 - 1)][_local2], _arg1);
};
};
};
if ((((_local3 < h)) && ((mapArr[(_local3 + 1)][_local2].go == 0)))){
if (!inArr(mapArr[(_local3 + 1)][_local2], closeList)){
if (!inArr(mapArr[(_local3 + 1)][_local2], openList)){
setGHF(mapArr[(_local3 + 1)][_local2], _arg1, 10);
openList.push(mapArr[(_local3 + 1)][_local2]);
} else {
checkG(mapArr[(_local3 + 1)][_local2], _arg1);
};
};
};
}
private function getMinF():uint{
var _local1:uint;
var _local2:uint;
var _local3:uint;
var _local4:*;
_local1 = 100000000;
_local2 = 0;
for each (_local4 in openList) {
if (_local4.F < _local1){
_local1 = _local4.F;
_local3 = _local2;
};
_local2++;
};
return (_local3);
}
public function searchRoad(_arg1, _arg2, _arg3:Array){
var _local4:MovieClip;
startPoint = _arg1;
endPoint = _arg2;
mapArr = _arg3;
w = (mapArr[0].length - 1);
h = (mapArr.length - 1);
openList.push(startPoint);
while (true) {
if (openList.length < 1){
return (roadArr);
};
_local4 = openList.splice(getMinF(), 1)[0];
if (_local4 == endPoint){
while (_local4.father != startPoint.father) {
roadArr.push(_local4);
_local4 = _local4.father;
};
return (roadArr);
};
closeList.push(_local4);
addAroundPoint(_local4);
};
}
}
}//package lib
Section 284
//Boxs (lib.Boxs)
package lib {
import flash.display.*;
public class Boxs extends MovieClip {
public var img:uint;// = 150
public function Boxs(){
img = 150;
super();
}
public function request(_arg1:uint){
}
}
}//package lib
Section 285
//br3_Sound (lib.br3_Sound)
package lib {
import flash.display.*;
import flash.media.*;
public class br3_Sound extends Sprite {
private var _sound_desk_three_1;
private var channel_music_map;
private var _sound_bread;
private var channel_sound_desk_three_1;
private var _music_mainscreen;
private var channel_sound_drink;
private var channel_music_japan;
private var _music_complete;
private var _music_italy;
private var channel_sound_mousedown;
private var _sound_bin;
private var _sound_peiliao_qidong;
private var _music_shop;
private var channel_sound_grill;
private var channel_sound_bread;
private var _sound_click;
private var channel_sound_mouseover;
private var channel_sound_desk_four;
private var _sound_phone_start;
private var list:Array;
private var _sound_err;
private var _music_map;
private var _sound_client_start;
private var channel_music_italy;
private var channel_music_complete;
private var vol:int;// = 0
private var channel_sound_client_start;
private var effectTransform:SoundTransform;
private var _music_india;
private var channel_sound_phone_start;
private var _music_china;
private var channel_music_western:SoundChannel;
private var channel_sound_plat:SoundChannel;
private var channel_sound_click;
private var _sound_clock;
private var channel_sound_client_pay;
private var _sound_golds;
private var _music_western:Sound;
private var _sound_client_mood;
private var channel_sound_peiliao_qidong;
private var channel_sound_bread_done;
private var _sound_mousedown;
private var channel_music_failed;
private var channel_music_india;
private var _music_failed;
private var channel_music_mainscreen;
private var channel_sound_client_mood;
private var channel_music_china;
private var bgmTransform:SoundTransform;
private var _sound_mouseover;
private var channel_sound_bin;
private var _sound_desk_four;
private var channel_sound_clock;
private var channel_music_shop;
private var channel_sound_golds;
private var _sound_drink;
private var _music_japan;
private var channel_sound_levelup;
private var _sound_client_pay;
private var _sound_grill;
private var _sound_levelup;
private var _sound_bread_done;
private var channel_sound_err;
private var _sound_plat:Sound;
public static var Sound_phone_start:String = "_sound_phone_start";
public static var Sound_client_pay:String = "_sound_client_pay";
public static var Sound_desk_three_1:String = "_sound_desk_three_1";
public static var Music_india:String = "_music_india";
public static var Sound_grill:String = "_sound_grill";
public static var soundEffect_vol:int = 1;
public static var Sound_err:String = "_sound_err";
public static var Music_western:String = "_music_western";
public static var Sound_client_mood:String = "_sound_client_mood";
public static var Music_china:String = "_music_china";
public static var Sound_plat:String = "_sound_plat";
private static var soundEffect_now:String;
public static var Sound_bread:String = "_sound_bread";
public static var Music_map:String = "_music_map";
public static var Sound_peiliao_qidong:String = "_sound_peiliao_qidong";
public static var Music_complete:String = "_music_complete";
public static var Music_failed:String = "_music_failed";
public static var Sound_mouseover:String = "_sound_mouseover";
public static var Sound_bread_done:String = "_sound_bread_done";
public static var Sound_desk_four:String = "_sound_desk_four";
public static var Sound_clock:String = "_sound_clock";
public static var Sound_click:String = "_sound_click";
public static var Sound_golds:String = "_sound_golds";
public static var Sound_client_start:String = "_sound_client_start";
public static var Sound_bin:String = "_sound_bin";
public static var Sound_drink:String = "_sound_drink";
public static var Music_japan:String = "_music_japan";
public static var Sound_levelup:String = "_sound_levelup";
public static var soundBgm_vol:int = 1;
private static var soundBgm_now:String;
public static var Music_mainscreen:String = "_music_mainscreen";
public static var Music_italy:String = "_music_italy";
private static var obj;
public static var Sound_mousedown:String = "_sound_mousedown";
public static var Music_shop:String = "_music_shop";
public function br3_Sound(){
vol = 0;
super();
}
private function _stopBgm(_arg1:String){
var s = _arg1;
try {
this[("channel" + soundBgm_now)].stop();
} catch(err) {
trace("停止背景音乐", err);
};
}
public function init(){
obj = this;
_music_china = new music_china();
_music_complete = new music_complete();
_music_failed = new music_failed();
_music_india = new music_india();
_music_italy = new music_italy();
_music_japan = new music_japan();
_music_mainscreen = new music_mainscreen();
_music_map = new music_map();
_music_shop = new music_shop();
_music_western = new music_western();
channel_music_china = new SoundChannel();
channel_music_complete = new SoundChannel();
channel_music_failed = new SoundChannel();
channel_music_india = new SoundChannel();
channel_music_italy = new SoundChannel();
channel_music_japan = new SoundChannel();
channel_music_mainscreen = new SoundChannel();
channel_music_map = new SoundChannel();
channel_music_shop = new SoundChannel();
channel_music_western = new SoundChannel();
_sound_peiliao_qidong = new music_china();
_sound_bread = new music_china();
_sound_clock = new music_china();
_sound_client_mood = new music_china();
_sound_client_pay = new music_china();
_sound_golds = new music_china();
_sound_grill = new music_china();
_sound_levelup = new music_china();
_sound_mousedown = new music_china();
_sound_mouseover = new music_china();
_sound_click = new music_china();
_sound_err = new music_china();
_sound_client_start = new music_china();
_sound_bin = new music_china();
_sound_bread_done = new music_china();
_sound_drink = new music_china();
_sound_phone_start = new music_china();
_sound_desk_three_1 = new music_china();
_sound_desk_four = new music_china();
_sound_plat = new music_china();
_sound_peiliao_qidong = new sound_peiliao_qidong();
_sound_bread = new sound_bread();
_sound_clock = new sound_clock();
_sound_client_mood = new sound_client_mood();
_sound_client_pay = new sound_client_pay();
_sound_golds = new sound_golds();
_sound_grill = new sound_grill();
_sound_levelup = new sound_levelup();
_sound_mousedown = new sound_mousedown();
_sound_mouseover = new sound_mouseover();
_sound_click = new sound_click();
_sound_err = new sound_err();
_sound_client_start = new sound_client_start();
_sound_bin = new sound_bin();
_sound_bread_done = new sound_bread_done();
_sound_drink = new sound_drink();
_sound_phone_start = new sound_phone_start();
_sound_desk_three_1 = new sound_desk_three_1();
_sound_desk_four = new sound_desk_four();
_sound_plat = new sound_plat();
channel_sound_peiliao_qidong = new SoundChannel();
channel_sound_bread = new SoundChannel();
channel_sound_clock = new SoundChannel();
channel_sound_client_mood = new SoundChannel();
channel_sound_client_pay = new SoundChannel();
channel_sound_golds = new SoundChannel();
channel_sound_grill = new SoundChannel();
channel_sound_levelup = new SoundChannel();
channel_sound_mousedown = new SoundChannel();
channel_sound_mouseover = new SoundChannel();
channel_sound_click = new SoundChannel();
channel_sound_err = new SoundChannel();
channel_sound_client_start = new SoundChannel();
channel_sound_bin = new SoundChannel();
channel_sound_bread_done = new SoundChannel();
channel_sound_drink = new SoundChannel();
channel_sound_phone_start = new SoundChannel();
channel_sound_desk_three_1 = new SoundChannel();
channel_sound_desk_four = new SoundChannel();
channel_sound_plat = new SoundChannel();
list = [_sound_peiliao_qidong, _sound_bread, _sound_clock, _sound_client_mood, _sound_client_pay, _sound_golds, _sound_grill, _sound_levelup, _sound_mousedown, _sound_mouseover, _sound_click, _sound_err, _sound_client_start, _sound_bin, _sound_bread_done, _sound_drink, _sound_phone_start, _sound_desk_three_1, _sound_desk_four, _sound_plat];
effectTransform = new SoundTransform(1);
bgmTransform = new SoundTransform(1);
}
private function _playEffect(_arg1:String, _arg2:int=1){
var s = _arg1;
var t = _arg2;
try {
this[("channel" + s)].stop();
} catch(err) {
trace("channelstop", err);
};
this[("channel" + s)] = this[s].play(t);
this[("channel" + s)].soundTransform = effectTransform;
}
private function _playBgm(_arg1:String, _arg2:int=1){
var s = _arg1;
var t = _arg2;
trace("播放背景音乐", s);
if (s != soundBgm_now){
try {
this[("channel" + soundBgm_now)].stop();
} catch(err) {
trace("channelstop", err);
};
trace("开始播放");
this[("channel" + s)] = this[s].play(0, 99999);
this[("channel" + s)].soundTransform = bgmTransform;
soundBgm_now = s;
};
}
private function _stopEffect(_arg1:String){
var s = _arg1;
try {
this[("channel" + s)].stop();
} catch(err) {
trace("面包机", err);
};
}
public static function setVol(){
}
public static function setSoundBgmVol(){
soundBgm_vol++;
if (soundBgm_vol > 2){
soundBgm_vol = 1;
};
if (soundBgm_vol == 2){
obj.bgmTransform.volume = 0;
} else {
obj.bgmTransform.volume = 1;
};
obj[("channel" + soundBgm_now)].soundTransform = obj.bgmTransform;
return (soundBgm_vol);
}
public static function setSoundEffectVol(){
soundEffect_vol++;
if (soundEffect_vol > 2){
soundEffect_vol = 1;
};
if (soundEffect_vol == 2){
obj[("channel" + soundEffect_now)].stop();
obj.effectTransform.volume = 0;
} else {
obj.effectTransform.volume = 1;
};
return (soundEffect_vol);
}
public static function stopEffect(_arg1:String){
obj._stopEffect(_arg1);
}
public static function playEffect(_arg1:String, _arg2:int=1){
soundEffect_now = _arg1;
obj._playEffect(_arg1, _arg2);
}
public static function stopBgm(_arg1:String){
obj._stopBgm(_arg1);
}
public static function playBgm(_arg1:String, _arg2:int=1){
obj._playBgm(_arg1, _arg2);
}
}
}//package lib
Section 286
//Bright (lib.Bright)
package lib {
import flash.display.*;
import flash.filters.*;
public class Bright extends MovieClip {
public function setBrightness(_arg1:Number, _arg2:Number, _arg3:Object):void{
var _local4:Array;
_local4 = [_arg2, 0, 0, 0, _arg1, 0, _arg2, 0, 0, _arg1, 0, 0, _arg2, 0, _arg1, 0, 0, 0, 1, 0];
_arg3.filters = [new ColorMatrixFilter(_local4)];
}
}
}//package lib
Section 287
//Challengebar (lib.Challengebar)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class Challengebar extends MovieClip {
public var goal:TextField;
public var id:uint;
public var names:TextField;
public var bt:SimpleButton;
public var score:TextField;
private var brights:Bright;
public var _bt:MovieClip;
public function Challengebar(){
brights = new Bright();
bt.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
}
private function _onUnload(_arg1:Event){
bt.removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOver(_arg1:MouseEvent){
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
private function _onClick(_arg1:MouseEvent){
var _local2:*;
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
_local2 = new GameEvent(GameEvent.CHALLENGECHOOSE);
_local2.challengeid = id;
dispatchEvent(_local2);
}
}
}//package lib
Section 288
//Char (lib.Char)
package lib {
import flash.events.*;
import flash.display.*;
public class Char extends MovieClip {
public var px;
public var py:Number;
private var moden:int;// = 0
private var _speed:Number;// = 12
private var speed:Number;
private var speedArray:Array;
private var changeList:Array;
private var w;
private var h:Number;
public var dish:Char_dish;
public var mc:MovieClip;
private var _goNow:Number;// = 0
private var roadList:Array;
public function Char(){
changeList = ["arm0", "arm1", "shose0", "shose1", "body", "logo"];
roadList = [];
_goNow = 0;
speedArray = [0, 0, 4, 8, 16];
_speed = 12;
moden = 0;
super();
}
public function init(){
moden = 0;
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnlad);
this.mouseChildren = false;
this.mouseEnabled = false;
h = MC_GameEngine.h;
w = MC_GameEngine.w;
_goNow = -1;
}
public function changeTo(){
}
private function _onUnlad(_arg1){
removeEventListener(Event.REMOVED_FROM_STAGE, _onUnlad);
}
private function _onLoad(_arg1){
removeEventListener(Event.ADDED_TO_STAGE, _onLoad);
}
private function _out(_arg1){
alpha = 1;
}
private function _over(_arg1){
trace("over");
alpha = 0.5;
}
public function moveTarget(_arg1){
var _local2:ARoad;
var _local3:*;
var _local4:*;
speed = (_speed + speedArray[GameData.shoes]);
_local2 = new ARoad();
_local3 = 0;
while (_local3 < MC_GameEngine.maparray.length) {
_local4 = 0;
while (_local4 < MC_GameEngine.maparray[_local3].length) {
MC_GameEngine.maparray[_local3][_local4].gotoAndStop((MC_GameEngine.maparray[_local3][_local4].go + 1));
_local4++;
};
_local3++;
};
roadList = [];
roadList = _local2.searchRoad(this, _arg1, MC_GameEngine.maparray);
if (roadList.length > 0){
roadList.reverse();
_goNow = 0;
} else {
_goNow = -1;
trace("没找到路径");
};
}
public function move(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
var _local14:GameEvent;
if (_goNow > -1){
_local1 = this.x;
_local2 = this.y;
_local3 = roadList[_goNow].py;
_local4 = roadList[_goNow].px;
_local5 = ((_local4 - _local3) * w);
_local6 = (((_local4 + _local3) * h) / 2);
_local7 = Math.atan2((_local6 - _local2), (_local5 - _local1));
_local8 = ((_local7 * 180) / Math.PI);
if ((((((_local8 > -26)) && ((_local8 < -24)))) && (!((this.currentFrame == 3))))){
this.gotoAndStop(3);
} else {
if ((((((_local8 > 151)) && ((_local8 < 153)))) && (!((this.currentFrame == 5))))){
this.gotoAndStop(5);
} else {
if ((((((_local8 > -156)) && ((_local8 < -154)))) && (!((this.currentFrame == 2))))){
this.gotoAndStop(2);
} else {
if ((((((_local8 > 27)) && ((_local8 < 30)))) && (!((this.currentFrame == 4))))){
this.gotoAndStop(4);
};
};
};
};
_local9 = (speed * Math.sin(_local7));
_local10 = (speed * Math.cos(_local7));
this.x = (this.x + _local10);
this.y = (this.y + _local9);
_local11 = int((((((this.y + 2) / h) * 2) - ((this.x - 2) / w)) / 2));
_local12 = int(((((this.y + 2) / h) * 2) - _local11));
this.px = _local12;
this.py = _local11;
_local1 = this.x;
_local2 = this.y;
_local3 = roadList[_goNow].py;
_local4 = roadList[_goNow].px;
_local5 = ((_local4 - _local3) * w);
_local6 = (((_local4 + _local3) * h) / 2);
_local13 = Math.sqrt((((_local1 - _local5) * (_local1 - _local5)) + ((_local2 - _local6) * (_local2 - _local6))));
if (_local13 < ((speed / 2) + 1)){
_goNow++;
this.x = (_local5 + 1);
this.y = (_local6 - 1);
};
if (_goNow == roadList.length){
this.gotoAndStop(1);
_goNow = -1;
_local14 = new GameEvent(GameEvent.CHAR_EXEOVER);
dispatchEvent(_local14);
};
};
}
}
}//package lib
Section 289
//Char_Dish (lib.Char_Dish)
package lib {
import flash.display.*;
public class Char_Dish extends MovieClip {
public static var obj:Object;
public function Char_Dish(){
obj = this;
_showFood();
}
public function _showFood(){
var _local1:uint;
var _local2:Boolean;
var _local3:*;
var _local4:*;
var _local5:*;
clear();
if (Tray.list.length > 0){
_local1 = 0;
_local1 = 0;
while (_local1 < Tray.list.length) {
_local3 = new mc_food();
addChild(_local3);
_local3.y = (_local1 * -4);
_local3.gotoAndStop(Tray.list[_local1]);
_local1++;
};
if (Tray.list[0] == 1){
_local4 = new mc_food();
addChild(_local4);
_local4.y = (Tray.list.length * -4);
_local4.gotoAndStop(11);
};
_local2 = false;
_local1 = 0;
while (_local1 < Tray.list.length) {
if ((((Tray.list[_local1] == 12)) || ((Tray.list[_local1] == 13)))){
_local2 = true;
break;
};
_local1++;
};
if (_local2){
_local5 = new mc_food();
addChild(_local5);
_local5.y = ((Tray.list.length + 1) * -4);
_local5.gotoAndStop(14);
};
visible = true;
} else {
visible = false;
};
}
private function clear(){
var _local1:int;
if (numChildren > 0){
_local1 = (numChildren - 1);
while (_local1 > -1) {
if ((getChildAt(_local1) is mc_food)){
removeChildAt(_local1);
};
_local1--;
};
};
}
public static function showFood(){
obj._showFood();
}
}
}//package lib
Section 290
//Client_mc (lib.Client_mc)
package lib {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.filters.*;
public class Client_mc extends MovieClip {
private var idInterval:int;
private var thief_ready:Boolean;
public var clients:MovieClip;
private var loader:Sprite;
private var moden:int;
private var thief_id:int;
private var thief_space:int;
public var star:MovieClip;
private var s:int;
private var list:Array;
public var select1:MovieClip;
private var _id:int;
private var goldTotal:int;
private var starNum:int;
private var thief:Boolean;
public var think:MovieClip;
private var thief_angry:Boolean;
public function Client_mc(){
super();
thief_ready = false;
thief_angry = false;
select1.visible = false;
goldTotal = GameData.goldTotal;
moden = 0;
loader = new Sprite();
addChild(loader);
stop();
try {
clearInterval(idInterval);
} catch(err) {
trace("Client_mc idInterval", err);
};
idInterval = setInterval(_stardis, (1000 * 20));
this.addEventListener(MouseEvent.MOUSE_OVER, _mouseOver);
this.addEventListener(MouseEvent.MOUSE_OUT, _mouseOut);
this.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
public function get id(){
return (_id);
}
private function _onUnload(_arg1:Event){
var evt = _arg1;
try {
clearTimeout(s);
} catch(err) {
trace(("client_mc: err:" + err));
};
try {
clearInterval(idInterval);
} catch(err) {
trace("Client_mc idInterval", err);
};
try {
clearInterval(thief_id);
} catch(err) {
};
this.removeEventListener(MouseEvent.MOUSE_OVER, _mouseOver);
this.removeEventListener(MouseEvent.MOUSE_OUT, _mouseOut);
this.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
public function set id(_arg1:int){
_id = _arg1;
if ((((((_arg1 == 3)) || ((_arg1 == 8)))) || ((_arg1 == 12)))){
starNum = 5;
} else {
if (_arg1 == 9){
starNum = 3;
} else {
starNum = 4;
};
};
if (((GameData.shirt6.buyed) || ((GameData.shirt == 4)))){
starNum = (starNum + 1);
};
if (_arg1 == 4){
thief = true;
};
star.gotoAndStop((starNum + 2));
clients.gotoAndStop(_arg1);
s = setTimeout(thinkend, 1800);
select1.y = (((clients.height * -1) + 16) + 55);
star.y = (((clients.height * -1) + 16) + 20);
think.y = (((clients.height * -1) + 35) + 16);
if (thief){
thief_space = ((int((Math.random() * 6)) + 16) * 1000);
thief_id = setInterval(thiefauto, thief_space);
};
}
private function showDish(){
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:*;
var _local5:*;
loader.graphics.clear();
_local1 = 0;
_local1 = (loader.numChildren - 1);
while (_local1 > -1) {
loader.removeChildAt(_local1);
_local1--;
};
loader.y = -25;
_local1 = 0;
_local2 = 0;
while (_local2 < list.length) {
_local3 = 0;
while (_local3 < list[_local2].length) {
_local4 = new mc_food_order();
loader.addChild(_local4);
_local4.gotoAndStop(list[_local2][_local3]);
_local4.x = (_local1 * 30);
if ((((list[_local2].length > 1)) && ((_local3 > 0)))){
_local5 = new mc_food_add();
loader.addChild(_local5);
_local5.x = ((_local1 * 30) - 15);
};
_local1++;
_local3++;
};
_local2++;
};
loader.graphics.beginFill(0xFFFFFF);
loader.graphics.drawRoundRect(-14, -14, (_local1 * 30), 28, 28, 28);
loader.graphics.endFill();
}
private function thiefend(){
clearInterval(thief_id);
thief_space = ((int((Math.random() * 6)) + 16) * 1000);
thief_id = setInterval(thiefauto, thief_space);
if (thief_angry){
clients.mc.gotoAndStop(2);
} else {
clients.mc.gotoAndStop(1);
};
thief_ready = false;
}
private function thiefauto3(){
clearInterval(thief_id);
thief_space = ((int((Math.random() * 6)) + 16) * 1000);
thief_id = setInterval(thiefauto, thief_space);
if (thief_angry){
clients.mc.gotoAndStop(2);
} else {
clients.mc.gotoAndStop(1);
};
}
private function setBrightness(_arg1:Number, _arg2:Number):void{
var _local3:Array;
_local3 = [_arg2, 0, 0, 0, _arg1, 0, _arg2, 0, 0, _arg1, 0, 0, _arg2, 0, _arg1, 0, 0, 0, 1, 0];
this.filters = [new ColorMatrixFilter(_local3)];
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:GameEvent;
_local2 = new GameEvent(GameEvent.CLIENT_REQUEST);
dispatchEvent(_local2);
}
private function _mouseOver(_arg1:MouseEvent){
setBrightness(60, 0.8);
}
private function thiefauto(){
thief_ready = true;
clearInterval(thief_id);
thief_id = setInterval(thiefauto2, (8 * 1000));
clients.mc.gotoAndStop(4);
}
private function clearDish(){
var _local1:int;
_local1 = 0;
_local1 = (loader.numChildren - 1);
while (_local1 > -1) {
loader.removeChildAt(_local1);
_local1--;
};
removeChild(loader);
}
private function thiefauto2(){
thief_ready = false;
clearInterval(thief_id);
thief_id = setInterval(thiefauto3, (3 * 1000));
clients.mc.gotoAndStop(5);
MC_GameEngine.score = (MC_GameEngine.score - 50);
if (MC_GameEngine.score < 0){
MC_GameEngine.score = 0;
};
}
public function request(_arg1:uint){
var _local2:*;
var _local3:Boolean;
var _local4:*;
var _local5:*;
var _local6:Number;
var _local7:int;
var _local8:GameEvent;
if (thief_ready){
thief_ready = false;
clearInterval(thief_id);
thief_id = setInterval(thiefend, (4 * 1000));
clients.mc.gotoAndStop(6);
} else {
if (moden == 1){
trace(" ");
trace("tray", Tray.list);
trace("++Client_mc 顾客检查点餐: ", list, " Tray: ", Tray.list);
_local2 = 0;
while (_local2 < list.length) {
if (list[_local2].length == Tray.list.length){
list[_local2] = list[_local2].sort(16);
Tray.list = Tray.list.sort(16);
_local3 = true;
_local4 = 0;
while (_local4 < list[_local2].length) {
if (list[_local2][_local4] != Tray.list[_local4]){
_local3 = false;
break;
};
_local4++;
};
if (_local3){
list.splice(_local2, 1);
showDish();
Tray.clear();
break;
};
};
_local2++;
};
if (list.length == 0){
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(101);
};
clearDish();
moden = 2;
clients.mc.gotoAndStop(3);
_local5 = setTimeout(disclient, 1800);
star.visible = false;
gotoAndStop("gold");
};
trace("++Client_mc 顾客检查点餐完毕: ", list, " Tray: ", Tray.list);
trace(" ");
} else {
if (moden == 2){
br3_Sound.playEffect(br3_Sound.Sound_client_pay, 1);
moden = 3;
_local6 = (star.currentFrame / (starNum + 2));
_local7 = int((goldTotal * _local6));
if (GameData.shirt == 2){
_local7 = (_local7 + int((((goldTotal * _local6) / 100) * 10)));
} else {
if (GameData.shirt == 3){
_local7 = (_local7 + int((((goldTotal * _local6) / 100) * 20)));
};
};
MC_GameEngine.score = (MC_GameEngine.score + _local7);
if (GameData.moden == GameData.CHALLENGEMODEN){
GameData.money = (GameData.money + _local7);
};
_local8 = new GameEvent(GameEvent.CLIENT_DIS);
_local8.moden = 2;
dispatchEvent(_local8);
};
};
};
}
private function thinkend(){
var _local1:int;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:int;
var _local6:*;
var _local7:int;
_local1 = (int((Math.random() * 2)) + 1);
if ((((GameData.levelNum < 3)) && (!((GameData.moden == GameData.CHALLENGEMODEN))))){
_local1 = 1;
};
if (GameData.moden == GameData.DEMOMODEN){
_local1 = 1;
trace("demo模式 点餐数量1");
};
list = [];
_local2 = 0;
while (_local2 < _local1) {
list[_local2] = [];
_local3 = MC_GameEngine.OrderSort;
_local4 = _local3[int((Math.random() * _local3.length))];
switch (_local4){
case 1:
list[_local2].push(1);
list[_local2].push(MC_GameEngine.OrderSort_meat[int((Math.random() * MC_GameEngine.OrderSort_meat.length))]);
_local5 = (int((Math.random() * 2)) + 1);
if ((((((GameData.levelNum < 5)) && (!((GameData.moden == GameData.CHALLENGEMODEN))))) && ((GameData.moden == GameData.DEMOMODEN)))){
_local5 = 1;
};
_local7 = 0;
while (_local7 < _local5) {
if (GameData.moden == GameData.DEMOMODEN){
list[_local2].push(8);
} else {
list[_local2].push(MC_GameEngine.OrderSort_bread[int((Math.random() * MC_GameEngine.OrderSort_bread.length))]);
};
_local7++;
};
break;
case 2:
list[_local2].push((int((Math.random() * 3)) + 31));
break;
case 3:
list[_local2].push((int((Math.random() * 3)) + 41));
break;
case 4:
list[_local2].push(20);
break;
case 5:
if (GameData.moden == GameData.STORYMODEN){
_local6 = (4 + GameData.level[GameData.levelNum].scene);
} else {
_local6 = (4 + GameData[("challenge" + GameData.challengeID)].scene);
};
_local6 = ((_local6 * 10) + 1);
list[_local2].push(_local6);
break;
default:
break;
};
_local2++;
};
if (GameData.shirt == 5){
list.push([(int((Math.random() * 3)) + 41)]);
};
trace("顾客点餐种类", _local1, "点餐后数组", list);
moden = 1;
showDish();
think.visible = false;
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(101);
};
}
private function _stardis(){
var _local1:GameEvent;
if (((MC_GameEngine.gameStart) && (!((GameData.moden == GameData.DEMOMODEN))))){
if (moden != 2){
star.prevFrame();
br3_Sound.playEffect(br3_Sound.Sound_client_mood, 1);
};
if (star.currentFrame == 4){
if (GameData.moden == GameData.CHALLENGEMODEN){
if (GameData.challengeID == 3){
_local1 = new GameEvent(GameEvent.CHALLENGELOSE);
dispatchEvent(_local1);
};
};
clients.mc.gotoAndStop(2);
thief_angry = true;
};
if (star.currentFrame == 2){
clearInterval(idInterval);
idInterval = setInterval(_stardis, (1000 * 5));
};
if (star.currentFrame == 1){
MC_GameEngine.score = (MC_GameEngine.score - 50);
if (MC_GameEngine.score < 0){
MC_GameEngine.score = 0;
};
if (GameData.moden == GameData.CHALLENGEMODEN){
GameData.money = (GameData.money - 50);
if (GameData.money < 0){
GameData.money = 0;
};
};
_local1 = new GameEvent(GameEvent.CLIENT_DIS);
dispatchEvent(_local1);
};
};
}
private function _mouseOut(_arg1:MouseEvent){
setBrightness(0, 1);
}
private function disclient(){
try {
clients.visible = false;
} catch(err) {
trace("Client 消除顾客时出错", err);
};
}
}
}//package lib
Section 291
//Client_mc_phone (lib.Client_mc_phone)
package lib {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Client_mc_phone extends MovieClip {
private var idInterval;
private var loader:Sprite;
private var moden;
public var pho:MovieClip;
public var star:MovieClip;
private var list:Array;
public var select1:MovieClip;
private var brights:Bright;
private var goldTotal:int;
private var starNum;
public function Client_mc_phone(){
loader = new Sprite();
addChild(loader);
loader.y = 10;
goldTotal = 60;
starNum = 5;
moden = 1;
star.stop();
pho.stop();
select1.visible = false;
brights = new Bright();
idInterval = setInterval(_stardis, (1000 * 20));
this.addEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
this.addEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
this.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this);
}
private function _onUnload(_arg1:Event){
this.removeEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
this.removeEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
this.removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
public function ring(){
br3_Sound.playEffect(br3_Sound.Sound_clock, 1);
starNum = 5;
if (((GameData.shirt6.buyed) || ((GameData.shirt == 4)))){
starNum = (starNum + 1);
};
star.gotoAndStop((starNum + 2));
star.visible = true;
pho.play();
moden = 2;
}
private function _onMouseOver(_arg1:MouseEvent){
brights.setBrightness(60, 0.8, this);
}
private function showDish(){
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:*;
var _local5:*;
loader.graphics.clear();
_local1 = 0;
_local1 = (loader.numChildren - 1);
while (_local1 > -1) {
loader.removeChildAt(_local1);
_local1--;
};
_local1 = 0;
_local2 = 0;
while (_local2 < list.length) {
_local3 = 0;
while (_local3 < list[_local2].length) {
_local4 = new mc_food_order();
loader.addChild(_local4);
_local4.gotoAndStop(list[_local2][_local3]);
_local4.x = (_local1 * 30);
if ((((list[_local2].length > 1)) && ((_local3 > 0)))){
_local5 = new mc_food_add();
loader.addChild(_local5);
_local5.x = ((_local1 * 30) - 15);
};
_local1++;
_local3++;
};
_local2++;
};
loader.x = ((_local1 - 1) * -30);
trace("loader.x", loader.x);
loader.graphics.beginFill(0xFFFFFF);
loader.graphics.drawRoundRect(-14, -14, (_local1 * 30), 28, 28, 28);
loader.graphics.endFill();
}
private function clearDish(){
var _local1:int;
_local1 = 0;
_local1 = (loader.numChildren - 1);
while (_local1 > -1) {
loader.removeChildAt(_local1);
_local1--;
};
loader.graphics.clear();
}
public function request(_arg1:uint){
var _local2:*;
var _local3:Boolean;
var _local4:*;
var _local5:Number;
var _local6:int;
var _local7:GameEvent;
trace("电话执行", moden);
if (moden == 2){
moden = 3;
thinkend();
pho.gotoAndStop(1);
br3_Sound.stopEffect(br3_Sound.Sound_clock);
};
if (moden == 3){
trace(" ");
trace("++电话收到食物 开始: ", list, " Tray: ", Tray.list);
_local2 = 0;
while (_local2 < list.length) {
if (list[_local2].length == Tray.list.length){
list[_local2] = list[_local2].sort(16);
Tray.list = Tray.list.sort(16);
_local3 = true;
_local4 = 0;
while (_local4 < list[_local2].length) {
if (list[_local2][_local4] != Tray.list[_local4]){
_local3 = false;
break;
};
_local4++;
};
if (_local3){
list.splice(_local2, 1);
showDish();
Tray.clear();
break;
};
};
_local2++;
};
if (list.length == 0){
_local5 = (star.currentFrame / (starNum + 2));
_local6 = int((goldTotal * _local5));
if (GameData.shirt == 2){
_local6 = (_local6 + int((((goldTotal * _local5) / 100) * 10)));
} else {
if (GameData.shirt == 3){
_local6 = (_local6 + int((((goldTotal * _local5) / 100) * 20)));
};
};
MC_GameEngine.score = (MC_GameEngine.score + _local6);
if (GameData.moden == GameData.CHALLENGEMODEN){
GameData.money = (GameData.money + _local6);
};
clearDish();
moden = 1;
star.visible = false;
_local7 = new GameEvent(GameEvent.PHONEEND);
dispatchEvent(_local7);
pho.gotoAndStop(1);
};
trace("++电话收到食物 完毕: ", list, " Tray: ", Tray.list, " g2: ", _local6);
trace(" ");
};
}
private function thinkend(){
var _local1:int;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:int;
var _local6:*;
var _local7:int;
_local1 = (int((Math.random() * 2)) + 1);
if ((((GameData.levelNum < 3)) && (!((GameData.moden == GameData.CHALLENGEMODEN))))){
_local1 = 1;
};
if (GameData.moden == GameData.DEMOMODEN){
_local1 = 1;
trace("demo模式 点餐数量1");
};
list = [];
_local2 = 0;
while (_local2 < _local1) {
list[_local2] = [];
_local3 = MC_GameEngine.OrderSort;
_local4 = _local3[int((Math.random() * _local3.length))];
switch (_local4){
case 1:
list[_local2].push(1);
list[_local2].push(MC_GameEngine.OrderSort_meat[int((Math.random() * MC_GameEngine.OrderSort_meat.length))]);
_local5 = (int((Math.random() * 2)) + 1);
if ((((((GameData.levelNum < 5)) && (!((GameData.moden == GameData.CHALLENGEMODEN))))) && ((GameData.moden == GameData.DEMOMODEN)))){
_local5 = 1;
};
_local7 = 0;
while (_local7 < _local5) {
if (GameData.moden == GameData.DEMOMODEN){
list[_local2].push(8);
} else {
list[_local2].push(MC_GameEngine.OrderSort_bread[int((Math.random() * MC_GameEngine.OrderSort_bread.length))]);
};
_local7++;
};
break;
case 2:
list[_local2].push((int((Math.random() * 3)) + 31));
break;
case 3:
list[_local2].push((int((Math.random() * 3)) + 41));
break;
case 4:
list[_local2].push(20);
break;
case 5:
if (GameData.moden == GameData.STORYMODEN){
_local6 = (4 + GameData.level[GameData.levelNum].scene);
} else {
_local6 = (4 + GameData[("challenge" + GameData.challengeID)].scene);
};
_local6 = ((_local6 * 10) + 1);
list[_local2].push(_local6);
break;
default:
break;
};
_local2++;
};
if (GameData.shirt == 5){
list.push([(int((Math.random() * 3)) + 41)]);
};
trace("电话 点餐种类", _local1, "点餐后数组", list);
showDish();
}
private function _onClick(_arg1:MouseEvent){
var _local2:GameEvent;
_local2 = new GameEvent(GameEvent.PHONEREQUEST);
dispatchEvent(_local2);
}
private function _stardis(){
var _local1:GameEvent;
var _local2:GameEvent;
if (((MC_GameEngine.gameStart) && (!((GameData.moden == GameData.DEMOMODEN))))){
if (moden != 1){
star.prevFrame();
br3_Sound.playEffect(br3_Sound.Sound_client_mood, 1);
if (star.currentFrame == 4){
if (GameData.moden == GameData.CHALLENGEMODEN){
if (GameData.challengeID == 3){
_local1 = new GameEvent(GameEvent.CHALLENGELOSE);
dispatchEvent(_local1);
};
};
};
if (star.currentFrame <= 2){
MC_GameEngine.score = (MC_GameEngine.score - 50);
if (MC_GameEngine.score < 0){
MC_GameEngine.score = 0;
};
if (GameData.moden == GameData.CHALLENGEMODEN){
GameData.money = (GameData.money - 50);
if (GameData.money < 0){
GameData.money = 0;
};
};
clearDish();
_local2 = new GameEvent(GameEvent.PHONEEND);
dispatchEvent(_local2);
pho.gotoAndStop(1);
moden = 1;
};
};
};
}
}
}//package lib
Section 292
//ClientLoader (lib.ClientLoader)
package lib {
import flash.events.*;
import flash.display.*;
public class ClientLoader extends Sprite {
private var space;
private var addnewClient:Boolean;
private var station:Array;
private var f;
public var phone:client_phone;
private var f_phone;
private var station_char:Array;
private var phoneRing:Boolean;
private var f_space:int;
public static var clientnum;
public function ClientLoader(){
station_char = [0, 0, 0, 0];
super();
phoneRing = false;
if ((((((GameData.levelNum >= 7)) && (!((GameData.moden == GameData.DEMOMODEN))))) && (!((GameData.moden == GameData.CHALLENGEMODEN))))){
phone.visible = true;
} else {
phone.visible = false;
};
addnewClient = true;
clientnum = 0;
station = [[423, 290, 0], [384, 368, 0], [345, 446, 0], [307, 524, 0]];
station_char = [0, 0, 0, 0];
f = 0;
f_phone = 0;
space = 2;
f_space = 10;
phone.addEventListener(GameEvent.PHONEREQUEST, _phoneRequest);
phone.addEventListener(GameEvent.PHONEEND, _phoneEnd);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _phoneEnd(_arg1:GameEvent){
f_phone = 0;
clientnum--;
phoneRing = false;
}
private function _phoneRequest(_arg1:GameEvent){
trace("电话被点击");
Order.addOrder(station[0][2], _arg1.target, 1, 16);
}
private function _onUnload(_arg1:Event){
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _client_request(_arg1:GameEvent){
var _local2:*;
_local2 = 0;
while (_local2 < station_char.length) {
if (_arg1.target == station_char[_local2]){
Order.addOrder(station[_local2][2], _arg1.target, 1, (_arg1.target.id + 100));
break;
};
_local2++;
};
}
public function setTarget(_arg1:Array){
var _local2:*;
_local2 = 0;
while (_local2 < station.length) {
station[_local2][2] = _arg1[_local2];
_local2++;
};
}
private function newClient(){
var _local1:int;
var _local2:*;
var _local3:Array;
var _local4:int;
_local1 = 0;
while (_local1 < station_char.length) {
if (station_char[_local1] == 0){
br3_Sound.playEffect(br3_Sound.Sound_client_start, 1);
clientnum++;
_local2 = new Client();
addChild(_local2);
setChildIndex(_local2, 0);
_local2.y = station[_local1][0];
_local2.x = station[_local1][1];
if (GameData.moden == GameData.STORYMODEN){
_local3 = GameData.level[GameData.levelNum].clients;
} else {
_local3 = [1, 2, 3, 4, 5, 6, 7, 8, 9];
switch (GameData[("challenge" + GameData.challengeID)].scene){
case 1:
_local3.push(11);
break;
case 2:
_local3.push(13);
break;
case 3:
_local3.push(10);
break;
case 4:
_local3.push(12);
break;
case 5:
_local3.push(14);
break;
default:
break;
};
};
if (GameData.moden == GameData.DEMOMODEN){
_local3 = [1];
};
_local4 = int((Math.random() * _local3.length));
_local2.id = _local3[_local4];
station_char[_local1] = _local2;
_local2.addEventListener(GameEvent.CLIENT_REQUEST, _client_request);
_local2.addEventListener(GameEvent.CLIENT_DIS, _client_dis);
_local2.addEventListener(GameEvent.CHALLENGELOSE, _challengelose);
break;
};
_local1++;
};
}
private function newPhone(){
phone.ring();
}
private function _client_dis(_arg1:GameEvent){
var _local2:GameEvent;
var _local3:int;
var _local4:*;
var _local5:*;
if (GameData.moden == GameData.CHALLENGEMODEN){
switch (GameData.challengeID){
case 0:
case 1:
case 2:
case 4:
case 5:
case 6:
case 7:
case 8:
case 9:
case 10:
case 11:
if (_arg1.moden != 2){
_local2 = new GameEvent(GameEvent.CHALLENGELOSE);
dispatchEvent(_local2);
};
break;
default:
break;
};
};
if (GameData.moden == GameData.DEMOMODEN){
_local2 = new GameEvent(GameEvent.DEMOWIN);
dispatchEvent(_local2);
};
_local3 = 0;
_arg1.target.removeEventListener(GameEvent.CLIENT_REQUEST, _client_request);
_arg1.target.removeEventListener(GameEvent.CLIENT_DIS, _client_dis);
_arg1.target.addEventListener(GameEvent.CHALLENGELOSE, _challengelose);
_local4 = 0;
while (_local4 < station_char.length) {
if (_arg1.target == station_char[_local4]){
_local3 = _local4;
clientnum--;
removeChild(station_char[_local4]);
station_char.splice(_local4, 1);
station_char.push(0);
moveChar();
break;
};
_local4++;
};
if (_arg1.moden == 2){
_local5 = new goldFly();
_local5.init(station[_local3]);
addChild(_local5);
_local5.addEventListener(GameEvent.GOLD_DIS, _goldDis);
};
}
private function moveChar(){
var _local1:*;
_local1 = 0;
while (_local1 < station_char.length) {
if (station_char[_local1] != 0){
station_char[_local1].x = station[_local1][1];
station_char[_local1].y = station[_local1][0];
};
_local1++;
};
}
private function _goldDis(_arg1:GameEvent){
var _local2:*;
_local2 = 0;
while (_local2 < this.numChildren) {
if (getChildAt(_local2) == _arg1.target){
getChildAt(_local2).removeEventListener(GameEvent.GOLD_DIS, _goldDis);
removeChildAt(_local2);
break;
};
_local2++;
};
}
public function move(){
f++;
if ((((((f > (30 * space))) && (!(MC_GameEngine.timeOut)))) && (addnewClient))){
if (GameData.moden == GameData.DEMOMODEN){
addnewClient = false;
};
f = 0;
space = int(((Math.random() * 5) + 5));
newClient();
};
if (phone.visible){
f_phone++;
if ((((((((f_phone > (30 * f_space))) && (!(MC_GameEngine.timeOut)))) && (addnewClient))) && (!(phoneRing)))){
phoneRing = true;
f_space = int(((Math.random() * 6) + 16));
f_phone = 0;
newPhone();
clientnum++;
};
};
}
private function _challengelose(_arg1:GameEvent){
var _local2:GameEvent;
_local2 = new GameEvent(GameEvent.CHALLENGELOSE);
dispatchEvent(_local2);
}
}
}//package lib
Section 293
//DemoIntro (lib.DemoIntro)
package lib {
import flash.display.*;
import flash.utils.*;
public class DemoIntro extends MovieClip {
private var id:int;
private static var obj;
public function DemoIntro(){
addFrameScript(0, frame1);
obj = this;
}
public function init(){
nextFrame();
}
private function makeend(){
nextFrame();
}
public function nextIntro(_arg1:int){
var _local2:int;
_local2 = currentFrame;
if ((((_local2 == 2)) && ((_arg1 == 101)))){
gotoAndStop(3);
};
if ((((_local2 == 3)) && ((_arg1 == 1)))){
gotoAndStop(4);
id = setTimeout(makeend, 1500);
};
if ((((_local2 == 5)) && ((_arg1 == 1)))){
gotoAndStop(6);
};
if ((((_local2 == 6)) && ((_arg1 == 18)))){
gotoAndStop(7);
};
if ((((_local2 == 7)) && ((_arg1 == 2)))){
gotoAndStop(8);
};
if ((((_local2 == 8)) && ((_arg1 == 2)))){
gotoAndStop(9);
};
if ((((_local2 == 9)) && ((_arg1 == 8)))){
gotoAndStop(10);
id = setTimeout(makeend, 800);
};
if ((((_local2 == 11)) && ((_arg1 == 101)))){
gotoAndStop(12);
};
}
function frame1(){
stop();
}
public static function request(_arg1:int){
obj.nextIntro(_arg1);
}
}
}//package lib
Section 294
//GameData (lib.GameData)
package lib {
import flash.net.*;
import flash.display.*;
public class GameData extends MovieClip {
private var challenge0_text:Array;
private var challenge11_goal:Array;
private var w5_story:Array;
private var c3_story:Array;
private var challenge11_text:Array;
public var c1;
public var c3;
public var c4;
public var c5:GameData_Level;
public var c2;
private var i2_story:Array;
private var challenge6_names:Array;
private var j3_story:Array;
private var challenge7_goal:Array;
private var d4_story:Array;
public var d4;
public var d5;
public var d2;
private var challenge7_text:Array;
private var w2_story:Array;
private var challenge4_goal:Array;
public var d3;
private var challenge4_text:Array;
private var challenge3_names:Array;
private var d1_story:Array;
private var challenge1_goal:Array;
public var d1;
public var w2;
public var w4;
private var i4_story:Array;
private var c5_story:Array;
public var w3;
public var w5;
private var challenge10_names:Array;
private var challenge0_names:Array;
private var challenge8_names:Array;
private var j5_story:Array;
private var challenge1_text:Array;
public var w1;
private var w4_story:Array;
private var challenge8_goal:Array;
private var i1_story:Array;
private var c2_story:Array;
public var i1;
public var i2;
public var i3;
public var i4;
public var i5;
private var challenge8_text:Array;
private var j2_story:Array;
public var j2;
public var j3;
public var j5;
public var j1;
private var challenge5_names:Array;
private var d3_story:Array;
private var w1_story:Array;
public var j4;
private var challenge5_text:Array;
private var challenge5_goal:Array;
private var challenge2_goal:Array;
private var challenge2_text:Array;
private var challenge2_names:Array;
private var c4_story:Array;
private var i3_story:Array;
private var challenge10_goal:Array;
private var challenge7_names:Array;
private var challenge9_goal:Array;
private var j4_story:Array;
private var challenge10_text:Array;
private var d5_story:Array;
private var w3_story:Array;
private var challenge9_text:Array;
private var challenge6_goal:Array;
private var c1_story:Array;
private var challenge6_text:Array;
private var challenge4_names:Array;
private var j1_story:Array;
private var challenge3_goal:Array;
private var challenge11_names:Array;
private var i5_story:Array;
private var challenge3_text:Array;
private var challenge0_goal:Array;
private var d2_story:Array;
private var challenge1_names:Array;
private var challenge9_names:Array;
public static var shirt6;
public static var mc_bread0;
public static var shirt2;
public static var DEMOMODEN:String = "demomoden";
public static var mc_bread1;
public static var table_center0;
public static var table_center1:Object;
public static var shirt4;
public static var mc_ice0;
public static var shirt0;
public static var h_score:int;
public static var mc_special0;
public static var shirt:uint;
public static var moden:String;
public static var challenge0;
public static var challenge1;
public static var challenge2;
public static var challenge3;
public static var challenge4;
public static var challenge5;
public static var challenge6;
public static var challenge7;
public static var challenge8;
public static var challenge9;
public static var shoes0;
public static var shoes1;
public static var shoes2:Object;
public static var STORYMODEN:String = "stroymoden";
public static var so:SharedObject;
public static var mc_frie0;
public static var levelNum:uint;
public static var level:Array;
public static var mc_milk0;
public static var finalyScore:uint;
public static var score;
public static var CHALLENGEMODEN:String = "challengemoden";
public static var mc_gril0;
public static var mc_gril1;
public static var money:int;
public static var challenge10;
public static var challenge11:Object;
public static var goldTotal:int = 60;
public static var challengeID:uint;
public static var shoes:uint;
public static var mc_table1;
public static var obj;
public static var shirt1;
public static var shirt3;
public static var shirt5;
public function GameData(){
var _local1:uint;
var _local2:Array;
var _local3:String;
c1_story = [];
c2_story = [];
c3_story = [];
c4_story = [];
c5_story = [];
i1_story = [];
i2_story = [];
i3_story = [];
i4_story = [];
i5_story = [];
w1_story = [];
w2_story = [];
w3_story = [];
w4_story = [];
w5_story = [];
j1_story = [];
j2_story = [];
j3_story = [];
j4_story = [];
j5_story = [];
d1_story = [];
d2_story = [];
d3_story = [];
d4_story = [];
d5_story = [];
challenge0_names = [];
challenge1_names = [];
challenge2_names = [];
challenge3_names = [];
challenge4_names = [];
challenge5_names = [];
challenge6_names = [];
challenge7_names = [];
challenge8_names = [];
challenge9_names = [];
challenge10_names = [];
challenge11_names = [];
challenge0_goal = [];
challenge1_goal = [];
challenge2_goal = [];
challenge3_goal = [];
challenge4_goal = [];
challenge5_goal = [];
challenge6_goal = [];
challenge7_goal = [];
challenge8_goal = [];
challenge9_goal = [];
challenge10_goal = [];
challenge11_goal = [];
challenge0_text = [];
challenge1_text = [];
challenge2_text = [];
challenge3_text = [];
challenge4_text = [];
challenge5_text = [];
challenge6_text = [];
challenge7_text = [];
challenge8_text = [];
challenge9_text = [];
challenge10_text = [];
challenge11_text = [];
super();
init2();
h_score = 10;
so = SharedObject.getLocal("BurgerRestaurant3");
if (so.data.highScore == null){
trace("没有数据重新获得");
_local2 = ["", "CPU", "CPU", "CPU", "PC", "CPU", "KOMPUTER", "PC", "PC", "CPU", "CPU", "CPU", "КОМПЬЮТЕР", "KOMPUTER", "", "", "CPU", "PCプレイヤー"];
_local3 = _local2[language.language_nr];
so.data.highScore = [];
_local1 = 0;
while (_local1 < 10) {
so.data.highScore[_local1] = [_local3, ((10000 - (_local1 * 1000)) - (_local1 * 100))];
_local1++;
};
so.data.levelNum = 0;
so.data.score = 0;
so.data.money = 0;
so.data.shoes = 1;
so.data.shirt = 1;
so.data.mc_bread0 = {speed:1};
so.data.mc_bread1 = {speed:1, visible:false};
so.data.mc_gril1 = {mc1:true, visible:false};
so.data.mc_table1 = {visible:false};
so.data.mc_milk0 = {speed:1, visible:false};
so.data.mc_ice0 = {speed:1, visible:false};
so.data.shirt0 = {buyed:true};
so.data.shirt1 = {buyed:false};
so.data.shirt2 = {buyed:false};
so.data.shirt3 = {buyed:false};
so.data.shirt4 = {buyed:false};
so.data.shirt5 = {buyed:false};
so.data.shirt6 = {buyed:false};
so.data.shoes0 = {buyed:true};
so.data.shoes1 = {buyed:false};
so.data.shoes2 = {buyed:false};
so.data.challenge0 = {played:false, score:0};
so.data.challenge1 = {played:false, score:0};
so.data.challenge2 = {played:false, score:0};
so.data.challenge3 = {played:false, score:0};
so.data.challenge4 = {played:false, score:0};
so.data.challenge5 = {played:false, score:0};
so.data.challenge6 = {played:false, score:0};
so.data.challenge7 = {played:false, score:0};
so.data.challenge8 = {played:false, score:0};
so.data.challenge9 = {played:false, score:0};
so.data.challenge10 = {played:false, score:0};
so.data.challenge11 = {played:false, score:0};
so.flush();
};
item_upData();
obj = this;
levelNum = so.data.levelNum;
score = so.data.score;
money = so.data.money;
shirt = so.data.shirt;
shoes = so.data.shoes;
trace("++++++++GameData初始化 levelNum: ", levelNum);
_local1 = 0;
_local1 = 1;
while (_local1 < 6) {
this[("c" + _local1)] = new GameData_Level();
this[("d" + _local1)] = new GameData_Level();
this[("i" + _local1)] = new GameData_Level();
this[("w" + _local1)] = new GameData_Level();
this[("j" + _local1)] = new GameData_Level();
this[("c" + _local1)].name = ("c" + _local1);
this[("i" + _local1)].name = ("i" + _local1);
this[("w" + _local1)].name = ("w" + _local1);
this[("j" + _local1)].name = ("j" + _local1);
this[("d" + _local1)].name = ("d" + _local1);
this[("c" + _local1)].scene = 1;
this[("i" + _local1)].scene = 2;
this[("w" + _local1)].scene = 3;
this[("j" + _local1)].scene = 4;
this[("d" + _local1)].scene = 5;
_local1++;
};
level = [d1, d2, d3, c1, c2, c3, i1, i2, i3, w1, w2, w3, j1, j2, j3, w4, i4, c4, d4, j4, j5, w5, i5, c5, d5];
c1.intro = 1;
i1.intro = 2;
w1.intro = 4;
j1.intro = 3;
d1.intro = 5;
i2.intro = 6;
c1.character = 20;
c2.character = 20;
c3.character = 5;
c4.character = 11;
c5.character = 20;
i1.character = 13;
i2.character = 3;
i3.character = 5;
i4.character = 1;
i5.character = 2;
w1.character = 10;
w2.character = 7;
w3.character = 5;
w4.character = 10;
w5.character = 4;
j1.character = 12;
j2.character = 9;
j3.character = 5;
j4.character = 9;
j5.character = 12;
d1.character = 20;
d2.character = 14;
d3.character = 14;
d4.character = 14;
d5.character = 5;
c1.text = c1_story[language.language_nr];
c2.text = c2_story[language.language_nr];
c3.text = c3_story[language.language_nr];
c4.text = c4_story[language.language_nr];
c5.text = c5_story[language.language_nr];
i1.text = i1_story[language.language_nr];
i2.text = i2_story[language.language_nr];
i3.text = i3_story[language.language_nr];
i4.text = i4_story[language.language_nr];
i5.text = i5_story[language.language_nr];
w1.text = w1_story[language.language_nr];
w2.text = w2_story[language.language_nr];
w3.text = w3_story[language.language_nr];
w4.text = w4_story[language.language_nr];
w5.text = w5_story[language.language_nr];
j1.text = j1_story[language.language_nr];
j2.text = j2_story[language.language_nr];
j3.text = j3_story[language.language_nr];
j4.text = j4_story[language.language_nr];
j5.text = j5_story[language.language_nr];
d1.text = d1_story[language.language_nr];
d2.text = d2_story[language.language_nr];
d3.text = d3_story[language.language_nr];
d4.text = d4_story[language.language_nr];
d5.text = d5_story[language.language_nr];
c1.targetScore = 200;
c2.targetScore = 300;
c3.targetScore = 400;
c4.targetScore = 800;
c5.targetScore = 1200;
i1.targetScore = 300;
i2.targetScore = 400;
i3.targetScore = 500;
i4.targetScore = 800;
i5.targetScore = 1200;
w1.targetScore = 400;
w2.targetScore = 500;
w3.targetScore = 600;
w4.targetScore = 800;
w5.targetScore = 1100;
j1.targetScore = 500;
j2.targetScore = 600;
j3.targetScore = 700;
j4.targetScore = 900;
j5.targetScore = 1000;
d1.targetScore = 100;
d2.targetScore = 200;
d3.targetScore = 300;
d4.targetScore = 800;
d5.targetScore = 1300;
c1.time = 2.5;
c2.time = 3;
c3.time = 3.5;
c4.time = 5.5;
c5.time = 7.5;
i1.time = 3;
i2.time = 3.5;
i3.time = 4;
i4.time = 5.5;
i5.time = 7;
w1.time = 3.5;
w2.time = 4;
w3.time = 4.5;
w4.time = 5.5;
w5.time = 6.5;
j1.time = 4;
j2.time = 4.5;
j3.time = 5;
j4.time = 5.5;
j5.time = 6;
d1.time = 2;
d2.time = 2.5;
d3.time = 3;
d4.time = 5.5;
d5.time = 8;
d1.clients = [1, 2, 14];
d2.clients = [1, 2, 14];
d3.clients = [1, 2, 14, 5];
d4.clients = [1, 2, 14, 3, 9, 4, 5];
d5.clients = [1, 2, 14, 9, 3, 4, 5];
c1.clients = [1, 2, 11];
c2.clients = [1, 2, 11, 9];
c3.clients = [1, 2, 11, 9, 5, 3];
c4.clients = [1, 2, 11, 3, 9];
c5.clients = [1, 2, 11, 9, 3, 4, 5];
i1.clients = [1, 2, 13, 5];
i2.clients = [1, 2, 13, 5, 9, 3];
i3.clients = [1, 2, 13, 3, 5];
i4.clients = [1, 13, 8, 5, 9];
i5.clients = [1, 2, 13, 5, 3];
w1.clients = [1, 2, 10, 5, 9];
w2.clients = [1, 2, 10, 7];
w3.clients = [1, 2, 10, 5, 6];
w4.clients = [1, 2, 10, 4, 7];
w5.clients = [1, 2, 10, 4, 6];
j1.clients = [1, 2, 12, 6];
j2.clients = [1, 2, 12, 6, 8, 9];
j3.clients = [1, 2, 12, 9, 5];
j4.clients = [1, 2, 12, 4, 9, 9];
j5.clients = [1, 2, 12, 9, 3];
challenge0 = new Object();
challenge1 = new Object();
challenge2 = new Object();
challenge3 = new Object();
challenge4 = new Object();
challenge5 = new Object();
challenge6 = new Object();
challenge7 = new Object();
challenge8 = new Object();
challenge9 = new Object();
challenge10 = new Object();
challenge11 = new Object();
challenge0.scene = 1;
challenge1.scene = 5;
challenge2.scene = 1;
challenge3.scene = 2;
challenge4.scene = 2;
challenge5.scene = 2;
challenge6.scene = 3;
challenge7.scene = 3;
challenge8.scene = 3;
challenge9.scene = 4;
challenge10.scene = 4;
challenge11.scene = 4;
challenge0.names = challenge0_names[language.language_nr];
challenge1.names = challenge1_names[language.language_nr];
challenge2.names = challenge2_names[language.language_nr];
challenge3.names = challenge3_names[language.language_nr];
challenge4.names = challenge4_names[language.language_nr];
challenge5.names = challenge5_names[language.language_nr];
challenge6.names = challenge6_names[language.language_nr];
challenge7.names = challenge7_names[language.language_nr];
challenge8.names = challenge8_names[language.language_nr];
challenge9.names = challenge9_names[language.language_nr];
challenge10.names = challenge10_names[language.language_nr];
challenge11.names = challenge11_names[language.language_nr];
trace("GameData初始化", challenge0.names, language.language_nr);
challenge0.goal = challenge0_goal[language.language_nr];
challenge1.goal = challenge1_goal[language.language_nr];
challenge2.goal = challenge2_goal[language.language_nr];
challenge3.goal = challenge3_goal[language.language_nr];
challenge4.goal = challenge4_goal[language.language_nr];
challenge5.goal = challenge5_goal[language.language_nr];
challenge6.goal = challenge6_goal[language.language_nr];
challenge7.goal = challenge7_goal[language.language_nr];
challenge8.goal = challenge8_goal[language.language_nr];
challenge9.goal = challenge9_goal[language.language_nr];
challenge10.goal = challenge10_goal[language.language_nr];
challenge11.goal = challenge11_goal[language.language_nr];
challenge0.character = 1;
challenge1.character = 3;
challenge2.character = 11;
challenge3.character = 6;
challenge4.character = 7;
challenge5.character = 13;
challenge6.character = 4;
challenge7.character = 2;
challenge8.character = 10;
challenge9.character = 5;
challenge10.character = 8;
challenge11.character = 12;
challenge0.text = challenge0_text[language.language_nr];
challenge1.text = challenge1_text[language.language_nr];
challenge2.text = challenge2_text[language.language_nr];
challenge3.text = challenge3_text[language.language_nr];
challenge4.text = challenge4_text[language.language_nr];
challenge5.text = challenge5_text[language.language_nr];
challenge6.text = challenge6_text[language.language_nr];
challenge7.text = challenge7_text[language.language_nr];
challenge8.text = challenge8_text[language.language_nr];
challenge9.text = challenge9_text[language.language_nr];
challenge10.text = challenge10_text[language.language_nr];
challenge11.text = challenge11_text[language.language_nr];
}
public function init(){
}
private function init2(){
challenge0_names[0] = "";
challenge0_names[1] = "Great Wall of Burgers";
challenge0_names[2] = "万里长城汉堡";
challenge0_names[3] = "Chinese hamburgermuur";
challenge0_names[4] = "La Grande Muraille de Burgers";
challenge0_names[5] = "Die chinesische Burger-Mauer";
challenge0_names[6] = "Wielki Mur z hamburgerów";
challenge0_names[7] = "Mur av hamburgare";
challenge0_names[8] = "Grande muro degli hamburger";
challenge0_names[9] = "Gran muralla de hamburguesas";
challenge0_names[10] = "Grande Muralha dos Hambúrgueres";
challenge0_names[11] = "Torre de hambúrgueres";
challenge0_names[12] = "Великая гамбургерная стена";
challenge0_names[13] = "Tembok Roti Burger";
challenge0_names[14] = "";
challenge0_names[15] = "";
challenge0_names[16] = "Great Wall of Burgers";
challenge0_names[17] = "万里の長城バーガー";
challenge1_names[0] = "";
challenge1_names[1] = "Good Fortune";
challenge1_names[2] = "好运气";
challenge1_names[3] = "Fortuinlijke burgers";
challenge1_names[4] = "La chance est avec toi";
challenge1_names[5] = "Viel Glück";
challenge1_names[6] = "Przychylna Fortuna";
challenge1_names[7] = "God lycka";
challenge1_names[8] = "Buona sorte";
challenge1_names[9] = "Buena fortuna";
challenge1_names[10] = "Boa Fortuna";
challenge1_names[11] = "Boa sorte";
challenge1_names[12] = "Целое состояние";
challenge1_names[13] = "Nasib Baik";
challenge1_names[14] = "";
challenge1_names[15] = "";
challenge1_names[16] = "Good Fortune";
challenge1_names[17] = "幸運";
challenge2_names[0] = "";
challenge2_names[1] = "China Unlimited";
challenge2_names[2] = "中国无限制";
challenge2_names[3] = "Eindeloos China";
challenge2_names[4] = "La Chine sans limites";
challenge2_names[5] = "China ohne Grenzen";
challenge2_names[6] = "Chiny bez granic";
challenge2_names[7] = "Kina oändligt";
challenge2_names[8] = "Cina senza limiti";
challenge2_names[9] = "China infinita";
challenge2_names[10] = "China Ilimitada";
challenge2_names[11] = "China sem limites";
challenge2_names[12] = "Китайский рекорд";
challenge2_names[13] = "Cina Tanpa Batas";
challenge2_names[14] = "";
challenge2_names[15] = "";
challenge2_names[16] = "China Unlimited";
challenge2_names[17] = "中国無制限";
challenge3_names[0] = "";
challenge3_names[1] = "That’s amore!";
challenge3_names[2] = "这就是爱!";
challenge3_names[3] = "Dat is amore!";
challenge3_names[4] = "Amore quand tu nous tiens !";
challenge3_names[5] = "Das ist Amore!";
challenge3_names[6] = "To miłość!";
challenge3_names[7] = "Amore!";
challenge3_names[8] = "Questo è amore!";
challenge3_names[9] = "¡Eso es amore!";
challenge3_names[10] = "Isto é amor!";
challenge3_names[11] = "É o amore!";
challenge3_names[12] = "Мамма миа, это любовь!";
challenge3_names[13] = "Lebih lagi!";
challenge3_names[14] = "";
challenge3_names[15] = "";
challenge3_names[16] = "That’s amore!";
challenge3_names[17] = "アモーレ!";
challenge4_names[0] = "";
challenge4_names[1] = "Pasta Perils";
challenge4_names[2] = "意大利面";
challenge4_names[3] = "Pastaperikelen";
challenge4_names[4] = "Pasta en péril";
challenge4_names[5] = "Pasta-Tücken";
challenge4_names[6] = "Niebezpieczny makaron";
challenge4_names[7] = "Pastans skräck";
challenge4_names[8] = "I pericoli della pasta";
challenge4_names[9] = "El peligro de la pasta";
challenge4_names[10] = "Perigos da Pasta";
challenge4_names[11] = "Macarronada complicada";
challenge4_names[12] = "Жертвы спагетти";
challenge4_names[13] = "Resiko Pasta";
challenge4_names[14] = "";
challenge4_names[15] = "";
challenge4_names[16] = "Pasta Perils";
challenge4_names[17] = "パスタペリス";
challenge5_names[0] = "";
challenge5_names[1] = "Italy Unlimited";
challenge5_names[2] = "意大利无限制";
challenge5_names[3] = "Eindeloos Italië";
challenge5_names[4] = "L'Italie sans limites";
challenge5_names[5] = "Italien ohne Grenzen";
challenge5_names[6] = "Włochy bez granic";
challenge5_names[7] = "Italien oändligt";
challenge5_names[8] = "Italia senza limiti";
challenge5_names[9] = "Italia infinita";
challenge5_names[10] = "Itália Ilimitada";
challenge5_names[11] = "Itália sem limites";
challenge5_names[12] = "Итальянский рекорд";
challenge5_names[13] = "Italia Tanpa Batas";
challenge5_names[14] = "";
challenge5_names[15] = "";
challenge5_names[16] = "Italy Unlimited";
challenge5_names[17] = "イタリア無制限";
challenge6_names[0] = "";
challenge6_names[1] = "Yeeha!";
challenge6_names[2] = "哦!Yeeha!";
challenge6_names[3] = "Jiehaa howdy-ho!";
challenge6_names[4] = "Hue cocotte !";
challenge6_names[5] = "Yeeha!";
challenge6_names[6] = "Juhuu!";
challenge6_names[7] = "Yeeha!";
challenge6_names[8] = "Yeeha!";
challenge6_names[9] = "¡Yiihaa!";
challenge6_names[10] = "Yeeha!";
challenge6_names[11] = "Irrá!";
challenge6_names[12] = "Деньги на ветер!";
challenge6_names[13] = "Yeeha!";
challenge6_names[14] = "";
challenge6_names[15] = "";
challenge6_names[16] = "Yeeha!";
challenge6_names[17] = "イエーイ!";
challenge7_names[0] = "";
challenge7_names[1] = "An Even Wilder West";
challenge7_names[2] = "美国西部";
challenge7_names[3] = "Een nog wilder Westen";
challenge7_names[4] = "À la conquête du Far West";
challenge7_names[5] = "Der noch wildere Westen";
challenge7_names[6] = "Bardzo Dziki Zachód";
challenge7_names[7] = "Vildare västern";
challenge7_names[8] = "Un West ancora più selvaggio";
challenge7_names[9] = "Un Oeste aún más salvaje";
challenge7_names[10] = "Um Oeste Ainda Mais Selvagem";
challenge7_names[11] = "Bem para lá do faroeste";
challenge7_names[12] = "Запад вконец одичал";
challenge7_names[13] = "Barat yang Aneh";
challenge7_names[14] = "";
challenge7_names[15] = "";
challenge7_names[16] = "An Even Wilder West";
challenge7_names[17] = "アメリカ西部";
challenge8_names[0] = "";
challenge8_names[1] = "Wild West Unlimited";
challenge8_names[2] = "西部无限制";
challenge8_names[3] = "Eindeloos Wilde Westen";
challenge8_names[4] = "Le Far West sans limites";
challenge8_names[5] = "Wilder Westen ohne Grenzen";
challenge8_names[6] = "Dziki Zachód bez granic";
challenge8_names[7] = "Vilda västern oändligt";
challenge8_names[8] = "Selvaggio West senza limiti";
challenge8_names[9] = "Salvaje Oeste infinito";
challenge8_names[10] = "Oeste Selvagem Ilimitado";
challenge8_names[11] = "Faroeste sem limites";
challenge8_names[12] = "Рекорд Дикого Запада";
challenge8_names[13] = "Wild West Tanpa Batas";
challenge8_names[14] = "";
challenge8_names[15] = "";
challenge8_names[16] = "Wild West Unlimited";
challenge8_names[17] = "西部無制限";
challenge9_names[0] = "";
challenge9_names[1] = "Dōmo Arigatō, Mr. Roboto";
challenge9_names[2] = "谢谢您,先生机器人";
challenge9_names[3] = "Dōmo Arigatō, Mr. Roboto";
challenge9_names[4] = "Dōmo Arigatō, Monsieur Roboto";
challenge9_names[5] = "Dōmo Arigatō, Mr. Roboto";
challenge9_names[6] = "Dōmo Arigatō, Mr. Roboto";
challenge9_names[7] = "Dōmo Arigatō, Roboto";
challenge9_names[8] = "Dōmo Arigatō, Sig. Roboto";
challenge9_names[9] = "Dōmo Arigatō, Mr. Roboto";
challenge9_names[10] = "Dōmo Arigatō, Sr. Roboto";
challenge9_names[11] = "Dōmo Arigatō, Sr. Roboto";
challenge9_names[12] = "Покупать все, продавец-сан!";
challenge9_names[13] = "Dōmo Arigatō, Mr. Roboto";
challenge9_names[14] = "";
challenge9_names[15] = "";
challenge9_names[16] = "Dōmo Arigatō, Mr. Roboto";
challenge9_names[17] = "ドーモ、アリガト!ミスター・.ロバート";
challenge10_names[0] = "";
challenge10_names[1] = "Waste Not, Want Not";
challenge10_names[2] = "别想浪费";
challenge10_names[3] = "Wie wat bewaart, die heeft wat";
challenge10_names[4] = "Qui épargne gagne";
challenge10_names[5] = "Sparen tut Not…";
challenge10_names[6] = "Nie marnuj, a nie będziesz w potrzebie";
challenge10_names[7] = "Slösa intet";
challenge10_names[8] = "Non sprecare, non sarai bisognoso";
challenge10_names[9] = "Optimiza los recursos";
challenge10_names[10] = "Não Gaste, Não Queira";
challenge10_names[11] = "Sem desperdícios";
challenge10_names[12] = "Урна переполнена!";
challenge10_names[13] = "Tidak Buang, Tidak Ingin";
challenge10_names[14] = "";
challenge10_names[15] = "";
challenge10_names[16] = "Waste Not, Want Not";
challenge10_names[17] = "何も捨てず、何も欲しない";
challenge11_names[0] = "";
challenge11_names[1] = "Japan Unlimited";
challenge11_names[2] = "日本无限制";
challenge11_names[3] = "Eindeloos Japan";
challenge11_names[4] = "Le Japon sans limites";
challenge11_names[5] = "Japan ohne Grenzen";
challenge11_names[6] = "Japonia bez granic";
challenge11_names[7] = "Japan oändligt";
challenge11_names[8] = "Giappone senza limiti";
challenge11_names[9] = "Japón infinito";
challenge11_names[10] = "Japão Ilimitado";
challenge11_names[11] = "Japão sem limites";
challenge11_names[12] = "Японский рекорд";
challenge11_names[13] = "Jepang Tanpa Batas";
challenge11_names[14] = "";
challenge11_names[15] = "";
challenge11_names[16] = "Japan Unlimited";
challenge11_names[17] = "日本無制限";
challenge0_goal[0] = "";
challenge0_goal[1] = "You can only make burgers.";
challenge0_goal[2] = "你能只做汉堡包吗?";
challenge0_goal[3] = "Je kunt alleen hamburgers maken.";
challenge0_goal[4] = "Tu ne peux faire que des burgers.";
challenge0_goal[5] = "Du kannst ausschließlich Burger machen.";
challenge0_goal[6] = "Możesz przygotowywać tylko hamburgery";
challenge0_goal[7] = "Du kan bara göra hamburgare.";
challenge0_goal[8] = "Puoi fare solo hamburger.";
challenge0_goal[9] = "Sólo puedes hacer hamburguesas.";
challenge0_goal[10] = "Só pode fazer hambúrgueres.";
challenge0_goal[11] = "Você pode fazer apenas hambúrgueres.";
challenge0_goal[12] = "Готовить можно только гамбургеры.";
challenge0_goal[13] = "Anda hanya bisa membuat roti burger";
challenge0_goal[14] = "";
challenge0_goal[15] = "";
challenge0_goal[16] = "You can only make burgers.";
challenge0_goal[17] = "ハンバーガーしか作れません。";
challenge1_goal[0] = "";
challenge1_goal[1] = "Earn $10,000 to spend in the store.";
challenge1_goal[2] = "赚10,000块钱然后到商店里花掉。";
challenge1_goal[3] = "Verdien € 10.000 om in je restaurant te investeren.";
challenge1_goal[4] = "Gagne € 10.000 pour les investir dans ton restaurant.";
challenge1_goal[5] = "Verdiene €10.000 für den Shop.";
challenge1_goal[6] = "Zarób 10 000 zł do wydania w sklepie.";
challenge1_goal[7] = "Tjäna €10 000 att handla för.";
challenge1_goal[8] = "Guadagna €10,000 da spendere nel negozio.";
challenge1_goal[9] = "Gana 10.000 € para gastarlos en la tienda.";
challenge1_goal[10] = "Ganhe €10.000 para gastar na loja.";
challenge1_goal[11] = "Receba $ 10.000 para gastar na loja.";
challenge1_goal[12] = "Заработай 10000 руб., чтобы закупить оборудование.";
challenge1_goal[13] = "Dapatkan $10,000 untuk berbelanja di toko.";
challenge1_goal[14] = "";
challenge1_goal[15] = "";
challenge1_goal[16] = "Earn $10,000 to spend in the shop.";
challenge1_goal[17] = "10000ドル稼いでお店に使います。";
challenge2_goal[0] = "";
challenge2_goal[1] = "Get the highest score you can!";
challenge2_goal[2] = "尽你所能获得尽量多的报酬!";
challenge2_goal[3] = "Behaal zoveel mogelijk punten!";
challenge2_goal[4] = "Obtiens le score le plus élevé possible !";
challenge2_goal[5] = "Erziele den höchstmöglichen Score!";
challenge2_goal[6] = "Uzyskaj jak najlepszy wynik!";
challenge2_goal[7] = "Få högsta möjliga poäng!";
challenge2_goal[8] = "Ottieni il punteggio più alto che puoi!";
challenge2_goal[9] = "¡Logra la puntuación más alta que puedas!";
challenge2_goal[10] = "Alcance a maior pontuação que conseguir!";
challenge2_goal[11] = "Obtenha a pontuação mais alta!";
challenge2_goal[12] = "Набери как можно больше очков!";
challenge2_goal[13] = "Dapatkan skor tertinggi yang anda bisa!";
challenge2_goal[14] = "";
challenge2_goal[15] = "";
challenge2_goal[16] = "Achieve the highest score possible!";
challenge2_goal[17] = "最高得点を出してください!";
challenge3_goal[0] = "";
challenge3_goal[1] = "Are your customers showing you the love?";
challenge3_goal[2] = "你的顾客喜欢你吗?";
challenge3_goal[3] = "Houden je klanten van je?";
challenge3_goal[4] = "Tes clients t'apprécient-ils ?";
challenge3_goal[5] = "Lieben die Kunden dich?";
challenge3_goal[6] = "Czy klienci okazują ci ciepłe uczucia?";
challenge3_goal[7] = "Visar dina kunder dig kärlek?";
challenge3_goal[8] = "I tuoi clienti ti stanno dimostrando il loro amore?";
challenge3_goal[9] = "¿Tus clientes te demuestran que te quieren?";
challenge3_goal[10] = "Os seus clientes estão a demonstrar-lhe o seu amor?";
challenge3_goal[11] = "Os seus fregueses estão felizes?";
challenge3_goal[12] = "Любят ли тебя клиенты?";
challenge3_goal[13] = "Apakah pelanggan anda menunjukkan kasih sayangnya?";
challenge3_goal[14] = "";
challenge3_goal[15] = "";
challenge3_goal[16] = "Are your customers showing you the love you deserve?";
challenge3_goal[17] = "お客様は喜んでいますか?";
challenge4_goal[0] = "";
challenge4_goal[1] = "Hungry bellies kill patience!";
challenge4_goal[2] = "饥饿会扼杀忍耐力!";
challenge4_goal[3] = "Hongerige magen zijn ongeduldig!";
challenge4_goal[4] = "Ventre affamé ne peut pas attendre !";
challenge4_goal[5] = "Hungrige Mägen machen ungeduldig!";
challenge4_goal[6] = "Jak Polak głodny, to zły!";
challenge4_goal[7] = "Hungriga magar dödar tålamod!";
challenge4_goal[8] = "Le pance affamate uccidono la pazienza!";
challenge4_goal[9] = "¡El hambre acaba con la paciencia!";
challenge4_goal[10] = "As barrigas vazias dão-nos cabo da paciência! ";
challenge4_goal[11] = "Pessoas famintas não têm paciência!";
challenge4_goal[12] = "Просто невыносимое чувство голода!";
challenge4_goal[13] = "Perut lapar membunuh kesabaran!";
challenge4_goal[14] = "";
challenge4_goal[15] = "";
challenge4_goal[16] = "Hungry bellies make short patience!";
challenge4_goal[17] = "おなかが空いて我慢できないよ!";
challenge5_goal[0] = "";
challenge5_goal[1] = "Get the highest score you can!";
challenge5_goal[2] = "获得尽量多的钱!";
challenge5_goal[3] = "Behaal zoveel mogelijk punten!";
challenge5_goal[4] = "Obtiens le score le plus élevé possible !";
challenge5_goal[5] = "Erziele den höchstmöglichen Score!";
challenge5_goal[6] = "Zdobądź jak najlepszy wynik!";
challenge5_goal[7] = "Få högsta möjliga poäng!";
challenge5_goal[8] = "Ottieni il punteggio più alto che puoi!";
challenge5_goal[9] = "¡Logra la puntuación más alta que puedas!";
challenge5_goal[10] = "Alcance a maior pontuação que conseguir!";
challenge5_goal[11] = "Obtenha a pontuação mais alta!";
challenge5_goal[12] = "Набери как можно больше очков!";
challenge5_goal[13] = "Dapatkan skor tertinggi yang anda bisa!";
challenge5_goal[14] = "";
challenge5_goal[15] = "";
challenge5_goal[16] = "Achieve the highest score possible!";
challenge5_goal[17] = "最高得点を出してください!";
challenge6_goal[0] = "";
challenge6_goal[1] = "Can you waste it all and still run a business?";
challenge6_goal[2] = "花掉所有的钱,关卡的最后不要有剩余,你还能经营这个餐厅吗?";
challenge6_goal[3] = "Kun je het einde van het level halen als je alles verspilt hebt?";
challenge6_goal[4] = "Es-tu capable de tout gaspiller et de faire tout de même des affaires ?";
challenge6_goal[5] = "Kannst du alles verschleudern und dennoch ein Geschäft führen?";
challenge6_goal[6] = "Czy możesz stracić wszystko i wciąż prowadzić interes?";
challenge6_goal[7] = "Kan du slänga allt utan att gå i konkurs?";
challenge6_goal[8] = "Puoi sprecare tutto ed essere ancora in affari?";
challenge6_goal[9] = "Con demasiados desperdicios hundirás el negocio.";
challenge6_goal[10] = "Consegue gastar tudo e continuar a gerir o negócio?";
challenge6_goal[11] = "Será que você consegue jogar tudo fora e ainda administrar o seu negócio?";
challenge6_goal[12] = "Сумеешь ли ты швырять деньги в урну и не прогореть?";
challenge6_goal[13] = "Bisakah anda menghabiskannya dan tetap menjalankan bisnis?";
challenge6_goal[14] = "";
challenge6_goal[15] = "";
challenge6_goal[16] = "Can you waste it all and still run a business?";
challenge6_goal[17] = "それを全て無駄にして、まだビジネスを続けますか?";
challenge7_goal[0] = "";
challenge7_goal[1] = "Earn $25,000 to spend in the shop.";
challenge7_goal[2] = "赚25,000块钱,然后在商店把他们都花掉。";
challenge7_goal[3] = "Verdien € 25.000 om in je restaurant te investeren.";
challenge7_goal[4] = "Gagne € 25.000 et investis-les dans ton restaurant.";
challenge7_goal[5] = "Verdiene €25.000 für den Shop.";
challenge7_goal[6] = "Zarób 25 000 zł do wydania w sklepie.";
challenge7_goal[7] = "Tjäna €25 000 att handla för.";
challenge7_goal[8] = "Guadagna €25,000 da spendere nel negozio.";
challenge7_goal[9] = "Gana 25.000 € para gastarlos en la tienda.";
challenge7_goal[10] = "Ganhe €25.000 para gastar na loja.";
challenge7_goal[11] = "Receba $ 25.000 para gastar na loja.";
challenge7_goal[12] = "Заработай 25000 руб., чтобы закупить оборудование.";
challenge7_goal[13] = "Dapatkan $25,000 untuk berbelanja di toko.";
challenge7_goal[14] = "";
challenge7_goal[15] = "";
challenge7_goal[16] = "Earn $25,000 to spend in the shop.";
challenge7_goal[17] = "25000ドルを稼いで店に使う。";
challenge8_goal[0] = "";
challenge8_goal[1] = "Get the highest score you can!";
challenge8_goal[2] = "看你最多能赚多少钱!";
challenge8_goal[3] = "Behaal zoveel mogelijk punten!";
challenge8_goal[4] = "Obtiens le score le plus élevé possible !";
challenge8_goal[5] = "Erziele den höchstmöglichen Score!";
challenge8_goal[6] = "Zdobądź jak najlepszy wynik!";
challenge8_goal[7] = "Få högsta möjliga poäng!";
challenge8_goal[8] = "Ottieni il punteggio più alto che puoi!";
challenge8_goal[9] = "¡Logra la puntuación más alta que puedas!";
challenge8_goal[10] = "Alcance a maior pontuação que conseguir!";
challenge8_goal[11] = "Obtenha a pontuação mais alta!";
challenge8_goal[12] = "Набери как можно больше очков!";
challenge8_goal[13] = "Dapatkan skor tertinggi yang anda bisa!";
challenge8_goal[14] = "";
challenge8_goal[15] = "";
challenge8_goal[16] = "Achieve the highest score possible!";
challenge8_goal[17] = "最高得点を出しましょう!";
challenge9_goal[0] = "";
challenge9_goal[1] = "Buy everything available in the shop.";
challenge9_goal[2] = "购买商店中所有的东西。";
challenge9_goal[3] = "Koop alle voorwerpen in de winkel.";
challenge9_goal[4] = "Achète tout ce qui est disponible dans le magasin.";
challenge9_goal[5] = "Kaufe alles, was du im Shop bekommen kannst.";
challenge9_goal[6] = "Kup wszystkie przedmioty dostępne w sklepie.";
challenge9_goal[7] = "Köp allt som finns i butiken.";
challenge9_goal[8] = "Compra tutto quello che è in vendita nel negozio.";
challenge9_goal[9] = "Compra todo lo que haya en la tienda.";
challenge9_goal[10] = "Compre tudo o que estiver disponível na loja.";
challenge9_goal[11] = "Compre a loja toda.";
challenge9_goal[12] = "Скупи все, что продается в магазине.";
challenge9_goal[13] = "Beli semuanya yang tersedia di toko";
challenge9_goal[14] = "";
challenge9_goal[15] = "";
challenge9_goal[16] = "Buy everything available in the shop.";
challenge9_goal[17] = "お店で全てのアイテムを購入する。";
challenge10_goal[0] = "";
challenge10_goal[1] = "Don't throw anything away!";
challenge10_goal[2] = "不要扔掉任何的东西!";
challenge10_goal[3] = "Gooi niets weg!";
challenge10_goal[4] = "Ne jette rien !";
challenge10_goal[5] = "Wirf nichts fort!";
challenge10_goal[6] = "Niczego nie wyrzucaj!";
challenge10_goal[7] = "Kasta ingenting!";
challenge10_goal[8] = "Non buttare via nulla!";
challenge10_goal[9] = "¡No tires nada!";
challenge10_goal[10] = "Não deite nada fora!";
challenge10_goal[11] = "Não jogue nada fora!";
challenge10_goal[12] = "Ничего не выбрасывай!";
challenge10_goal[13] = "Jangan membuang apapun!";
challenge10_goal[14] = "";
challenge10_goal[15] = "";
challenge10_goal[16] = "Don't throw anything away!";
challenge10_goal[17] = "何も捨てないで下さい。";
challenge11_goal[0] = "";
challenge11_goal[1] = "Get the highest score you can!";
challenge11_goal[2] = "看你能获得多高的分数!";
challenge11_goal[3] = "Behaal zoveel mogelijk punten!";
challenge11_goal[4] = "Obtiens le score le plus élevé possible !";
challenge11_goal[5] = "Erziele den höchstmöglichen Score!";
challenge11_goal[6] = "Zdobądź jak najlepszy wynik!";
challenge11_goal[7] = "Få högsta möjliga poäng!";
challenge11_goal[8] = "Ottieni il punteggio più alto che puoi!";
challenge11_goal[9] = "¡Logra la puntuación más alta que puedas!";
challenge11_goal[10] = "Alcance a maior pontuação que conseguir!";
challenge11_goal[11] = "Obtenha a pontuação mais alta!";
challenge11_goal[12] = "Набери как можно больше очков!";
challenge11_goal[13] = "Dapatkan skor tertinggi yang anda bisa!";
challenge11_goal[14] = "";
challenge11_goal[15] = "";
challenge11_goal[16] = "Achieve the highest score possible!";
challenge11_goal[17] = "最高得点を出してください!";
challenge0_text[0] = "";
challenge0_text[1] = "Try to earn $1,000 serving only burgers.";
challenge0_text[2] = "试着只做汉堡包赚到1000块钱";
challenge0_text[3] = "Verdien € 1.000 met alleen hamburgers.";
challenge0_text[4] = "Essaye de gagner €1.000 rien qu'en servant des hamburgers.";
challenge0_text[5] = "Versuche, € 1.000 nur durch das Servieren von Burgern zu verdienen.";
challenge0_text[6] = "Spróbuj zarobić 1000 zł serwując tylko hamburgery.";
challenge0_text[7] = "Tjäna €1 000 - servera bara hamburgare.";
challenge0_text[8] = "Cerca di guadagnare €1,000 servendo solo hamburger.";
challenge0_text[9] = "Intenta ganar 1.000 € sirviendo sólo hamburguesas.";
challenge0_text[10] = "Tente ganhar €1.000 servindo apenas hambúrgueres.";
challenge0_text[11] = "Tente conseguir $ 1.000 servindo apenas hambúrgueres.";
challenge0_text[12] = "Заработай 10000 руб. на одних гамбургерах.";
challenge0_text[13] = "Coba untuk mendapatkan $1,000 hanya dengan menyajikan roti burger.";
challenge0_text[14] = "";
challenge0_text[15] = "";
challenge0_text[16] = "Try to earn $1,000 serving only burgers.";
challenge0_text[17] = "ハンバーガーだけで1000ドル稼ぎましょう!";
challenge1_text[0] = "";
challenge1_text[1] = "Since you're raking it in, you can dish it out. Earn $10,000 to spend on equipment.";
challenge1_text[2] = "你要能赚钱,也要会花钱。赚10,000块钱,然后把他们都花在装备上吧。";
challenge1_text[3] = "Als je zo goed verdient, kun je het ook met bakken uitgeven. Verdien € 10.000 om in je restaurant te investeren.";
challenge1_text[4] = "Comme tu t'en mets plein les poches, tu peux aussi dépenser. Gagne €10.000 et investis-les en équipement pour le restaurant.";
challenge1_text[5] = "Was du einnimmst, kannst du ausgeben. Verdiene €10.000 für Ausstattung.";
challenge1_text[6] = "Skoro zgarniasz kasę, możesz też ją wydawać. Zarób 10 000 zł do wydania na wyposażenie.";
challenge1_text[7] = "Du tjänar storkovan och slösar friskt. Tjäna €10 000 att köpa utrustning för.";
challenge1_text[8] = "Dal momento che stai facendo un sacco di soldi, puoi sborsarli. Guadagna €10,000 da spendere in attrezzatura.";
challenge1_text[9] = "Ahora que estás ganando pasta, puedes gastar un poco. Gana 10.000 € y gástalos en equipo.";
challenge1_text[10] = "Uma vez que está a ganhar bem, pode gastar. Ganhe €10.000 para gastar em equipamento.";
challenge1_text[11] = "Já que o dinheiro está entrando, você pode gastar. Receba $ 10.000 para gastar em equipamentos.";
challenge1_text[12] = "Раз ты гребешь деньги лопатой, значит, и тратить их можешь от души. Заработай 10000 руб., чтобы потратить их на оборудование.";
challenge1_text[13] = "Karena anda menggaruknya, maka anda bisa menghidangkannya. Dapatkan $10,000 untuk berbelanja peralatan.";
challenge1_text[14] = "";
challenge1_text[15] = "";
challenge1_text[16] = "Since you're raking it in, you can dish it out. Earn $10,000 to spend on equipment.";
challenge1_text[17] = "ガッポリ稼いで、ガンガン投資!10000ドル稼いで設備をグレードアップしましょう。";
challenge2_text[0] = "";
challenge2_text[1] = "I can sing very high. But can you score very high? Try to get as much money as possible.";
challenge2_text[2] = "我唱歌的声调可以非常高.但你能赚非常多的钱吗?试着赚尽量多的钱吧。";
challenge2_text[3] = "Ik kan heel hoog zingen. Kun jij ook een hoge score behalen? Verdien zoveel mogelijk geld.";
challenge2_text[4] = "Amateur de haute altitude ? Jusqu'où pourras-tu faire grimper ton score ? Essaye de gagner le plus d'argent possible.";
challenge2_text[5] = "Ich kann hoch singen - aber kannst du auch hoch scoren? Verdiene soviel Geld wie möglich.";
challenge2_text[6] = "Potrafię śpiewać bardzo wysoko. Ale czy ty uzyskasz równie wysoki wynik? Spróbuj zarobić jak najwięcej pieniędzy.";
challenge2_text[7] = "Jag kan sjunga högt. Men kan du få hög poäng? Tjäna så mycket du kan.";
challenge2_text[8] = "Posso cantare molto in alto. Ma tu puoi segnare molto in alto? Cerca di guadagnare più soldi possibili.";
challenge2_text[9] = "Yo puedo cantar muy alto. ¿Y tú, puedes conseguir una puntuación muy alta? Intenta ganar todo el dinero que puedas.";
challenge2_text[10] = "Eu consigo cantar muito alto. Mas será que você consegue ganhar muito também? Tente ganhar a maior quantidade de dinheiro possível.";
challenge2_text[11] = "Eu consigo cantar muito alto, mas será que você consegue uma pontuação alta? Tente conseguir o máximo de dinheiro possível.";
challenge2_text[12] = "По силам ли тебе набрать рекордный счет? Постарайся заработать как можно больше денег!";
challenge2_text[13] = "Saya bisa menyanyi sangat tinggi. Tapi bisa anda mendapatkan skor yang tinggi? Cobalah untuk mendapatkan uang sebanyak mungkin.";
challenge2_text[14] = "";
challenge2_text[15] = "";
challenge2_text[16] = "I can sing very high notes, but can you score very high points? Try to earn as much money as possible.";
challenge2_text[17] = "私は高音の歌が歌えるけど、あなたは高スコアを出せますか?できるだけ沢山のお金をもらってね。";
challenge3_text[0] = "";
challenge3_text[1] = "Take good care of your customers. If one gets angry, the challenge is over.";
challenge3_text[2] = "好好照顾你的顾客。如果有人生气了,这个挑战模式就会失败。";
challenge3_text[3] = "De klant is koning. Als er iemand boos wordt, is de uitdaging afgelopen.";
challenge3_text[4] = "Occupe-toi bien de tes clients. Si un seul d'eux se fâche, tu as perdu ce défi.";
challenge3_text[5] = "Achte gut auf deine Kunden. Wenn ein Kunde ärgerlich wird, ist die Herausforderung vorbei.";
challenge3_text[6] = "Dobrze zadbaj o swoich klientów. Jeśli któryś z nich się rozzłości, wyzwanie jest skończone.";
challenge3_text[7] = "Ta hand om dina kunder. Om en blir arg är utmaningen över.";
challenge3_text[8] = "Occupati bene dei tuoi clienti. Se uno si arrabbia, la sfida è finita.";
challenge3_text[9] = "Trata bien a tus clientes. Si alguno se enfada, el desafío habrá terminado.";
challenge3_text[10] = "Tome bem conta dos seus clientes. Se um deles ficar irritado, o desafio termina.";
challenge3_text[11] = "Cuide bem dos seus fregueses. Se um deles ficar irritado, o desafio termina.";
challenge3_text[12] = "Заботься о своих клиентах как следует. Если хоть один разозлится, игра закончится!";
challenge3_text[13] = "Jagalah para pelanggan anda dengan baik. Jika seseorang marah, maka tantangan akan berakhir.";
challenge3_text[14] = "";
challenge3_text[15] = "";
challenge3_text[16] = "Take good care of your customers. The challenge is over when one gets angry.";
challenge3_text[17] = "お客様にきちんと対応してください。怒らせてしまったらゲームオーバーです。";
challenge4_text[0] = "";
challenge4_text[1] = "Now things are really moving! Can you keep up with the faster pace?";
challenge4_text[2] = "现在一切都动起来了!你可以赶上这个速度吗?";
challenge4_text[3] = "Dit is het echte werk! Kun je nog een tandje bijschakelen?";
challenge4_text[4] = "On avance sur les chapeaux de roues. Peux-tu soutenir le rythme ?";
challenge4_text[5] = "Jetzt kommt alles in Schwung! Kannst du Schritt halten?";
challenge4_text[6] = "Teraz wszystko działa naprawdę szybko! Czy nadążysz?";
challenge4_text[7] = "Det börjar röra på sig! Klarar du att hålla det högre tempot?";
challenge4_text[8] = "Adesso le cose si stanno davvero smuovendo! Riesci a tenere il passo con il ritmo più veloce?";
challenge4_text[9] = "¡Esto marcha! ¿Serás capaz de seguir el ritmo cada vez más rápido?";
challenge4_text[10] = "Agora as coisas estão mesmo a mexer! Tem pedalada para a um ritmo ainda mais acelerado?";
challenge4_text[11] = "Agora está tudo funcionando! Será que você consegue acompanhar?";
challenge4_text[12] = "Темп все растет! Сумеешь ли ты не отставать?";
challenge4_text[13] = "Segalanya berjalan dengan lancar! Bisakah anda tetap mempertahankannya dengan langkah yang lebih cepat?";
challenge4_text[14] = "";
challenge4_text[15] = "";
challenge4_text[16] = "Now things are really moving! Can you keep up with the faster pace?";
challenge4_text[17] = "進んでいます!ペースをあげれますか?";
challenge5_text[0] = "";
challenge5_text[1] = "‘O sole mio!' Let’s see how much money you can make!";
challenge5_text[2] = "‘O sole mio!让我们看看你能赚多少钱!";
challenge5_text[3] = "‘O sole mio!' Laat maar eens zien hoeveel je kunt verdienen!";
challenge5_text[4] = "‘O sole mio!' Combien d'argent arriveras-tu à obtenir ?";
challenge5_text[5] = "‘O sole mio!' Mal sehen, wieviel Geld du verdienen kannst!";
challenge5_text[6] = "‘O sole mio!' Zobaczmy, ile pieniędzy uda ci się zarobić!";
challenge5_text[7] = "‘O sole mio!' Låt oss se hur mycket pengar du kan tjäna!";
challenge5_text[8] = "‘O sole mio!' Vediamo quanti soldi puoi guadagnare!";
challenge5_text[9] = "‘O sole mio!' ¡Veamos cuánto dinero puedes ganar!";
challenge5_text[10] = "‘O sole mio!' Vamos ver quanto dinheiro consegue ganhar!";
challenge5_text[11] = "‘O sole mio!' Vamos ver quanto dinheiro você consegue!";
challenge5_text[12] = "‘O sole mio!' Посмотрим, сколько денег ты сумеешь заработать!";
challenge5_text[13] = "‘O sole mio!' Mari lihat jumlah uang yang anda dapatkan!";
challenge5_text[14] = "";
challenge5_text[15] = "";
challenge5_text[16] = "‘O sole mio!' Let’s see how much money you can earn!";
challenge5_text[17] = "‘O sole mio!どれだけ稼げるかな?";
challenge6_text[0] = "";
challenge6_text[1] = "You think you can hide your money from me? Throw all your money in the trash by the end of the level, but don't forget your customers!";
challenge6_text[2] = "你以为可以在我面前藏钱?在这关的结束时不要留一点钱,但还要为你的顾客服务!";
challenge6_text[3] = "Verstop je je geld voor me? Gooi het allemaal in de prullenbak voor het einde van het level, maar vergeet je klanten niet!";
challenge6_text[4] = "Penses-tu que tu arrives à cacher ton l'argent sans que je le voie ? Jette tout ton argent à la poubelle jusqu'à la fin du niveau, mais n'oublie pas tes clients.";
challenge6_text[5] = "Du denkst, du könntest dein Geld vor mir verstecken? Wirf dein ganzes Geld am Ende des Levels in den Mülleimer, aber vergiss die Kunden nicht!";
challenge6_text[6] = "Myślisz, że uda ci się ukryć przede mną swoje pieniądze? Wyrzuć wszystkie swoje pieniądze do kosza, zanim poziom się skończy, ale nie zapominaj o swoich klientach!";
challenge6_text[7] = "Tror du att du kan gömma pengar från mig? Kasta alla dina pengar i soporna i slutet av nivån, men glöm inte dina kunder!";
challenge6_text[8] = "Credi di poter nascondere i tuoi soldi da me? Butta tutti i tuoi soldi nella spazzatura entro la fine del livello, ma non dimenticare i tuoi clienti!";
challenge6_text[9] = "¿Crees que puedes ocultarme el dinero? ¡Tira todo el dinero a la basura al final del nivel, pero no te olvides de los clientes!";
challenge6_text[10] = "Pensa que pode esconder de mim o seu dinheiro? Deite todo o seu dinheiro para o lixo no final do nível mas não se esqueça dos seus clientes!";
challenge6_text[11] = "Você acha que vai esconder o seu dinheiro de mim? Jogue todo o dinheiro no lixo no final do nível, mas não esqueça dos seus fregueses!";
challenge6_text[12] = "Думаешь, я не знаю, сколько ты зарабатываешь? Сложи все свои деньги в урну до конца дня, но не забывай о клиентах!";
challenge6_text[13] = "Anda pikir bahwa anda bisa menyembunyikan uang anda dari saya? Buang semua uang anda ke dalam tong sampah di bagian akhir level, tapi jangan lupakan pelanggan anda!";
challenge6_text[14] = "";
challenge6_text[15] = "";
challenge6_text[16] = "You think you can hide your money from me? Throw all your money in the bin by the end of the level, but don't forget your customers!";
challenge6_text[17] = "私からお金を隠せると思ってるの?レベル終了時にお金をゴミ箱に捨てなさい。でも、お客様のことも忘れないように!";
challenge7_text[0] = "";
challenge7_text[1] = "Time for some upgrades! Earn $25,000 to spend on equipment. But you've gotta work for it!";
challenge7_text[2] = "是前进的时候了!赚25,000元,然后把他们全都花在购买装备上。但你要好好的为这个目标工作了!";
challenge7_text[3] = "De hoogste tijd om met je tijd mee te gaan! Verdien € 25.000 om aan apparatuur uit te geven. Maar je moet er voor werken!";
challenge7_text[4] = "Il est temps de procéder à des mises à niveau ! Gagne €25.000 pour les investir dans de nouveaux équipements. Tu vas devoir travailler dur !";
challenge7_text[5] = "Zeit für ein paar Upgrades! Verdiene € 25.000 für Ausstattung. Aber dafür musst du hart arbeiten!";
challenge7_text[6] = "Czas na kilka ulepszeń! Zarób 25 000 zł na wyposażenie. Czeka cię naprawdę ciężka praca!";
challenge7_text[7] = "Dags att uppgradera! Tjäna €25 000 att köpa utrustning för. Men du måste jobba hårt!";
challenge7_text[8] = "È il momento degli upgrade! Guadagna €25,000 da spendere in attrezzatura. Ma devi lavorare per farlo!";
challenge7_text[9] = "¡Ya es tiempo de hacer mejoras! Gana 25.000 € y gástalos en equipo. ¡Pero tendrás que trabajar duro!";
challenge7_text[10] = "Está na altura de fazer algumas melhorias! Ganhe €25.000 para gastar em equipamentos. Mas tem de trabalhar para isso!";
challenge7_text[11] = "Está na hora de modernizar! Receba $ 25.000 para gastar com equipamentos. Mas você vai ter que trabalhar para isso!";
challenge7_text[12] = "Пора обновить оборудование! Заработай 25000руб., чтобы потратить их на новую технику. Учти, придется попотеть!";
challenge7_text[13] = "Waktunya untuk mengaupgrade! Dapatkan $25,000 untuk berbelanja peralatan. Tapi anda harus bekerja untuk itu!";
challenge7_text[14] = "";
challenge7_text[15] = "";
challenge7_text[16] = "Time for some upgrades! Earn $25,000 to spend on equipment. But you'll have to work for it!";
challenge7_text[17] = "グレードアップをしましょう!25000ドルを稼いで設備に投資してください。でも、そのぶん仕事もしなければいけませんよ。";
challenge8_text[0] = "";
challenge8_text[1] = "Howdy! Say pardner, how much dough can you round up?";
challenge8_text[2] = "嗨!朋友,你能能赚多少钱?";
challenge8_text[3] = "Howdy! Zeg partner, hoeveel poen kun jij opstrijken?";
challenge8_text[4] = "Salut ! Dis voire collègue : combien d'fric peux-tu amasser ?";
challenge8_text[5] = "Howdy! So, Grünhorn, wieviel Zaster kannst du scheffeln?";
challenge8_text[6] = "Serwusik! Powiedz no, przyjacielu, ile forsy dasz radę uzbierać?";
challenge8_text[7] = "Howdy! Hur mycket deg kan du dra in, partner?";
challenge8_text[8] = "Ehilà! Dimmi partner, quanto impasto puoi stendere?";
challenge8_text[9] = "¡Buenas, vaquera! ¿Crees que serás capaz de echar el lazo a un buen puñado de dólares?";
challenge8_text[10] = "Olá! Diz lá parceiro, quanta massa consegues fazer?";
challenge8_text[11] = "Olá. E aí, parceira? Você é boa em alisar a massa?";
challenge8_text[12] = "Здорово! Поглядим, сколько баксов ты сумеешь срубить!";
challenge8_text[13] = "Apa kabar! Kata rekan, berapa banyak uang yang bisa anda dapatkan?";
challenge8_text[14] = "";
challenge8_text[15] = "";
challenge8_text[16] = "Howdy! Say pardner, how much dough can you round up?";
challenge8_text[17] = "こんにちは、どのくらいパン生地を丸められるかな?";
challenge9_text[0] = "";
challenge9_text[1] = "I want to start a burger restaurant of my own! Could you help me buy all the items I need from the shop?";
challenge9_text[2] = "我想开一家自己的汉堡店!你可以帮我从商店购买所有的道具吗?";
challenge9_text[3] = "Ik wil mijn eigen burgerrestaurant beginnen! Kun je me helpen alles uit de winkel te kopen?";
challenge9_text[4] = "Je veux commencer mon propre restaurant de hamburgers ! Peux-tu m'aider à acheter tout ce dont j'ai besoin dans le magasin ?";
challenge9_text[5] = "Ich möchte ein eigenes Burger-Restaurant eröffnen. Hilfst du mir, alle wichtigen Sachen hierfür im Shop zu kaufen?";
challenge9_text[6] = "Chcę otworzyć swoją własną restaurację z hamburgerami! Czy pomożesz mi kupić w sklepie wszystkie przedmioty, których potrzebuję?";
challenge9_text[7] = "Jag vill öppna ett eget hamburgerhak! Kan du hjälpa mig att köpa alla saker jag behöver i butiken?";
challenge9_text[8] = "Voglio aprire il mio ristorante di hamburger! Potresti aiutarmi a comprare nel negozio tutte le cose di cui ho bisogno?";
challenge9_text[9] = "¡Quiero abrir mi propio restaurante! ¿Podrías ayudarme a comprar en la tienda todo lo que necesito?";
challenge9_text[10] = "Eu quero começar com um restaurante de hambúrgueres por conta própria! Pode ajudar-me a comprar todos os objectos da loja de que eu possa precisar?";
challenge9_text[11] = "Eu também queria ter uma lanchonete! Será que você pode me ajudar a comprar todos os itens necessários na loja?";
challenge9_text[12] = "Я хочу открыть собственное кафе! Вы не поможете мне купить все необходимое?";
challenge9_text[13] = "Saya ingin memulai usaha restoran roti burger saya sendiri! Bisakah anda membantu saya untuk membeli semua benda-benda yang Saya butuhkan dari toko?";
challenge9_text[14] = "";
challenge9_text[15] = "";
challenge9_text[16] = "I want to start a burger restaurant of my own! Could you help me buy all the items I need from the shop?";
challenge9_text[17] = "自分のハンバーガーショップをオープンしたいのです!お店に必要なものを買うんだけど手伝ってくれないかな?";
challenge10_text[0] = "";
challenge10_text[1] = "Why throw away food when some people are starving? Can you complete this level without throwing anything away?";
challenge10_text[2] = "有很多人还在挨饿,为什么要把食物扔掉?你可以完成这关,切不扔掉任何食物吗?";
challenge10_text[3] = "Waarom zou je voedsel weggooien als er mensen verhongeren? Voltooi dit level zonder iets weg te gooien…";
challenge10_text[4] = "Pourquoi jeter de la nourriture quand des gens meurent de faim ? Essaye de compléter ce niveau sans rien jeter !";
challenge10_text[5] = "Warum Essen wegwerfen, wenn Leute hungern? Kannst du dieses Level beenden, ohne etwas in den Müll zu werfen?";
challenge10_text[6] = "Po co wyrzucać jedzenie, skoro tylu ludzi głoduje? Czy zdołasz ukończyć ten poziom nie wyrzucając niczego?";
challenge10_text[7] = "Varför kasta mat när människor svälter? Kan du klara nivån utan att slänga någonting?";
challenge10_text[8] = "Perché buttare via il cibo quando c'è gente che muore di fame? Puoi completare questo livello senza buttare via niente?";
challenge10_text[9] = "¿Por qué tirar comida cuando hay gente que se muere de hambre? ¿Podrás completar este nivel sin tirar nada?";
challenge10_text[10] = "Porquê deitar comida fora quando há gente que passa fome? Consegue completar este nível sem desperdiçar nenhuma comida?";
challenge10_text[11] = "Por que jogar comida fora quando existem pessoas passando fome? Você consegue terminar este nível sem jogar nada fora?";
challenge10_text[12] = "Разве можно выбрасывать пищу, когда столько людей голодает? Сможешь ли ты пройти уровень, не выбрасывая продукты в урну?";
challenge10_text[13] = "Mengapa membuang makanan saat banyak orang yang sedang kelaparan? Bisakah anda menyelesaikan level ini tanpa membuang apapun?";
challenge10_text[14] = "";
challenge10_text[15] = "";
challenge10_text[16] = "Why throw away food when some people are starving? Can you complete this level without throwing anything away?";
challenge10_text[17] = "餓えている人もいるのに、どうして食べ物を捨てるんだ?物を捨てずにこのレベルをクリアできるかな?";
challenge11_text[0] = "";
challenge11_text[1] = "Can you gather a pile of money bigger than me?";
challenge11_text[2] = "你可以赚比我还多的一大堆钱吗?";
challenge11_text[3] = "Kun jij een stapel geld bij elkaar brengen die groter is dan ik ben?";
challenge11_text[4] = "Peux-tu entasser une pile d'argent plus haute que moi ?";
challenge11_text[5] = "Kannst du einen Haufen Kohle verdienen, der größer ist als ich?";
challenge11_text[6] = "Czy zdołasz zebrać stos pieniądzy wyższy ode mnie?";
challenge11_text[7] = "Kan du samla en hög med pengar som är större än jag?";
challenge11_text[8] = "Puoi racimolare una pila di soldi più grande della mia?";
challenge11_text[9] = "A ver si eres capaz de juntar un montón de dinero más alto que yo.";
challenge11_text[10] = "Consegue acumular um monte de dinheiro maior do que eu?";
challenge11_text[11] = "Será que você consegue uma pilha de dinheiro maior do que eu?";
challenge11_text[12] = "Сумеешь ли ты заработать еще больше денег, чем я?";
challenge11_text[13] = "Bisakah anda mendapatkan jumlah uang yang lebih besar dari saya?";
challenge11_text[14] = "";
challenge11_text[15] = "";
challenge11_text[16] = "Can you accumulate a larger stack of money than me?";
challenge11_text[17] = "私よりたくさんお金を集められるかな?";
c1_story[0] = "";
c1_story[1] = "Burgers in China! I wonder what new customers I'll meet here.";
c1_story[2] = "在中国的汉堡店!我想知道我在这里会遇到什么新顾客。";
c1_story[3] = "Hamburgers in China! Ik ben benieuwd wat voor klanten ik hier ga ontmoeten.";
c1_story[4] = "Des hamburgers en Chine ! Je me demande quel genre de clients je vais y rencontrer.";
c1_story[5] = "Burger in China! Ich bin gespannt auf meine neuen Kunden.";
c1_story[6] = "Hamburgery w Chinach! Ciekawe, jakich nowych klientów tu spotkam!";
c1_story[7] = "Hamburgare i Kina! Jag undrar vilka nya kunder jag kommer möta här.";
c1_story[8] = "Hamburger in Cina! Mi chiedo che nuovi clienti troverò qui.";
c1_story[9] = "¡Hamburguesas en China! Me pregunto qué clase de clientes encontraré aquí.";
c1_story[10] = "Hambúrgueres na China! Que tipo de novos clientes irei eu encontrar por cá.";
c1_story[11] = "Hambúrgueres na China! Como serão meus clientes novos?";
c1_story[12] = "Гамбургеры в Китае! Интересно, как меня встретят новые клиенты?";
c1_story[13] = "Roti burger di Cina! Saya penasaran akan pelanggan baru yang akan Saya temui disini.";
c1_story[14] = "";
c1_story[15] = "";
c1_story[16] = "Burgers in China! I wonder what new customers I will meet here.";
c1_story[17] = "中国でハンバーガー作り!ここで新しいお客様に会えるかな~?";
c2_story[0] = "";
c2_story[1] = "Chinese cuisine is really different from what I’m used to. But they still seem to like my burgers: business has never been better!";
c2_story[2] = "中国的菜肴与我以前做的真不一样.但顾客仍然很喜欢我的汉堡店:生意从来没有那么好过!";
c2_story[3] = "De Chinese keuken is heel anders dan ik gewend ben. Maar ik geloof dat ze mijn hamburgers toch lekker vinden: de zaken zijn nog nooit zo goed gegaan!";
c2_story[4] = "La cuisine chinoise est vraiment différente de celle dont j'ai l'habitude. Mais les Chinois semblent apprécier mes hamburgers. Les affaires n'ont jamais été si prospères !";
c2_story[5] = "Die chinesische Küche ist wirklich ganz anders. Aber die Chinesen scheinen meine Burger zu mögen: Die Geschäfte liefen nie besser! ";
c2_story[6] = "Chińska kuchnia naprawdę bardzo różni się od tej, do której jestem przyzwyczajona. Tak czy inaczej, moje hamburgery chyba im smakują: interes nigdy nie prosperował tak dobrze!";
c2_story[7] = "Kinesisk mat är verkligen annorlunda än vad jag är van vid. Men de gillar mina hamburgare: affärerna går lysande!";
c2_story[8] = "La cucina cinese è davvero diversa da quella a cui sono abituata. Ma sembra che a loro piacciano i miei hamburger: gli affari non sono mai andati meglio!";
c2_story[9] = "La cocina china es muy distinta de la que conocía, pero, a pesar de todo, parece que a todos les gustan mis hamburguesas: ¡el negocio nunca ha ido mejor!";
c2_story[10] = "A cozinha chinesa é muito diferente daquilo a que estou habituada. Mas parece que os chineses gostam dos meus hambúrgueres. O negócio nunca correu tão bem!";
c2_story[11] = "A cozinha chinesa é muito diferente do que estou acostumada. Mas parece que eles gostam do meu hambúrguer. Meus negócios nunca estiveram melhores!";
c2_story[12] = "Китайская кухня совершенно не похожа на то, к чему я привыкла. Однако китайцам, похоже, понравились мои гамбургеры: мои дела идут как никогда хорошо!";
c2_story[13] = "Masakan orang Cina sungguh berbeda. Tapi mereka kelihatannya masih menyukai roti burger saya: bisnis tidak akan pernah menjadi lebih baik!";
c2_story[14] = "";
c2_story[15] = "";
c2_story[16] = "Chinese cuisine is so different from what I am used to. But they still seem to like my burgers: business has never been better!";
c2_story[17] = "中華料理は、私が食べ慣れているものとは全然違います。でも、みんなやっぱり私のハンバーガーが好きみたい。ビジネスも上々です。";
c3_story[0] = "";
c3_story[1] = "Long time no see! I see you've taken your burger chain overseas now. I hear they're really looking for this sort of thing in Italy now, too. You should look into it!";
c3_story[2] = "好久没见!我看你已经把你的汉堡店开到了中国。我听他们说你们在意大利的餐厅也非常好。你应该去看看!";
c3_story[3] = "Dat is lang geleden! Ik zie dat je je burgerketen hebt uitgebreid. Ik heb gehoord dat ze in Italië ook hamburgers willen eten. Misschien moet je daar eens heen gaan!";
c3_story[4] = "Ça fait un bail qu'on ne s'est plus vus ! Je vois que tu as ouvert un restaurant outre-mer maintenant. J'ai entendu dire qu'actuellement en Italie on recherche vraiment ce genre de restaurant. Tu devrais aller voir.";
c3_story[5] = "Lange nicht gesehen! Deine Burger-Kette gibt es nun also auch in Übersee. Übrigens sind sie in Italien ganz verrückt nach Burgern. Du solltest dein Glück dort versuchen!";
c3_story[6] = "Długo się nie widzieliśmy! Widzę, że budujesz sieć swoich restauracji za oceanem. Podobno teraz jest na nie zapotrzebowanie także we Włoszech. Powinnaś wziąć to pod uwagę!";
c3_story[7] = "Kul att ses igen! Jag ser att din hamburgerkedja växer. Jag har hört att det finns en efterfrågan i Italien nu. Du borde åka dit!";
c3_story[8] = "Non ti vedo da una vita! Vedo che ora hai portato oltremare la tua catena di hamburger. Ho sentito dire che ora anche in Italia il mercato è favorevole per questo tipo di cose. Dovresti farci un pensierino!";
c3_story[9] = "¡Cuánto tiempo sin vernos! Ya veo que has llevado tu cadena de hamburgueserías al extranjero. He oído que estos locales se están popularizando en Italia. ¿Por qué no lo intentas allí?";
c3_story[10] = "Esteve muito tempo longe. Vejo que conseguiu levar a sua cadeia de hambúrgueres além fronteiras. Ouvi dizer que agora, em Itália, estão muito interessados neste tipo de negócios também. Devia ir para lá!";
c3_story[11] = "Quanto tempo! Estou vendo que você levou seu restaurante para outros países. Ouvi falar que estão precisando de lugares assim na Itália. Acho que você deveria dar uma olhada!";
c3_story[12] = "Давно не виделись! Вижу, ваша сеть закусочных добралась и до нас. По слухам, в Италии растет спрос на гамбургеры. Вам определенно стоит туда съездить! ";
c3_story[13] = "Sudah lama tidak berjumpa! Saya melihat bahwa anda telah membawa roti burger anda keluar negeri sekarang. Saya mendengar bahwa mereka sekarang sungguh-sungguh sedang mencari hal seperti ini di Italia. Anda seharusnya melihatnya!";
c3_story[14] = "";
c3_story[15] = "";
c3_story[16] = "Long time no see! I see you have taken your burger chain overseas now. I hear they are really keen on this sort of thing in Italy now too. You should look into it!";
c3_story[17] = "お久し振り!海外にハンバーガーチェーン店を開いたんだって?イタリアでもそういう店が求められてるらしいよ。調べてみるべきだよ!";
c4_story[0] = "";
c4_story[1] = "Hi, welcome back! I've been holding down the fort while you were out expanding, but would you like to step in while you're here? No one grills like you!";
c4_story[2] = "你好,欢迎回来!你出去扩充分店的时候,我一直在这里.现在你回到了这里,能否再做一次?没人有能把汉堡做的像你那么好。";
c4_story[3] = "Welkom terug! Ik heb op de zaak gepast terwijl jij de keten aan het uitbreiden was. Wil je het weer overnemen? Niemand kan zo goed bakken als jij!";
c4_story[4] = "Salut ! Ça fait bien longtemps que tu n'étais plus ici ! J'ai tenu le poste pendant que tu développais l'affaire. Mais, dis voire, ça ne te dirait pas de faire quelques hamburgers tant que tu es là ? Personne n'en réussit comme toi.";
c4_story[5] = "Willkommen zurück! Ich habe hier die Stellung gehalten, während du das Geschäft vergrößert hast, aber hilfst du mir während du hier bist? Niemand grillt so gut wie du!";
c4_story[6] = "Cześć, witamy z powrotem! Zajęłam się wszystkim pod twoją nieobecność, ale skoro tu jesteś, może wstąpisz na chwilę? Nikt nie grilluje tak jak ty!";
c4_story[7] = "Hej, välkommen tillbaka! Jag har hållt ställningarna när du varit borta. Men kan du hoppa in och jobba nu? Ingen grillar lika bra som du!";
c4_story[8] = "Ciao, bentornata! Stavo difendendo la fortezza mentre eri via ad espandere gli affari, ma ti piacerebbe darci una mano mentre sei qui? Nessuno griglia come te!";
c4_story[9] = "¡Hola de nuevo! He mantenido abierto el negocio mientras tú te ocupabas de expandirlo. ¿Quieres cocinar un poco mientras estás aquí? ¡Nadie domina el grill como tú!";
c4_story[10] = "Olá, bem-vinda de volta. Eu mantive-me sempre de volta do grelhador enquanto expandia o seu negócio, mas não quer ocupar o meu lugar enquanto aqui está? Não há ninguém que grelhe tão bem! ";
c4_story[11] = "Oi! Bem-vinda de volta! Fiquei cuidando de tudo enquanto você estava expandindo os negócios, mas gostaria de ajudar agora? Ninguém faz um hambúrguer como você!";
c4_story[12] = "С возвращением! Пока вы расширяли свой бизнес, я тут удерживал занятые позиции. Но раз уж вы здесь, может, поработаете? Мало кто управляется с грилем так, как вы!";
c4_story[13] = "Hi, selamat datang kembali! Saya telah mengambil ahli saat anda sedang memperluas usaha anda, tapi apakah anda ingin mengambilnya kembali saat anda berada disini? Tidak ada seorang pun yang memanggang seperti anda!";
c4_story[14] = "";
c4_story[15] = "";
c4_story[16] = "Hi, welcome back! I've been holding the fort while you were out expanding your business, but would you like to take over while you're here? No one grills quite like you!";
c4_story[17] = "ようこそ、お帰りなさい!あなたがチェーン店を拡大してる間、ちゃんとお店番してましたよ。ちょっとお店に入ってきてくださいよ。あなたほど上手に作れる人はいないんです!";
c5_story[0] = "";
c5_story[1] = "I think this place is just about ready to stand on its own. Let's prove it with our best burgers yet!";
c5_story[2] = "我想这里要自己站住脚,让我们用我们最好的汉堡来证明!";
c5_story[3] = "Ik denk dat dit restaurant op eigen benen kan staan. Laten we het bewijzen met onze beste hamburgers tot nu toe!";
c5_story[4] = "Je pense que ce local peut pratiquement marcher tout seul. Prouvons-le en faisant nos meilleurs hamburgers !";
c5_story[5] = "Ich denke, dieses Restaurant kann nun bald auf eigenen Füßen stehen. Beweisen wir es mit unseren besten Burgern!";
c5_story[6] = "Myślę, że to miejsce jest już gotowe do prowadzenia samodzielnej działalności. Udowodnijmy to, przygotowując teraz nasze najlepsze hamburgery!";
c5_story[7] = "Det här stället är redo att stå på egna ben. Låt oss göra våra bästa hamburgare hittills!";
c5_story[8] = "Credo che questo posto sia pronto a stare in piedi da solo. Dimostriamolo con i migliori hamburger che abbiamo mai fatto!";
c5_story[9] = "Creo que este sitio ya casi puede funcionar sin mi presencia. ¡Vamos a intentar hacer las mejores hamburguesas!";
c5_story[10] = "Eu penso que este local já está preparado para se conseguir aguentar por conta própria. Vamos mostrá-lo fazendo os nossos melhores hambúrgueres de sempre!";
c5_story[11] = "Acho que este lugar está pronto para fazer sucesso. Vamos mostrar isso com o nosso melhor hambúrguer!";
c5_story[12] = "Думаю, теперь это кафе способно работать и без моей помощи. Однако давайте еще раз докажем это нашими отборными гамбургерами!";
c5_story[13] = "Saya berpikir bahwa tempat ini sudah siap untuk berdiri sendiri. Mari buktikan dengan roti burger terbaik kita!";
c5_story[14] = "";
c5_story[15] = "";
c5_story[16] = "I think this place is just about ready to support itself. Let's prove it with our best burgers yet!";
c5_story[17] = "ここはちょうど自分の店をオープンする準備ができているよ。私たちの最高のハンバーガーで証明しましょう!";
i1_story[0] = "";
i1_story[1] = "Welcome to Italy! We are the masters of pizza, but we hear you're the burger master. I hope your burgers are as good as they say!";
i1_story[2] = "欢迎来到意大利!我们主食是意大利披萨,但我听说你是汉堡大厨。我希望你做的汉堡可以向他们说的一样好。";
i1_story[3] = "Welkom in Italië! Italianen zijn de beste pizzabakkers ter wereld, maar jouw hamburgers schijnen ook niet te versmaden zijn. Ik ben benieuwd!";
i1_story[4] = "Bienvenue en Italie ! Nous sommes les rois de la pizza, mais nous avons entendu dire que tu es la reine du hamburger. J'espère qu'ils sont aussi bons que leur réputation !";
i1_story[5] = "Willkommen in Italien! Wir sind die Meister im Pizza-Backen, aber man hört, du wärst die Meisterin der Burger. Ich hoffe, deine Burger sind so gut, wie alle sagen!";
i1_story[6] = "Witamy we Włoszech! Jesteśmy mistrzami pizzy, ale słyszeliśmy, że ty jesteś mistrzynią w przygotowywaniu hamburgerów. Mam nadzieję, że twoje hamburgery są tak dobre, jak mówią!";
i1_story[7] = "Välkommen till Italien! Vi är mästare på pizza. Jag hoppas att dina hamburgare är lika goda som ryktet säger!";
i1_story[8] = "Benvenuta in Italia! Siamo i maestri nell'arte della pizza, ma abbiamo sentito che tu sei l'esperta in quella degli hamburger! Spero che i tuoi hamburger siano così buoni come dicono!";
i1_story[9] = "¡Bienvenida a Italia! Nosotros somos los maestros de la pizza, pero dicen que tú eres la maestra de las hamburguesas. Espero que tus hamburguesas sean tan buenas como dicen.";
i1_story[10] = "Bem-vinda a Itália! Nós somos os mestres das pizzas mas ouvimos dizer que você é a mestre dos hambúrgueres. Espero que eles sejam tão bons como se diz por aí!";
i1_story[11] = "Bem-vinda à Itália! Somos os mestres das pizzas, mas parece que você é a mestra dos hambúrgueres. Espero que sejam tão bons quanto dizem!";
i1_story[12] = "Добро пожаловать в Италию! Мы знаем толк в пицце, а вы, по слухам, знаете толк в гамбургерах. Надеюсь, ваши гамбургеры и впрямь так хороши, как говорят.";
i1_story[13] = "Selamat datang di Italia! Kita ialah pakar pizza, tapi kita mendengar bahwa anda ialah pakar roti burger. Saya berharap roti burger anda lezat seperti yang diceritakan mereka!";
i1_story[14] = "";
i1_story[15] = "";
i1_story[16] = "Welcome to Italy! We are the masters of pizza, but we hear that you are the burger master. I hope your burgers are as good as they say!";
i1_story[17] = "イタリアへようこそ!私たちはピザ職人です。あなたはハンバーガー職人だそうですね。評判通りのハンバーガーを期待してますよ!";
i2_story[0] = "";
i2_story[1] = "Italy is such a beautiful country with delicious food, but I had to stop in here for a taste of home. Care to put some meat on these old bones?";
i2_story[2] = "意大利是一个有很多美食的漂亮国家,但是我不得不停止在这里品尝家乡的味道。你可以多照顾一下我这个老骨头吗?";
i2_story[3] = "Italië is een prachtig land met heerlijk eten, maar af en toe smacht ik naar een hamburger. Kun jij voor wat vlees op deze oude botten zorgen? ";
i2_story[4] = "L'Italie est un si beau pays avec une gastronomie excellente, mais j'avais besoin de faire halte ici pour me sentir chez moi. Allez, donne-moi un de nos bons vieux hamburgers !";
i2_story[5] = "Italien ist ein wunderschönes Land mit tollem Essen, aber ich brauche den Geschmack der Heimat. Kannst du etwas Fleisch auf diese alten Knochen packen?";
i2_story[6] = "Włochy to przepiękny kraj z wyśmienitym jedzeniem, ale musiałem tu wstąpić, by znów poczuć smak domu. Może odkarmisz trochę staruszka?";
i2_story[7] = "Italien är ett vackert land med underbar mat, men jag gick hit för att få mat jag känner igen hemifrån. Kan du ge mig en burgare?";
i2_story[8] = "L'Italia è un bel Paese con del cibo delizioso, ma avevo bisogno di fermarmi qui per mangiare qualcosa che sa di casa. Potrebbe aiutarmi a mettere un pò di carne su queste vecchie ossa?";
i2_story[9] = "Italia es un país precioso con una comida exquisita, pero necesitaba comer algo que me recordase a mi país. ¿Qué tal si me sirves una buena hamburguesa?";
i2_story[10] = "A Itália é um país tão bonito e com uma comida deliciosa mas eu tinha de vir aqui para matar saudades de casa. Quer pôr alguma carne nestes velhos ossos?";
i2_story[11] = "A Itália é um lindo país com comidas deliciosas, mas tive de parar aqui para lembrar um pouco de casa. Será que você pode colocar um pouco de carne neste corpo magro?";
i2_story[12] = "Италия – замечательная страна с великолепной кухней, однако я просто обязан был сюда зайти, чтобы вспомнить блюда моей родины. Буду рад отрастить пузо на ваших гамбургерах!";
i2_story[13] = "Italia ialah sebuah negara yang cantik dengan makanan yang lezat, tapi Saya harus berhenti disini untuk mengecap rasa seperti di rumah. Keberatan bila letakkan daging dalam tulang tua ini?";
i2_story[14] = "";
i2_story[15] = "";
i2_story[16] = "Italy is such a beautiful country with delicious food, but I just had to stop in here for a taste of home. Would you care to put some meat on these old bones?";
i2_story[17] = "イタリアはおいしい食べ物があって本当にきれいな国ですが、ちょっと故郷の味が食べたくなってきました。この古い骨の上に肉をのせてもいいですか?";
i3_story[0] = "";
i3_story[1] = "You know, if you really want prove your burgers are the best, you should really test them out West in the States. That'll be a wild ride!";
i3_story[2] = "你知道,如果你真的想证明你的汉堡做的非常好,你应该到美国以外的地方,那样你的空间会更广阔。";
i3_story[3] = "Als je echt wilt bewijzen dat jij de beste hamburgers maakt, moet je naar het Wilde Westen in de VS gaan. Daar weten ze pas echt wat burgers zijn!";
i3_story[4] = "Tu sais, si tu veux vraiment prouver que tes hamburgers sont les meilleurs, tu devrais essayer d'ouvrir un restaurant dans le Far West des États-Unis. Ce sera un véritable défi !";
i3_story[5] = "Wenn du wirklich beweisen möchtest, dass deine Burger die besten sind, solltest du sie im Wilden Westen anbieten. Das wird ein wilder Ritt!";
i3_story[6] = "Wiesz co? Jeśli naprawdę chcesz udowodnić, że twoje hamburgery są najlepsze, powinnaś poddać je testowi na zachodzie USA. To będzie dzika jazda!";
i3_story[7] = "Om du verkligen vill visa att dina hamburgare är bäst, borde du verkligen erbjuda dem västerut i USA. Det blir en upplevelse!";
i3_story[8] = "Sai, se davvero vuoi una prova sul fatto che i tuoi hamburger sono i migliori, dovresti davvero provarli nel West degli Stati Uniti. Quella sarebbe una cosa avventurosa!";
i3_story[9] = "Si quieres demostrar que tus hamburguesas son las mejores, deberías probar en el Oeste de los Estados Unidos. ¡Eso sí que sería una aventura!";
i3_story[10] = "Sabe, se realmente quer provar que os seus hambúrgueres são os melhores, deveria testá-los na costa oeste dos EUA. Essa é que vai ser uma maratona selvagem!";
i3_story[11] = "Se você realmente quiser provar que os seus hambúrgueres são os melhores, deveria testá-los no oeste dos EUA. Será uma viagem e tanto!";
i3_story[12] = "Знаете, если вы в самом деле хотите доказать, что ваши гамбургеры не знают себе равных, поезжайте на Дикий Запад. У нас в Штатах не соскучишься! ";
i3_story[13] = "Anda tahu, jika anda sunggu-sungguh ingin membuktikan roti burger anda ialah yang terbaik, anda seharusnya mencobanya di bagian barat Amerika. Itu akan merupakan sebuah cobaan yang langka!";
i3_story[14] = "";
i3_story[15] = "";
i3_story[16] = "You know, if you really want to prove that your burgers are the best, you should really test them out West in the States. That'll be a wild ride!";
i3_story[17] = "もしあなたのハンバーガーが最高だと証明したいなら、アメリカ西部で自分の味を試してみるべきです。きっとタフな挑戦になるでしょうね…。";
i4_story[0] = "";
i4_story[1] = "I’m in Italy on vacation with my husband, but I can’t seem to find him. Do you mind if I wait for him here?";
i4_story[2] = "我和我丈夫在意大利度假,但是我找不到他了。我可以在这里等会他吗?";
i4_story[3] = "Ik ben in Italië op vakantie met mijn man, maar ik kan hem niet meer vinden. Vind je het erg als ik hier op hem wacht? ";
i4_story[4] = "Je suis en vacances en Italie avec mon mari, mais je n'arrive pas à le trouver. Je peux l'attendre ici ?";
i4_story[5] = "Ich bin mit meinem Mann in Urlaub in Italien, aber ich kann ihn nicht finden. Könnte ich hier auf ihn warten?";
i4_story[6] = "Razem z mężem jestem we Włoszech na wakacjach, ale nie mogę go znaleźć. Mogę tu na niego zaczekać?";
i4_story[7] = "Jag är på semester i Italien med min make, men jag hittar honom inte. Kan jag vänta på honom här? ";
i4_story[8] = "Sono in vacanza in Italia con mio marito, ma non riesco a trovarlo. Le spiace se lo aspetto qui?";
i4_story[9] = "Estoy de vacaciones en Italia con mi marido, pero no lo encuentro. ¿Te importa si lo espero aquí?";
i4_story[10] = "Estou em Itália de férias com o meu marido mas não o encontro. Importa-se que espere por ele aqui?";
i4_story[11] = "Estou de férias na Itália com o meu marido, mas não consigo encontrá-lo. Você se importa de eu esperá-lo aqui?";
i4_story[11] = "Мы с мужем приехали в Италию, чтобы провести здесь отпуск, однако мой муж куда-то запропастился. Вы не против, если я подожду его здесь? ";
i4_story[13] = "Saya sedang berada di Italia bersama dengan suami saya untuk jalan-jalan, tapi Saya tidak bisa mencarinya. Apakah anda keberatan jika Saya menunggunya disini?";
i4_story[14] = "";
i4_story[15] = "";
i4_story[16] = "I am in Italy on holiday with my husband, but I can’t seem to find him! Do you mind if I wait for him here?";
i4_story[17] = "私は主人とイタリアにバカンスに来てるのだけれど、主人が見つからないの。ここで主人を待たせてもらってもいいかしら?";
i5_story[0] = "";
i5_story[1] = "Have you seen my wife? She said she’d be in this restaurant, but she’s not here. Maybe I should have a burger while I wait for her.";
i5_story[2] = "你看到我妻子了吗?她说她会到这家餐厅来,但是他还没有到。也许我可以要一个汉堡在这里等她。";
i5_story[3] = "Heb je mijn vrouw gezien? Ze zei dat ze hier zou zijn, maar ik zie haar nergens. En geef me in de tussentijd maar zo'n hamburger!";
i5_story[4] = "Avez-vous vu ma femme ? Elle a dit qu'elle attendrait ici, mais je ne la vois pas. Je vais me prendre un hamburger en l'attendant.";
i5_story[5] = "Haben Sie meine Frau gesehen? Sie sagte, sie sei in diesem Restaurant, ist aber nicht hier. Vielleicht sollte ich einen Burger essen, während ich warte.";
i5_story[6] = "Widziałaś moją żonę? Powiedziała, że będzie w tej restauracji, ale nie ma jej tutaj. Może by tak na nią zaczekać i przy okazji zjeść hamburgera...?";
i5_story[7] = "Har du sett min fru? Hon sa att vi skulle träffas här, men hon är inte här. Jag tar en hamburgare medan jag väntar på henne.";
i5_story[8] = "Ha visto mia moglie? Ha detto che sarebbe stata in questo ristorante, ma non è qui. Forse dovrei mangiare un hamburger mentre l'aspetto.";
i5_story[9] = "¿No habrás visto a mi esposa, verdad? Me dijo que me esperaría en este restaurante, pero no la veo. Creo que voy a tomarme una hamburguesa mientras la espero.";
i5_story[10] = "Viu a minha esposa? Ela disse-me que estaria neste restaurante, mas não está. Talvez devesse comer um hambúrguer enquanto espero por ela.";
i5_story[11] = "Você viu minha esposa? Ela disse que estaria neste restaurante, mas não a vejo. Acho que vou comer um hambúrguer enquanto a espero.";
i5_story[12] = "Вы не видели мою жену? Она сказала, что зайдет в это кафе, но ее тут нет. Пожалуй, съем-ка я гамбургер и подожду ее здесь.";
i5_story[13] = "Apakah anda melihat istri saya? Dia berkata bahwa dia akan berada di restoran ini, tapi dia tidak ada disini. Mungkin Saya akan memesan roti burger sambil menunggunya.";
i5_story[14] = "";
i5_story[15] = "";
i5_story[16] = "Have you seen my wife? She said she would be in this restaurant, but she’s not here. Perhaps I should have a burger while I wait for her.";
i5_story[17] = "私の妻を見ませんでしたか?このレストランにいるって言っていたけど、いないようですね。待ってる間にハンバーガーをいただくとしましょうか。";
w1_story[0] = "";
w1_story[1] = "Howdy, stranger! Welcome to the Wild West! We're pretty sure no one can cook a cow like we can, but we're willing to see what you can do…";
w1_story[2] = "你好,外地人!欢迎来到西部!我相当自信没有人可以把牛肉做的比我们还好。但我很想看看你能做的怎么样...";
w1_story[3] = "Howdy, stranger! Welkom in het Wilde Westen! Niemand kan zo goed koeien bakken als wij, maar laat maar eens zien wat jíj kunt...";
w1_story[4] = "Salut, et bienvenue au Far West ! Nous sommes persuadés que personne n'arrive à cuisiner une vache aussi bien que nous, mais nous sommes curieux de voir ce que tu peux faire…";
w1_story[5] = "Howdy, Fremde! Willkommen im Wilden Westen! Wir sind sicher, dass niemand ein Rind so zubereiten kann wie wir, aber wir werden sehen…";
w1_story[6] = "Czołem, przybyszu! Witamy na Dzikim Zachodzie! Jesteśmy pewni, że nikt nie potrafi przyrządzać mięsa krowy tak jak my, ale chcemy zobaczyć, co potrafisz...";
w1_story[7] = "Hej främling! Välkommen till Vilda västern! Vi tror inte att någon slår oss när det gäller att grilla ko-kött, men visa vad du går för...";
w1_story[8] = "Ehilà, straniera! Benvenuta nel selvaggio West! Siamo abbastanza certi del fatto che nessuno sa cuocere una mucca come noi, ma siamo disposti a vedere quello di cui sei capace...";
w1_story[9] = "¡Buenas, forastera! ¡Bienvenida al Salvaje Oeste! Estamos seguros de que nadie cocina la ternera como nosotros, pero estamos impacientes por ver qué sabes hacer…";
w1_story[10] = "Olá estrangeira! Bem-vinda ao Oeste selvagem! Temos a certeza de que não há ninguém que consiga cozinhar uma vaca como nós, mas estamos disponíveis para ver o que você consegue fazer…";
w1_story[11] = "Olá, estranho! Bem-vindo ao Faroeste! Tenho certeza de que ninguém consegue preparar uma carne como nós, mas vamos ver o que você sabe fazer...";
w1_story[12] = "Здорово! Добро пожаловать на Дикий Запад! Лучше нас говядину никто, конечно, готовить не умеет, но мы не прочь посмотреть, на что вы способны…";
w1_story[13] = "Apa kabar, orang asing! Selamat datang di Wild West! Kita cukup yakin bahwa tidak ada seorang pun yang bisa memasak sapi seperti kita, tapi kita bersedia untuk melihat apa yang bisa anda lakukan…";
w1_story[14] = "";
w1_story[15] = "";
w1_story[16] = "Howdy, stranger! Welcome to the Wild West! We're pretty sure no one can cook a cow like we can, but we're willing to see what you can do…";
w1_story[17] = "こんにちは。アメリカ西部へようこそ!私たちみたいに牛肉を上手に調理できる人はいないと思うけど、貴方のお手並み拝見といこうかな。";
w2_story[0] = "";
w2_story[1] = "Woo hoo, state champs! We'd love some burgers to celebrate, ma'am.";
w2_story[2] = "哇哈哈!香槟!为我们都喜欢汉堡而庆祝!夫人。";
w2_story[3] = "Hoera, we zijn kampioen! En dat vieren we met hamburgers, ma'am.";
w2_story[4] = "Youpi ! On est les champions ! Il nous faut des hamburgers pour fêter ça !";
w2_story[5] = "Woo hoo, Sportchampions! Wir hätten gern ein paar Burger zum Feiern, Ma'am.";
w2_story[6] = "Supcio, szefuniu! Chcielibyśmy kilka hamburgerów, żeby poświętować, pszepani.";
w2_story[7] = "Tjohoo, vi vann! Vi vill fira med några hamburgare.";
w2_story[8] = "Woo hoo, campioni dello stato! Vorremmo avere alcun hamburger per festeggiare, ma'am.";
w2_story[9] = "¡Yiiihaaa, somos los campeones! Nos gustaría celebrarlo con unas hamburguesas, señora.";
w2_story[10] = "Eh eh, campeões estatais! Adorávamos comer uns hambúrgueres para comemorar, por favor.";
w2_story[11] = "Uhu, é campeão! Queremos uns hambúrgueres para comemorar, moça.";
w2_story[12] = "Вау, мы – чемпионы штата! Приготовьте нам пару гамбургеров, чтобы отметить это событие!";
w2_story[13] = "Woo hoo, juara negara! Kita menginginkan beberapa roti burger untuk merayakannya, ma'am.";
w2_story[14] = "";
w2_story[15] = "";
w2_story[16] = "Woo hoo, state champs! We'd love some burgers to celebrate, ma'am.";
w2_story[17] = "おー、チャンピオンだ!ハンバーガーでお祝いだ!";
w3_story[0] = "";
w3_story[1] = "So, I see you've found your own place in burger country. But, I heard they're hankering for burgers in Japan. Better get there first!";
w3_story[2] = "我看到你在汉堡的故乡有自己的一席之地。但是我听说他们很盼望在日本也有汉堡店。最好从这里开始!";
w3_story[3] = "Ik zie dat je een plekje hebt veroverd in hamburgerland. Ik heb gehoord dat hamburgers in Japan heel hip zijn. Zorg dat je er als eerste bij bent!";
w3_story[4] = "Je vois que tu t'es fait un renom au pays des hamburgers. Mais j'ai entendu dire qu'on rêve de hamburgers au Japon. Vas-y vite !";
w3_story[5] = "Ich sehe, du hast deinen Platz im Burger-Land gefunden. Aber auch in Japan sollen Burger sehr begehrt sein! Du solltest es dort versuchen!";
w3_story[6] = "Widzę, że znalazłaś swoje miejsce w kraju hamburgerów. Ale o hamburgerach marzą podobno ludzie w Japonii. Lepiej dotrzyj tam pierwsza!";
w3_story[7] = "Jag ser att du lyckats i hamburgerlandet. Men jag hörde att de längtar efter burgare i Japan. Skynda dig dit!";
w3_story[8] = "Allora, ho visto che hai trovato un posto per te nel paese degli hamburger. Ma, ho sentito dire che in Giappone stanno smaniando per gli hamburger! Sarebbe meglio arrivarci per primi!";
w3_story[9] = "Veo que te has hecho un hueco en el país de las hamburguesas, pero he oído que en Japón, los burgers son el último grito. ¡Ve allí y no esperes a que otros se te adelanten!";
w3_story[10] = "Vejo que conseguiu conquistar um espaço próprio no país dos hambúrgueres. Mas ouvi dizer que andam loucos por hambúrgueres no Japão. É melhor ir já para lá!";
w3_story[11] = "Estou vendo que você encontrou o seu lugar no país dos hambúrgueres. Mas ouvi falar que estão morrendo de vontade de comer hambúrguer no Japão. É melhor você chegar lá primeiro!";
w3_story[12] = "Я вижу, вы сумели завоевать место под солнцем в стране гамбургеров. Кстати, я слыхал, что в Японии все просто без ума от гамбургеров. Думаю, вам стоит поспешить туда!";
w3_story[13] = "Jadi, Saya melihat anda telah menemukan tempat anda sendiri di negeri roti burger. Tapi, Saya mendengar bahwa mereka sangat merindukan roti burger di Jepang. Lebih baik pergi kesana terlebih dahulu!";
w3_story[14] = "";
w3_story[15] = "";
w3_story[16] = "So, I see you've found your own place in burger country. But I have heard they are longing for burgers in Japan. You had better get in there before anyone else does!";
w3_story[17] = "ハンバーガーの国でも認められたようですね。でも、日本でハンバーガーが求められていますよ。まずは日本へ行ったほうがいいですよ!";
w4_story[0] = "";
w4_story[1] = "Glad to see you’re back. This place has been quiet without you. Do you think you can make the West wild again?";
w4_story[2] = "很高兴看到你回来。这儿没有你变得很寂静。你会再来这家美国西部汉堡店工作么?";
w4_story[3] = "Blij dat je weer terug bent. Het was hier stil zonder jou. Denk je dat je het Westen weer wild kunt maken?";
w4_story[4] = "Que c'est bon de te revoir ! L'endroit était bien triste sans toi. Penses-tu pouvoir reconquérir le Far West ?";
w4_story[5] = "Schön, dich wiederzusehen. Hier war es ziemlich ruhig ohne dich. Kannst du den Wilden Westen wieder wild machen?";
w4_story[6] = "Cieszę się, że znów cię widzę. Było tu tak cicho bez ciebie! Myślisz, że ponownie dasz radę uczynić Dziki Zachód jeszcze bardziej dzikim?";
w4_story[7] = "Kul att du är tillbaka. Det har varit lugnt här utan dig. Kan du åka till Vilda västern igen tror du?";
w4_story[8] = "Sono lieto di vedere che sei tornata. Questo posto era silenzioso senza di te. Pensi di poter rendere il West di nuovo selvaggio?";
w4_story[9] = "Me alegro de verte de nuevo. Esto ha estado muy tranquilo sin ti. ¿Crees que serás capaz de lograr que el Oeste vuelva a ser salvaje?";
w4_story[10] = "Fico feliz por a ver de volta. Este local tem permanecido muito tranquilo sem a sua presença. Julga que consegue voltar a conquistar o Oeste selvagem outra vez?";
w4_story[11] = "Que bom que você voltou. Este lugar fica muito parado sem você. Você acha que consegue conquistar o Faroeste novamente?";
w4_story[12] = "Рад снова вас видеть! Без вас тут довольно тихо. Как думаете, удастся вам еще раз сделать Запад диким? ";
w4_story[13] = "Senang berjumpa dengan anda kembali. Tempat ini sudah lama tanpamu. Apakah anda berpikir bisa membuat West Wild lagi?";
w4_story[14] = "";
w4_story[15] = "";
w4_story[16] = "Glad to see you’re back. This place has been quiet without you. Do you think you can make the West wild again?";
w4_story[17] = "戻ってきてくれてうれしいです。ここはあなたがいないとやっていけません。西部直伝のハンバーガーをもう一度作れますか?";
w5_story[0] = "";
w5_story[1] = "I just robbed a bank so I could afford one of your delicious burgers. Mind if I hide in your restaurant until the sheriff has gone?";
w5_story[2] = "我就是刚刚抢劫了一家银行,我可以买一个你的汉堡。希望我可以躲在你的汉堡店里知道警官离开。";
w5_story[3] = "Ik heb net een bank overvallen zodat ik een hamburger kan kopen. Mag ik me hier voor de sheriff verstoppen?";
w5_story[4] = "Je viens de dévaliser une banque pour pouvoir acheter un de tes fabuleux hamburgers. Ça ne te dérange pas que je me cache dans ton restaurant le temps que le shérif soit reparti ?";
w5_story[5] = "Ich habe gerade eine Bank ausgeraubt, um einen deiner leckeren Burger kaufen zu können. Kann ich mich hier verstecken, bis der Sheriff gegangen ist?";
w5_story[6] = "Właśnie obrabowałem bank, więc mogę sobie pozwolić na jeden z twoich przepysznych hamburgerów. Mogę się schować w twojej restauracji i zaczekać, aż szeryf sobie pójdzie?";
w5_story[7] = "Jag har precis rånat en bank, så att jag kan köpa era smaskiga hamburgare. Kan jag gömma mig här tills sheriffen försvunnit?";
w5_story[8] = "Ho appena rapinato una banca per potermi permettere uno dei vostri deliziosi hamburger. Le spiace se mi nascondo nel vostro ristorante finché lo sceriffo non se n'è andato?";
w5_story[9] = "Acabo de robar un banco, así que tengo pasta para una de tus deliciosas hamburguesas. ¿Te importa si me escondo aquí hasta que el sheriff se vaya?";
w5_story[10] = "Acabei de assaltar um banco, por isso posso comprar um dos seus deliciosos hambúrgueres. Importa-se que me esconda no seu restaurante até o xerife se ir embora?";
w5_story[11] = "Acabei de roubar um banco, então vou poder bancar um desses hambúrgueres deliciosos. Você se importa que eu me esconda no seu restaurante para despistar o xerife?";
w5_story[12] = "Я только что ограбил банк, чтобы наскрести денег на один из ваших вкуснющих гамбургеров. Вы не возражаете, если я спрячусь в вашем кафе, пока шериф не отойдет подальше?";
w5_story[13] = "Saya baru saja merampok bank jadi Saya bisa sanggup untuk membeli salah satu dari roti burger anda yang lezat. Keberatan jika Saya bersembunyi di restoran anda hingga kepala polisinya pergi?";
w5_story[14] = "";
w5_story[15] = "";
w5_story[16] = "I just robbed a bank so I can afford one of your delicious burgers! Do you mind if I hide in your restaurant until the sheriff has gone?";
w5_story[17] = "たった今銀行強盗に入ってきたばかりなんだよ!おいしいハンバーガーが食べたいな。警察がいなくなるまで、ここに隠れていてもいいだろ?";
j1_story[0] = "";
j1_story[1] = "Konnichi Wa, burger lady. Welcome to Japan, where we're always eager to learn about Western beef!";
j1_story[2] = "Konnichi Wa,汉堡女孩。欢迎来到日本,在这里我们总是希望学到美国汉堡的做法。";
j1_story[3] = "Konnichi Wa, hamburger-San. Welkom in Japan. We zijn altijd benieuwd naar Westers vlees!";
j1_story[4] = "Konnichi Wa, grande dame des hamburgers. Bienvenue au Japon, où nous sommes toujours curieux d'en apprendre plus long sur le bœuf à l'occidentale !";
j1_story[5] = "Konnichi Wa, Burger-Lady. Willkommen in Japan! Wir sind sehr gespannt darauf, mehr über Western-Burger zu erfahren!";
j1_story[6] = "Konnichi Wa, hamburgerowa damo. Witamy w Japonii. Chętnie dowiemy się czegoś więcej o waszej wołowinie!";
j1_story[7] = "Konnichi Wa, grillfröken. Välkommen till Japan. Vi vill lära oss hur man grillar biff i väst!";
j1_story[8] = "Konnichi Wa, signora hamburger. Benvenuta in Giappone, dove siamo sempre avidi di sapere tutto sulla carne di bovino occidentale! ";
j1_story[9] = "Konnichi Wa, señora de las hamburguesas. Bienvenida a Japón, donde siempre estamos dispuestos a aprender los secretos occidentales de la ternera.";
j1_story[10] = "Konnichi Wa, senhora dos hambúrgueres. Bem-vinda ao Japão, onde estamos sempre dispostos a aprender mais sobre a carne ocidental!";
j1_story[11] = "Konnichi Wa, moça do hambúrguer. Bem-vinda ao Japão, onde sempre estamos prontos para aprender sobre a carne ocidental!";
j1_story[12] = "Охайо годзаймас, госпожа. Добро пожаловать в Японию! Мы всегда мечтали узнать побольше о западной кухне!";
j1_story[13] = "Konnichi Wa, wanita roti burger. Selamat datang di Jepang, tempat dimana kami selalu berkeinginan untuk mempelajari budaya Barat.";
j1_story[14] = "";
j1_story[15] = "";
j1_story[16] = "Konnichi Wa, burger lady. Welcome to Japan, where we're always eager to learn about Western beef!";
j1_story[17] = "こんにちは, ハンバーガーができています。日本にようこそ。私たちは西洋のビーフを勉強したいといつも思っているんです。";
j2_story[0] = "";
j2_story[1] = "Oha-yoyo! I’m learning Japanese, but I’m not really good at it. I could really use a burger break!";
j2_story[2] = "Oha-yoyo! 我在学日语,但是我说的不好。我要一个汉堡吗?";
j2_story[3] = "Oha-yoyo! Ik ben Japans aan het leren, maar het schiet niet echt op. Ik kan wel een hamburgerpauze gebruiken.";
j2_story[4] = "Oha-yoyo ! J'apprends le japonais, mais c'est vraiment très compliqué. Une pause burger me ferait le plus grand bien !";
j2_story[5] = "Oha-yoyo! Ich lerne Japanisch, bin aber nicht besonders gut darin. Ich könnte wirklich eine Burger-Pause gebrauchen!";
j2_story[6] = "Oha-yoyo! Uczę się japońskiego, ale nie władam nim jeszcze za dobrze. Myślę, że skorzystam z przerwy na hamburgera!";
j2_story[7] = "Oha-yoyo! Jag studerar japanska, men jag talar inte så bra. Jag behöver en hamburgare och en paus!";
j2_story[8] = "Oha-yoyo! Sto imparando giapponese, ma non sono molto portata. Avrei davvero bisogno di prendermi una pausa dagli hamburger!";
j2_story[9] = "¡Oha-yoyo! Estoy aprendiendo japonés, pero no se me da muy bien. ¡No me vendría mal una hamburguesa!";
j2_story[10] = "Oha-yoyo! Estou a aprender Japonês mas não tenho muito jeito. Preciso de fazer uma pausa para comer um hambúrguer!";
j2_story[11] = "Oha-yoyo! Estou aprendendo japonês, mas não sou muito boa. Eu preciso de um intervalo para comer um hambúrguer!";
j2_story[12] = "Оха-йо-йо! Я только учу японский и пока что без особого успеха. Хочу сделать перерыв и перекусить!";
j2_story[13] = "Oha-yoyo! Saya sedang mempelajari bahasa Jepang, tapi Saya belum benar-benar menguasainya. Saya akan mempergunakan istilah roti burger!";
j2_story[14] = "";
j2_story[15] = "";
j2_story[16] = "Oha-yoyo! I’m learning Japanese, but I’m not very good yet; I really need a burger break!";
j2_story[17] = "おは-よよ!私は日本語を勉強していますが、あまりうまくないんです。ハンバーガーでも食べて休憩しようかな。";
j3_story[0] = "";
j3_story[1] = "Wow, this place is so hip! I just want to stay here and eat burgers all day! Though I should really get back to my own restaurant, haha.";
j3_story[2] = "哇!这个地方真烂!我就是想呆在这里吃一天的汉堡!然后我就会回到我自己的汉堡店,哈哈。";
j3_story[3] = "Wauw, het is hier zo hip! Het liefst zou ik hier de hele dag blijven en alleen maar hamburgers eten! Maar ik moet echt terug naar mijn eigen restaurant.";
j3_story[4] = "Génial, cet endroit est très branché ! J'aimerais rester ici toute la journée à manger des hamburgers ! Mais il faut bien que je retourne à mon propre restaurant, haha.";
j3_story[5] = "Wow, dieser Ort ist so hip! Ich möchte hier bleiben und den ganzen Tag Burger essen. Obwohl ich wirklich in mein eigenes Restaurant zurück sollte, haha.";
j3_story[6] = "O rany, to miejsce jest takie stylowe! Chcę tu zostać i jeść hamburgery przez cały dzień! Chociaż tak naprawdę muszę wracać do mojej własnej restauracji, haha.";
j3_story[7] = "Wow, det här stället är coolt! Jag vill äta hamburgare här hela dan! Men jag borde nog gå tillbaka till min egen restaurang, haha.";
j3_story[8] = "Wow, questo posto è così alla moda! Vorrei stare sempre qui e mangiare hamburger tutto il giorno! Nonostante il fatto che dovrei davvero ritornare nel mio ristorante, haha.";
j3_story[9] = "¡Vaya, cómo mola este sitio! ¡Me quedaría aquí comiendo hamburguesas todo el día! Aunque, bien pensado, mejor que vuelva a mi restaurante, jaja.";
j3_story[10] = "Uau, este sítio é tão fixe! Era capaz de passar aqui o dia a comer hambúrgueres! Mas, se calhar, devia voltar para o meu próprio restaurante, haha.";
j3_story[11] = "Uau, este lugar é tão moderno! Quero ficar o dia inteiro aqui comendo hambúrguer! Mas acho que é melhor voltar para o meu restaurante... hahaha.";
j3_story[12] = "Вау, крутое заведение! Я готов сидеть здесь и жевать гамбургеры весь день напролет! Хотя, конечно, мне давно пора возвращаться в мое собственное кафе…";
j3_story[13] = "Wow, tempat ini sangat ! Saya hanya ingin tinggal disini dan makan roti burger sepanjang hari! Meskipun Saya harus kembali ke restoran saya sendiri, haha.";
j3_story[14] = "";
j3_story[15] = "";
j3_story[16] = "Wow, this place is so hip! I just want to stay here and eat burgers all day! Though I should really get back to my own restaurant, ha ha!";
j3_story[17] = "おー、この店は本当にかっこいいですね!ここで一日中ハンバーガーを食べていたいよ!でも自分の店にすぐ戻らないといけないんだけどね。ハハハ。";
j4_story[0] = "";
j4_story[1] = "I’m getting better at Japanese every day, but I still like your burgers better than the local food, hehe! More, please!";
j4_story[2] = "我在日本的每一天都过的很好,但是相比当地的食物,我仍然更喜欢你的汉堡,呵呵!再来一份!";
j4_story[3] = "Mijn Japans wordt steeds beter, maar ik vind jouw hamburgers nog steeds lekkerder dan het Japanse eten, hèhè! Nog eentje, graag!";
j4_story[4] = "Mon japonais progresse chaque jour, mais je préfère toujours tes hamburgers à la cuisine locale, héhé. Encore un, s'il te plaît !";
j4_story[5] = "Mein Japanisch wird jeden Tag besser, aber ich mag deine Burger immer noch lieber als das lokale Essen, hehe. Mehr, bitte!";
j4_story[6] = "Z każdym dniem nauka japońskiego idzie mi lepiej, ale twoje hamburgery wciąż smakują mi bardziej, niż lokalna kuchnia, hehe! Proszę o więcej!";
j4_story[7] = "Jag blir bättre på japanska för varje dag som går, men jag föredrar dina hamburgare framför den lokala maten! Mer, tack!";
j4_story[8] = "Sto migliorando il mio giapponese giorno dopo giorno, ma i tuoi hamburger mi piacciono ancora molto di più del cibo locale, hehe! Ancora, per favore!";
j4_story[9] = "Mi japonés va mejorando de día en día, pero sigo prefiriendo tus hamburguesas a la comida local, jeje. ¡Más, por favor!";
j4_story[10] = "O meu Japonês está a melhorar diariamente mas continuo a gostar mais de hambúrgueres do que da comida local, eh eh. Mais, por favor!";
j4_story[11] = "Estou ficando melhor no japonês, mas ainda gosto mais do seu hambúrguer do que da cozinha local... hehehe. Quero mais!";
j4_story[12] = "Мой японский с каждым днем становится все лучше, но ваши гамбургеры мне по-прежнему куда милее местной кухни! Еще парочку!";
j4_story[13] = "Bahasa Jepang saya makin hari makin baik, tapi Saya masih tetap lebih menyukai roti burger anda daripada makanan lokal, hehe! Lagi, dong!";
j4_story[14] = "";
j4_story[15] = "";
j4_story[16] = "I’m getting better at Japanese every day, but I still like your burgers better than the local food, ha ha! More, please!";
j4_story[17] = "毎日日本語を勉強してるんです。でも、地元の日本食よりここのハンバーガーがやっぱり最高だね。もっと下さい!";
j5_story[0] = "";
j5_story[1] = "Ohayou, burger lady! Thank you for the wonderful burgers. I hope you'll visit us again sometime in the future.";
j5_story[2] = "你好,汉堡女孩!感谢你美味的汉堡。我希望将来你可以再回到这里。";
j5_story[3] = "Ohayou, hamburger-San! Bedankt voor de heerlijke hamburgers. Ik hoop dat je nog eens langskomt.";
j5_story[4] = "Ohayou, grande dame des hamburgers ! Merci pour tes magnifiques hamburgers. J'espère que tu reviendras nous voir un jour.";
j5_story[5] = "Ohayou, Burger-Lady! Danke für die wundervollen Burger. Ich hoffe, du wirst uns irgendwann wieder besuchen.";
j5_story[6] = "Ohayou, hamburgerowa pani! Dziękuję za wspaniałe hamburgery. Mam nadzieję, że jeszcze kiedyś nas odwiedzisz.";
j5_story[7] = "Ohayou, grillfröken! Tack för de underbara hamburgarna. Jag hoppas att du besöker oss igen någon dag. ";
j5_story[8] = "Ohayou, signora hamburger! Grazie per i meravigliosi hamburger. Spero che un giorno in futuro ci visiterà ancora.";
j5_story[9] = "¡Ohayou, señora de las hamburguesas! Gracias por tus magníficas hamburguesas. Espero que vuelva a vernos alguna vez en el futuro.";
j5_story[10] = "Ohayou, senhora dos hambúrgueres! Muito obrigado pelos seus hambúrgueres maravilhosos. Espero que nos possa visitar novamente num futuro próximo.";
j5_story[11] = "Ohayou, moça do hambúrguer! Quero agradecer pelos deliciosos hambúrgueres. Espero que venha nos visitar novamente.";
j5_story[12] = "Охайо, госпожа! Благодарю вас за ваши чудесные гамбургеры! Надеюсь, вы еще заедете к нам.";
j5_story[13] = "Ohayou, wanita roti burger! Terima kasih atas roti burgernya yang luar biasa. Saya berharap agar anda akan mengunjugi kami lagi di masa mendatang.";
j5_story[14] = "";
j5_story[15] = "";
j5_story[16] = "Ohayou, burger lady! Thank you for the wonderful burgers. I hope you'll visit us again very soon.";
j5_story[17] = "おはよう,お姉さん!おいしいハンバーガー、ありがとう。いつか私たちの所にも遊びに来てね";
d1_story[0] = "";
d1_story[1] = "Time to get to work! Who would have thought the Asians would love my hamburgers so much? I'll give jobs to the locals and train them to take over…";
d1_story[2] = "到工作的时间了!谁想到亚洲人会那么喜欢我的汉堡?我会给当地人工作和训练,让他们接管...";
d1_story[3] = "Tijd om aan de slag te gaan! Wie had gedacht dat Aziaten van hamburgers houden? Als ik mensen van hier in dienst neem en ze train, kunnen ze later de zaak zelf runnen...";
d1_story[4] = "Le moment est venu pour se rendre au travail! J'aurais jamais cru qu'ils aimeriont tellement les hamburgers. Je vais embaucher des gens d'ici et les former pour qu'ils puissent continuer sans moi…";
d1_story[5] = "Zeit, meine asiatische Franchise-Filiale an die Einheimischen zu übergeben und sie anzulernen…";
d1_story[6] = "Czas popracować nad moją franszyzą w Azji! Przyjmę do pracy lokalnych mieszkańców i nauczę ich wszystkiego, żeby mogli przejąć prowadzenie interesu...";
d1_story[7] = "Dags att börja jobba! Den ger folk här jobb och en dag kan de ta över ...";
d1_story[8] = "È il momento di lavorare! Darò lavoro ai locali ed insegnerò loro ad assumere il controllo…";
d1_story[9] = "¡Es hora de ponerse a trabajar! Contrataré a gente del lugar y les enseñaré a llevar el negocio…";
d1_story[10] = "Está na altura de voltar a trabalhar! Vou contratar empregados locais e treiná-los para que o possam gerir…";
d1_story[11] = "Está na hora de trabalhar! Vou empregar os habitantes locais e treiná-los para administrarem tudo...";
d1_story[12] = "Пора заняться организацией своего дочернего предприятия в Азии! Я найму местных жителей и научу их работать самостоятельно…";
d1_story[13] = "Waktunya untuk bekerja pada cabang Asia! Saya akan memberikan pekerjaan kepada orang lokal dan melatih mereka untuk mengambil alih…";
d1_story[14] = "";
d1_story[15] = "";
d1_story[16] = "Time to get to work! I would never have thought that the Asians would love my hamburgers that much… I will provide jobs for the locals and train them to take over.";
d1_story[17] = "初のアジアフランチャイズ店に戻らなければなりません。現地人を雇って、作り方を教えていかなきゃ。";
d2_story[0] = "";
d2_story[1] = "Thank you so much for the job opportunity. I'm looking forward to working hard together!";
d2_story[2] = "谢谢你提供的这个工作机会,我会更加的努力工作!";
d2_story[3] = "Bedankt voor de baan. Ik kijk uit naar onze samenwerking!";
d2_story[4] = "Merci beaucoup de m'avoir offert cet emploi. J'ai déjà hâte de travailler dur ici.";
d2_story[5] = "Ich danke dir so sehr für den Job! Ich freue mich auf die gute Zusammenarbeit!";
d2_story[6] = "Ogromnie ci dziękuję za to, że mogę pracować. Czekam z niecierpliwością na rozpoczęcie wspólnej, ciężkiej pracy!";
d2_story[7] = "Tack så mycket för jobbet. Jag ser fram emot att arbeta hårt tillsammans!";
d2_story[8] = "Tante grazie per quest'opportunità di lavoro! Non vedo l'ora di lavorare duro insieme a lei!";
d2_story[9] = "Muchas gracias por darme el puesto. ¡Estoy deseando que empecemos a trabajar duro!";
d2_story[10] = "Muito obrigado pela oportunidade de emprego. Estou desejoso para começarmos a trabalhar arduamente.";
d2_story[11] = "Agradeço a oportunidade. Não vejo a hora de poder trabalhar de novo!";
d2_story[12] = "Спасибо, что приняли меня на работу! Надеюсь, мы хорошо поработаем вместе!";
d2_story[13] = "Terima kasih banyak atas peluang kerjanya. Saya sangat berharap untuk bekerja sama dengan anda!";
d2_story[14] = "";
d2_story[15] = "";
d2_story[16] = "Thank you so much for the job opportunity. I'm looking forward to working with you!";
d2_story[17] = "仕事のチャンスをくれてありがとうございます。一緒にがんばって働きます!";
d3_story[0] = "";
d3_story[1] = "I'm really starting to get this. If you'll train me to run this place, I can take it over so you can go open more new locations!";
d3_story[2] = "我真的做到了。如果你让我来经营这个地方,我完全可以处理,你可以再开一家新的分店。";
d3_story[3] = "Ik heb de smaak al aardig te pakken. Als je me nog meer leert, kan ik de zaak overnemen, zodat jij nieuwe restaurants kan openen!";
d3_story[4] = "Je commence à avoir le coup de main. Si tu m'apprends à gérer ce restaurant, je pourrai le prendre en main et tu pourras en ouvrir d'autres !";
d3_story[5] = "Ich möchte alles lernen. Wenn du mir zeigst, wie das Geschäft geleitet wird, kann ich es übernehmen und du kannst neue Filialen eröffnen!";
d3_story[6] = "Naprawdę zaczynam rozumieć, o co w tym wszystkim chodzi. Jeśli nauczysz mnie, jak prowadzić restaurację, zajmę się interesem, żebyś mogła otworzyć ich więcej w zupełnie nowych miejscach!";
d3_story[7] = "Jag börjar bli bra på det här. Om du lär mig att sköta stället kan jag ta över, så att du kan öppna på fler ställen!";
d3_story[8] = "Sto davvero imparando i ferri del mestiere. Se mi insegnerà come amministrare questo posto, posso assumerne il controllo in modo che lei possa andare ad aprire altre nuove sedi!";
d3_story[9] = "Ya le estoy pillando el truco a esto. Si me enseñas a gestionar el local, podré hacerme cargo de él para que tú sigas abriendo más restaurantes.";
d3_story[10] = "Estou a começar a ganhar-lhe o jeito. Se me treinar para gerir este espaço, posso assumir a direcção para que possa abrir novos estabelecimentos!";
d3_story[11] = "Estou começando a pegar o jeito. Se você me treinar para administrar este lugar, ficarei no comando para que você possa abrir mais restaurantes! ";
d3_story[12] = "Я понемногу осваиваю тонкости нашей работы. Если вы научите меня управлять этим заведением, я возьму руководство на себя, а вы сможете открывать новые филиалы!";
d3_story[13] = "Saya sungguh-sungguh akan memulainya. Jika anda melatih saya untuk menjalankan tempat ini, maka Saya akan mengambil alih agar anda bisa membuka cabang di tempat yang lebih banyak lagi!";
d3_story[14] = "";
d3_story[15] = "";
d3_story[16] = "I'm really learning very fast! If you train me to run this place, I can manage it for you while you are away opening more new locations!";
d3_story[17] = "私、一生懸命勉強します!あなたからこの店の経営を学び、私が経営を引き継ぐことができれば、あなたはほかの国に行って、新しいフランチャイズをオープンできますよ!";
d4_story[0] = "";
d4_story[1] = "Welcome back! Things are still going strong here, but I could always use a hand. Will you show us how you do it again?";
d4_story[2] = "欢迎回来!事情变得越来越难,但我还能应付的过来。你是如何做到的,能像我们再次展示一遍吗?";
d4_story[3] = "Welkom terug! De zaken lopen gesmeerd, maar ik kan altijd hulp gebruiken. Zou je nog eens kunnen laten zien hoe het moet?";
d4_story[4] = "Bienvenue ! Tout va toujours très bien ici, mais un peu d'aide ne me ferait pas de mal. Pourrais-tu nous montrer à nouveau comment tu t'y prends ?";
d4_story[5] = "Willkommen zurück! Die Geschäfte laufen immer noch ausgezeichnet, aber eine zusätzliche Hand kann ich immer gebrauchen. Zeig es uns noch mal!";
d4_story[6] = "Witamy z powrotem! Interes wciąż idzie dobrze, ale zawsze przyda się dodatkowa pomoc. Czy raz jeszcze pokażesz nam, jak to robisz?";
d4_story[7] = "Välkommen tillbaka! Affärerna går fortfarande bra, men vi skulle behöva lite hjälp. Kan du visa hur det ska gå till igen?";
d4_story[8] = "Bentornata! Le cose qui stanno ancora andando in crescita, ma posso sempre avere bisogno di una mano d'aiuto. Puoi mostrarci di nuovo come fai?";
d4_story[9] = "¡Bienvenida! Por aquí las cosas van de maravilla, pero nos vendrá bien si quieres echarnos una mano. ¿Nos puedes enseñar cómo lo haces?";
d4_story[10] = "Bem-vinda! As coisas continuam a funcionar bem aqui mas precisamos sempre de uma mãozinha. Pode mostrar-nos novamente como é que se faz?";
d4_story[11] = "Bem-vinda de volta! As coisas estão indo bem por aqui, mas sempre é bom receber uma ajuda. Quer mostrar como se faz?";
d4_story[12] = "Добро пожаловать! Мы по-прежнему неплохо справляемся, но ваша помощь никогда не помешает. Покажите нам, как надо работать! ";
d4_story[13] = "Selamat datang kembali! Segalanya berjalan dengan lancar disini, tapi Saya tetap harus turun tangan. Akankah anda menunjukkan kepada kami cara anda melakukannya sekali lagi?";
d4_story[14] = "";
d4_story[15] = "";
d4_story[16] = "Welcome back! Things are still going strong here, but I could always do with a helping hand. Will you show us how you do it again?";
d4_story[17] = "お帰りなさい!すべて順調ですよ。でも作り方に自信がないところがあるんです。もう一度やり方を見せてもらえませんか?";
d5_story[0] = "";
d5_story[1] = "And that's why you're the Burger Queen! You've made your burger restaurants the best in the world. Let's show the people here why one last time!";
d5_story[2] = "这就是为什么你是汉堡点女皇!你要把你的汉堡店做成世界上最好的。让我们再向人们展示一次!";
d5_story[3] = "En daarom ben jij de hamburgerkoningin! Jouw hamburgerrestaurants zijn de beste ter wereld. Laten we nog één keer onze bakkunsten vertonen!";
d5_story[4] = "Et voilà pourquoi on t'appelle la Reine du Hamburger ! Tes restaurants de hamburgers sont les meilleurs au monde. Montre à tout le monde une dernière fois tes prouesses !";
d5_story[5] = "Und darum bist du die Burger-Queen! Deine Burger-Restaurants sind die besten der Welt! Zeigen wir den Leuten hier ein letztes Mal, wieso!";
d5_story[6] = "Oto, dlaczego jesteś Hamburgerową Królową! Dzięki twojej pracy twoje restauracje z hamburgerami są najlepsze na świecie. Po raz ostatni pokażmy tym ludziom, dlaczego!";
d5_story[7] = "Du är grilldrottningen! Du har gjort dina hamburgerhak till världens bästa. Låt oss bevisa det för folket här en sista gång!";
d5_story[8] = "E questo è il motivo per cui sei la Regina dell'Hamburger! Hai reso i tuoi ristoranti di hamburger i migliori del mondo. Mostriamo un'ultima volta il perché alla gente che è qui!";
d5_story[9] = "¡Por eso eres la Reina de las Hamburguesas! Tus hamburgueserías son las mejores del mundo. ¡Demuestra por última vez a la gente por qué es así!";
d5_story[10] = "É por isso que és a minha rainha dos hambúrgueres! Conseguiste transformar os teus restaurantes nos melhores do mundo. Vamos mostrar às pessoas porque é que chegámos onde chegámos uma última vez.";
d5_story[11] = "E é por isso que você é a Rainha do Hambúrguer! O seu restaurante é o melhor do mundo. Vamos mostrar por que uma última vez!";
d5_story[12] = "Вот почему вас называют королевой гамбургеров! Благодаря вам, ваши кафе стали лучшими в мире. Давайте еще раз покажем посетителям, почему они лучшие!";
d5_story[13] = "Dan ini sebabnya anda ialah Ratu Roti Burger! Anda telah membuat restoran roti burger yang terbaik di dunia. Mari tunjukkan kepada orang-orang disini!";
d5_story[14] = "";
d5_story[15] = "";
d5_story[16] = "And that's why you are the Burger Queen! You have made your burger restaurants the best in the world. Let's show the people here why just one last time!";
d5_story[17] = "そうか、だからあなたはハンバーガークイーンなんですね。世界一のハンバーガーレストランを作りましたね。最後にそれを見せてあげましょう。";
}
public static function challengePlayed(){
so.data[("challenge" + challengeID)].played = true;
so.data[("challenge" + challengeID)].score = MC_GameEngine.score;
so.flush();
}
public static function subScore(_arg1, _arg2):void{
var _local3:int;
so.data.highScore.push([_arg1, int(_arg2)]);
so.data.highScore.sort(order);
so.data.highScore.length = 10;
_local3 = 0;
while (_local3 < 10) {
if ((((so.data.highScore[_local3][1] == _arg2)) && ((so.data.highScore[_local3][0] == _arg1)))){
h_score = _local3;
break;
};
_local3++;
};
so.flush();
}
private static function order(_arg1, _arg2){
var _local3:Number;
var _local4:Number;
_local3 = _arg1[1];
_local4 = _arg2[1];
if (_local3 > _local4){
return (-1);
};
if (_local3 < _local4){
return (1);
};
return (0);
}
public static function nextLevel(_arg1:int){
score = (score + _arg1);
money = (money + _arg1);
levelNum++;
if (levelNum > 24){
so.data.mc_bread0 = {speed:1};
so.data.mc_bread1 = {speed:1, visible:false};
so.data.mc_gril1 = {mc1:true, visible:false};
so.data.mc_table1 = {visible:false};
so.data.mc_milk0 = {speed:1, visible:false};
so.data.mc_ice0 = {speed:1, visible:false};
so.data.shirt0 = {buyed:true};
so.data.shirt1 = {buyed:false};
so.data.shirt2 = {buyed:false};
so.data.shirt3 = {buyed:false};
so.data.shirt4 = {buyed:false};
so.data.shirt5 = {buyed:false};
so.data.shirt6 = {buyed:false};
so.data.shoes0 = {buyed:true};
so.data.shoes1 = {buyed:false};
so.data.shoes2 = {buyed:false};
score = 0;
money = 0;
levelNum = 0;
so.data.levelNum = 0;
so.data.score = 0;
so.data.money = 0;
so.data.shoes = 1;
so.data.shirt = 1;
so.flush();
} else {
saveData();
};
}
public static function item_upData(){
trace("GameData数据更新 item_upData");
shirt0 = new Object();
shirt0.buyed = true;
shirt1 = new Object();
if (moden == GameData.STORYMODEN){
shirt1.buyed = so.data.shirt1.buyed;
} else {
shirt1.buyed = false;
};
shirt2 = new Object();
if (moden == GameData.STORYMODEN){
shirt2.buyed = so.data.shirt2.buyed;
} else {
shirt2.buyed = false;
};
shirt3 = new Object();
if (moden == GameData.STORYMODEN){
shirt3.buyed = so.data.shirt3.buyed;
} else {
shirt3.buyed = false;
};
shirt4 = new Object();
if (moden == GameData.STORYMODEN){
shirt4.buyed = so.data.shirt4.buyed;
} else {
shirt4.buyed = false;
};
shirt5 = new Object();
if (moden == GameData.STORYMODEN){
shirt5.buyed = so.data.shirt5.buyed;
} else {
shirt5.buyed = false;
};
shirt6 = new Object();
if (moden == GameData.STORYMODEN){
shirt6.buyed = so.data.shirt6.buyed;
} else {
shirt6.buyed = false;
};
shoes0 = new Object();
shoes0.buyed = true;
shoes1 = new Object();
if (moden == GameData.STORYMODEN){
shoes1.buyed = so.data.shoes1.buyed;
} else {
shoes1.buyed = false;
};
shoes2 = new Object();
if (moden == GameData.STORYMODEN){
shoes2.buyed = so.data.shoes1.buyed;
} else {
shoes2.buyed = false;
};
mc_bread0 = new Object();
if (moden == GameData.STORYMODEN){
mc_bread0.speed = so.data.mc_bread0.speed;
} else {
mc_bread0.speed = 1;
};
mc_bread1 = new Object();
if (moden == GameData.STORYMODEN){
mc_bread1.visible = so.data.mc_bread1.visible;
} else {
mc_bread1.visible = true;
};
if (moden == GameData.STORYMODEN){
mc_bread1.speed = so.data.mc_bread1.speed;
} else {
mc_bread1.speed = 1;
};
mc_gril0 = new Object();
if ((((levelNum >= 4)) || (!((moden == GameData.STORYMODEN))))){
mc_gril0.mc1 = true;
} else {
mc_gril0.mc1 = false;
};
mc_gril1 = new Object();
if (moden == GameData.STORYMODEN){
mc_gril1.visible = so.data.mc_gril1.visible;
} else {
mc_gril1.visible = true;
};
if ((((levelNum >= 4)) || (!((moden == GameData.STORYMODEN))))){
mc_gril1.mc1 = true;
} else {
mc_gril1.mc1 = false;
};
mc_table1 = new Object();
if (moden == GameData.STORYMODEN){
mc_table1.visible = so.data.mc_table1.visible;
} else {
mc_table1.visible = true;
};
mc_milk0 = new Object();
if (moden == GameData.STORYMODEN){
mc_milk0.speed = so.data.mc_milk0.speed;
} else {
mc_milk0.speed = 1;
};
if ((((((levelNum > 1)) || (!((moden == GameData.STORYMODEN))))) || (so.data.mc_milk0.visible))){
mc_milk0.visible = true;
} else {
mc_milk0.visible = false;
};
mc_ice0 = new Object();
if ((((((levelNum > 5)) || (!((moden == GameData.STORYMODEN))))) || (so.data.mc_ice0.visible))){
mc_ice0.visible = true;
} else {
mc_ice0.visible = false;
};
if (moden == GameData.STORYMODEN){
mc_ice0.speed = so.data.mc_ice0.speed;
} else {
mc_ice0.speed = 1;
};
mc_frie0 = new Object();
if ((((levelNum > 4)) || (!((moden == GameData.STORYMODEN))))){
mc_frie0.visible = true;
} else {
mc_frie0.visible = false;
};
if (moden == GameData.DEMOMODEN){
mc_frie0.visible = false;
};
table_center0 = new Object();
if ((((levelNum > 1)) || (!((moden == GameData.STORYMODEN))))){
table_center0.mc2 = true;
} else {
table_center0.mc2 = false;
};
if ((((levelNum > 3)) || (!((moden == GameData.STORYMODEN))))){
table_center0.mc3 = true;
} else {
table_center0.mc3 = false;
};
if ((((levelNum > 4)) || (!((moden == GameData.STORYMODEN))))){
table_center0.mc4 = true;
} else {
table_center0.mc4 = false;
};
table_center1 = new Object();
if ((((levelNum > 0)) || (!((moden == GameData.STORYMODEN))))){
table_center1.mc2 = true;
} else {
table_center1.mc2 = false;
};
if ((((levelNum > 8)) || (!((moden == GameData.STORYMODEN))))){
table_center1.mc3 = true;
} else {
table_center1.mc3 = false;
};
mc_special0 = new Object();
mc_special0.visible = true;
if (moden != GameData.STORYMODEN){
shoes = 1;
shirt = 1;
if (challengeID == 0){
mc_ice0.visible = false;
mc_frie0.visible = false;
mc_milk0.visible = false;
mc_special0.visible = false;
};
} else {
if (moden == GameData.STORYMODEN){
shoes = so.data.shoes;
trace("读取服装: ", so.data.shirt);
shirt = so.data.shirt;
};
};
if (GameData.moden == GameData.DEMOMODEN){
mc_bread1.visible = false;
mc_gril0.mc1 = false;
mc_gril1.visible = false;
mc_table1.visible = false;
table_center0.mc2 = false;
table_center0.mc3 = false;
table_center0.mc4 = false;
table_center1.mc2 = false;
table_center1.mc3 = false;
mc_special0.visible = false;
};
}
public static function resetData(){
var _local1:Array;
var _local2:String;
var _local3:*;
_local1 = ["", "CPU", "CPU", "CPU", "PC", "CPU", "KOMPUTER", "PC", "PC", "CPU", "CPU", "CPU", "КОМПЬЮТЕР", "KOMPUTER", "", "", "CPU", "PCプレイヤー"];
_local2 = _local1[language.language_nr];
so.data.highScore = [];
_local3 = 0;
while (_local3 < 10) {
so.data.highScore[_local3] = [_local2, ((10000 - (_local3 * 1000)) - (_local3 * 100))];
_local3++;
};
so.data.levelNum = 0;
so.data.score = 0;
so.data.money = 0;
so.data.shoes = 1;
so.data.shirt = 1;
so.data.mc_bread0 = {speed:1};
so.data.mc_bread1 = {speed:1, visible:false};
so.data.mc_gril1 = {mc1:true, visible:false};
so.data.mc_table1 = {visible:false};
so.data.mc_milk0 = {speed:1, visible:false};
so.data.mc_ice0 = {speed:1, visible:false};
so.data.shirt0 = {buyed:true};
so.data.shirt1 = {buyed:false};
so.data.shirt2 = {buyed:false};
so.data.shirt3 = {buyed:false};
so.data.shirt4 = {buyed:false};
so.data.shirt5 = {buyed:false};
so.data.shirt6 = {buyed:false};
so.data.shoes0 = {buyed:true};
so.data.shoes1 = {buyed:false};
so.data.shoes2 = {buyed:false};
so.data.challenge0 = {played:false, score:0};
so.data.challenge1 = {played:false, score:0};
so.data.challenge2 = {played:false, score:0};
so.data.challenge3 = {played:false, score:0};
so.data.challenge4 = {played:false, score:0};
so.data.challenge5 = {played:false, score:0};
so.data.challenge6 = {played:false, score:0};
so.data.challenge7 = {played:false, score:0};
so.data.challenge8 = {played:false, score:0};
so.data.challenge9 = {played:false, score:0};
so.data.challenge10 = {played:false, score:0};
so.data.challenge11 = {played:false, score:0};
so.flush();
}
public static function saveData(){
so.data.mc_bread0 = {speed:mc_bread0.speed};
so.data.mc_bread1 = {speed:mc_bread1.speed, visible:mc_bread1.visible};
so.data.mc_gril1 = {mc1:mc_gril1.mc1, visible:mc_gril1.visible};
so.data.mc_table1 = {visible:mc_table1.visible};
so.data.mc_milk0 = {speed:mc_milk0.speed, visible:mc_milk0.visible};
so.data.mc_ice0 = {speed:mc_ice0.speed, visible:mc_ice0.visible};
so.data.shirt0 = {buyed:shirt0.buyed};
so.data.shirt1 = {buyed:shirt1.buyed};
so.data.shirt2 = {buyed:shirt2.buyed};
so.data.shirt3 = {buyed:shirt3.buyed};
so.data.shirt4 = {buyed:shirt4.buyed};
so.data.shirt5 = {buyed:shirt5.buyed};
so.data.shirt6 = {buyed:shirt6.buyed};
so.data.shoes0 = {buyed:true};
so.data.shoes1 = {buyed:shoes1.buyed};
so.data.shoes2 = {buyed:shoes2.buyed};
so.data.levelNum = levelNum;
so.data.score = score;
so.data.money = money;
so.data.shirt = shirt;
so.data.shoes = shoes;
so.flush();
}
}
}//package lib
Section 295
//GameData_Level (lib.GameData_Level)
package lib {
public class GameData_Level {
public var targetScore;
public var character;
public var name:String;
public var intro:uint;
public var text:String;
public var scene;
public var time:Number;
public var clients:Array;
}
}//package lib
Section 296
//GameEvent (lib.GameEvent)
package lib {
import flash.events.*;
public class GameEvent extends Event {
public var id:uint;
public var _gotowhere:String;
public var meatsort:uint;
public var moden;
public var challengeid;
public static var TIMEOUT:String = "timeout";
public static var MEAT_REQUEST:String = "meat_request";
public static var GET_MEAT:String = "get_meat";
public static var GOBACK:String = "goback";
public static var GOLD_DIS:String = "golddis";
public static var CHALLENGELOSE:String = "challengelose";
public static var CHALLENGEWIN:String = "challengewin";
public static var CHALLENGECHOOSE:String = "challengechoose";
public static var CHAR_EXEOVER:String = "char_exeover";
public static var PHONEREQUEST:String = "phonerequest";
public static var GOTO:String = "goto";
public static var ORDER_DIS:String = "order_dis";
public static var PHONEEND:String = "phoneend";
public static var SHOPSHOW:String = "shopshow";
public static var DEMOWIN:String = "demowin";
public static var CLIENT_DIS:String = "client_dis";
public static var CLIENT_REQUEST:String = "client_request";
public function GameEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
public function set gotowhere(_arg1:String):void{
_gotowhere = _arg1;
}
override public function clone():Event{
return (new GameEvent(type, bubbles, cancelable));
}
public function get gotowhere():String{
return (_gotowhere);
}
override public function toString():String{
return (formatToString("GameEvent", "type", "bubbles", "cancelable", "eventPhase"));
}
}
}//package lib
Section 297
//GoldFly (lib.GoldFly)
package lib {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class GoldFly extends MovieClip {
private var endy;
private var goldlist:Array;
private var id:int;
private var speed;
private var n;
private var stationy:Number;
private var stationx;
private var endx;
public function GoldFly(){
endx = 410;
endy = 35;
speed = 16;
n = 0;
goldlist = [];
}
public function init(_arg1){
stationx = (_arg1[1] - 28);
stationy = (_arg1[0] - 94);
id = setInterval(addGold, (1000 / 10));
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
this.addEventListener(Event.ENTER_FRAME, _move);
}
private function _onUnload(_arg1:Event){
var evt = _arg1;
try {
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
this.removeEventListener(Event.ENTER_FRAME, _move);
clearInterval(id);
} catch(err) {
trace("移除飞行的金币,产生错误", err);
};
}
private function addGold(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
br3_Sound.playEffect(br3_Sound.Sound_golds, 1);
_local1 = new gold();
addChild(_local1);
_local1.x = stationx;
_local1.y = stationy;
_local2 = Math.atan2((endy - stationy), (endx - stationx));
_local3 = (speed * Math.sin(_local2));
_local4 = (speed * Math.cos(_local2));
goldlist.push([_local1, _local3, _local4]);
n++;
if (n >= 10){
clearInterval(id);
};
}
private function _move(_arg1:Event){
var _local2:*;
var _local3:*;
var _local4:*;
if (goldlist.length > 0){
_local2 = (goldlist.length - 1);
while (_local2 > -1) {
goldlist[_local2][0].x = (goldlist[_local2][0].x + goldlist[_local2][2]);
goldlist[_local2][0].y = (goldlist[_local2][0].y + goldlist[_local2][1]);
_local3 = Math.sqrt((((goldlist[_local2][0].x - endx) * (goldlist[_local2][0].x - endx)) + ((goldlist[_local2][0].y - endy) * (goldlist[_local2][0].y - endy))));
if (_local3 < speed){
this.removeChild(goldlist[_local2][0]);
goldlist.splice(_local2, 1);
};
_local2--;
};
};
if ((((n >= 10)) && ((goldlist.length == 0)))){
this.removeEventListener(Event.ENTER_FRAME, _move);
_local4 = new GameEvent(GameEvent.GOLD_DIS);
dispatchEvent(_local4);
};
}
}
}//package lib
Section 298
//main (lib.main)
package lib {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.*;
import screen.*;
import flash.system.*;
public class main extends MovieClip {
private var mc_demo:MC_DEMO;
private var blak:Blak;
private var mc_welldoneshow:MC_WelldoneShow;
private var _request:URLRequest;
public var bt:SimpleButton;
private var mc_gameover:MC_GameOver;
private var mc_intro:MC_Intro;
private var _currentScene:String;
public var logo_mainscreen:MovieClip;
private var mc_challengechoose:MC_Challengechoose;
private var mc_storymoden:MC_STORYMODEN;
public var bt_up:SimpleButton;
private var localConnection:LocalConnection;
private var mc_challengemoden:MC_CHALLENGEMODEN;
private var br3_sound:br3_Sound;
private var gamedata:GameData;
private var mc_highscore:MC_HighScore;
private var protection:Protection;
private var mc_welldone:MC_welldone;
private var mc_levelmap:MC_LevelMap;
public static var _tracker:AnalyticsTracker;
public function main(){
addFrameScript(0, frame1, 8, frame9, 24, frame25, 25, frame26, 30, frame31, 54, frame55, 60, frame61);
localConnection = new LocalConnection();
language.Language = 1;
}
function frame61(){
prevFrame();
}
public function onCLick11(_arg1:Event){
trace("点击1");
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest(language.url3);
};
navigateToURL(_request, "_blank");
}
function initProtection():void{
protection = new Protection(this);
}
private function init(){
_tracker = new GATracker(this, "UA-6695967-1", "AS3", false);
_tracker.trackEvent("Burger Restaurant 3", "mainscreen viewed", "per session", 0);
br3_sound = new br3_Sound();
br3_sound.init();
blak = new Blak();
gamedata = new GameData();
mc_intro = new MC_Intro();
mc_levelmap = new MC_LevelMap();
mc_demo = new MC_DEMO();
mc_gameover = new MC_GameOver();
mc_storymoden = new MC_STORYMODEN();
mc_highscore = new MC_HighScore();
mc_challengemoden = new MC_CHALLENGEMODEN();
mc_challengechoose = new MC_Challengechoose();
mc_welldone = new MC_welldone();
mc_welldoneshow = new MC_WelldoneShow();
_currentScene = "mc_intro";
addChild(this[_currentScene]);
addChild(blak);
this[_currentScene].init();
this[_currentScene].addEventListener(GameEvent.GOTO, GOTO);
if (language.language_nr != 2){
};
}
private function init1(){
bt.addEventListener(MouseEvent.MOUSE_DOWN, onCLick10);
}
public function onCLick5(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=logo_level"));
};
navigateToURL(_request, "_blank");
}
private function GOTO(_arg1:GameEvent){
removeChild(this[_currentScene]);
_currentScene = _arg1._gotowhere;
addChild(this[_currentScene]);
this[_currentScene].init();
this[_currentScene].addEventListener(GameEvent.GOTO, GOTO);
setChildIndex(blak, (numChildren - 1));
}
public function onCLick2(_arg1:Event){
var _local2:String;
if (language.language_nr != 2){
_local2 = "http://www.gameportal.net";
} else {
_local2 = "http://www.game.com.cn/downloads/";
};
_request = new URLRequest(_local2);
navigateToURL(_request, "_blank");
}
public function onCLick4(){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_mainscreen_moregames"));
};
navigateToURL(_request, "_blank");
}
public function onCLick7(){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_highscore_3000games"));
};
navigateToURL(_request, "_blank");
}
public function onCLick3(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=logo_preloader"));
};
navigateToURL(_request, "_blank");
}
function frame9(){
prevFrame();
}
public function onCLick8(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_welldone_moregame"));
};
navigateToURL(_request, "_blank");
}
function frame31(){
stop();
}
function frame1(){
init1();
}
public function onCLick6(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_gameover_moregames"));
};
navigateToURL(_request, "_blank");
}
public function checkVersion():Boolean{
var _local1:String;
var _local2:Array;
var _local3:Number;
_local1 = Capabilities.version;
trace(Capabilities.version);
_local2 = _local1.split(/[,\ ]/);
_local3 = Number(_local2[1]);
if (_local3 > 8){
return (true);
};
return (false);
}
public function onCLick9(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_choosedifficulties_moregame"));
};
navigateToURL(_request, "_blank");
}
function frame26(){
stop();
bt_up.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown3);
}
function frame55(){
init();
stop();
}
public function _mouseDown3(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.adobe.com/go/getflashplayer");
navigateToURL(_local2, "_self");
}
function frame25(){
if (checkVersion()){
if (language.language_nr != 2){
gotoAndStop("game");
} else {
gotoAndStop("logoshow");
};
};
}
public function onCLick10(_arg1:MouseEvent){
var _local2:String;
if (language.language_nr != 2){
_request = new URLRequest(language.url1);
} else {
_local2 = "http://www.game.com.cn/moregames";
_request = new URLRequest(_local2);
};
navigateToURL(_request, "_blank");
}
}
}//package lib
Section 299
//MC_Bench (lib.MC_Bench)
package lib {
import flash.display.*;
public class MC_Bench extends MovieClip {
public var i;
public var j:uint;
public function MC_Bench(){
changeTo();
}
public function changeTo(){
trace("场景改变,", GameData.challengeID, GameData[("challenge" + GameData.challengeID)].scene);
if (GameData.moden == GameData.STORYMODEN){
gotoAndStop(MC_GameEngine.scene);
} else {
gotoAndStop(GameData[("challenge" + GameData.challengeID)].scene);
};
}
}
}//package lib
Section 300
//MC_BenchFront (lib.MC_BenchFront)
package lib {
import flash.net.*;
import flash.events.*;
import flash.display.*;
public class MC_BenchFront extends MovieClip {
public var bt_im:SimpleButton;
public var _bt_im:MovieClip;
public var j:uint;
public var i;
public var img:MovieClip;
public function MC_BenchFront(){
changeTo();
if (language.language_nr != 3){
_bt_im.visible = false;
bt_im.visible = false;
} else {
bt_im.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
};
}
public function _onMouseDown(_arg1:MouseEvent){
var _local2:*;
var _local3:URLRequest;
_local2 = "http://www.plannederland.nl/?utm_source=spilgames&utm_medium=link&utm_campaign=biaag_nj08";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
public function changeTo(){
if (((((GameData.so.data.shirt6.buyed) && (!((GameData.moden == GameData.DEMOMODEN))))) && (!((GameData.moden == GameData.CHALLENGEMODEN))))){
img.visible = true;
} else {
img.visible = false;
};
trace("场景改变,", GameData.challengeID, GameData[("challenge" + GameData.challengeID)].scene);
if (GameData.moden == GameData.STORYMODEN){
gotoAndStop(MC_GameEngine.scene);
} else {
gotoAndStop(GameData[("challenge" + GameData.challengeID)].scene);
};
}
}
}//package lib
Section 301
//MC_Bread (lib.MC_Bread)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Bread extends MovieClip {
private var foodSort:uint;// = 1
protected var moden:uint;
public var _speed:int;
private var max:int;
private var frame:int;
public var bt:SimpleButton;
public var target:Object;
public var body:MovieClip;
public var select1:MovieClip;
private var brights:Bright;
public var door:MovieClip;
public var img:int;
public function MC_Bread(){
foodSort = 1;
super();
img = 1;
brights = new Bright();
moden = 0;
select1.visible = false;
bt.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this);
}
private function _onUnload(_arg1:Event){
gotoAndStop(1);
moden = 0;
bt.removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOver(_arg1:MouseEvent){
brights.setBrightness(60, 0.8, this);
}
private function _mouseDown(_arg1:MouseEvent){
brights.setBrightness(0, 1, this);
if (MC_GameEngine.gameStart){
Order.addOrder(target, this, 1, 1);
};
}
public function set speed(_arg1){
var s = _arg1;
_speed = s;
if (s == 1){
max = 50;
} else {
if (s == 2){
max = 30;
} else {
if (s == 3){
max = 15;
};
};
};
try {
body.gotoAndStop(_speed);
door.gotoAndStop(_speed);
} catch(err) {
trace("设置面包机门和机身出错", err);
};
}
public function request(_arg1:uint){
if (moden == 0){
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(1);
};
frame = 0;
moden = 1;
br3_Sound.playEffect(br3_Sound.Sound_bread);
gotoAndPlay("make");
};
if (moden == 3){
if (Tray.request(foodSort)){
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(1);
};
moden = 4;
play();
};
};
if (moden == 5){
if (Tray.request(foodSort)){
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(1);
};
moden = 6;
play();
};
};
}
public function move(){
frame++;
if ((((moden == 1)) && ((frame > max)))){
moden = 2;
br3_Sound.stopEffect(br3_Sound.Sound_bread);
br3_Sound.playEffect(br3_Sound.Sound_bread_done);
gotoAndPlay("end");
};
}
}
}//package lib
Section 302
//MC_Challengechoose (lib.MC_Challengechoose)
package lib {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
public class MC_Challengechoose extends MovieClip {
public var loader:MovieClip;
public var bt:SimpleButton;
public var _maskss;
private var Challengebars:Challengebar;
private var bar_y1:Number;// = 338
private var bar_y0:Number;// = 100
private var bar_y:Number;
public var bt_bar:SimpleButton;
private var loader_y0:Number;// = 84
private var loader_y1:Number;
private var mouse_y0;
private var mouseDowned:Boolean;// = false
public var _bt:MovieClip;
public function MC_Challengechoose(){
bar_y0 = 100;
bar_y1 = 338;
loader_y0 = 84;
mouseDowned = false;
super();
addFrameScript(0, frame1);
}
private function _onMouseOut(_arg1:MouseEvent){
setBrightness(0, 1, ("_" + _arg1.target.name));
}
public function init(){
bt_bar.y = bar_y0;
loader.y = loader_y0;
showpage();
bt_bar.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
stage.addEventListener(MouseEvent.MOUSE_MOVE, _mouseMove);
stage.addEventListener(MouseEvent.MOUSE_UP, _mouseUp);
bt.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function showpage(){
var _local1:int;
_local1 = 0;
_local1 = 0;
while (_local1 < 12) {
Challengebars = new Challengebar();
loader.addChild(Challengebars);
Challengebars.y = (_local1 * 70);
if (GameData.so.data[("challenge" + _local1)].played){
Challengebars.gotoAndStop(2);
} else {
Challengebars.gotoAndStop(1);
};
Challengebars.id = _local1;
Challengebars.names.text = GameData[("challenge" + _local1)].names;
Challengebars.goal.text = GameData[("challenge" + _local1)].goal;
Challengebars.score.text = ("$ " + GameData.so.data[("challenge" + _local1)].score);
Challengebars.addEventListener(GameEvent.CHALLENGECHOOSE, _challengeChoose);
_local1++;
};
loader_y1 = (((loader.height - 290) - loader_y0) * -1);
}
private function _challengeChoose(_arg1:GameEvent){
var _local2:*;
_local2 = new GameEvent(GameEvent.GOTO);
GameData.challengeID = _arg1.challengeid;
_local2._gotowhere = "mc_challengemoden";
dispatchEvent(_local2);
}
private function _onUnload(_arg1:Event){
var _local2:*;
_local2 = 0;
while (_local2 < loader.numChildren) {
if ((loader.getChildAt(_local2) is Challengebar)){
loader.getChildAt(_local2).removeEventListener(GameEvent.CHALLENGECHOOSE, _challengeChoose);
};
_local2++;
};
bt_bar.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, _mouseMove);
stage.removeEventListener(MouseEvent.MOUSE_UP, _mouseUp);
bt.removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOver(_arg1:MouseEvent){
br3_Sound.playEffect(br3_Sound.Sound_mouseover, 1);
setBrightness(60, 0.8, ("_" + _arg1.target.name));
}
private function setBrightness(_arg1:Number, _arg2:Number, _arg3:String):void{
var _local4:Array;
_local4 = [_arg2, 0, 0, 0, _arg1, 0, _arg2, 0, 0, _arg1, 0, 0, _arg2, 0, _arg1, 0, 0, 0, 1, 0];
this[_arg3].filters = [new ColorMatrixFilter(_local4)];
}
private function _mouseDown(_arg1:MouseEvent){
mouse_y0 = mouseY;
bar_y = bt_bar.y;
mouseDowned = true;
}
function frame1(){
_maskss = new maskss();
addChild(_maskss);
_maskss.x = 61;
_maskss.y = 79;
loader.mask = _maskss;
}
private function _mouseMove(_arg1:MouseEvent){
var _local2:Number;
var _local3:*;
var _local4:Number;
if (mouseDowned){
_local2 = (mouseY - mouse_y0);
bt_bar.y = (bar_y + _local2);
if (bt_bar.y < bar_y0){
bt_bar.y = bar_y0;
};
if (bt_bar.y > bar_y1){
bt_bar.y = bar_y1;
};
_local3 = (((bt_bar.y - bar_y0) / (bar_y1 - bar_y0)) * 100);
_local4 = (loader_y1 - loader_y0);
loader.y = (loader_y0 + ((_local4 / 100) * _local3));
};
}
private function _onClick(_arg1:MouseEvent){
var _local2:String;
var _local3:*;
br3_Sound.playEffect(br3_Sound.Sound_mousedown, 1);
_local2 = _arg1.target.name;
switch (_local2){
case "bt":
setBrightness(0, 1, ("_" + _arg1.target.name));
_local3 = new GameEvent(GameEvent.GOTO);
_local3._gotowhere = "mc_intro";
dispatchEvent(_local3);
break;
default:
break;
};
}
private function _mouseUp(_arg1:MouseEvent){
mouseDowned = false;
}
}
}//package lib
Section 303
//MC_CHALLENGEMODEN (lib.MC_CHALLENGEMODEN)
package lib {
public class MC_CHALLENGEMODEN extends MC_GameEngine {
override public function init(){
trace("模式0:", GameData.moden, "LevelNum:", GameData.levelNum);
gameStart = false;
scene = MC_LevelMap.scene;
score = 0;
timeOut = false;
buildMap();
trace("模式1:", GameData.moden, "LevelNum:", GameData.levelNum);
}
}
}//package lib
Section 304
//MC_DEMO (lib.MC_DEMO)
package lib {
public class MC_DEMO extends MC_GameEngine {
override public function init(){
trace("Demo模式开始");
gameStart = false;
scene = MC_LevelMap.scene;
moden = 1;
score = 0;
timeOut = false;
buildMap();
}
}
}//package lib
Section 305
//MC_Frie (lib.MC_Frie)
package lib {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class MC_Frie extends MovieClip {
protected var id:uint;
private var foodSort:int;// = 20
protected var moden;
public var bt1:SimpleButton;
private var station:Array;
private var frame:int;
public var target:Object;
public var types:uint;
public var select1:MovieClip;
public function MC_Frie(){
foodSort = 20;
super();
station = [[-5, 44, 0], [-12, 25, 0], [-18, 60, 0], [-25, 41, 0]];
moden = 0;
select1.visible = false;
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function get_meat(_arg1:GameEvent){
var _local2:*;
if (Tray.request(foodSort)){
_local2 = 0;
while (_local2 < numChildren) {
if (getChildAt(_local2).name == _arg1.target.name){
station[_arg1.target.i][2].removeEventListener(GameEvent.MEAT_REQUEST, meat_request);
station[_arg1.target.i][2].removeEventListener(GameEvent.GET_MEAT, get_meat);
station[_arg1.target.i][2] = 0;
removeChildAt(_local2);
moden--;
break;
};
_local2++;
};
};
}
private function _onUnload(_arg1:Event){
gotoAndStop(1);
moden = 0;
station = [[-5, 44, 0], [-12, 25, 0], [-18, 60, 0], [-25, 41, 0]];
bt1.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function meat_request(_arg1:GameEvent){
Order.addOrder(target, _arg1.target, 1, 20);
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:int;
if (MC_GameEngine.gameStart){
_local2 = int(_arg1.target.name.replace(/bt/, ""));
Order.addOrder(target, this, _local2, 21);
};
}
public function request(_arg1:uint){
if (moden == 0){
br3_Sound.playEffect(br3_Sound.Sound_plat, 1);
moden = 1;
gotoAndStop(2);
_arg1 = setTimeout(make, 3000);
};
}
public function move(){
}
private function make(){
var _local1:*;
var _local2:*;
var _local3:*;
trace("薯条制作完毕0");
br3_Sound.stopEffect(br3_Sound.Sound_plat);
gotoAndStop(1);
trace("薯条制作完毕1");
moden = 4;
_local1 = 0;
while (_local1 < station.length) {
if (station[_local1][2] == 0){
_local2 = new mc_frie_mc();
addChild(_local2);
station[_local1][2] = _local2;
_local2.y = station[_local1][0];
_local2.x = station[_local1][1];
_local2.i = _local1;
_local3 = ((numChildren - 1) - _local1);
setChildIndex(_local2, _local3);
_local2.addEventListener(GameEvent.MEAT_REQUEST, meat_request);
_local2.addEventListener(GameEvent.GET_MEAT, get_meat);
};
_local1++;
};
trace("薯条制作完毕2");
}
}
}//package lib
Section 306
//MC_Frie_mc (lib.MC_Frie_mc)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Frie_mc extends MovieClip {
public var id:int;
private var moden:int;
private var f;
public var bt:SimpleButton;
public var select1:MovieClip;
public function MC_Frie_mc(){
select1.visible = false;
bt.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onUnload(_arg1:Event){
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:GameEvent;
if (MC_GameEngine.gameStart){
_local2 = new GameEvent(GameEvent.MEAT_REQUEST);
dispatchEvent(_local2);
};
}
public function request(_arg1:uint){
var _local2:GameEvent;
_local2 = new GameEvent(GameEvent.GET_MEAT);
_local2.meatsort = id;
dispatchEvent(_local2);
}
}
}//package lib
Section 307
//MC_GameEngine (lib.MC_GameEngine)
package lib {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class MC_GameEngine extends MovieClip {
public var mc_ice0:MC_ice;
protected var ui_ready:UI_Ready;
public var mc_frie0:mc_frie;
protected var demointro:DemoIntro;
protected var clientLoaders:clientLoader;
protected var ui:UI;
protected var bg_back:Bg_back;
public var mc_gril0:mc_gril;
public var mc_gril1:mc_gril;
public var mc_trash0:mc_trash;
public var mc_table0;
public var mc_table1:mc_table;
public var mc_bread0;
public var mc_bread1:MC_bread;
public var table_center1:Table_Center1;
public var table_center0:Table_Center0;
public var mc_special0:mc_special;
public var moden:uint;
protected var storyShows:storyShow;
protected var bench_center:Bench_Center;
protected var timer:Timer;
protected var intro_specials:intro_special;
public var order:Orders;
protected var char:Chars;
protected var bench_front:Bench_Front;
protected var map:Sprite;
public var mc_milk0:mc_milk;
protected var bench_back:Bench_Back;
protected var char_execute:Boolean;
protected var ui_shop:UI_Shop;
public static var timeOut:Boolean;
public static var scene:uint;
public static var moveList:Array;
public static var score:int;
public static var gameStart:Boolean;
public static var ystation:Number;
public static var OrderSort_bread;
public static var h:Number = 29;
public static var OrderSort;
public static var changeList:Array;
public static var w:Number = 29;
public static var xstation;
public static var maparray:Array;
public static var OrderSort_meat:Array;
public function MC_GameEngine(){
xstation = -245;
ystation = -72;
x = (xstation * -1);
y = (ystation * -1);
changeList = [];
moveList = [];
char_execute = false;
gameStart = false;
}
protected function del_intro_specials(_arg1:GameEvent){
intro_specials.removeEventListener(GameEvent.GOBACK, del_intro_specials);
removeChild(intro_specials);
showStory();
}
protected function _timeOut(_arg1:GameEvent){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
timeOut = true;
if ((((ClientLoader.clientnum == 0)) && ((GameData.moden == GameData.STORYMODEN)))){
ui.removeEventListener(GameEvent.TIMEOUT, _timeOut);
if (score >= GameData.level[GameData.levelNum].targetScore){
_local3 = new mc_welldone();
addChild(_local3);
_local3.x = xstation;
_local3.y = ystation;
if (GameData.levelNum < 24){
trace("GameData.levelNum", GameData.levelNum);
if (GameData.levelNum == 13){
main._tracker.trackEvent("Burger Restaurant 3", "60% completed", "per session", 0);
};
_local2 = setTimeout(gameend, 3000, "mc_shop");
} else {
main._tracker.trackEvent("Burger Restaurant 3", "game completed", "per session", 0);
_local2 = setTimeout(gameend, 3000, "mc_welldone");
};
GameData.nextLevel(score);
} else {
_local4 = new mc_levelfail();
addChild(_local4);
_local4.x = xstation;
_local4.y = ystation;
_local2 = setTimeout(gameend, 3000, "gameover");
};
gameStart = false;
};
if (GameData.moden != GameData.STORYMODEN){
gameStart = false;
switch (GameData.challengeID){
case 6:
if (GameData.money > 0){
_local4 = new mc_levelfail();
addChild(_local4);
_local4.x = xstation;
_local4.y = ystation;
_local2 = setTimeout(gameend, 3000, "gameover");
} else {
_local3 = new mc_welldone();
addChild(_local3);
_local3.x = xstation;
_local3.y = ystation;
_local5 = setTimeout(gameend, 3000, "mc_welldoneshow");
GameData.challengePlayed();
};
case 3:
case 4:
case 10:
_local3 = new mc_welldone();
addChild(_local3);
_local3.x = xstation;
_local3.y = ystation;
_local5 = setTimeout(gameend, 3000, "mc_welldoneshow");
GameData.challengePlayed();
break;
default:
break;
};
};
}
protected function buildMap(){
var _local1:*;
var _local2:int;
var _local3:*;
var _local4:*;
trace("ge,buildmap0");
if (GameData.moden == GameData.DEMOMODEN){
br3_Sound.playBgm(br3_Sound.Music_mainscreen);
} else {
_local2 = 1;
if (GameData.moden == GameData.STORYMODEN){
_local2 = MC_GameEngine.scene;
} else {
_local2 = GameData[("challenge" + GameData.challengeID)].scene;
};
switch (_local2){
case 1:
br3_Sound.playBgm(br3_Sound.Music_china);
break;
case 2:
br3_Sound.playBgm(br3_Sound.Music_italy);
break;
case 3:
br3_Sound.playBgm(br3_Sound.Music_western);
break;
case 4:
br3_Sound.playBgm(br3_Sound.Music_japan);
break;
case 5:
br3_Sound.playBgm(br3_Sound.Music_india);
break;
default:
break;
};
};
trace("ge,buildmap1");
if (GameData.moden == GameData.STORYMODEN){
GameData.money = GameData.so.data.money;
} else {
GameData.money = 0;
if (GameData.challengeID == 6){
GameData.money = 1000;
};
};
trace("ge,buildmap2");
UI_Shop.money = 0;
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
maparray = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
bg_back = new Bg_back();
addChild(bg_back);
bg_back.x = xstation;
bg_back.y = ystation;
timer = new Timer((1000 / 30));
timer.addEventListener(TimerEvent.TIMER, move);
timer.start();
trace("ge,buildmap3");
map = new Sprite();
addChild(map);
_local1 = 0;
while (_local1 < maparray.length) {
_local3 = 0;
while (_local3 < maparray[_local1].length) {
_local4 = new Box();
_local4.x = ((_local3 - _local1) * w);
_local4.y = (((_local3 + _local1) * h) / 2);
_local4.py = _local1;
_local4.px = _local3;
_local4.go = maparray[_local1][_local3];
_local4.gotoAndStop((maparray[_local1][_local3] + 1));
maparray[_local1][_local3] = _local4;
_local4.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
map.addChild(_local4);
_local3++;
};
_local1++;
};
mc_trash0 = new mc_trash();
addChild(mc_trash0);
_local1 = 1;
_local3 = 2;
mc_trash0.x = ((_local3 - _local1) * w);
mc_trash0.y = (((_local3 + _local1) * h) / 2);
mc_trash0.target = maparray[2][4];
mc_trash0.addEventListener(GameEvent.CHALLENGELOSE, _challengeLose);
trace("ge,buildmap4");
bench_back = new Bench_Back();
addChild(bench_back);
_local1 = 1;
_local3 = 3;
bench_back.x = ((_local3 - _local1) * w);
bench_back.y = (((_local3 + _local1) * h) / 2);
mc_frie0 = new mc_frie();
mc_frie0.x = ((319 + xstation) - 4);
mc_frie0.y = ((98 + ystation) - 5);
addChild(mc_frie0);
mc_frie0.target = maparray[2][6];
mc_special0 = new mc_special();
mc_special0.x = ((385 + xstation) - 4);
mc_special0.y = ((128 + ystation) - 5);
addChild(mc_special0);
mc_special0.target = maparray[2][4];
mc_table1 = new mc_table();
mc_table1.x = ((458 + xstation) - 8);
mc_table1.y = (152 + ystation);
addChild(mc_table1);
mc_table1.target = maparray[2][7];
trace("ge,buildmap5");
mc_bread0 = new MC_bread();
addChild(mc_bread0);
_local1 = 3;
_local3 = 0;
mc_bread0.x = ((_local3 - _local1) * w);
mc_bread0.y = (((_local3 + _local1) * h) / 2);
mc_bread0.target = maparray[2][2];
mc_bread1 = new MC_bread();
addChild(mc_bread1);
_local1 = 5;
_local3 = 0;
mc_bread1.x = ((_local3 - _local1) * w);
mc_bread1.y = (((_local3 + _local1) * h) / 2);
mc_bread1.target = maparray[4][2];
mc_milk0 = new mc_milk();
addChild(mc_milk0);
_local1 = 7;
_local3 = 0;
mc_milk0.x = ((_local3 - _local1) * w);
mc_milk0.y = (((_local3 + _local1) * h) / 2);
mc_milk0.target = maparray[6][2];
mc_ice0 = new MC_ice();
addChild(mc_ice0);
_local1 = 9;
_local3 = 0;
mc_ice0.x = ((_local3 - _local1) * w);
mc_ice0.y = (((_local3 + _local1) * h) / 2);
mc_ice0.target = maparray[8][2];
bench_center = new Bench_Center();
addChild(bench_center);
bench_center.i = 9;
bench_center.j = 5;
_local1 = 9;
_local3 = 5;
bench_center.x = ((_local3 - _local1) * w);
bench_center.y = (((_local3 + _local1) * h) / 2);
table_center1 = new Table_Center1();
table_center1.init(4);
table_center1.x = 113;
table_center1.y = -80;
table_center0 = new Table_Center0();
table_center0.init(5);
table_center0.x = 10;
table_center0.y = -48;
table_center0.target = maparray[7][7];
table_center1.target = maparray[4][7];
bench_center.addChild(table_center1);
bench_center.addChild(table_center0);
trace("ge,buildmap6");
char = new Chars();
char.init();
char.px = 4;
char.py = 10;
char.x = ((char.px - char.py) * w);
char.y = (((char.px + char.py) * h) / 2);
addChild(char);
char.addEventListener(GameEvent.CHAR_EXEOVER, charexeOver);
bench_front = new Bench_Front();
addChild(bench_front);
_local1 = 13;
_local3 = 10;
bench_front.x = ((_local3 - _local1) * w);
bench_front.y = (((_local3 + _local1) * h) / 2);
mc_table0 = new mc_table();
mc_table0.x = ((135 + xstation) - 8);
mc_table0.y = (337 + ystation);
addChild(mc_table0);
mc_table0.target = maparray[11][8];
trace("ge,buildmap7");
mc_gril0 = new mc_gril();
mc_gril0.x = ((8 + xstation) - 8);
mc_gril0.y = (285 + ystation);
mc_gril1 = new mc_gril();
mc_gril1.x = ((57 + xstation) - 8);
mc_gril1.y = (313 + ystation);
addChild(mc_gril0);
addChild(mc_gril1);
trace("ge,buildmap8");
mc_gril1.target = maparray[11][6];
mc_gril0.target = maparray[11][4];
clientLoaders = new clientLoader();
clientLoaders.x = xstation;
clientLoaders.y = ystation;
addChild(clientLoaders);
clientLoaders.setTarget([maparray[10][9], maparray[8][9], maparray[6][9], maparray[4][9]]);
clientLoaders.addEventListener(GameEvent.CHALLENGELOSE, _challengeLose);
if (GameData.moden == GameData.DEMOMODEN){
clientLoaders.addEventListener(GameEvent.DEMOWIN, _demowin);
};
trace("ge,buildmap8-1");
order = new Orders();
addChild(order);
trace("ge,buildmap8-2");
order.init();
trace("ge,buildmap8-3");
order.x = xstation;
order.y = ystation;
trace("ge,buildmap8-4");
ui = new UI();
addChild(ui);
trace("ge,buildmap9-1");
ui.score_target.text = GameData.level[GameData.levelNum].targetScore;
trace("ge,buildmap9-1-1");
ui.day.text = String((GameData.levelNum + 1));
trace("ge,buildmap9-1-2");
if (GameData.moden == GameData.STORYMODEN){
ui.tatolTime = (GameData.level[GameData.levelNum].time * 60);
} else {
ui.tatolTime = (GameData.level[19].time * 60);
};
trace("ge,buildmap9-2");
ui.x = xstation;
ui.y = ystation;
ui.addEventListener(GameEvent.TIMEOUT, _timeOut);
ui.addEventListener(GameEvent.CHALLENGEWIN, _challengeWin);
ui.addEventListener(GameEvent.SHOPSHOW, _shopShow);
changeList = [];
changeList.push(mc_bread0, mc_bread1, mc_ice0, mc_milk0);
trace("ge,buildmap9-3");
moveList = [];
moveList.push(char, mc_bread0, mc_bread1, mc_milk0, ui, clientLoaders, mc_ice0);
trace("ge,buildmap9-4");
GameData.item_upData();
updataItem();
trace("ge,buildmap10");
if (((!((GameData.level[GameData.levelNum].intro == 0))) && ((GameData.moden == GameData.STORYMODEN)))){
intro_specials = new intro_special();
addChild(intro_specials);
intro_specials.gotoAndStop(GameData.level[GameData.levelNum].intro);
intro_specials.x = xstation;
intro_specials.y = ystation;
intro_specials.addEventListener(GameEvent.GOBACK, del_intro_specials);
} else {
if ((((GameData.level[GameData.levelNum].intro == 0)) && ((GameData.moden == GameData.STORYMODEN)))){
showStory();
} else {
if (GameData.moden == GameData.DEMOMODEN){
showReady();
} else {
if (GameData.moden == GameData.CHALLENGEMODEN){
showStory();
};
};
};
};
trace("ge,buildmap11");
if (GameData.moden == GameData.DEMOMODEN){
demointro = new DemoIntro();
addChild(demointro);
demointro.x = xstation;
demointro.y = ystation;
};
trace("ge,buildmap12");
Tray.clear();
}
protected function _challengeLose(_arg1:GameEvent){
var _local2:*;
var _local3:*;
_local2 = new mc_levelfail();
addChild(_local2);
_local2.x = xstation;
_local2.y = ystation;
_local3 = setTimeout(gameend, 3000, "gameover");
gameStart = false;
}
protected function _challengeWin(_arg1:GameEvent){
var _local2:*;
var _local3:*;
_local2 = new mc_welldone();
addChild(_local2);
_local2.x = xstation;
_local2.y = ystation;
_local3 = setTimeout(gameend, 3000, "mc_welldoneshow");
gameStart = false;
GameData.challengePlayed();
}
protected function del_ready(_arg1:GameEvent){
ui_ready.removeEventListener(GameEvent.GOBACK, del_ready);
removeChild(ui_ready);
gameStart = true;
if (GameData.moden == GameData.DEMOMODEN){
demointro.init();
};
}
protected function _shopShow(_arg1:GameEvent){
ui_shop = new UI_Shop();
addChild(ui_shop);
ui_shop.init();
ui_shop.x = xstation;
ui_shop.y = ystation;
ui_shop.addEventListener(GameEvent.GOBACK, _DisShop);
}
protected function showReady(){
ui_ready = new UI_Ready();
addChild(ui_ready);
if (GameData.moden != GameData.DEMOMODEN){
ui_ready.gotoAndPlay(2);
} else {
ui_ready.gotoAndPlay("demo");
};
ui_ready.x = xstation;
ui_ready.y = ystation;
ui_ready.addEventListener(GameEvent.GOBACK, del_ready);
}
public function init(){
}
private function _onUnload(_arg1:Event){
var i:int;
var evt = _arg1;
i = 0;
while (i < numChildren) {
if ((getChildAt(i) is Box)){
getChildAt(i).removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
};
i = (i + 1);
};
try {
mc_trash0.removeEventListener(GameEvent.CHALLENGELOSE, _challengeLose);
} catch(err) {
trace("游戏引擎卸载 垃圾箱出错 ", err);
};
try {
clientLoaders.removeEventListener(GameEvent.CHALLENGELOSE, _challengeLose);
} catch(err) {
trace("游戏引擎卸载 ClientLoader出错 ", err);
};
try {
clientLoaders.removeEventListener(GameEvent.DEMOWIN, _demowin);
} catch(err) {
trace("游戏引擎卸载 ClientLoader DEOM出错 ", err);
};
try {
removeChild(demointro);
} catch(err) {
trace("卸载demointro出错", err);
};
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, move);
char.removeEventListener(GameEvent.CHAR_EXEOVER, charexeOver);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
i = (numChildren - 1);
while (i > -1) {
try {
removeChildAt(i);
} catch(err) {
trace("MC_gameEngine 移出所有东西: ", err);
};
i = (i - 1);
};
}
protected function _DisShop(_arg1:GameEvent){
updataItem();
removeChild(ui_shop);
}
protected function GOTO(_arg1:GameEvent){
var _local2:GameEvent;
ui_shop.removeEventListener(GameEvent.GOTO, GOTO);
removeChild(ui_shop);
_local2 = new GameEvent(GameEvent.GOTO);
_local2._gotowhere = "mc_levelmap";
dispatchEvent(_local2);
}
protected function _mouseDown(_arg1:MouseEvent){
if (gameStart){
Order.addOrder(_arg1.target, _arg1.target);
};
}
protected function updataItem(){
mc_bread0.speed = GameData.mc_bread0.speed;
mc_bread1.visible = GameData.mc_bread1.visible;
mc_bread1.speed = GameData.mc_bread1.speed;
mc_gril0._mc1 = GameData.mc_gril0.mc1;
mc_gril1.visible = GameData.mc_gril1.visible;
mc_gril1._mc1 = GameData.mc_gril1.mc1;
mc_table1.visible = GameData.mc_table1.visible;
mc_milk0.speed = GameData.mc_milk0.speed;
mc_milk0.visible = GameData.mc_milk0.visible;
mc_ice0.visible = GameData.mc_ice0.visible;
mc_ice0.speed = GameData.mc_ice0.speed;
mc_frie0.visible = GameData.mc_frie0.visible;
table_center0._mc2 = GameData.table_center0.mc2;
table_center0._mc3 = GameData.table_center0.mc3;
table_center0._mc4 = GameData.table_center0.mc4;
table_center1._mc2 = GameData.table_center1.mc2;
table_center1._mc3 = GameData.table_center1.mc3;
mc_special0.visible = GameData.mc_special0.visible;
if (GameData.shirt6.buyed){
bench_front.img.visible = true;
};
OrderSort = [1, 1];
if (((!((GameData.moden == GameData.CHALLENGEMODEN))) && (!((GameData.moden == GameData.DEMOMODEN))))){
OrderSort.push(5);
} else {
if (((!((GameData.challengeID == 0))) && (!((GameData.moden == GameData.DEMOMODEN))))){
OrderSort.push(5);
};
};
if (mc_milk0.visible){
OrderSort.push(2);
};
if (mc_ice0.visible){
OrderSort.push(3);
};
if (mc_frie0.visible){
OrderSort.push(4);
};
if (GameData.mc_gril0.mc1){
OrderSort_meat = [2, 3];
} else {
OrderSort_meat = [2];
};
OrderSort_bread = [4, 8];
if (GameData.table_center0.mc2){
OrderSort_bread.push(5);
};
if (GameData.table_center0.mc3){
OrderSort_bread.push(6);
};
if (GameData.table_center0.mc4){
OrderSort_bread.push(7);
};
if (GameData.table_center1.mc2){
OrderSort_bread.push(9);
};
if (GameData.table_center1.mc3){
OrderSort_bread.push(10);
};
}
protected function gameend(){
var _local2:GameEvent;
if (arguments[0] == "mc_shop"){
ui_shop = new UI_Shop();
addChild(ui_shop);
ui_shop.init();
ui_shop.x = xstation;
ui_shop.y = ystation;
ui_shop.addEventListener(GameEvent.GOTO, GOTO);
};
if (arguments[0] == "gameover"){
_local2 = new GameEvent(GameEvent.GOTO);
_local2._gotowhere = "mc_gameover";
dispatchEvent(_local2);
};
if (arguments[0] == "mc_welldone"){
_local2 = new GameEvent(GameEvent.GOTO);
_local2._gotowhere = "mc_welldone";
dispatchEvent(_local2);
};
if (arguments[0] == "mc_welldoneshow"){
_local2 = new GameEvent(GameEvent.GOTO);
_local2._gotowhere = "mc_welldoneshow";
dispatchEvent(_local2);
};
if (arguments[0] == "mc_intro"){
_local2 = new GameEvent(GameEvent.GOTO);
_local2._gotowhere = "mc_intro";
dispatchEvent(_local2);
};
}
protected function move(_arg1:TimerEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
if (gameStart){
if ((((Order.orderList.length > 0)) && (!(char_execute)))){
char_execute = true;
char.moveTarget(Order.orderList[0][0]);
};
_local2 = 0;
while (_local2 < moveList.length) {
moveList[_local2].move();
_local2++;
};
_local3 = getChildIndex(bench_center);
_local4 = getChildIndex(char);
if ((((char.py > bench_center.i)) || ((((char.px > (bench_center.j + 1))) || ((char.x > ((((bench_center.j + 2) - char.py) * w) - 4))))))){
if (_local3 > _local4){
swapChildren(char, bench_center);
};
} else {
if (_local3 < _local4){
swapChildren(char, bench_center);
};
};
};
}
protected function del_storyShows(_arg1:GameEvent){
storyShows.removeEventListener(GameEvent.GOBACK, del_storyShows);
removeChild(storyShows);
if (GameData.moden == GameData.STORYMODEN){
showReady();
} else {
gameStart = true;
};
}
protected function _demowin(_arg1:GameEvent){
var _local2:*;
var _local3:*;
_local2 = new mc_welldone();
addChild(_local2);
_local2.x = xstation;
_local2.y = ystation;
gameStart = false;
_local3 = setTimeout(gameend, 3000, "mc_intro");
}
protected function charexeOver(_arg1:GameEvent){
char_execute = false;
Order.exe(0);
Order.del(0);
}
protected function showStory(){
storyShows = new storyShow();
addChild(storyShows);
storyShows.gotoAndStop(1);
storyShows.x = xstation;
storyShows.y = ystation;
if (GameData.moden == GameData.STORYMODEN){
storyShows.init(GameData.level[GameData.levelNum].character, GameData.level[GameData.levelNum].text);
} else {
storyShows.init(GameData[("challenge" + GameData.challengeID)].character, GameData[("challenge" + GameData.challengeID)].text);
};
storyShows.addEventListener(GameEvent.GOBACK, del_storyShows);
}
}
}//package lib
Section 308
//MC_GameOver (lib.MC_GameOver)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.external.*;
public class MC_GameOver extends MovieClip {
public var _bt_1:MovieClip;
public var _bt_0:MovieClip;
public var _bt_2:MovieClip;
public var bt_0:SimpleButton;
public var bt_1:SimpleButton;
public var score:TextField;
public var bt_2:SimpleButton;
private var brights:Bright;
public var userName:TextField;
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
}
public function init(){
var _local1:Array;
var _local2:*;
br3_Sound.playBgm(br3_Sound.Music_mainscreen);
brights = new Bright();
_local1 = ["", "PLAYER", "玩家", "SPELER", "JOUEUR", "SPIELER", "GRACZ", "SPELARE", "GIOCATORE", "JUGADOR", "JOGADOR", "JOGADOR", "ИГРОК", "PEMAIN", "", "", "PLAYER", "プレイヤー"];
if (GameData.moden == GameData.STORYMODEN){
score.text = String((MC_GameEngine.score + GameData.score));
} else {
score.text = String(MC_GameEngine.score);
};
userName.text = _local1[language.language_nr];
_local2 = 0;
while (_local2 < 3) {
this[("bt_" + _local2)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt_" + _local2)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt_" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local2++;
};
}
private function _onMouseOver(_arg1:MouseEvent){
br3_Sound.playEffect(br3_Sound.Sound_mouseover, 1);
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
private function _onClick(_arg1:MouseEvent){
var _local2:String;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
br3_Sound.playEffect(br3_Sound.Sound_mousedown, 1);
_local2 = _arg1.target.name;
switch (_local2){
case "bt_0":
if (Number(language.language_nr) != 2){
if (GameData.moden == GameData.STORYMODEN){
GameData.subScore(userName.text, score.text);
};
_local3 = new GameEvent(GameEvent.GOTO);
_local3._gotowhere = "mc_highscore";
dispatchEvent(_local3);
} else {
_local4 = new Date();
_local5 = _local4.getTime();
_local6 = Random.SortT();
_local7 = Random.hex_average((((String(Random.gameID) + score.text) + _local6) + _local5));
Random.DrawLine(_local7, _local6, 10, 10, 15, 15);
_local8 = Random.strqq;
Random.senturl(score.text, _local6, _local8, _local5);
_local3 = new GameEvent(GameEvent.GOTO);
_local3._gotowhere = "mc_intro";
dispatchEvent(_local3);
};
break;
case "bt_1":
if (Number(language.language_nr) != 2){
_local3 = new GameEvent(GameEvent.GOTO);
if (GameData.moden == GameData.STORYMODEN){
_local3._gotowhere = "mc_storymoden";
} else {
_local3._gotowhere = "mc_challengemoden";
};
dispatchEvent(_local3);
} else {
ExternalInterface.call("function(){window.location.reload(true);}");
};
break;
case "bt_2":
break;
default:
break;
};
}
}
}//package lib
Section 309
//MC_Gril (lib.MC_Gril)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Gril extends MovieClip {
protected var moden:uint;
public var bt1:SimpleButton;
public var bt2:SimpleButton;
private var station:Array;
public var mc1:MovieClip;
private var frame:int;
public var target:Object;
public var types:uint;
public var select1:MovieClip;
public var select2:MovieClip;
public var img:int;
private static var moden2:uint;
public function MC_Gril(){
img = 18;
station = [[-6, 47, 0], [-14, 30, 0], [-14, 66, 0], [-23, 47, 0]];
moden = 0;
moden2 = 0;
select1.visible = false;
select2.visible = false;
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function meat_request(_arg1:GameEvent){
Order.addOrder(target, _arg1.target, 1, (_arg1.target.id + 1));
}
private function get_meat(_arg1:GameEvent){
var _local2:*;
if (Tray.request((_arg1.meatsort + 1))){
_local2 = 0;
while (_local2 < numChildren) {
if (getChildAt(_local2).name == _arg1.target.name){
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(2);
};
station[_arg1.target.i][2].removeEventListener(GameEvent.MEAT_REQUEST, meat_request);
station[_arg1.target.i][2].removeEventListener(GameEvent.GET_MEAT, get_meat);
station[_arg1.target.i][2] = 0;
removeChildAt(_local2);
moden--;
moden2--;
break;
};
_local2++;
};
};
if (moden2 == 0){
br3_Sound.stopEffect(br3_Sound.Sound_grill);
};
}
private function _onUnload(_arg1:Event){
trace("烤肉被卸载");
br3_Sound.stopEffect(br3_Sound.Sound_grill);
station = [[-6, 47, 0], [-14, 30, 0], [-14, 66, 0], [-23, 47, 0]];
gotoAndStop(1);
moden = 0;
bt1.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
public function set _mc1(_arg1){
if (!_arg1){
bt2.visible = false;
mc1.visible = false;
};
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:*;
if (MC_GameEngine.gameStart){
_local2 = _arg1.target.name.replace(/bt/, "");
Order.addOrder(target, this, _local2, 18);
};
}
public function request(_arg1:uint){
var _local2:*;
var _local3:*;
var _local4:*;
if (moden < 4){
br3_Sound.playEffect(br3_Sound.Sound_grill, 9999);
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(18);
};
moden++;
moden2++;
_local2 = 0;
while (_local2 < station.length) {
if (station[_local2][2] == 0){
_local3 = new mc_meat();
addChild(_local3);
station[_local2][2] = _local3;
_local3.y = station[_local2][0];
_local3.x = station[_local2][1];
_local3.id = _arg1;
if (_arg1 == 1){
_local3.img = 2;
} else {
_local3.img = 3;
};
_local3.i = _local2;
_local3.gotoAndStop(_arg1);
_local4 = ((numChildren - 1) - _local2);
setChildIndex(_local3, _local4);
_local3.addEventListener(GameEvent.MEAT_REQUEST, meat_request);
_local3.addEventListener(GameEvent.GET_MEAT, get_meat);
break;
};
_local2++;
};
};
}
public function move(){
}
}
}//package lib
Section 310
//MC_HighScore (lib.MC_HighScore)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_HighScore extends MovieClip {
public var loader:MovieClip;
public var bt2:SimpleButton;
public var bt1:SimpleButton;
public var bg:MovieClip;
public var _bt_1:MovieClip;
public var _bt_3:MovieClip;
public var _bt_4:MovieClip;
public var _bt_2:MovieClip;
private var bar_y0:Number;// = 100
private var bar_y1:Number;// = 338
private var loader_y0:Number;// = 84
public var bt_bar:SimpleButton;
private var loader_y1:Number;
private var mouse_y0;
private var brights:Bright;
public var hs0_0:MovieClip;
public var hs0_1:MovieClip;
public var hs0_3:MovieClip;
public var hs0_4:MovieClip;
public var hs0_6:MovieClip;
public var hs0_7:MovieClip;
public var hs0_8:MovieClip;
public var hs0_9:MovieClip;
public var hs0_5:MovieClip;
public var hs0_2:MovieClip;
private var station:Number;
private var bar_y:Number;
public var _maskss;
private var Challengebars:Challengebar;
public var bt_1:SimpleButton;
public var bt_2:SimpleButton;
public var bt_4:SimpleButton;
public var bt_3:SimpleButton;
private var gameEvent:GameEvent;
private var mouseDowned:Boolean;// = false
public function MC_HighScore(){
bar_y0 = 100;
bar_y1 = 338;
loader_y0 = 84;
mouseDowned = false;
super();
addFrameScript(0, frame1);
}
private function _challengeChoose(_arg1:GameEvent){
var _local2:*;
_local2 = new GameEvent(GameEvent.GOTO);
GameData.challengeID = _arg1.challengeid;
_local2._gotowhere = "mc_challengemoden";
dispatchEvent(_local2);
}
private function _onMouseOver(_arg1:MouseEvent){
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
function frame1(){
stop();
_maskss = new maskss();
addChild(_maskss);
_maskss.x = 673.9;
_maskss.y = 79.5;
loader.mask = _maskss;
}
private function _mouseMove(_arg1:MouseEvent){
var _local2:Number;
var _local3:*;
var _local4:Number;
if (mouseDowned){
_local2 = (mouseY - mouse_y0);
bt_bar.y = (bar_y + _local2);
if (bt_bar.y < bar_y0){
bt_bar.y = bar_y0;
};
if (bt_bar.y > bar_y1){
bt_bar.y = bar_y1;
};
_local3 = (((bt_bar.y - bar_y0) / (bar_y1 - bar_y0)) * 100);
_local4 = (loader_y1 - loader_y0);
loader.y = (loader_y0 + ((_local4 / 100) * _local3));
};
}
private function _onEnterFrame(_arg1:Event){
x = (x + ((station - x) * 0.6));
bg.x = (bg.x + ((((station * -1) - 12) - bg.x) * 0.6));
}
private function _mouseUp(_arg1:MouseEvent){
mouseDowned = false;
}
public function init(){
var _local1:*;
br3_Sound.playBgm(br3_Sound.Music_mainscreen);
bt_bar.y = bar_y0;
loader.y = loader_y0;
showpage();
bt_bar.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
stage.addEventListener(MouseEvent.MOUSE_MOVE, _mouseMove);
stage.addEventListener(MouseEvent.MOUSE_UP, _mouseUp);
brights = new Bright();
if (GameData.moden == GameData.STORYMODEN){
station = 0;
} else {
station = -600;
};
_local1 = 1;
while (_local1 < 5) {
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt_" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
bt2.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.addEventListener(Event.ENTER_FRAME, _onEnterFrame);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
showScore();
}
private function showpage(){
var _local1:int;
_local1 = 0;
_local1 = 0;
while (_local1 < 12) {
Challengebars = new Challengebar();
Challengebars.bt.visible = false;
loader.addChild(Challengebars);
Challengebars.y = (_local1 * 70);
if (GameData.so.data[("challenge" + _local1)].played){
Challengebars.gotoAndStop(2);
} else {
Challengebars.gotoAndStop(1);
};
Challengebars.id = _local1;
Challengebars.names.text = GameData[("challenge" + _local1)].names;
Challengebars.goal.text = GameData[("challenge" + _local1)].goal;
Challengebars.score.text = ("$ " + GameData.so.data[("challenge" + _local1)].score);
Challengebars.addEventListener(GameEvent.CHALLENGECHOOSE, _challengeChoose);
_local1++;
};
loader_y1 = (((loader.height - 290) - loader_y0) * -1);
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
}
private function _onUnload(_arg1:Event){
var _local2:*;
_local2 = 0;
while (_local2 < loader.numChildren) {
if ((loader.getChildAt(_local2) is Challengebar)){
loader.getChildAt(_local2).removeEventListener(GameEvent.CHALLENGECHOOSE, _challengeChoose);
};
_local2++;
};
bt_bar.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, _mouseMove);
stage.removeEventListener(MouseEvent.MOUSE_UP, _mouseUp);
this.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _mouseDown(_arg1:MouseEvent){
mouse_y0 = mouseY;
bar_y = bt_bar.y;
mouseDowned = true;
}
private function showScore(){
var _local1:*;
_local1 = 0;
while (_local1 < 10) {
this[("hs0_" + _local1)].gotoAndStop(1);
this[("hs0_" + _local1)].names.text = GameData.so.data.highScore[_local1][0];
this[("hs0_" + _local1)].scores.text = GameData.so.data.highScore[_local1][1];
this[("hs0_" + _local1)].num.text = (_local1 + 1);
_local1++;
};
if (GameData.h_score < 10){
trace("加入了新的高分");
this[("hs0_" + GameData.h_score)].gotoAndStop(2);
this[("hs0_" + GameData.h_score)].names.textColor = 7548710;
this[("hs0_" + GameData.h_score)].scores.textColor = 7548710;
this[("hs0_" + GameData.h_score)].num.textColor = 7548710;
};
}
private function _onClick(_arg1:MouseEvent){
var _local2:String;
_local2 = _arg1.target.name;
switch (_local2){
case "bt_1":
case "bt_2":
gameEvent = new GameEvent(GameEvent.GOTO);
gameEvent._gotowhere = "mc_intro";
dispatchEvent(gameEvent);
break;
case "bt_3":
case "bt_4":
MovieClip(root).onCLick7();
break;
case "bt1":
station = -600;
break;
case "bt2":
station = 0;
break;
default:
break;
};
}
}
}//package lib
Section 311
//MC_Ice (lib.MC_Ice)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Ice extends MovieClip {
public var masks:MovieClip;
private var foodSort:uint;// = 1
public var bt0:SimpleButton;
protected var moden:uint;
public var bt1:SimpleButton;
public var bt2:SimpleButton;
public var bt3:SimpleButton;
public var _speed:Number;
private var frame:int;
public var target:Object;
public var types:uint;
public var body:MovieClip;
public var select1:MovieClip;
public var select3:MovieClip;
public var select0:MovieClip;
public var select2:MovieClip;
public function MC_Ice(){
foodSort = 1;
super();
moden = 0;
select0.visible = false;
select1.visible = false;
select2.visible = false;
select3.visible = false;
bt0.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt3.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onUnload(_arg1:Event){
gotoAndStop(1);
moden = 0;
bt0.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt1.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt3.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:int;
if (MC_GameEngine.gameStart){
_local2 = int(_arg1.target.name.replace(/bt/, ""));
if (_local2 != 0){
Order.addOrder(target, this, _local2, (_local2 + 40));
} else {
Order.addOrder(target, this, _local2, 45);
};
};
}
public function set speed(_arg1){
trace("冰激淋的新速度", _arg1);
if (_arg1 == 1){
_speed = 0.3;
} else {
if (_arg1 == 2){
_speed = 0.9;
} else {
_speed = 1.5;
};
};
body.gotoAndStop(_arg1);
}
public function request(_arg1:uint){
if ((((moden == 0)) && (!((_arg1 == 0))))){
foodSort = (40 + _arg1);
types = _arg1;
frame = 0;
moden = 1;
gotoAndStop("make");
};
if ((((moden == 2)) && ((_arg1 == 0)))){
if (Tray.request(foodSort)){
moden = 0;
gotoAndStop(1);
};
};
}
public function move(){
if (moden == 1){
masks.y = (masks.y - _speed);
if (masks.y < -29){
moden = 2;
gotoAndStop("end");
};
};
}
}
}//package lib
Section 312
//MC_Intro (lib.MC_Intro)
package lib {
import flash.net.*;
import flash.events.*;
import flash.display.*;
public class MC_Intro extends MovieClip {
public var _bt_quest:MovieClip;
public var bt_im:SimpleButton;
private var buyList:Array;
public var _bt_1:MovieClip;
public var _bt_3:MovieClip;
public var _bt_4:MovieClip;
public var _bt_5:MovieClip;
public var _bt_6:MovieClip;
public var _bt_7:MovieClip;
public var _bt_2:MovieClip;
public var bt_soundBgm:SimpleButton;
public var website:SimpleButton;
public var buy_bt:SimpleButton;
public var bt_quest:SimpleButton;
private var brights:Bright;
public var _bt_soundBgm:MovieClip;
public var gameportal:SimpleButton;
public var bt_plan:SimpleButton;
public var bt_soundEffect:SimpleButton;
public var _bt_im:MovieClip;
public var _bt_soundEffect:MovieClip;
public var _website:MovieClip;
private var planList:Array;
public var bt_1:SimpleButton;
public var bt_2:SimpleButton;
public var bt_4:SimpleButton;
public var bt_6:SimpleButton;
public var bt_7:SimpleButton;
public var bt_5:SimpleButton;
public var bt_3:SimpleButton;
public var buy_bt_2:MovieClip;
public var _bt_plan:MovieClip;
private var gameEvent:GameEvent;
public var _buy_bt:MovieClip;
public static var quest:int = 1;
public function MC_Intro(){
planList = [];
buyList = [];
super();
addFrameScript(0, frame1, 6, frame7);
planList[0] = "";
planList[1] = "http://www.planusa.org/";
planList[2] = "http://www.plan-international.org/wherewework/asia/china/";
planList[3] = "http://www.plannederland.nl/content/biaag/aanbod_steuneenplan_index.jsp?lees=aanbod_waarom";
planList[4] = "http://www.planfrance.org/";
planList[5] = "http://www.plan-deutschland.de/";
planList[6] = "http://www.plan-international.org/about/";
planList[7] = "http://www.plansverige.org/";
planList[8] = "http://www.plan-international.org/about/";
planList[9] = "http://www.plan-espana.org/";
planList[10] = "http://www.plan-international.org/about/";
planList[11] = "http://www.plan-international.org/wherewework/americas/brazil/";
planList[12] = "http://www.plan-international.org/about/";
planList[13] = "http://www.plan-international.org/wherewework/asia/indonesia/";
planList[14] = "";
planList[15] = "";
planList[16] = "http://www.plan-international.org/about/";
planList[17] = "http://www.plan-japan.org/home/";
buyList[0] = "";
buyList[1] = "http://planshop.org.uk/imagirl.php";
buyList[2] = "http://planshop.org.uk/imagirl.php";
buyList[3] = "http://www.watmooi.nl/shop/plan.php?cID=88&utm_source=spilv2&utm_medium=spilgames&utm_campaign=biaag_nj08&osCsid=1d9554bd19a80581d5dfbf46e34788e0";
buyList[4] = "http://planshop.org.uk/imagirl.php";
buyList[5] = "http://planshop.org.uk/imagirl.php";
buyList[6] = "http://planshop.org.uk/imagirl.php";
buyList[7] = "http://planshop.org.uk/imagirl.php";
buyList[8] = "http://planshop.org.uk/imagirl.php";
buyList[9] = "http://planshop.org.uk/imagirl.php";
buyList[10] = "http://planshop.org.uk/imagirl.php";
buyList[11] = "http://planshop.org.uk/imagirl.php";
buyList[12] = "http://planshop.org.uk/imagirl.php";
buyList[13] = "http://planshop.org.uk/imagirl.php";
buyList[14] = "http://planshop.org.uk/imagirl.php";
buyList[15] = "http://planshop.org.uk/imagirl.php";
buyList[16] = "http://planshop.org.uk/imagirl.php";
buyList[17] = "http://planshop.org.uk/imagirl.php";
}
private function _onMouseOver(_arg1:MouseEvent){
br3_Sound.playEffect(br3_Sound.Sound_mouseover, 1);
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
function frame7(){
init2();
}
function frame1(){
init1();
}
public function init(){
br3_Sound.playBgm(br3_Sound.Music_mainscreen);
brights = new Bright();
}
protected function init2(){
var _local1:*;
_local1 = 5;
while (_local1 < 8) {
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt_" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
stop();
}
private function _onMouseOut(_arg1:MouseEvent){
var evt = _arg1;
try {
brights.setBrightness(0, 1, this[("_" + evt.target.name)]);
} catch(err) {
trace("intro画面按钮设置报错");
};
}
protected function init1(){
var _local1:*;
if (language.language_nr != 2){
bt_plan.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt_plan.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt_plan.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
buy_bt.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
buy_bt.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
buy_bt.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
bt_im.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt_im.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt_im.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
website.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
website.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
website.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
} else {
bt_plan.visible = false;
buy_bt.visible = false;
bt_im.visible = false;
website.visible = false;
_bt_plan.visible = false;
_buy_bt.visible = false;
_bt_im.visible = false;
_website.visible = false;
buy_bt_2.visible = false;
};
_bt_soundBgm.gotoAndStop(br3_Sound.soundBgm_vol);
bt_soundBgm.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt_soundBgm.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt_soundBgm.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_bt_soundEffect.gotoAndStop(br3_Sound.soundEffect_vol);
bt_soundEffect.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt_soundEffect.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt_soundEffect.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_bt_quest.gotoAndStop(quest);
bt_quest.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt_quest.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt_quest.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
if (language.language_nr != 2){
gameportal.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
} else {
gameportal.visible = false;
};
_local1 = 1;
while (_local1 < 5) {
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt_" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
stop();
}
private function _onClick(_arg1:MouseEvent){
var _local2:String;
var _local3:*;
var _local4:URLRequest;
var _local5:*;
var _local6:URLRequest;
var _local7:*;
var _local8:URLRequest;
var _local9:*;
var _local10:URLRequest;
var _local11:*;
var _local12:URLRequest;
var _local13:URLRequest;
br3_Sound.playEffect(br3_Sound.Sound_mousedown, 1);
_local2 = _arg1.target.name;
switch (_local2){
case "bt_1":
gotoAndPlay("choose");
break;
case "bt_2":
GameData.moden = GameData.DEMOMODEN;
gameEvent = new GameEvent(GameEvent.GOTO);
gameEvent._gotowhere = "mc_demo";
dispatchEvent(gameEvent);
break;
case "bt_3":
if (Number(language.language_nr) != 2){
gameEvent = new GameEvent(GameEvent.GOTO);
gameEvent._gotowhere = "mc_highscore";
dispatchEvent(gameEvent);
} else {
_local13 = new URLRequest(("http://user.game.com.cn/game/?action=highscore&id=" + Random.gameID));
navigateToURL(_local13, "_blank");
};
break;
case "bt_plan":
trace("language.language_nr", language.language_nr);
_local3 = planList[language.language_nr];
_local4 = new URLRequest(_local3);
navigateToURL(_local4, "_blank");
break;
case "bt_4":
MovieClip(root).onCLick4();
break;
case "bt_5":
GameData.moden = GameData.STORYMODEN;
gameEvent = new GameEvent(GameEvent.GOTO);
gameEvent._gotowhere = "mc_levelmap";
dispatchEvent(gameEvent);
break;
case "bt_6":
GameData.moden = GameData.CHALLENGEMODEN;
gameEvent = new GameEvent(GameEvent.GOTO);
gameEvent._gotowhere = "mc_challengechoose";
dispatchEvent(gameEvent);
break;
case "bt_7":
gotoAndStop(1);
break;
case "buy_bt":
_local5 = buyList[language.language_nr];
_local6 = new URLRequest(_local5);
navigateToURL(_local6, "_blank");
break;
case "bt_im":
_local7 = planList[language.language_nr];
_local8 = new URLRequest(_local7);
navigateToURL(_local8, "_blank");
break;
case "website":
_local9 = "http://www.plannederland.nl/content/biaag/index.jsp";
_local10 = new URLRequest(_local9);
navigateToURL(_local10, "_blank");
break;
case "gameportal":
_local11 = "http://www.gameportal.net/";
_local12 = new URLRequest(_local11);
navigateToURL(_local12, "_blank");
break;
case "bt_soundEffect":
_bt_soundEffect.gotoAndStop(br3_Sound.setSoundEffectVol());
break;
case "bt_soundBgm":
_bt_soundBgm.gotoAndStop(br3_Sound.setSoundBgmVol());
break;
case "bt_quest":
quest++;
if (quest > 3){
quest = 1;
};
switch (quest){
case 1:
stage.quality = StageQuality.HIGH;
break;
case 2:
stage.quality = StageQuality.MEDIUM;
break;
case 3:
stage.quality = StageQuality.LOW;
break;
default:
break;
};
_bt_quest.gotoAndStop(quest);
break;
default:
break;
};
}
}
}//package lib
Section 313
//MC_levelfail (lib.MC_levelfail)
package lib {
import flash.display.*;
public class MC_levelfail extends MovieClip {
public function MC_levelfail(){
br3_Sound.playBgm(br3_Sound.Music_failed);
}
}
}//package lib
Section 314
//MC_LevelMap (lib.MC_LevelMap)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class MC_LevelMap extends MovieClip {
public var i5:MovieClip;
public var j3:MovieClip;
public var j5:MovieClip;
public var i4:MovieClip;
public var j1:MovieClip;
public var j2:MovieClip;
public var j4:MovieClip;
public var c1:MovieClip;
public var c3:MovieClip;
public var c4:MovieClip;
public var c5:MovieClip;
public var c2:MovieClip;
public var score_txt:TextField;
public var d4:MovieClip;
public var d2:MovieClip;
public var _bt_1:MovieClip;
public var d5:MovieClip;
public var d3:MovieClip;
public var _bt_2:MovieClip;
public var bt_1:SimpleButton;
public var w4:MovieClip;
public var d1:MovieClip;
public var w1:MovieClip;
public var w2:MovieClip;
public var w3:MovieClip;
public var w5:MovieClip;
public var bt_2:SimpleButton;
private var gameEvent:GameEvent;
public var i1:MovieClip;
public var i2:MovieClip;
public var i3:MovieClip;
public static var scene:uint;
private function _onMouseOut(_arg1:MouseEvent){
this[("_" + _arg1.target.name)].gotoAndStop(1);
}
public function init(){
var _local1:*;
br3_Sound.playBgm(br3_Sound.Music_map);
trace("LevelMap初始化");
_local1 = 1;
while (_local1 < 3) {
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt_" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
score_txt.text = String(GameData.score);
_local1 = 0;
while (_local1 < 25) {
this[GameData.level[_local1].name].gotoAndStop(1);
_local1++;
};
_local1 = 0;
while (_local1 < (GameData.levelNum + 1)) {
if (_local1 == GameData.levelNum){
this[GameData.level[_local1].name].gotoAndStop(3);
} else {
this[GameData.level[_local1].name].gotoAndStop(2);
};
if (_local1 == GameData.levelNum){
scene = GameData.level[_local1].scene;
};
_local1++;
};
stop();
}
private function _onClick(_arg1:MouseEvent){
var _local2:String;
br3_Sound.playEffect(br3_Sound.Sound_mousedown, 1);
_local2 = _arg1.target.name;
switch (_local2){
case "bt_1":
gameEvent = new GameEvent(GameEvent.GOTO);
gameEvent._gotowhere = "mc_intro";
dispatchEvent(gameEvent);
break;
case "bt_2":
gameEvent = new GameEvent(GameEvent.GOTO);
gameEvent._gotowhere = "mc_storymoden";
dispatchEvent(gameEvent);
break;
default:
break;
};
}
private function _onMouseOver(_arg1:MouseEvent){
br3_Sound.playEffect(br3_Sound.Sound_mouseover, 1);
this[("_" + _arg1.target.name)].gotoAndStop(2);
}
}
}//package lib
Section 315
//MC_Meat (lib.MC_Meat)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Meat extends MovieClip {
public var id;
private var moden:int;
private var f;
public var bt:SimpleButton;
public var mc:MovieClip;
public var select1:MovieClip;
public var fog:MovieClip;
public var img:int;
public function MC_Meat(){
f = 0;
moden = 1;
fog.gotoAndStop(moden);
select1.visible = false;
bt.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.addEventListener(Event.ENTER_FRAME, _onEnterFrame);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onUnload(_arg1:Event){
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:GameEvent;
if (MC_GameEngine.gameStart){
_local2 = new GameEvent(GameEvent.MEAT_REQUEST);
dispatchEvent(_local2);
};
}
private function _onEnterFrame(_arg1:Event){
if (MC_GameEngine.gameStart){
f++;
};
if ((((f > (30 * 5))) && ((moden == 1)))){
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(2);
};
moden = 2;
mc.gotoAndStop(moden);
};
if ((((((f > (30 * 25))) && ((moden == 2)))) && (!((GameData.moden == GameData.DEMOMODEN))))){
moden = 3;
mc.gotoAndStop(moden);
fog.gotoAndStop(moden);
this.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
};
}
public function request(_arg1:uint){
var _local2:GameEvent;
if (moden > 1){
_local2 = new GameEvent(GameEvent.GET_MEAT);
if (moden > 2){
_local2.meatsort = (id + 10);
} else {
_local2.meatsort = id;
};
dispatchEvent(_local2);
};
}
}
}//package lib
Section 316
//MC_Milk (lib.MC_Milk)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Milk extends MovieClip {
public var water:MovieClip;
private var foodSort:uint;// = 1
public var bt0:SimpleButton;
protected var moden:uint;
public var bt3:SimpleButton;
public var bt2:SimpleButton;
public var _speed:int;
public var bt1:SimpleButton;
private var max:Number;
private var frame:int;
public var target:Object;
public var types:uint;
public var body:MovieClip;
public var select1:MovieClip;
public var select3:MovieClip;
public var select0:MovieClip;
public var select2:MovieClip;
public function MC_Milk(){
foodSort = 1;
super();
moden = 0;
select0.visible = false;
select1.visible = false;
select2.visible = false;
select3.visible = false;
bt0.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt3.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onUnload(_arg1:Event){
gotoAndStop(1);
moden = 0;
bt0.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt1.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt3.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:int;
if (MC_GameEngine.gameStart){
_local2 = int(_arg1.target.name.replace(/bt/, ""));
if (_local2 != 0){
Order.addOrder(target, this, _local2, (_local2 + 30));
} else {
Order.addOrder(target, this, _local2, 35);
};
};
}
public function set speed(_arg1){
_speed = _arg1;
if (_arg1 == 1){
max = 0.2;
} else {
if (_arg1 == 2){
max = 0.6;
} else {
if (_arg1 == 3){
max = 1;
};
};
};
body.gotoAndStop(_speed);
}
public function request(_arg1:uint){
if ((((moden == 0)) && (!((_arg1 == 0))))){
br3_Sound.playEffect(br3_Sound.Sound_drink, 1);
types = _arg1;
foodSort = (30 + _arg1);
frame = 0;
moden = 1;
water.gotoAndStop(types);
gotoAndStop("make");
};
if ((((moden == 2)) && ((_arg1 == 0)))){
if (Tray.request(foodSort)){
moden = 0;
gotoAndStop(1);
};
};
}
protected function ready(){
water.y = -10.7;
water.gotoAndStop(types);
}
public function move(){
frame++;
if (moden == 1){
water.y = (water.y - max);
if (water.y < -27){
br3_Sound.stopEffect(br3_Sound.Sound_drink);
gotoAndStop("end");
moden = 2;
};
};
}
}
}//package lib
Section 317
//MC_Special (lib.MC_Special)
package lib {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class MC_Special extends MovieClip {
public var id:uint;
public var moden;
public var india_s1;
public var bt1:SimpleButton;
public var bt2:SimpleButton;
public var india_s2:int;
public var i;
private var foging:Boolean;// = false
public var j;
public var target:Object;
public var select1:MovieClip;
public var select2:MovieClip;
public var fog:MovieClip;
public var tandoor:MovieClip;
private var sort:uint;
public function MC_Special(){
foging = false;
super();
if (GameData.moden == GameData.STORYMODEN){
sort = MC_GameEngine.scene;
} else {
sort = GameData[("challenge" + GameData.challengeID)].scene;
};
trace("special", sort);
changeTo();
moden = 1;
}
private function baoziEnd(){
foging = false;
moden++;
gotoAndStop((((sort - 1) * 10) + moden));
}
public function changeTo(){
foging = false;
gotoAndStop((((sort - 1) * 10) + 1));
if (sort == 5){
india_s1 = 0;
india_s2 = 0;
tandoor.gotoAndStop(1);
};
}
public function _mouseDown(_arg1:MouseEvent){
var _local2:int;
if (MC_GameEngine.gameStart){
_local2 = int(_arg1.target.name.replace(/bt/, ""));
trace("++++特色菜: ", sort);
Order.addOrder(target, this, _local2, (((sort + 4) * 10) + 1));
};
}
private function indiaEnd(){
trace("indiaEnd");
tandoor.gotoAndStop(3);
india_s2 = 2;
}
public function request(_arg1:uint){
var _local2:*;
if (sort == 5){
if (this[("india_s" + _arg1)] == 0){
if (_arg1 == 1){
this[("india_s" + _arg1)] = 1;
fog.play();
} else {
if ((((Tray.list.length == 1)) && ((Tray.list[0] == 92)))){
this[("india_s" + _arg1)] = 1;
Tray.clear();
tandoor.gotoAndStop(2);
_local2 = setTimeout(indiaEnd, 3000);
};
};
};
if (this[("india_s" + _arg1)] == 2){
if (_arg1 == 1){
if (Tray.request(92)){
this[("india_s" + _arg1)] = 0;
fog.gotoAndStop(1);
};
} else {
if (Tray.request(91)){
this[("india_s" + _arg1)] = 0;
tandoor.gotoAndStop(1);
};
};
};
};
if ((((((moden == 1)) && ((sort == 1)))) && (!(foging)))){
fog.play();
moden = 2;
gotoAndStop((((sort - 1) * 10) + moden));
foging = true;
_arg1 = setTimeout(baoziEnd, 700);
};
if ((((((moden == 3)) && ((sort == 1)))) && (!(foging)))){
moden = 4;
gotoAndStop((((sort - 1) * 10) + moden));
foging = true;
_arg1 = setTimeout(baoziEnd, 700);
};
if ((((moden == 5)) && ((sort == 1)))){
if (Tray.request(51)){
moden = 1;
gotoAndStop((((sort - 1) * 10) + moden));
};
};
if (sort == 2){
if (_arg1 == 1){
Tray.request(62);
};
if ((((_arg1 == 2)) && ((moden == 1)))){
if ((((Tray.list[0] == 62)) && (!(foging)))){
foging = true;
fog.play();
_arg1 = setTimeout(baoziEnd, 700);
Tray.clear();
};
};
if ((((_arg1 == 2)) && ((moden == 2)))){
if (Tray.request(64)){
moden = 1;
gotoAndStop((((sort - 1) * 10) + moden));
};
};
};
if (sort == 3){
if (_arg1 == 1){
Tray.request(72);
};
if ((((_arg1 == 2)) && ((moden == 1)))){
if ((((Tray.list[0] == 72)) && (!(foging)))){
foging = true;
fog.play();
_arg1 = setTimeout(baoziEnd, 700);
Tray.clear();
};
};
if ((((_arg1 == 2)) && ((moden == 2)))){
if (Tray.request(71)){
moden = 1;
gotoAndStop((((sort - 1) * 10) + moden));
};
};
};
if ((((_arg1 == 1)) && ((sort == 4)))){
Tray.request(82);
};
if ((((((_arg1 == 2)) && ((sort == 4)))) && ((moden == 1)))){
if ((((Tray.list[0] == 82)) && (!(foging)))){
foging = true;
fog.play();
_arg1 = setTimeout(baoziEnd, 700);
};
};
if ((((((_arg1 == 2)) && ((sort == 4)))) && ((moden == 2)))){
if (Tray.list[0] == 82){
moden = 1;
gotoAndStop((((sort - 1) * 10) + moden));
Tray.list[0] = 83;
Tray.show();
};
};
}
}
}//package lib
Section 318
//MC_STORYMODEN (lib.MC_STORYMODEN)
package lib {
public class MC_STORYMODEN extends MC_GameEngine {
override public function init(){
trace("故事模式开始 T恤:", GameData.shirt);
gameStart = false;
scene = MC_LevelMap.scene;
moden = 1;
score = 0;
timeOut = false;
buildMap();
}
}
}//package lib
Section 319
//MC_Table (lib.MC_Table)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Table extends MovieClip {
public var loader:MovieClip;
public var id:uint;
public var moden;
public var i;
public var j;
public var bt:SimpleButton;
public var target:Object;
private var list:Array;
public var select1:MovieClip;
public function MC_Table(){
list = [];
select1.visible = false;
bt.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onUnload(_arg1:Event){
list = [];
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
public function _mouseDown(_arg1:MouseEvent){
if (MC_GameEngine.gameStart){
Order.addOrder(target, this, 1, 19);
};
}
private function clear(){
var _local1:*;
var _local2:int;
_local1 = getChildByName("loader");
if (_local1.numChildren > 0){
_local2 = (_local1.numChildren - 1);
while (_local2 > -1) {
if ((_local1.getChildAt(_local2) is mc_food)){
_local1.removeChildAt(_local2);
};
_local2--;
};
};
}
public function request(_arg1:uint){
var _local2:int;
if ((((list.length >= 0)) && ((Tray.list.length > 0)))){
_local2 = 0;
if (Tray.request_max(list)){
_local2 = 0;
while (_local2 < Tray.list.length) {
list.push(Tray.list[_local2]);
_local2++;
};
list.sort(16);
Tray.clear();
clear();
show();
};
} else {
if ((((list.length > 0)) && ((Tray.list.length == 0)))){
_local2 = 0;
while (_local2 < list.length) {
Tray.list.push(list[_local2]);
Tray.show();
_local2++;
};
list = [];
clear();
};
};
}
private function show(){
var _local1:*;
var _local2:int;
var _local3:Boolean;
var _local4:*;
var _local5:*;
var _local6:*;
_local1 = getChildByName("loader");
_local2 = 0;
while (_local2 < list.length) {
_local4 = new mc_food();
_local1.addChild(_local4);
_local4.y = (_local2 * -4);
_local4.gotoAndStop(list[_local2]);
_local2++;
};
if (list[0] == 1){
_local5 = new mc_food();
_local1.addChild(_local5);
_local5.y = (list.length * -4);
_local5.gotoAndStop(11);
};
_local3 = false;
_local2 = 0;
while (_local2 < list.length) {
if ((((list[_local2] == 12)) || ((list[_local2] == 13)))){
_local3 = true;
break;
};
_local2++;
};
if (_local3){
_local6 = new mc_food();
_local1.addChild(_local6);
_local6.y = ((Tray.list.length + 1) * -4);
_local6.gotoAndStop(14);
};
}
}
}//package lib
Section 320
//MC_Table_Center (lib.MC_Table_Center)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Table_Center extends MovieClip {
public var loader:MovieClip;
public var bt0:SimpleButton;
public var bt4:SimpleButton;
public var moden:uint;
public var bt1:SimpleButton;
public var bt3:SimpleButton;
private var _loader:MovieClip;
public var bt2:SimpleButton;
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc2:MovieClip;
public var mc0:MovieClip;
public var mc4:MovieClip;
private var n:uint;
public var target:Object;
private var list:Array;
public var select1:MovieClip;
public var select3:MovieClip;
private var brights:Bright;
public var select2:MovieClip;
public var fog:MovieClip;
public var select0:MovieClip;
public var select4:MovieClip;
public function MC_Table_Center(){
brights = new Bright();
}
private function _onMouseOut(_arg1:MouseEvent){
var _local2:String;
var _local3:*;
var _local4:*;
_local2 = _arg1.target.name;
_local3 = new RegExp(/bt/);
_local4 = _local2.replace(_local3, "");
brights.setBrightness(0, 1, this[("mc" + _local4)]);
}
public function init(_arg1:int){
var _local2:*;
list = [];
this.n = _arg1;
moden = 0;
_local2 = 0;
while (_local2 < _arg1) {
this[("select" + _local2)].visible = false;
this[("bt" + _local2)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt" + _local2)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this[("mc" + _local2)].gotoAndStop(1);
_local2++;
};
if (_arg1 == 5){
fog.gotoAndStop(1);
};
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
public function shows(){
var _local1:*;
var _local2:int;
var _local3:Boolean;
var _local4:*;
var _local5:*;
var _local6:*;
_local1 = getChildByName("loader");
_local2 = 0;
while (_local2 < list.length) {
_local4 = new mc_food();
_local1.addChild(_local4);
_local4.y = (_local2 * -4);
_local4.gotoAndStop(list[_local2]);
_local2++;
};
if (list[0] == 1){
_local5 = new mc_food();
_local1.addChild(_local5);
_local5.y = (list.length * -4);
_local5.gotoAndStop(11);
};
_local3 = false;
_local2 = 0;
while (_local2 < list.length) {
if ((((list[_local2] == 12)) || ((list[_local2] == 13)))){
_local3 = true;
break;
};
_local2++;
};
if (_local3){
_local6 = new mc_food();
_local1.addChild(_local6);
_local6.y = ((Tray.list.length + 1) * -4);
_local6.gotoAndStop(14);
};
}
private function _onUnload(_arg1:Event){
var _local2:*;
gotoAndStop(1);
moden = 0;
_local2 = 0;
while (_local2 < n) {
this[("bt" + _local2)].removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt" + _local2)].removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt" + _local2)].removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
_local2++;
};
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOver(_arg1:MouseEvent){
var _local2:String;
var _local3:*;
var _local4:*;
_local2 = _arg1.target.name;
_local3 = new RegExp(/bt/);
_local4 = _local2.replace(_local3, "");
brights.setBrightness(60, 0.8, this[("mc" + _local4)]);
}
public function set _mc4(_arg1){
this["mc4"].visible = _arg1;
this["bt4"].visible = _arg1;
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:int;
if (MC_GameEngine.gameStart){
_local2 = int(_arg1.target.name.replace(/bt/, ""));
if (_local2 != 0){
if (n == 4){
Order.addOrder(target, this, _local2, (_local2 + 7));
} else {
Order.addOrder(target, this, _local2, (_local2 + 3));
};
} else {
Order.addOrder(target, this, _local2, 19);
};
};
}
public function set _mc2(_arg1){
this["mc2"].visible = _arg1;
this["bt2"].visible = _arg1;
}
public function set _mc3(_arg1){
this["mc3"].visible = _arg1;
this["bt3"].visible = _arg1;
}
private function clear(){
var _local1:*;
var _local2:int;
_local1 = getChildByName("loader");
if (_local1.numChildren > 0){
_local2 = (_local1.numChildren - 1);
while (_local2 > -1) {
if ((_local1.getChildAt(_local2) is mc_food)){
_local1.removeChildAt(_local2);
};
_local2--;
};
};
}
public function request(_arg1:uint){
var _local2:int;
var _local3:Boolean;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
if ((((((list.length >= 0)) && ((Tray.list.length > 0)))) || ((_arg1 > 0)))){
if (moden != 1){
_local2 = 0;
if (Tray.request_max(list)){
_local2 = 0;
while (_local2 < Tray.list.length) {
list.push(Tray.list[_local2]);
_local2++;
};
list.sort(16);
Tray.clear();
clear();
shows();
};
if ((((_arg1 > 0)) && ((moden == 0)))){
_local3 = false;
_local4 = 0;
_local5 = 0;
_local6 = 0;
_local2 = 0;
while (_local2 < list.length) {
if (list[_local2] == 1){
_local4++;
};
if ((((((((list[_local2] == 2)) || ((list[_local2] == 3)))) || ((list[_local2] == 12)))) || ((list[_local2] == 13)))){
_local5++;
};
if ((((list[_local2] > 3)) && ((list[_local2] < 11)))){
_local6++;
};
_local2++;
};
if ((((((_local4 == 1)) && ((_local5 == 1)))) && ((_local6 <= 1)))){
_local3 = true;
};
if (_local3){
if (GameData.moden == GameData.DEMOMODEN){
DemoIntro.request(8);
};
this[("mc" + _arg1)].gotoAndPlay(2);
if (n == 5){
fog.play();
};
moden = 1;
if (n == 5){
list.push((3 + _arg1));
} else {
list.push((7 + _arg1));
};
};
_local7 = 0;
if (n == 5){
_local7 = (3 + _arg1);
} else {
_local7 = (7 + _arg1);
};
if ((((list[0] == 64)) && ((_local7 == 4)))){
this[("mc" + _arg1)].play();
if (n == 5){
fog.play();
};
moden = 1;
list = [61];
};
if ((((list[0] == 83)) && ((_local7 == 10)))){
this[("mc" + _arg1)].play();
if (n == 5){
fog.play();
};
moden = 1;
list = [81];
};
};
};
} else {
if ((((((list.length > 0)) && ((Tray.list.length == 0)))) && ((moden == 0)))){
_local2 = 0;
while (_local2 < list.length) {
Tray.list.push(list[_local2]);
Tray.show();
_local2++;
};
list = [];
clear();
};
};
}
public function move(){
}
}
}//package lib
Section 321
//MC_Trash (lib.MC_Trash)
package lib {
import flash.events.*;
import flash.display.*;
public class MC_Trash extends MovieClip {
public var bt0:SimpleButton;
public var moden:uint;
private var n:uint;
public var target:Object;
private var brights:Bright;
public var select0:MovieClip;
public function MC_Trash(){
brights = new Bright();
this.n = n;
moden = 0;
select0.visible = false;
bt0.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt0.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt0.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this);
}
private function _onUnload(_arg1:Event){
gotoAndStop(1);
moden = 0;
bt0.removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt0.removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt0.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOver(_arg1:MouseEvent){
brights.setBrightness(60, 0.8, this);
}
private function _mouseDown(_arg1:MouseEvent){
brights.setBrightness(0, 1, this);
if (MC_GameEngine.gameStart){
Order.addOrder(target, this, 0, 23);
};
}
public function request(_arg1:uint){
var _local2:*;
if (moden == 0){
if (Tray.list.length > 0){
br3_Sound.playEffect(br3_Sound.Sound_bin, 1);
if ((((GameData.moden == GameData.CHALLENGEMODEN)) && ((GameData.challengeID == 10)))){
_local2 = new GameEvent(GameEvent.CHALLENGELOSE);
dispatchEvent(_local2);
};
MC_GameEngine.score = (MC_GameEngine.score - 50);
if (MC_GameEngine.score < 0){
MC_GameEngine.score = 0;
};
if (GameData.moden == GameData.CHALLENGEMODEN){
GameData.money = (GameData.money - 50);
if (GameData.money < 0){
GameData.money = 0;
};
};
play();
moden = 1;
Tray.list = [];
Char_Dish.showFood();
};
};
}
public function move(){
}
}
}//package lib
Section 322
//MC_UI (lib.MC_UI)
package lib {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class MC_UI extends MovieClip {
public var close:MovieClip;
public var bt_soundEffect:SimpleButton;
public var _bt_soundEffect:MovieClip;
private var moden:uint;
private var timeOut:Boolean;
private var winorlose:Boolean;
private var _tatolTime;
private var f;
public var j:uint;
public var i;
public var hand:MovieClip;
public var _bt_pause:MovieClip;
public var _bt_shop:MovieClip;
public var score:int;
public var _logo_level:MovieClip;
public var bt_soundBgm:SimpleButton;
public var tatolTime:Number;
private var brights:Bright;
public var score_text:TextField;
public var day:TextField;
public var bt_pause:SimpleButton;
public var bt_shop:SimpleButton;
public var _bt_soundBgm:MovieClip;
public var score_target:TextField;
public var pause:MovieClip;
public var logo_level:SimpleButton;
public function MC_UI(){
logo_level.addEventListener(MouseEvent.MOUSE_DOWN, onCLick5);
logo_level.addEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
logo_level.addEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
pause.visible = false;
winorlose = false;
brights = new Bright();
timeOut = false;
score = 0;
f = 0;
_tatolTime = 0;
trace("UI1");
changeTo();
trace("UI2");
if (((!((GameData.moden == GameData.STORYMODEN))) && (!((GameData.moden == GameData.DEMOMODEN))))){
bt_shop.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt_shop.addEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
bt_shop.addEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
};
trace("UI3");
bt_pause.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt_pause.addEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
bt_pause.addEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
_bt_soundBgm.gotoAndStop(br3_Sound.soundBgm_vol);
bt_soundBgm.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt_soundBgm.addEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
bt_soundBgm.addEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
_bt_soundEffect.gotoAndStop(br3_Sound.soundEffect_vol);
bt_soundEffect.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt_soundEffect.addEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
bt_soundEffect.addEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
trace("UI4");
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
}
private function _onUnload(_arg1:Event){
var evt = _arg1;
if (moden == 3){
try {
bt_shop.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt_shop.removeEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
bt_shop.removeEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
} catch(err) {
trace("MC_UI卸载 bt_shop出错", err);
};
};
logo_level.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
logo_level.removeEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
logo_level.removeEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
bt_pause.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt_pause.removeEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
bt_pause.removeEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
bt_soundEffect.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt_soundEffect.removeEventListener(MouseEvent.MOUSE_OVER, _onMouseOver);
bt_soundEffect.removeEventListener(MouseEvent.MOUSE_OUT, _onMouseOut);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOver(_arg1:MouseEvent){
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
public function onCLick5(_arg1:MouseEvent){
var _local2:URLRequest;
if (language.language_nr == 2){
_local2 = new URLRequest(language.url1);
} else {
_local2 = new URLRequest((language.url1 + "&utm_term=logo_level"));
};
navigateToURL(_local2, "_blank");
}
public function changeTo(){
if (GameData.moden == GameData.STORYMODEN){
moden = 1;
} else {
moden = 2;
};
if (GameData.moden != GameData.STORYMODEN){
switch (GameData.challengeID){
case 3:
case 4:
case 6:
case 10:
moden = 3;
break;
default:
break;
};
};
if (GameData.moden == GameData.DEMOMODEN){
moden = 4;
};
gotoAndStop(moden);
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:GameEvent;
if (_arg1.target.name == "timeover"){
_tatolTime = tatolTime;
};
if (_arg1.target.name == "logo_level"){
};
if (_arg1.target.name == "bt_shop"){
MC_GameEngine.gameStart = false;
_local2 = new GameEvent(GameEvent.SHOPSHOW);
dispatchEvent(_local2);
};
if (_arg1.target.name == "bt_pause"){
pause.visible = true;
MC_GameEngine.gameStart = false;
};
if (_arg1.target.name == "bt_soundEffect"){
_bt_soundEffect.gotoAndStop(br3_Sound.setSoundEffectVol());
};
if (_arg1.target.name == "bt_soundBgm"){
_bt_soundBgm.gotoAndStop(br3_Sound.setSoundBgmVol());
};
}
private function challengeCheck(){
var _local1:GameEvent;
if ((((((GameData.moden == GameData.CHALLENGEMODEN)) && (!(winorlose)))) && (!((GameData.moden == GameData.DEMOMODEN))))){
if ((((GameData.challengeID == 0)) && ((score >= 1000)))){
_local1 = new GameEvent(GameEvent.CHALLENGEWIN);
dispatchEvent(_local1);
winorlose = true;
};
if ((((GameData.challengeID == 1)) && ((UI_Shop.money >= 10000)))){
_local1 = new GameEvent(GameEvent.CHALLENGEWIN);
dispatchEvent(_local1);
winorlose = true;
};
if ((((GameData.challengeID == 7)) && ((UI_Shop.money >= 25000)))){
_local1 = new GameEvent(GameEvent.CHALLENGEWIN);
dispatchEvent(_local1);
winorlose = true;
};
if (GameData.challengeID == 9){
if (((((((((((((((((((((GameData.so.data.shoes2.buyed) && (GameData.so.data.shirt6.buyed))) && (GameData.so.data.shirt5.buyed))) && (GameData.so.data.shirt4.buyed))) && (GameData.so.data.shirt3.buyed))) && (GameData.so.data.shirt2.buyed))) && (GameData.so.data.shirt1.buyed))) && ((GameData.so.data.mc_bread0.speed == 3)))) && ((GameData.so.data.mc_bread1.speed == 3)))) && ((GameData.so.data.mc_milk0.speed == 3)))) && ((GameData.so.data.mc_ice0.speed == 3)))){
_local1 = new GameEvent(GameEvent.CHALLENGEWIN);
dispatchEvent(_local1);
winorlose = true;
};
};
};
}
public function move(){
var _local1:*;
var _local2:int;
if (((!((moden == 2))) && (!((moden == 4))))){
f++;
if (f > 30){
f = 0;
if (_tatolTime >= tatolTime){
close.play();
_local1 = new GameEvent(GameEvent.TIMEOUT);
dispatchEvent(_local1);
} else {
_tatolTime++;
hand.rotation = int((360 * (_tatolTime / tatolTime)));
};
};
};
if (score != MC_GameEngine.score){
_local2 = (int((MC_GameEngine.score - score)) * 0.4);
score = (score + _local2);
if ((MC_GameEngine.score - score) <= 3){
score = MC_GameEngine.score;
};
score_text.text = String(score);
};
challengeCheck();
}
}
}//package lib
Section 323
//MC_welldone (lib.MC_welldone)
package lib {
import flash.display.*;
public class MC_welldone extends MovieClip {
public function MC_welldone(){
addFrameScript(67, frame68);
}
public function init(){
br3_Sound.playBgm(br3_Sound.Music_mainscreen);
trace("welldonw");
gotoAndPlay(2);
}
public function end(){
var _local1:*;
_local1 = new GameEvent(GameEvent.GOTO);
_local1._gotowhere = "mc_welldoneshow";
dispatchEvent(_local1);
}
function frame68(){
end();
stop();
}
}
}//package lib
Section 324
//MC_WelldoneShow (lib.MC_WelldoneShow)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.external.*;
public class MC_WelldoneShow extends MovieClip {
public var _bt_1:MovieClip;
public var _bt_0:MovieClip;
public var _bt_2:MovieClip;
public var bt_0:SimpleButton;
public var bt_1:SimpleButton;
public var score:TextField;
public var bt_2:SimpleButton;
private var brights:Bright;
public var userName:TextField;
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
}
public function init(){
var _local1:Array;
var _local2:*;
brights = new Bright();
_local1 = ["", "PLAYER", "玩家", "SPELER", "JOUEUR", "SPIELER", "GRACZ", "SPELARE", "GIOCATORE", "JUGADOR", "JOGADOR", "JOGADOR", "ИГРОК", "PEMAIN", "", "", "PLAYER", "プレイヤー"];
if (GameData.moden == GameData.STORYMODEN){
score.text = String((MC_GameEngine.score + GameData.finalyScore));
} else {
score.text = String(MC_GameEngine.score);
};
userName.text = _local1[language.language_nr];
_local2 = 0;
while (_local2 < 3) {
this[("bt_" + _local2)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt_" + _local2)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt_" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local2++;
};
}
private function _onMouseOver(_arg1:MouseEvent){
br3_Sound.playEffect(br3_Sound.Sound_mouseover, 1);
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
private function _onClick(_arg1:MouseEvent){
var _local2:String;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
br3_Sound.playEffect(br3_Sound.Sound_mousedown, 1);
_local2 = _arg1.target.name;
switch (_local2){
case "bt_0":
if (Number(language.language_nr) != 2){
if (GameData.moden == GameData.STORYMODEN){
GameData.subScore(userName.text, score.text);
};
_local3 = new GameEvent(GameEvent.GOTO);
_local3._gotowhere = "mc_highscore";
dispatchEvent(_local3);
} else {
_local4 = new Date();
_local5 = _local4.getTime();
_local6 = Random.SortT();
_local7 = Random.hex_average((((String(Random.gameID) + score.text) + _local6) + _local5));
Random.DrawLine(_local7, _local6, 10, 10, 15, 15);
_local8 = Random.strqq;
Random.senturl(score.text, _local6, _local8, _local5);
_local3 = new GameEvent(GameEvent.GOTO);
_local3._gotowhere = "mc_intro";
dispatchEvent(_local3);
};
break;
case "bt_1":
if (Number(language.language_nr) != 2){
_local3 = new GameEvent(GameEvent.GOTO);
if (GameData.moden == GameData.STORYMODEN){
_local3._gotowhere = "mc_storymoden";
} else {
_local3._gotowhere = "mc_challengemoden";
};
dispatchEvent(_local3);
} else {
ExternalInterface.call("function(){window.location.reload(true);}");
};
break;
case "bt_2":
break;
default:
break;
};
}
}
}//package lib
Section 325
//Order (lib.Order)
package lib {
import flash.display.*;
public class Order extends MovieClip {
private static var obj:Object;
public static var orderList:Array = [];
public function init(){
obj = this;
orderList = [];
}
private function showOrder():void{
var i:*;
var ord:*;
i = (numChildren - 1);
while (i > -1) {
try {
getChildAt(i).removeEventListener(GameEvent.ORDER_DIS, _order_dis);
} catch(err) {
trace("删除order错误", err);
};
removeChildAt(i);
i = (i - 1);
};
i = 0;
while (i < orderList.length) {
ord = new MC_order();
addChild(ord);
ord.gotoAndStop(orderList[i][3]);
ord.addEventListener(GameEvent.ORDER_DIS, _order_dis);
ord.id = i;
ord.i = i;
ord.x = (i * 45);
i = (i + 1);
};
}
private function _order_dis(_arg1:GameEvent){
if (_arg1.id != 0){
del(_arg1.id);
};
}
public static function exe(_arg1:Number){
orderList[_arg1][1].request(orderList[_arg1][2]);
}
public static function del(_arg1:Number){
var o:*;
var n = _arg1;
if (orderList.length > 0){
o = orderList[n][1];
if ((o is Box)){
} else {
try {
o[("select" + orderList[n][2])].visible = false;
} catch(err) {
trace("特色菜错误", err);
};
};
orderList.splice(n, 1);
obj.showOrder();
};
}
public static function addOrder(_arg1:Object, _arg2:Object, _arg3:uint=1, _arg4:int=1):void{
trace("++Order: ", orderList);
if (orderList.length < 5){
if ((_arg2 is Box)){
} else {
br3_Sound.playEffect(br3_Sound.Sound_click, 1);
_arg2[("select" + _arg3)].visible = true;
};
orderList.push([_arg1, _arg2, _arg3, _arg4]);
obj.showOrder();
};
}
}
}//package lib
Section 326
//Order_MC (lib.Order_MC)
package lib {
import flash.events.*;
import flash.display.*;
public class Order_MC extends MovieClip {
public var id:int;
public var mc1:MovieClip;
public var bt:SimpleButton;
public var mc:MovieClip;
private var brights:Bright;
public function Order_MC(){
brights = new Bright();
bt.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this);
}
private function _onUnload(_arg1:Event){
bt.removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOver(_arg1:MouseEvent){
brights.setBrightness(60, 0.8, this);
}
private function _mouseDown(_arg1:MouseEvent){
var _local2:GameEvent;
brights.setBrightness(0, 1, this);
_local2 = new GameEvent(GameEvent.ORDER_DIS);
_local2.id = id;
dispatchEvent(_local2);
}
}
}//package lib
Section 327
//starEffect (lib.starEffect)
package lib {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class starEffect extends MovieClip {
private var id:int;
private var n;
private var list:Array;
public function starEffect(){
n = 0;
list = [];
addStart();
id = setInterval(addStart, 50);
this.addEventListener(Event.ENTER_FRAME, _move);
}
private function addStart(){
var _local1:*;
var _local2:*;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
n++;
_local1 = (int((Math.random() * 2)) + 1);
if (_local1 == 1){
_local2 = new star1();
} else {
_local2 = new star2();
};
addChild(_local2);
list.push(_local2);
_local2.x = 284;
_local2.y = 209;
_local3 = (Math.random() * 6.3);
_local4 = (Math.sin(_local3) * 5.5);
_local5 = (Math.cos(_local3) * 5.5);
_local6 = (Math.random() * 360);
_local7 = ((Math.random() * 15) + 5);
_local8 = ((Math.random() * 0.8) + 0.4);
_local2.scaleX = _local8;
_local2.scaleY = _local8;
_local2.rotation = _local6;
_local2.rotationdx = _local7;
_local2.dx = _local5;
_local2.dy = _local4;
if (n > 35){
clearInterval(id);
};
}
private function _move(_arg1:Event){
var _local2:int;
_local2 = 0;
while (_local2 < list.length) {
list[_local2].x = (list[_local2].x + list[_local2].dx);
list[_local2].y = (list[_local2].y + list[_local2].dy);
list[_local2].rotation = (list[_local2].rotation + list[_local2].rotationdx);
list[_local2].alpha = (list[_local2].alpha - 0.01);
if (list[_local2].alpha <= 0){
this.removeChild(list[_local2]);
list.splice(_local2, 1);
};
_local2++;
};
if ((((n > 0)) && ((list.length == 0)))){
trace("星形效果 移除");
this.removeEventListener(Event.ENTER_FRAME, _move);
};
}
}
}//package lib
Section 328
//Tray (lib.Tray)
package lib {
public class Tray {
public static var checkList_1:Array = [91, 92, 1, 2, 3, 12, 13, 20, 31, 32, 33, 41, 42, 43, 51, 61, 71, 81, 62, 64, 72, 73, 82];
public static var checkList_2:Array = [[1, 2], [1, 3], [1, 12], [1, 13]];
public static var checkList_3:Array = [[62, 63, 64], [4, 64, 61], [10, 83, 81]];
public static var list:Array = [];
public static function max(_arg1:Array){
return (_arg1);
}
public static function clear(){
list = [];
Char_Dish.showFood();
}
public static function request(_arg1:uint){
var _local2:uint;
var _local3:Array;
_local2 = 0;
if (list.length == 0){
_local2 = 0;
while (_local2 < checkList_1.length) {
if (checkList_1[_local2] == _arg1){
list.push(_arg1);
Char_Dish.showFood();
return (true);
};
_local2++;
};
};
if (list.length == 1){
_local3 = [];
_local3[0] = _arg1;
_local3[1] = list[0];
_local3.sort(16);
_local2 = 0;
while (_local2 < checkList_2.length) {
if ((((_local3[0] == checkList_2[_local2][0])) && ((_local3[1] == checkList_2[_local2][1])))){
list.push(_arg1);
if (list.length == 2){
list.sort(16);
};
Char_Dish.showFood();
return (true);
};
_local2++;
};
};
return (false);
}
public static function request_max(_arg1:Array){
var _local2:*;
var _local3:int;
var _local4:*;
var _local5:*;
var _local6:*;
_local2 = [];
_local3 = 0;
_local3 = 0;
while (_local3 < _arg1.length) {
_local2.push(_arg1[_local3]);
_local3++;
};
_local3 = 0;
while (_local3 < list.length) {
_local2.push(list[_local3]);
_local3++;
};
_local2.sort(16);
if (_local2.length == 1){
return (true);
};
if (_local2.length == 2){
_local3 = 0;
while (_local3 < checkList_2.length) {
if ((((_local2[0] == checkList_2[_local3][0])) && ((_local2[1] == checkList_2[_local3][1])))){
return (true);
};
_local3++;
};
};
if (_local2.length > 2){
_local4 = 0;
_local5 = 0;
_local6 = 0;
_local3 = 0;
while (_local3 < _local2.length) {
if (_local2[_local3] == 1){
_local4++;
};
if ((((((((_local2[_local3] == 2)) || ((_local2[_local3] == 3)))) || ((_local2[_local3] == 12)))) || ((_local2[_local3] == 13)))){
_local5++;
};
if ((((_local2[_local3] > 3)) && ((_local2[_local3] < 11)))){
_local6++;
};
_local3++;
};
if ((((((((((_local4 + _local5) + _local6) == _local2.length)) && ((_local4 == 1)))) && ((_local5 == 1)))) && ((_local6 <= 2)))){
return (true);
};
};
return (false);
}
public static function show(){
Char_Dish.showFood();
}
}
}//package lib
Section 329
//UI_Intro_Special (lib.UI_Intro_Special)
package lib {
import flash.events.*;
import flash.display.*;
public class UI_Intro_Special extends MovieClip {
public var bt:SimpleButton;
public var p:MovieClip;
private var brights:Bright;
public var _bt:MovieClip;
public function UI_Intro_Special(){
brights = new Bright();
bt.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
}
private function _onUnload(_arg1:Event){
bt.removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
bt.removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onMouseOver(_arg1:MouseEvent){
br3_Sound.playEffect(br3_Sound.Sound_mouseover, 1);
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
private function _onClick(_arg1:MouseEvent){
var _local2:*;
br3_Sound.playEffect(br3_Sound.Sound_mousedown, 1);
_local2 = new GameEvent(GameEvent.GOBACK);
dispatchEvent(_local2);
}
}
}//package lib
Section 330
//UI_Ready (lib.UI_Ready)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class UI_Ready extends MovieClip {
public var _bt_0:MovieClip;
public var bt_0:SimpleButton;
private var brights:Bright;
public var score_text:TextField;
public var day_text:TextField;
public function UI_Ready(){
addFrameScript(0, frame1, 16, frame17, 19, frame20, 35, frame36, 38, frame39);
brights = new Bright();
if (GameData.moden != GameData.DEMOMODEN){
day_text.text = String((GameData.levelNum + 1));
score_text.text = String(GameData.level[GameData.levelNum].targetScore);
};
}
private function _onMouseOut(_arg1:MouseEvent){
brights.setBrightness(0, 1, this[("_" + _arg1.target.name)]);
}
public function init(){
var _local1:*;
_local1 = 0;
while (_local1 < 1) {
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt_" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt_" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onUnload(_arg1:Event){
var i:*;
var evt = _arg1;
try {
i = 0;
while (i < 1) {
this[("bt_" + i)].removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt_" + i)].removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt_" + i)].removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
i = (i + 1);
};
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
} catch(err) {
trace(err);
};
}
private function _onMouseOver(_arg1:MouseEvent){
br3_Sound.playEffect(br3_Sound.Sound_mouseover, 1);
brights.setBrightness(60, 0.8, this[("_" + _arg1.target.name)]);
}
function frame1(){
stop();
}
function frame17(){
init();
}
function frame36(){
init();
}
function frame20(){
stop();
}
function frame39(){
stop();
}
private function _onClick(_arg1:MouseEvent){
var _local2:*;
br3_Sound.playEffect(br3_Sound.Sound_mousedown, 1);
_local2 = new GameEvent(GameEvent.GOBACK);
dispatchEvent(_local2);
}
}
}//package lib
Section 331
//UI_Shop (lib.UI_Shop)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.filters.*;
public class UI_Shop extends MovieClip {
public var itme5_:MovieClip;
public var _buyitem0:MovieClip;
public var _buyitem1:MovieClip;
public var _buyitem2:MovieClip;
public var _buyitem5:MovieClip;
public var bt0:SimpleButton;
public var _buyitem3:MovieClip;
public var _buyitem4:MovieClip;
public var buyshoes:SimpleButton;
public var bt1:SimpleButton;
public var bt2:SimpleButton;
public var bg:MovieClip;
public var shoes0:SimpleButton;
public var shoes1:SimpleButton;
public var shoes2:SimpleButton;
public var buyshoes2:SimpleButton;
public var item_intro:MovieClip;
public var buyshoes1:SimpleButton;
public var buy1:SimpleButton;
public var buy3:SimpleButton;
public var tshirt0:SimpleButton;
public var tshirt1:SimpleButton;
public var tshirt2:SimpleButton;
public var tshirt3:SimpleButton;
public var tshirt5:SimpleButton;
public var tshirt6:SimpleButton;
public var buy4:SimpleButton;
public var buy5:SimpleButton;
public var shoes_:MovieClip;
public var buy2:SimpleButton;
public var buy6:SimpleButton;
public var buyshoes0:SimpleButton;
public var buy0:SimpleButton;
public var itme2:SimpleButton;
public var itme4:SimpleButton;
public var itme1:SimpleButton;
public var itme3:SimpleButton;
public var tshirt4:SimpleButton;
public var itme0:SimpleButton;
public var buyitem0:SimpleButton;
public var buyitem1:SimpleButton;
public var buyitem2:SimpleButton;
public var buyitem3:SimpleButton;
public var buyitem4:SimpleButton;
public var itme5:SimpleButton;
public var buyitem5:SimpleButton;
private var list:Array;
public var shoes:SimpleButton;
public var shirt0:MovieClip;
public var shirt2:MovieClip;
public var shirt3:MovieClip;
public var shirt4:MovieClip;
public var shirt5:MovieClip;
public var shirt6:MovieClip;
public var shirt1:MovieClip;
public var triangle1:SimpleButton;
public var triangle2:SimpleButton;
public var triangle0:SimpleButton;
public var _tshirt1:MovieClip;
public var _tshirt2:MovieClip;
public var triangle3:SimpleButton;
public var _tshirt4:MovieClip;
public var _tshirt6:MovieClip;
public var _tshirt3:MovieClip;
public var _tshirt5:MovieClip;
public var _tshirt0:MovieClip;
public var _buy0:MovieClip;
public var _buy3:MovieClip;
public var _buy4:MovieClip;
public var _buy5:MovieClip;
public var _buy2:MovieClip;
public var _bt0:MovieClip;
public var _buy1:MovieClip;
private var station:Number;
public var _buy6:MovieClip;
public var _bt2:MovieClip;
public var _buyshoes:MovieClip;
public var _bt1:MovieClip;
public var shoesprice:MovieClip;
public var _itme0:MovieClip;
public var _itme1:MovieClip;
public var _itme2:MovieClip;
public var itme1_:MovieClip;
public var _itme4:MovieClip;
public var itme0_:MovieClip;
public var char0:MovieClip;
public var _itme5:MovieClip;
public var _triangle0:MovieClip;
public var _triangle1:MovieClip;
public var _triangle3:MovieClip;
public var itme2_:MovieClip;
public var _triangle2:MovieClip;
public var char1:MovieClip;
public var intro_txt1:MovieClip;
public var intro_txt0:MovieClip;
public var txt1:MovieClip;
public var txt3:MovieClip;
public var txt5:MovieClip;
public var txt2:MovieClip;
public var itmeprice0:MovieClip;
public var itmeprice2:MovieClip;
public var itmeprice3:MovieClip;
public var itmeprice4:MovieClip;
public var itmeprice5:MovieClip;
public var itemimg:MovieClip;
public var itmeprice1:MovieClip;
public var txt4:MovieClip;
public var txt6:MovieClip;
public var itme3_:MovieClip;
public var money_txt1:TextField;
public var money_txt2:TextField;
public var _itme3:MovieClip;
public var money_txt0:TextField;
public var _shoes:MovieClip;
public var itme4_:MovieClip;
public static var money:int = 0;
public function UI_Shop(){
list = ["www.gamesgames.com", "www.game.com.cn", "www.spelletjes.nl", "www.jeux.fr", "www.jetztspielen.de", "www.gry.pl", "www.spela.se", "www.gioco.it", "www.juegos.com", "www.ojogos.com.br", "www.games.co.id", "www.ourgames.ru", "www.games.co.uk", "www.game.co.in", "www.oyunlar123.com", "www.game.com.my", "www.ojogos.pt", "www.laro.com.ph", "www.egames.jp"];
super();
}
private function intro_txt(_arg1){
intro_txt0.gotoAndStop(_arg1);
intro_txt1.gotoAndStop(_arg1);
}
private function _onMouseOver(_arg1:MouseEvent){
setBrightness(60, 0.8, ("_" + _arg1.target.name));
switch (_arg1.target.name){
case "tshirt0":
case "buy0":
intro_txt(1);
break;
case "tshirt1":
case "buy1":
intro_txt(2);
break;
case "tshirt2":
case "buy2":
intro_txt(3);
break;
case "tshirt3":
case "buy3":
intro_txt(4);
break;
case "tshirt4":
case "buy4":
intro_txt(5);
break;
case "tshirt5":
case "buy5":
intro_txt(6);
break;
case "tshirt6":
case "buy6":
intro_txt(7);
break;
case "shoes":
case "buyshoes":
if (!GameData.shoes1.buyed){
intro_txt(9);
} else {
if (!GameData.shoes2.buyed){
intro_txt(10);
} else {
intro_txt(10);
};
};
break;
case "itme0":
case "buyitem0":
itemimg.gotoAndStop(1);
item_intro.gotoAndStop(GameData.mc_bread0.speed);
break;
case "itme1":
case "buyitem1":
itemimg.gotoAndStop(2);
item_intro.gotoAndStop((GameData.mc_bread1.speed + 3));
break;
case "itme2":
case "buyitem2":
itemimg.gotoAndStop(3);
item_intro.gotoAndStop((GameData.mc_milk0.speed + 6));
break;
case "itme3":
case "buyitem3":
itemimg.gotoAndStop(4);
item_intro.gotoAndStop((GameData.mc_ice0.speed + 9));
break;
case "itme4":
case "buyitem4":
itemimg.gotoAndStop(5);
item_intro.gotoAndStop(13);
break;
case "itme5":
case "buyitem5":
itemimg.gotoAndStop(6);
item_intro.gotoAndStop(14);
break;
default:
break;
};
}
private function page(_arg1:int){
if (_arg1 == 0){
if (!GameData.shoes1.buyed){
intro_txt(9);
} else {
if (!GameData.shoes2.buyed){
intro_txt(10);
} else {
intro_txt(10);
};
};
if (GameData.shoes == 4){
intro_txt(6);
};
} else {
if (_arg1 == 1){
intro_txt(GameData.shirt);
} else {
if (_arg1 == 2){
itemimg.gotoAndStop(1);
item_intro.gotoAndStop(GameData.mc_bread0.speed);
};
};
};
}
private function _onEnterFrame(_arg1:Event){
x = (x + (((station + MC_GameEngine.xstation) - x) * 0.6));
bg.x = (bg.x + ((((station * -1) - 12) - bg.x) * 0.6));
}
private function updata(){
var _local1:int;
_local1 = 0;
while (_local1 < 3) {
this[("money_txt" + _local1)].text = ("$ " + String(GameData.money));
_local1++;
};
showPage();
if (GameData.moden == GameData.STORYMODEN){
GameData.saveData();
};
}
private function setBrightness(_arg1:Number, _arg2:Number, _arg3:String):void{
var _local4:Array;
_local4 = [_arg2, 0, 0, 0, _arg1, 0, _arg2, 0, 0, _arg1, 0, 0, _arg2, 0, _arg1, 0, 0, 0, 1, 0];
this[_arg3].filters = [new ColorMatrixFilter(_local4)];
}
private function _onMouseOut(_arg1:MouseEvent){
setBrightness(0, 1, ("_" + _arg1.target.name));
}
public function init(){
var _local1:*;
br3_Sound.playBgm(br3_Sound.Music_shop);
page(1);
station = 0;
x = 0;
_local1 = 0;
while (_local1 < 3) {
this[("bt" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
_local1 = 0;
while (_local1 < 4) {
this[("triangle" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("triangle" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("triangle" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
this.addEventListener(Event.ENTER_FRAME, _onEnterFrame);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
updata();
}
private function _onUnload(_arg1:Event){
var s:int;
var i:int;
var evt = _arg1;
s = 1;
if (GameData.moden == GameData.CHALLENGEMODEN){
s = GameData[("challenge" + GameData.challengeID)].scene;
switch (s){
case 1:
br3_Sound.playBgm(br3_Sound.Music_china);
break;
case 2:
br3_Sound.playBgm(br3_Sound.Music_italy);
break;
case 3:
br3_Sound.playBgm(br3_Sound.Music_western);
break;
case 4:
br3_Sound.playBgm(br3_Sound.Music_japan);
break;
case 5:
br3_Sound.playBgm(br3_Sound.Music_india);
break;
default:
break;
};
};
i = 0;
while (i < 3) {
this[("bt" + i)].removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("bt" + i)].removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("bt" + i)].removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
i = (i + 1);
};
i = 0;
while (i < 4) {
this[("triangle" + i)].removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("triangle" + i)].removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("triangle" + i)].removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
i = (i + 1);
};
this.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
i = 0;
while (i < 7) {
try {
this[("tshirt" + i)].removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("tshirt" + i)].removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("buy" + i)].removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("buy" + i)].removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("buy" + i)].removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
} catch(err) {
trace("shop卸载 出现错误", err);
};
i = (i + 1);
};
shoes.removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
shoes.removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
buyshoes.removeEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
buyshoes.removeEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
buyshoes.removeEventListener(MouseEvent.MOUSE_DOWN, _onClick);
}
private function showPage(){
var _local1:*;
char0.gotoAndStop(GameData.shirt);
char1.gotoAndStop(GameData.shirt);
char0.shoes.gotoAndStop(GameData.shoes);
char1.shoes.gotoAndStop(GameData.shoes);
itemimg.gotoAndStop(1);
item_intro.gotoAndStop(1);
_local1 = 0;
while (_local1 < 7) {
if (GameData[("shirt" + _local1)].buyed){
setBrightness(0, 1, ("shirt" + _local1));
this[("_buy" + _local1)].gotoAndStop(2);
if (_local1 == 6){
this[("_buy" + _local1)].visible = false;
this[("buy" + _local1)].visible = false;
};
if (_local1 > 0){
this[("txt" + _local1)].visible = false;
};
} else {
setBrightness(31.75, 0.5, ("shirt" + _local1));
this[("_buy" + _local1)].gotoAndStop(1);
};
this[("tshirt" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("tshirt" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("buy" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("buy" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("buy" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
shoes_.gotoAndStop(2);
_buyshoes.gotoAndStop(3);
shoesprice.gotoAndStop(1);
if (GameData.shoes1.buyed){
shoesprice.gotoAndStop(2);
shoes_.gotoAndStop(3);
};
if (GameData.shoes2.buyed){
shoes_.gotoAndStop(3);
shoesprice.visible = false;
_buyshoes.gotoAndStop(2);
};
shoes.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
shoes.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
buyshoes.addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
buyshoes.addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
buyshoes.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
itme0_.gotoAndStop(GameData.mc_bread0.speed);
itmeprice0.gotoAndStop((GameData.mc_bread0.speed + 1));
if (GameData.mc_bread0.speed < 3){
itmeprice0.visible = true;
itmeprice0.visible = true;
buyitem0.visible = true;
_buyitem0.visible = true;
_buyitem0.gotoAndStop(3);
} else {
itmeprice0.visible = false;
itmeprice0.visible = false;
buyitem0.visible = false;
_buyitem0.visible = false;
};
itme1_.gotoAndStop(GameData.mc_bread1.speed);
itmeprice1.gotoAndStop((GameData.mc_bread1.speed + 1));
if (GameData.mc_bread1.speed < 3){
buyitem1.visible = true;
_buyitem1.visible = true;
itmeprice1.visible = true;
_buyitem1.gotoAndStop(3);
} else {
itmeprice1.visible = false;
buyitem1.visible = false;
_buyitem1.visible = false;
};
if (GameData.mc_bread1.visible){
setBrightness(0, 1, "itme1_");
} else {
itmeprice1.gotoAndStop(GameData.mc_bread1.speed);
_buyitem1.gotoAndStop(1);
setBrightness(31.75, 0.5, "itme1_");
};
itme2_.gotoAndStop(GameData.mc_milk0.speed);
itmeprice2.gotoAndStop((GameData.mc_milk0.speed + 1));
if (GameData.mc_milk0.speed < 3){
_buyitem2.gotoAndStop(3);
itmeprice2.visible = true;
buyitem2.visible = true;
_buyitem2.visible = true;
} else {
itmeprice2.visible = false;
buyitem2.visible = false;
_buyitem2.visible = false;
};
if (GameData.mc_milk0.visible){
setBrightness(0, 1, "itme2_");
} else {
itmeprice2.gotoAndStop(GameData.mc_milk0.speed);
_buyitem2.gotoAndStop(1);
setBrightness(31.75, 0.5, "itme2_");
};
itme3_.gotoAndStop(GameData.mc_ice0.speed);
itmeprice3.gotoAndStop((GameData.mc_ice0.speed + 1));
if (GameData.mc_ice0.speed < 3){
itmeprice3.visible = true;
buyitem3.visible = true;
_buyitem3.visible = true;
_buyitem3.gotoAndStop(3);
} else {
itmeprice3.visible = false;
buyitem3.visible = false;
_buyitem3.visible = false;
};
if (GameData.mc_ice0.visible){
setBrightness(0, 1, "itme3_");
} else {
itmeprice3.gotoAndStop(GameData.mc_ice0.speed);
_buyitem3.gotoAndStop(1);
setBrightness(31.75, 0.5, "itme3_");
};
if (GameData.mc_table1.visible){
itmeprice4.visible = false;
buyitem4.visible = false;
_buyitem4.visible = false;
setBrightness(0, 1, "itme4_");
} else {
itmeprice4.visible = true;
buyitem4.visible = true;
_buyitem4.visible = true;
_buyitem4.gotoAndStop(1);
setBrightness(31.75, 0.5, "itme4_");
};
if (GameData.mc_gril1.visible){
itmeprice5.visible = false;
buyitem5.visible = false;
_buyitem5.visible = false;
setBrightness(0, 1, "itme5_");
} else {
itmeprice5.visible = true;
buyitem5.visible = true;
_buyitem5.visible = true;
_buyitem5.gotoAndStop(1);
setBrightness(31.75, 0.5, "itme5_");
};
_local1 = 0;
while (_local1 < 6) {
this[("itme" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("itme" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("buyitem" + _local1)].addEventListener(MouseEvent.ROLL_OVER, _onMouseOver);
this[("buyitem" + _local1)].addEventListener(MouseEvent.ROLL_OUT, _onMouseOut);
this[("buyitem" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_local1++;
};
}
function getUrls(_arg1){
var _local2:*;
var _local3:Array;
_local2 = /(\w+):\/\/([^\:|\/]+)(\:\d*)?(.*\/)([^#|\?|\n]+)?(#.*)?(\?.*)?/i;
_local3 = _arg1.match(_local2);
return (_local3[2]);
}
private function _onClick(_arg1:MouseEvent){
var _local2:String;
var _local3:*;
_local2 = _arg1.target.name;
trace("鼠标点击了", _local2);
switch (_local2){
case "bt0":
case "bt1":
case "bt2":
station = 0;
if (GameData.moden == GameData.STORYMODEN){
_local3 = new GameEvent(GameEvent.GOTO);
_local3._gotowhere = "mc_levelmap";
} else {
_local3 = new GameEvent(GameEvent.GOBACK);
MC_GameEngine.gameStart = true;
};
dispatchEvent(_local3);
break;
case "buy0":
intro_txt(1);
GameData.shirt = 1;
char0.gotoAndStop(1);
char1.gotoAndStop(1);
updata();
break;
case "buy1":
if (GameData.shirt1.buyed){
GameData.shirt = 2;
char0.gotoAndStop(2);
char1.gotoAndStop(2);
updata();
intro_txt(2);
} else {
if (GameData.money >= 3000){
money = (money + 3000);
GameData.shirt1.buyed = true;
GameData.money = (GameData.money - 3000);
GameData.shirt = 2;
char0.gotoAndStop(2);
char1.gotoAndStop(2);
updata();
intro_txt(2);
};
};
break;
case "buy2":
if (GameData.shirt2.buyed){
GameData.shirt = 3;
char0.gotoAndStop(3);
char1.gotoAndStop(3);
updata();
intro_txt(3);
} else {
if (GameData.money >= 8000){
money = (money + 8000);
GameData.shirt2.buyed = true;
GameData.money = (GameData.money - 8000);
GameData.shirt = 3;
char0.gotoAndStop(3);
char1.gotoAndStop(3);
updata();
intro_txt(3);
};
};
break;
case "buy3":
if (GameData.shirt3.buyed){
GameData.shirt = 4;
char0.gotoAndStop(4);
char1.gotoAndStop(4);
updata();
intro_txt(4);
} else {
if (GameData.money >= 4000){
money = (money + 4000);
GameData.shirt3.buyed = true;
GameData.money = (GameData.money - 4000);
GameData.shirt = 4;
char0.gotoAndStop(4);
char1.gotoAndStop(4);
updata();
intro_txt(4);
};
};
break;
case "buy4":
if (GameData.shirt4.buyed){
GameData.shirt = 5;
char0.gotoAndStop(5);
char1.gotoAndStop(5);
updata();
intro_txt(5);
} else {
if (GameData.money >= 4000){
money = (money + 4000);
GameData.shirt4.buyed = true;
GameData.money = (GameData.money - 4000);
GameData.shirt = 5;
char0.gotoAndStop(5);
char1.gotoAndStop(5);
updata();
intro_txt(5);
};
};
break;
case "buy5":
if (GameData.shirt5.buyed){
GameData.shoes = 4;
updata();
intro_txt(6);
} else {
if (GameData.money >= 6000){
money = (money + 6000);
GameData.shirt5.buyed = true;
GameData.money = (GameData.money - 6000);
GameData.shoes = 4;
updata();
intro_txt(6);
};
};
break;
case "buy6":
if (GameData.shirt6.buyed){
intro_txt(7);
} else {
if (GameData.money >= 8000){
money = (money + 8000);
GameData.shirt6.buyed = true;
GameData.money = (GameData.money - 8000);
updata();
intro_txt(7);
};
};
break;
case "buyitem0":
if (GameData.mc_bread0.visible == false){
if (GameData.money >= 1000){
money = (money + 1000);
GameData.mc_bread0.visible = true;
GameData.money = (GameData.money - 1000);
updata();
itemimg.gotoAndStop(1);
item_intro.gotoAndStop(GameData.mc_bread0.speed);
};
} else {
if (GameData.mc_bread0.speed < 3){
if (GameData.money >= ((GameData.mc_bread0.speed + 1) * 1000)){
money = (money + ((GameData.mc_bread0.speed + 1) * 1000));
GameData.money = (GameData.money - ((GameData.mc_bread0.speed + 1) * 1000));
GameData.mc_bread0.speed++;
updata();
};
};
itemimg.gotoAndStop(1);
item_intro.gotoAndStop(GameData.mc_bread0.speed);
};
break;
case "buyitem1":
if (GameData.mc_bread1.visible == false){
if (GameData.money >= 1000){
money = (money + 1000);
GameData.mc_bread1.visible = true;
GameData.money = (GameData.money - 1000);
updata();
itemimg.gotoAndStop(2);
item_intro.gotoAndStop((GameData.mc_bread1.speed + 3));
};
} else {
if (GameData.mc_bread1.speed < 3){
if (GameData.money >= ((GameData.mc_bread1.speed + 1) * 1000)){
money = (money + ((GameData.mc_bread1.speed + 1) * 1000));
GameData.money = (GameData.money - ((GameData.mc_bread1.speed + 1) * 1000));
GameData.mc_bread1.speed++;
updata();
};
};
itemimg.gotoAndStop(2);
item_intro.gotoAndStop((GameData.mc_bread1.speed + 3));
};
break;
case "buyitem2":
if (((!((GameData.challengeID == 0))) || ((GameData.moden == GameData.STORYMODEN)))){
if (GameData.mc_milk0.visible == false){
if (GameData.money >= 1000){
money = (money + 1000);
GameData.mc_milk0.visible = true;
GameData.money = (GameData.money - 1000);
updata();
itemimg.gotoAndStop(3);
item_intro.gotoAndStop((GameData.mc_milk0.speed + 6));
};
} else {
if (GameData.mc_milk0.speed < 3){
if (GameData.money >= ((GameData.mc_milk0.speed + 1) * 1000)){
money = (money + ((GameData.mc_milk0.speed + 1) * 1000));
GameData.money = (GameData.money - ((GameData.mc_milk0.speed + 1) * 1000));
GameData.mc_milk0.speed++;
updata();
};
};
itemimg.gotoAndStop(3);
item_intro.gotoAndStop((GameData.mc_milk0.speed + 6));
};
};
break;
case "buyitem3":
if (((!((GameData.challengeID == 0))) || ((GameData.moden == GameData.STORYMODEN)))){
if (GameData.mc_ice0.visible == false){
if (GameData.money >= 1000){
money = (money + 1000);
GameData.mc_ice0.visible = true;
GameData.money = (GameData.money - 1000);
updata();
itemimg.gotoAndStop(4);
item_intro.gotoAndStop((GameData.mc_ice0.speed + 9));
};
} else {
if (GameData.mc_ice0.speed < 3){
if (GameData.money >= ((GameData.mc_ice0.speed + 1) * 1000)){
money = (money + ((GameData.mc_ice0.speed + 1) * 1000));
GameData.money = (GameData.money - ((GameData.mc_ice0.speed + 1) * 1000));
GameData.mc_ice0.speed++;
updata();
};
};
itemimg.gotoAndStop(4);
item_intro.gotoAndStop((GameData.mc_ice0.speed + 9));
};
};
break;
case "buyitem4":
if (GameData.money >= 500){
GameData.mc_table1.visible = true;
money = (money + 500);
GameData.money = (GameData.money - 500);
updata();
itemimg.gotoAndStop(5);
item_intro.gotoAndStop(13);
};
break;
case "buyitem5":
if (GameData.money >= 500){
GameData.mc_gril1.visible = true;
money = (money + 500);
GameData.money = (GameData.money - 500);
updata();
itemimg.gotoAndStop(6);
item_intro.gotoAndStop(14);
};
break;
case "buyshoes":
if (!GameData.shoes1.buyed){
if (GameData.money >= 1500){
money = (money + 1500);
GameData.money = (GameData.money - 1500);
GameData.shoes1.buyed = true;
updata();
};
} else {
if (!GameData.shoes2.buyed){
if (GameData.money >= 3000){
money = (money + 3000);
GameData.money = (GameData.money - 3000);
GameData.shoes2.buyed = true;
updata();
};
};
};
if (GameData.shoes1.buyed){
GameData.shoes = 2;
};
if (GameData.shoes2.buyed){
GameData.shoes = 3;
};
if (!GameData.shoes1.buyed){
intro_txt(9);
} else {
if (!GameData.shoes2.buyed){
intro_txt(10);
} else {
intro_txt(10);
};
};
updata();
break;
case "triangle0":
page(1);
station = 0;
break;
case "triangle1":
page(0);
station = 600;
break;
case "triangle2":
page(2);
station = -600;
break;
case "triangle3":
page(1);
station = 0;
break;
default:
break;
};
}
}
}//package lib
Section 332
//UI_StoryShow (lib.UI_StoryShow)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
public class UI_StoryShow extends MovieClip {
private var text:String;
private var timer:Timer;
public var char:MovieClip;
public var bt:SimpleButton;
public var txt:TextField;
public function init(_arg1:uint, _arg2:String){
char.gotoAndStop(_arg1);
text = _arg2;
bt.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
timer = new Timer((1000 / 30), 0);
timer.addEventListener(TimerEvent.TIMER, _onTimer);
timer.start();
}
private function _onUnload(_arg1:Event){
var evt = _arg1;
try {
bt.removeEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
this.removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, _onTimer);
} catch(err) {
trace("卸载ui错误", err);
};
}
private function _onTimer(_arg1:TimerEvent){
var evt = _arg1;
if (txt.text.length < text.length){
try {
txt.appendText(text.charAt(txt.text.length));
} catch(err) {
trace("Storyshow错误1", err);
};
} else {
try {
timer.stop();
} catch(err) {
trace("Storyshow错误2", err);
};
};
}
private function _mouseDown(_arg1:MouseEvent){
timer.stop();
play();
}
protected function end(){
var _local1:*;
_local1 = new GameEvent(GameEvent.GOBACK);
dispatchEvent(_local1);
}
}
}//package lib
Section 333
//Protection (screen.Protection)
package screen {
import flash.display.*;
import tool.*;
public class Protection extends MovieClip {
private var _mc:Sprite;
public function Protection(_arg1:Sprite){
initDis(_arg1);
}
public function del():void{
delDis();
}
private function initDis(_arg1:Sprite):void{
_mc = Attach.getSprite("ProtectionMC");
_arg1.addChild(_mc);
}
private function delDis():void{
_mc.parent.removeChild(_mc);
}
}
}//package screen
Section 334
//Attach (tool.Attach)
package tool {
import flash.display.*;
import flash.media.*;
import flash.utils.*;
public class Attach {
public static function getSound(_arg1:String):Sound{
var _local2:Class;
var _local3:Sound;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
public static function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
public static function getSprite(_arg1:String):Sprite{
var _local2:Class;
var _local3:Sprite;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
public static function getBitmapData(_arg1:String):BitmapData{
var _local2:Class;
var _local3:BitmapData;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new _local2(null, null);
return (_local3);
}
}
}//package tool
Section 335
//Bench_Back (Bench_Back)
package {
import lib.*;
public dynamic class Bench_Back extends MC_Bench {
}
}//package
Section 336
//Bench_Center (Bench_Center)
package {
import lib.*;
public dynamic class Bench_Center extends MC_Bench {
}
}//package
Section 337
//Bench_Front (Bench_Front)
package {
import lib.*;
public dynamic class Bench_Front extends MC_BenchFront {
}
}//package
Section 338
//Bg_back (Bg_back)
package {
import lib.*;
public dynamic class Bg_back extends MC_Bench {
}
}//package
Section 339
//Blak (Blak)
package {
import flash.display.*;
public dynamic class Blak extends MovieClip {
}
}//package
Section 340
//Box (Box)
package {
import lib.*;
public dynamic class Box extends Boxs {
}
}//package
Section 341
//Char_dish (Char_dish)
package {
import lib.*;
public dynamic class Char_dish extends Char_Dish {
}
}//package
Section 342
//Chars (Chars)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class Chars extends Char {
public function Chars(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 343
//Client (Client)
package {
import lib.*;
public dynamic class Client extends Client_mc {
}
}//package
Section 344
//client_phone (client_phone)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class client_phone extends Client_mc_phone {
public function client_phone(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 345
//clientLoader (clientLoader)
package {
import lib.*;
public dynamic class clientLoader extends ClientLoader {
}
}//package
Section 346
//gold (gold)
package {
import flash.display.*;
public dynamic class gold extends MovieClip {
}
}//package
Section 347
//goldFly (goldFly)
package {
import lib.*;
public dynamic class goldFly extends GoldFly {
}
}//package
Section 348
//intro_special (intro_special)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class intro_special extends UI_Intro_Special {
public function intro_special(){
addFrameScript(5, frame6);
}
function frame6(){
p.stop();
}
}
}//package
Section 349
//language (language)
package {
import flash.net.*;
public class language {
public static var localConnection = new LocalConnection();
public static var _languageNum:uint = 0;
public static var _languageBox:Array = new Array();
public static var SpillGroupUrl:Array = new Array();
public static function get url2():String{
var _local1:int;
_local1 = 0;
while (_local1 < SpillGroupUrl.length) {
if (localConnection.domain == SpillGroupUrl[_local1]){
return (_languageBox[_languageNum].url2);
};
_local1++;
};
return (_languageBox[_languageNum].url2);
}
public static function get url3():String{
var _local1:int;
_local1 = 0;
while (_local1 < SpillGroupUrl.length) {
if (localConnection.domain == SpillGroupUrl[_local1]){
return (_languageBox[_languageNum].url3);
};
_local1++;
};
return (_languageBox[_languageNum].url3);
}
public static function get language_nr():int{
return (_languageBox[_languageNum].language_nr);
}
public static function set Language(_arg1:Object):void{
var returnDomain:*;
var hostingdomain:String;
var myList:String;
var myArray:Array;
var language1:*;
var language2:*;
var language3:*;
var language4:*;
var language5:*;
var language6:*;
var language7:*;
var language8:*;
var language9:*;
var language10:*;
var language11:*;
var language12:*;
var language13:*;
var language14:*;
var language15:*;
var language16:*;
var domainextention:int;
var domainname:int;
var languageVersion = _arg1;
returnDomain = function (_arg1:String):String{
var _local2:String;
var _local3:uint;
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
return (_local2);
};
hostingdomain = "";
myList = localConnection.domain;
myArray = myList.split(".");
if (myArray.length <= 3){
domainextention = (myArray.length - 1);
domainname = (myArray.length - 2);
hostingdomain = ((myArray[domainname] + ".") + myArray[domainextention]);
} else {
hostingdomain = localConnection.domain;
};
language1 = new languageItem();
language1.url1 = ("http://www.gamesgames.com/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language1.url2 = "http://www.gamesgames.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language1.url3 = (("http://www.gamesgames.com/game/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language1.language_nr = 1;
language1.branding_nr = 17;
_languageBox.push(language1);
language2 = new languageItem();
language2.url1 = "http://www.game.com.cn/moregames/";
language2.url2 = "http://www.game.com.cn/downloads/";
language2.url3 = "http://www.game.com.cn/downloads/";
language2.language_nr = 2;
language2.branding_nr = 2;
_languageBox.push(language2);
language3 = new languageItem();
language3.url1 = ("http://www.spelletjes.nl/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language3.url2 = "http://www.spelletjes.nl/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language3.url3 = (("http://www.spelletjes.nl/spel/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language3.language_nr = 3;
language3.branding_nr = 18;
_languageBox.push(language3);
language4 = new languageItem();
language4.url1 = ("http://www.jeux.fr/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language4.url2 = "http://www.jeux.fr/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language4.url3 = (("http://www.jeux.fr/jeu/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language4.language_nr = 4;
language4.branding_nr = 19;
_languageBox.push(language4);
language5 = new languageItem();
language5.url1 = ("http://www.jetztspielen.de/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language5.url2 = "http://www.jetztspielen.de/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language5.url3 = (("http://www.jetztspielen.de/spiel/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language5.language_nr = 5;
language5.branding_nr = 20;
_languageBox.push(language5);
language6 = new languageItem();
language6.url1 = ("http://www.gry.pl/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language6.url2 = "http://www.gry.pl/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language6.url3 = (("http://www.gry.pl/gra/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language6.language_nr = 6;
language6.branding_nr = 21;
_languageBox.push(language6);
language7 = new languageItem();
language7.url1 = ("http://www.spela.se/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language7.url2 = "http://www.spela.se/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language7.url3 = (("http://www.spela.se/spel_/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language7.language_nr = 7;
language7.branding_nr = 22;
_languageBox.push(language7);
language8 = new languageItem();
language8.url1 = ("http://www.gioco.it/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language8.url2 = "http://www.gioco.it/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language8.url3 = (("http://www.gioco.it/gioco/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language8.language_nr = 8;
language8.branding_nr = 23;
_languageBox.push(language8);
language9 = new languageItem();
language9.url1 = ("http://www.juegos.com/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language9.url2 = "http://www.juegos.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language9.url3 = (("http://www.juegos.com/juego/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language9.language_nr = 9;
language9.branding_nr = 24;
_languageBox.push(language9);
language10 = new languageItem();
language10.url1 = ("http://www.ojogos.com.br/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language10.url2 = "http://www.ojogos.com.br/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language10.url3 = (("http://www.ojogos.com.br/jogo/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language10.language_nr = 11;
language10.branding_nr = 25;
_languageBox.push(language10);
language11 = new languageItem();
language11.url1 = ("http://www.games.co.id/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language11.url2 = "http://www.games.co.id/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language11.url3 = (("http://www.games.co.id/permainanme/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language11.language_nr = 13;
language11.branding_nr = 13;
_languageBox.push(language11);
language12 = new languageItem();
language12.url1 = ("http://www.ourgames.ru/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language12.url2 = "http://www.ourgames.ru/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language12.url3 = (("http://www.ourgames.ru/igra/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language12.language_nr = 12;
language12.branding_nr = 26;
_languageBox.push(language12);
language13 = new languageItem();
language13.url1 = ("http://www.games.co.uk/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language13.url2 = "http://www.games.co.uk/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language13.url3 = (("http://www.games.co.uk/game/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language13.language_nr = 16;
language13.branding_nr = 27;
_languageBox.push(language13);
language14 = new languageItem();
language14.url1 = ("http://www.ojogos.pt/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language14.url2 = "http://www.ojogos.pt/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language14.url3 = (("http://www.ojogos.pt/jogo/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language14.language_nr = 10;
language14.branding_nr = 42;
_languageBox.push(language14);
language15 = new languageItem();
language15.url1 = ("http://www.egames.jp/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language15.url2 = "http://www.egames.jp/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language15.url3 = (("http://www.egames.jp/game/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language15.language_nr = 17;
language15.branding_nr = 44;
_languageBox.push(language15);
language16 = new languageItem();
language16.url1 = ("http://www.dailygame.com/moregames/?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain);
language16.url2 = "http://www.dailygame.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=Burger_Restaurant_3";
language16.url3 = (("http://www.dailygame.com/game/Burger-Restaurant-3.html?utm_medium=brandedgames_external&utm_campaign=Burger_Restaurant_3&utm_source=" + hostingdomain) + "&utm_content=site_locked_game");
language16.language_nr = 1;
language16.branding_nr = 56;
_languageBox.push(language16);
SpillGroupUrl.push("localhost");
SpillGroupUrl.push("www8.agame.com");
SpillGroupUrl.push("gamedev.dev.spilgames.com");
if ((((((languageVersion is Number)) || ((languageVersion is uint)))) || ((languageVersion is int)))){
_languageNum = (Number(languageVersion) - 1);
};
}
public static function get url1():String{
var _local1:int;
_local1 = 0;
while (_local1 < SpillGroupUrl.length) {
if (localConnection.domain == SpillGroupUrl[_local1]){
return (_languageBox[_languageNum].url2);
};
_local1++;
};
return (_languageBox[_languageNum].url1);
}
public static function get branding_nr():String{
return (_languageBox[_languageNum].branding_nr);
}
}
}//package
class languageItem {
public var url1:String;
public var url2:String;
public var branding_nr:int;
public var language_nr:int;
public var url3:String;
private function languageItem(){
}
}
Section 350
//maskss (maskss)
package {
import flash.display.*;
public dynamic class maskss extends MovieClip {
}
}//package
Section 351
//MC_bread (MC_bread)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_bread extends MC_Bread {
public function MC_bread(){
addFrameScript(0, frame1, 15, frame16, 42, frame43, 51, frame52);
}
function frame1(){
stop();
moden = 0;
}
function frame16(){
gotoAndPlay(2);
}
function frame43(){
moden = 3;
stop();
}
function frame52(){
stop();
moden = 5;
}
}
}//package
Section 352
//mc_food (mc_food)
package {
import flash.display.*;
public dynamic class mc_food extends MovieClip {
}
}//package
Section 353
//mc_food_add (mc_food_add)
package {
import flash.display.*;
public dynamic class mc_food_add extends MovieClip {
}
}//package
Section 354
//mc_food_order (mc_food_order)
package {
import flash.display.*;
public dynamic class mc_food_order extends MovieClip {
}
}//package
Section 355
//mc_frie (mc_frie)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class mc_frie extends MC_Frie {
public function mc_frie(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 356
//mc_frie_mc (mc_frie_mc)
package {
import lib.*;
public dynamic class mc_frie_mc extends MC_Frie_mc {
}
}//package
Section 357
//mc_gril (mc_gril)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class mc_gril extends MC_Gril {
public function mc_gril(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
stop();
}
function frame1(){
stop();
}
}
}//package
Section 358
//MC_ice (MC_ice)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_ice extends MC_Ice {
public function MC_ice(){
addFrameScript(0, frame1, 22, frame23);
}
function frame1(){
stop();
masks.y = -6;
}
function frame23(){
stop();
moden = 2;
}
}
}//package
Section 359
//mc_levelfail (mc_levelfail)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class mc_levelfail extends MC_levelfail {
public function mc_levelfail(){
addFrameScript(119, frame120);
}
function frame120(){
stop();
}
}
}//package
Section 360
//mc_meat (mc_meat)
package {
import lib.*;
public dynamic class mc_meat extends MC_Meat {
}
}//package
Section 361
//mc_milk (mc_milk)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class mc_milk extends MC_Milk {
public function mc_milk(){
addFrameScript(0, frame1, 4, frame5, 13, frame14);
}
function frame14(){
stop();
}
function frame1(){
stop();
water.y = -4;
}
function frame5(){
ready();
stop();
}
}
}//package
Section 362
//MC_order (MC_order)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class MC_order extends Order_MC {
public function MC_order(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 363
//mc_special (mc_special)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class mc_special extends MC_Special {
public function mc_special(){
addFrameScript(0, frame1, 4, frame5, 10, frame11, 11, frame12, 20, frame21, 21, frame22, 30, frame31, 31, frame32, 40, frame41, 41, frame42);
}
function frame12(){
select1.visible = false;
select2.visible = false;
}
function frame1(){
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
select1.visible = false;
}
function frame21(){
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
select1.visible = false;
select2.visible = false;
}
function frame5(){
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
select1.visible = false;
}
function frame22(){
select1.visible = false;
select2.visible = false;
}
function frame11(){
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
select1.visible = false;
select2.visible = false;
}
function frame41(){
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
select1.visible = false;
select2.visible = false;
}
function frame32(){
select1.visible = false;
select2.visible = false;
}
function frame42(){
select1.visible = false;
select2.visible = false;
}
function frame31(){
bt1.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bt2.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
select1.visible = false;
select2.visible = false;
}
}
}//package
Section 364
//mc_table (mc_table)
package {
import lib.*;
public dynamic class mc_table extends MC_Table {
}
}//package
Section 365
//mc_trash (mc_trash)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class mc_trash extends MC_Trash {
public function mc_trash(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
moden = 0;
}
}
}//package
Section 366
//mc_welldone (mc_welldone)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class mc_welldone extends MovieClip {
public function mc_welldone(){
addFrameScript(53, frame54);
}
function frame54(){
stop();
}
}
}//package
Section 367
//music_china (music_china)
package {
import flash.media.*;
public dynamic class music_china extends Sound {
}
}//package
Section 368
//music_complete (music_complete)
package {
import flash.media.*;
public dynamic class music_complete extends Sound {
}
}//package
Section 369
//music_failed (music_failed)
package {
import flash.media.*;
public dynamic class music_failed extends Sound {
}
}//package
Section 370
//music_india (music_india)
package {
import flash.media.*;
public dynamic class music_india extends Sound {
}
}//package
Section 371
//music_italy (music_italy)
package {
import flash.media.*;
public dynamic class music_italy extends Sound {
}
}//package
Section 372
//music_japan (music_japan)
package {
import flash.media.*;
public dynamic class music_japan extends Sound {
}
}//package
Section 373
//music_mainscreen (music_mainscreen)
package {
import flash.media.*;
public dynamic class music_mainscreen extends Sound {
}
}//package
Section 374
//music_map (music_map)
package {
import flash.media.*;
public dynamic class music_map extends Sound {
}
}//package
Section 375
//music_shop (music_shop)
package {
import flash.media.*;
public dynamic class music_shop extends Sound {
}
}//package
Section 376
//music_western (music_western)
package {
import flash.media.*;
public dynamic class music_western extends Sound {
}
}//package
Section 377
//Orders (Orders)
package {
import lib.*;
public dynamic class Orders extends Order {
}
}//package
Section 378
//ProtectionMC (ProtectionMC)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class ProtectionMC extends MovieClip {
public var playgame:SimpleButton;
public function ProtectionMC(){
addFrameScript(0, frame1);
}
function frame1(){
playgame.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onCLick11);
}
public function _mouseDown(_arg1:MouseEvent){
trace("点击0");
}
}
}//package
Section 379
//Random (Random)
package {
import flash.net.*;
import flash.display.*;
public class Random {
var randomStr;
private static var hexcase = 0;
public static var gameID = 93;
public static var strqq:String;
private static var chrsz = 8;
private static var b64pad = "";
public function Random(){
randomStr = Randoms(10);
super();
}
public static function average_ii(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function SortT(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
_local2 = "";
trace((_local1 + "###"));
_local3 = 0;
while (_local3 < 10) {
_local2 = (_local2 + _local1.substr(Math.floor((Math.random() * _local1.length)), 1));
_local3++;
};
trace(_local2);
return (_local2);
}
public static function b64_hmac_average(_arg1, _arg2){
return (binl2b64(core_hmac_average(_arg1, _arg2)));
}
public static function md5(_arg1:String){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
var _local14:*;
var _local15:*;
var _local16:*;
var _local17:*;
var _local18:*;
var _local19:*;
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
_local5 = 1732584193;
_local6 = -271733879;
_local7 = -1732584194;
_local8 = 271733878;
_local9 = str2binl(_local4);
if (_local9.length > 16){
_local9 = core_average(_local9, (_local4.length * chrsz));
};
_local10 = new Array(16);
_local11 = new Array(16);
_local12 = 0;
while (_local12 < 16) {
_local10[_local12] = (_local9[_local12] ^ 909522486);
_local11[_local12] = (_local9[_local12] ^ 1549556828);
_local12++;
};
_local14 = core_average(_local10.concat(str2binl(_local13)), (0x0200 + (_local13.length * chrsz)));
return (core_average(_local11.concat(_local14), (0x0200 + 128)));
return (new Array(_local5, _local6, _local7, _local8));
}
public static function average_gg(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function average_hh(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function binl2b64(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
_local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_local3 = "";
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local5 = (((((_arg1[(_local4 >> 2)] >> (8 * (_local4 % 4))) & 0xFF) << 16) | (((_arg1[((_local4 + 1) >> 2)] >> (8 * ((_local4 + 1) % 4))) & 0xFF) << 8)) | ((_arg1[((_local4 + 2) >> 2)] >> (8 * ((_local4 + 2) % 4))) & 0xFF));
_local6 = 0;
while (_local6 < 4) {
if (((_local4 * 8) + (_local6 * 6)) > (_arg1.length * 32)){
_local3 = (_local3 + b64pad);
} else {
_local3 = (_local3 + _local2.charAt(((_local5 >> (6 * (3 - _local6))) & 63)));
};
_local6++;
};
_local4 = (_local4 + 3);
};
return (_local3);
}
public static function senturl(_arg1, _arg2, _arg3, _arg4):void{
var _local5:String;
var _local6:URLRequest;
_local5 = ((((((((("http://user.game.com.cn/game/?action=highscore&id=" + gameID) + "&s=") + _arg1) + "&a=") + _arg2) + "&t=") + _arg4) + "&r=") + _arg3);
_local6 = new URLRequest(_local5);
navigateToURL(_local6, "_blank");
}
public static function geturl():void{
var _local1:String;
var _local2:URLRequest;
_local1 = ("http://user.game.com.cn/game/?action=highscore&id=" + gameID);
_local2 = new URLRequest(_local1);
navigateToURL(_local2, "_blank");
}
public static function bit_rol(_arg1, _arg2){
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
public static function core_hmac_average(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local3 = str2binl(_arg1);
if (_local3.length > 16){
_local3 = core_average(_local3, (_arg1.length * chrsz));
};
_local4 = new Array(16);
_local5 = new Array(16);
_local6 = 0;
while (_local6 < 16) {
_local4[_local6] = (_local3[_local6] ^ 909522486);
_local5[_local6] = (_local3[_local6] ^ 1549556828);
_local6++;
};
_local7 = core_average(_local4.concat(str2binl(_arg2)), (0x0200 + (_arg2.length * chrsz)));
return (core_average(_local5.concat(_local7), (0x0200 + 128)));
}
public static function average_ff(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function str2binl(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = new Array();
_local3 = ((1 << chrsz) - 1);
_local4 = 0;
while (_local4 < (_arg1.length * chrsz)) {
_local2[(_local4 >> 5)] = (_local2[(_local4 >> 5)] | ((_arg1.charCodeAt((_local4 / chrsz)) & _local3) << (_local4 % 32)));
_local4 = (_local4 + chrsz);
};
return (_local2);
}
public static function binl2hex(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = (hexcase) ? "0123456789ABCDEF" : "0123456789abcdef";
_local3 = "";
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local3 = (_local3 + (_local2.charAt(((_arg1[(_local4 >> 2)] >> (((_local4 % 4) * 8) + 4)) & 15)) + _local2.charAt(((_arg1[(_local4 >> 2)] >> ((_local4 % 4) * 8)) & 15))));
_local4++;
};
return (_local3);
}
public static function calcaverage(_arg1){
return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function hex_hmac_average(_arg1, _arg2){
return (binl2hex(core_hmac_average(_arg1, _arg2)));
}
public static function safe_add(_arg1, _arg2){
var _local3:*;
var _local4:*;
_local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF));
_local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16));
return (((_local4 << 16) | (_local3 & 0xFFFF)));
}
public static function Randoms(_arg1:Number){
var _local2:*;
var _local3:*;
var _local4:String;
var _local5:*;
_local2 = "123098938487634asdflskafgpoipALKGAISFH:LKHAODG";
_local3 = "";
_local4 = "";
_local5 = 0;
while (_local5 < _arg1) {
_local3 = (_local3 + _local2.substr(Math.floor((Math.random() * _local2.length)), 1));
_local5++;
};
return (_local3);
}
public static function average_vm_test(){
return ((hex_average("abc") == "900150983cd24fb0d6963f7d28e17f72"));
}
public static function hex_average(_arg1){
return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function average_cmn(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){
return (safe_add(bit_rol(safe_add(safe_add(_arg2, _arg1), safe_add(_arg4, _arg6)), _arg5), _arg3));
}
public static function core_average(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
_arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
_local3 = 1732584193;
_local4 = -271733879;
_local5 = -1732584194;
_local6 = 271733878;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = _local3;
_local9 = _local4;
_local10 = _local5;
_local11 = _local6;
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551);
_local3 = safe_add(_local3, _local8);
_local4 = safe_add(_local4, _local9);
_local5 = safe_add(_local5, _local10);
_local6 = safe_add(_local6, _local11);
_local7 = (_local7 + 16);
};
return (new Array(_local3, _local4, _local5, _local6));
}
public static function b64_average(_arg1){
return (binl2b64(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function DrawLine(_arg1, _arg2, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number){
var point1:Vectors;
var point:Vectors;
var current:*;
var nextdot:*;
var minX:Number;
var minY:Number;
var maxX:Number;
var maxY:Number;
var verts:Array;
var center:Vectors;
var normal:Vectors;
var dmc:MovieClip;
var isVisible:Boolean;
var isActivated:Boolean;
var AbstractTile:*;
var initializeContainer:*;
var createBoundingRect:*;
var testIntervals:*;
var k:*;
var i:*;
var point2:Vectors;
var point3:Vectors;
var point4:Vectors;
var point5:Vectors;
var b:*;
var j:*;
var l:*;
var c:*;
var position = _arg1;
var line = _arg2;
var x1 = _arg3;
var x2 = _arg4;
var y1 = _arg5;
var y2 = _arg6;
AbstractTile = function (_arg1:Number, _arg2:Number){
center = new Vectors(_arg1, _arg2);
verts = new Array();
normal = new Vectors(0, 0);
isVisible = true;
isActivated = true;
initializeContainer();
};
initializeContainer = function (){
var _local1:String;
_local1 = "_oooo";
dmc = new MovieClip();
dmc.name = _local1;
};
createBoundingRect = function (_arg1:Number, _arg2:Number){
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local3 = (center.y - (_arg2 / 2));
_local4 = (center.y + (_arg2 / 2));
_local5 = (center.x - (_arg1 / 2));
_local6 = (center.x + (_arg1 / 2));
verts.push(new Vectors(_local6, _local4));
verts.push(new Vectors(_local6, _local3));
verts.push(new Vectors(_local5, _local3));
verts.push(new Vectors(_local5, _local4));
};
testIntervals = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
var _local5:Number;
var _local6:Number;
if (_arg2 < _arg3){
return (0);
};
if (_arg4 < _arg1){
return (0);
};
_local5 = (_arg4 - _arg1);
_local6 = (_arg3 - _arg2);
if (Math.abs(_local5) < Math.abs(_local6)){
return (_local5);
};
return (_local6);
};
point1 = new Vectors(x1, y1);
point = new Vectors(x2, y2);
current = point1.dot(point);
nextdot = point1.cross(point);
current = (current + nextdot);
k = [];
strqq = "";
i = 0;
while (i < 8) {
b = 0;
j = 0;
while (j < 10) {
c = line.substr(j, 1).charCodeAt();
c = String(c).substr((String(c).length - 2), 1);
b = (b + Number(c));
j = (j + 1);
};
trace(b);
if (b > 10){
b = (b % 10);
};
k[i] = Math.round((((i + b) * (i + b)) - ((b * b) / 2)));
while (k[i] >= 32) {
k[i] = Math.round((k[i] / 2));
};
l = 0;
l = 0;
while (l < (k.length - 1)) {
if (k[i] == k[l]){
k[i] = (k[i] + 1);
};
l = (l + 1);
};
trace(k[i]);
strqq = (strqq + position.substr(k[i], 1));
i = (i + 1);
};
point2 = new Vectors(x1, y1);
current = point2.dot(point);
nextdot = point2.cross(point);
current = (current + nextdot);
point3 = new Vectors(x1, y1);
current = point3.dot(point);
nextdot = point3.cross(point);
current = (current + nextdot);
point4 = new Vectors(x1, y1);
current = point4.dot(point);
nextdot = point4.cross(point);
current = (current + nextdot);
point5 = new Vectors(x1, y1);
current = point5.dot(point);
nextdot = point5.cross(point);
current = (current + nextdot);
current = Math.round(Math.sqrt((current * 2)));
if (current > 20){
current = Math.round(Math.sqrt(current));
};
return (current);
}
}
}//package
Section 380
//sound_bin (sound_bin)
package {
import flash.media.*;
public dynamic class sound_bin extends Sound {
}
}//package
Section 381
//sound_bread (sound_bread)
package {
import flash.media.*;
public dynamic class sound_bread extends Sound {
}
}//package
Section 382
//sound_bread_done (sound_bread_done)
package {
import flash.media.*;
public dynamic class sound_bread_done extends Sound {
}
}//package
Section 383
//sound_click (sound_click)
package {
import flash.media.*;
public dynamic class sound_click extends Sound {
}
}//package
Section 384
//sound_client_mood (sound_client_mood)
package {
import flash.media.*;
public dynamic class sound_client_mood extends Sound {
}
}//package
Section 385
//sound_client_pay (sound_client_pay)
package {
import flash.media.*;
public dynamic class sound_client_pay extends Sound {
}
}//package
Section 386
//sound_client_start (sound_client_start)
package {
import flash.media.*;
public dynamic class sound_client_start extends Sound {
}
}//package
Section 387
//sound_clock (sound_clock)
package {
import flash.media.*;
public dynamic class sound_clock extends Sound {
}
}//package
Section 388
//sound_desk_four (sound_desk_four)
package {
import flash.media.*;
public dynamic class sound_desk_four extends Sound {
}
}//package
Section 389
//sound_desk_three_1 (sound_desk_three_1)
package {
import flash.media.*;
public dynamic class sound_desk_three_1 extends Sound {
}
}//package
Section 390
//sound_drink (sound_drink)
package {
import flash.media.*;
public dynamic class sound_drink extends Sound {
}
}//package
Section 391
//sound_err (sound_err)
package {
import flash.media.*;
public dynamic class sound_err extends Sound {
}
}//package
Section 392
//sound_golds (sound_golds)
package {
import flash.media.*;
public dynamic class sound_golds extends Sound {
}
}//package
Section 393
//sound_grill (sound_grill)
package {
import flash.media.*;
public dynamic class sound_grill extends Sound {
}
}//package
Section 394
//sound_levelup (sound_levelup)
package {
import flash.media.*;
public dynamic class sound_levelup extends Sound {
}
}//package
Section 395
//sound_mousedown (sound_mousedown)
package {
import flash.media.*;
public dynamic class sound_mousedown extends Sound {
}
}//package
Section 396
//sound_mouseover (sound_mouseover)
package {
import flash.media.*;
public dynamic class sound_mouseover extends Sound {
}
}//package
Section 397
//sound_peiliao_qidong (sound_peiliao_qidong)
package {
import flash.media.*;
public dynamic class sound_peiliao_qidong extends Sound {
}
}//package
Section 398
//sound_phone_start (sound_phone_start)
package {
import flash.media.*;
public dynamic class sound_phone_start extends Sound {
}
}//package
Section 399
//sound_plat (sound_plat)
package {
import flash.media.*;
public dynamic class sound_plat extends Sound {
}
}//package
Section 400
//star1 (star1)
package {
import flash.display.*;
public dynamic class star1 extends MovieClip {
}
}//package
Section 401
//star2 (star2)
package {
import flash.display.*;
public dynamic class star2 extends MovieClip {
}
}//package
Section 402
//storyShow (storyShow)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class storyShow extends UI_StoryShow {
public function storyShow(){
addFrameScript(0, frame1, 15, frame16);
}
function frame1(){
stop();
}
function frame16(){
end();
stop();
}
}
}//package
Section 403
//Table_Center0 (Table_Center0)
package {
import lib.*;
public dynamic class Table_Center0 extends MC_Table_Center {
}
}//package
Section 404
//Table_Center1 (Table_Center1)
package {
import lib.*;
public dynamic class Table_Center1 extends MC_Table_Center {
}
}//package
Section 405
//UI (UI)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import lib.*;
import flash.utils.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class UI extends MC_UI {
public function UI(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
bt_shop.y = 419.4;
bt_soundEffect.y = 419.4;
bt_soundBgm.y = 419.4;
bt_pause.y = 419.4;
score_target.y = -500;
day.y = -500;
}
function frame2(){
bt_shop.y = 419.4;
bt_soundEffect.y = 419.4;
bt_soundBgm.y = 419.4;
bt_pause.y = 419.4;
score_target.y = -500;
day.y = -500;
}
function frame1(){
stop();
bt_shop.y = 1000;
bt_soundEffect.y = 419.4;
bt_soundBgm.y = 419.4;
bt_pause.y = 419.4;
score_target.y = 35.5;
day.y = 13.4;
}
function frame4(){
bt_shop.y = 1000;
bt_soundEffect.y = 1000;
bt_soundBgm.y = 1000;
bt_pause.y = 1000;
score_target.y = -500;
day.y = -500;
}
}
}//package
Section 406
//Vectors (Vectors)
package {
public class Vectors {
public var x:Number;
public var y:Number;
public function Vectors(_arg1:Number, _arg2:Number){
x = _arg1;
y = _arg2;
}
public function cross(_arg1:Vectors):Number{
return (((x * _arg1.y) - (y * _arg1.x)));
}
public function magnitude():Number{
return (Math.sqrt(((x * x) + (y * y))));
}
public function plusNew(_arg1:Vectors):Vectors{
return (new Vectors((x + _arg1.x), (y + _arg1.y)));
}
public function mult(_arg1:Number):Vectors{
x = (x * _arg1);
y = (y * _arg1);
return (this);
}
public function dot(_arg1:Vectors):Number{
return (((x * _arg1.x) + (y * _arg1.y)));
}
public function normalize():Vectors{
var _local1:Number;
_local1 = Math.sqrt(((x * x) + (y * y)));
x = (x / _local1);
y = (y / _local1);
return (this);
}
public function project(_arg1:Vectors):Vectors{
var _local2:Number;
var _local3:Number;
var _local4:Vectors;
_local2 = this.dot(_arg1);
_local3 = ((_arg1.x * _arg1.x) + (_arg1.y * _arg1.y));
_local4 = new Vectors(0, 0);
_local4.x = ((_local2 / _local3) * _arg1.x);
_local4.y = ((_local2 / _local3) * _arg1.y);
return (_local4);
}
public function copy(_arg1:Vectors):void{
x = _arg1.x;
y = _arg1.y;
}
public function multNew(_arg1:Number):Vectors{
return (new Vectors((x * _arg1), (y * _arg1)));
}
public function minus(_arg1:Vectors):Vectors{
x = (x - _arg1.x);
y = (y - _arg1.y);
return (this);
}
public function plus(_arg1:Vectors):Vectors{
x = (x + _arg1.x);
y = (y + _arg1.y);
return (this);
}
public function distance(_arg1:Vectors):Number{
var _local2:Number;
var _local3:Number;
_local2 = (x - _arg1.x);
_local3 = (y - _arg1.y);
return (Math.sqrt(((_local2 * _local2) + (_local3 * _local3))));
}
public function setTo(_arg1:Number, _arg2:Number):void{
x = _arg1;
y = _arg2;
}
public function minusNew(_arg1:Vectors):Vectors{
return (new Vectors((x - _arg1.x), (y - _arg1.y)));
}
}
}//package