STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228131
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/62889165?noj=FRM62889165-16DC" width="1" height="1"></div>

Blue Knight.swf

This is the info page for
Flash #70802

(Click the ID number above for more basic data on this flash file.)


Text
play more adventure
games at:

high

medium

low

on

off

There are only two tragedies in life: one is not getting
what one wants, and the other is getting it.

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Developer   Programer   Art-Majordomo

Artist

Sound

Story

~ CREDITS ~

Test

Ma Liyong

Bao Youyuan
Zheng Xulian
Yu Zhifeng
Lin Weidong

Gu Tiancheng

Liu Yi

Bao Youyuan

Please enter your name:

ActionScript [AS3]

Section 1
//Bar0 (bars.Bar0) package bars { import flash.events.*; import flash.display.*; public class Bar0 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar0(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 2
//Bar1 (bars.Bar1) package bars { import flash.events.*; import flash.display.*; public class Bar1 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar1(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 3
//Bar10 (bars.Bar10) package bars { import flash.events.*; import flash.display.*; public class Bar10 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar10(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 4
//Bar11 (bars.Bar11) package bars { import flash.events.*; import flash.display.*; public class Bar11 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar11(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 5
//Bar2 (bars.Bar2) package bars { import flash.events.*; import flash.display.*; public class Bar2 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar2(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 6
//Bar3 (bars.Bar3) package bars { import flash.events.*; import flash.display.*; public class Bar3 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar3(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 7
//Bar4 (bars.Bar4) package bars { import flash.events.*; import flash.display.*; public class Bar4 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar4(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 8
//Bar5 (bars.Bar5) package bars { import flash.events.*; import flash.display.*; public class Bar5 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar5(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 9
//Bar6 (bars.Bar6) package bars { import flash.events.*; import flash.display.*; public class Bar6 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar6(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 10
//Bar7 (bars.Bar7) package bars { import flash.events.*; import flash.display.*; public class Bar7 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar7(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 11
//Bar8 (bars.Bar8) package bars { import flash.events.*; import flash.display.*; public class Bar8 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar8(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 12
//Bar9 (bars.Bar9) package bars { import flash.events.*; import flash.display.*; public class Bar9 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; private var achange;// = 0 public var dy; public var dyfix; private var par; public var dx; private var ly; private var lx; public function Bar9(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; achange = 0; man = false; dy = (-14 - (Math.random() * 15)); super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = par.playRoll; master = _arg4; yfix = master.y; if (t.x < master.x){ dx = ((Math.random() * 15) - 5); drot = ((Math.random() * 20) - 5); }; if (t.x >= master.x){ dx = ((-(Math.random()) * 15) + 5); drot = ((-(Math.random()) * 20) + 5); }; this.addEventListener(Event.ENTER_FRAME, barAction, false, 0, true); } private function barAction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 1.5); rotation = (rotation + drot); if ((((y >= yfix)) && ((dy > 0)))){ achange = 1; y = yfix; dy = (dy * -0.5); }; if (achange == 1){ alpha = (alpha - 0.05); }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((alpha <= 0)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, barAction); }; } } }//package bars
Section 13
//a_keyMC_189 (BlueKnight_US_English2_fla.a_keyMC_189) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class a_keyMC_189 extends MovieClip { public function a_keyMC_189(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 14
//aweaponshow_9 (BlueKnight_US_English2_fla.aweaponshow_9) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class aweaponshow_9 extends MovieClip { public function aweaponshow_9(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 15
//c_keyMC_200 (BlueKnight_US_English2_fla.c_keyMC_200) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class c_keyMC_200 extends MovieClip { public function c_keyMC_200(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 16
//curten_206 (BlueKnight_US_English2_fla.curten_206) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class curten_206 extends MovieClip { public function curten_206(){ addFrameScript(7, frame8, 16, frame17); } function frame8(){ stop(); } function frame17(){ gotoAndStop(1); } } }//package BlueKnight_US_English2_fla
Section 17
//d_keyMC_191 (BlueKnight_US_English2_fla.d_keyMC_191) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class d_keyMC_191 extends MovieClip { public function d_keyMC_191(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 18
//down_keyMC_205 (BlueKnight_US_English2_fla.down_keyMC_205) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class down_keyMC_205 extends MovieClip { public function down_keyMC_205(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 19
//gameocertitle_126 (BlueKnight_US_English2_fla.gameocertitle_126) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class gameocertitle_126 extends MovieClip { public function gameocertitle_126(){ addFrameScript(0, frame1, 19, frame20); } function frame1(){ stop(); } function frame20(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 20
//huamianzhiliang_223 (BlueKnight_US_English2_fla.huamianzhiliang_223) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class huamianzhiliang_223 extends MovieClip { public function huamianzhiliang_223(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 21
//i_keyMC_193 (BlueKnight_US_English2_fla.i_keyMC_193) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class i_keyMC_193 extends MovieClip { public function i_keyMC_193(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 22
//j_keyMC_192 (BlueKnight_US_English2_fla.j_keyMC_192) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class j_keyMC_192 extends MovieClip { public function j_keyMC_192(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 23
//k_keyMC_194 (BlueKnight_US_English2_fla.k_keyMC_194) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class k_keyMC_194 extends MovieClip { public function k_keyMC_194(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 24
//l_keyMC_195 (BlueKnight_US_English2_fla.l_keyMC_195) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class l_keyMC_195 extends MovieClip { public function l_keyMC_195(){ addFrameScript(0, frame1, 16, frame17); } function frame1(){ stop(); } function frame17(){ gotoAndStop(1); } } }//package BlueKnight_US_English2_fla
Section 25
//left_keyMC_203 (BlueKnight_US_English2_fla.left_keyMC_203) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class left_keyMC_203 extends MovieClip { public function left_keyMC_203(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 26
//loadbar_249 (BlueKnight_US_English2_fla.loadbar_249) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class loadbar_249 extends MovieClip { public function loadbar_249(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 27
//musicmc_247 (BlueKnight_US_English2_fla.musicmc_247) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class musicmc_247 extends MovieClip { public function musicmc_247(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 28
//right_keyMC_204 (BlueKnight_US_English2_fla.right_keyMC_204) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class right_keyMC_204 extends MovieClip { public function right_keyMC_204(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 29
//road_232 (BlueKnight_US_English2_fla.road_232) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class road_232 extends MovieClip { public function road_232(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 30
//rolllife_8 (BlueKnight_US_English2_fla.rolllife_8) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class rolllife_8 extends MovieClip { public function rolllife_8(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 31
//s_keyMC_190 (BlueKnight_US_English2_fla.s_keyMC_190) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class s_keyMC_190 extends MovieClip { public function s_keyMC_190(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 32
//shead_178 (BlueKnight_US_English2_fla.shead_178) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class shead_178 extends MovieClip { public function shead_178(){ addFrameScript(0, frame1, 19, frame20, 34, frame35); } function frame1(){ stop(); } function frame20(){ stop(); } function frame35(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 33
//shengyinkaiguan_224 (BlueKnight_US_English2_fla.shengyinkaiguan_224) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class shengyinkaiguan_224 extends MovieClip { public function shengyinkaiguan_224(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 34
//sound3mc_246 (BlueKnight_US_English2_fla.sound3mc_246) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class sound3mc_246 extends MovieClip { public function sound3mc_246(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 35
//soundmc_245 (BlueKnight_US_English2_fla.soundmc_245) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class soundmc_245 extends MovieClip { public function soundmc_245(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 36
//space_keyMC_201 (BlueKnight_US_English2_fla.space_keyMC_201) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class space_keyMC_201 extends MovieClip { public function space_keyMC_201(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 37
//surprise_63 (BlueKnight_US_English2_fla.surprise_63) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class surprise_63 extends MovieClip { public function surprise_63(){ addFrameScript(13, frame14); } function frame14(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 38
//up_keyMC_202 (BlueKnight_US_English2_fla.up_keyMC_202) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class up_keyMC_202 extends MovieClip { public function up_keyMC_202(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 39
//w_keyMC_188 (BlueKnight_US_English2_fla.w_keyMC_188) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class w_keyMC_188 extends MovieClip { public function w_keyMC_188(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 40
//x_keyMC_199 (BlueKnight_US_English2_fla.x_keyMC_199) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class x_keyMC_199 extends MovieClip { public function x_keyMC_199(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 41
//z_keyMC_198 (BlueKnight_US_English2_fla.z_keyMC_198) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class z_keyMC_198 extends MovieClip { public function z_keyMC_198(){ addFrameScript(0, frame1, 16, frame17); } function frame1(){ stop(); } function frame17(){ gotoAndStop(1); } } }//package BlueKnight_US_English2_fla
Section 42
//zz2_210 (BlueKnight_US_English2_fla.zz2_210) package BlueKnight_US_English2_fla { import flash.display.*; public dynamic class zz2_210 extends MovieClip { public function zz2_210(){ addFrameScript(6, frame7, 30, frame31); } function frame7(){ stop(); } function frame31(){ stop(); } } }//package BlueKnight_US_English2_fla
Section 43
//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 44
//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 45
//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 46
//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 47
//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 48
//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 49
//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 50
//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 51
//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 52
//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 53
//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 54
//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 55
//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 56
//ga_internal (com.google.analytics.core.ga_internal) package com.google.analytics.core { public namespace ga_internal; }//package com.google.analytics.core
Section 57
//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 58
//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 59
//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 60
//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 61
//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 62
//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 63
//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 64
//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 65
//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 66
//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 67
//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 68
//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 69
//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 70
//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 71
//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 72
//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 73
//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 74
//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 75
//_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 76
//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 77
//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 78
//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 79
//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 80
//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 81
//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 82
//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 83
//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 84
//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 85
//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 86
//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 87
//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 88
//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 89
//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 90
//Style (com.google.analytics.debug.Style) package com.google.analytics.debug { public const Style:_Style = new _Style(); }//package com.google.analytics.debug
Section 91
//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 92
//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 93
//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 94
//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 95
//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 96
//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 97
//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 98
//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 99
//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 100
//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 101
//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 102
//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 103
//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 104
//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 105
//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 106
//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 107
//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 108
//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 109
//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 110
//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 111
//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 112
//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 113
//Cookie (data.Cookie) package data { import flash.net.*; public class Cookie { private const id:String = "Blue_Knight"; private static var so:SharedObject; public static var da:Object; public function Cookie(){ initSo(); initData(); } public function del():void{ so.close(); } private function initData():void{ var _local1:Array; da = so.data; if (da.arr == null){ _local1 = [{name:"Tommy L", score:11000}, {name:"Isabel R", score:9200}, {name:"Mike Strike", score:8900}, {name:"Gina M", score:7200}, {name:"Antonio T", score:5600}, {name:"Alain C", score:4000}, {name:"Linda M", score:3500}, {name:"Santina Z", score:2900}, {name:"Susan D", score:1300}, {name:"Richard BB", score:500}]; da.arr = _local1; so.flush(); }; } private function initSo():void{ so = SharedObject.getLocal(id, "/"); } public static function clear():void{ so.clear(); } } }//package data
Section 114
//Data (data.Data) package data { public class Data { public static var relivecrossnm = 0; public static var attackkeycode:Number = 74; public static var scoresavenm = 0; public static var secondswordnm:Number = 1; public static var scnm = 20; public static var slifenm = 150; public static var throwkeycode:Number = 73; public static var slifexxxnm = 150; public static var sswordnm:Number = 1; public static var rightkeycode:Number = 68; public static var sSdefendnm:Number = 2; public static var gameend:Number = 0; public static var continueGame:Boolean = false; public static var lifexxxnm = 150; public static var lifenm = 150; public static var levelnm:Number = 1; public static var Sdefendnm:Number = 2; public static var upkeycode:Number = 87; public static var sscoresavenm = 0; public static var canmusic:Boolean = true; public static var defendkeycode:Number = 76; public static var scorenm = 0; public static var jumpkeycode:Number = 75; public static var cnm = 20; public static var ssheildnm:Number = 1; public static var leftkeycode:Number = 65; public static var downkeycode:Number = 83; public static var sSAttacknm:Number = 10; public static var sheildnm:Number = 1; public static var ssecondswordnm:Number = 1; public static var slevelnm:Number = 1; public static var SAttacknm:Number = 10; public static var swordnm:Number = 1; public static var sscorenm = 0; } }//package data
Section 115
//Arrow (enemies.Arrow) package enemies { import flash.events.*; import flash.display.*; public class Arrow extends MovieClip { public var yfix; public var man:Boolean;// = false public var xxscale; private var t; public var roll; public var SAttack;// = 20 public var dy;// = 0 private var par; public var dx; public var rot;// = 0 public function Arrow(_arg1:Number=0, _arg2:Number=0, _arg3=null){ man = false; SAttack = 20; dy = 0; rot = 0; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, arrowAction, false, 0, true); SoundsManager.playSound("feidao"); } function frame1(){ stop(); } private function arrowAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; x = (x + dx); y = (y + dy); rotation = (rotation + rot); _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 18)))) && ((this.currentFrame == 1)))){ if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; x = 900; SoundsManager.playSound("kanzhong"); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); x = (t.x + (40 * t.scaleX)); dx = (dx * -0.4); rot = (30 + (Math.random() * 30)); dy = 10; this.gotoAndStop(2); SoundsManager.playSound("dun"); }; }; if ((((((x > 700)) || ((x < -100)))) || ((y >= yfix)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, arrowAction); }; } } }//package enemies
Section 116
//BarRoll (enemies.BarRoll) package enemies { import flash.display.*; public class BarRoll extends MovieClip { public var dy:Number;// = 0 public function BarRoll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 4, frame5); super(); x = _arg1; y = _arg2; } function frame1(){ stop(); } function frame5(){ stop(); } } }//package enemies
Section 117
//BirdmanRoll (enemies.BirdmanRoll) package enemies { import flash.display.*; public class BirdmanRoll extends MovieClip { public var dy:Number;// = 0 public function BirdmanRoll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 18, frame19, 68, frame69, 81, frame82, 92, frame93, 169, frame170); super(); x = _arg1; y = _arg2; } function frame82(){ gotoAndStop(1); } function frame170(){ stop(); } function frame93(){ stop(); } function frame1(){ stop(); } function frame19(){ gotoAndPlay(2); } function frame69(){ gotoAndStop(1); } } }//package enemies
Section 118
//Boss1State (enemies.Boss1State) package enemies { import flash.display.*; public class Boss1State extends MovieClip { private var yPos; public var lifeMC_mc:MovieClip; public var lifeMC:MovieClip; private var xPos; public function Boss1State(_arg1:Number=0, _arg2:Number=0){ xPos = _arg1; yPos = _arg2; initPos(); initDis(); } private function initPos():void{ x = xPos; y = yPos; } private function initDis():void{ lifeMC = (this.getChildByName("lifeMC_mc") as MovieClip); } } }//package enemies
Section 119
//Boss2State (enemies.Boss2State) package enemies { import flash.display.*; public class Boss2State extends MovieClip { private var yPos; public var lifeMC_mc:MovieClip; public var lifeMC:MovieClip; private var xPos; public function Boss2State(_arg1:Number=0, _arg2:Number=0){ xPos = _arg1; yPos = _arg2; initPos(); initDis(); } private function initPos():void{ x = xPos; y = yPos; } private function initDis():void{ lifeMC = (this.getChildByName("lifeMC_mc") as MovieClip); } } }//package enemies
Section 120
//Boss3State (enemies.Boss3State) package enemies { import flash.display.*; public class Boss3State extends MovieClip { private var yPos; public var lifeMC_mc:MovieClip; public var lifeMC:MovieClip; private var xPos; public function Boss3State(_arg1:Number=0, _arg2:Number=0){ xPos = _arg1; yPos = _arg2; initPos(); initDis(); } private function initPos():void{ x = xPos; y = yPos; } private function initDis():void{ lifeMC = (this.getChildByName("lifeMC_mc") as MovieClip); } } }//package enemies
Section 121
//Boss4State (enemies.Boss4State) package enemies { import flash.display.*; public class Boss4State extends MovieClip { private var yPos; public var lifeMC_mc:MovieClip; public var lifeMC:MovieClip; private var xPos; public function Boss4State(_arg1:Number=0, _arg2:Number=0){ xPos = _arg1; yPos = _arg2; initPos(); initDis(); } private function initPos():void{ x = xPos; y = yPos; } private function initDis():void{ lifeMC = (this.getChildByName("lifeMC_mc") as MovieClip); } } }//package enemies
Section 122
//Boss5State (enemies.Boss5State) package enemies { import flash.display.*; public class Boss5State extends MovieClip { private var yPos; public var lifeMC_mc:MovieClip; public var lifeMC:MovieClip; private var xPos; public function Boss5State(_arg1:Number=0, _arg2:Number=0){ xPos = _arg1; yPos = _arg2; initPos(); initDis(); } private function initPos():void{ x = xPos; y = yPos; } private function initDis():void{ lifeMC = (this.getChildByName("lifeMC_mc") as MovieClip); } } }//package enemies
Section 123
//Boss6State (enemies.Boss6State) package enemies { import flash.display.*; public class Boss6State extends MovieClip { private var yPos; public var lifeMC_mc:MovieClip; public var lifeMC:MovieClip; private var xPos; public function Boss6State(_arg1:Number=0, _arg2:Number=0){ xPos = _arg1; yPos = _arg2; initPos(); initDis(); } private function initPos():void{ x = xPos; y = yPos; } private function initDis():void{ lifeMC = (this.getChildByName("lifeMC_mc") as MovieClip); } } }//package enemies
Section 124
//Bullet (enemies.Bullet) package enemies { import flash.events.*; import flash.display.*; public class Bullet extends MovieClip { public var yfix; public var man:Boolean;// = false public var xxscale; private var t; public var roll; private var par; public function Bullet(_arg1:Number, _arg2:Number, _arg3){ man = false; super(); addFrameScript(5, frame6); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, fistAction, false, 0, true); } function frame6(){ } private function fistAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; _local2 = (t.x + (50 * t.scaleX)); _local3 = (t.y - 64); if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 12)))){ if ((((t.roll.currentFrame < t.jump)) || ((((t.roll.currentFrame >= t.attack)) && ((t.roll.currentFrame < t.attack2)))))){ _local5 = 0; while (_local5 < 10) { _local4 = ("fire" + _local5); _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); }; if ((((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame < t.attack)))) || ((((t.roll.currentFrame >= t.attack2)) && ((t.roll.currentFrame < t.defend)))))){ _local5 = 0; while (_local5 < 10) { _local4 = ("fire" + _local5); _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); t.roll.dy = -24.2; }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 10) { _local4 = ("fire" + _local5); _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); }; }; if (this.currentFrame == 6){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fistAction); }; } } }//package enemies
Section 125
//ChestRoll (enemies.ChestRoll) package enemies { import flash.display.*; public class ChestRoll extends MovieClip { public var dy:Number;// = 0 public function ChestRoll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 59, frame60); super(); x = _arg1; y = _arg2; } function frame1(){ stop(); } function frame60(){ stop(); } } }//package enemies
Section 126
//Deathhead1Roll (enemies.Deathhead1Roll) package enemies { import flash.display.*; public class Deathhead1Roll extends MovieClip { public var dy:Number;// = 0 public function Deathhead1Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 16, frame17, 69, frame70, 82, frame83, 197, frame198); super(); x = _arg1; y = _arg2; } function frame70(){ gotoAndStop(1); } function frame1(){ stop(); } function frame17(){ gotoAndPlay(2); } function frame83(){ gotoAndStop(1); } function frame198(){ stop(); } } }//package enemies
Section 127
//Deathhead2Roll (enemies.Deathhead2Roll) package enemies { import flash.display.*; public class Deathhead2Roll extends MovieClip { public var dy:Number;// = 0 public function Deathhead2Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 11, frame12, 66, frame67, 79, frame80, 194, frame195); super(); x = _arg1; y = _arg2; } function frame80(){ gotoAndStop(1); } function frame12(){ gotoAndPlay(2); } function frame1(){ stop(); } function frame195(){ stop(); } function frame67(){ gotoAndStop(1); } } }//package enemies
Section 128
//DragonknightRoll (enemies.DragonknightRoll) package enemies { import flash.display.*; public class DragonknightRoll extends MovieClip { public var dy:Number;// = 0 public function DragonknightRoll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 16, frame17, 19, frame20, 41, frame42, 77, frame78, 112, frame113, 144, frame145, 217, frame218, 242, frame243, 252, frame253, 290, frame291); super(); x = _arg1; y = _arg2; } function frame78(){ gotoAndStop(20); } function frame291(){ gotoAndPlay(424); } function frame218(){ stop(); } function frame1(){ stop(); } function frame17(){ gotoAndPlay(2); } function frame20(){ stop(); } function frame113(){ stop(); } function frame243(){ gotoAndStop(20); } function frame42(){ gotoAndPlay(25); } function frame253(){ stop(); } function frame145(){ gotoAndPlay(56); } } }//package enemies
Section 129
//EDagger (enemies.EDagger) package enemies { import flash.events.*; import flash.display.*; public class EDagger extends MovieClip { public var yfix; public var man:Boolean;// = false public var xxscale; private var t; public var roll; public var SAttack;// = 15 public var dy;// = 0 private var par; public var dx; public var rot;// = 0 public function EDagger(_arg1:Number=0, _arg2:Number=0, _arg3=null){ man = false; SAttack = 15; dy = 0; rot = 0; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, arrowAction, false, 0, true); SoundsManager.playSound("feidao"); } function frame1(){ stop(); } private function arrowAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; x = (x + dx); y = (y + dy); rotation = (rotation + rot); _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 18)))) && ((this.currentFrame == 1)))){ if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; x = 900; SoundsManager.playSound("kanzhong"); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); x = (t.x + (40 * t.scaleX)); dx = (dx * -0.4); rot = (30 + (Math.random() * 30)); dy = 10; this.gotoAndStop(2); SoundsManager.playSound("dun"); }; }; if ((((((x > 700)) || ((x < -100)))) || ((y >= yfix)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, arrowAction); }; } } }//package enemies
Section 130
//ESwordShadow (enemies.ESwordShadow) package enemies { import flash.events.*; import flash.display.*; public class ESwordShadow extends MovieClip { public var yfix; public var master; private var hits;// = 0 public var xxscale; public var man:Boolean;// = false private var t; public var roll; public var SAttack;// = 20 private var par; public function ESwordShadow(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hits = 0; man = false; SAttack = 20; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, eswordshadowAction, false, 0, true); } private function eswordshadowAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 18)))){ if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; SoundsManager.playSound("kanzhong"); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); if (hits == 0){ SoundsManager.playSound("dun"); hits++; }; }; }; if (this.currentFrame == 5){ this.removeEventListener(Event.ENTER_FRAME, eswordshadowAction); par.container3.removeChild(this); }; } } }//package enemies
Section 131
//ESwordShadow2 (enemies.ESwordShadow2) package enemies { import flash.events.*; import flash.display.*; public class ESwordShadow2 extends MovieClip { public var yfix; public var man:Boolean;// = false private var hits;// = 0 public var xxscale; private var t; public var roll; public var SAttack;// = 25 private var par; public function ESwordShadow2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hits = 0; man = false; SAttack = 25; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, eswordshadowAction, false, 0, true); } private function eswordshadowAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 18)))){ if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; SoundsManager.playSound("kanzhong"); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); if (hits == 0){ SoundsManager.playSound("dun"); hits++; }; }; }; if (this.currentFrame == 5){ this.removeEventListener(Event.ENTER_FRAME, eswordshadowAction); par.container3.removeChild(this); }; } } }//package enemies
Section 132
//ESwordShadow3 (enemies.ESwordShadow3) package enemies { import flash.events.*; import flash.display.*; public class ESwordShadow3 extends MovieClip { public var yfix; public var man:Boolean;// = false private var hits;// = 0 public var xxscale; private var t; public var roll; public var SAttack;// = 30 private var par; public function ESwordShadow3(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hits = 0; man = false; SAttack = 30; super(); addFrameScript(4, frame5); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, eswordshadowAction, false, 0, true); } private function eswordshadowAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 18)))){ if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; SoundsManager.playSound("kanzhong"); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); if (hits == 0){ SoundsManager.playSound("dun"); hits++; }; }; }; if (this.currentFrame == 5){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, eswordshadowAction); }; } function frame5(){ stop(); } } }//package enemies
Section 133
//Feather (enemies.Feather) package enemies { import flash.events.*; import flash.display.*; public class Feather extends MovieClip { public var yfix; public var actionstate;// = 1 public var number; public var man:Boolean;// = false public var xxscale; private var t; public var roll; public var SAttack;// = 15 public var dy; private var par; public var dx; public function Feather(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; man = false; SAttack = 15; super(); addFrameScript(0, frame1, 79, frame80); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, arrowAction, false, 0, true); } public function del(){ var _local1:*; var _local2:uint; par.container3.removeChild(this); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, arrowAction); } function frame80(){ stop(); } function frame1(){ stop(); } private function arrowAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; if (actionstate == 0){ }; if (actionstate == 1){ _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); rotation = (Math.atan2(dy, dx) * (180 / Math.PI)); if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 18)))) && ((this.currentFrame == 1)))){ if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; this.gotoAndStop(80); SoundsManager.playSound("kanzhong"); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 15) { _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); x = _local2; y = _local3; dx = 0; dy = 0; this.gotoAndStop(80); SoundsManager.playSound("dun"); }; }; if (y > yfix){ y = yfix; this.gotoAndPlay(2); }; }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 80)))){ del(); }; }; } } }//package enemies
Section 134
//Fireball1 (enemies.Fireball1) package enemies { import flash.events.*; import flash.display.*; public class Fireball1 extends MovieClip { public var yfix; public var actionstate;// = 1 public var number; public var man:Boolean;// = false public var xxscale; private var t; public var roll; public var SAttack;// = 30 public var dy;// = 0 private var par; public var dx;// = 0 public function Fireball1(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; man = false; SAttack = 30; dx = 0; dy = 0; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, arrowAction, false, 0, true); } public function del(){ var _local1:*; var _local2:uint; par.container3.removeChild(this); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, arrowAction); } private function arrowAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; if (actionstate == 0){ }; if (actionstate == 1){ x = (x + dx); if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 18)))) && ((t.roll.currentFrame < t.hurt2)))){ _local2 = ((t.x + (60 * t.scaleX)) - (Math.random() * 20)); _local3 = (((t.y - 74) + t.roll.y) + (Math.random() * 20)); if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 30) { _local4 = new FireStar2(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-15 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-15 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 30) { _local4 = new FireStar2(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-15 * t.scaleX); }; dx = 0; x = 800; SoundsManager.playSound("kuaihuo"); }; if ((((x > 700)) || ((x < -100)))){ del(); }; }; } } }//package enemies
Section 135
//Fireball2 (enemies.Fireball2) package enemies { import flash.events.*; import flash.display.*; public class Fireball2 extends MovieClip { public var yfix; public var actionstate;// = 1 public var number; public var man:Boolean;// = false private var t; public var roll; public var SAttack;// = 30 public var xxscale; public var dy;// = 0 private var par; private var fnm; public var dx; private var heigh;// = 0 public function Fireball2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ heigh = 0; actionstate = 1; man = false; SAttack = 30; dy = 0; super(); addFrameScript(5, frame6, 13, frame14); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, fireballAction, false, 0, true); } public function del(){ var _local1:*; var _local2:uint; par.container3.removeChild(this); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, fireballAction); } function frame14(){ stop(); } function frame6(){ gotoAndPlay(1); } private function fireballAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:uint; if (actionstate == 0){ }; if (actionstate == 1){ x = (x + dx); y = (y + dy); _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 18)))){ if (t.roll.currentFrame < t.defend){ _local4 = 0; while (_local4 < 15) { fnm = new FireStar2(_local2, _local3, par.container3); _local4++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; if (this.currentFrame <= 6){ dx = 0; dy = 0; this.gotoAndStop(14); x = 800; SoundsManager.playSound("kuaihuo"); }; }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local4 = 0; while (_local4 < 15) { fnm = new FireStar2(_local2, _local3, par.container3); _local4++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); x = (t.x + (40 * t.scaleX)); if (this.currentFrame <= 6){ dx = 0; dy = 0; y = yfix; this.gotoAndPlay(7); SoundsManager.playSound("kuaihuo"); }; }; }; if ((((this.currentFrame >= 7)) && ((this.currentFrame <= 12)))){ heigh++; _local2 = ((Math.random() * 60) - 30); _local3 = (((Math.random() * 10) + 30) - (30 * heigh)); _local5 = 0; while (_local5 < 13) { fnm = new FireStar2(_local2, _local3, this); _local5++; }; }; if ((((y >= yfix)) && ((this.currentFrame <= 6)))){ y = yfix; dx = 0; dy = 0; this.gotoAndPlay(7); SoundsManager.playSound("kuaihuo"); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 14)))){ del(); }; }; } } }//package enemies
Section 136
//Fireball3 (enemies.Fireball3) package enemies { import flash.events.*; import flash.display.*; public class Fireball3 extends MovieClip { public var yfix; public var actionstate;// = 1 public var chooseenemies;// = 1 public var number; public var man:Boolean;// = false public var xxscale; public var roll; public var SAttack;// = 20 public var dy;// = 0 private var par; private var fnm; public var dx; private var heigh;// = 0 public function Fireball3(_arg1:Number=0, _arg2:Number=0, _arg3=null){ heigh = 0; actionstate = 1; chooseenemies = 1; man = false; SAttack = 20; dy = 0; super(); addFrameScript(5, frame6, 13, frame14); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; scaleX = (scaleY = 0.8); this.addEventListener(Event.ENTER_FRAME, fireballAction, false, 0, true); } public function del(){ var _local1:*; var _local2:uint; par.container3.removeChild(this); if (chooseenemies == 1){ _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; }; this.removeEventListener(Event.ENTER_FRAME, fireballAction); } function frame14(){ stop(); } function frame6(){ gotoAndPlay(1); } private function fireballAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; if (actionstate == 0){ }; if (actionstate == 1){ x = (x + dx); y = (y + dy); if ((((this.currentFrame >= 7)) && ((this.currentFrame <= 12)))){ heigh++; _local2 = ((Math.random() * 60) - 30); _local3 = (((Math.random() * 10) + 30) - (30 * heigh)); _local4 = 0; while (_local4 < 13) { fnm = new FireStar2(_local2, _local3, this); _local4++; }; }; if ((((y >= yfix)) && ((this.currentFrame <= 6)))){ y = yfix; dx = 0; dy = 0; this.gotoAndPlay(7); SoundsManager.playSound("kuaihuo"); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 14)))){ del(); }; }; } } }//package enemies
Section 137
//Fist (enemies.Fist) package enemies { import flash.events.*; import flash.display.*; public class Fist extends MovieClip { public var yfix; public var man:Boolean;// = false private var hits;// = 0 public var xxscale; private var t; public var roll; public var SAttack;// = 15 private var par; public function Fist(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hits = 0; man = false; SAttack = 15; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, fistAction, false, 0, true); } private function fistAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; _local2 = (t.x + (50 * t.scaleX)); _local3 = (t.y - 64); if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 12)))){ if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 10) { _local4 = ("fire" + _local5); _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); t.roll.dy = (t.roll.dy - 24.2); t.life = (t.life - (SAttack - t.Sdefend)); }; SoundsManager.playSound("kanzhong"); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 10) { _local4 = ("fire" + _local5); _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); if (hits == 0){ SoundsManager.playSound("dun"); hits++; }; }; }; if (this.currentFrame == 6){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fistAction); }; } } }//package enemies
Section 138
//HecterRoll (enemies.HecterRoll) package enemies { import flash.display.*; public class HecterRoll extends MovieClip { public var dy:Number;// = 0 public var chooseframe; public function HecterRoll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 14, frame15, 35, frame36, 41, frame42, 88, frame89, 124, frame125, 131, frame132, 141, frame142, 235, frame236, 254, frame255, 266, frame267); super(); x = _arg1; y = _arg2; } function frame89(){ gotoAndStop(1); } function frame15(){ gotoAndPlay(2); } function frame1(){ stop(); } function frame36(){ chooseframe = (Math.random() * 5); if (chooseframe < 3){ this.gotoAndPlay(102); }; if (chooseframe >= 3){ this.gotoAndPlay(37); }; } function frame236(){ stop(); } function frame125(){ gotoAndStop(1); } function frame42(){ gotoAndStop(1); } function frame132(){ this.gotoAndPlay(200); } function frame255(){ stop(); } function frame267(){ gotoAndStop(1); } function frame142(){ gotoAndStop(1); } } }//package enemies
Section 139
//HecterS (enemies.HecterS) package enemies { import flash.events.*; import flash.display.*; public class HecterS extends MovieClip { public var man:Boolean;// = false private var t; public var roll; private var par; public function HecterS(_arg1:Number, _arg2:Number, _arg3){ man = false; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, hecterSAction, false, 0, true); } private function hecterSAction(_arg1:Event):void{ this.alpha = (this.alpha - 0.15); if (this.alpha <= 0){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, hecterSAction); }; } } }//package enemies
Section 140
//HorsemanRoll (enemies.HorsemanRoll) package enemies { import flash.display.*; public class HorsemanRoll extends MovieClip { public var dy:Number;// = 0 public function HorsemanRoll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 11, frame12, 59, frame60, 119, frame120, 138, frame139, 153, frame154, 160, frame161); super(); x = _arg1; y = _arg2; } function frame154(){ stop(); } function frame161(){ gotoAndPlay(75); } function frame12(){ gotoAndPlay(3); } function frame1(){ stop(); } function frame120(){ gotoAndStop(1); } function frame139(){ gotoAndStop(1); } function frame60(){ gotoAndPlay(75); } } }//package enemies
Section 141
//IBullet (enemies.IBullet) package enemies { import flash.events.*; import flash.display.*; public class IBullet extends MovieClip { public var yfix; public var man:Boolean;// = false public var xxscale; private var t; public var roll; public var dy; private var par; public var dx; public function IBullet(_arg1:Number, _arg2:Number, _arg3){ man = false; super(); addFrameScript(0, frame1, 5, frame6); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, ibulletAction, false, 0, true); } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > yfix)))) || ((((_local3 > _local2)) && ((_local1.y < yfix)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } function frame1(){ stop(); } function frame6(){ stop(); } private function ibulletAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; changeDepth(); if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); if (y > yfix){ y = yfix; this.gotoAndPlay(2); }; }; _local2 = (t.x + (50 * t.scaleX)); _local3 = (t.y - 64); if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 12)))) && ((this.currentFrame == 1)))){ if ((((t.roll.currentFrame < t.jump)) || ((((t.roll.currentFrame >= t.attack)) && ((t.roll.currentFrame < t.attack2)))))){ _local5 = 0; while (_local5 < 10) { _local4 = ("fire" + _local5); _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - 5); SoundsManager.playSound("kanzhong"); }; if ((((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame < t.attack)))) || ((((t.roll.currentFrame >= t.attack2)) && ((t.roll.currentFrame < t.defend)))))){ _local5 = 0; while (_local5 < 10) { _local4 = ("fire" + _local5); _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); t.roll.dy = -24.2; t.life = (t.life - 5); SoundsManager.playSound("kanzhong"); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local5 = 0; while (_local5 < 10) { _local4 = ("fire" + _local5); _local4 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); SoundsManager.playSound("dun"); }; par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, ibulletAction); }; if (this.currentFrame == 6){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, ibulletAction); }; } } }//package enemies
Section 142
//MageRoll (enemies.MageRoll) package enemies { import flash.display.*; public class MageRoll extends MovieClip { public var dy:Number;// = 0 public function MageRoll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 8, frame9, 37, frame38, 81, frame82, 93, frame94, 216, frame217, 241, frame242); super(); x = _arg1; y = _arg2; } function frame82(){ gotoAndStop(1); } function frame94(){ gotoAndStop(1); } function frame217(){ stop(); } function frame1(){ stop(); } function frame9(){ gotoAndPlay(2); } function frame38(){ gotoAndStop(1); } function frame242(){ gotoAndPlay(50); } } }//package enemies
Section 143
//Rock1Roll (enemies.Rock1Roll) package enemies { import flash.display.*; public class Rock1Roll extends MovieClip { public var dy:Number;// = 0 public function Rock1Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 20, frame21, 80, frame81, 93, frame94, 123, frame124, 236, frame237); super(); x = _arg1; y = _arg2; } function frame81(){ gotoAndStop(1); } function frame94(){ gotoAndStop(1); } function frame1(){ stop(); } function frame21(){ gotoAndPlay(2); } function frame237(){ stop(); } function frame124(){ gotoAndPlay(30); } } }//package enemies
Section 144
//Rock2Roll (enemies.Rock2Roll) package enemies { import flash.display.*; public class Rock2Roll extends MovieClip { public var dy:Number;// = 0 public function Rock2Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 20, frame21, 80, frame81, 93, frame94, 123, frame124, 236, frame237); super(); x = _arg1; y = _arg2; } function frame81(){ gotoAndStop(1); } function frame94(){ gotoAndStop(1); } function frame1(){ stop(); } function frame21(){ gotoAndPlay(2); } function frame237(){ stop(); } function frame124(){ gotoAndPlay(30); } } }//package enemies
Section 145
//Rock3Roll (enemies.Rock3Roll) package enemies { import flash.display.*; public class Rock3Roll extends MovieClip { public var dy:Number;// = 0 public function Rock3Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 16, frame17, 79, frame80, 124, frame125, 138, frame139, 168, frame169, 281, frame282, 334, frame335); super(); x = _arg1; y = _arg2; } function frame80(){ gotoAndStop(1); } function frame169(){ gotoAndPlay(90); } function frame335(){ gotoAndStop(1); } function frame282(){ stop(); } function frame1(){ stop(); } function frame17(){ gotoAndPlay(6); } function frame125(){ gotoAndStop(1); } function frame139(){ gotoAndStop(1); } } }//package enemies
Section 146
//Soldier1Roll (enemies.Soldier1Roll) package enemies { import flash.display.*; public class Soldier1Roll extends MovieClip { public var dy:Number;// = 0 public function Soldier1Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 8, frame9, 69, frame70, 82, frame83, 197, frame198); super(); x = _arg1; y = _arg2; } function frame70(){ gotoAndStop(1); } function frame1(){ stop(); } function frame9(){ gotoAndPlay(2); } function frame83(){ gotoAndStop(1); } function frame198(){ stop(); stop(); } } }//package enemies
Section 147
//Soldier2Roll (enemies.Soldier2Roll) package enemies { import flash.display.*; public class Soldier2Roll extends MovieClip { public var dy:Number;// = 0 public function Soldier2Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 8, frame9, 69, frame70, 82, frame83, 197, frame198); super(); x = _arg1; y = _arg2; } function frame70(){ gotoAndStop(1); } function frame1(){ stop(); } function frame9(){ gotoAndPlay(2); } function frame83(){ gotoAndStop(1); } function frame198(){ stop(); } } }//package enemies
Section 148
//Soldier3Roll (enemies.Soldier3Roll) package enemies { import flash.display.*; public class Soldier3Roll extends MovieClip { public var dy:Number;// = 0 public function Soldier3Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 8, frame9, 69, frame70, 82, frame83, 197, frame198); super(); x = _arg1; y = _arg2; } function frame70(){ gotoAndStop(1); } function frame1(){ stop(); } function frame9(){ gotoAndPlay(2); } function frame83(){ gotoAndStop(1); } function frame198(){ stop(); } } }//package enemies
Section 149
//Thief1Roll (enemies.Thief1Roll) package enemies { import flash.display.*; public class Thief1Roll extends MovieClip { public var dy:Number;// = 0 public function Thief1Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 11, frame12, 59, frame60, 114, frame115, 133, frame134); super(); x = _arg1; y = _arg2; } function frame12(){ gotoAndPlay(2); } function frame1(){ stop(); } function frame115(){ gotoAndPlay(1); } function frame134(){ gotoAndPlay(1); } function frame60(){ gotoAndStop(1); } } }//package enemies
Section 150
//Thief2Roll (enemies.Thief2Roll) package enemies { import flash.display.*; public class Thief2Roll extends MovieClip { public var dy:Number;// = 0 public function Thief2Roll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 11, frame12, 59, frame60, 114, frame115, 133, frame134); super(); x = _arg1; y = _arg2; } function frame12(){ gotoAndPlay(2); } function frame1(){ stop(); } function frame115(){ gotoAndStop(1); } function frame134(){ gotoAndStop(1); } function frame60(){ gotoAndStop(1); } } }//package enemies
Section 151
//Weakpoint (enemies.Weakpoint) package enemies { import flash.display.*; public class Weakpoint extends MovieClip { public var dy:Number;// = 0 public function Weakpoint(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(119, frame120); super(); x = _arg1; y = _arg2; } function frame120(){ stop(); } } }//package enemies
Section 152
//Fire1 (fires.Fire1) package fires { import flash.events.*; import flash.display.*; public class Fire1 extends MovieClip { private var dy; private var par; public function Fire1(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 3) - 5); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 153
//Fire10 (fires.Fire10) package fires { import flash.events.*; import flash.display.*; public class Fire10 extends MovieClip { private var dy; private var par; public function Fire10(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 154
//Fire11 (fires.Fire11) package fires { import flash.events.*; import flash.display.*; public class Fire11 extends MovieClip { private var dy; private var par; public function Fire11(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 155
//Fire2 (fires.Fire2) package fires { import flash.events.*; import flash.display.*; public class Fire2 extends MovieClip { private var dy; private var par; public function Fire2(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 156
//Fire3 (fires.Fire3) package fires { import flash.events.*; import flash.display.*; public class Fire3 extends MovieClip { private var dy; private var par; public function Fire3(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 157
//Fire4 (fires.Fire4) package fires { import flash.events.*; import flash.display.*; public class Fire4 extends MovieClip { private var dy; private var par; public function Fire4(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 158
//Fire5 (fires.Fire5) package fires { import flash.events.*; import flash.display.*; public class Fire5 extends MovieClip { private var dy; private var par; public function Fire5(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 159
//Fire6 (fires.Fire6) package fires { import flash.events.*; import flash.display.*; public class Fire6 extends MovieClip { private var dy; private var par; public function Fire6(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 160
//Fire7 (fires.Fire7) package fires { import flash.events.*; import flash.display.*; public class Fire7 extends MovieClip { private var dy; private var par; public function Fire7(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 161
//Fire8 (fires.Fire8) package fires { import flash.events.*; import flash.display.*; public class Fire8 extends MovieClip { private var dy; private var par; public function Fire8(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 162
//Fire9 (fires.Fire9) package fires { import flash.events.*; import flash.display.*; public class Fire9 extends MovieClip { private var dy; private var par; public function Fire9(_arg1:Number, _arg2:Number, _arg3){ dy = ((Math.random() * 2) - 3); super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ y = (y + dy); if (y < -30){ this.stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, fireAction); }; } } }//package fires
Section 163
//Aobj1 (objects.Aobj1) package objects { import flash.events.*; import flash.display.*; import rolls.*; public class Aobj1 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 private var timer;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -16 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Aobj1(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; timer = 0; man = false; dy = -16; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 5)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 5)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:*; var _local6:uint; if (this.currentFrame == 2){ timer++; if ((timer % 3) == 0){ _local2 = (Math.random() * 2); if (_local2 < 1){ fnm = new MagicStar3(0, 0, this); }; if (_local2 >= 1){ fnm = new MagicStar4(0, 0, this); }; }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local3 = new ObjText(t.x, (t.y - 140), "Dagger", par); if (t.secswordnm != 1){ t.createAssistweapon(); }; t.secswordnm = 1; SoundsManager.playSound("qiehuanjineng"); this.gotoAndStop(3); }; if (timer >= 180){ this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local6 = 0; while (_local6 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local6); _local4 = par.container3.getChildIndex(this); if ((((_local5.man == true)) && (!((_local5 == this))))){ if ((((((_local6 < _local4)) && ((_local5.y > yfix)))) || ((((_local6 > _local4)) && ((_local5.y < yfix)))))){ par.container3.swapChildren(_local5, this); }; }; _local6++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 3)))){ del(); }; } } }//package objects
Section 164
//Aobj2 (objects.Aobj2) package objects { import flash.events.*; import flash.display.*; import rolls.*; public class Aobj2 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 private var timer;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -16 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Aobj2(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; timer = 0; man = false; dy = -16; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 5)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 5)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:*; var _local6:uint; if (this.currentFrame == 2){ timer++; if ((timer % 3) == 0){ _local2 = (Math.random() * 2); if (_local2 < 1){ fnm = new MagicStar3(0, 0, this); }; if (_local2 >= 1){ fnm = new MagicStar4(0, 0, this); }; }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local3 = new ObjText(t.x, (t.y - 140), "Axe", par); if (t.secswordnm != 2){ t.createAssistweapon(); }; t.secswordnm = 2; SoundsManager.playSound("qiehuanjineng"); this.gotoAndStop(3); }; if (timer >= 180){ this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local6 = 0; while (_local6 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local6); _local4 = par.container3.getChildIndex(this); if ((((_local5.man == true)) && (!((_local5 == this))))){ if ((((((_local6 < _local4)) && ((_local5.y > yfix)))) || ((((_local6 > _local4)) && ((_local5.y < yfix)))))){ par.container3.swapChildren(_local5, this); }; }; _local6++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 3)))){ del(); }; } } }//package objects
Section 165
//Aobj3 (objects.Aobj3) package objects { import flash.events.*; import flash.display.*; import rolls.*; public class Aobj3 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 private var timer;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -16 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Aobj3(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; timer = 0; man = false; dy = -16; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 5)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 5)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:*; var _local6:uint; if (this.currentFrame == 2){ timer++; if ((timer % 3) == 0){ _local2 = (Math.random() * 2); if (_local2 < 1){ fnm = new MagicStar3(0, 0, this); }; if (_local2 >= 1){ fnm = new MagicStar4(0, 0, this); }; }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local3 = new ObjText(t.x, (t.y - 140), "Holy Water", par); if (t.secswordnm != 3){ t.createAssistweapon(); }; t.secswordnm = 3; SoundsManager.playSound("qiehuanjineng"); this.gotoAndStop(3); }; if (timer >= 180){ this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local6 = 0; while (_local6 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local6); _local4 = par.container3.getChildIndex(this); if ((((_local5.man == true)) && (!((_local5 == this))))){ if ((((((_local6 < _local4)) && ((_local5.y > yfix)))) || ((((_local6 > _local4)) && ((_local5.y < yfix)))))){ par.container3.swapChildren(_local5, this); }; }; _local6++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 3)))){ del(); }; } } }//package objects
Section 166
//Aobj4 (objects.Aobj4) package objects { import flash.events.*; import flash.display.*; import rolls.*; public class Aobj4 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 private var timer;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -16 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Aobj4(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; timer = 0; man = false; dy = -16; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 5)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 5)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:*; var _local6:uint; if (this.currentFrame == 2){ timer++; if ((timer % 3) == 0){ _local2 = (Math.random() * 2); if (_local2 < 1){ fnm = new MagicStar3(0, 0, this); }; if (_local2 >= 1){ fnm = new MagicStar4(0, 0, this); }; }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local3 = new ObjText(t.x, (t.y - 140), "Fire Bottle", par); if (t.secswordnm != 4){ t.createAssistweapon(); }; t.secswordnm = 4; SoundsManager.playSound("qiehuanjineng"); this.gotoAndStop(3); }; if (timer >= 180){ this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local6 = 0; while (_local6 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local6); _local4 = par.container3.getChildIndex(this); if ((((_local5.man == true)) && (!((_local5 == this))))){ if ((((((_local6 < _local4)) && ((_local5.y > yfix)))) || ((((_local6 > _local4)) && ((_local5.y < yfix)))))){ par.container3.swapChildren(_local5, this); }; }; _local6++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 3)))){ del(); }; } } }//package objects
Section 167
//Aobj5 (objects.Aobj5) package objects { import flash.events.*; import flash.display.*; import rolls.*; public class Aobj5 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 private var timer;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -16 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Aobj5(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; timer = 0; man = false; dy = -16; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 5)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 5)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:*; var _local6:uint; if (this.currentFrame == 2){ timer++; if ((timer % 3) == 0){ _local2 = (Math.random() * 2); if (_local2 < 1){ fnm = new MagicStar3(0, 0, this); }; if (_local2 >= 1){ fnm = new MagicStar4(0, 0, this); }; }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local3 = new ObjText(t.x, (t.y - 140), "Fire Magic", par); if (t.secswordnm != 5){ t.createAssistweapon(); }; t.secswordnm = 5; SoundsManager.playSound("qiehuanjineng"); this.gotoAndStop(3); }; if (timer >= 180){ this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local6 = 0; while (_local6 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local6); _local4 = par.container3.getChildIndex(this); if ((((_local5.man == true)) && (!((_local5 == this))))){ if ((((((_local6 < _local4)) && ((_local5.y > yfix)))) || ((((_local6 > _local4)) && ((_local5.y < yfix)))))){ par.container3.swapChildren(_local5, this); }; }; _local6++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 3)))){ del(); }; } } }//package objects
Section 168
//Aobj6 (objects.Aobj6) package objects { import flash.events.*; import flash.display.*; import rolls.*; public class Aobj6 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 private var timer;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -16 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Aobj6(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; timer = 0; man = false; dy = -16; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 5)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 5)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:*; var _local6:uint; if (this.currentFrame == 2){ timer++; if ((timer % 3) == 0){ _local2 = (Math.random() * 2); if (_local2 < 1){ fnm = new MagicStar3(0, 0, this); }; if (_local2 >= 1){ fnm = new MagicStar4(0, 0, this); }; }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local3 = new ObjText(t.x, (t.y - 140), "Ice Magic", par); if (t.secswordnm != 6){ t.createAssistweapon(); }; t.secswordnm = 6; SoundsManager.playSound("qiehuanjineng"); this.gotoAndStop(3); }; if (timer >= 180){ this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local6 = 0; while (_local6 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local6); _local4 = par.container3.getChildIndex(this); if ((((_local5.man == true)) && (!((_local5 == this))))){ if ((((((_local6 < _local4)) && ((_local5.y > yfix)))) || ((((_local6 > _local4)) && ((_local5.y < yfix)))))){ par.container3.swapChildren(_local5, this); }; }; _local6++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 3)))){ del(); }; } } }//package objects
Section 169
//Aobj7 (objects.Aobj7) package objects { import flash.events.*; import flash.display.*; import rolls.*; public class Aobj7 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 private var timer;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -16 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Aobj7(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; timer = 0; man = false; dy = -16; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 5)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 5)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:*; var _local6:uint; if (this.currentFrame == 2){ timer++; if ((timer % 3) == 0){ _local2 = (Math.random() * 2); if (_local2 < 1){ fnm = new MagicStar3(0, 0, this); }; if (_local2 >= 1){ fnm = new MagicStar4(0, 0, this); }; }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local3 = new ObjText(t.x, (t.y - 140), "Cure", par); if (t.secswordnm != 7){ t.createAssistweapon(); }; t.secswordnm = 7; SoundsManager.playSound("qiehuanjineng"); this.gotoAndStop(3); }; if (timer >= 180){ this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local6 = 0; while (_local6 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local6); _local4 = par.container3.getChildIndex(this); if ((((_local5.man == true)) && (!((_local5 == this))))){ if ((((((_local6 < _local4)) && ((_local5.y > yfix)))) || ((((_local6 > _local4)) && ((_local5.y < yfix)))))){ par.container3.swapChildren(_local5, this); }; }; _local6++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((((x > 700)) || ((x < -100)))) || ((this.currentFrame == 3)))){ del(); }; } } }//package objects
Section 170
//Apple (objects.Apple) package objects { import flash.events.*; import flash.display.*; import data.*; public class Apple extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Apple(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; if (master.y > 320){ dyfix = -1; }; if (master.y <= 320){ dyfix = 1; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText4(t.x, (t.y - 80), "HP+30", par); if ((t.lifexxx - t.life) > 30){ t.life = (t.life + 30); Data.lifenm = t.life; }; if ((t.lifexxx - t.life) <= 30){ t.life = t.lifexxx; Data.lifenm = t.lifexxx; }; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 171
//Berry (objects.Berry) package objects { import flash.events.*; import flash.display.*; import data.*; public class Berry extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Berry(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; if (master.y > 320){ dyfix = -1; }; if (master.y <= 320){ dyfix = 1; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText4(t.x, (t.y - 80), "HP+40", par); if ((t.lifexxx - t.life) > 40){ t.life = (t.life + 40); Data.lifenm = t.life; }; if ((t.lifexxx - t.life) <= 40){ t.life = t.lifexxx; Data.lifenm = t.lifexxx; }; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 172
//Bread (objects.Bread) package objects { import flash.events.*; import flash.display.*; import data.*; public class Bread extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Bread(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; if (master.y > 320){ dyfix = -1; }; if (master.y <= 320){ dyfix = 1; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText4(t.x, (t.y - 80), "HP+60", par); if ((t.lifexxx - t.life) > 60){ t.life = (t.life + 60); Data.lifenm = t.life; }; if ((t.lifexxx - t.life) <= 60){ t.life = t.lifexxx; Data.lifenm = t.lifexxx; }; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 173
//Cherry (objects.Cherry) package objects { import flash.events.*; import flash.display.*; import data.*; public class Cherry extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Cherry(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; if (master.y > 320){ dyfix = -1; }; if (master.y <= 320){ dyfix = 1; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText4(t.x, (t.y - 80), "HP+80", par); if ((t.lifexxx - t.life) > 80){ t.life = (t.life + 80); Data.lifenm = t.life; }; if ((t.lifexxx - t.life) <= 80){ t.life = t.lifexxx; Data.lifenm = t.lifexxx; }; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 174
//Crystel (objects.Crystel) package objects { import flash.events.*; import flash.display.*; import data.*; public class Crystel extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Crystel(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 18)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-2 - (Math.random() * 6)); }; if (master.x <= 300){ dx = (2 + (Math.random() * 6)); }; if (master.y > 320){ dyfix = -1; }; if (master.y <= 320){ dyfix = 1; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText(t.x, (t.y - 120), "Crystal+1", par); Data.cnm = (Data.cnm + 1); t.cnm = Data.cnm; SoundsManager.playSound("chinengliang"); this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 175
//Gem1 (objects.Gem1) package objects { import flash.events.*; import flash.display.*; import data.*; public class Gem1 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function Gem1(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText3(t.x, (t.y - 100), "xp+10", par); Data.scorenm = (Data.scorenm + 10); t.scorenm = Data.scorenm; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 176
//Gem2 (objects.Gem2) package objects { import flash.events.*; import flash.display.*; import data.*; public class Gem2 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function Gem2(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText3(t.x, (t.y - 100), "xp+20", par); Data.scorenm = (Data.scorenm + 20); t.scorenm = Data.scorenm; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 177
//Gem3 (objects.Gem3) package objects { import flash.events.*; import flash.display.*; import data.*; public class Gem3 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function Gem3(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText3(t.x, (t.y - 100), "xp+40", par); Data.scorenm = (Data.scorenm + 40); t.scorenm = Data.scorenm; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 178
//Gem4 (objects.Gem4) package objects { import flash.events.*; import flash.display.*; import data.*; public class Gem4 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function Gem4(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText3(t.x, (t.y - 100), "xp+80", par); Data.scorenm = (Data.scorenm + 80); t.scorenm = Data.scorenm; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 179
//Gem5 (objects.Gem5) package objects { import flash.events.*; import flash.display.*; import data.*; public class Gem5 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function Gem5(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText3(t.x, (t.y - 100), "xp+120", par); Data.scorenm = (Data.scorenm + 120); t.scorenm = Data.scorenm; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 180
//Gem6 (objects.Gem6) package objects { import flash.events.*; import flash.display.*; import data.*; public class Gem6 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function Gem6(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText3(t.x, (t.y - 100), "xp+300", par); Data.scorenm = (Data.scorenm + 300); t.scorenm = Data.scorenm; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 181
//GoldCoin (objects.GoldCoin) package objects { import flash.events.*; import flash.display.*; import data.*; public class GoldCoin extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function GoldCoin(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText3(t.x, (t.y - 100), "xp+5", par); Data.scorenm = (Data.scorenm + 5); t.scorenm = Data.scorenm; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 182
//Lifewater (objects.Lifewater) package objects { import flash.events.*; import flash.display.*; import data.*; public class Lifewater extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Lifewater(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; if (master.y > 320){ dyfix = -1; }; if (master.y <= 320){ dyfix = 1; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText4(t.x, (t.y - 80), "HP+120", par); if ((t.lifexxx - t.life) > 120){ t.life = (t.life + 120); Data.lifenm = t.life; }; if ((t.lifexxx - t.life) <= 120){ t.life = t.lifexxx; Data.lifenm = t.lifexxx; }; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 183
//Relivecross (objects.Relivecross) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Relivecross extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -22 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Relivecross(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = -22; super(); addFrameScript(0, frame1, 2, frame3); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame3(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "RENASCENCE CROSS", par); Data.relivecrossnm = (Data.relivecrossnm + 1); par.states.cross.visible = true; SoundsManager.playSound("dedaochongshen"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 184
//Sheild2obj (objects.Sheild2obj) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Sheild2obj extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -22 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Sheild2obj(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = -22; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "SPARTA!", par); t.cteateSheild(Sheild2); t.sheildnm = 2; Data.sheildnm = 2; SoundsManager.playSound("wuqishengji"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 185
//Sheild3obj (objects.Sheild3obj) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Sheild3obj extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -22 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Sheild3obj(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = -22; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "ACCRA!", par); t.cteateSheild(Sheild3); t.sheildnm = 3; Data.sheildnm = 3; SoundsManager.playSound("wuqishengji"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 186
//Sheild4obj (objects.Sheild4obj) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Sheild4obj extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -24 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Sheild4obj(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = -24; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "BYZANTIUM!", par); t.cteateSheild(Sheild4); t.sheildnm = 4; Data.sheildnm = 4; SoundsManager.playSound("wuqishengji"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 187
//Sheild5obj (objects.Sheild5obj) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Sheild5obj extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -24 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Sheild5obj(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = -24; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "Eden!", par); t.cteateSheild(Sheild5); t.sheildnm = 5; Data.sheildnm = 5; SoundsManager.playSound("wuqishengji"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 188
//SilverCoin (objects.SilverCoin) package objects { import flash.events.*; import flash.display.*; import data.*; public class SilverCoin extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function SilverCoin(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText3(t.x, (t.y - 100), "xp+2", par); Data.scorenm = (Data.scorenm + 2); t.scorenm = Data.scorenm; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 189
//Sword2obj (objects.Sword2obj) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Sword2obj extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot;// = -30 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -24 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Sword2obj(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; drot = -30; dy = -24; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "PERCEVAI!", par); t.cteateSword(Sword2); t.swordnm = 2; Data.swordnm = 2; SoundsManager.playSound("wuqishengji"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); rotation = (rotation + drot); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 190
//Sword3obj (objects.Sword3obj) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Sword3obj extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot;// = -30 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -24 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Sword3obj(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; drot = -30; dy = -24; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "LANCELOT!", par); t.cteateSword(Sword3); t.swordnm = 3; Data.swordnm = 3; SoundsManager.playSound("wuqishengji"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); rotation = (rotation + drot); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 191
//Sword4obj (objects.Sword4obj) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Sword4obj extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot;// = -30 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -24 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Sword4obj(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; drot = -30; dy = -24; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "ARTHUR!", par); t.cteateSword(Sword4); t.swordnm = 4; Data.swordnm = 4; SoundsManager.playSound("wuqishengji"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); rotation = (rotation + drot); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 192
//Sword5obj (objects.Sword5obj) package objects { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Sword5obj extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot;// = -30 public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy;// = -24 private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Sword5obj(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; drot = -30; dy = -24; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-1 - (Math.random() * 2)); }; if (master.x <= 300){ dx = (1 + (Math.random() * 2)); }; if (master.y > 320){ dyfix = -0.5; }; if (master.y <= 320){ dyfix = 0.5; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 2){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText5(t.x, (t.y - 140), "RAGNAROK!", par); t.cteateSword(Sword5); t.swordnm = 5; Data.swordnm = 5; SoundsManager.playSound("wuqishengji"); this.gotoAndStop(3); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); rotation = (rotation + drot); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; rotation = 0; this.gotoAndStop(2); }; }; if (this.currentFrame == 3){ x = -120; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 193
//Tomato (objects.Tomato) package objects { import flash.events.*; import flash.display.*; import data.*; public class Tomato extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; public var number; private var master; private var ta; public var man:Boolean;// = false private var t; public var roll; public var dy; private var par; public var dyfix; private var fnm; private var ly; private var lx; public var dx; public function Tomato(_arg1:Number=0, _arg2:Number=0, _arg3=null, _arg4=null){ attacknm = 0; man = false; dy = (-22 + (Math.random() * 10)); super(); addFrameScript(0, frame1, 180, frame181); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg4; t = par.playRoll; yfix = master.y; if (master.x > 300){ dx = (-3 - (Math.random() * 4)); }; if (master.x <= 300){ dx = (3 + (Math.random() * 4)); }; if (master.y > 320){ dyfix = -1; }; if (master.y <= 320){ dyfix = 1; }; this.addEventListener(Event.ENTER_FRAME, crystelAction, false, 0, true); } public function del():void{ var _local1:*; var _local2:uint; _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, crystelAction); par.container3.removeChild(this); } function frame181(){ stop(); } function frame1(){ stop(); } private function crystelAction(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:uint; if ((((this.currentFrame >= 2)) && ((this.currentFrame < 181)))){ if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = new ObjText4(t.x, (t.y - 80), "HP+120", par); if ((t.lifexxx - t.life) > 120){ t.life = (t.life + 120); Data.lifenm = t.life; }; if ((t.lifexxx - t.life) <= 120){ t.life = t.lifexxx; Data.lifenm = t.lifexxx; }; this.gotoAndStop(181); }; }; if (this.currentFrame == 1){ x = (x + dx); y = (y + dy); dy = (dy + 1.5); yfix = (yfix + dyfix); _local5 = 0; while (_local5 < par.container3.numChildren) { _local4 = par.container3.getChildAt(_local5); _local3 = par.container3.getChildIndex(this); if ((((_local4.man == true)) && (!((_local4 == this))))){ if ((((((_local5 < _local3)) && ((_local4.y > yfix)))) || ((((_local5 > _local3)) && ((_local4.y < yfix)))))){ par.container3.swapChildren(_local4, this); }; }; _local5++; }; if (y >= yfix){ y = yfix; this.gotoAndPlay(2); }; }; if (this.currentFrame == 181){ x = -80; }; if ((((((((par.stagechange == true)) && ((t.x > 240)))) && ((t.dx > 0)))) && ((((((t.roll.currentFrame >= 2)) && ((t.roll.currentFrame < 12)))) || ((((t.roll.currentFrame >= t.jump)) && ((t.roll.currentFrame <= (t.jump + 3))))))))){ x = (x - t.dx); }; if ((((x > 700)) || ((x < -100)))){ del(); }; } } }//package objects
Section 194
//Axe (rolls.Axe) package rolls { import flash.events.*; import flash.display.*; public class Axe extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 7 public var dy;// = 0 private var par; private var fnm; private var ly; private var lx; public var dx; public function Axe(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; man = false; dy = 0; SAttack = 7; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; this.addEventListener(Event.ENTER_FRAME, axeAction, false, 0, true); } private function axeAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; var _local6:uint; if (this.currentFrame == 1){ _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))){ lx = (t.x - (20 * t.scaleX)); ly = y; if (t.roll.currentFrame < t.die){ _local4 = 0; while (_local4 < 12) { fnm = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (t.roll.currentFrame < t.hurt){ if (t.strong < SAttack){ t.roll.gotoAndPlay(t.hurt); t.life = (t.life - ((6 + SAttack) - t.strong)); t.dx = ((14 + (Math.random() * 4)) * t.scaleX); t.dy = 0; }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); x = lx; dx = ((-6 - (Math.random() * 4)) * scaleX); drot = (scaleX * (-30 - (Math.random() * 30))); dy = (-4 - (Math.random() * 3)); this.gotoAndStop(2); SoundsManager.playSound("kuijiabaohu"); break; }; }; }; if (((((this.hitTestObject(t.hitBall)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (40 * t.scaleX)); if (t.strong >= SAttack){ _local5 = 0; while (_local5 < 12) { fnm = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local5++; }; t.roll.gotoAndPlay(t.hurt); t.life = (t.life - 8); t.dx = ((14 + (Math.random() * 4)) * t.scaleX); t.dy = 0; t.dxfix = 0; x = lx; dx = ((-6 - (Math.random() * 4)) * scaleX); drot = (scaleX * (-30 - (Math.random() * 30))); dy = (-4 - (Math.random() * 3)); this.gotoAndStop(2); if (t.strong != 1){ SoundsManager.playSound("kanzhong"); }; break; }; }; }; _local3++; }; }; rotation = (rotation + drot); x = (x + dx); y = (y + dy); dy = (dy + 1.5); if ((((((par.stagechange == true)) && ((master.x > 240)))) && ((master.dx > 0)))){ x = (x - master.dx); }; if ((((((y >= yfix)) || ((x > 630)))) || ((x < -30)))){ y = yfix; _local6 = 0; while (_local6 < 12) { fnm = new FireStar(x, y, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local6++; }; par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, axeAction); }; } function frame1(){ stop(); } } }//package rolls
Section 195
//CureRain (rolls.CureRain) package rolls { import flash.events.*; import flash.display.*; import data.*; public class CureRain extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; public var man:Boolean;// = false private var t; public var roll; private var par; private var fnm; private var ly; private var lx; public function CureRain(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; man = false; super(); addFrameScript(19, frame20); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; this.addEventListener(Event.ENTER_FRAME, shadowAction, false, 0, true); } function frame20(){ stop(); } private function shadowAction(_arg1:Event):void{ if ((((this.currentFrame < 20)) && ((this.currentFrame > 3)))){ if (master.life <= (master.lifexxx - 2)){ master.life = (master.life + 2); Data.lifenm = master.life; }; if (master.life > (master.lifexxx - 2)){ master.life = master.lifexxx; Data.lifenm = master.life; }; }; if (this.currentFrame == 20){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, shadowAction); }; } } }//package rolls
Section 196
//Dagger (rolls.Dagger) package rolls { import flash.events.*; import flash.display.*; public class Dagger extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 5 public var dy;// = 0 private var par; private var fnm; private var ly; private var lx; public var dx; public function Dagger(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; man = false; dy = 0; SAttack = 5; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; this.addEventListener(Event.ENTER_FRAME, daggerAction, false, 0, true); } function frame1(){ stop(); } private function daggerAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; if (this.currentFrame == 2){ rotation = (rotation + drot); x = (x + dx); y = (y + dy); dy = (dy + 4); }; if (this.currentFrame == 1){ x = (x + dx); _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.hitBall)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (20 * t.scaleX)); ly = y; if (t.strong >= SAttack){ _local4 = 0; while (_local4 < 12) { fnm = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; t.roll.gotoAndPlay(t.hurt); t.life = (t.life - 6); t.dx = ((14 + (Math.random() * 4)) * t.scaleX); t.dy = 0; t.dxfix = 0; x = lx; dx = ((-6 - (Math.random() * 3)) * scaleX); drot = (scaleX * (-30 - (Math.random() * 30))); dy = (-6 - (Math.random() * 4)); this.gotoAndStop(2); SoundsManager.playSound("kuijiabaohu"); break; }; }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (20 * t.scaleX)); ly = y; _local5 = 0; while (_local5 < 12) { fnm = ("fire" + _local5); fnm = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local5++; }; if (t.speed > 90){ t.dx = 0; t.dy = 0; t.dxfix = 0; t.roll.gotoAndPlay(230); }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); x = lx; dx = ((-6 - (Math.random() * 4)) * scaleX); drot = (scaleX * (-30 - (Math.random() * 30))); dy = (-4 - (Math.random() * 3)); this.gotoAndStop(2); }; if ((((t.strong < SAttack)) && ((t.speed < 90)))){ t.roll.gotoAndPlay(t.hurt); t.life = (t.life - ((8 + SAttack) - t.strong)); t.dx = ((14 + (Math.random() * 4)) * t.scaleX); t.dy = 0; x = -200; if (t.strong != 1){ SoundsManager.playSound("kanzhong"); }; }; break; }; }; _local3++; }; }; if ((((((y >= yfix)) || ((x > 630)))) || ((x < -30)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, daggerAction); }; } } }//package rolls
Section 197
//FFist (rolls.FFist) package rolls { import flash.events.*; import flash.display.*; public class FFist extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 10 private var par; private var fnm; private var ly; private var lx; public function FFist(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; man = false; SAttack = 10; super(); addFrameScript(5, frame6); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; this.addEventListener(Event.ENTER_FRAME, shadowAction, false, 0, true); } function frame6(){ stop(); } private function shadowAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 5){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, shadowAction); }; if (this.currentFrame < 5){ _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (30 * t.scaleX)); ly = y; _local5 = 0; while (_local5 < 12) { _local4 = ("fire" + _local5); _local4 = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(t) + 1)); _local5++; }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); }; }; if (((((this.hitTestObject(t.hitBall)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ t.roll.gotoAndPlay(t.hurt); if (SAttack > t.strong){ t.life = (t.life - (SAttack - t.strong)); }; if (SAttack <= t.strong){ t.life = (t.life - (SAttack - 8)); }; t.dxfix = 0; t.dx = ((20 + (Math.random() * 4)) * t.scaleX); t.dy = 0; }; }; _local3++; }; }; } } }//package rolls
Section 198
//FFist2 (rolls.FFist2) package rolls { import flash.events.*; import flash.display.*; public class FFist2 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 22 private var par; private var fnm; private var ly; private var lx; public function FFist2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; man = false; SAttack = 22; super(); addFrameScript(5, frame6); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; SAttack = (master.SAttack + 4); this.addEventListener(Event.ENTER_FRAME, shadowAction, false, 0, true); } function frame6(){ stop(); } private function shadowAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 6){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, shadowAction); }; if (this.currentFrame < 6){ _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (30 * t.scaleX)); ly = y; _local5 = 0; while (_local5 < 12) { _local4 = ("fire" + _local5); _local4 = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(t) + 1)); _local5++; }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); }; }; if (((((this.hitTestObject(t.hitBall)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ t.roll.gotoAndPlay(t.hurt); if ((((t.x < 650)) && ((t.x > -50)))){ if (SAttack > t.strong){ t.life = (t.life - (SAttack - t.strong)); }; if (SAttack <= t.strong){ t.life = (t.life - (SAttack - 8)); }; }; t.dxfix = 0; t.dx = ((24 + (Math.random() * 4)) * t.scaleX); t.dy = 0; }; }; _local3++; }; }; } } }//package rolls
Section 199
//FighterRoll (rolls.FighterRoll) package rolls { import flash.display.*; public class FighterRoll extends MovieClip { public var dy:Number;// = 0 public function FighterRoll(_arg1:Number=0, _arg2:Number=0){ dy = 0; addFrameScript(0, frame1, 10, frame11, 19, frame20, 22, frame23, 37, frame38, 54, frame55, 65, frame66, 81, frame82, 89, frame90, 96, frame97, 116, frame117, 127, frame128, 138, frame139, 164, frame165, 187, frame188, 218, frame219, 253, frame254); super(); x = _arg1; y = _arg2; } function frame165(){ gotoAndStop(1); } function frame82(){ gotoAndStop(20); } function frame90(){ gotoAndStop(1); } function frame97(){ gotoAndStop(20); } function frame1(){ stop(); } function frame23(){ gotoAndStop(1); } function frame188(){ gotoAndStop(1); } function frame20(){ stop(); } function frame117(){ gotoAndStop(1); } function frame38(){ gotoAndStop(1); } function frame11(){ gotoAndPlay(2); } function frame219(){ gotoAndStop(1); } function frame128(){ gotoAndStop(1); } function frame139(){ stop(); } function frame55(){ gotoAndStop(1); } function frame254(){ gotoAndStop(1); } function frame66(){ gotoAndStop(1); } } }//package rolls
Section 200
//HolyWater (rolls.HolyWater) package rolls { import flash.events.*; import flash.display.*; public class HolyWater extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; private var hits;// = 0 public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 9 public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function HolyWater(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; hits = 0; man = false; SAttack = 9; super(); addFrameScript(0, frame1); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; this.addEventListener(Event.ENTER_FRAME, holywaterAction, false, 0, true); } public function del():void{ stop(); par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, holywaterAction); } function frame1(){ stop(); } private function holywaterAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; var _local6:*; if (this.currentFrame == 1){ rotation = (rotation + drot); x = (x + dx); y = (y + dy); dy = (dy + 4); if (y >= yfix){ y = yfix; rotation = 0; _local4 = 0; while (_local4 < 12) { fnm = ("fire" + _local4); fnm = new FireStar(x, y, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local4++; }; if (hits == 0){ SoundsManager.playSound("mofapingluodi"); SoundsManager.playSound("xiaobin"); hits++; }; this.gotoAndPlay(2); }; }; _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 12)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (50 * t.scaleX)); ly = y; _local5 = 0; while (_local5 < 12) { fnm = ("fire" + _local5); fnm = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local5++; }; if (t.strong < SAttack){ _local6 = (Math.random() * 2); if (_local6 < 1){ t.scaleX = (t.scaleX * -1); }; t.roll.gotoAndPlay(t.hurt); t.life = (t.life - (SAttack - t.strong)); t.dxfix = 0; t.dx = ((14 + (Math.random() * 2)) * t.scaleX); t.dy = 0; }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); }; }; }; _local3++; }; if ((((((par.stagechange == true)) && ((master.x > 240)))) && ((master.dx > 0)))){ x = (x - master.dx); }; if ((((this.currentFrame == 10)) && ((attacknm == 6)))){ del(); }; if ((((this.currentFrame == 10)) && ((attacknm < 6)))){ x = (x + (dx * 5)); this.gotoAndPlay(2); attacknm++; }; } } }//package rolls
Section 201
//Levelup (rolls.Levelup) package rolls { import flash.events.*; import flash.display.*; public class Levelup extends MovieClip { public var man:Boolean;// = false public var roll; private var par; public function Levelup(_arg1:Number=0, _arg2:Number=0, _arg3=null){ man = false; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, shadowAction, false, 0, true); } private function shadowAction(_arg1:Event):void{ if (this.currentFrame == 25){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, shadowAction); }; } } }//package rolls
Section 202
//Sheild1 (rolls.Sheild1) package rolls { import flash.display.*; public class Sheild1 extends MovieClip { public function Sheild1(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 203
//Sheild2 (rolls.Sheild2) package rolls { import flash.display.*; public class Sheild2 extends MovieClip { public function Sheild2(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 204
//Sheild3 (rolls.Sheild3) package rolls { import flash.display.*; public class Sheild3 extends MovieClip { public function Sheild3(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 205
//Sheild4 (rolls.Sheild4) package rolls { import flash.display.*; public class Sheild4 extends MovieClip { public function Sheild4(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 206
//Sheild5 (rolls.Sheild5) package rolls { import flash.display.*; public class Sheild5 extends MovieClip { public function Sheild5(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 207
//Sword1 (rolls.Sword1) package rolls { import flash.display.*; public class Sword1 extends MovieClip { public function Sword1(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 208
//Sword2 (rolls.Sword2) package rolls { import flash.display.*; public class Sword2 extends MovieClip { public function Sword2(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 209
//Sword3 (rolls.Sword3) package rolls { import flash.display.*; public class Sword3 extends MovieClip { public function Sword3(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 210
//Sword4 (rolls.Sword4) package rolls { import flash.display.*; public class Sword4 extends MovieClip { public function Sword4(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 211
//Sword5 (rolls.Sword5) package rolls { import flash.display.*; public class Sword5 extends MovieClip { public function Sword5(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package rolls
Section 212
//SwordShadow (rolls.SwordShadow) package rolls { import flash.events.*; import flash.display.*; public class SwordShadow extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 10 private var par; private var fnm; private var ly; private var lx; public function SwordShadow(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; man = false; SAttack = 10; super(); addFrameScript(4, frame5); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; SAttack = master.SAttack; this.addEventListener(Event.ENTER_FRAME, shadowAction, false, 0, true); } private function shadowAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 5){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, shadowAction); }; if (this.currentFrame < 5){ _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (30 * t.scaleX)); ly = y; _local5 = 0; while (_local5 < 12) { _local4 = ("fire" + _local5); _local4 = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(t) + 1)); _local5++; }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); }; master.playstate = 1; SoundsManager.playSound("kuijiabaohu"); }; if (((((((((this.hitTestObject(t.hitBall)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))) && ((t.x > -30)))) && ((t.x < 630)))){ t.roll.gotoAndPlay(t.hurt); if ((((t.x < 650)) && ((t.x > -50)))){ if (SAttack > t.strong){ t.life = (t.life - (SAttack - t.strong)); }; if (SAttack <= t.strong){ t.life = (t.life - (SAttack - 8)); }; }; t.dxfix = 0; t.dx = ((12 + (Math.random() * 4)) * t.scaleX); t.dy = 0; master.playstate = 1; if (t.strong != 1){ SoundsManager.playSound("kanzhong"); }; }; }; _local3++; }; }; } function frame5(){ stop(); } } }//package rolls
Section 213
//SwordShadow2 (rolls.SwordShadow2) package rolls { import flash.events.*; import flash.display.*; public class SwordShadow2 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 10 private var par; private var fnm; private var ly; private var lx; public function SwordShadow2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; man = false; SAttack = 10; super(); addFrameScript(4, frame5); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; SAttack = master.SAttack; this.addEventListener(Event.ENTER_FRAME, shadowAction, false, 0, true); } private function shadowAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 5){ if (master.playstate == 1){ master.playstate = 0; }; par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, shadowAction); }; if (this.currentFrame < 5){ _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (30 * t.scaleX)); ly = y; _local5 = 0; while (_local5 < 12) { _local4 = ("fire" + _local5); _local4 = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(t) + 1)); _local5++; }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); }; master.playstate = 2; }; if (((((this.hitTestObject(t.hitBall)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ t.roll.gotoAndPlay(t.hurt); if ((((t.x < 650)) && ((t.x > -50)))){ if (SAttack > t.strong){ t.life = (t.life - (SAttack - t.strong)); }; if (SAttack <= t.strong){ t.life = (t.life - (SAttack - 8)); }; }; t.dxfix = 0; t.dx = ((18 + (Math.random() * 3)) * t.scaleX); t.dy = 0; master.playstate = 2; }; }; _local3++; }; }; } function frame5(){ stop(); } } }//package rolls
Section 214
//SwordShadow3 (rolls.SwordShadow3) package rolls { import flash.events.*; import flash.display.*; public class SwordShadow3 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var drot; private var master; public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 10 private var par; private var fnm; private var ly; private var lx; public function SwordShadow3(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; man = false; SAttack = 10; super(); addFrameScript(2, frame3); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; SAttack = (master.SAttack + 2); this.addEventListener(Event.ENTER_FRAME, shadowAction, false, 0, true); } function frame3(){ stop(); } private function shadowAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:*; var _local5:uint; if (this.currentFrame == 3){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, shadowAction); }; if (this.currentFrame < 3){ _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (30 * t.scaleX)); ly = y; _local5 = 0; while (_local5 < 12) { _local4 = ("fire" + _local5); _local4 = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(t) + 1)); _local5++; }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); }; }; if (((((this.hitTestObject(t.hitBall)) && ((Math.abs((t.y - yfix)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ t.roll.gotoAndPlay(t.hurt); if ((((t.x < 650)) && ((t.x > -50)))){ if (SAttack > t.strong){ t.life = (t.life - (SAttack - t.strong)); }; if (SAttack <= t.strong){ t.life = (t.life - (SAttack - 8)); }; }; t.dxfix = 0; t.dx = ((22 + (Math.random() * 4)) * t.scaleX); t.dy = 0; }; }; _local3++; }; }; } } }//package rolls
Section 215
//BaoYouyuan (ui.BaoYouyuan) package ui { import flash.display.*; import walls.*; public class BaoYouyuan extends MovieClip { public var zz_MC:ZZ2; public var zz:MovieClip; public var credits:MovieClip; public var creditsMC:MovieClip; public function BaoYouyuan(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); credits = (this.getChildByName("creditsMC") as MovieClip); } } }//package ui
Section 216
//ChooseC (ui.ChooseC) package ui { import flash.display.*; import walls.*; public class ChooseC extends MovieClip { public var zz_MC:ZZ2; public var c3btn:SimpleButton; public var c1:SimpleButton; public var c3:SimpleButton; public var c4:SimpleButton; public var c5:SimpleButton; public var c2:SimpleButton; public var zz:MovieClip; public var c1btn:SimpleButton; public var c4btn:SimpleButton; public var c2btn:SimpleButton; public var c5btn:SimpleButton; public function ChooseC(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); c1 = (this.getChildByName("c1btn") as SimpleButton); c2 = (this.getChildByName("c2btn") as SimpleButton); c3 = (this.getChildByName("c3btn") as SimpleButton); c4 = (this.getChildByName("c4btn") as SimpleButton); c5 = (this.getChildByName("c5btn") as SimpleButton); } } }//package ui
Section 217
//ChooseType (ui.ChooseType) package ui { import flash.display.*; public class ChooseType extends MovieClip { public var zz_MC:MovieClip; public var next_btn:SimpleButton; public var container3_MC:MovieClip; public var stagechange:Boolean;// = false public var curten_MC:MovieClip; public var type2:SimpleButton; public var type1_btn:SimpleButton; public var keyshow1_MC:KeyShow1; public var nextbtn:SimpleButton; public var type1:SimpleButton; public var keyshow2_MC:KeyShow2; public var zz:MovieClip; public var container3:MovieClip; public var type2_btn:SimpleButton; public var keyshow2:MovieClip; public var curten:MovieClip; public var playRoll; public var stagechangeT:Number;// = 0 public var keyshow1:MovieClip; public function ChooseType(_arg1:Number=0, _arg2:Number=0){ stagechange = false; stagechangeT = 0; super(); x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); container3 = (this.getChildByName("container3_MC") as MovieClip); curten = (this.getChildByName("curten_MC") as MovieClip); curten.gotoAndStop(1); keyshow1 = (this.getChildByName("keyshow1_MC") as MovieClip); keyshow1.visible = false; keyshow2 = (this.getChildByName("keyshow2_MC") as MovieClip); keyshow2.visible = false; type1 = (this.getChildByName("type1_btn") as SimpleButton); type2 = (this.getChildByName("type2_btn") as SimpleButton); nextbtn = (this.getChildByName("next_btn") as SimpleButton); nextbtn.visible = false; } } }//package ui
Section 218
//Company (ui.Company) package ui { import flash.display.*; import walls.*; public class Company extends MovieClip { public var zz_MC:ZZ; public var zz:MovieClip; public function Company(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); } } }//package ui
Section 219
//Congratulation (ui.Congratulation) package ui { import flash.events.*; import flash.display.*; import flash.text.*; import walls.*; public class Congratulation extends MovieClip { public var relivecross:MovieClip; public var zz_MC:ZZ; private var myTextBox:TextField; private var textchange:Boolean;// = false private var timer;// = 0 public var zz:MovieClip; public var tc;// = 0 public var tt;// = 0 private var par; private var fnm; public var myTextf:TextField; public var textcontent:String; public var text1:String; public var myText:String; public function Congratulation(_arg1:Number, _arg2:Number, _arg3:String, _arg4){ timer = 0; textchange = false; tt = 0; tc = 0; super(); _arg4.addChild(this); par = _arg4; x = _arg1; y = _arg2; text1 = _arg3; textcontent = text1; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); relivecross = (this.getChildByName("relivecrossMC") as MovieClip); myTextBox = (this.getChildByName("myTextf") as TextField); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; this.addEventListener(Event.ENTER_FRAME, relivecrossaction, false, 0, true); } private function relivecrossaction(_arg1:Event=null):void{ if ((((timer > 55)) && (((tt % 2) == 0)))){ if (tc < textcontent.length){ tc++; myTextBox.text = textcontent.substring(0, tc); }; }; tt++; timer++; if (timer == 1000){ this.removeEventListener(Event.ENTER_FRAME, relivecrossaction); }; } } }//package ui
Section 220
//Gameover (ui.Gameover) package ui { import flash.display.*; import walls.*; public class Gameover extends MovieClip { public var zz_MC:ZZ; public var moregames_btn:SimpleButton; public var spilurl:SimpleButton; public var credits_btn:SimpleButton; public var playagain_btn:SimpleButton; public var zz:MovieClip; public var credits:SimpleButton; public var playagain:SimpleButton; public var urlbtn:SimpleButton; public var urlbtn_btn:SimpleButton; public var moregames:SimpleButton; public var title_MC:MovieClip; public var titlemc:MovieClip; public function Gameover(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); titlemc = (this.getChildByName("title_MC") as MovieClip); playagain = (this.getChildByName("playagain_btn") as SimpleButton); moregames = (this.getChildByName("moregames_btn") as SimpleButton); credits = (this.getChildByName("credits_btn") as SimpleButton); urlbtn = (this.getChildByName("urlbtn_btn") as SimpleButton); spilurl = (this.getChildByName("spil") as SimpleButton); } } }//package ui
Section 221
//Gamestart (ui.Gamestart) package ui { import flash.display.*; import walls.*; public class Gamestart extends MovieClip { public var zz_MC:ZZ; public var moregames_btn:SimpleButton; public var pic_btn:SimpleButton; public var spilurl:SimpleButton; public var highscores:SimpleButton; public var startgame:SimpleButton; public var pic_mc:MovieClip; public var spil:SimpleButton; public var turnmusic_mc:MovieClip; public var turnmusicmc:MovieClip; public var highscores_btn:SimpleButton; public var picbtn:SimpleButton; public var picmc:MovieClip; public var turnmusicbtn:SimpleButton; public var urlbtn:MovieClip; public var zz:MovieClip; public var turnmusic_btn:SimpleButton; public var moregames:SimpleButton; public var startgame_btn:SimpleButton; public function Gamestart(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); startgame = (this.getChildByName("startgame_btn") as SimpleButton); highscores = (this.getChildByName("highscores_btn") as SimpleButton); moregames = (this.getChildByName("moregames_btn") as SimpleButton); spilurl = (this.getChildByName("spil") as SimpleButton); turnmusicmc = (this.getChildByName("turnmusic_mc") as MovieClip); turnmusicbtn = (this.getChildByName("turnmusic_btn") as SimpleButton); picmc = (this.getChildByName("pic_mc") as MovieClip); picbtn = (this.getChildByName("pic_btn") as SimpleButton); urlbtn = (this.getChildByName("url_btn") as MovieClip); } } }//package ui
Section 222
//Go (ui.Go) package ui { import flash.display.*; public class Go extends MovieClip { public function Go(_arg1:Number=0, _arg2:Number=0){ addFrameScript(45, frame46); super(); x = _arg1; y = _arg2; } function frame46(){ stop(); } } }//package ui
Section 223
//Highscore (ui.Highscore) package ui { import flash.display.*; import flash.text.*; import walls.*; public class Highscore extends MovieClip { public var m5t:TextField; public var s1t:TextField; public var s1:TextField; public var s3:TextField; public var s4:TextField; public var s5:TextField; public var s6:TextField; public var s7:TextField; public var s8:TextField; public var s2:TextField; public var m6t:TextField; public var s9:TextField; public var s2t:TextField; public var m7t:TextField; public var s3t:TextField; public var m8t:TextField; public var s4t:TextField; public var m9t:TextField; public var s5t:TextField; public var urlbtn:SimpleButton; public var m10t:TextField; public var s6t:TextField; public var s7t:TextField; public var s10t:TextField; public var s8t:TextField; public var zz_MC:ZZ; public var s9t:TextField; public var zz:MovieClip; public var m10:TextField; public var m1:TextField; public var m3:TextField; public var m6:TextField; public var m7:TextField; public var m8:TextField; public var m4:TextField; public var m5:TextField; public var m9:TextField; public var ok_btn:SimpleButton; public var m2:TextField; public var m1t:TextField; public var urlbtn_btn:SimpleButton; public var m2t:TextField; public var m3t:TextField; public var s10:TextField; public var ok:SimpleButton; public var m4t:TextField; public function Highscore(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); m1 = (this.getChildByName("m1t") as TextField); m2 = (this.getChildByName("m2t") as TextField); m3 = (this.getChildByName("m3t") as TextField); m4 = (this.getChildByName("m4t") as TextField); m5 = (this.getChildByName("m5t") as TextField); m6 = (this.getChildByName("m6t") as TextField); m7 = (this.getChildByName("m7t") as TextField); m8 = (this.getChildByName("m8t") as TextField); m9 = (this.getChildByName("m9t") as TextField); m10 = (this.getChildByName("m10t") as TextField); s1 = (this.getChildByName("s1t") as TextField); s2 = (this.getChildByName("s2t") as TextField); s3 = (this.getChildByName("s3t") as TextField); s4 = (this.getChildByName("s4t") as TextField); s5 = (this.getChildByName("s5t") as TextField); s6 = (this.getChildByName("s6t") as TextField); s7 = (this.getChildByName("s7t") as TextField); s8 = (this.getChildByName("s8t") as TextField); s9 = (this.getChildByName("s9t") as TextField); s10 = (this.getChildByName("s10t") as TextField); ok = (this.getChildByName("ok_btn") as SimpleButton); urlbtn = (this.getChildByName("urlbtn_btn") as SimpleButton); } } }//package ui
Section 224
//InputFace (ui.InputFace) package ui { import flash.display.*; import flash.text.*; public class InputFace extends MovieClip { public var zz_MC:MovieClip; public var inputTextfield:TextField; public var submit:SimpleButton; public var zz:MovieClip; public var input_Textfield:TextField; public var tryagain:SimpleButton; public var tryagain_btn:SimpleButton; public var urlbtn:SimpleButton; public var urlbtn_btn:SimpleButton; public var submit_btn:SimpleButton; public function InputFace(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); inputTextfield = (this.getChildByName("input_Textfield") as TextField); submit = (this.getChildByName("submit_btn") as SimpleButton); tryagain = (this.getChildByName("tryagain_btn") as SimpleButton); urlbtn = (this.getChildByName("urlbtn_btn") as SimpleButton); } } }//package ui
Section 225
//KeyShow1 (ui.KeyShow1) package ui { import flash.events.*; import flash.display.*; public class KeyShow1 extends MovieClip { public var jkeymc:MovieClip; public var skey:MovieClip; public var wkeymc:MovieClip; public var kkey:MovieClip; public var ay;// = 200 public var ax;// = 400 public var array_MC:MovieClip; public var lkeymc:MovieClip; public var ikey:MovieClip; public var dkeymc:MovieClip; public var akey:MovieClip; public var arr:MovieClip; public var akeymc:MovieClip; public var ikeymc:MovieClip; public var dkey:MovieClip; public var lkey:MovieClip; public var wkey:MovieClip; public var skeymc:MovieClip; public var jkey:MovieClip; public var kkeymc:MovieClip; public function KeyShow1(_arg1:Number=0, _arg2:Number=0){ ax = 400; ay = 200; super(); x = _arg1; y = _arg2; initDis(); } private function thisaction(_arg1:Event):void{ arr.x = (arr.x + ((ax - arr.x) / 3)); arr.y = (arr.y + ((ay - arr.y) / 3)); } private function initDis():void{ wkey = (this.getChildByName("wkeymc") as MovieClip); akey = (this.getChildByName("akeymc") as MovieClip); skey = (this.getChildByName("skeymc") as MovieClip); dkey = (this.getChildByName("dkeymc") as MovieClip); jkey = (this.getChildByName("jkeymc") as MovieClip); kkey = (this.getChildByName("kkeymc") as MovieClip); lkey = (this.getChildByName("lkeymc") as MovieClip); ikey = (this.getChildByName("ikeymc") as MovieClip); arr = (this.getChildByName("array_MC") as MovieClip); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package ui
Section 226
//KeyShow2 (ui.KeyShow2) package ui { import flash.events.*; import flash.display.*; public class KeyShow2 extends MovieClip { public var upkey:MovieClip; public var ckey:MovieClip; public var array_MC:MovieClip; public var ax;// = 400 public var ay;// = 200 public var arr:MovieClip; public var downkey:MovieClip; public var zkeymc:MovieClip; public var leftkeymc:MovieClip; public var rightkeymc:MovieClip; public var upkeymc:MovieClip; public var spacekey:MovieClip; public var zkey:MovieClip; public var ckeymc:MovieClip; public var xkeymc:MovieClip; public var rightkey:MovieClip; public var downkeymc:MovieClip; public var xkey:MovieClip; public var spacekeymc:MovieClip; public var leftkey:MovieClip; public function KeyShow2(_arg1:Number=0, _arg2:Number=0){ ax = 400; ay = 200; super(); x = _arg1; y = _arg2; initDis(); } private function thisaction(_arg1:Event):void{ arr.x = (arr.x + ((ax - arr.x) / 3)); arr.y = (arr.y + ((ay - arr.y) / 3)); } private function initDis():void{ zkey = (this.getChildByName("zkeymc") as MovieClip); xkey = (this.getChildByName("xkeymc") as MovieClip); ckey = (this.getChildByName("ckeymc") as MovieClip); spacekey = (this.getChildByName("spacekeymc") as MovieClip); upkey = (this.getChildByName("upkeymc") as MovieClip); downkey = (this.getChildByName("downkeymc") as MovieClip); leftkey = (this.getChildByName("leftkeymc") as MovieClip); rightkey = (this.getChildByName("rightkeymc") as MovieClip); arr = (this.getChildByName("array_MC") as MovieClip); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package ui
Section 227
//Map (ui.Map) package ui { import flash.display.*; public class Map extends MovieClip { public var zz_MC:MovieClip; public var road_mc:MovieClip; public var road:MovieClip; public var zz:MovieClip; public var swordtipMC:MovieClip; public var swordtip:MovieClip; public function Map(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); swordtip = (this.getChildByName("swordtipMC") as MovieClip); road = (this.getChildByName("road_mc") as MovieClip); road.gotoAndStop(1); } } }//package ui
Section 228
//Predai (ui.Predai) package ui { import flash.display.*; import walls.*; public class Predai extends MovieClip { public var zz_MC:ZZ; public var zz:MovieClip; public function Predai(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); } } }//package ui
Section 229
//ReliveStage (ui.ReliveStage) package ui { import flash.events.*; import flash.display.*; import flash.text.*; import walls.*; public class ReliveStage extends MovieClip { public var relivecross:MovieClip; public var zz_MC:ZZ; private var myTextBox:TextField; private var textchange:Boolean;// = false private var timer;// = 0 public var relivecrossMC:MovieClip; public var zz:MovieClip; public var tc;// = 0 public var tt;// = 0 private var par; private var fnm; public var myTextf:TextField; public var textcontent:String; public var text1:String; public var myText:String; public function ReliveStage(_arg1:Number, _arg2:Number, _arg3:String, _arg4){ timer = 0; textchange = false; tt = 0; tc = 0; super(); _arg4.addChild(this); par = _arg4; x = _arg1; y = _arg2; text1 = _arg3; textcontent = text1; initDis(); } private function initDis():void{ zz = (this.getChildByName("zz_MC") as MovieClip); relivecross = (this.getChildByName("relivecrossMC") as MovieClip); myTextBox = (this.getChildByName("myTextf") as TextField); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; this.addEventListener(Event.ENTER_FRAME, relivecrossaction, false, 0, true); } private function relivecrossaction(_arg1:Event=null):void{ var _local2:*; var _local3:*; var _local4:*; if (tt > 0){ if (tc < textcontent.length){ tc++; myTextBox.text = textcontent.substring(0, tc); }; }; tt++; timer++; if (((((timer % 3) == 0)) && ((timer < 110)))){ _local2 = (Math.random() * 2); _local3 = ((relivecross.x + (Math.random() * 80)) - 40); _local4 = ((relivecross.y + (Math.random() * 120)) - 40); if (_local2 < 1){ fnm = new MagicStar3(_local3, _local4, this); }; if (_local2 >= 1){ fnm = new MagicStar4(_local3, _local4, this); }; fnm.scaleX = (fnm.scaleX * 2); fnm.scaleY = (fnm.scaleY * 2); }; if (timer == 110){ this.removeEventListener(Event.ENTER_FRAME, relivecrossaction); }; } } }//package ui
Section 230
//language (url.language) package url { import flash.net.*; public class language { public static var SpillGroupUrl:Array = new Array(); public static var localConnection = new LocalConnection(); public static var _languageNum:uint = 0; public static var _languageBox:Array = new Array(); public static var hostingdomain:String; 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 language_nr():String{ return (_languageBox[_languageNum].language_nr); } public static function set Language(_arg1:Object):void{ var returnDomain:Function; var language1:languageItem; var language2:languageItem; var language3:languageItem; var language4:languageItem; var language5:languageItem; var language6:languageItem; var language7:languageItem; var language8:languageItem; var language9:languageItem; var language10:languageItem; var language11:languageItem; var language12:languageItem; var language13:languageItem; var language14:languageItem; var language15:languageItem; var language16:languageItem; var language17:languageItem; var language18:languageItem; var language19:languageItem; var myArray:Array; 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); }; if (localConnection.domain != "localhost"){ myArray = localConnection.domain.split("."); trace(myArray.length); domainextention = (myArray.length - 1); domainname = (myArray.length - 2); hostingdomain = ((myArray[domainname] + ".") + myArray[domainextention]); } else { hostingdomain = "localhost"; }; language1 = new languageItem(); language1.url1 = ("http://www.a10.com/moregames/?utm_medium=brandedgames_external&utm_campaign=game_name_here&utm_source=" + hostingdomain); language1.url2 = "http://www.a10.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=game_name_here"; language1.language_nr = 1; language1.branding_nr = 1; _languageBox.push(language1); language2 = new languageItem(); language2.url1 = "http://www.game.com.cn/moregames/"; language2.url2 = "http://www.game.com.cn/moregames/"; language2.language_nr = 17; language2.branding_nr = 2; _languageBox.push(language2); language3 = new languageItem(); language3.url1 = ("http://www.spel.nl/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language3.url2 = "http://www.spel.nl/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language3.language_nr = 3; language3.branding_nr = 4; _languageBox.push(language3); language4 = new languageItem(); language4.url1 = ("http://www.jeu.fr/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language4.url2 = "http://www.jeu.fr/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language4.language_nr = 4; language4.branding_nr = 5; _languageBox.push(language4); language5 = new languageItem(); language5.url1 = ("http://www.spielen.com/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language5.url2 = "http://www.spielen.com/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language5.language_nr = 5; language5.branding_nr = 6; _languageBox.push(language5); language6 = new languageItem(); language6.url1 = ("http://www.minigry.pl/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language6.url2 = "http://www.minigry.pl/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language6.language_nr = 11; language6.branding_nr = 14; _languageBox.push(language6); language7 = new languageItem(); language7.url1 = ("http://www.spel.eu/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language7.url2 = "http://www.spel.eu/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language7.language_nr = 10; language7.branding_nr = 9; _languageBox.push(language7); language8 = new languageItem(); language8.url1 = ("http://www.giocaregratis.it/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language8.url2 = "http://www.giocaregratis.it/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language8.language_nr = 9; language8.branding_nr = 8; _languageBox.push(language8); language9 = new languageItem(); language9.url1 = ("http://www.zapjuegos.com/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language9.url2 = "http://www.zapjuegos.com/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language9.language_nr = 6; language9.branding_nr = 3; _languageBox.push(language9); language10 = new languageItem(); language10.url1 = ("http://www.clickjogos.com/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language10.url2 = "http://www.clickjogos.com/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language10.language_nr = 7; language10.branding_nr = 7; _languageBox.push(language10); language11 = new languageItem(); language11.url1 = ("http://www.games.co.id/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language11.url2 = "http://www.games.co.id/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language11.language_nr = 14; language11.branding_nr = 13; _languageBox.push(language11); language12 = new languageItem(); language12.url1 = ("http://www.flashgames.ru/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language12.url2 = "http://www.flashgames.ru/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language12.language_nr = 12; language12.branding_nr = 11; _languageBox.push(language12); language13 = new languageItem(); language13.url1 = ("http://www.mygames.co.uk/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language13.url2 = "http://www.mygames.co.uk/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language13.language_nr = 2; language13.branding_nr = 10; _languageBox.push(language13); language14 = new languageItem(); language14.url1 = ("http://www.game.co.in/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language14.url2 = "http://www.game.co.in/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language14.language_nr = 2; language14.branding_nr = 12; _languageBox.push(language14); language15 = new languageItem(); language15.url1 = ("http://www.asoyun.com/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language15.url2 = "http://www.asoyun.com/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language15.language_nr = 13; language15.branding_nr = 15; _languageBox.push(language15); language16 = new languageItem(); language16.url1 = ("http://www.game.com.my/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language16.url2 = "http://www.game.com.my/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language16.language_nr = 15; language16.branding_nr = 16; _languageBox.push(language16); language17 = new languageItem(); language17.url1 = ("http://www.ojogos.pt/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language17.url2 = "http://www.ojogos.pt/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language17.language_nr = 8; language17.branding_nr = 42; _languageBox.push(language17); language18 = new languageItem(); language18.url1 = ("http://www.laro.com.ph/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language18.url2 = "http://www.laro.com.ph/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language18.language_nr = 2; language18.branding_nr = 43; _languageBox.push(language18); language19 = new languageItem(); language19.url1 = ("http://www.egames.jp/moregames/?utm_source=brandedgames_external&utm_medium=Blue_Knight&utm_campaign=" + hostingdomain); language19.url2 = "http://www.egames.jp/moregames/?utm_source=brandedgames_internal&utm_medium=Blue_Knight"; language19.language_nr = 16; language19.branding_nr = 44; _languageBox.push(language19); SpillGroupUrl.push("localhost"); SpillGroupUrl.push("www8.agame.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 url class languageItem { public var url1:String; public var url2:String; public var branding_nr:int; public var language_nr:int; private function languageItem(){ } }
Section 231
//Wall101 (walls.Wall101) package walls { import flash.display.*; public class Wall101 extends MovieClip { public var playRoll; public var container3:Sprite; public function Wall101(_arg1:Number=0, _arg2:Number=0){ container3 = new Sprite(); super(); x = _arg1; y = _arg2; addChild(container3); } } }//package walls
Section 232
//Wall102 (walls.Wall102) package walls { import flash.display.*; public class Wall102 extends MovieClip { public function Wall102(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 233
//Wall103 (walls.Wall103) package walls { import flash.display.*; public class Wall103 extends MovieClip { public function Wall103(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 234
//Wall11 (walls.Wall11) package walls { import flash.display.*; public class Wall11 extends MovieClip { public function Wall11(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 235
//Wall112 (walls.Wall112) package walls { import flash.display.*; public class Wall112 extends MovieClip { public var sheadMC:MovieClip; public var shead:MovieClip; public function Wall112(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ shead = (this.getChildByName("sheadMC") as MovieClip); } } }//package walls
Section 236
//Wall113 (walls.Wall113) package walls { import flash.display.*; public class Wall113 extends MovieClip { public function Wall113(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 237
//Wall12 (walls.Wall12) package walls { import flash.display.*; public class Wall12 extends MovieClip { public function Wall12(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 238
//Wall13 (walls.Wall13) package walls { import flash.display.*; public class Wall13 extends MovieClip { public function Wall13(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 239
//Wall20 (walls.Wall20) package walls { import flash.display.*; public class Wall20 extends MovieClip { public function Wall20(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 240
//Wall21 (walls.Wall21) package walls { import flash.display.*; public class Wall21 extends MovieClip { public function Wall21(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 241
//Wall22 (walls.Wall22) package walls { import flash.display.*; public class Wall22 extends MovieClip { public function Wall22(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 242
//Wall23 (walls.Wall23) package walls { import flash.display.*; public class Wall23 extends MovieClip { public function Wall23(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 243
//Wall31 (walls.Wall31) package walls { import flash.display.*; public class Wall31 extends MovieClip { public function Wall31(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 244
//Wall32 (walls.Wall32) package walls { import flash.display.*; public class Wall32 extends MovieClip { public function Wall32(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 245
//Wall33 (walls.Wall33) package walls { import flash.display.*; public class Wall33 extends MovieClip { public function Wall33(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 246
//Wall41 (walls.Wall41) package walls { import flash.display.*; public class Wall41 extends MovieClip { public function Wall41(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 247
//Wall42 (walls.Wall42) package walls { import flash.display.*; public class Wall42 extends MovieClip { public function Wall42(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 248
//Wall43 (walls.Wall43) package walls { import flash.display.*; public class Wall43 extends MovieClip { public function Wall43(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 249
//Wall51 (walls.Wall51) package walls { import flash.display.*; public class Wall51 extends MovieClip { public function Wall51(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 250
//Wall52 (walls.Wall52) package walls { import flash.display.*; public class Wall52 extends MovieClip { public function Wall52(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 251
//Wall53 (walls.Wall53) package walls { import flash.display.*; public class Wall53 extends MovieClip { public function Wall53(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 252
//Wall61 (walls.Wall61) package walls { import flash.display.*; public class Wall61 extends MovieClip { public function Wall61(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 253
//Wall62 (walls.Wall62) package walls { import flash.display.*; public class Wall62 extends MovieClip { public function Wall62(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 254
//Wall63 (walls.Wall63) package walls { import flash.display.*; public class Wall63 extends MovieClip { public function Wall63(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package walls
Section 255
//ZZ (walls.ZZ) package walls { import flash.display.*; public class ZZ extends MovieClip { public function ZZ(_arg1:Number=0, _arg2:Number=0){ addFrameScript(25, frame26, 74, frame75); super(); x = _arg1; y = _arg2; } function frame75(){ stop(); } function frame26(){ stop(); } } }//package walls
Section 256
//ZZ2 (walls.ZZ2) package walls { import flash.display.*; public class ZZ2 extends MovieClip { public function ZZ2(_arg1:Number=0, _arg2:Number=0){ addFrameScript(19, frame20, 89, frame90); super(); x = _arg1; y = _arg2; } function frame90(){ stop(); } function frame20(){ stop(); } } }//package walls
Section 257
//Aload (Aload) package { import flash.display.*; public class Aload extends MovieClip { public var loadings:MovieClip; public var loadingMC:MovieClip; public function Aload(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; initDis(); } private function initDis():void{ loadings = (this.getChildByName("loadingMC") as MovieClip); } } }//package
Section 258
//Ash (Ash) package { import flash.events.*; import flash.display.*; public class Ash extends MovieClip { public var man:Boolean;// = false private var dy:Number; private var par:Sprite; public var dx:Number;// = 0 public function Ash(_arg1:Number, _arg2:Number, _arg3:Sprite){ dx = 0; man = false; super(); addFrameScript(9, frame10); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initAsh(); } function frame10(){ stop(); } private function thisaction(_arg1:Event):void{ x = (x + dx); if (this.currentFrame == 10){ par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } private function initAsh():void{ scaleX = (scaleY = ((Math.random() * 0.4) + 0.8)); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 259
//baomutong (baomutong) package { import flash.media.*; public dynamic class baomutong extends Sound { } }//package
Section 260
//Bar (Bar) package { import flash.events.*; import flash.display.*; import bars.*; import enemies.*; import objects.*; public class Bar extends Sprite { public const hurt:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 1 public var obj1; public var actionstate;// = 1 public var obj3; public var lifexxx:Number;// = 1 public var obj2; public var obj4; public var hitBall:MovieClip; public var number; public var speed:Number;// = 10 private var master; public var man:Boolean;// = true public var roll:MovieClip; public var dy:Number;// = 0 public var strong:Number;// = 1 private var par; public var dx:Number;// = 0 public var defend:Number; public function Bar(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 1; lifexxx = 1; strong = 1; man = true; speed = 10; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initChest(); } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function thisaction(_arg1:Event):void{ changeDepth(); if (actionstate == 0){ }; if (actionstate == 1){ if ((((((((par.stagechange == true)) && ((master.x > 240)))) && ((master.dx > 0)))) && ((((((master.roll.currentFrame >= 2)) && ((master.roll.currentFrame < 12)))) || ((((master.roll.currentFrame >= master.jump)) && ((master.roll.currentFrame <= (master.jump + 3))))))))){ x = (x - master.dx); }; x = (x + dx); if (roll.currentFrame == (hurt + 1)){ dx = 0; removeChild(hitBall); }; if (roll.currentFrame == (hurt + 2)){ createObj(obj1); createObj(obj2); createObj(obj3); createObj(obj4); createbar(Bar8, 3.5, -3.8); createbar(Bar3, -20.1, -24.1); createbar(Bar7, -19.6, -15.6); createbar(Bar4, 9.8, -10.7); createbar(Bar2, -1.1, -24.5); createbar(Bar0, -1.9, -41.5); createbar(Bar1, -1.6, -3); createbar(Bar5, -11.4, -25.9); createbar(Bar6, -12.1, -5); createbar(Bar10, 1, -21.7); createbar(Bar11, -1.4, 3); createbar(Bar9, 4.2, -36.5); SoundsManager.playSound("baomutong"); }; if ((((x < -100)) || ((roll.currentFrame == (hurt + 3))))){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 40) + (Math.random() * 10)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } private function createbar(_arg1, _arg2, _arg3):void{ var _local4:*; var _local5:*; var _local6:*; _local5 = (x + _arg2); _local6 = (y + _arg3); _local4 = new _arg1(_local5, _local6, par, this); } private function initChest():void{ hitBall = new HitMovie(0, -30, this); addChild(hitBall); hitBall.width = 40; hitBall.height = 60; roll = new BarRoll(0, 0); addChild(roll); master = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 261
//Birdman (Birdman) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Birdman extends Sprite { public const hurt:uint = 75; public const attack:uint = 25; public const die:uint = 85; public const walk:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 20 private var hurtnm;// = 0 public var actionstate;// = 1 public var lifexxx:Number;// = 20 public var hitBall:MovieClip; private var fire; private var hurtt;// = 0 public var number; public var speed:Number;// = 10 public var man:Boolean;// = true private var fist:MovieClip; private var t; private var weakpointtip:MovieClip; public var roll:MovieClip; public var dy:Number;// = 0 public var isboss:Boolean;// = false private var par; public var strong:Number;// = 4 public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Birdman(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; actionstate = 1; isboss = false; dx = 0; dy = 0; dxfix = 0; life = 20; lifexxx = 20; strong = 4; man = true; speed = 10; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initBird(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); if (isboss == true){ _local2 = int(((life / lifexxx) * 100)); par.bossstates.lifeMC.gotoAndStop(_local2); }; x = (x + dx); x = (x + dxfix); y = (y + dy); roll.y = (roll.y + roll.dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 18)){ _local3 = ((x + roll.x) - (90 * scaleX)); _local4 = (y - 250); fist = new Feather(_local3, _local4, par); par.enemys.push(fist); fist.number = fist; fist.yfix = y; fist.dx = ((-20 - (Math.random() * 8)) * scaleX); fist.dy = (6 + (Math.random() * 3)); par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; _local3 = ((x + roll.x) - (70 * scaleX)); _local4 = (y - 220); fist = new Feather(_local3, _local4, par); par.enemys.push(fist); fist.number = fist; fist.yfix = y; fist.dx = ((-12 - (Math.random() * 5)) * scaleX); fist.dy = (12 + (Math.random() * 5)); par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; _local3 = ((x + roll.x) - (54 * scaleX)); _local4 = (y - 196); fist = new Feather(_local3, _local4, par); par.enemys.push(fist); fist.number = fist; fist.yfix = y; fist.dx = ((-6 - (Math.random() * 3)) * scaleX); fist.dy = (20 + (Math.random() * 8)); par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; SoundsManager.playSound("niaorenchuzhao"); }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 51); if (_local5 < 12){ dx = (5 * scaleX); roll.gotoAndPlay(walk); }; if ((((_local5 >= 12)) && ((_local5 < 17)))){ if (t.y < y){ dy = -3; }; if (t.y > y){ dy = 3; }; roll.gotoAndPlay(walk); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 51); if (_local6 < 12){ dx = (-5 * scaleX); }; if ((((_local6 >= 12)) && ((_local6 < 17)))){ if (t.y < y){ dy = -3; }; if (t.y > y){ dy = 3; }; }; if (_local6 > 50){ stopAction(); }; }; if ((((((((Math.abs((t.x - x)) < 400)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))) && ((t.roll.currentFrame < t.hurt2)))){ _local7 = (Math.random() * 50); if (_local7 < 3){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt + 1)){ SoundsManager.playSound("niaorenzhongzhao"); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (die + 7)){ dx = 0; }; if (x < -140){ x = -138; dx = 0; dy = 0; }; if (x > 740){ x = 738; dx = 0; dy = 0; }; if (y < 274){ y = 274; dx = 0; dy = 0; }; if (y > 380){ y = 380; dx = 0; dy = 0; }; if ((((roll.currentFrame < die)) && ((life <= 0)))){ dx = 0; roll.gotoAndPlay(die); SoundsManager.playSound("niaorensiwang"); }; if (roll.currentFrame == (die + 1)){ removeChild(hitBall); }; if (roll.currentFrame == (die + 7)){ roll.dy = 20; }; if ((((roll.y >= 0)) && ((roll.currentFrame == 93)))){ roll.y = 0; roll.dy = 0; roll.gotoAndPlay(94); createObj(Crystel); createObj(Crystel); createObj(Crystel); _local8 = (Math.random() * 100); if (_local8 < 70){ createObj(Gem1); }; if ((((_local8 >= 70)) && ((_local8 < 92)))){ createObj(Gem2); }; if (_local8 >= 92){ createObj(Cherry); }; removeChild(rollshadow); }; if (roll.currentFrame == 170){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } private function initBird():void{ hitBall = new HitMovie(-10, -280, this); addChild(hitBall); hitBall.width = 80; hitBall.height = 180; rollshadow = new Shadow(10, 0); addChild(rollshadow); rollshadow.scaleX = 1.2; roll = new BirdmanRoll(0, -190); roll.scaleX = (roll.scaleY = 1.2); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 262
//bluenightover (bluenightover) package { import flash.media.*; public dynamic class bluenightover extends Sound { } }//package
Section 263
//boss (boss) package { import flash.media.*; public dynamic class boss extends Sound { } }//package
Section 264
//castle (castle) package { import flash.media.*; public dynamic class castle extends Sound { } }//package
Section 265
//cemetery (cemetery) package { import flash.media.*; public dynamic class cemetery extends Sound { } }//package
Section 266
//Chest (Chest) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Chest extends Sprite { public const hurt:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 1 public var obj1; public var actionstate;// = 1 public var lifexxx:Number;// = 1 public var hitBall:MovieClip; public var number; public var speed:Number;// = 10 private var master; public var man:Boolean;// = true public var roll:MovieClip; public var dy:Number;// = 0 public var strong:Number;// = 1 private var par; public var dx:Number;// = 0 public var defend:Number; public function Chest(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 1; lifexxx = 1; strong = 1; man = true; speed = 10; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initChest(); } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function thisaction(_arg1:Event):void{ changeDepth(); if (actionstate == 0){ }; if (actionstate == 1){ if ((((((((par.stagechange == true)) && ((master.x > 240)))) && ((master.dx > 0)))) && ((((((master.roll.currentFrame >= 2)) && ((master.roll.currentFrame < 12)))) || ((((master.roll.currentFrame >= master.jump)) && ((master.roll.currentFrame <= (master.jump + 3))))))))){ x = (x - master.dx); }; x = (x + dx); if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (roll.currentFrame == (hurt + 1)){ removeChild(hitBall); SoundsManager.playSound("kaixiang"); }; if (roll.currentFrame == (hurt + 6)){ createObj(obj1); }; if ((((roll.currentFrame == 60)) || ((x < -100)))){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 40) + (Math.random() * 10)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } private function initChest():void{ hitBall = new HitMovie(0, -20, this); addChild(hitBall); hitBall.width = 60; hitBall.height = 40; roll = new ChestRoll(0, 0); addChild(roll); master = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 267
//chinengliang (chinengliang) package { import flash.media.*; public dynamic class chinengliang extends Sound { } }//package
Section 268
//chixue (chixue) package { import flash.media.*; public dynamic class chixue extends Sound { } }//package
Section 269
//chongshenzhiguang (chongshenzhiguang) package { import flash.media.*; public dynamic class chongshenzhiguang extends Sound { } }//package
Section 270
//coinsound (coinsound) package { import flash.media.*; public dynamic class coinsound extends Sound { } }//package
Section 271
//dabin (dabin) package { import flash.media.*; public dynamic class dabin extends Sound { } }//package
Section 272
//dadao (dadao) package { import flash.media.*; public dynamic class dadao extends Sound { } }//package
Section 273
//dahuo (dahuo) package { import flash.media.*; public dynamic class dahuo extends Sound { } }//package
Section 274
//Deathhead1 (Deathhead1) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Deathhead1 extends Sprite { public const hurt:uint = 75; public const attack:uint = 35; public const die:uint = 85; public const strong:Number = 4; public const walk:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 90 public var actionstate;// = 1 public var hitBall:MovieClip; private var fire; public var number; public var speed:Number;// = 20 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 private var par; public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Deathhead1(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 90; man = true; speed = 20; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initdeath1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); x = (x + dx); x = (x + dxfix); y = (y + dy); if ((((roll.currentFrame >= 15)) && ((roll.currentFrame <= 19)))){ x = (x - dx); y = (y - dy); }; if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if (roll.currentFrame == (hurt + 3)){ if (life <= 0){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(die); createObj(Crystel); _local2 = (Math.random() * 100); if (_local2 < 70){ createObj(GoldCoin); }; if ((((_local2 >= 70)) && ((_local2 < 92)))){ createObj(Gem1); }; if (_local2 >= 92){ createObj(Apple); }; }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 8)){ _local3 = ((x + roll.x) - (70 * scaleX)); _local4 = ((y + roll.y) - 44); fist = new Fist(_local3, _local4, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.8); fist.xxscale = scaleX; fist.SAttack = 20; }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 201); if (_local5 < 3){ dx = (-4 * scaleX); dy = 0; roll.gotoAndPlay(walk); }; if ((((_local5 >= 4)) && ((_local5 < 5)))){ if (t.y < y){ dy = -2.5; dx = 0; }; if (t.y > y){ dy = 2.5; dx = 0; }; roll.gotoAndPlay(walk); }; if (_local5 > 200){ dx = 0; dy = 0; roll.gotoAndStop(1); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 100); if (_local6 < 3){ dx = (-4 * scaleX); dy = 0; }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ if (t.y < y){ dy = -2.5; dx = 0; }; if (t.y > y){ dy = 2.5; dx = 0; }; }; }; if ((((((Math.abs((t.x - x)) < 140)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 4); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 4); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (x < -100){ x = -100; stopAction(); }; if (x > 700){ x = 700; stopAction(); }; if (y < 274){ y = 274; stopAction(); }; if (y > 380){ y = 380; stopAction(); }; if (roll.currentFrame == (die + 1)){ SoundsManager.playSound("kulousanjia"); removeChild(rollshadow); }; if (roll.currentFrame == 198){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } private function initdeath1():void{ hitBall = new HitMovie(0, -50, this); addChild(hitBall); hitBall.width = 110; hitBall.height = 100; rollshadow = new Shadow(4, 0); addChild(rollshadow); roll = new Deathhead1Roll(0, 0); addChild(roll); roll.scaleX = (roll.scaleY = 1.1); roll.x = (roll.y = 0); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 275
//Deathhead2 (Deathhead2) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Deathhead2 extends Sprite { public const hurt:uint = 72; public const attack:uint = 28; public const die:uint = 82; public const strong:Number = 4; public const walk:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 50 public var actionstate;// = 1 public var hitBall:MovieClip; private var fire; public var number; public var speed:Number;// = 20 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 private var par; public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Deathhead2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 50; man = true; speed = 20; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initdeath1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if (roll.currentFrame == (hurt + 3)){ if (life <= 0){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(die); createObj(Crystel); _local2 = (Math.random() * 100); if (_local2 < 70){ createObj(GoldCoin); }; if ((((_local2 >= 70)) && ((_local2 < 92)))){ createObj(Gem1); }; if (_local2 >= 92){ createObj(Apple); }; }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 29)){ _local3 = ((x + roll.x) - (60 * scaleX)); _local4 = ((y + roll.y) - 80); fist = new Arrow(_local3, _local4, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.dx = (-40 * scaleX); fist.xxscale = scaleX; }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 201); if (_local5 < 3){ dx = (-4 * scaleX); dy = 0; roll.gotoAndPlay(walk); }; if ((((_local5 >= 4)) && ((_local5 < 5)))){ if (t.y < y){ dy = -2.5; dx = 0; }; if (t.y > y){ dy = 2.5; dx = 0; }; roll.gotoAndPlay(walk); }; if (_local5 > 200){ dx = 0; dy = 0; roll.gotoAndStop(1); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 100); if (_local6 < 3){ dx = (-4 * scaleX); dy = 0; }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ if (t.y < y){ dy = -2.5; dx = 0; }; if (t.y > y){ dy = 2.5; dx = 0; }; }; }; if ((((((((((((Math.abs((t.x - x)) < 550)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))) && ((x < 600)))) && ((x > 0)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 4); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 4); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (x < -100){ x = -100; stopAction(); }; if (x > 700){ x = 700; stopAction(); }; if (y < 274){ y = 274; stopAction(); }; if (y > 380){ y = 380; stopAction(); }; if (roll.currentFrame == (die + 1)){ SoundsManager.playSound("kulousanjia"); removeChild(rollshadow); }; if (roll.currentFrame == 195){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } private function initdeath1():void{ hitBall = new HitMovie(0, -50, this); addChild(hitBall); hitBall.width = 110; hitBall.height = 100; rollshadow = new Shadow(4, 0); addChild(rollshadow); roll = new Deathhead2Roll(0, 0); addChild(roll); roll.scaleX = (roll.scaleY = 1.1); roll.x = (roll.y = 0); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 276
//dedaochongshen (dedaochongshen) package { import flash.media.*; public dynamic class dedaochongshen extends Sound { } }//package
Section 277
//Dialog (Dialog) package { import flash.events.*; import flash.display.*; import flash.text.*; public class Dialog extends MovieClip { private var myTextBox:TextField; private var textchange:Boolean;// = false public var man:Boolean;// = false public var tc:Number;// = 0 public var tt:Number;// = 0 private var par; public var text3:String; public var text4:String; public var textcontent:String; public var textnm; public var text2:String; public var text1:String; public var canpass;// = 1 public var myText:String; public function Dialog(_arg1:Number, _arg2:Number, _arg3, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8){ myTextBox = new TextField(); textchange = false; man = false; tt = 0; tc = 0; canpass = 1; super(); addFrameScript(9, frame10, 15, frame16); _arg8.container3.addChild(this); par = _arg8; x = _arg1; y = _arg2; textnm = _arg3; text4 = _arg4; text3 = _arg5; text2 = _arg6; text1 = _arg7; initdialog(); } public function del():void{ this.stop(); this.removeEventListener(Event.ENTER_FRAME, thisaction); stage.removeEventListener(KeyboardEvent.KEY_DOWN, action1); par.container3.removeChild(this); par.stagenm++; } private function thisaction(_arg1:Event):void{ if (tt == 0){ textchange = false; myTextBox.text = ""; if (textnm == 4){ textcontent = text4; }; if (textnm == 3){ textcontent = text3; }; if (textnm == 2){ textcontent = text2; }; if (textnm == 1){ textcontent = text1; }; if (textnm == 0){ this.gotoAndPlay(11); }; textnm--; tc = 0; }; if ((((tt > 0)) && ((this.currentFrame == 10)))){ if (tc < textcontent.length){ tc++; myTextBox.text = textcontent.substring(0, tc); }; if (tc == textcontent.length){ textchange = true; }; }; tt++; tt = (tt % 180); if (this.currentFrame == 16){ del(); }; } function frame16(){ stop(); } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 210; myTextBox.height = 36; myTextBox.x = -126; myTextBox.y = -64; _local1 = new TextFormat(); _local1.font = "_sans"; _local1.color = 6047011; _local1.size = 12; _local1.bold = true; myTextBox.defaultTextFormat = _local1; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, action1, false, 0, true); } function frame10(){ stop(); } private function action1(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == 74){ if ((((textchange == true)) && ((canpass == 1)))){ tt = 0; }; }; } } }//package
Section 278
//Dialog2 (Dialog2) package { import flash.events.*; import flash.display.*; import flash.text.*; public class Dialog2 extends MovieClip { private var myTextBox:TextField; private var textchange:Boolean;// = false public var man:Boolean;// = false public var tc:Number;// = 0 public var tt:Number;// = 0 private var par; public var text3:String; public var text4:String; public var textcontent:String; public var textnm; public var text2:String; public var text1:String; public var canpass;// = 1 public var myText:String; public function Dialog2(_arg1:Number, _arg2:Number, _arg3, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8){ myTextBox = new TextField(); textchange = false; man = false; tt = 0; tc = 0; canpass = 1; super(); addFrameScript(9, frame10, 15, frame16); _arg8.container3.addChild(this); par = _arg8; x = _arg1; y = _arg2; textnm = _arg3; text4 = _arg4; text3 = _arg5; text2 = _arg6; text1 = _arg7; initdialog(); } public function del():void{ this.stop(); this.removeEventListener(Event.ENTER_FRAME, thisaction); stage.removeEventListener(KeyboardEvent.KEY_DOWN, action1); par.container3.removeChild(this); par.stagenm++; } private function thisaction(_arg1:Event):void{ if (tt == 0){ textchange = false; myTextBox.text = ""; if (textnm == 4){ textcontent = text4; }; if (textnm == 3){ textcontent = text3; }; if (textnm == 2){ textcontent = text2; }; if (textnm == 1){ textcontent = text1; }; if (textnm == 0){ this.gotoAndPlay(11); }; textnm--; tc = 0; }; if ((((tt > 0)) && ((this.currentFrame == 10)))){ if (tc < textcontent.length){ tc++; myTextBox.text = textcontent.substring(0, tc); }; if (tc == textcontent.length){ textchange = true; }; }; tt++; tt = (tt % 180); if (this.currentFrame == 16){ del(); }; } function frame16(){ stop(); } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 210; myTextBox.height = 36; myTextBox.x = -70; myTextBox.y = -64; _local1 = new TextFormat(); _local1.font = "_sans"; _local1.color = 6047011; _local1.size = 12; _local1.bold = true; myTextBox.defaultTextFormat = _local1; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, action1, false, 0, true); } function frame10(){ stop(); } private function action1(_arg1:KeyboardEvent):void{ if ((((_arg1.keyCode == 74)) && ((canpass == 1)))){ if (textchange == true){ tt = 0; }; }; } } }//package
Section 279
//Dialog3 (Dialog3) package { import flash.events.*; import flash.display.*; import flash.text.*; public class Dialog3 extends MovieClip { private var myTextBox:TextField; private var textchange:Boolean;// = false public var man:Boolean;// = false public var tc:Number;// = 0 public var tt:Number;// = 0 private var par; public var text3:String; public var text4:String; public var textcontent:String; public var textnm; public var text2:String; public var text1:String; public var canpass;// = 1 public var myText:String; public function Dialog3(_arg1:Number, _arg2:Number, _arg3, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8){ myTextBox = new TextField(); textchange = false; man = false; tt = 0; tc = 0; canpass = 1; super(); addFrameScript(9, frame10, 15, frame16); _arg8.container3.addChild(this); par = _arg8; x = _arg1; y = _arg2; textnm = _arg3; text4 = _arg4; text3 = _arg5; text2 = _arg6; text1 = _arg7; initdialog(); } public function del():void{ this.stop(); this.removeEventListener(Event.ENTER_FRAME, thisaction); stage.removeEventListener(KeyboardEvent.KEY_DOWN, action1); par.container3.removeChild(this); par.stagenm++; } private function thisaction(_arg1:Event):void{ if (tt == 0){ textchange = false; myTextBox.text = ""; if (textnm == 4){ textcontent = text4; }; if (textnm == 3){ textcontent = text3; }; if (textnm == 2){ textcontent = text2; }; if (textnm == 1){ textcontent = text1; }; if (textnm == 0){ this.gotoAndPlay(11); }; textnm--; tc = 0; }; if ((((tt > 0)) && ((this.currentFrame == 10)))){ if (tc < textcontent.length){ tc++; myTextBox.text = textcontent.substring(0, tc); }; if (tc == textcontent.length){ textchange = true; }; }; tt++; tt = (tt % 180); if (this.currentFrame == 16){ del(); }; } function frame16(){ stop(); } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 97; myTextBox.height = 36; myTextBox.x = -30; myTextBox.y = -53; _local1 = new TextFormat(); _local1.font = "_sans"; _local1.color = 6047011; _local1.size = 12; _local1.bold = true; myTextBox.defaultTextFormat = _local1; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, action1, false, 0, true); } function frame10(){ stop(); } private function action1(_arg1:KeyboardEvent):void{ if ((((_arg1.keyCode == 74)) && ((canpass == 1)))){ if (textchange == true){ tt = 0; }; }; } } }//package
Section 280
//Dialog4 (Dialog4) package { import flash.events.*; import flash.display.*; import flash.text.*; public class Dialog4 extends MovieClip { private var myTextBox:TextField; private var textchange:Boolean;// = false public var man:Boolean;// = false public var tc:Number;// = 0 public var tt:Number;// = 0 private var par; public var text3:String; public var text4:String; public var textcontent:String; public var textnm; public var text2:String; public var text1:String; public var canpass;// = 1 public var myText:String; public function Dialog4(_arg1:Number, _arg2:Number, _arg3, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8){ myTextBox = new TextField(); textchange = false; man = false; tt = 0; tc = 0; canpass = 1; super(); addFrameScript(9, frame10, 15, frame16); _arg8.container3.addChild(this); par = _arg8; x = _arg1; y = _arg2; textnm = _arg3; text4 = _arg4; text3 = _arg5; text2 = _arg6; text1 = _arg7; initdialog(); } public function del():void{ this.stop(); this.removeEventListener(Event.ENTER_FRAME, thisaction); stage.removeEventListener(KeyboardEvent.KEY_DOWN, action1); par.container3.removeChild(this); par.stagenm++; } private function thisaction(_arg1:Event):void{ if (tt == 0){ textchange = false; myTextBox.text = ""; if (textnm == 4){ textcontent = text4; }; if (textnm == 3){ textcontent = text3; }; if (textnm == 2){ textcontent = text2; }; if (textnm == 1){ textcontent = text1; }; if (textnm == 0){ this.gotoAndPlay(11); }; textnm--; tc = 0; }; if ((((tt > 0)) && ((this.currentFrame == 10)))){ if (tc < textcontent.length){ tc++; myTextBox.text = textcontent.substring(0, tc); }; if (tc == textcontent.length){ textchange = true; }; }; tt++; tt = (tt % 180); if (this.currentFrame == 16){ del(); }; } function frame16(){ stop(); } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 97; myTextBox.height = 36; myTextBox.x = -68; myTextBox.y = -53; _local1 = new TextFormat(); _local1.font = "_sans"; _local1.color = 6047011; _local1.size = 12; _local1.bold = true; myTextBox.defaultTextFormat = _local1; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, action1, false, 0, true); } function frame10(){ stop(); } private function action1(_arg1:KeyboardEvent):void{ if ((((_arg1.keyCode == 74)) && ((canpass == 1)))){ if (textchange == true){ tt = 0; }; }; } } }//package
Section 281
//Dragonknight (Dragonknight) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Dragonknight extends Sprite { public const hurt2:uint = 265; public const attack4:uint = 150; public const attack:uint = 56; public const die:uint = 304; public const walk:uint = 2; public const changestate:uint = 423; public const attack3:uint = 115; public const attack2:uint = 80; public var dxfix:Number;// = 0 public var speed:Number;// = 10 public var life:Number;// = 2200 private var hurtnm;// = 0 public var actionstate;// = 1 public var lifexxx:Number;// = 2200 private var ashs2; public var hitBall:MovieClip; private var fire; public var hurt;// = 245 public var fireattacknm;// = 30 private var hurtt;// = 0 private var timer;// = 0 public var number:Number; public var crawtop:MovieClip; public var man:Boolean;// = true private var fist:MovieClip; private var t; private var tx;// = 0 public var roll:MovieClip; public var isboss:Boolean;// = false private var par; public var strong:Number;// = 8 public var dx:Number;// = 0 public var dy:Number;// = 0 private var ashs; public var defend:Number; private var rolldx;// = 0 private var rolldy;// = 0 public var crawAttack;// = 45 private var rollshadow:MovieClip; public function Dragonknight(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; timer = 0; rolldx = 0; rolldy = 0; tx = 0; actionstate = 1; isboss = false; dx = 0; dy = 0; dxfix = 0; life = 2200; lifexxx = 2200; strong = 8; man = true; speed = 10; hurt = 245; fireattacknm = 30; crawAttack = 45; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initDragon(); } public function del():void{ roll.gotoAndStop(1); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); par.container3.removeChild(this); if ((((isboss == true)) && ((actionstate == 0)))){ par.container5.removeChild(par.bossstates); }; } private function initDragon():void{ hitBall = new HitMovie(0, -200, this); addChild(hitBall); hitBall.width = 200; hitBall.height = 200; rollshadow = new Shadow(10, 0); addChild(rollshadow); rollshadow.scaleX = 1.6; crawtop = new HitMovie(0, -40, this); addChild(crawtop); crawtop.width = 100; crawtop.height = 60; roll = new DragonknightRoll(0, -160); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:uint; var _local12:*; var _local13:*; var _local14:*; var _local15:*; hitBall.width = 200; hitBall.height = 200; hitBall.x = 0; hitBall.y = (roll.y - 100); _local2 = (Math.random() * 51); _local3 = (Math.random() * 101); _local4 = (Math.random() * 100); _local5 = ((x + roll.x) - (90 * scaleX)); _local6 = (y - 250); if (actionstate == 0){ x = (x + dx); y = (y + dy); roll.y = (roll.y + roll.dy); if (roll.currentFrame == (attack2 + 11)){ tx = (x - (200 * scaleX)); }; if ((((roll.currentFrame > (attack2 + 11))) && ((roll.currentFrame < (attack2 + 33))))){ if (timer == 0){ x = (x + (2 * scaleX)); _local5 = ((((-90.4 + (Math.random() * 5)) * scaleX) + roll.x) + x); _local6 = (((-26.2 + (Math.random() * 5)) + roll.y) + y); fist = new Fireball3(_local5, _local6, par); par.enemys.push(fist); fist.number = fist; fist.yfix = y; fist.dx = (((((tx - x) - (90 * scaleX)) / 12) + 15) - (Math.random() * 30)); fist.dy = ((((y - roll.y) / 12) + 1) - (Math.random() * 2)); par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; }; timer++; timer = (timer % 2); }; if (roll.currentFrame == (attack2 + 33)){ timer = 0; roll.gotoAndPlay(2); }; if (roll.x >= 900){ roll.gotoAndStop(414); actionstate = 2; }; }; if (actionstate == 1){ if (isboss == true){ _local8 = int(((life / lifexxx) * 100)); par.bossstates.lifeMC.gotoAndStop(_local8); }; if ((((((((((((((((((((roll.currentFrame == 2)) || ((roll.currentFrame == 80)))) || ((roll.currentFrame == 93)))) || ((roll.currentFrame == 103)))) || ((roll.currentFrame == 150)))) || ((roll.currentFrame == 187)))) || ((roll.currentFrame == 203)))) || ((roll.currentFrame == 424)))) || ((roll.currentFrame == 440)))) || ((roll.currentFrame == 456)))){ if (t.roll.currentFrame < t.hurt2){ SoundsManager.playSound("longchibang"); }; }; x = (x + dx); x = (x + dxfix); y = (y + dy); if (roll.y < 0){ roll.y = (roll.y + roll.dy); }; if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack2 + 11)){ tx = t.x; SoundsManager.playSound("longjiao"); }; if ((((roll.currentFrame > (attack2 + 11))) && ((roll.currentFrame < (attack2 + 33))))){ if (timer == 0){ x = (x + (2 * scaleX)); _local5 = ((((-86.4 + (Math.random() * 5)) * scaleX) + roll.x) + x); _local6 = (((-72.2 + (Math.random() * 5)) + roll.y) + y); fist = new Fireball2(_local5, _local6, par); par.enemys.push(fist); fist.number = fist; fist.yfix = y; fist.dx = (((((tx - x) - (90 * scaleX)) / 12) + 15) - (Math.random() * 30)); fist.dy = ((((y - roll.y) / 12) + 1) - (Math.random() * 2)); par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; fist.SAttack = fireattacknm; }; timer++; timer = (timer % 2); }; if ((((roll.currentFrame == (attack2 + 33))) && ((t.roll.currentFrame < t.hurt2)))){ timer = 0; _local9 = (Math.random() * 5); if (_local9 < 4){ roll.gotoAndStop(1); }; if (_local9 >= 4){ roll.gotoAndPlay(attack4); }; }; if ((((roll.currentFrame >= attack4)) && ((roll.currentFrame < (attack4 + 14))))){ y = (y + ((t.y - y) / 12)); roll.y = (roll.y - 35); }; if (roll.currentFrame == (attack4 + 14)){ if (scaleX == 1){ x = 700; }; if (scaleX == -1){ x = -100; }; y = t.y; }; if (roll.currentFrame == (attack4 + 15)){ rolldx = ((t.x - x) / 10); rolldy = (-(roll.y) / 12); SoundsManager.playSound("longhuaguo"); }; if ((((roll.currentFrame >= (attack4 + 19))) && ((roll.currentFrame < (attack4 + 30))))){ x = (x + rolldx); roll.y = (roll.y + rolldy); _local5 = ((x + (Math.random() * 10)) + (60 * scaleX)); _local6 = (y + (Math.random() * 10)); ashs = new Ash(_local5, _local6, par.container3); par.container3.setChildIndex(ashs, (par.container3.getChildIndex(this) + 1)); _local5 = ((x + (Math.random() * 10)) + (60 * scaleX)); _local6 = (y + (Math.random() * 10)); ashs2 = new Ash(_local5, _local6, par.container3); par.container3.setChildIndex(ashs2, (par.container3.getChildIndex(this) + 1)); if (((crawtop.hitTestObject(t.roll)) && ((Math.abs((t.y - y)) < 20)))){ _local5 = (t.x + (50 * t.scaleX)); _local6 = ((t.y - 64) + t.roll.y); if (t.roll.currentFrame < t.defend){ _local11 = 0; while (_local11 < 25) { _local10 = new FireStar(_local5, _local6, par.container3); par.container3.setChildIndex(_local10, (par.container3.getChildIndex(this) + 1)); _local11++; }; t.roll.gotoAndPlay(t.hurt2); t.scaleX = scaleX; t.dxfix = (-20 * t.scaleX); t.roll.dy = (t.roll.dy - 24.2); t.life = (t.life - (crawAttack - t.Sdefend)); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local11 = 0; while (_local11 < 25) { _local10 = new FireStar(_local5, _local6, par.container3); par.container3.setChildIndex(_local10, (par.container3.getChildIndex(this) + 1)); _local11++; }; t.scaleX = scaleX; t.roll.gotoAndPlay(t.defend); t.dxfix = (-26 * t.scaleX); SoundsManager.playSound("dun"); }; }; }; if (roll.currentFrame == (attack4 + 30)){ rolldx = 0; rolldy = ((-160 - roll.y) / 38); }; if ((((roll.currentFrame >= (attack4 + 30))) && ((roll.currentFrame < (attack4 + 68))))){ roll.y = (roll.y + rolldy); }; if (roll.currentFrame == (attack4 + 68)){ roll.y = -160; rolldy = 0; roll.gotoAndStop(1); if (t.x < x){ scaleX = 1; }; if (t.x > x){ scaleX = -1; }; dx = 0; dy = 0; }; if (roll.currentFrame == 1){ _local2 = (Math.random() * 51); if (_local2 < 12){ dx = (6 * scaleX); roll.gotoAndPlay(2); }; if ((((_local2 >= 12)) && ((_local2 < 17)))){ if (t.y < y){ dy = -4; }; if (t.y > y){ dy = 4; }; roll.gotoAndPlay(2); }; }; if ((((roll.currentFrame >= 2)) && ((roll.currentFrame < attack)))){ _local3 = (Math.random() * 51); if (_local3 < 12){ dx = (-6 * scaleX); }; if ((((_local3 >= 12)) && ((_local3 < 17)))){ if (t.y < y){ dy = -4; }; if (t.y > y){ dy = 4; }; }; if ((((((_local3 <= 50)) && ((_local3 > 45)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack4); }; }; if ((((((((((Math.abs((t.x - x)) < 600)) && ((Math.abs((t.x - x)) > 200)))) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack2); }; if ((((((((Math.abs((t.x - x)) <= 200)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; _local12 = (Math.random() * 100); if (_local12 < 88){ roll.gotoAndPlay(attack2); }; if (_local12 >= 88){ roll.gotoAndPlay(changestate); }; }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (roll.currentFrame == (hurt + 8)){ dx = 0; dy = 0; if (t.x < x){ scaleX = 1; }; if (t.x > x){ scaleX = -1; }; _local13 = (Math.random() * 100); if ((((_local13 < 50)) && ((t.roll.currentFrame < t.hurt2)))){ roll.gotoAndPlay(attack2); }; if ((((((_local13 >= 50)) && ((_local13 <= 92)))) && ((t.roll.currentFrame < t.hurt2)))){ roll.gotoAndPlay(attack4); }; if (_local13 > 92){ roll.gotoAndPlay(changestate); }; }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (die + 1)){ removeChild(hitBall); }; if (roll.currentFrame == (die + 3)){ _local5 = (x + (53.6 * scaleX)); _local6 = y; _local7 = (roll.y - 217.7); par.createboss2(_local5, _local6, _local7); }; if (roll.currentFrame == (die + 7)){ dx = 0; roll.dy = 10; }; if ((((roll.currentFrame > changestate)) && ((roll.currentFrame < (changestate + 47))))){ roll.y = (roll.y - (roll.y / 20)); _local5 = (x + (((Math.random() * 100) + 60) * scaleX)); _local6 = ((y + (Math.random() * 100)) - 50); ashs = new Ash(_local5, _local6, par.container3); ashs.dx = (((-(Math.random()) * 20) - 20) * scaleX); par.container3.setChildIndex(ashs, (par.container3.getChildIndex(this) + 1)); _local5 = (x + (((Math.random() * 100) + 60) * scaleX)); _local6 = ((y + (Math.random() * 100)) - 50); ashs2 = new Ash(_local5, _local6, par.container3); ashs2.dx = (((-(Math.random()) * 20) - 20) * scaleX); par.container3.setChildIndex(ashs2, (par.container3.getChildIndex(this) + 1)); t.x = (t.x - (12 * scaleX)); }; if (roll.currentFrame == (changestate + 47)){ actionstate = 2; hurt = 235; timer = 0; dx = 0; dy = 0; roll.y = -40; roll.gotoAndStop(20); }; if (x < -140){ x = -138; dx = 0; dy = 0; }; if (x > 740){ x = 738; dx = 0; dy = 0; }; if (y < 274){ y = 274; dx = 0; dy = 0; }; if (y > 380){ y = 380; dx = 0; dy = 0; }; if ((((roll.currentFrame < die)) && ((life <= 0)))){ dx = 0; dy = 0; roll.gotoAndPlay(die); SoundsManager.playSound("longsiwang"); }; if ((((roll.y >= 0)) && ((roll.currentFrame == 323)))){ roll.y = 0; roll.dy = 0; roll.gotoAndPlay(324); createObj(Gem6); createObj(Gem5); createObj(Gem4); createObj(Gem3); createObj(Gem2); _local4 = (Math.random() * 100); if (_local4 < 70){ createObj(Gem1); }; if (_local4 >= 70){ createObj(Lifewater); }; removeChild(rollshadow); }; if (roll.currentFrame == 414){ actionstate = 2; }; }; if (actionstate == 2){ x = (x + dx); x = (x + dxfix); y = (y + dy); roll.y = (roll.y + roll.dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; hurtt++; if (hurtt == 30){ hurtnm = 0; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if ((((roll.currentFrame >= (attack + 3))) && ((roll.currentFrame < (attack + 15))))){ if (timer == 0){ _local5 = ((x + roll.x) - (118 * scaleX)); _local6 = ((y + roll.y) - 58); fist = new Fireball1(_local5, _local6, par); par.enemys.push(fist); fist.number = fist; fist.yfix = y; fist.dx = (-30 * scaleX); par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; }; timer++; timer = (timer % 2); }; if (roll.currentFrame == (attack + 26)){ timer = 0; }; if (roll.currentFrame == (attack3 + 13)){ _local5 = ((x + roll.x) - (91 * scaleX)); _local6 = ((y + roll.y) - 52); fist = new Fist(_local5, _local6, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 1.3); fist.xxscale = scaleX; }; if (roll.currentFrame == (attack3 + 30)){ _local14 = (Math.random() * 10); if (_local14 < 9){ roll.gotoAndPlay(attack); SoundsManager.playSound("longjiao"); }; if (_local14 >= 9){ roll.gotoAndPlay(changestate); }; }; if (roll.currentFrame == 20){ roll.y = 0; _local2 = (Math.random() * 51); if (_local2 < 12){ dx = (6 * scaleX); roll.gotoAndPlay(25); }; if ((((_local2 >= 12)) && ((_local2 < 17)))){ if (t.y < y){ dy = -4; }; if (t.y > y){ dy = 4; }; roll.gotoAndPlay(25); }; }; if ((((roll.currentFrame >= 25)) && ((roll.currentFrame < attack)))){ _local3 = (Math.random() * 101); if (_local3 < 24){ dx = (-6 * scaleX); }; if ((((_local3 >= 24)) && ((_local3 < 34)))){ if (t.y < y){ dy = -4; }; if (t.y > y){ dy = 4; }; }; if (_local3 > 100){ dx = 0; dy = 0; roll.gotoAndPlay(changestate); }; }; if ((((((((Math.abs((t.x - x)) < 500)) && ((Math.abs((t.x - x)) >= 180)))) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((Math.abs((t.x - x)) < 180)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; _local15 = (Math.random() * 100); if (_local15 < 80){ roll.gotoAndPlay(attack3); }; if (_local15 >= 80){ roll.gotoAndPlay(changestate); }; }; if (roll.currentFrame == (hurt + 1)){ hurtnm++; hurtt = 0; if (hurtnm == 3){ roll.gotoAndPlay(hurt2); SoundsManager.playSound("longsiwang"); }; }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt2 + 5)){ dx = 0; }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (die + 3)){ _local5 = (x + (53.6 * scaleX)); _local6 = y; _local7 = (roll.y - 217.7); par.createboss2(_local5, _local6, _local7); }; if (roll.currentFrame == (die + 7)){ dx = 0; roll.dy = 10; }; if ((((roll.currentFrame > changestate)) && ((roll.currentFrame < (changestate + 47))))){ roll.y = (roll.y - 3.5); _local5 = (x + (((Math.random() * 100) + 60) * scaleX)); _local6 = ((y + (Math.random() * 100)) - 50); ashs = new Ash(_local5, _local6, par.container3); ashs.dx = (((-(Math.random()) * 20) - 20) * scaleX); par.container3.setChildIndex(ashs, (par.container3.getChildIndex(this) + 1)); _local5 = (x + (((Math.random() * 100) + 60) * scaleX)); _local6 = ((y + (Math.random() * 100)) - 50); ashs2 = new Ash(_local5, _local6, par.container3); ashs2.dx = (((-(Math.random()) * 20) - 20) * scaleX); par.container3.setChildIndex(ashs2, (par.container3.getChildIndex(this) + 1)); t.x = (t.x - (12 * scaleX)); }; if (roll.currentFrame == (changestate + 47)){ actionstate = 1; hurt = 245; dx = 0; dy = 0; roll.y = -160; roll.gotoAndStop(1); }; if (x < -140){ x = -138; dx = 0; dy = 0; }; if (x > 740){ x = 738; dx = 0; dy = 0; }; if (y < 274){ y = 274; dx = 0; dy = 0; }; if (y > 380){ y = 380; dx = 0; dy = 0; }; if ((((roll.currentFrame < die)) && ((life <= 0)))){ dx = 0; roll.gotoAndPlay(die); SoundsManager.playSound("longsiwang"); }; if (roll.currentFrame == (die + 1)){ removeChild(hitBall); }; if ((((roll.y >= 0)) && ((roll.currentFrame == 323)))){ roll.y = 0; roll.dy = 0; roll.gotoAndPlay(324); createObj(Gem6); createObj(Gem5); createObj(Gem4); createObj(Gem3); createObj(Gem2); _local4 = (Math.random() * 100); if (_local4 < 70){ createObj(Gem1); }; if (_local4 >= 70){ createObj(Lifewater); }; removeChild(rollshadow); }; if (roll.currentFrame == 414){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 80) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 282
//Dragonknight2 (Dragonknight2) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Dragonknight2 extends Sprite { public const hurt2:uint = 265; public const attack4:uint = 150; public const attack:uint = 56; public const die:uint = 304; public const walk:uint = 2; public const changestate:uint = 423; public const attack3:uint = 115; public const attack2:uint = 80; public var dxfix:Number;// = 0 public var speed:Number;// = 10 public var life:Number;// = 2500 private var hurtnm;// = 0 public var actionstate;// = 1 public var lifexxx:Number;// = 2500 private var ashs2; public var hitBall:MovieClip; private var fire; public var hurt;// = 245 public var fireattacknm;// = 30 private var hurtt;// = 0 private var timer;// = 0 public var number:Number; public var crawtop:MovieClip; public var man:Boolean;// = true private var fist:MovieClip; private var t; private var tx;// = 0 public var roll:MovieClip; public var isboss:Boolean;// = false private var par; public var strong:Number;// = 8 public var dx:Number;// = 0 public var dy:Number;// = 0 private var ashs; public var defend:Number; private var rolldx;// = 0 private var rolldy;// = 0 public var crawAttack;// = 45 private var rollshadow:MovieClip; public function Dragonknight2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; timer = 0; rolldx = 0; rolldy = 0; tx = 0; actionstate = 1; isboss = false; dx = 0; dy = 0; dxfix = 0; life = 2500; lifexxx = 2500; strong = 8; man = true; speed = 10; hurt = 245; fireattacknm = 30; crawAttack = 45; super(); _arg3.sky.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initDragon(); } public function del():void{ roll.gotoAndStop(1); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); par.container3.removeChild(this); if ((((isboss == true)) && ((actionstate == 0)))){ par.container5.removeChild(par.bossstates); }; } private function initDragon():void{ hitBall = new HitMovie(0, -200, this); addChild(hitBall); hitBall.width = 200; hitBall.height = 200; rollshadow = new Shadow(10, 0); addChild(rollshadow); rollshadow.scaleX = 1.6; crawtop = new HitMovie(0, -40, this); addChild(crawtop); crawtop.width = 100; crawtop.height = 60; roll = new DragonknightRoll(0, -160); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; hitBall.width = 200; hitBall.height = 200; hitBall.x = 0; hitBall.y = (roll.y - 100); _local2 = (Math.random() * 51); _local3 = (Math.random() * 101); _local4 = (Math.random() * 100); _local5 = ((x + roll.x) - (90 * scaleX)); _local6 = (y - 250); if (actionstate == 0){ x = (x + dx); y = (y + dy); roll.y = (roll.y + roll.dy); if (roll.currentFrame == (attack2 + 11)){ tx = (x - (200 * scaleX)); }; if ((((roll.currentFrame > (attack2 + 11))) && ((roll.currentFrame < (attack2 + 33))))){ if (timer == 0){ x = (x + (2 * scaleX)); _local5 = ((((-90.4 + (Math.random() * 5)) * scaleX) + roll.x) + x); _local6 = (((-26.2 + (Math.random() * 5)) + roll.y) + y); fist = new Fireball3(_local5, _local6, par.sky); fist.chooseenemies = 0; fist.yfix = y; fist.dx = (((((tx - x) - (90 * scaleX)) / 12) + 15) - (Math.random() * 30)); fist.dy = ((((y - roll.y) / 12) + 1) - (Math.random() * 2)); fist.xxscale = scaleX; }; timer++; timer = (timer % 2); }; if (roll.currentFrame == (attack2 + 33)){ timer = 0; roll.gotoAndPlay(2); }; if (roll.x >= 900){ roll.gotoAndStop(414); actionstate = 2; }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 80) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); } } }//package
Section 283
//dun (dun) package { import flash.media.*; public dynamic class dun extends Sound { } }//package
Section 284
//EFire (EFire) package { import flash.events.*; import flash.display.*; public class EFire extends MovieClip { public var timerXX; private var attacknm:Number;// = 0 public var actionstate;// = 1 private var timer;// = 0 public var number; private var master; public var man:Boolean;// = false private var t; public var roll; public var xxscale; public var SAttack:Number;// = 16 private var par; private var fnm; private var ly; private var lx; private var heigh;// = 0 private var inm; public function EFire(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; timer = 0; heigh = 0; actionstate = 1; man = false; SAttack = 16; super(); addFrameScript(8, frame9); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); SoundsManager.playSound("kuaihuo"); } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } public function del():void{ var _local1:*; var _local2:uint; stop(); par.container3.removeChild(this); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, fireAction); } private function fireAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:uint; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); heigh++; _local2 = ((Math.random() * 60) - 30); _local3 = (((Math.random() * 10) + 30) - (30 * heigh)); if (this.currentFrame <= 4){ _local4 = 0; while (_local4 < 13) { fnm = ("fire" + _local4); fnm = new FireStar2(_local2, _local3, this); _local4++; }; }; if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - y)) < 14)))){ _local2 = (t.x + (20 * t.scaleX)); _local3 = (((t.y - (Math.random() * 40)) - 30) + t.roll.y); if (t.roll.currentFrame < t.defend){ _local5 = 0; while (_local5 < 15) { fnm = new FireStar2(_local2, _local3, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); _local5 = 0; while (_local5 < 15) { fnm = new FireStar2(_local2, _local3, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); }; }; if (this.currentFrame == 9){ del(); }; }; } function frame9(){ stop(); } } }//package
Section 285
//EFireBottle (EFireBottle) package { import flash.events.*; import flash.display.*; public class EFireBottle extends MovieClip { public var yfix; public var actionstate;// = 1 public var drot; public var number; private var master; private var hits;// = 0 public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 11 public var xxscale; public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function EFireBottle(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hits = 0; actionstate = 1; man = false; SAttack = 11; super(); addFrameScript(0, frame1, 34, frame35); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, firebottleAction, false, 0, true); } public function del(){ var _local1:*; var _local2:uint; stop(); par.container3.removeChild(this); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, firebottleAction); } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > yfix)))) || ((((_local3 > _local2)) && ((_local1.y < yfix)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } function frame1(){ stop(); } function frame35(){ stop(); } private function firebottleAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:uint; if (actionstate == 0){ }; if (actionstate == 1){ if (this.currentFrame < 33){ changeDepth(); }; if (this.currentFrame == 1){ rotation = (rotation + drot); x = (x + dx); y = (y + dy); dy = (dy + 4); if (y >= yfix){ y = yfix; rotation = 0; _local2 = 0; while (_local2 < 15) { fnm = new FireStar2(x, y, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local2++; }; if (hits == 0){ SoundsManager.playSound("mofapingluodi"); SoundsManager.playSound("xiaohuoshao"); hits++; }; this.gotoAndPlay(2); }; }; if ((((this.currentFrame <= 28)) && ((this.currentFrame >= 2)))){ _local3 = 0; while (_local3 < 4) { lx = ((Math.random() * 30) - 15); ly = ((-(Math.random()) * 60) - 10); fnm = new FireStar2(lx, ly, this); _local3++; }; }; if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 12)))){ lx = (t.x + (20 * t.scaleX)); ly = (((t.y - (Math.random() * 40)) - 30) + t.roll.y); if (t.roll.currentFrame < t.defend){ _local4 = 0; while (_local4 < 15) { fnm = new FireStar2(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local4++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-22 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; lx = (t.x + (50 * t.scaleX)); ly = ((t.y - 64) + t.roll.y); _local4 = 0; while (_local4 < 15) { fnm = new FireStar2(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local4++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); }; }; if (this.currentFrame == 35){ del(); }; }; } } }//package
Section 286
//EIce (EIce) package { import flash.events.*; import flash.display.*; public class EIce extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var actionstate;// = 1 private var timer;// = 0 public var number; public var man:Boolean;// = false public var master; private var t; public var roll; public var xxscale; public var xfix;// = 0 private var par; public var SAttack:Number;// = 12 private var fnm; private var ly; private var lx; private var inm; public function EIce(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; timer = 0; actionstate = 1; xfix = 0; man = false; SAttack = 12; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, iceAction); } public function del(){ var _local1:*; var _local2:uint; timer = 70; par.container3.removeChild(this); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, iceAction); } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function iceAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:uint; if (actionstate == 0){ }; if (actionstate == 1){ if (timer < 58){ changeDepth(); }; if ((((timer >= 60)) || ((t.life <= 0)))){ del(); }; timer++; _local3 = (Math.random() * 2); lx = (((Math.random() * 50) - 25) - xfix); ly = ((Math.random() * 10) - 5); if (timer == 1){ if (_local3 < 1){ inm = new Ice1(lx, ly, this); }; if (_local3 >= 1){ inm = new Ice2(lx, ly, this); }; _local4 = 0; while (_local4 < 20) { _local2 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(t) + 1)); _local4++; }; SoundsManager.playSound("dabin"); }; if (timer == 3){ if (_local3 < 1){ inm = new Ice1(lx, ly, this); this.setChildIndex(inm, 0); }; if (_local3 >= 1){ inm = new Ice2(lx, ly, this); }; _local4 = 0; while (_local4 < 20) { _local2 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 5){ if (_local3 < 1){ inm = new Ice1(lx, ly, this); }; if (_local3 >= 1){ inm = new Ice2(lx, ly, this); this.setChildIndex(inm, (numChildren - 2)); }; _local4 = 0; while (_local4 < 20) { _local2 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 7){ if (_local3 < 1){ inm = new Ice1(lx, ly, this); this.setChildIndex(inm, 0); }; if (_local3 >= 1){ inm = new Ice2(lx, ly, this); }; _local4 = 0; while (_local4 < 20) { _local2 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 9){ if (_local3 < 1){ inm = new Ice1(lx, ly, this); }; if (_local3 >= 1){ inm = new Ice2(lx, ly, this); this.setChildIndex(inm, (numChildren - 2)); }; _local4 = 0; while (_local4 < 20) { _local2 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 11){ if (_local3 < 1){ inm = new Ice1(lx, ly, this); }; if (_local3 >= 1){ inm = new Ice2(lx, ly, this); this.setChildIndex(inm, (numChildren - 2)); }; _local4 = 0; while (_local4 < 20) { _local2 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(t) + 1)); _local4++; }; SoundsManager.playSound("dabin"); }; if (timer == 13){ if (_local3 < 1){ inm = new Ice1(lx, ly, this); }; if (_local3 >= 1){ inm = new Ice2(lx, ly, this); this.setChildIndex(inm, (numChildren - 2)); }; _local4 = 0; while (_local4 < 20) { _local2 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 15){ if (_local3 < 1){ inm = new Ice1(lx, ly, this); }; if (_local3 >= 1){ inm = new Ice2(lx, ly, this); this.setChildIndex(inm, (numChildren - 2)); }; _local4 = 0; while (_local4 < 20) { _local2 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (((this.hitTestObject(t.roll)) && ((Math.abs((t.y - y)) < 14)))){ if (t.roll.currentFrame < t.defend){ lx = (t.x + (50 * t.scaleX)); ly = ((t.y - 64) + t.roll.y); _local5 = 0; while (_local5 < 15) { _local2 = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(this) + 1)); _local5++; }; if (t.roll.y > -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt); t.dxfix = (-6 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if (t.roll.y <= -80){ t.scaleX = xxscale; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-6 * t.scaleX); if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 14.2); }; t.life = (t.life - (SAttack - t.Sdefend)); }; }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; lx = (t.x + (50 * t.scaleX)); ly = ((t.y - 64) + t.roll.y); _local5 = 0; while (_local5 < 6) { _local2 = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(_local2, (par.container3.getChildIndex(this) + 1)); _local5++; }; t.scaleX = xxscale; t.roll.gotoAndPlay(t.defend); t.dxfix = (-14 * t.scaleX); }; }; }; } } }//package
Section 287
//EIce2 (EIce2) package { import flash.events.*; import flash.display.*; public class EIce2 extends MovieClip { public var yfix; private var attacknm:Number;// = 0 public var actionstate;// = 1 private var timer;// = 0 public var number; public var man:Boolean;// = false public var master; private var t; public var roll; public var xxscale; public var xfix;// = 0 private var par; public var SAttack:Number;// = 12 private var fnm; private var ly; private var lx; private var inm; public function EIce2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ var _local4:*; var _local5:*; var _local6:uint; var _local7:*; var _local8:uint; attacknm = 0; timer = 0; actionstate = 1; xfix = 0; man = false; SAttack = 12; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; t = _arg3.playRoll; master = _arg3.boss; this.addEventListener(Event.ENTER_FRAME, iceAction, false, 0, true); lx = -120; _local5 = -40; _local6 = 0; while (_local6 < 8) { ly = ((Math.random() * 20) - 10); _local7 = (Math.random() * 2); if (_local7 < 1){ inm = new Ice1(lx, ly, this); inm.rotation = _local5; }; if (_local7 >= 1){ inm = new Ice2(lx, ly, this); inm.rotation = _local5; }; inm.scaleX = (inm.scaleX * 1.3); inm.scaleY = (inm.scaleY * 1.3); _local8 = 0; while (_local8 < 6) { _local4 = new FireStar((this.x + lx), (this.y + ly), par.container3); par.container3.setChildIndex(_local4, (par.container3.getChildIndex(this) + 1)); _local8++; }; lx = (lx + 30); _local5 = (_local5 + 10); _local6++; }; SoundsManager.playSound("dabin"); } public function del(){ var _local1:*; var _local2:uint; timer = 70; par.container3.removeChild(this); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; this.removeEventListener(Event.ENTER_FRAME, iceAction); } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function iceAction(_arg1:Event):void{ var _local2:uint; if (actionstate == 0){ }; if (actionstate == 1){ if (timer < 44){ changeDepth(); }; if ((((timer >= 46)) || ((t.life <= 0)))){ del(); }; timer++; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - y)) < 20)))) && ((timer < 15)))){ if (t.x >= x){ t.scaleX = -1; }; if (t.x < x){ t.scaleX = 1; }; if (t.roll.currentFrame < t.defend){ lx = (t.x + (50 * t.scaleX)); ly = ((t.y - 64) + t.roll.y); _local2 = 0; while (_local2 < 15) { fnm = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local2++; }; if (t.roll.dy > 0){ t.roll.dy = (t.roll.dy - 36.2); }; t.roll.gotoAndPlay(t.hurt2); t.dxfix = (-18 * t.scaleX); t.life = (t.life - (SAttack - t.Sdefend)); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; lx = (t.x + (50 * t.scaleX)); ly = ((t.y - 64) + t.roll.y); _local2 = 0; while (_local2 < 6) { fnm = new FireStar(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local2++; }; t.roll.gotoAndPlay(t.defend); t.dxfix = (-18 * t.scaleX); }; }; }; } } }//package
Section 288
//feidao (feidao) package { import flash.media.*; public dynamic class feidao extends Sound { } }//package
Section 289
//feifu (feifu) package { import flash.media.*; public dynamic class feifu extends Sound { } }//package
Section 290
//Fighter (Fighter) package { import flash.events.*; import flash.display.*; import data.*; import objects.*; import rolls.*; public class Fighter extends Sprite { public const hurt2:uint = 130; public const hurt:uint = 120; public const jump:uint = 17; public const attack:uint = 61; public const defend:uint = 100; public const attack2:uint = 77; public const attack3:uint = 30; public const attack4:uint = 45; public const getdown:uint = 21; public const song1:uint = 170; public const song2:uint = 190; public const song3:uint = 225; public const walk:uint = 2; public const throwact2:uint = 92; public const throwact:uint = 85; public var actionstate;// = 1 public var hitBall; public var icest:Boolean;// = false public var levelnm:Number; public var secsword; public var sheildnm:Number; public var SAttack:Number; public var swordnm:Number; public var roll:MovieClip; private var die;// = 0 private var downkey:Number; public var dx:Number;// = 0 public var dy:Number;// = 0 public var strong:Number;// = 1000 private var par; public var attackst:Boolean;// = false private var rightkey:Number; public var Sdefend:Number; public var sheild:MovieClip; public var life:Number; public var dxfix:Number;// = 0 public var lifexxx:Number; public var secswordnm:Number; public var scoresavenm:Number; private var attackkey:Number; public var firest:Boolean;// = false private var light; private var leftkey:Number; public var timer;// = 0 public var curest:Boolean;// = false public var man:Boolean;// = true public var cnm:Number; private var jumpkey:Number; public var defendst:Boolean;// = false private var lx; private var ly; private var throwkey:Number; public var scorenm:Number; public var playstate:Number;// = 0 private var rollshadow:MovieClip; private var defendkey:Number; private var upkey:Number; public var sword:MovieClip; public function Fighter(_arg1:Number=0, _arg2:Number=0, _arg3=null){ die = 0; actionstate = 1; timer = 0; upkey = Data.upkeycode; downkey = Data.downkeycode; leftkey = Data.leftkeycode; rightkey = Data.rightkeycode; attackkey = Data.attackkeycode; jumpkey = Data.jumpkeycode; defendkey = Data.defendkeycode; throwkey = Data.throwkeycode; swordnm = Data.swordnm; SAttack = (Data.SAttacknm + (2 * swordnm)); sheildnm = Data.sheildnm; Sdefend = (Data.Sdefendnm + sheildnm); secswordnm = Data.secondswordnm; levelnm = Data.levelnm; life = Data.lifenm; lifexxx = Data.lifexxxnm; cnm = Data.cnm; scorenm = Data.scorenm; scoresavenm = Data.scoresavenm; dx = 0; dxfix = 0; dy = 0; playstate = 0; man = true; strong = 1000; attackst = false; defendst = false; firest = false; icest = false; curest = false; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initFighter(); } public function del(){ stage.removeEventListener(KeyboardEvent.KEY_DOWN, action1); stage.removeEventListener(KeyboardEvent.KEY_UP, action2); sword.removeEventListener(Event.ENTER_FRAME, swordaction); sheild.removeEventListener(Event.ENTER_FRAME, sheildaction); roll.removeEventListener(Event.ENTER_FRAME, rollaction); this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(rollshadow); removeChild(roll); removeChild(sheild); removeChild(sword); par.container3.removeChild(this); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:uint; changeDepth(); if (actionstate == 0){ x = (x + dx); y = (y + dy); SAttack = (Data.SAttacknm + (2 * swordnm)); Sdefend = (Data.Sdefendnm + sheildnm); Data.swordnm = swordnm; Data.sheildnm = sheildnm; Data.secondswordnm = secswordnm; Data.lifenm = life; Data.lifexxxnm = lifexxx; Data.cnm = cnm; Data.levelnm = levelnm; Data.scorenm = scorenm; Data.scoresavenm = scoresavenm; _local2 = int(((life / lifexxx) * 100)); par.states.lifeMC.gotoAndStop(_local2); par.states.aweaponMC.gotoAndStop(secswordnm); par.states.cnmText.text = cnm; par.states.scorenmText.text = ("Score: " + (scorenm * 10)); par.states.levelnmText.text = ("Level " + levelnm); }; if (actionstate == 1){ if ((((life <= 0)) && ((roll.currentFrame < hurt2)))){ roll.gotoAndPlay(hurt2); }; SAttack = (Data.SAttacknm + (2 * swordnm)); Sdefend = (Data.Sdefendnm + sheildnm); Data.swordnm = swordnm; Data.sheildnm = sheildnm; Data.secondswordnm = secswordnm; Data.lifenm = life; Data.lifexxxnm = lifexxx; Data.cnm = cnm; Data.levelnm = levelnm; Data.scorenm = scorenm; Data.scoresavenm = scoresavenm; _local3 = int(((life / lifexxx) * 100)); par.states.lifeMC.gotoAndStop(_local3); par.states.aweaponMC.gotoAndStop(secswordnm); par.states.cnmText.text = cnm; par.states.scorenmText.text = ("Score: " + (scorenm * 10)); par.states.levelnmText.text = ("Level " + levelnm); if (scorenm >= (scoresavenm + (55 * levelnm))){ if ((((roll.currentFrame < (jump - 2))) || ((((roll.currentFrame >= defend)) && ((roll.currentFrame <= (defend + 17))))))){ roll.gotoAndPlay(song1); lx = (x + roll.x); ly = ((y + roll.y) - 70); light = new Levelup(lx, ly, par); SoundsManager.playSound("jueseshengji"); par.container3.setChildIndex(light, (par.container3.getChildIndex(this) + 1)); light = new FFist(lx, ly, par); par.container3.setChildIndex(light, (par.container3.getChildIndex(this) + 1)); scoresavenm = (scoresavenm + (55 * levelnm)); levelnm = (levelnm + 1); Data.SAttacknm = (Data.SAttacknm + 1); lifexxx = (lifexxx + 20); if (life < (lifexxx - 50)){ life = (life + 50); }; if (life >= (lifexxx - 50)){ life = lifexxx; }; }; }; if ((((((dx == 0)) && ((dy == 0)))) && ((roll.currentFrame < 13)))){ roll.gotoAndStop(1); }; timer++; if (timer == 20){ playstate = 0; }; if (roll.currentFrame == 1){ dxfix = 0; if (((!((dx == 0))) || (!((dy == 0))))){ roll.gotoAndPlay(2); }; }; if ((((((roll.currentFrame >= 2)) && ((roll.currentFrame < 12)))) || ((((roll.currentFrame >= jump)) && ((roll.currentFrame <= (jump + 3))))))){ if (dx > 0){ scaleX = 1; }; if (dx < 0){ scaleX = -1; }; if (par.stagechange == false){ x = (x + dx); }; if (par.stagechange == true){ if (x > 240){ if (dx > 0){ par.sky.x = (par.sky.x - (dx - 3)); par.cwall1.x = (par.cwall1.x - dx); par.cwall2.x = (par.cwall2.x - (dx + 3)); par.stagechangeT++; }; if (dx <= 0){ x = (x + dx); }; }; if (x <= 240){ x = (x + dx); }; }; y = (y + dy); }; if ((((((((((dx == 0)) && ((dy == 0)))) && ((dxfix == 0)))) && ((roll.dy == 0)))) && ((roll.currentFrame < 12)))){ roll.gotoAndStop(1); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 7))))) && ((dxfix < 0)))){ dxfix = (dxfix + 2); x = (x + dxfix); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 7))))) && ((dxfix > 0)))){ dxfix = (dxfix - 2); x = (x + dxfix); }; if (roll.currentFrame == (hurt + 1)){ SoundsManager.playSound("qishishoushang1"); }; if (roll.currentFrame == (hurt + 7)){ dxfix = 0; }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 9))))) && ((dxfix < 0)))){ dxfix = (dxfix + 1.2); x = (x + dxfix); }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 9))))) && ((dxfix > 0)))){ dxfix = (dxfix - 1.2); x = (x + dxfix); }; if (roll.currentFrame == (hurt + 9)){ if (roll.y == 0){ roll.gotoAndPlay((hurt + 10)); dx = 0; dy = 0; dxfix = 0; }; }; if (roll.currentFrame == (hurt2 + 1)){ SoundsManager.playSound("qishishoushang2"); }; if ((((roll.currentFrame >= defend)) && ((roll.currentFrame < hurt)))){ if ((((((roll.currentFrame >= defend)) && ((roll.currentFrame <= (defend + 4))))) && ((dxfix > 0)))){ dxfix = (dxfix - 3); x = (x + dxfix); }; if ((((((roll.currentFrame >= defend)) && ((roll.currentFrame <= (defend + 4))))) && ((dxfix < 0)))){ dxfix = (dxfix + 3); x = (x + dxfix); }; if (roll.currentFrame == (defend + 6)){ dxfix = 0; }; if ((((roll.currentFrame >= (defend + 7))) && ((defendst == false)))){ if (((!((dx == 0))) || (!((dy == 0))))){ roll.gotoAndPlay(2); if (dx > 0){ scaleX = 1; }; if (dx < 0){ scaleX = -1; }; }; }; }; if ((((roll.currentFrame == (attack + 2))) || ((roll.currentFrame == (attack2 + 2))))){ lx = ((x + roll.x) + (25 * scaleX)); ly = ((y + roll.y) - 76); light = new SwordShadow(lx, ly, par); light.scaleX = scaleX; par.container3.setChildIndex(light, (par.container3.getChildIndex(this) + 1)); _local4 = (Math.random() * 2); if (_local4 < 1){ SoundsManager.playSound("huidao1"); }; if (_local4 >= 1){ SoundsManager.playSound("huidao2"); }; }; if (roll.currentFrame == (attack3 + 2)){ lx = ((x + roll.x) + (30 * scaleX)); ly = (y + roll.y); light = new SwordShadow2(lx, ly, par); light.scaleX = scaleX; par.container3.setChildIndex(light, (par.container3.getChildIndex(this) + 1)); }; if (roll.currentFrame == (attack4 + 2)){ lx = (x + roll.x); ly = (y + roll.y); light = new SwordShadow3(lx, ly, par); light.scaleX = scaleX; par.container3.setChildIndex(light, (par.container3.getChildIndex(this) + 1)); }; if (x < 30){ x = 30; }; if (x > 570){ x = 570; }; if (y < 274){ y = 274; }; if (y > 380){ y = 380; }; if ((((roll.currentFrame == 140)) && ((life <= 0)))){ _local5 = par.enemys.length; _local6 = 0; while (_local6 < _local5) { if (par.enemys[_local6].man == true){ par.enemys[_local6].actionstate = 0; }; _local6++; }; if (par.be == 1){ par.boss.actionstate = 0; }; SoundsManager.playSound("siwang"); }; if ((((((roll.currentFrame == 155)) && ((life <= 0)))) && ((die == 0)))){ die = 1; roll.gotoAndStop(155); del3(); }; }; } private function sheildaction(_arg1:Event):void{ sheild.x = roll.x; sheild.y = roll.y; sheild.gotoAndStop(roll.currentFrame); } private function swordaction(_arg1:Event):void{ sword.x = roll.x; sword.y = roll.y; sword.gotoAndStop(roll.currentFrame); } public function cteateSheild(_arg1){ dx = 0; dy = 0; removeChild(sheild); sheild.removeEventListener(Event.ENTER_FRAME, sheildaction); sheild = new _arg1(roll.x, roll.y); addChild(sheild); sheild.addEventListener(Event.ENTER_FRAME, sheildaction); roll.gotoAndPlay(song1); } public function cteateSword(_arg1){ dx = 0; dy = 0; removeChild(sword); sword.removeEventListener(Event.ENTER_FRAME, swordaction); sword = new _arg1(roll.x, roll.y); addChild(sword); sword.addEventListener(Event.ENTER_FRAME, swordaction); roll.gotoAndPlay(song1); } private function action1(_arg1:KeyboardEvent):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:uint; if (actionstate == 0){ }; if (actionstate == 1){ if (_arg1.keyCode == upkey){ dy = -5; if (roll.currentFrame == 1){ roll.gotoAndPlay(2); }; }; if (_arg1.keyCode == downkey){ dy = 5; if (roll.currentFrame == 1){ roll.gotoAndPlay(2); }; }; if (_arg1.keyCode == leftkey){ dx = -7; if ((((roll.currentFrame < (jump - 2))) || ((((roll.currentFrame >= defend)) && ((roll.currentFrame < hurt)))))){ scaleX = -1; }; if (roll.currentFrame == 1){ roll.gotoAndPlay(2); }; }; if (_arg1.keyCode == rightkey){ dx = 7; if ((((roll.currentFrame < (jump - 2))) || ((((roll.currentFrame >= defend)) && ((roll.currentFrame < hurt)))))){ scaleX = 1; }; if (roll.currentFrame == 1){ roll.gotoAndPlay(2); }; }; if (_arg1.keyCode == throwkey){ _local2 = ((x + roll.x) + (30 * scaleX)); _local3 = ((y + roll.y) - 76); if ((((roll.currentFrame < (jump - 2))) || ((((roll.currentFrame >= defend)) && ((roll.currentFrame <= (defend + 17))))))){ if ((((secswordnm == 1)) && ((cnm >= 2)))){ defendst = false; roll.gotoAndPlay(throwact); secsword = new Dagger(_local2, _local3, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = scaleX; secsword.dx = (scaleX * 40); secsword.yfix = y; cnm = (cnm - 2); _local4 = new ObjText2(x, (y - 100), "- 2", par); SoundsManager.playSound("feidao"); }; if ((((secswordnm == 2)) && ((cnm >= 3)))){ defendst = false; roll.gotoAndPlay(throwact); secsword = new Axe(_local2, _local3, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = scaleX; secsword.dx = (scaleX * (8 + (Math.random() * 2))); secsword.dy = (-21 + (Math.random() * 2)); secsword.drot = (scaleX * (30 + (Math.random() * 30))); secsword.yfix = y; cnm = (cnm - 3); _local4 = new ObjText2(x, (y - 100), "- 3", par); SoundsManager.playSound("feifu"); }; if ((((secswordnm == 3)) && ((cnm >= 4)))){ defendst = false; roll.gotoAndPlay(throwact); secsword = new HolyWater(_local2, _local3, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = scaleX; secsword.dx = (scaleX * (6 + (Math.random() * 2))); secsword.dy = (-12 + (Math.random() * 4)); secsword.drot = (scaleX * (30 + (Math.random() * 30))); secsword.yfix = y; cnm = (cnm - 4); _local4 = new ObjText2(x, (y - 100), "- 4", par); }; if ((((secswordnm == 4)) && ((cnm >= 6)))){ defendst = false; roll.gotoAndPlay(throwact); secsword = new FireBottle(_local2, _local3, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = scaleX; secsword.dx = (scaleX * (8 + (Math.random() * 3))); secsword.dy = (-14 + (Math.random() * 3)); secsword.drot = (scaleX * (30 + (Math.random() * 30))); secsword.yfix = y; cnm = (cnm - 6); _local4 = new ObjText2(x, (y - 100), "- 6", par); }; if ((((((secswordnm == 5)) && ((cnm >= 10)))) && ((firest == false)))){ firest = true; defendst = false; roll.gotoAndPlay(song1); cnm = (cnm - 10); Data.cnm = cnm; _local4 = new ObjText2(x, (y - 100), "- 10", par); _local6 = 0; _local7 = 0; _local8 = 0; if (par.container3.numChildren >= 2){ _local8 = 0; while (_local8 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local8); if ((((((_local5.man == true)) && (!((_local5 == this))))) && ((_local6 < 5)))){ secsword = new Fire(_local5.x, _local5.y, par); secsword.targets = _local5; secsword.timerXX = _local7; _local7 = (_local7 + 5); _local6++; par.container3.setChildIndex(secsword, (par.container3.getChildIndex(_local5) + 1)); }; _local8++; }; if (_local6 < 5){ _local8 = 0; while (_local8 < par.container3.numChildren) { _local5 = par.container3.getChildAt(_local8); if ((((((_local5.man == true)) && (!((_local5 == this))))) && ((_local6 < 5)))){ secsword = new Fire(_local5.x, _local5.y, par); secsword.targets = _local5; secsword.timerXX = _local7; _local7 = (_local7 + 5); _local6++; par.container3.setChildIndex(secsword, (par.container3.getChildIndex(_local5) + 1)); }; _local8++; }; }; }; if (par.container3.numChildren < 2){ _local8 = 0; while (_local8 < 5) { secsword = new Fire(((Math.random() * 500) + 50), ((Math.random() * 80) + 290), par); secsword.timerXX = _local7; _local7 = (_local7 + 5); _local6++; _local8++; }; }; }; if ((((((secswordnm == 6)) && ((cnm >= 8)))) && ((icest == false)))){ icest = true; defendst = false; roll.gotoAndPlay(song2); secsword = new Ice((x + (scaleX * 80)), y, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.xxscale = scaleX; cnm = (cnm - 8); _local4 = new ObjText2(x, (y - 100), "- 8", par); }; if ((((((secswordnm == 7)) && ((cnm >= 12)))) && ((curest == false)))){ curest = true; defendst = false; roll.gotoAndPlay(song3); secsword = new CureRain(x, (y - 170), par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = (secsword.scaleY = 1.5); cnm = (cnm - 12); _local4 = new ObjText2(x, (y - 100), "- 12", par); SoundsManager.playSound("zhiliao"); }; }; if (roll.currentFrame == (jump + 3)){ if ((((secswordnm == 1)) && ((cnm >= 2)))){ if ((((roll.y < -110)) || ((roll.dy < 0)))){ roll.gotoAndPlay(throwact2); secsword = new Dagger(_local2, _local3, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = scaleX; secsword.dx = (scaleX * 40); secsword.yfix = y; cnm = (cnm - 2); _local4 = new ObjText2(x, (y - 100), "- 2", par); SoundsManager.playSound("feidao"); }; }; if ((((secswordnm == 2)) && ((cnm >= 3)))){ if ((((roll.y < -110)) || ((roll.dy < 0)))){ roll.gotoAndPlay(throwact2); secsword = new Axe(_local2, _local3, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = scaleX; secsword.dx = (scaleX * (8 + (Math.random() * 2))); secsword.dy = (-16 + (Math.random() * 2)); secsword.drot = (scaleX * (30 + (Math.random() * 30))); secsword.yfix = y; cnm = (cnm - 3); _local4 = new ObjText2(x, (y - 100), "- 3", par); SoundsManager.playSound("feifu"); }; }; if ((((secswordnm == 3)) && ((cnm >= 5)))){ if ((((roll.y < -110)) || ((roll.dy < 0)))){ roll.gotoAndPlay(throwact2); secsword = new HolyWater(_local2, _local3, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = scaleX; secsword.dx = (scaleX * (6 + (Math.random() * 2))); secsword.dy = (-12 + (Math.random() * 4)); secsword.drot = (scaleX * (30 + (Math.random() * 30))); secsword.yfix = y; cnm = (cnm - 5); _local4 = new ObjText2(x, (y - 100), "- 5", par); }; }; if ((((secswordnm == 4)) && ((cnm >= 6)))){ if ((((roll.y < -110)) || ((roll.dy < 0)))){ roll.gotoAndPlay(throwact2); secsword = new FireBottle(_local2, _local3, par); par.container3.setChildIndex(secsword, (par.container3.getChildIndex(this) + 1)); secsword.scaleX = scaleX; secsword.dx = (scaleX * (8 + (Math.random() * 3))); secsword.dy = (-14 + (Math.random() * 3)); secsword.drot = (scaleX * (30 + (Math.random() * 30))); secsword.yfix = y; cnm = (cnm - 6); _local4 = new ObjText2(x, (y - 100), "- 6", par); }; }; }; }; if ((((_arg1.keyCode == attackkey)) && ((attackst == false)))){ if (roll.currentFrame < jump){ timer = 0; roll.gotoAndPlay(attack); }; if (roll.currentFrame == (jump + 3)){ if ((((roll.y < -110)) || ((roll.dy < 0)))){ roll.gotoAndPlay(attack2); }; }; attackst = true; }; if (_arg1.keyCode == jumpkey){ if ((((((roll.currentFrame < (jump - 2))) && ((roll.dy == 0)))) || ((((roll.currentFrame >= defend)) && ((roll.currentFrame <= (defend + 17))))))){ defendst = false; roll.gotoAndPlay((jump - 2)); if (dx > 0){ scaleX = 1; }; if (dx < 0){ scaleX = -1; }; dxfix = dx; }; }; if ((((_arg1.keyCode == defendkey)) && ((defendst == false)))){ if (roll.currentFrame < (jump - 2)){ roll.gotoAndPlay(defend); SoundsManager.playSound("judun"); defendst = true; }; }; }; } private function action2(_arg1:KeyboardEvent):void{ if (actionstate == 0){ }; if (actionstate == 1){ if (_arg1.keyCode == upkey){ if (dy == -5){ dy = 0; }; }; if (_arg1.keyCode == downkey){ if (dy == 5){ dy = 0; }; }; if (_arg1.keyCode == leftkey){ if (dx == -7){ dx = 0; }; }; if (_arg1.keyCode == rightkey){ if (dx == 7){ dx = 0; }; }; if (_arg1.keyCode == throwkey){ icest = false; firest = false; curest = false; }; if (_arg1.keyCode == attackkey){ attackst = false; }; if (_arg1.keyCode == defendkey){ defendst = false; }; }; } public function createAssistweapon():void{ var _local1:*; var _local2:*; var _local3:*; _local2 = ((x - 10) + (Math.random() * 20)); _local3 = ((y - 40) + (Math.random() * 10)); if (secswordnm == 1){ _local1 = new Aobj1(_local2, _local3, par, this); }; if (secswordnm == 2){ _local1 = new Aobj2(_local2, _local3, par, this); }; if (secswordnm == 3){ _local1 = new Aobj3(_local2, _local3, par, this); }; if (secswordnm == 4){ _local1 = new Aobj4(_local2, _local3, par, this); }; if (secswordnm == 5){ _local1 = new Aobj5(_local2, _local3, par, this); }; if (secswordnm == 6){ _local1 = new Aobj6(_local2, _local3, par, this); }; if (secswordnm == 7){ _local1 = new Aobj7(_local2, _local3, par, this); }; } private function rollaction(_arg1:Event):void{ roll.y = (roll.y + roll.dy); if ((((roll.dy < 28)) && (!((roll.dy == 0))))){ roll.dy = (roll.dy + 3); }; if (roll.currentFrame == jump){ roll.dy = -27.2; }; if ((((roll.y == 0)) && ((roll.currentFrame == (hurt2 + 9))))){ roll.gotoAndPlay((hurt2 + 10)); }; if (roll.y > 0){ roll.y = 0; roll.dy = 0; dxfix = 0; if ((((roll.currentFrame < throwact)) && ((roll.currentFrame > jump)))){ roll.gotoAndPlay(getdown); }; if ((((roll.currentFrame <= (hurt2 + 9))) && ((roll.currentFrame > hurt2)))){ roll.gotoAndPlay((hurt2 + 10)); }; }; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } public function del3(){ if (Data.relivecrossnm == 0){ Data.gameend = 1; par.del3(); } else { Data.continueGame = true; par.del2(); }; } private function initFighter():void{ rollshadow = new Shadow(0, 0); roll = new FighterRoll(0, 0); if (swordnm == 1){ sword = new Sword1(roll.x, roll.y); }; if (swordnm == 2){ sword = new Sword2(roll.x, roll.y); }; if (swordnm == 3){ sword = new Sword3(roll.x, roll.y); }; if (swordnm == 4){ sword = new Sword4(roll.x, roll.y); }; if (swordnm == 5){ sword = new Sword5(roll.x, roll.y); }; if (sheildnm == 1){ sheild = new Sheild1(roll.x, roll.y); }; if (sheildnm == 2){ sheild = new Sheild2(roll.x, roll.y); }; if (sheildnm == 3){ sheild = new Sheild3(roll.x, roll.y); }; if (sheildnm == 4){ sheild = new Sheild4(roll.x, roll.y); }; if (sheildnm == 5){ sheild = new Sheild5(roll.x, roll.y); }; addChild(rollshadow); addChild(roll); addChild(sword); addChild(sheild); sword.addEventListener(Event.ENTER_FRAME, swordaction, false, 0, true); sheild.addEventListener(Event.ENTER_FRAME, sheildaction, false, 0, true); roll.addEventListener(Event.ENTER_FRAME, rollaction, false, 0, true); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, action1, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, action2, false, 0, true); stage.focus = stage; } } }//package
Section 291
//Fighter2 (Fighter2) package { import flash.events.*; import flash.display.*; import data.*; import rolls.*; public class Fighter2 extends Sprite { public const hurt2:uint = 130; public const hurt:uint = 120; public const jump:uint = 17; public const attack:uint = 61; public const defend:uint = 100; public const attack2:uint = 77; public const attack3:uint = 30; public const attack4:uint = 45; public const getdown:uint = 21; public const song1:uint = 170; public const song2:uint = 190; public const song3:uint = 225; public const walk:uint = 2; public const throwact2:uint = 92; public const throwact:uint = 85; public var actionstate;// = 1 public var hitBall; public var icest:Boolean;// = false public var levelnm:Number; public var secsword; public var sheildnm:Number;// = 4 public var SAttack:Number; public var swordnm:Number;// = 3 public var roll:MovieClip; public var dx:Number;// = 0 public var dy:Number;// = 0 public var strong:Number;// = 1000 public var par; public var Sdefend:Number; public var sheild:MovieClip; public var life:Number; public var dxfix:Number;// = 0 public var lifexxx:Number; public var secswordnm:Number; public var scoresavenm:Number; public var firest:Boolean;// = false private var light; public var curest:Boolean;// = false public var man:Boolean;// = true public var cnm:Number; public var defendst:Boolean;// = false public var scorenm:Number; public var playstate:Number;// = 0 private var rollshadow:MovieClip; public var sword:MovieClip; public function Fighter2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; swordnm = 3; SAttack = (Data.SAttacknm + (2 * swordnm)); sheildnm = 4; Sdefend = (Data.Sdefendnm + sheildnm); secswordnm = Data.secondswordnm; levelnm = Data.levelnm; life = Data.lifenm; lifexxx = Data.lifexxxnm; cnm = Data.cnm; scorenm = Data.scorenm; scoresavenm = Data.scoresavenm; dx = 0; dxfix = 0; dy = 0; playstate = 0; man = true; strong = 1000; defendst = false; firest = false; icest = false; curest = false; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initFighter(); } public function del():void{ Sdefend = 2; swordnm = 1; sheildnm = 1; secswordnm = 1; levelnm = 1; cnm = 20; life = 150; lifexxx = 150; scorenm = 0; scoresavenm = 0; Data.SAttacknm = 10; Data.secondswordnm = secswordnm; Data.lifenm = life; Data.lifexxxnm = lifexxx; Data.cnm = cnm; Data.levelnm = levelnm; Data.scorenm = scorenm; Data.scoresavenm = scoresavenm; sword.removeEventListener(Event.ENTER_FRAME, swordaction); sheild.removeEventListener(Event.ENTER_FRAME, sheildaction); roll.removeEventListener(Event.ENTER_FRAME, rollaction); this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(rollshadow); removeChild(roll); removeChild(sheild); removeChild(sword); par.container3.removeChild(this); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; if (actionstate == 0){ }; if (actionstate == 1){ if ((((life <= 0)) && ((roll.currentFrame < hurt2)))){ roll.gotoAndPlay(hurt2); }; if ((((((dx == 0)) && ((dy == 0)))) && ((roll.currentFrame < 13)))){ roll.gotoAndStop(1); }; if (roll.currentFrame == 1){ dxfix = 0; if (((!((dx == 0))) || (!((dy == 0))))){ roll.gotoAndPlay(2); }; }; if ((((((roll.currentFrame >= 2)) && ((roll.currentFrame < 12)))) || ((((roll.currentFrame >= jump)) && ((roll.currentFrame <= (jump + 3))))))){ if (dx > 0){ scaleX = 1; }; if (dx < 0){ scaleX = -1; }; x = (x + dx); y = (y + dy); }; if ((((((((((dx == 0)) && ((dy == 0)))) && ((dxfix == 0)))) && ((roll.dy == 0)))) && ((roll.currentFrame < 12)))){ roll.gotoAndStop(1); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 7))))) && ((dxfix < 0)))){ dxfix = (dxfix + 2); x = (x + dxfix); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 7))))) && ((dxfix > 0)))){ dxfix = (dxfix - 2); x = (x + dxfix); }; if (roll.currentFrame == (hurt + 7)){ dxfix = 0; }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 9))))) && ((dxfix < 0)))){ dxfix = (dxfix + 1.2); x = (x + dxfix); }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 9))))) && ((dxfix > 0)))){ dxfix = (dxfix - 1.2); x = (x + dxfix); }; if (roll.currentFrame == (hurt + 9)){ if (roll.y == 0){ roll.gotoAndPlay((hurt + 10)); dx = 0; dy = 0; dxfix = 0; }; }; if ((((roll.currentFrame >= defend)) && ((roll.currentFrame < hurt)))){ if ((((((roll.currentFrame >= defend)) && ((roll.currentFrame <= (defend + 4))))) && ((dxfix > 0)))){ dxfix = (dxfix - 3); x = (x + dxfix); }; if ((((((roll.currentFrame >= defend)) && ((roll.currentFrame <= (defend + 4))))) && ((dxfix < 0)))){ dxfix = (dxfix + 3); x = (x + dxfix); }; if (roll.currentFrame == (defend + 6)){ dxfix = 0; }; if ((((roll.currentFrame >= (defend + 7))) && ((defendst == false)))){ if (((!((dx == 0))) || (!((dy == 0))))){ roll.gotoAndPlay(2); if (dx > 0){ scaleX = 1; }; if (dx < 0){ scaleX = -1; }; }; }; }; if ((((roll.currentFrame == (attack + 2))) || ((roll.currentFrame == (attack2 + 2))))){ _local2 = ((x + roll.x) + (30 * scaleX)); _local3 = ((y + roll.y) - 76); light = new SwordShadow(_local2, _local3, par); light.scaleX = scaleX; par.container3.setChildIndex(light, (par.container3.getChildIndex(this) + 1)); _local4 = (Math.random() * 2); if (_local4 < 1){ SoundsManager.playSound("huidao1"); }; if (_local4 >= 1){ SoundsManager.playSound("huidao2"); }; }; if (x < 225){ x = 225; }; if (x > 468){ x = 468; }; if (y < 207){ y = 207; }; if (y > 302){ y = 302; }; }; } private function sheildaction(_arg1:Event):void{ sheild.x = roll.x; sheild.y = roll.y; sheild.gotoAndStop(roll.currentFrame); } private function swordaction(_arg1:Event):void{ sword.x = roll.x; sword.y = roll.y; sword.gotoAndStop(roll.currentFrame); } private function rollaction(_arg1:Event):void{ roll.y = (roll.y + roll.dy); if ((((roll.dy < 28)) && (!((roll.dy == 0))))){ roll.dy = (roll.dy + 3); }; if (roll.currentFrame == jump){ roll.dy = -27.2; }; if ((((roll.y == 0)) && ((roll.currentFrame == (hurt2 + 9))))){ roll.gotoAndPlay((hurt2 + 10)); }; if (roll.y > 0){ roll.y = 0; roll.dy = 0; dxfix = 0; if ((((roll.currentFrame < throwact)) && ((roll.currentFrame > jump)))){ roll.gotoAndPlay(getdown); }; if ((((roll.currentFrame <= (hurt2 + 9))) && ((roll.currentFrame > hurt2)))){ roll.gotoAndPlay((hurt2 + 10)); }; }; } public function del2():void{ Sdefend = 2; swordnm = 1; sheildnm = 1; secswordnm = 1; levelnm = 1; cnm = 20; life = 150; lifexxx = 150; scorenm = 0; scoresavenm = 0; Data.SAttacknm = 10; Data.secondswordnm = secswordnm; Data.lifenm = life; Data.lifexxxnm = lifexxx; Data.cnm = cnm; Data.levelnm = levelnm; Data.scorenm = scorenm; Data.scoresavenm = scoresavenm; sword.removeEventListener(Event.ENTER_FRAME, swordaction); sheild.removeEventListener(Event.ENTER_FRAME, sheildaction); roll.removeEventListener(Event.ENTER_FRAME, rollaction); this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(rollshadow); removeChild(roll); removeChild(sheild); removeChild(sword); par.container3.removeChild(this); } private function initFighter():void{ rollshadow = new Shadow(0, 0); roll = new FighterRoll(0, 0); if (swordnm == 1){ sword = new Sword1(roll.x, roll.y); }; if (swordnm == 2){ sword = new Sword2(roll.x, roll.y); }; if (swordnm == 3){ sword = new Sword3(roll.x, roll.y); }; if (swordnm == 4){ sword = new Sword4(roll.x, roll.y); }; if (swordnm == 5){ sword = new Sword5(roll.x, roll.y); }; if (sheildnm == 1){ sheild = new Sheild1(roll.x, roll.y); }; if (sheildnm == 2){ sheild = new Sheild2(roll.x, roll.y); }; if (sheildnm == 3){ sheild = new Sheild3(roll.x, roll.y); }; if (sheildnm == 4){ sheild = new Sheild4(roll.x, roll.y); }; if (sheildnm == 5){ sheild = new Sheild5(roll.x, roll.y); }; addChild(rollshadow); addChild(roll); addChild(sword); addChild(sheild); sword.addEventListener(Event.ENTER_FRAME, swordaction, false, 0, true); sheild.addEventListener(Event.ENTER_FRAME, sheildaction, false, 0, true); roll.addEventListener(Event.ENTER_FRAME, rollaction, false, 0, true); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 292
//Fire (Fire) package { import flash.events.*; import flash.display.*; public class Fire extends MovieClip { public var timerXX; public var targets; private var attacknm:Number;// = 0 private var timer;// = 0 private var master; public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 15 private var par; private var fnm; private var ly; private var lx; private var heigh;// = 0 private var inm; public function Fire(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; timer = 0; heigh = 0; man = false; SAttack = 15; super(); addFrameScript(0, frame1, 8, frame9); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, fireAction, false, 0, true); } private function fireAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:uint; var _local5:uint; var _local6:uint; var _local7:*; var _local8:uint; _local2 = ((Math.random() * 60) - 30); _local3 = (((Math.random() * 10) + 30) - (30 * heigh)); _local5 = 0; while (_local5 < par.container3.numChildren) { t = par.container3.getChildAt(_local5); _local4 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local5 < _local4)) && ((t.y > y)))) || ((((_local5 > _local4)) && ((t.y < y)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - y)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ _local2 = (t.x - (20 * t.scaleX)); _local3 = ((y - (Math.random() * 40)) - 30); _local6 = 0; while (_local6 < 12) { fnm = ("fire" + _local6); fnm = new FireStar3(_local2, _local3, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local6++; }; if (t.strong < SAttack){ _local7 = (Math.random() * 2); if (_local7 < 1){ t.scaleX = (t.scaleX * -1); }; t.roll.gotoAndPlay(t.hurt); t.life = (t.life - (SAttack - t.strong)); t.dxfix = 0; t.dx = ((34 + (Math.random() * 2)) * t.scaleX); t.dy = 0; }; if (t.strong >= SAttack){ t.dxfix = ((6 + (Math.random() * 2)) * t.scaleX); }; }; }; _local5++; }; if ((((this.currentFrame == 1)) && (!((targets == null))))){ x = targets.x; y = targets.y; }; if (timer < timerXX){ timer++; }; if (timer == timerXX){ if (this.currentFrame == 1){ this.gotoAndPlay(2); SoundsManager.playSound("kuaihuo"); }; heigh++; _local2 = ((Math.random() * 60) - 30); _local3 = (((Math.random() * 10) + 30) - (30 * heigh)); if (this.currentFrame <= 4){ _local8 = 0; while (_local8 < 13) { fnm = ("fire" + _local8); fnm = new FireStar2(_local2, _local3, this); _local8++; }; }; }; if ((((((par.stagechange == true)) && ((master.x > 240)))) && ((master.dx > 0)))){ x = (x - master.dx); }; if (this.currentFrame == 9){ this.removeEventListener(Event.ENTER_FRAME, fireAction); par.container3.removeChild(this); }; } function frame1(){ stop(); } function frame9(){ stop(); } } }//package
Section 293
//FireBottle (FireBottle) package { import flash.events.*; import flash.display.*; public class FireBottle extends MovieClip { public var yfix; public var drot; private var master; private var hits;// = 0 public var man:Boolean;// = false private var t; public var roll; public var SAttack:Number;// = 13 public var dy; private var par; private var fnm; private var ly; private var lx; public var dx; public function FireBottle(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hits = 0; man = false; SAttack = 13; super(); addFrameScript(0, frame1, 34, frame35); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; yfix = master.y; this.addEventListener(Event.ENTER_FRAME, firebottleAction, false, 0, true); } function frame1(){ stop(); } function frame35(){ stop(); } private function firebottleAction(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; var _local6:*; if ((((((((par.stagechange == true)) && ((master.x > 240)))) && ((master.dx > 0)))) && ((((((master.roll.currentFrame >= 2)) && ((master.roll.currentFrame < 12)))) || ((((master.roll.currentFrame >= master.jump)) && ((master.roll.currentFrame <= (master.jump + 3))))))))){ x = (x - master.dx); }; if (this.currentFrame == 1){ rotation = (rotation + drot); x = (x + dx); y = (y + dy); dy = (dy + 4); if (y >= yfix){ y = yfix; rotation = 0; _local4 = 0; while (_local4 < 15) { fnm = new FireStar2(x, y, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(this) + 1)); _local4++; }; if (hits == 0){ SoundsManager.playSound("mofapingluodi"); SoundsManager.playSound("xiaohuoshao"); hits++; }; this.gotoAndPlay(2); }; }; if ((((this.currentFrame <= 28)) && ((this.currentFrame >= 2)))){ _local5 = 0; while (_local5 < 4) { lx = ((Math.random() * 30) - 15); ly = ((-(Math.random()) * 60) - 10); fnm = new FireStar2(lx, ly, this); _local5++; }; }; _local3 = 0; while (_local3 < par.container3.numChildren) { t = par.container3.getChildAt(_local3); _local2 = par.container3.getChildIndex(this); if ((((((t.man == true)) && (!((t == master))))) && (!((t == this))))){ if ((((((_local3 < _local2)) && ((t.y > yfix)))) || ((((_local3 > _local2)) && ((t.y < yfix)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - yfix)) < 12)))) && ((t.roll.currentFrame < t.hurt)))){ lx = (t.x - (50 * t.scaleX)); ly = y; _local5 = 0; while (_local5 < 15) { fnm = new FireStar2(lx, ly, par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local5++; }; if (t.strong < SAttack){ _local6 = (Math.random() * 2); if (_local6 < 1){ t.scaleX = (t.scaleX * -1); }; t.roll.gotoAndPlay(t.hurt); t.life = (t.life - (SAttack - t.strong)); t.dxfix = 0; t.dx = ((14 + (Math.random() * 2)) * t.scaleX); t.dy = 0; }; if (t.strong >= SAttack){ t.dxfix = ((8 + (Math.random() * 2)) * t.scaleX); }; }; }; _local3++; }; if (this.currentFrame == 35){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, firebottleAction); }; } } }//package
Section 294
//FireStar (FireStar) package { import flash.events.*; import flash.display.*; public class FireStar extends MovieClip { public var man:Boolean;// = false private var dy:Number; private var par:Sprite; private var dx:Number; public function FireStar(_arg1:Number, _arg2:Number, _arg3:Sprite){ man = false; super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initFireStar(); } private function initFireStar():void{ scaleX = (scaleY = ((Math.random() * 0.34) + 0.04)); dx = (4 - (Math.random() * 8)); dy = (3 - (Math.random() * 7)); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 0.1); if (this.currentFrame == 10){ stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } } }//package
Section 295
//FireStar2 (FireStar2) package { import flash.events.*; import flash.display.*; public class FireStar2 extends MovieClip { public var man:Boolean;// = false private var dy:Number; private var par:Sprite; private var dx:Number; public function FireStar2(_arg1:Number, _arg2:Number, _arg3:Sprite){ man = false; super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initFireStar(); } private function initFireStar():void{ scaleX = (scaleY = ((Math.random() * 0.4) + 0.1)); dx = (5 - (Math.random() * 10)); dy = (-15 - (Math.random() * 10)); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 4); if (this.currentFrame == 10){ stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } } }//package
Section 296
//FireStar3 (FireStar3) package { import flash.events.*; import flash.display.*; public class FireStar3 extends MovieClip { public var man:Boolean;// = false private var dy:Number; private var par:Sprite; private var dx:Number; public function FireStar3(_arg1:Number, _arg2:Number, _arg3:Sprite){ man = false; super(); _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initFireStar(); } private function initFireStar():void{ scaleX = (scaleY = ((Math.random() * 0.34) + 0.04)); dx = (4 - (Math.random() * 8)); dy = (3 - (Math.random() * 7)); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ x = (x + dx); y = (y + dy); dy = (dy + 0.1); if (this.currentFrame == 10){ stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } } }//package
Section 297
//Game (Game) package { import flash.events.*; import flash.display.*; import flash.text.*; import com.google.analytics.*; import url.*; import data.*; import flash.ui.*; import flash.system.*; public class Game extends MovieClip { private var stages:Array; private var loading; public var sheds; public var stagenm;// = 1 private var percent:Number; private var menu:ContextMenu; public var gamespirit:Sprite; static var world3start:Boolean = false; static var _tracker:AnalyticsTracker; static var gamecomplete:Boolean = false; public function Game(){ stages = new Array(); menu = new ContextMenu(); gamespirit = new Sprite(); stagenm = 1; super(); this.stop(); stage.showDefaultContextMenu = false; stage.scaleMode = StageScaleMode.NO_SCALE; stage.stageFocusRect = false; stage.tabChildren = false; menu.hideBuiltInItems(); contextMenu = menu; new Cookie(); loading = new Aload(300, 0); addChild(loading); language.Language = 1; switch (Capabilities.playerType){ case "External": break; case "StandAlone": break; case "ActiveX": stage.frameRate = 32; break; case "PlugIn": break; default: break; }; this.addEventListener(Event.ENTER_FRAME, thisaction); } public function changeStage(_arg1){ var _local2:*; gamespirit.removeChild(stages[0]); _local2 = new _arg1(this); delete stages[0]; stages = []; GC.clear(); stages.push(_local2); } private function thisaction(_arg1:Event):void{ var _local2:*; percent = int(((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100)); if (percent < 100){ loading.loadings.gotoAndStop(percent); }; if (percent == 100){ removeChild(loading); loading = null; this.gotoAndStop(3); SoundsManager.init(); if (stagenm == 1){ addChild(gamespirit); sheds = new Shed(300, 0); addChild(sheds); gamespirit.mask = sheds; _local2 = new Stage1(this); stages.push(_local2); _tracker = new GATracker(this, "UA-6695967-1", "AS3", false); _tracker.trackEvent("Blue Knight", "mainscreen viewed", "per session", 0); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } public function changeStage2(_arg1){ var _local2:*; gamespirit.removeChild(stages[0]); _local2 = new Stage88(this, _arg1); delete stages[0]; stages = []; GC.clear(); stages.push(_local2); } } }//package
Section 298
//GC (GC) package { import flash.net.*; public class GC { public static function clear():void{ try { new LocalConnection().connect("haha"); new LocalConnection().connect("haha"); } catch(error:Error) { }; } } }//package
Section 299
//Hecter (Hecter) package { import flash.events.*; import flash.display.*; import enemies.*; public class Hecter extends Sprite { public const hurt2:uint = 165; public const attack4:uint = 130; public const hurt:uint = 150; public const attack:uint = 20; public const die:uint = 225; public const walk:uint = 2; public const attack3:uint = 100; public const attack2:uint = 47; public var dxfix:Number;// = 0 private var bullet; public var life:Number;// = 1200 private var hurtnm;// = 0 public var actionstate;// = 1 public var lifexxx:Number;// = 1200 public var hitBall:MovieClip; private var fire; private var bulletnm:Number; private var hurtt;// = 0 public var number; public var speed:Number;// = 10 private var shadows; public var man:Boolean;// = true private var fist; private var t; public var roll:MovieClip; public var dy:Number;// = 0 public var isboss:Boolean;// = false private var par; public var dx:Number;// = 0 public var strong:Number;// = 8 public var defend:Number; public var rolldy;// = -30 private var rollshadow:MovieClip; public function Hecter(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; rolldy = -30; actionstate = 1; isboss = false; dx = 0; dy = 0; dxfix = 0; life = 1200; lifexxx = 1200; strong = 8; man = true; speed = 10; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; hitBall = new HitMovie(-10, -50, this); addChild(hitBall); hitBall.width = 100; hitBall.height = 160; rollshadow = new Shadow(4, 0); addChild(rollshadow); rollshadow.scaleX = 1.2; roll = new HecterRoll(0, 0); addChild(roll); roll.height = 150; t = par.playRoll; roll.addEventListener(Event.ENTER_FRAME, rollaction, false, 0, true); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); isboss = true; } private function rollaction(_arg1:Event):void{ if (roll.y < 0){ roll.y = (roll.y + rolldy); rolldy = (rolldy + 2); }; if ((((roll.y >= 0)) && ((roll.currentFrame == 0xFF)))){ roll.y = 0; rolldy = 0; roll.gotoAndPlay(0x0100); }; } public function del():void{ roll.stop(); roll.removeEventListener(Event.ENTER_FRAME, rollaction); removeChild(roll); if (isboss == true){ par.container5.removeChild(par.bossstates); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); par.container3.removeChild(this); par.currentEnm = 0; par.be = 0; if (par.stagenm < 10){ par.stagenm = 3; }; } private function stopAction():void{ dx = 0; dy = 0; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; if (actionstate == 0){ x = (x + dx); }; if (actionstate == 1){ changeDepth(); if (isboss == true){ _local4 = int(((life / lifexxx) * 100)); par.bossstates.lifeMC.gotoAndStop(_local4); }; x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; hurtt++; if (hurtt == 30){ hurtnm = 0; }; if ((((life <= 0)) && ((roll.currentFrame < hurt2)))){ roll.gotoAndPlay(hurt2); }; if ((((roll.currentFrame == 185)) && ((life <= 0)))){ roll.gotoAndPlay(die); }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; _local2 = ((x + roll.x) - (130 * scaleX)); _local3 = ((y + roll.y) - 80); if (roll.currentFrame == (attack + 2)){ _local2 = ((x + roll.x) - (130 * scaleX)); _local3 = ((y + roll.y) - 70); fist = new Fist(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.7); fist.xxscale = scaleX; fist.SAttack = 30; }; if (roll.currentFrame == (attack + 6)){ _local2 = ((x + roll.x) - (120 * scaleX)); _local3 = ((y + roll.y) - 100); fist = new Fist(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.7); fist.xxscale = scaleX; fist.SAttack = 30; }; if (roll.currentFrame == (attack + 10)){ _local2 = ((x + roll.x) - (120 * scaleX)); _local3 = ((y + roll.y) - 40); fist = new Fist(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.7); fist.xxscale = scaleX; fist.SAttack = 30; }; if (roll.currentFrame == (attack2 + 20)){ _local2 = ((x + roll.x) - (140 * scaleX)); _local3 = ((y + roll.y) - 70); fist = new Fist(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; fist.SAttack = 30; }; if ((((roll.currentFrame >= (attack3 + 4))) && ((roll.currentFrame <= (attack3 + 18))))){ _local2 = ((x - (Math.random() * 20)) - (55 * scaleX)); _local3 = ((y - (Math.random() * 10)) - 65); bullet = ("bullet" + bulletnm); bullet = new Bullet(_local2, _local3, par); bullet.yfix = y; bullet.scaleX = (bullet.scaleY = (0.25 + (Math.random() / 4))); bullet.xxscale = scaleX; par.container3.setChildIndex(bullet, (par.container3.getChildIndex(this) + 1)); bulletnm++; bulletnm = (bulletnm % 30); bullet = ("bullet" + bulletnm); bullet = new IBullet(_local2, _local3, par); bullet.yfix = y; bullet.scaleY = 0.8; bullet.scaleX = (bullet.scaleY * scaleX); bullet.xxscale = scaleX; par.container3.setChildIndex(bullet, (par.container3.getChildIndex(this) + 1)); bullet.dx = (-28 * scaleX); bullet.dy = (3 + (Math.random() * 2)); bulletnm++; bulletnm = (bulletnm % 30); }; if (roll.currentFrame == 209){ _local2 = (x + roll.x); _local3 = ((y + roll.y) - 80); fist = new Fist(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 1.7); fist.xxscale = scaleX; SoundsManager.playSound("jurenshiwei"); }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 51); if (_local5 < 25){ dx = (-7 * scaleX); dy = 0; roll.gotoAndPlay(walk); }; if ((((_local5 >= 25)) && ((_local5 <= 50)))){ if (t.y < y){ dy = -4; dx = 0; }; if (t.y > y){ dy = 4; dx = 0; }; roll.gotoAndPlay(walk); }; if (_local5 > 50){ dx = ((t.x - x) / 4); if (Math.abs(dx) < 40){ dx = (-40 * scaleX); }; dy = 0; roll.gotoAndPlay(attack2); }; }; if ((((roll.currentFrame >= attack2)) && ((roll.currentFrame <= (attack2 + 19))))){ if (t.x < x){ scaleX = 1; }; if (t.x > x){ scaleX = -1; }; shadows = new HecterS(x, y, par); shadows.scaleX = scaleX; shadows.gotoAndStop(roll.currentFrame); par.container3.setChildIndex(shadows, par.container3.getChildIndex(this)); if ((((roll.currentFrame >= (attack2 + 12))) && ((roll.currentFrame < (attack2 + 18))))){ dx = ((t.x - x) / 5); dy = ((t.y - y) / 2); }; if (roll.currentFrame == (attack2 + 18)){ dx = 0; dy = 0; y = t.y; }; if (roll.currentFrame == (attack2 + 19)){ y = t.y; }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 51); if (_local6 < 25){ dx = (-7 * scaleX); }; if ((((_local6 >= 25)) && ((_local6 < 50)))){ if (t.y < y){ dy = -4; }; if (t.y > y){ dy = 4; }; }; }; if ((((((Math.abs((t.x - x)) < 50)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ _local7 = (Math.random() * 12); if (_local7 < 8){ dx = 0; dy = 0; roll.gotoAndPlay(attack4); }; }; if ((((((((Math.abs((t.x - x)) >= 50)) && ((Math.abs((t.x - x)) < 180)))) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((Math.abs((t.x - x)) >= 180)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack3); }; if ((((roll.currentFrame >= hurt)) && ((roll.currentFrame <= (hurt + 5))))){ dx = 0; }; if ((((roll.currentFrame >= hurt2)) && ((roll.currentFrame <= (hurt2 + 5))))){ dx = 0; }; if (roll.currentFrame == (hurt + 1)){ hurtnm++; hurtt = 0; if (hurtnm == 3){ roll.gotoAndPlay(hurt2); }; }; if (roll.currentFrame == (hurt + 9)){ _local8 = (Math.random() * 10); if (_local8 < 8){ roll.gotoAndPlay(140); }; if (_local8 >= 8){ if (x <= t.x){ x = (x - 40); }; if (t.x < x){ x = (x + 40); }; dx = ((x - t.x) / 4); if (Math.abs(dx) < 40){ dx = (40 * scaleX); }; roll.gotoAndPlay(attack2); }; }; if (roll.currentFrame == 220){ if (Math.abs((t.y - y)) >= 12){ _local9 = (Math.random() * 12); if (_local9 < 4){ dx = ((t.x - x) / 4); if (Math.abs(dx) < 40){ dx = (-40 * scaleX); }; dy = 0; roll.gotoAndPlay(attack2); }; if (_local9 >= 4){ if (t.y < y){ dy = -4; dx = 0; }; if (t.y > y){ dy = 4; dx = 0; }; roll.gotoAndPlay(walk); }; }; if (Math.abs((t.y - y)) < 12){ _local10 = (Math.random() * 8); if (_local10 < 3){ if (t.x < x){ scaleX = 1; }; if (t.x > x){ scaleX = -1; }; roll.gotoAndPlay(attack); }; if (_local10 >= 3){ if (t.x < x){ scaleX = 1; }; if (t.x > x){ scaleX = -1; }; roll.gotoAndPlay(attack3); }; }; }; if (x < -60){ x = -58; stopAction(); }; if (x > 660){ x = 658; stopAction(); }; if (y < 264){ y = 264; stopAction(); }; if (y > 380){ y = 380; stopAction(); }; if (roll.currentFrame == 236){ del(); }; }; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } } }//package
Section 300
//HitMovie (HitMovie) package { import flash.display.*; public class HitMovie extends MovieClip { private var par:Sprite; public function HitMovie(_arg1:Number, _arg2:Number, _arg3:Sprite){ _arg3.addChild(this); par = _arg3; x = _arg1; y = _arg2; } } }//package
Section 301
//Horseman (Horseman) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Horseman extends Sprite { public const hurt:uint = 130; public const attack:uint = 30; public const jump:uint = 145; public const die:uint = 170; public const walk:uint = 2; public const attack2:uint = 75; public var dxfix:Number;// = 0 public var life:Number;// = 400 private var hurtnm;// = 0 public var actionstate;// = 1 public var lifexxx:Number;// = 400 public var hitBall:MovieClip; private var fire; private var hurtt;// = 0 public var number; private var fist2:MovieClip; public var speed:Number;// = 10 private var fist3:MovieClip; public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 public var isboss:Boolean;// = true private var par; private var lx; public var strong:Number;// = 9 public var dx:Number;// = 0 private var ly; public var defend:Number; private var rollshadow:MovieClip; public function Horseman(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; actionstate = 1; isboss = true; dx = 0; dy = 0; dxfix = 0; life = 400; lifexxx = 400; strong = 9; man = true; speed = 10; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initRock1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ roll.stop(); removeChild(roll); if (isboss == true){ par.be = 0; par.container5.removeChild(par.bossstates); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initRock1():void{ hitBall = new HitMovie(0, -110, this); addChild(hitBall); hitBall.width = 100; hitBall.height = 220; rollshadow = new Shadow(20, 0); addChild(rollshadow); rollshadow.scaleX = 2.4; roll = new HorsemanRoll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 90) + (Math.random() * 20)); _local4 = ((y - 10) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); if (isboss == true){ _local2 = int(((life / lifexxx) * 100)); par.bossstates.lifeMC.gotoAndStop(_local2); }; x = (x + dx); x = (x + dxfix); y = (y + dy); roll.y = (roll.y + roll.dy); if ((((roll.y >= 0)) && ((roll.dy > 0)))){ roll.y = 0; roll.dy = 0; dx = 0; dy = 0; roll.gotoAndPlay((jump + 10)); fist2 = new EIce2((x + (30 * scaleX)), y, par); par.enemys.push(fist2); fist2.number = fist2; fist2.yfix = y; par.container3.setChildIndex(fist2, (par.container3.getChildIndex(this) + 1)); fist2.xxscale = scaleX; SoundsManager.playSound("renmaluodi"); }; if (roll.dy != 0){ roll.dy = (roll.dy + 6); }; if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; hurtt++; if (hurtt == 30){ hurtnm = 0; }; if ((((roll.currentFrame == 2)) || ((roll.currentFrame == 7)))){ SoundsManager.playSound("renmajiaobu"); }; if (roll.currentFrame == (hurt + 1)){ hurtnm++; hurtt = 0; if (hurtnm == 3){ dx = 0; dy = 0; roll.gotoAndPlay(jump); SoundsManager.playSound("renmajiaobu"); }; }; if (roll.currentFrame == (jump + 7)){ dx = ((t.x - x) / 30); dy = ((t.y - y) / 30); roll.dy = -78.2; }; if (roll.currentFrame == (jump + 9)){ dx = 0; dy = 0; x = t.x; y = t.y; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 9)){ fist = new ESwordShadow3(x, y, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = scaleX; fist.xxscale = scaleX; SoundsManager.playSound("dadao"); }; if (roll.currentFrame == (attack + 14)){ lx = ((x + roll.x) - (85 * scaleX)); fist2 = new EIce(lx, y, par); par.enemys.push(fist2); fist2.number = fist2; fist2.yfix = y; par.container3.setChildIndex(fist2, (par.container3.getChildIndex(this) + 1)); fist2.xxscale = scaleX; }; if (roll.currentFrame == (attack2 + 9)){ lx = ((x + roll.x) - (180 * scaleX)); ly = (y - 90); fist3 = new Fist(lx, ly, par); fist3.yfix = y; par.container3.setChildIndex(fist3, (par.container3.getChildIndex(this) + 1)); fist3.scaleX = (fist3.scaleY = 1.3); fist3.xxscale = scaleX; fist3.SAttack = 30; SoundsManager.playSound("dadao"); }; if (roll.currentFrame == 1){ _local3 = (Math.random() * 51); if (_local3 < 12){ dx = (5 * scaleX); roll.gotoAndPlay(walk); }; if ((((((_local3 >= 12)) && ((_local3 < 17)))) && ((t.roll.currentFrame < t.hurt2)))){ if (t.y < y){ dy = -3; }; if (t.y > y){ dy = 3; }; roll.gotoAndPlay(walk); }; if ((((_local3 > 50)) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(jump); SoundsManager.playSound("renmajiaobu"); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local4 = (Math.random() * 51); if (_local4 < 12){ dx = (-5 * scaleX); }; if ((((_local4 >= 12)) && ((_local4 < 17)))){ if (t.y < y){ dy = -3; }; if (t.y > y){ dy = 3; }; }; if ((((_local4 > 50)) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(jump); SoundsManager.playSound("renmajiaobu"); }; }; if ((((((Math.abs((t.x - x)) < 300)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; _local5 = (Math.random() * 10); if ((((_local5 < 7)) && ((t.roll.currentFrame < t.hurt2)))){ roll.gotoAndPlay(attack); }; if ((((_local5 >= 7)) && ((t.roll.currentFrame < t.hurt2)))){ roll.gotoAndPlay(attack2); }; }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (die + 7)){ dx = 0; }; if (x < -140){ x = -138; dx = 0; dy = 0; }; if (x > 740){ x = 738; dx = 0; dy = 0; }; if (y < 274){ y = 274; dx = 0; dy = 0; }; if (y > 380){ y = 380; dx = 0; dy = 0; }; if ((((roll.currentFrame < die)) && ((life <= 0)))){ dx = (21 * scaleX); roll.gotoAndPlay(die); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Gem6); createObj(Tomato); _local6 = (Math.random() * 100); if (_local6 < 70){ createObj(Gem3); }; if ((((_local6 >= 70)) && ((_local6 < 92)))){ createObj(Gem4); }; if (_local6 >= 92){ createObj(Gem5); }; }; if (roll.currentFrame == (die + 1)){ removeChild(hitBall); }; if (roll.currentFrame == 272){ del(); }; }; } } }//package
Section 302
//huidao1 (huidao1) package { import flash.media.*; public dynamic class huidao1 extends Sound { } }//package
Section 303
//huidao2 (huidao2) package { import flash.media.*; public dynamic class huidao2 extends Sound { } }//package
Section 304
//Ice (Ice) package { import flash.events.*; import flash.display.*; public class Ice extends MovieClip { private var attacknm:Number;// = 0 private var timer;// = 0 private var master; public var man:Boolean;// = false private var t; public var roll; public var xxscale; public var xfix;// = 0 private var par; public var SAttack:Number;// = 12 private var fnm; private var ly; private var lx; private var inm; public function Ice(_arg1:Number=0, _arg2:Number=0, _arg3=null){ attacknm = 0; timer = 0; xfix = 0; man = false; SAttack = 12; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; master = _arg3.playRoll; this.addEventListener(Event.ENTER_FRAME, iceAction, false, 0, true); } private function iceAction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:uint; var _local6:uint; var _local7:*; _local2 = (((Math.random() * 50) - 25) + xfix); _local3 = ((Math.random() * 10) - 5); _local4 = 0; _local6 = 0; while (_local6 < par.container3.numChildren) { t = par.container3.getChildAt(_local6); _local5 = par.container3.getChildIndex(this); if ((((t.man == true)) && (!((t == master))))){ if ((((((_local6 < _local5)) && ((t.y > y)))) || ((((_local6 > _local5)) && ((t.y < y)))))){ par.container3.swapChildren(t, this); }; if (((((this.hitTestObject(t.roll)) && ((Math.abs((t.y - y)) < 14)))) && ((t.roll.currentFrame < t.hurt)))){ if (t.strong < SAttack){ t.roll.gotoAndPlay(t.hurt); t.life = (t.life - (SAttack - t.strong)); t.dxfix = 0; t.dx = ((4 + (Math.random() * 2)) * t.scaleX); t.dy = 0; }; if (t.strong >= SAttack){ t.dxfix = ((4 + (Math.random() * 2)) * t.scaleX); }; }; }; _local6++; }; timer++; _local7 = (Math.random() * 2); _local2 = (((Math.random() * 50) - 25) + xfix); _local3 = ((Math.random() * 10) - 5); if (timer == 1){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; _local4 = 0; while (_local4 < 20) { fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; SoundsManager.playSound("dabin"); }; if (timer == 3){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 5){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); this.setChildIndex(inm, 0); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 7){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); this.setChildIndex(inm, 0); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 9){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 11){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; SoundsManager.playSound("dabin"); }; if (timer == 13){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 15){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); this.setChildIndex(inm, 0); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 17){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); this.setChildIndex(inm, 0); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 19){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 21){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; SoundsManager.playSound("dabin"); }; if (timer == 23){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 25){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); this.setChildIndex(inm, 0); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 27){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); this.setChildIndex(inm, 0); }; _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if (timer == 29){ if (_local7 < 1){ inm = new Ice1(_local2, _local3, this); this.setChildIndex(inm, 0); }; if (_local7 >= 1){ inm = new Ice2(_local2, _local3, this); }; xfix = (xfix + (xxscale * 80)); _local4 = 0; while (_local4 < 20) { fnm = ("fire" + _local4); fnm = new FireStar((this.x + _local2), (this.y + _local3), par.container3); par.container3.setChildIndex(fnm, (par.container3.getChildIndex(t) + 1)); _local4++; }; }; if ((((((((par.stagechange == true)) && ((master.x > 240)))) && ((master.dx > 0)))) && ((((((master.roll.currentFrame >= 2)) && ((master.roll.currentFrame < 12)))) || ((((master.roll.currentFrame >= master.jump)) && ((master.roll.currentFrame <= (master.jump + 3))))))))){ x = (x - master.dx); }; if ((((((x > 630)) || ((x < -30)))) || ((timer >= 75)))){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, iceAction); }; } } }//package
Section 305
//Ice1 (Ice1) package { import flash.events.*; import flash.display.*; public class Ice1 extends MovieClip { private var par; public function Ice1(_arg1:Number, _arg2:Number, _arg3){ var _local4:*; super(); addFrameScript(44, frame45); _arg3.addChild(this); par = _arg3; par.xfix = (par.xfix + (par.xxscale * 20)); _local4 = (Math.random() * 2); if (_local4 < 1){ scaleX = ((Math.random() * 0.5) + 0.6); scaleY = scaleX; }; if (_local4 >= 1){ scaleX = -(((Math.random() * 0.5) + 0.6)); scaleY = -(scaleX); }; rotation = ((Math.random() * 90) - 45); x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, iceAction, false, 0, true); } private function iceAction(_arg1:Event):void{ if (this.currentFrame == 40){ SoundsManager.playSound("dabin"); }; if (this.currentFrame == 45){ par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, iceAction); }; } function frame45(){ stop(); } } }//package
Section 306
//Ice2 (Ice2) package { import flash.events.*; import flash.display.*; public class Ice2 extends MovieClip { private var par; public function Ice2(_arg1:Number, _arg2:Number, _arg3){ var _local4:*; super(); addFrameScript(44, frame45); _arg3.addChild(this); par = _arg3; _arg3.xfix = (_arg3.xfix + (_arg3.xxscale * 20)); _local4 = (Math.random() * 2); if (_local4 < 1){ scaleX = ((Math.random() * 0.5) + 0.6); scaleY = scaleX; }; if (_local4 >= 1){ scaleX = -(((Math.random() * 0.5) + 0.6)); scaleY = -(scaleX); }; rotation = ((Math.random() * 90) - 45); x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, iceAction, false, 0, true); } private function iceAction(_arg1:Event):void{ if (this.currentFrame == 40){ SoundsManager.playSound("dabin"); }; if (this.currentFrame == 45){ par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, iceAction); }; } function frame45(){ stop(); } } }//package
Section 307
//judun (judun) package { import flash.media.*; public dynamic class judun extends Sound { } }//package
Section 308
//jueseshengji (jueseshengji) package { import flash.media.*; public dynamic class jueseshengji extends Sound { } }//package
Section 309
//jurenchongzhuang (jurenchongzhuang) package { import flash.media.*; public dynamic class jurenchongzhuang extends Sound { } }//package
Section 310
//jurenjiaobu1 (jurenjiaobu1) package { import flash.media.*; public dynamic class jurenjiaobu1 extends Sound { } }//package
Section 311
//jurenjiaobu2 (jurenjiaobu2) package { import flash.media.*; public dynamic class jurenjiaobu2 extends Sound { } }//package
Section 312
//jurenkan (jurenkan) package { import flash.media.*; public dynamic class jurenkan extends Sound { } }//package
Section 313
//jurenshangtiao (jurenshangtiao) package { import flash.media.*; public dynamic class jurenshangtiao extends Sound { } }//package
Section 314
//jurenshiwei (jurenshiwei) package { import flash.media.*; public dynamic class jurenshiwei extends Sound { } }//package
Section 315
//jurensiwang (jurensiwang) package { import flash.media.*; public dynamic class jurensiwang extends Sound { } }//package
Section 316
//kaixiang (kaixiang) package { import flash.media.*; public dynamic class kaixiang extends Sound { } }//package
Section 317
//kanzhong (kanzhong) package { import flash.media.*; public dynamic class kanzhong extends Sound { } }//package
Section 318
//kuaihuo (kuaihuo) package { import flash.media.*; public dynamic class kuaihuo extends Sound { } }//package
Section 319
//kuijiabaohu (kuijiabaohu) package { import flash.media.*; public dynamic class kuijiabaohu extends Sound { } }//package
Section 320
//kulousanjia (kulousanjia) package { import flash.media.*; public dynamic class kulousanjia extends Sound { } }//package
Section 321
//longchibang (longchibang) package { import flash.media.*; public dynamic class longchibang extends Sound { } }//package
Section 322
//longhuaguo (longhuaguo) package { import flash.media.*; public dynamic class longhuaguo extends Sound { } }//package
Section 323
//longjiao (longjiao) package { import flash.media.*; public dynamic class longjiao extends Sound { } }//package
Section 324
//longsiwang (longsiwang) package { import flash.media.*; public dynamic class longsiwang extends Sound { } }//package
Section 325
//lose (lose) package { import flash.media.*; public dynamic class lose extends Sound { } }//package
Section 326
//Mage (Mage) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Mage extends Sprite { public const moveaction:uint = 230; public const Fattack:uint = 15; public const hurt:uint = 85; public const die:uint = 100; public const walk:uint = 2; public const Iattack:uint = 50; public var dxfix:Number;// = 0 public var life:Number;// = 450 private var hurtnm;// = 0 public var actionstate;// = 1 public var lifexxx:Number;// = 450 public var hitBall:MovieClip; private var fire; private var hurtt;// = 0 public var number; public var speed:Number;// = 100 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var isboss:Boolean;// = false private var par; private var lx;// = 0 public var strong:Number;// = 4 public var dx:Number;// = 0 public var dy:Number;// = 0 private var ly;// = 0 private var itime;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Mage(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; lx = 0; ly = 0; itime = 0; actionstate = 1; isboss = false; dx = 0; dy = 0; dxfix = 0; life = 450; lifexxx = 450; strong = 4; man = true; speed = 100; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initMage(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); if (isboss == true){ par.be = 0; par.container5.removeChild(par.bossstates); }; if (isboss == false){ _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; }; this.removeEventListener(Event.ENTER_FRAME, thisaction); par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); if (isboss == true){ _local2 = int(((life / lifexxx) * 100)); par.bossstates.lifeMC.gotoAndStop(_local2); }; x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; hurtt++; if (hurtt == 30){ hurtnm = 0; }; if ((((roll.currentFrame < die)) && ((life <= 0)))){ dx = 0; roll.gotoAndPlay(die); SoundsManager.playSound("wushisiwang"); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); if (isboss == true){ createObj(Relivecross); }; _local3 = (Math.random() * 100); if (_local3 < 70){ createObj(Berry); }; if ((((_local3 >= 70)) && ((_local3 < 92)))){ createObj(Gem4); }; if (_local3 >= 92){ createObj(Gem3); }; }; if (roll.currentFrame == (hurt + 1)){ SoundsManager.playSound("wushichuzhao"); hurtnm++; hurtt = 0; if ((((hurtnm == 3)) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(moveaction); SoundsManager.playSound("wushishunxiaoshi"); }; }; if (roll.currentFrame == (moveaction + 6)){ x = ((Math.random() * 500) + 50); y = ((Math.random() * 100) + 276); SoundsManager.playSound("wushishunchuxian"); }; if ((((t.x < x)) && ((((roll.currentFrame < Fattack)) || ((roll.currentFrame == (moveaction + 6))))))){ scaleX = 1; }; if ((((t.x > x)) && ((((roll.currentFrame < Fattack)) || ((roll.currentFrame == (moveaction + 6))))))){ scaleX = -1; }; if (roll.currentFrame == (Fattack + 11)){ lx = x; ly = y; }; if ((((roll.currentFrame >= (Fattack + 12))) && ((roll.currentFrame <= (Fattack + 18))))){ lx = (lx - (90 * scaleX)); fist = new EFire(lx, ly, par); par.enemys.push(fist); fist.number = fist; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; }; if (roll.currentFrame == (Iattack + 11)){ lx = x; ly = y; itime = 0; }; if ((((roll.currentFrame >= (Iattack + 12))) && ((roll.currentFrame <= (Iattack + 28))))){ itime++; itime = (itime % 3); if (itime == 0){ lx = (lx + ((t.x - x) / 4)); ly = (ly + ((t.y - y) / 4)); fist = new EFire(lx, ly, par); par.enemys.push(fist); fist.number = fist; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.xxscale = scaleX; }; }; if (roll.currentFrame == 1){ _local4 = (Math.random() * 51); if (_local4 < 12){ dx = (4 * scaleX); roll.gotoAndPlay(walk); }; if ((((_local4 >= 12)) && ((_local4 < 17)))){ if (t.y < y){ dy = -2.6; }; if (t.y > y){ dy = 2.6; }; roll.gotoAndPlay(walk); }; if (_local4 > 50){ dx = 0; dy = 0; roll.gotoAndPlay(Iattack); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < Fattack)))){ _local5 = (Math.random() * 51); if (_local5 < 12){ dx = (-4 * scaleX); }; if ((((_local5 >= 12)) && ((_local5 < 17)))){ if (t.y < y){ dy = -2.6; }; if (t.y > y){ dy = 2.6; }; }; if (_local4 > 48){ stopAction(); }; }; if ((((((((((((((Math.abs((t.x - x)) > 400)) && ((Math.abs((t.x - x)) < 500)))) && ((Math.abs((t.y - y)) < 40)))) && ((roll.currentFrame < Fattack)))) && ((x < 600)))) && ((x > 0)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(Fattack); }; if ((((((((((((((Math.abs((t.x - x)) >= 100)) && ((Math.abs((t.x - x)) <= 400)))) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < Fattack)))) && ((x < 600)))) && ((x > 0)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(Iattack); }; if ((((((Math.abs((t.x - x)) < 100)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < Fattack)))){ _local6 = (Math.random() * 6); if ((((_local6 < 1)) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(moveaction); SoundsManager.playSound("wushishunxiaoshi"); }; }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (roll.currentFrame == (die + 1)){ dx = 0; }; if (x < -80){ x = -80; dx = 0; dy = 0; }; if (x > 680){ x = 680; dx = 0; dy = 0; }; if (y < 274){ y = 274; dx = 0; dy = 0; }; if (y > 380){ y = 380; dx = 0; dy = 0; }; if (roll.currentFrame == (die + 1)){ removeChild(hitBall); removeChild(rollshadow); }; if (roll.currentFrame == 217){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } private function initMage():void{ hitBall = new HitMovie(0, -60, this); addChild(hitBall); hitBall.width = 60; hitBall.height = 120; rollshadow = new Shadow(4, 0); addChild(rollshadow); rollshadow.scaleX = 1.4; roll = new MageRoll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 327
//MagicStar1 (MagicStar1) package { import flash.events.*; import flash.display.*; public class MagicStar1 extends MovieClip { public var dy; private var par; public var dx; public function MagicStar1(_arg1:Number=0, _arg2:Number=0, _arg3=null){ dx = ((Math.random() * 1.5) - 0.3); dy = (-1.5 - (Math.random() * 3)); super(); _arg3.addChild(this); x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); par = _arg3; } private function thisaction(_arg1:Event):void{ x = (x + dx); y = (y + dy); if ((((this.x > 650)) || ((this.y < -250)))){ stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } } }//package
Section 328
//MagicStar2 (MagicStar2) package { import flash.events.*; import flash.display.*; public class MagicStar2 extends MovieClip { public var dy; private var par; public var dx; public function MagicStar2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ dx = ((Math.random() * 1.5) - 0.3); dy = (-1.5 - (Math.random() * 3)); super(); _arg3.addChild(this); x = _arg1; y = _arg2; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); par = _arg3; } private function thisaction(_arg1:Event):void{ x = (x + dx); y = (y + dy); if ((((this.x > 650)) || ((this.y < -250)))){ stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } } }//package
Section 329
//MagicStar3 (MagicStar3) package { import flash.events.*; import flash.display.*; public class MagicStar3 extends MovieClip { public var dy; private var par; public var dx; public function MagicStar3(_arg1:Number=0, _arg2:Number=0, _arg3=null){ dx = ((Math.random() * 1) - 0.5); dy = (-1.5 - (Math.random() * 2)); super(); _arg3.addChild(this); x = _arg1; y = _arg2; scaleX = (scaleY = (Math.random() + 0.6)); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); par = _arg3; } private function thisaction(_arg1:Event):void{ x = (x + dx); y = (y + dy); alpha = (alpha - 0.025); if ((((((this.x > 650)) || ((this.y < -250)))) || ((alpha <= 0)))){ stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } } }//package
Section 330
//MagicStar4 (MagicStar4) package { import flash.events.*; import flash.display.*; public class MagicStar4 extends MovieClip { public var dy; private var par; public var dx; public function MagicStar4(_arg1:Number=0, _arg2:Number=0, _arg3=null){ dx = ((Math.random() * 1) - 0.5); dy = (-1.5 - (Math.random() * 2)); super(); _arg3.addChild(this); x = _arg1; y = _arg2; scaleX = (scaleY = (Math.random() + 0.6)); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); par = _arg3; } private function thisaction(_arg1:Event):void{ x = (x + dx); y = (y + dy); alpha = (alpha - 0.025); if ((((((this.x > 650)) || ((this.y < -250)))) || ((alpha <= 0)))){ stop(); par.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } } }//package
Section 331
//menu (menu) package { import flash.media.*; public dynamic class menu extends Sound { } }//package
Section 332
//menu_press (menu_press) package { import flash.media.*; public dynamic class menu_press extends Sound { } }//package
Section 333
//menu_touch (menu_touch) package { import flash.media.*; public dynamic class menu_touch extends Sound { } }//package
Section 334
//mofapingluodi (mofapingluodi) package { import flash.media.*; public dynamic class mofapingluodi extends Sound { } }//package
Section 335
//mountain (mountain) package { import flash.media.*; public dynamic class mountain extends Sound { } }//package
Section 336
//niaorenchuzhao (niaorenchuzhao) package { import flash.media.*; public dynamic class niaorenchuzhao extends Sound { } }//package
Section 337
//niaorensiwang (niaorensiwang) package { import flash.media.*; public dynamic class niaorensiwang extends Sound { } }//package
Section 338
//niaorenzhongzhao (niaorenzhongzhao) package { import flash.media.*; public dynamic class niaorenzhongzhao extends Sound { } }//package
Section 339
//ObjText (ObjText) package { import flash.events.*; import flash.display.*; import flash.text.*; public class ObjText extends MovieClip { private var myTextBox:TextField; public var man:Boolean;// = false private var par; public var textcontent:String; public function ObjText(_arg1:Number, _arg2:Number, _arg3:String, _arg4){ myTextBox = new TextField(); man = false; super(); _arg4.container3.addChild(this); par = _arg4; x = _arg1; y = _arg2; textcontent = _arg3; initdialog(); } private function thisaction(_arg1:Event):void{ y = (y - 4); this.alpha = (this.alpha - 0.05); if (this.alpha <= 0){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 210; myTextBox.height = 30; myTextBox.x = -105; myTextBox.y = 0; _local1 = new TextFormat(); _local1.align = TextFormatAlign.CENTER; _local1.font = "_sans"; _local1.color = 12515836; _local1.size = 12; _local1.bold = true; myTextBox.defaultTextFormat = _local1; myTextBox.text = textcontent; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 340
//ObjText2 (ObjText2) package { import flash.events.*; import flash.display.*; import flash.text.*; public class ObjText2 extends MovieClip { private var myTextBox:TextField; private var tnm;// = 10 public var man:Boolean;// = false private var par; public var textcontent:String; public function ObjText2(_arg1:Number, _arg2:Number, _arg3:String, _arg4){ myTextBox = new TextField(); tnm = 10; man = false; super(); _arg4.container3.addChild(this); par = _arg4; x = _arg1; y = _arg2; textcontent = _arg3; initdialog(); } private function thisaction(_arg1:Event):void{ y = (y - 4); tnm = (tnm - 0.5); if (tnm <= 0){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 90; myTextBox.height = 30; myTextBox.x = 22; myTextBox.y = -12; _local1 = new TextFormat(); _local1.font = "_sans"; _local1.color = 0xFFFFFF; _local1.size = 14; _local1.bold = true; myTextBox.defaultTextFormat = _local1; myTextBox.text = textcontent; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 341
//ObjText3 (ObjText3) package { import flash.events.*; import flash.display.*; import flash.text.*; public class ObjText3 extends MovieClip { private var myTextBox:TextField; public var man:Boolean;// = false private var par; public var textcontent:String; public function ObjText3(_arg1:Number, _arg2:Number, _arg3:String, _arg4){ myTextBox = new TextField(); man = false; super(); _arg4.container3.addChild(this); par = _arg4; x = _arg1; y = _arg2; textcontent = _arg3; initdialog(); } private function thisaction(_arg1:Event):void{ y = (y - 4); this.alpha = (this.alpha - 0.05); if (this.alpha <= 0){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 210; myTextBox.height = 30; myTextBox.x = -105; myTextBox.y = 0; _local1 = new TextFormat(); _local1.align = TextFormatAlign.CENTER; _local1.font = "_sans"; _local1.color = 16777062; _local1.size = 12; _local1.bold = true; myTextBox.defaultTextFormat = _local1; myTextBox.text = textcontent; SoundsManager.playSound("coinsound"); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 342
//ObjText4 (ObjText4) package { import flash.events.*; import flash.display.*; import flash.text.*; public class ObjText4 extends MovieClip { private var myTextBox:TextField; public var man:Boolean;// = false private var par; public var textcontent:String; public function ObjText4(_arg1:Number, _arg2:Number, _arg3:String, _arg4){ myTextBox = new TextField(); man = false; super(); _arg4.container3.addChild(this); par = _arg4; x = _arg1; y = _arg2; textcontent = _arg3; initdialog(); } private function thisaction(_arg1:Event):void{ y = (y - 4); this.alpha = (this.alpha - 0.05); if (this.alpha <= 0){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 210; myTextBox.height = 30; myTextBox.x = -105; myTextBox.y = 0; _local1 = new TextFormat(); _local1.align = TextFormatAlign.CENTER; _local1.font = "_sans"; _local1.color = 11197498; _local1.size = 12; _local1.bold = true; myTextBox.defaultTextFormat = _local1; myTextBox.text = textcontent; SoundsManager.playSound("chixue"); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 343
//ObjText5 (ObjText5) package { import flash.events.*; import flash.display.*; import flash.text.*; public class ObjText5 extends MovieClip { private var myTextBox:TextField; public var man:Boolean;// = false private var par; public var textcontent:String; public function ObjText5(_arg1:Number, _arg2:Number, _arg3:String, _arg4){ myTextBox = new TextField(); man = false; super(); _arg4.container3.addChild(this); par = _arg4; x = _arg1; y = _arg2; textcontent = _arg3; initdialog(); } private function thisaction(_arg1:Event):void{ y = (y - 4); this.alpha = (this.alpha - 0.05); if (this.alpha <= 0){ par.container3.removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisaction); }; } private function initdialog():void{ var _local1:TextFormat; addChild(myTextBox); myTextBox.selectable = false; myTextBox.multiline = true; myTextBox.wordWrap = true; myTextBox.type = TextFieldType.DYNAMIC; myTextBox.width = 210; myTextBox.height = 30; myTextBox.x = -105; myTextBox.y = 0; _local1 = new TextFormat(); _local1.align = TextFormatAlign.CENTER; _local1.font = "_sans"; _local1.color = 0xFFFFFF; _local1.size = 14; _local1.bold = true; myTextBox.defaultTextFormat = _local1; myTextBox.text = textcontent; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 344
//qiehuanjineng (qiehuanjineng) package { import flash.media.*; public dynamic class qiehuanjineng extends Sound { } }//package
Section 345
//qishishoushang1 (qishishoushang1) package { import flash.media.*; public dynamic class qishishoushang1 extends Sound { } }//package
Section 346
//qishishoushang2 (qishishoushang2) package { import flash.media.*; public dynamic class qishishoushang2 extends Sound { } }//package
Section 347
//renmajiaobu (renmajiaobu) package { import flash.media.*; public dynamic class renmajiaobu extends Sound { } }//package
Section 348
//renmaluodi (renmaluodi) package { import flash.media.*; public dynamic class renmaluodi extends Sound { } }//package
Section 349
//Rock1 (Rock1) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Rock1 extends Sprite { public const hurt2:uint = 100; public const hurt:uint = 85; public const attack:uint = 30; public const die:uint = 130; public const walk:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 180 private var hurtnm;// = 0 public var actionstate;// = 1 public var lifexxx:Number;// = 180 public var hitBall:MovieClip; private var fire; private var hurtt;// = 0 public var number; public var speed:Number;// = 10 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 public var isboss:Boolean;// = false private var par; public var strong:Number;// = 6 public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Rock1(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; actionstate = 1; isboss = false; dx = 0; dy = 0; dxfix = 0; life = 180; lifexxx = 180; strong = 6; man = true; speed = 10; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initRock1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); if (isboss == true){ par.be = 0; par.container5.removeChild(par.bossstates); }; if (isboss == false){ _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; }; this.removeEventListener(Event.ENTER_FRAME, thisaction); par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initRock1():void{ hitBall = new HitMovie(0, -90, this); addChild(hitBall); hitBall.width = 100; hitBall.height = 180; rollshadow = new Shadow(4, 0); addChild(rollshadow); rollshadow.scaleX = 1.4; roll = new Rock1Roll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); if (isboss == true){ _local2 = int(((life / lifexxx) * 100)); par.bossstates.lifeMC.gotoAndStop(_local2); }; x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; hurtt++; if (hurtt == 30){ hurtnm = 0; }; if (roll.currentFrame == (hurt + 1)){ hurtnm++; hurtt = 0; if (hurtnm == 3){ roll.gotoAndPlay(hurt2); }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 9)){ _local3 = ((x + roll.x) - (108 * scaleX)); _local4 = y; fist = new ESwordShadow(_local3, _local4, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = scaleX; fist.xxscale = scaleX; SoundsManager.playSound("dadao"); }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 51); if (_local5 < 12){ dx = (4 * scaleX); roll.gotoAndPlay(walk); }; if ((((_local5 >= 12)) && ((_local5 < 17)))){ if (t.y < y){ dy = -2.6; }; if (t.y > y){ dy = 2.6; }; roll.gotoAndPlay(walk); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 51); if (_local6 < 12){ dx = (-4 * scaleX); }; if ((((_local6 >= 12)) && ((_local6 < 17)))){ if (t.y < y){ dy = -2.6; }; if (t.y > y){ dy = 2.6; }; }; if (_local6 > 50){ stopAction(); }; }; if ((((((((Math.abs((t.x - x)) < 180)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt2 + 5)){ dx = 0; }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (die + 7)){ dx = 0; }; if (x < -140){ x = -138; dx = 0; dy = 0; }; if (x > 740){ x = 738; dx = 0; dy = 0; }; if (y < 274){ y = 274; dx = 0; dy = 0; }; if (y > 380){ y = 380; dx = 0; dy = 0; }; if ((((roll.currentFrame < die)) && ((life <= 0)))){ dx = (24 * scaleX); roll.gotoAndPlay(die); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); _local7 = (Math.random() * 100); if (_local7 < 70){ createObj(Gem1); }; if ((((_local7 >= 70)) && ((_local7 < 92)))){ createObj(Gem2); }; if (_local7 >= 92){ createObj(Gem3); }; if (isboss == true){ createObj(Relivecross); }; }; if (roll.currentFrame == (die + 1)){ removeChild(hitBall); removeChild(rollshadow); }; if (roll.currentFrame == 237){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 90) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 350
//Rock2 (Rock2) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Rock2 extends Sprite { public const hurt:uint = 100; public const attack:uint = 30; public const die:uint = 130; public const walk:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 90 private var hurtnm;// = 0 public var actionstate;// = 1 public var lifexxx:Number;// = 90 public var hitBall:MovieClip; private var fire; private var hurtt;// = 0 public var number; public var speed:Number;// = 10 public var man:Boolean;// = true private var fist:MovieClip; private var t; private var weakpointtip:MovieClip; public var roll:MovieClip; public var dy:Number;// = 0 public var isboss:Boolean;// = false private var par; public var strong:Number;// = 800 public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Rock2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; actionstate = 1; isboss = false; dx = 0; dy = 0; dxfix = 0; life = 90; lifexxx = 90; strong = 800; man = true; speed = 10; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initRock1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); if (isboss == true){ par.container5.removeChild(par.bossstates); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initRock1():void{ hitBall = new HitMovie(-50, -200, this); addChild(hitBall); hitBall.width = 120; hitBall.height = 80; rollshadow = new Shadow(4, 0); addChild(rollshadow); rollshadow.scaleX = 1.4; roll = new Rock2Roll(0, 0); addChild(roll); weakpointtip = new Weakpoint(-35, -175); addChild(weakpointtip); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); if (isboss == true){ _local2 = int(((life / lifexxx) * 100)); par.bossstates.lifeMC.gotoAndStop(_local2); }; x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (scaleX == 1){ weakpointtip.scaleX = 1; weakpointtip.x = -35; }; if (scaleX == -1){ weakpointtip.scaleX = -1; weakpointtip.x = 15; }; if (roll.currentFrame == (attack + 9)){ _local3 = ((x + roll.x) - (108 * scaleX)); _local4 = y; fist = new ESwordShadow(_local3, _local4, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = scaleX; fist.xxscale = scaleX; SoundsManager.playSound("dadao"); }; if ((((roll.currentFrame == 124)) && ((t.roll.currentFrame < t.hurt2)))){ if (t.x < x){ scaleX = 1; }; if (t.x > x){ scaleX = -1; }; roll.gotoAndPlay(attack); }; if (roll.currentFrame == 1){ if (weakpointtip.currentFrame == 120){ weakpointtip.gotoAndPlay(1); }; _local5 = (Math.random() * 51); if (_local5 < 12){ dx = (4 * scaleX); roll.gotoAndPlay(walk); }; if ((((_local5 >= 12)) && ((_local5 < 17)))){ if (t.y < y){ dy = -2.6; }; if (t.y > y){ dy = 2.6; }; roll.gotoAndPlay(walk); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ if (weakpointtip.currentFrame == 120){ weakpointtip.gotoAndPlay(1); }; _local6 = (Math.random() * 51); if (_local6 < 12){ dx = (-4 * scaleX); }; if ((((_local6 >= 12)) && ((_local6 < 17)))){ if (t.y < y){ dy = -2.6; }; if (t.y > y){ dy = 2.6; }; }; if (_local6 > 50){ stopAction(); }; }; if ((((((((Math.abs((t.x - x)) < 180)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); weakpointtip.gotoAndPlay(61); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); weakpointtip.gotoAndPlay(61); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; weakpointtip.gotoAndPlay(61); }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (die + 7)){ dx = 0; }; if (x < -140){ x = -138; dx = 0; dy = 0; }; if (x > 740){ x = 738; dx = 0; dy = 0; }; if (y < 274){ y = 274; dx = 0; dy = 0; }; if (y > 380){ y = 380; dx = 0; dy = 0; }; if ((((roll.currentFrame < die)) && ((life <= 0)))){ dx = (24 * scaleX); roll.gotoAndPlay(die); weakpointtip.gotoAndPlay(61); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); _local7 = (Math.random() * 100); if (_local7 < 70){ createObj(Gem1); }; if ((((_local7 >= 70)) && ((_local7 < 92)))){ createObj(Gem2); }; if (_local7 >= 92){ createObj(Gem3); }; }; if (roll.currentFrame == (die + 1)){ removeChild(hitBall); removeChild(rollshadow); }; if (roll.currentFrame == 237){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 90) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 351
//Rock3 (Rock3) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Rock3 extends Sprite { public const hurt2:uint = 145; public const hurt:uint = 130; public const attack:uint = 20; public const die:uint = 175; public const run:uint = 85; public const walk:uint = 2; public const attack2:uint = 290; public var dxfix:Number;// = 0 public var life:Number;// = 500 public var actionstate;// = 1 private var ashs2; public var lifexxx:Number;// = 500 private var hurtnm;// = 0 public var hitBall:MovieClip; private var fire; private var hurtt;// = 0 public var number; public var speed:Number;// = 10 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; private var axetop:MovieClip; public var dy:Number;// = 0 public var isboss:Boolean;// = false private var par; public var strong:Number;// = 4 public var dx:Number;// = 0 private var ashs; public var defend:Number; private var rollshadow:MovieClip; public function Rock3(_arg1:Number=0, _arg2:Number=0, _arg3=null){ hurtnm = 0; hurtt = 0; actionstate = 1; isboss = false; dx = 0; dy = 0; dxfix = 0; life = 500; lifexxx = 500; strong = 4; man = true; speed = 10; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initRock3(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); if (isboss == true){ par.be = 0; par.container5.removeChild(par.bossstates); }; if (isboss == false){ _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; }; this.removeEventListener(Event.ENTER_FRAME, thisaction); par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initRock3():void{ hitBall = new HitMovie(0, -90, this); addChild(hitBall); hitBall.width = 100; hitBall.height = 180; rollshadow = new Shadow(20, -5); addChild(rollshadow); rollshadow.scaleX = 1.3; axetop = new HitMovie(-70, -68, this); addChild(axetop); roll = new Rock3Roll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:uint; var _local9:*; var _local10:*; _local2 = ((x + roll.x) - (40 * scaleX)); _local3 = (y - 31); if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); if (isboss == true){ _local4 = int(((life / lifexxx) * 100)); par.bossstates.lifeMC.gotoAndStop(_local4); }; x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; hurtt++; if (hurtt == 30){ hurtnm = 0; }; if (roll.currentFrame == (hurt + 1)){ hurtnm++; hurtt = 0; if (hurtnm == 3){ SoundsManager.playSound("jurensiwang"); roll.gotoAndPlay(hurt2); }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 9)){ _local2 = ((x + roll.x) - (40 * scaleX)); _local3 = (y - 31); fist = new ESwordShadow2(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = scaleX; fist.xxscale = scaleX; SoundsManager.playSound("dadao"); }; if (roll.currentFrame == (attack + 20)){ _local2 = ((x + roll.x) - (130 * scaleX)); _local3 = (y - 30); fist = new Fist(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.8); fist.xxscale = scaleX; }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 51); if (_local5 < 12){ dx = (7 * scaleX); roll.gotoAndPlay(walk); }; if ((((_local5 >= 12)) && ((_local5 < 17)))){ if (t.y < y){ dy = -4; }; if (t.y > y){ dy = 4; }; roll.gotoAndPlay(walk); }; if ((((_local5 > 50)) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 51); if (_local6 < 12){ dx = (-7 * scaleX); }; if ((((_local6 >= 12)) && ((_local6 < 17)))){ if (t.y < y){ dy = -4; }; if (t.y > y){ dy = 4; }; }; if (_local5 > 48){ stopAction(); }; }; if ((((roll.currentFrame >= (run + 5))) && ((roll.currentFrame <= (run + 35))))){ _local2 = ((x + (Math.random() * 10)) + (60 * scaleX)); _local3 = (y + (Math.random() * 10)); ashs = new Ash(_local2, _local3, par.container3); par.container3.setChildIndex(ashs, (par.container3.getChildIndex(this) + 1)); _local2 = ((x + (Math.random() * 10)) + (60 * scaleX)); _local3 = (y + (Math.random() * 10)); ashs2 = new Ash(_local2, _local3, par.container3); par.container3.setChildIndex(ashs2, (par.container3.getChildIndex(this) + 1)); if (((axetop.hitTestObject(t.roll)) && ((Math.abs((t.y - y)) < 20)))){ _local2 = (t.x + (50 * t.scaleX)); _local3 = ((t.y - 64) + t.roll.y); if (t.roll.currentFrame < t.defend){ _local8 = 0; while (_local8 < 25) { _local7 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local7, (par.container3.getChildIndex(this) + 1)); _local8++; }; dx = 0; t.roll.gotoAndPlay(t.hurt); t.scaleX = scaleX; t.x = (x - (90 * scaleX)); t.y = y; t.roll.y = -15; roll.gotoAndPlay(attack2); }; if ((((t.roll.currentFrame >= t.defend)) && ((t.roll.currentFrame <= (t.defend + 15))))){ t.defendst = false; _local8 = 0; while (_local8 < 20) { _local7 = new FireStar(_local2, _local3, par.container3); par.container3.setChildIndex(_local7, (par.container3.getChildIndex(this) + 1)); _local8++; }; t.scaleX = scaleX; t.roll.gotoAndPlay(t.defend); t.dxfix = (-30 * t.scaleX); SoundsManager.playSound("dun"); }; }; }; if ((((((((Math.abs((t.x - x)) < 160)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((((Math.abs((t.x - x)) >= 300)) && ((Math.abs((t.y - y)) < 20)))) && ((roll.currentFrame < attack)))) && ((t.roll.currentFrame < t.hurt2)))){ _local9 = (Math.random() * 8); if (_local9 < 1){ dx = 0; dy = 0; roll.gotoAndPlay(run); }; }; if (roll.currentFrame == (run + 16)){ dx = (-30 * scaleX); }; if (((((((roll.currentFrame - run) >= 0)) && (((roll.currentFrame - run) < 36)))) && ((((roll.currentFrame - run) % 4) == 0)))){ SoundsManager.playSound("jurenjiaobu2"); }; if (((((((roll.currentFrame - run) >= 0)) && (((roll.currentFrame - run) < 36)))) && (((((roll.currentFrame - run) + 2) % 4) == 0)))){ SoundsManager.playSound("jurenjiaobu1"); }; if (roll.currentFrame == (run + 36)){ dx = 0; }; if (roll.currentFrame == (attack2 + 4)){ t.roll.gotoAndPlay(t.hurt2); t.scaleX = -(scaleX); t.x = x; t.y = y; t.roll.y = -190; t.dxfix = (-28 * t.scaleX); t.roll.dy = -18.2; t.life = (t.life - (22 - t.Sdefend)); SoundsManager.playSound("jurenshangtiao"); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 5))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= hurt2)) && ((roll.currentFrame < (hurt2 + 5))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (hurt2 + 5)){ dx = 0; }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx < 0)))){ dx = (dx + 3); }; if ((((((roll.currentFrame >= die)) && ((roll.currentFrame < (die + 7))))) && ((dx > 0)))){ dx = (dx - 3); }; if (roll.currentFrame == (die + 7)){ dx = 0; }; if (x < -140){ x = -138; dx = 0; dy = 0; }; if (x > 740){ x = 738; dx = 0; dy = 0; }; if (y < 274){ y = 274; dx = 0; dy = 0; }; if (y > 380){ y = 380; dx = 0; dy = 0; }; if ((((roll.currentFrame < die)) && ((life <= 0)))){ dx = (24 * scaleX); roll.gotoAndPlay(die); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Crystel); createObj(Apple); _local10 = (Math.random() * 100); if (_local10 < 70){ createObj(Gem2); }; if ((((_local10 >= 70)) && ((_local10 < 92)))){ createObj(Gem3); }; if (_local10 >= 92){ createObj(Gem4); }; SoundsManager.playSound("jurensiwang"); }; if (roll.currentFrame == (die + 1)){ removeChild(hitBall); removeChild(rollshadow); }; if (roll.currentFrame == 282){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 352
//RollState (RollState) package { import flash.display.*; import flash.text.*; import data.*; public class RollState extends MovieClip { public var levelnmText:TextField; public var aweaponMC:MovieClip; private var yPos; public var aweapon_MC:MovieClip; public var lifeMC_mc:MovieClip; public var cross:MovieClip; public var lifeMC:MovieClip; public var scorenmText:TextField; public var urlbtn:SimpleButton; public var urlbtn_btn:SimpleButton; public var skip_btn:SimpleButton; public var skipb:SimpleButton; public var cnmText:TextField; private var xPos; public var crossMC:MovieClip; public function RollState(_arg1:Number=0, _arg2:Number=0){ cnmText = new TextField(); scorenmText = new TextField(); levelnmText = new TextField(); super(); xPos = _arg1; yPos = _arg2; initPos(); initDis(); } private function initPos():void{ x = xPos; y = yPos; } private function initDis():void{ var _local1:TextFormat; lifeMC = (this.getChildByName("lifeMC_mc") as MovieClip); aweaponMC = (this.getChildByName("aweapon_MC") as MovieClip); cross = (this.getChildByName("crossMC") as MovieClip); if (Data.relivecrossnm == 0){ cross.visible = false; }; skipb = (this.getChildByName("skip_btn") as SimpleButton); skipb.visible = false; urlbtn = (this.getChildByName("urlbtn_btn") as SimpleButton); _local1 = new TextFormat(); _local1.font = "_sans"; _local1.color = 0xFFFFFF; _local1.size = 10; _local1.bold = false; addChild(cnmText); cnmText.selectable = false; cnmText.multiline = false; cnmText.type = TextFieldType.DYNAMIC; cnmText.width = 64; cnmText.height = 15.2; cnmText.x = 116; cnmText.y = 38; cnmText.defaultTextFormat = _local1; addChild(scorenmText); scorenmText.selectable = false; scorenmText.multiline = false; scorenmText.type = TextFieldType.DYNAMIC; scorenmText.width = 180; scorenmText.height = 15.2; scorenmText.x = 100; scorenmText.y = 25; scorenmText.defaultTextFormat = _local1; addChild(levelnmText); levelnmText.selectable = false; levelnmText.multiline = false; levelnmText.type = TextFieldType.DYNAMIC; levelnmText.width = 57; levelnmText.height = 15.2; levelnmText.x = 234.5; levelnmText.y = 13.4; levelnmText.defaultTextFormat = _local1; } } }//package
Section 353
//Shadow (Shadow) package { import flash.display.*; public class Shadow extends MovieClip { public function Shadow(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package
Section 354
//Shed (Shed) package { import flash.display.*; public class Shed extends MovieClip { public function Shed(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } } }//package
Section 355
//siwang (siwang) package { import flash.media.*; public dynamic class siwang extends Sound { } }//package
Section 356
//Soldier1 (Soldier1) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Soldier1 extends Sprite { public const hurt:uint = 75; public const attack:uint = 35; public const die:uint = 85; public const strong:Number = 2; public const walk:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 15 public var actionstate;// = 1 public var hitBall:MovieClip; private var fire; public var number; public var speed:Number;// = 20 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 private var par; public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Soldier1(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 15; man = true; speed = 20; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initSoldier1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initSoldier1():void{ hitBall = new HitMovie(0, -50, this); addChild(hitBall); hitBall.width = 110; hitBall.height = 100; rollshadow = new Shadow(4, 0); addChild(rollshadow); roll = new Soldier1Roll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if (roll.currentFrame == (hurt + 3)){ if (life <= 0){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(die); createObj(Crystel); _local2 = (Math.random() * 100); if (_local2 < 70){ createObj(SilverCoin); }; if ((((_local2 >= 70)) && ((_local2 < 92)))){ createObj(GoldCoin); }; if (_local2 >= 92){ createObj(Apple); }; }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 8)){ _local3 = ((x + roll.x) - (60 * scaleX)); _local4 = ((y + roll.y) - 44); fist = new Fist(_local3, _local4, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.7); fist.xxscale = scaleX; }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 201); if (_local5 < 3){ dx = (-5 * scaleX); dy = 0; roll.gotoAndPlay(walk); }; if ((((_local5 >= 4)) && ((_local5 < 5)))){ if (t.y < y){ dy = -3; dx = 0; }; if (t.y > y){ dy = 3; dx = 0; }; roll.gotoAndPlay(walk); }; if (_local5 > 200){ dx = 0; dy = 0; roll.gotoAndStop(1); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 100); if (_local6 < 3){ dx = (-5 * scaleX); dy = 0; }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ if (t.y < y){ dy = -3; dx = 0; }; if (t.y > y){ dy = 3; dx = 0; }; }; }; if ((((((Math.abs((t.x - x)) < 130)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 4); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 4); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (x < -100){ x = -100; stopAction(); }; if (x > 700){ x = 700; stopAction(); }; if (y < 274){ y = 274; stopAction(); }; if (y > 380){ y = 380; stopAction(); }; if (roll.currentFrame == (die + 1)){ SoundsManager.playSound("siwang"); removeChild(rollshadow); }; if (roll.currentFrame == 198){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 357
//Soldier2 (Soldier2) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Soldier2 extends Sprite { public const hurt:uint = 75; public const attack:uint = 35; public const die:uint = 85; public const strong:Number = 2; public const walk:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 20 public var actionstate;// = 1 public var hitBall:MovieClip; private var fire; public var number; public var speed:Number;// = 20 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 private var par; public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Soldier2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 20; man = true; speed = 20; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initSoldier1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initSoldier1():void{ hitBall = new HitMovie(-10, -50, this); addChild(hitBall); hitBall.width = 110; hitBall.height = 100; rollshadow = new Shadow(4, 0); addChild(rollshadow); roll = new Soldier2Roll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if (roll.currentFrame == (hurt + 3)){ if (life <= 0){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(die); createObj(Crystel); _local2 = (Math.random() * 100); if (_local2 < 70){ createObj(SilverCoin); }; if ((((_local2 >= 70)) && ((_local2 < 92)))){ createObj(GoldCoin); }; if (_local2 >= 92){ createObj(Apple); }; }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 8)){ _local3 = ((x + roll.x) - (70 * scaleX)); _local4 = ((y + roll.y) - 44); fist = new Fist(_local3, _local4, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.7); fist.xxscale = scaleX; fist.SAttack = 15; }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 201); if (_local5 < 3){ dx = (-5 * scaleX); dy = 0; roll.gotoAndPlay(walk); }; if ((((_local5 >= 4)) && ((_local5 < 5)))){ if (t.y < y){ dy = -3; dx = 0; }; if (t.y > y){ dy = 3; dx = 0; }; roll.gotoAndPlay(walk); }; if (_local5 > 200){ dx = 0; dy = 0; roll.gotoAndStop(1); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 100); if (_local6 < 3){ dx = (-5 * scaleX); dy = 0; }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ if (t.y < y){ dy = -3; dx = 0; }; if (t.y > y){ dy = 3; dx = 0; }; }; }; if ((((((Math.abs((t.x - x)) < 130)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 4); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 4); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (x < -100){ x = -100; stopAction(); }; if (x > 700){ x = 700; stopAction(); }; if (y < 274){ y = 274; stopAction(); }; if (y > 380){ y = 380; stopAction(); }; if (roll.currentFrame == (die + 1)){ SoundsManager.playSound("siwang"); removeChild(rollshadow); }; if (roll.currentFrame == 198){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 358
//Soldier3 (Soldier3) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Soldier3 extends Sprite { public const hurt:uint = 75; public const attack:uint = 35; public const die:uint = 85; public const strong:Number = 2; public const walk:uint = 2; public var dxfix:Number;// = 0 public var life:Number;// = 50 public var actionstate;// = 1 public var hitBall:MovieClip; private var fire; public var number; public var speed:Number;// = 20 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 private var par; public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Soldier3(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 50; man = true; speed = 20; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initSoldier1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initSoldier1():void{ hitBall = new HitMovie(0, -50, this); addChild(hitBall); hitBall.width = 110; hitBall.height = 100; rollshadow = new Shadow(4, 0); addChild(rollshadow); roll = new Soldier3Roll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; changeDepth(); if (actionstate == 0){ }; if (actionstate == 1){ x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if (roll.currentFrame == (hurt + 3)){ if (life <= 0){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(die); createObj(Crystel); _local2 = (Math.random() * 100); if (_local2 < 70){ createObj(SilverCoin); }; if ((((_local2 >= 70)) && ((_local2 < 92)))){ createObj(GoldCoin); }; if (_local2 >= 92){ createObj(Apple); }; }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 8)){ _local3 = ((x + roll.x) - (60 * scaleX)); _local4 = ((y + roll.y) - 44); fist = new Fist(_local3, _local4, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.7); fist.xxscale = scaleX; fist.SAttack = 15; }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 201); if (_local5 < 3){ dx = (-5 * scaleX); dy = 0; roll.gotoAndPlay(walk); }; if ((((_local5 >= 4)) && ((_local5 < 5)))){ if (t.y < y){ dy = -3; dx = 0; }; if (t.y > y){ dy = 3; dx = 0; }; roll.gotoAndPlay(walk); }; if (_local5 > 200){ dx = 0; dy = 0; roll.gotoAndStop(1); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 100); if (_local6 < 3){ dx = (-5 * scaleX); dy = 0; }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ if (t.y < y){ dy = -3; dx = 0; }; if (t.y > y){ dy = 3; dx = 0; }; }; }; if ((((((Math.abs((t.x - x)) < 130)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 4); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 4); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (x < -100){ x = -100; stopAction(); }; if (x > 700){ x = 700; stopAction(); }; if (y < 274){ y = 274; stopAction(); }; if (y > 380){ y = 380; stopAction(); }; if (roll.currentFrame == (die + 1)){ SoundsManager.playSound("siwang"); removeChild(rollshadow); }; if (roll.currentFrame == 198){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 359
//SoundsManager (SoundsManager) package { import flash.events.*; import flash.media.*; import flash.utils.*; public class SoundsManager { private static const VOLUME_SOUND:Number = 0.75; private static const SOUNDSLINK:Array = ["boss", "castle", "cemetery", "lose", "menu", "mountain", "story", "win", "wood", "menu_touch", "menu_press", "baomutong", "chinengliang", "chixue", "dun", "feidao", "feifu", "huidao1", "huidao2", "mofapingluodi", "qiehuanjineng", "dabin", "dahuo", "kaixiang", "kanzhong", "kuijiabaohu", "siwang", "xiaobin", "xiaohuoshao", "zhiliao", "chongshenzhiguang", "jurenchongzhuang", "jurenjiaobu1", "jurenjiaobu2", "jurenkan", "jurenshangtiao", "jurenshiwei", "jurensiwang", "longchibang", "longhuaguo", "longsiwang", "niaorenchuzhao", "niaorensiwang", "niaorenzhongzhao", "qishishoushang1", "qishishoushang2", "renmajiaobu", "renmaluodi", "wushichuzhao", "wushisiwang", "xiaoguichuzhao", "xiaoguisiwang", "dedaochongshen", "kulousanjia", "wuqishengji", "coinsound", "jueseshengji", "dadao", "judun", "kuaihuo", "longjiao", "wushishunchuxian", "wushishunxiaoshi", "wushixiao", "bluenightover"]; private static const VOLUME_MUSIC:Number = 0.95; private static var curMusicArr:Array; private static var curSoundVolume:Number; private static var fadeTimer:Timer; private static var soundsArr:Array = []; private static var curMusicVolume:Number; private static function timerFun(_arg1:Event):void{ fadeMusic(); } public static function stopMusic(_arg1:Boolean=false):void{ var _local2:*; if (!_arg1){ for (_local2 in curMusicArr) { if (soundsArr[curMusicArr[_local2].name].channel[0] != null){ soundsArr[curMusicArr[_local2].name].channel[0].stop(); }; }; }; } public static function modifyMusicVolume(_arg1:Number=-1):void{ var _local2:*; var _local3:SoundTransform; if (_arg1 < 0){ curMusicVolume = VOLUME_MUSIC; } else { curMusicVolume = _arg1; }; for (_local2 in curMusicArr) { if (soundsArr[curMusicArr[_local2].name].channel[0] != null){ _local3 = soundsArr[curMusicArr[_local2].name].channel[0].soundTransform; _local3.volume = curMusicVolume; soundsArr[curMusicArr[_local2].name].channel[0].soundTransform = _local3; }; }; } public static function memoryRelease():void{ var _local1:*; var _local2:Object; var _local3:*; for (_local1 in soundsArr) { _local2 = soundsArr[_local1]; if (!_local2["music"]){ for (_local3 in _local2["channel"]) { if (_local2["channel"][_local3] != null){ _local2["channel"][_local3].stop(); delete _local2["channel"][_local3]; }; }; _local2["channel"] = []; }; }; } private static function fadeMusic():void{ var _local1:int; var _local2:SoundChannel; var _local3:Number; var _local4:SoundTransform; _local1 = curMusicArr.length; if (_local1 > 0){ _local2 = soundsArr[curMusicArr[0].name].channel[0]; if (_local1 == 1){ if (_local2.soundTransform.volume < curMusicVolume){ _local3 = (100 / curMusicArr[0].delayStart); if (_local3 > 1){ _local3 = 1; }; _local4 = _local2.soundTransform; _local4.volume = (_local2.soundTransform.volume + _local3); _local2.soundTransform = _local4; } else { fadeTimer.stop(); }; } else { if (_local1 > 1){ if (_local2.soundTransform.volume > 0){ _local3 = (100 / curMusicArr[0].delayEnd); if (_local3 > 1){ _local3 = 1; }; _local4 = _local2.soundTransform; _local4.volume = (_local2.soundTransform.volume - _local3); _local2.soundTransform = _local4; } else { _local2.stop(); curMusicArr.splice(0, (_local1 - 1)); startMusic(curMusicArr[0].name, curMusicArr[0].times, curMusicArr[0].startVolume); }; }; }; }; } public static function init():void{ var _local1:int; var _local2:String; var _local3:Sound; var _local4:Object; curMusicVolume = VOLUME_MUSIC; curSoundVolume = VOLUME_SOUND; _local1 = 0; while (_local1 < SOUNDSLINK.length) { _local2 = SOUNDSLINK[_local1]; _local3 = getSound(_local2); _local4 = {name:_local2, sound:_local3, channel:[], music:false, loop:false}; soundsArr[_local2] = _local4; _local1++; }; curMusicArr = new Array(); fadeTimer = new Timer(100); fadeTimer.addEventListener("timer", timerFun, false, 0, true); fadeTimer.stop(); } public static function playMusic(_arg1:String, _arg2:int=500, _arg3:int=500, _arg4:int=2147483647):void{ var _local5:Number; var _local6:Object; if (_arg2 < 100){ _local5 = curMusicVolume; }; _local6 = {name:_arg1, times:_arg4, delayStart:_arg2, delayEnd:_arg3, startVolume:_local5}; if (curMusicArr.length == 0){ startMusic(_arg1, _arg4, _local5); }; if (!(((curMusicArr.length > 0)) && ((curMusicArr[(curMusicArr.length - 1)].name == _arg1)))){ curMusicArr.push(_local6); fadeTimer.start(); }; } public static function modifySoundsVolume(_arg1:Number=-1):void{ var _local2:*; var _local3:*; var _local4:SoundTransform; if (_arg1 < 0){ curSoundVolume = VOLUME_SOUND; } else { curSoundVolume = _arg1; }; for (_local2 in soundsArr) { if (!soundsArr[_local2].music){ for (_local3 in soundsArr[_local2].channel) { if (soundsArr[_local2].channel[_local3] != null){ _local4 = soundsArr[_local2].channel[_local3].soundTransform; _local4.volume = curSoundVolume; soundsArr[_local2].channel[_local3].soundTransform = _local4; }; }; }; }; } private static function startMusic(_arg1:String, _arg2:int=2147483647, _arg3:int=0):void{ var _local4:SoundChannel; if (_arg1 != null){ if (soundsArr[_arg1] != null){ if (soundsArr[_arg1].channel[0] != null){ soundsArr[_arg1].channel[0].stop(); }; _local4 = soundsArr[_arg1].sound.play(0, _arg2, new SoundTransform(_arg3)); soundsArr[_arg1].channel[0] = _local4; soundsArr[_arg1].music = true; } else { fadeTimer.stop(); curMusicArr = []; }; }; } private 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 stopSound(_arg1:String, _arg2:int=0):void{ var _local3:Object; if (soundsArr[_arg1] != null){ _local3 = soundsArr[_arg1]; if (!_local3["music"]){ if (_local3["channel"][_arg2] != null){ _local3["channel"][_arg2].stop(); delete _local3["channel"][_arg2]; }; }; }; } public static function pause(_arg1:Boolean):void{ if (_arg1){ modifySoundsVolume(0); modifyMusicVolume(0); } else { modifySoundsVolume(); modifyMusicVolume(); }; } public static function playSound(_arg1:String, _arg2:Boolean=true, _arg3:int=0, _arg4:Number=-1):int{ var _local5:SoundChannel; if (soundsArr[_arg1] != null){ if (_arg3 > 0){ soundsArr[_arg1].loop = true; }; if ((((_arg4 == -1)) || ((curSoundVolume == 0)))){ _arg4 = curSoundVolume; }; _local5 = soundsArr[_arg1].sound.play(0, _arg3, new SoundTransform(_arg4)); if (!_arg2){ soundsArr[_arg1].channel.push(_local5); return ((soundsArr[_arg1].channel.length - 1)); }; soundsArr[_arg1].channel[0] = _local5; return (0); //unresolved jump }; return (-1); } } }//package
Section 360
//Stage1 (Stage1) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import ui.*; public class Stage1 extends Sprite { private var timer;// = 0 private var st;// = 0 private var soundobj; private var par; private var gamestart:MovieClip; public function Stage1(_arg1){ timer = 0; st = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } private function turnmusicaction(_arg1:Event):void{ var _local2:*; _local2 = 1; if ((((Data.canmusic == true)) && ((_local2 == 1)))){ Data.canmusic = false; gamestart.turnmusicmc.gotoAndStop(2); SoundsManager.pause(true); _local2 = 0; }; if ((((Data.canmusic == false)) && ((_local2 == 1)))){ Data.canmusic = true; gamestart.turnmusicmc.gotoAndStop(1); SoundsManager.pause(false); SoundsManager.modifyMusicVolume(0.4); _local2 = 0; }; } public function del(_arg1){ gamestart.startgame.removeEventListener(MouseEvent.MOUSE_OVER, fireaction1); gamestart.moregames.removeEventListener(MouseEvent.MOUSE_OVER, fireaction2); gamestart.highscores.removeEventListener(MouseEvent.MOUSE_OVER, fireaction3); gamestart.startgame.removeEventListener(MouseEvent.MOUSE_UP, startgameaction); gamestart.moregames.removeEventListener(MouseEvent.MOUSE_UP, moregamesaction); gamestart.spilurl.removeEventListener(MouseEvent.MOUSE_UP, spilurlaction); gamestart.turnmusicbtn.removeEventListener(MouseEvent.MOUSE_UP, turnmusicaction); gamestart.picbtn.removeEventListener(MouseEvent.MOUSE_UP, picbtnation); gamestart.highscores.removeEventListener(MouseEvent.MOUSE_UP, highscoresaction); this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(gamestart); gamestart = null; par.changeStage(_arg1); GC.clear(); } private function spilurlaction(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.gameportal.net"), "_blank"); } private function highscoresaction(_arg1:Event):void{ SoundsManager.playSound("menu_press"); del(Stage90); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 18){ st = 1; }; if (gamestart.zz.currentFrame == 75){ del(Stage2); }; } private function startgameaction(_arg1:Event):void{ if (st == 1){ st = 0; gamestart.zz.gotoAndPlay(27); SoundsManager.playSound("menu_press"); }; } private function picbtnation(_arg1:Event):void{ var _local2:*; _local2 = 1; if ((((gamestart.picmc.currentFrame == 1)) && ((_local2 == 1)))){ stage.quality = "medium"; gamestart.picmc.gotoAndStop(2); _local2 = 0; }; if ((((gamestart.picmc.currentFrame == 2)) && ((_local2 == 1)))){ stage.quality = "low"; gamestart.picmc.gotoAndStop(3); _local2 = 0; }; if ((((gamestart.picmc.currentFrame == 3)) && ((_local2 == 1)))){ stage.quality = "high"; gamestart.picmc.gotoAndStop(1); _local2 = 0; }; } private function fireaction1(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 80) { _local4 = (150 + (Math.random() * 300)); _local5 = ((gamestart.startgame.y + (Math.random() * 80)) - 40); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gamestart) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function fireaction3(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 80) { _local4 = (150 + (Math.random() * 300)); _local5 = ((gamestart.highscores.y + (Math.random() * 140)) - 70); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gamestart) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function moregamesaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=button_mainscreen_moregames")), "_blank"); } private function fireaction2(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 80) { _local4 = (150 + (Math.random() * 300)); _local5 = ((gamestart.moregames.y + (Math.random() * 140)) - 70); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gamestart) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function initStage():void{ gamestart = new Gamestart(300, 0); addChild(gamestart); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); gamestart.startgame.addEventListener(MouseEvent.MOUSE_OVER, fireaction1, false, 0, true); gamestart.moregames.addEventListener(MouseEvent.MOUSE_OVER, fireaction2, false, 0, true); gamestart.highscores.addEventListener(MouseEvent.MOUSE_OVER, fireaction3, false, 0, true); gamestart.startgame.addEventListener(MouseEvent.MOUSE_UP, startgameaction, false, 0, true); gamestart.moregames.addEventListener(MouseEvent.MOUSE_UP, moregamesaction, false, 0, true); gamestart.spilurl.addEventListener(MouseEvent.MOUSE_UP, spilurlaction, false, 0, true); gamestart.turnmusicbtn.addEventListener(MouseEvent.MOUSE_UP, turnmusicaction, false, 0, true); gamestart.picbtn.addEventListener(MouseEvent.MOUSE_UP, picbtnation, false, 0, true); gamestart.highscores.addEventListener(MouseEvent.MOUSE_UP, highscoresaction, false, 0, true); SoundsManager.playMusic("menu"); if (Data.canmusic == true){ SoundsManager.modifyMusicVolume(0.4); }; Data.upkeycode = 87; Data.downkeycode = 83; Data.leftkeycode = 65; Data.rightkeycode = 68; Data.attackkeycode = 74; Data.jumpkeycode = 75; Data.defendkeycode = 76; Data.throwkeycode = 73; Data.SAttacknm = 10; Data.Sdefendnm = 2; Data.swordnm = 1; Data.sheildnm = 1; Data.secondswordnm = 1; Data.levelnm = 1; Data.cnm = 20; Data.lifenm = 150; Data.lifexxxnm = 150; Data.scorenm = 0; Data.scoresavenm = 0; Data.sSAttacknm = 10; Data.sSdefendnm = 2; Data.sswordnm = 1; Data.ssheildnm = 1; Data.ssecondswordnm = 1; Data.slevelnm = 1; Data.scnm = 20; Data.slifenm = 150; Data.slifexxxnm = 150; Data.sscorenm = 0; Data.sscoresavenm = 0; Data.gameend = 0; } } }//package
Section 361
//Stage10 (Stage10) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import enemies.*; import fires.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage10 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = false public var dialogs; public var sky:MovieClip; public var stagenm;// = 0 public var timer;// = 0 public var boss; private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage10(_arg1){ container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; timer = 0; stageEnm = 0; stagechange = false; stagechangeT = 0; stagenm = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.skipb.removeEventListener(MouseEvent.MOUSE_UP, skipaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; _local7 = (((Math.random() * 580) + 10) - sky.x); _local8 = ((Math.random() * 20) + 220); _local9 = (Math.random() * 3); if (_local9 < 1){ _local10 = (Math.random() * 11); if (_local10 < 1){ _local6 = new Fire1(_local7, _local8, sky); }; if ((((_local10 >= 1)) && ((_local10 < 2)))){ _local6 = new Fire2(_local7, _local8, sky); }; if ((((_local10 >= 2)) && ((_local10 < 3)))){ _local6 = new Fire3(_local7, _local8, sky); }; if ((((_local10 >= 3)) && ((_local10 < 4)))){ _local6 = new Fire4(_local7, _local8, sky); }; if ((((_local10 >= 4)) && ((_local10 < 5)))){ _local6 = new Fire5(_local7, _local8, sky); }; if ((((_local10 >= 5)) && ((_local10 < 6)))){ _local6 = new Fire6(_local7, _local8, sky); }; if ((((_local10 >= 6)) && ((_local10 < 7)))){ _local6 = new Fire7(_local7, _local8, sky); }; if ((((_local10 >= 7)) && ((_local10 < 8)))){ _local6 = new Fire8(_local7, _local8, sky); }; if ((((_local10 >= 8)) && ((_local10 < 9)))){ _local6 = new Fire9(_local7, _local8, sky); }; if ((((_local10 >= 9)) && ((_local10 < 10)))){ _local6 = new Fire10(_local7, _local8, sky); }; if ((((_local10 >= 10)) && ((_local10 <= 11)))){ _local6 = new Fire11(_local7, _local8, sky); }; _local6.scaleX = (_local6.scaleY = ((Math.random() * 0.5) + 0.2)); _local6.alpha = ((Math.random() * 0.4) + 0.2); }; if (stagechange == true){ if (sky.x <= -600){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; timer++; if (timer == 30){ playRoll.dx = 7; playRoll.roll.gotoAndPlay(2); }; if (timer == 80){ playRoll.dx = 0; playRoll.roll.gotoAndStop(163); }; if (timer == 110){ cwall1.shead.gotoAndPlay(2); }; if (timer == 120){ _local5 = ""; _local4 = ""; _local3 = ""; _local2 = "...Lanthas?"; _local7 = 400; _local8 = 240; dialogs = new Dialog3(_local7, _local8, 1, _local5, _local4, _local3, _local2, this); dialogs.canpass = 0; }; if (timer == 150){ dialogs.tt = 0; }; if (timer == 170){ _local5 = ""; _local4 = ""; _local3 = ""; _local2 = "Yes, it's me."; _local7 = (playRoll.x - 20); _local8 = (playRoll.y - 70); dialogs = new Dialog4(_local7, _local8, 1, _local5, _local4, _local3, _local2, this); dialogs.canpass = 0; }; if (timer == 200){ dialogs.tt = 0; }; if (timer == 220){ _local5 = ""; _local4 = "I am finished..."; _local3 = "I'm so sorry..."; _local2 = "I have not kept my promise to protect the village."; _local7 = 410; _local8 = 230; dialogs = new Dialog2(_local7, _local8, 3, _local5, _local4, _local3, _local2, this); dialogs.canpass = 0; }; if (timer == 260){ dialogs.tt = 0; }; if (timer == 310){ dialogs.tt = 0; }; if (timer == 390){ dialogs.tt = 0; }; if (timer == 420){ _local5 = ""; _local4 = ""; _local3 = "You have given your life for your people."; _local2 = "No one could ask for more."; _local7 = (playRoll.x - 20); _local8 = (playRoll.y - 70); dialogs = new Dialog(_local7, _local8, 2, _local5, _local4, _local3, _local2, this); dialogs.canpass = 0; }; if (timer == 490){ dialogs.tt = 0; }; if (timer == 530){ dialogs.tt = 0; }; if (timer == 590){ cwall1.shead.gotoAndPlay(21); _local5 = ""; _local4 = "Please, do what I could not:"; _local3 = "save the villagers.This is my last..."; _local2 = "request......"; _local7 = 410; _local8 = 230; dialogs = new Dialog2(_local7, _local8, 3, _local5, _local4, _local3, _local2, this); dialogs.canpass = 0; }; if (timer == 650){ dialogs.tt = 0; }; if (timer == 730){ dialogs.tt = 0; }; if (timer == 780){ dialogs.tt = 0; }; if (timer == 830){ _local5 = ""; _local4 = ""; _local3 = ""; _local2 = "On my honour, you have my vow."; _local7 = (playRoll.x - 20); _local8 = (playRoll.y - 70); dialogs = new Dialog(_local7, _local8, 1, _local5, _local4, _local3, _local2, this); dialogs.canpass = 0; }; if (timer == 900){ dialogs.tt = 0; }; if (timer == 940){ playRoll.roll.gotoAndStop(1); }; if (timer == 950){ playRoll.dy = 5; playRoll.roll.gotoAndPlay(2); }; if (timer == 957){ playRoll.dy = 0; playRoll.dx = 7; }; if ((((playRoll.x > 550)) && ((zz.currentFrame == 20)))){ zz.gotoAndPlay(21); playRoll.actionstate = 0; playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (zz.currentFrame == 90){ del(Stage11); }; } private function skipaction(_arg1:Event):void{ if ((((((((((((((timer >= 120)) && ((timer <= 153)))) || ((((timer >= 170)) && ((timer <= 203)))))) || ((((timer >= 220)) && ((timer <= 393)))))) || ((((timer >= 420)) && ((timer <= 493)))))) || ((((timer >= 550)) && ((timer <= 723)))))) || ((((timer >= 770)) && ((timer <= 803)))))){ dialogs.del(); }; timer = 1000; del(Stage11); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[1]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall101(0, 0); cwall1 = new Wall112(0, 0); cwall2 = new Wall113(0, 310); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll = new Fighter(-90, 310, this); playRoll.actionstate = 0; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.skipb.visible = true; states.skipb.addEventListener(MouseEvent.MOUSE_UP, skipaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); } } }//package
Section 362
//Stage100 (Stage100) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import ui.*; public class Stage100 extends Sprite { private var timer;// = 0 private var st;// = 1 private var par; private var gameover:MovieClip; public function Stage100(_arg1){ timer = 0; st = 1; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ gameover.playagain.removeEventListener(MouseEvent.MOUSE_OVER, fireaction1); gameover.moregames.removeEventListener(MouseEvent.MOUSE_OVER, fireaction2); gameover.credits.removeEventListener(MouseEvent.MOUSE_OVER, fireaction3); gameover.playagain.removeEventListener(MouseEvent.MOUSE_UP, playagainaction); gameover.moregames.removeEventListener(MouseEvent.MOUSE_UP, moregamesaction); gameover.credits.removeEventListener(MouseEvent.MOUSE_UP, creditsaction); gameover.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(gameover); gameover = null; par.changeStage(_arg1); GC.clear(); } private function creditsaction(_arg1:Event):void{ if ((((gameover.titlemc.currentFrame == 1)) && ((st == 1)))){ gameover.titlemc.gotoAndPlay(2); }; } private function thisaction(_arg1:Event):void{ if (gameover.zz.currentFrame == 75){ del(Stage4); }; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_gameover")), "_blank"); } private function fireaction1(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 60) { _local4 = (200 + (Math.random() * 200)); _local5 = ((gameover.playagain.y + (Math.random() * 60)) - 30); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gameover) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function fireaction3(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 60) { _local4 = (200 + (Math.random() * 200)); _local5 = ((gameover.credits.y + (Math.random() * 60)) - 30); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gameover) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function moregamesaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=button_gameover_moregames")), "_blank"); } private function initStage():void{ gameover = new Gameover(300, 0); addChild(gameover); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); gameover.playagain.addEventListener(MouseEvent.MOUSE_OVER, fireaction1, false, 0, true); gameover.moregames.addEventListener(MouseEvent.MOUSE_OVER, fireaction2, false, 0, true); gameover.credits.addEventListener(MouseEvent.MOUSE_OVER, fireaction3, false, 0, true); gameover.playagain.addEventListener(MouseEvent.MOUSE_UP, playagainaction, false, 0, true); gameover.moregames.addEventListener(MouseEvent.MOUSE_UP, moregamesaction, false, 0, true); gameover.credits.addEventListener(MouseEvent.MOUSE_UP, creditsaction, false, 0, true); gameover.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); SoundsManager.playMusic("lose", 500, 500, 1); if (Data.canmusic == true){ SoundsManager.modifyMusicVolume(0.4); }; } private function fireaction2(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 60) { _local4 = (200 + (Math.random() * 200)); _local5 = ((gameover.moregames.y + (Math.random() * 60)) - 30); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gameover) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function playagainaction(_arg1:Event):void{ if (st == 1){ gameover.zz.gotoAndPlay(27); st = 0; SoundsManager.playSound("menu_press"); }; } } }//package
Section 363
//Stage11 (Stage11) package { import flash.events.*; import flash.display.*; import ui.*; public class Stage11 extends Sprite { private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage11(_arg1){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); par.changeStage(_arg1); GC.clear(); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 145){ gamestart.zz.gotoAndPlay(27); }; if (gamestart.zz.currentFrame == 75){ del(Stage12); }; } private function initStage():void{ gamestart = new Predai(300, 0); addChild(gamestart); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); SoundsManager.playMusic("wood"); } } }//package
Section 364
//Stage12 (Stage12) package { import flash.events.*; import flash.display.*; import data.*; import ui.*; public class Stage12 extends Sprite { private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage12(_arg1){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); par.changeStage(_arg1); GC.clear(); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 115){ gamestart.zz.gotoAndPlay(8); }; if (gamestart.zz.currentFrame == 31){ del(Stage30); }; } private function initStage():void{ Data.SAttacknm = 10; Data.Sdefendnm = 2; Data.swordnm = 1; Data.sheildnm = 1; Data.secondswordnm = 1; Data.levelnm = 1; Data.cnm = 20; Data.lifenm = 150; Data.lifexxxnm = 150; Data.scorenm = 0; Data.scoresavenm = 0; Data.sSAttacknm = 10; Data.sSdefendnm = 2; Data.sswordnm = 1; Data.ssheildnm = 1; Data.ssecondswordnm = 1; Data.slevelnm = 1; Data.scnm = 20; Data.slifenm = 150; Data.slifexxxnm = 150; Data.sscorenm = 0; Data.sscoresavenm = 0; Data.gameend = 0; gamestart = new Map(300, 0); addChild(gamestart); gamestart.swordtip.x = -127; gamestart.swordtip.y = 303; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); if (Data.canmusic == true){ SoundsManager.modifyMusicVolume(0.4); }; } } }//package
Section 365
//Stage2 (Stage2) package { import flash.events.*; import flash.display.*; import data.*; import rolls.*; import ui.*; public class Stage2 extends Sprite { private var playerdemo; private var timer;// = 0 private var st;// = 1 private var par; private var typestate;// = 0 public var container1:Sprite; private var choosetype:MovieClip; public function Stage2(_arg1){ timer = 0; st = 1; typestate = 0; container1 = new Sprite(); super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ playerdemo.del(); removeChild(choosetype); removeChild(container1); choosetype.type1.removeEventListener(MouseEvent.MOUSE_OVER, fireaction1); choosetype.type2.removeEventListener(MouseEvent.MOUSE_OVER, fireaction2); choosetype.nextbtn.removeEventListener(MouseEvent.MOUSE_OVER, fireaction3); choosetype.type1.removeEventListener(MouseEvent.MOUSE_UP, type1action); choosetype.type2.removeEventListener(MouseEvent.MOUSE_UP, type2action); choosetype.nextbtn.removeEventListener(MouseEvent.MOUSE_UP, nextbtnaction); this.removeEventListener(Event.ENTER_FRAME, thisaction); choosetype = null; container1 = null; par.changeStage(_arg1); GC.clear(); } private function type1action(_arg1:Event):void{ if (st == 1){ typestate = 1; choosetype.curten.gotoAndPlay(2); SoundsManager.playSound("menu_press"); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; if (choosetype.curten.currentFrame == 8){ if (typestate == 1){ Data.upkeycode = 87; Data.downkeycode = 83; Data.leftkeycode = 65; Data.rightkeycode = 68; Data.attackkeycode = 74; Data.jumpkeycode = 75; Data.defendkeycode = 76; Data.throwkeycode = 73; choosetype.keyshow1.visible = true; choosetype.keyshow1.x = -80.5; choosetype.keyshow1.y = 311; choosetype.keyshow2.visible = false; playerdemo.x = 390; playerdemo.y = 280; playerdemo.scaleX = 1; playerdemo.roll.gotoAndStop(1); playerdemo.dx = (playerdemo.dy = 0); timer = 0; choosetype.nextbtn.visible = true; }; if (typestate == 2){ Data.upkeycode = 38; Data.downkeycode = 40; Data.leftkeycode = 37; Data.rightkeycode = 39; Data.attackkeycode = 67; Data.jumpkeycode = 88; Data.defendkeycode = 90; Data.throwkeycode = 32; choosetype.keyshow2.visible = true; choosetype.keyshow2.x = -93; choosetype.keyshow2.y = 323; choosetype.keyshow1.visible = false; playerdemo.x = 390; playerdemo.y = 280; playerdemo.scaleX = 1; playerdemo.roll.gotoAndStop(1); playerdemo.dx = (playerdemo.dy = 0); timer = 0; choosetype.nextbtn.visible = true; }; choosetype.curten.gotoAndPlay(9); }; _local2 = ((playerdemo.x + playerdemo.roll.x) + (30 * playerdemo.scaleX)); _local3 = ((playerdemo.y + playerdemo.roll.y) - 76); if (typestate == 1){ timer++; if (timer == 30){ choosetype.keyshow1.akey.gotoAndPlay(2); choosetype.keyshow1.ax = (choosetype.keyshow1.akey.x + 30); choosetype.keyshow1.ay = (choosetype.keyshow1.akey.y - 10); playerdemo.dx = -7; playerdemo.scaleX = -1; if (playerdemo.roll.currentFrame == 1){ playerdemo.roll.gotoAndPlay(2); }; }; if (timer == 45){ playerdemo.dx = 0; }; if (timer == 65){ choosetype.keyshow1.dkey.gotoAndPlay(2); choosetype.keyshow1.ax = (choosetype.keyshow1.dkey.x + 30); choosetype.keyshow1.ay = (choosetype.keyshow1.dkey.y - 10); playerdemo.dx = 7; playerdemo.scaleX = 1; if (playerdemo.roll.currentFrame == 1){ playerdemo.roll.gotoAndPlay(2); }; }; if (timer == 80){ playerdemo.dx = 0; }; if (timer == 100){ choosetype.keyshow1.wkey.gotoAndPlay(2); choosetype.keyshow1.ax = (choosetype.keyshow1.wkey.x + 30); choosetype.keyshow1.ay = (choosetype.keyshow1.wkey.y - 10); playerdemo.dy = -5; if (playerdemo.roll.currentFrame == 1){ playerdemo.roll.gotoAndPlay(2); }; }; if (timer == 115){ playerdemo.dy = 0; }; if (timer == 135){ choosetype.keyshow1.skey.gotoAndPlay(2); choosetype.keyshow1.ax = (choosetype.keyshow1.skey.x + 30); choosetype.keyshow1.ay = (choosetype.keyshow1.skey.y - 10); playerdemo.dy = 5; if (playerdemo.roll.currentFrame == 1){ playerdemo.roll.gotoAndPlay(2); }; }; if (timer == 150){ playerdemo.dy = 0; }; if (timer == 170){ choosetype.keyshow1.jkey.gotoAndPlay(2); choosetype.keyshow1.ax = (choosetype.keyshow1.jkey.x + 30); choosetype.keyshow1.ay = (choosetype.keyshow1.jkey.y - 10); playerdemo.roll.gotoAndPlay(playerdemo.attack); }; if (timer == 195){ choosetype.keyshow1.kkey.gotoAndPlay(2); choosetype.keyshow1.ax = (choosetype.keyshow1.kkey.x + 30); choosetype.keyshow1.ay = (choosetype.keyshow1.kkey.y - 10); playerdemo.defendst = false; playerdemo.roll.gotoAndPlay((playerdemo.jump - 2)); }; if (timer == 230){ choosetype.keyshow1.ikey.gotoAndPlay(2); choosetype.keyshow1.ax = (choosetype.keyshow1.ikey.x + 30); choosetype.keyshow1.ay = (choosetype.keyshow1.ikey.y - 10); playerdemo.defendst = false; playerdemo.roll.gotoAndPlay(playerdemo.throwact); playerdemo.secsword = new Axe(_local2, _local3, choosetype); playerdemo.secsword.scaleX = playerdemo.scaleX; playerdemo.secsword.dx = (playerdemo.scaleX * (8 + (Math.random() * 2))); playerdemo.secsword.dy = (-21 + (Math.random() * 2)); playerdemo.secsword.drot = (playerdemo.scaleX * (30 + (Math.random() * 30))); playerdemo.secsword.yfix = playerdemo.y; SoundsManager.playSound("feifu"); }; if (timer == 0xFF){ choosetype.keyshow1.lkey.gotoAndPlay(2); choosetype.keyshow1.ax = (choosetype.keyshow1.lkey.x + 30); choosetype.keyshow1.ay = (choosetype.keyshow1.lkey.y - 10); playerdemo.roll.gotoAndPlay(playerdemo.defend); SoundsManager.playSound("judun"); playerdemo.defendst = true; }; if (timer == 295){ playerdemo.defendst = false; timer = 0; }; }; if (typestate == 2){ timer++; if (timer == 30){ choosetype.keyshow2.leftkey.gotoAndPlay(2); choosetype.keyshow2.ax = (choosetype.keyshow2.leftkey.x + 30); choosetype.keyshow2.ay = (choosetype.keyshow2.leftkey.y - 10); playerdemo.dx = -7; playerdemo.scaleX = -1; if (playerdemo.roll.currentFrame == 1){ playerdemo.roll.gotoAndPlay(2); }; }; if (timer == 45){ playerdemo.dx = 0; }; if (timer == 65){ choosetype.keyshow2.rightkey.gotoAndPlay(2); choosetype.keyshow2.ax = (choosetype.keyshow2.rightkey.x + 30); choosetype.keyshow2.ay = (choosetype.keyshow2.rightkey.y - 10); playerdemo.dx = 7; playerdemo.scaleX = 1; if (playerdemo.roll.currentFrame == 1){ playerdemo.roll.gotoAndPlay(2); }; }; if (timer == 80){ playerdemo.dx = 0; }; if (timer == 100){ choosetype.keyshow2.upkey.gotoAndPlay(2); choosetype.keyshow2.ax = (choosetype.keyshow2.upkey.x + 30); choosetype.keyshow2.ay = (choosetype.keyshow2.upkey.y - 10); playerdemo.dy = -5; if (playerdemo.roll.currentFrame == 1){ playerdemo.roll.gotoAndPlay(2); }; }; if (timer == 115){ playerdemo.dy = 0; }; if (timer == 135){ choosetype.keyshow2.downkey.gotoAndPlay(2); choosetype.keyshow2.ax = (choosetype.keyshow2.downkey.x + 30); choosetype.keyshow2.ay = (choosetype.keyshow2.downkey.y - 10); playerdemo.dy = 5; if (playerdemo.roll.currentFrame == 1){ playerdemo.roll.gotoAndPlay(2); }; }; if (timer == 150){ playerdemo.dy = 0; }; if (timer == 170){ choosetype.keyshow2.ckey.gotoAndPlay(2); choosetype.keyshow2.ax = (choosetype.keyshow2.ckey.x + 30); choosetype.keyshow2.ay = (choosetype.keyshow2.ckey.y - 10); playerdemo.roll.gotoAndPlay(playerdemo.attack); }; if (timer == 195){ choosetype.keyshow2.xkey.gotoAndPlay(2); choosetype.keyshow2.ax = (choosetype.keyshow2.xkey.x + 30); choosetype.keyshow2.ay = (choosetype.keyshow2.xkey.y - 10); playerdemo.defendst = false; playerdemo.roll.gotoAndPlay((playerdemo.jump - 2)); }; if (timer == 230){ choosetype.keyshow2.spacekey.gotoAndPlay(2); choosetype.keyshow2.ax = (choosetype.keyshow2.spacekey.x + 30); choosetype.keyshow2.ay = (choosetype.keyshow2.spacekey.y - 10); playerdemo.defendst = false; playerdemo.roll.gotoAndPlay(playerdemo.throwact); playerdemo.secsword = new Axe(_local2, _local3, choosetype); playerdemo.secsword.scaleX = playerdemo.scaleX; playerdemo.secsword.dx = (playerdemo.scaleX * (8 + (Math.random() * 2))); playerdemo.secsword.dy = (-21 + (Math.random() * 2)); playerdemo.secsword.drot = (playerdemo.scaleX * (30 + (Math.random() * 30))); playerdemo.secsword.yfix = playerdemo.y; SoundsManager.playSound("feifu"); }; if (timer == 0xFF){ choosetype.keyshow2.zkey.gotoAndPlay(2); choosetype.keyshow2.ax = (choosetype.keyshow2.zkey.x + 30); choosetype.keyshow2.ay = (choosetype.keyshow2.zkey.y - 10); playerdemo.roll.gotoAndPlay(playerdemo.defend); SoundsManager.playSound("judun"); playerdemo.defendst = true; }; if (timer == 295){ playerdemo.defendst = false; timer = 0; }; }; if (choosetype.zz.currentFrame == 31){ del(Stage4); }; } private function type2action(_arg1:Event):void{ if (st == 1){ typestate = 2; choosetype.curten.gotoAndPlay(2); SoundsManager.playSound("menu_press"); }; } private function fireaction1(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 60) { _local4 = (30 + (Math.random() * 200)); _local5 = ((choosetype.type1.y + (Math.random() * 60)) - 30); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(choosetype) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function fireaction3(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 60) { _local4 = (30 + (Math.random() * 200)); _local5 = ((choosetype.nextbtn.y + (Math.random() * 60)) - 30); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(choosetype) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function fireaction2(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 60) { _local4 = (30 + (Math.random() * 200)); _local5 = ((choosetype.type2.y + (Math.random() * 60)) - 30); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(choosetype) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function initStage():void{ choosetype = new ChooseType(300, 0); addChild(choosetype); addChild(container1); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); choosetype.type1.addEventListener(MouseEvent.MOUSE_OVER, fireaction1, false, 0, true); choosetype.type2.addEventListener(MouseEvent.MOUSE_OVER, fireaction2, false, 0, true); choosetype.nextbtn.addEventListener(MouseEvent.MOUSE_OVER, fireaction3, false, 0, true); choosetype.type1.addEventListener(MouseEvent.MOUSE_UP, type1action, false, 0, true); choosetype.type2.addEventListener(MouseEvent.MOUSE_UP, type2action, false, 0, true); choosetype.nextbtn.addEventListener(MouseEvent.MOUSE_UP, nextbtnaction, false, 0, true); playerdemo = new Fighter2(390, 280, choosetype); choosetype.playRoll = playerdemo; choosetype.curten.gotoAndPlay(9); SoundsManager.playMusic("wood"); } private function nextbtnaction(_arg1:Event):void{ if (st == 1){ choosetype.zz.gotoAndPlay(8); st = 0; SoundsManager.playSound("menu_press"); }; } } }//package
Section 366
//Stage30 (Stage30) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import enemies.*; import fires.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage30 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = true public var be;// = 0 public var stagenm;// = 0 private var timer;// = 0 private var eid:Number;// = 0 public var sky:MovieClip; public var boss; public var bossExist;// = 0 private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage30(_arg1){ timer = 0; eid = 0; be = 0; container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; stageEnm = 0; stagechange = true; stagechangeT = 0; stagenm = 0; bossExist = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = ("enemy" + eid); eid++; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; _local3 = (((Math.random() * 580) + 10) - sky.x); _local4 = ((Math.random() * 20) + 220); _local5 = (Math.random() * 3); if (_local5 < 1){ _local11 = (Math.random() * 11); if (_local11 < 1){ _local2 = new Fire1(_local3, _local4, sky); }; if ((((_local11 >= 1)) && ((_local11 < 2)))){ _local2 = new Fire2(_local3, _local4, sky); }; if ((((_local11 >= 2)) && ((_local11 < 3)))){ _local2 = new Fire3(_local3, _local4, sky); }; if ((((_local11 >= 3)) && ((_local11 < 4)))){ _local2 = new Fire4(_local3, _local4, sky); }; if ((((_local11 >= 4)) && ((_local11 < 5)))){ _local2 = new Fire5(_local3, _local4, sky); }; if ((((_local11 >= 5)) && ((_local11 < 6)))){ _local2 = new Fire6(_local3, _local4, sky); }; if ((((_local11 >= 6)) && ((_local11 < 7)))){ _local2 = new Fire7(_local3, _local4, sky); }; if ((((_local11 >= 7)) && ((_local11 < 8)))){ _local2 = new Fire8(_local3, _local4, sky); }; if ((((_local11 >= 8)) && ((_local11 < 9)))){ _local2 = new Fire9(_local3, _local4, sky); }; if ((((_local11 >= 9)) && ((_local11 < 10)))){ _local2 = new Fire10(_local3, _local4, sky); }; if ((((_local11 >= 10)) && ((_local11 <= 11)))){ _local2 = new Fire11(_local3, _local4, sky); }; _local2.scaleX = (_local2.scaleY = ((Math.random() * 0.5) + 0.2)); _local2.alpha = ((Math.random() * 0.4) + 0.2); }; if (stagechange == true){ if (sky.x <= -600){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; _local4 = ((Math.random() * 100) + 270); _local10 = (Math.random() * 100); if (stagenm == 8){ if (zz.currentFrame == 20){ if (playRoll.x > 550){ zz.gotoAndPlay(21); playRoll.actionstate = 0; playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; }; if (zz.currentFrame == 90){ del(Stage31); }; }; if (stagenm == 7){ if ((((stageEnm == 1)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stageEnm = 0; stagenm++; }; if ((((((currentEnm < 1)) && ((stagechange == false)))) && ((bossExist == 0)))){ bossstates = new Boss1State(400, 50); container5.addChild(bossstates); boss = new Rock1(700, 340, this); boss.isboss = true; bossExist = 1; be = 1; SoundsManager.playMusic("boss"); currentEnm++; stageEnm++; }; }; if (stagenm == 6){ if ((((stageEnm == 15)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(630, 300, Chest, Sword2obj); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 15)))) && ((stagechange == false)))){ _local10 = (Math.random() * 100); if (_local10 < 30){ createEnemy(700, _local4, Soldier1); }; if ((((_local10 >= 30)) && ((_local10 < 50)))){ createEnemy(700, _local4, Soldier2); }; if (_local10 >= 50){ createEnemy(700, _local4, Thief1); }; }; }; if (stagenm == 5){ timer++; if (currentEnm == 1){ if (timer == 402){ boss.actionstate = 0; boss.roll.gotoAndPlay(2); boss.scaleX = -1; boss.dx = 20; boss.dy = 0; boss.roll.dy = -6; container5.removeChild(bossstates); }; if ((((timer > 402)) && ((timer < 430)))){ boss.dx = 10; boss.dy = 0; boss.roll.dy = -3; if (boss.roll.y < -200){ boss.roll.y = (boss.roll.y + 6); }; if (boss.roll.currentFrame > 18){ boss.roll.gotoAndPlay(2); }; if (playRoll.roll.currentFrame < 15){ playRoll.actionstate = 0; playRoll.roll.gotoAndStop(1); playRoll.dx = 0; playRoll.dy = 0; }; }; if (timer == 430){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); be = 0; playRoll.actionstate = 1; playRoll.roll.gotoAndStop(1); stagechange = true; currentEnm = 0; stageEnm = 0; container3.removeChild(boss); createBar(660, 300, Bar, SilverCoin, SilverCoin, Berry, Crystel); createBar(640, 330, Bar, SilverCoin, Cherry, Tomato, Crystel); SoundsManager.playMusic("castle"); stagenm = 6; }; }; if (currentEnm == 0){ if (timer == 400){ currentEnm = 1; }; }; }; if (stagenm == 4){ if ((((currentEnm == 0)) && ((stagechange == false)))){ bossstates = new Boss6State(400, 50); container5.addChild(bossstates); boss = new Dragonknight(700, 340, this); boss.actionstate = 1; boss.isboss = true; boss.fireattacknm = 10; boss.crawAttack = 14; be = 1; SoundsManager.playMusic("boss"); currentEnm = 0; timer = 0; stageEnm = 0; stagenm = 5; }; }; if (stagenm == 3){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 4)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local10 = (Math.random() * 100); if (_local10 < 30){ createEnemy(700, _local4, Soldier1); }; if ((((_local10 >= 30)) && ((_local10 < 50)))){ createEnemy(700, _local4, Soldier2); }; if (_local10 >= 50){ createEnemy(700, _local4, Thief1); }; }; }; if (stagenm == 1){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(680, 300, Chest, Sheild2obj); stagenm = 3; }; if ((((((currentEnm < 4)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local10 = (Math.random() * 100); if (_local10 < 30){ createEnemy(700, _local4, Soldier1); }; if ((((_local10 >= 30)) && ((_local10 < 60)))){ createEnemy(700, _local4, Soldier2); }; if (_local10 >= 60){ createEnemy(700, _local4, Thief1); }; }; }; if (stagenm == 0){ if ((((stageEnm == 10)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(650, 320, Chest, Aobj3); stagenm = 1; }; if ((((((currentEnm < 4)) && ((stageEnm < 10)))) && ((stagechange == false)))){ _local10 = (Math.random() * 100); if (_local10 < 60){ createEnemy(700, _local4, Soldier1); }; if (_local10 >= 60){ createEnemy(700, _local4, Soldier2); }; }; }; } public function del2(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage2(12); GC.clear(); } public function del3(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(Stage89); GC.clear(); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[1]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ if (Data.continueGame == true){ Data.relivecrossnm = (Data.relivecrossnm - 1); Data.SAttacknm = Data.sSAttacknm; Data.Sdefendnm = Data.sSdefendnm; Data.swordnm = Data.sswordnm; Data.sheildnm = Data.ssheildnm; Data.secondswordnm = Data.ssecondswordnm; Data.levelnm = Data.slevelnm; Data.cnm = Data.scnm; Data.lifenm = Data.slifexxxnm; Data.lifexxxnm = Data.slifexxxnm; Data.scorenm = Data.sscorenm; Data.scoresavenm = Data.sscoresavenm; Data.continueGame = false; }; Data.sSAttacknm = Data.SAttacknm; Data.sSdefendnm = Data.Sdefendnm; Data.sswordnm = Data.swordnm; Data.ssheildnm = Data.sheildnm; Data.ssecondswordnm = Data.secondswordnm; Data.slevelnm = Data.levelnm; Data.scnm = Data.cnm; Data.slifenm = Data.lifenm; Data.slifexxxnm = Data.lifexxxnm; Data.sscorenm = Data.scorenm; Data.sscoresavenm = Data.scoresavenm; addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall11(0, 0); cwall1 = new Wall12(0, 0); cwall2 = new Wall13(0, 310); playRoll = new Fighter(80, 350, this); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); SoundsManager.playMusic("castle"); } } }//package
Section 367
//Stage31 (Stage31) package { import flash.events.*; import flash.display.*; import data.*; import ui.*; public class Stage31 extends Sprite { private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage31(_arg1){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); par.changeStage(_arg1); GC.clear(); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 115){ gamestart.zz.gotoAndPlay(8); }; if (gamestart.zz.currentFrame == 31){ del(Stage35); }; } private function initStage():void{ gamestart = new Map(300, 0); addChild(gamestart); gamestart.swordtip.x = -80; gamestart.swordtip.y = 151; gamestart.road.gotoAndStop(2); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); SoundsManager.playMusic("wood"); if (Data.canmusic == true){ SoundsManager.modifyMusicVolume(0.4); }; } } }//package
Section 368
//Stage35 (Stage35) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import enemies.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage35 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = true public var dialogs; public var sky0:MovieClip; public var be;// = 0 public var stagenm;// = 0 private var timer;// = 0 private var eid:Number;// = 0 public var sky:MovieClip; public var boss; public var bossExist;// = 0 private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage35(_arg1){ timer = 0; eid = 0; be = 0; container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; stageEnm = 0; stagechange = true; stagechangeT = 0; stagenm = 0; bossExist = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky0); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky0 = null; sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = ("enemy" + eid); eid++; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; if (stagechange == true){ if (sky.x <= -1200){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; _local3 = ((Math.random() * 100) + 270); _local8 = (Math.random() * 100); if (stagenm == 8){ if (zz.currentFrame == 20){ if (playRoll.x > 550){ zz.gotoAndPlay(21); playRoll.actionstate = 0; playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; }; if (zz.currentFrame == 90){ del(Stage36); }; }; if (stagenm == 7){ if ((((stageEnm == 1)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stageEnm = 0; stagenm++; }; if ((((((currentEnm < 1)) && ((stagechange == false)))) && ((bossExist == 0)))){ bossstates = new Boss2State(400, 50); container5.addChild(bossstates); boss = new Rock3(700, 340, this); boss.isboss = true; bossExist = 1; be = 1; SoundsManager.playMusic("boss"); currentEnm++; stageEnm++; }; }; if (stagenm == 6){ if ((((stageEnm == 14)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(1000, 280, Chest, Sword3obj); createBar(880, 320, Bar, GoldCoin, SilverCoin, Cherry, GoldCoin); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 14)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 15){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 15)) && ((_local8 < 35)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 35)) && ((_local8 < 50)))){ createEnemy(700, _local3, Soldier2); }; if ((((_local8 >= 50)) && ((_local8 < 70)))){ createEnemy(700, _local3, Thief1); }; if (_local8 >= 70){ createEnemy(700, _local3, Thief2); }; }; }; if (stagenm == 5){ if ((((stageEnm == 8)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(700, 320, Chest, Aobj4); createChest(630, 280, Chest, Aobj2); createBar(880, 320, Bar, GoldCoin, SilverCoin, Tomato, GoldCoin); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 8)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 15){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 15)) && ((_local8 < 35)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 35)) && ((_local8 < 50)))){ createEnemy(700, _local3, Soldier2); }; if ((((_local8 >= 50)) && ((_local8 < 70)))){ createEnemy(700, _local3, Thief1); }; if (_local8 >= 70){ createEnemy(700, _local3, Thief2); }; }; }; if (stagenm == 4){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(630, 350, Chest, Aobj1); createBar(880, 320, Bar, Gem2, SilverCoin, Gem2, GoldCoin); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 20)) && ((_local8 < 45)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 45)) && ((_local8 < 70)))){ createEnemy(700, _local3, Soldier2); }; if ((((_local8 >= 70)) && ((_local8 < 85)))){ createEnemy(700, _local3, Thief1); }; if (_local8 >= 85){ createEnemy(700, _local3, Thief2); }; }; }; if (stagenm == 3){ if ((((stageEnm == 14)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(630, 350, Chest, Aobj1); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 14)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 20)) && ((_local8 < 45)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 45)) && ((_local8 < 70)))){ createEnemy(700, _local3, Soldier2); }; if ((((_local8 >= 70)) && ((_local8 < 85)))){ createEnemy(700, _local3, Thief1); }; if (_local8 >= 85){ createEnemy(700, _local3, Thief2); }; }; }; if (stagenm == 2){ playRoll.actionstate = 1; if ((((stageEnm == 10)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); createBar(880, 360, Bar, Gem1, SilverCoin, Gem3, Crystel); createBar(660, 300, Bar, SilverCoin, SilverCoin, Bread, Crystel); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 10)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 30){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 30)) && ((_local8 < 60)))){ createEnemy(700, _local3, Soldier2); }; if ((((_local8 >= 60)) && ((_local8 < 85)))){ createEnemy(700, _local3, Thief1); }; if (_local8 >= 85){ createEnemy(700, _local3, Thief2); }; }; }; if (stagenm == 1){ }; if (stagenm == 0){ timer++; if (timer == 10){ playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (timer == 40){ playRoll.dx = 0; playRoll.roll.gotoAndStop(1); _local7 = ""; _local6 = ""; _local5 = "I have tracked them this far; they must have passed this way."; _local4 = "I must make haste!"; _local2 = (playRoll.x + 20); _local3 = (playRoll.y - 100); dialogs = new Dialog2(_local2, _local3, 2, _local7, _local6, _local5, _local4, this); createChest(700, 290, Chest, Aobj4); createChest(630, 350, Chest, Aobj3); stagenm = 1; }; }; } public function del2(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky0); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky0 = null; sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage2(31); GC.clear(); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } public function del3(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky0); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky0 = null; sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(Stage89); GC.clear(); } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[2]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ if (Data.continueGame == true){ Data.relivecrossnm = (Data.relivecrossnm - 1); Data.SAttacknm = Data.sSAttacknm; Data.Sdefendnm = Data.sSdefendnm; Data.swordnm = Data.sswordnm; Data.sheildnm = Data.ssheildnm; Data.secondswordnm = Data.ssecondswordnm; Data.levelnm = Data.slevelnm; Data.cnm = Data.scnm; Data.lifenm = Data.slifexxxnm; Data.lifexxxnm = Data.slifexxxnm; Data.scorenm = Data.sscorenm; Data.scoresavenm = Data.sscoresavenm; Data.continueGame = false; }; Data.sSAttacknm = Data.SAttacknm; Data.sSdefendnm = Data.Sdefendnm; Data.sswordnm = Data.swordnm; Data.ssheildnm = Data.sheildnm; Data.ssecondswordnm = Data.secondswordnm; Data.slevelnm = Data.levelnm; Data.scnm = Data.cnm; Data.slifenm = Data.lifenm; Data.slifexxxnm = Data.lifexxxnm; Data.sscorenm = Data.scorenm; Data.sscoresavenm = Data.scoresavenm; addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky0 = new Wall20(0, 0); sky = new Wall21(0, 0); cwall1 = new Wall22(0, 0); cwall2 = new Wall23(0, 0); playRoll = new Fighter(-80, 350, this); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll.actionstate = 0; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); SoundsManager.playMusic("mountain"); } } }//package
Section 369
//Stage36 (Stage36) package { import flash.events.*; import flash.display.*; import data.*; import ui.*; public class Stage36 extends Sprite { private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage36(_arg1){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); par.changeStage(_arg1); GC.clear(); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 115){ gamestart.zz.gotoAndPlay(8); }; if (gamestart.zz.currentFrame == 31){ if (Game.world3start == false){ Game.world3start = true; Game._tracker.trackEvent("Blue Knight", "start world 3", "per session", 0); }; del(Stage40); }; } private function initStage():void{ gamestart = new Map(300, 0); addChild(gamestart); gamestart.swordtip.x = 118; gamestart.swordtip.y = 42; gamestart.road.gotoAndStop(3); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); SoundsManager.playMusic("wood"); if (Data.canmusic == true){ SoundsManager.modifyMusicVolume(0.4); }; } } }//package
Section 370
//Stage4 (Stage4) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import enemies.*; import fires.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage4 extends Sprite { public var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = false private var dialogs; public var sky:MovieClip; public var stagenm;// = 0 public var timer;// = 0 public var boss; private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage4(_arg1){ container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; timer = 0; stageEnm = 0; stagechange = false; stagechangeT = 0; stagenm = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; timer = 1000; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.skipb.removeEventListener(MouseEvent.MOUSE_UP, skipaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; _local7 = (((Math.random() * 580) + 10) - sky.x); _local8 = ((Math.random() * 20) + 220); _local9 = (Math.random() * 3); if (_local9 < 1){ _local10 = (Math.random() * 11); if (_local10 < 1){ _local6 = new Fire1(_local7, _local8, sky); }; if ((((_local10 >= 1)) && ((_local10 < 2)))){ _local6 = new Fire2(_local7, _local8, sky); }; if ((((_local10 >= 2)) && ((_local10 < 3)))){ _local6 = new Fire3(_local7, _local8, sky); }; if ((((_local10 >= 3)) && ((_local10 < 4)))){ _local6 = new Fire4(_local7, _local8, sky); }; if ((((_local10 >= 4)) && ((_local10 < 5)))){ _local6 = new Fire5(_local7, _local8, sky); }; if ((((_local10 >= 5)) && ((_local10 < 6)))){ _local6 = new Fire6(_local7, _local8, sky); }; if ((((_local10 >= 6)) && ((_local10 < 7)))){ _local6 = new Fire7(_local7, _local8, sky); }; if ((((_local10 >= 7)) && ((_local10 < 8)))){ _local6 = new Fire8(_local7, _local8, sky); }; if ((((_local10 >= 8)) && ((_local10 < 9)))){ _local6 = new Fire9(_local7, _local8, sky); }; if ((((_local10 >= 9)) && ((_local10 < 10)))){ _local6 = new Fire10(_local7, _local8, sky); }; if ((((_local10 >= 10)) && ((_local10 <= 11)))){ _local6 = new Fire11(_local7, _local8, sky); }; _local6.scaleX = (_local6.scaleY = ((Math.random() * 0.5) + 0.2)); _local6.alpha = ((Math.random() * 0.4) + 0.2); }; if (stagechange == true){ if (sky.x <= -600){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; timer++; if (timer == 30){ playRoll.dx = 7; playRoll.roll.gotoAndPlay(2); }; if (timer == 70){ playRoll.dx = 0; playRoll.roll.gotoAndStop(1); }; if (timer == 90){ _local5 = ""; _local4 = ""; _local3 = ""; _local2 = "I am too late…"; _local7 = (playRoll.x + 20); _local8 = (playRoll.y - 100); dialogs = new Dialog3(_local7, _local8, 1, _local5, _local4, _local3, _local2, this); dialogs.canpass = 0; }; if (timer == 140){ dialogs.tt = 0; }; if (timer == 150){ playRoll.roll.gotoAndStop(260); boss.roll.gotoAndPlay(2); boss.dx = 20; }; if (timer == 170){ boss.dx = 0; boss.roll.gotoAndPlay(boss.attack2); }; if (timer == 220){ boss.dx = 22; boss.dy = -5; }; if (timer == 250){ go = new Go(500, 50); container5.addChild(go); playRoll.actionstate = 1; playRoll.roll.gotoAndStop(1); }; if ((((playRoll.x > 550)) && ((zz.currentFrame == 20)))){ zz.gotoAndPlay(21); playRoll.actionstate = 0; playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (zz.currentFrame == 90){ del(Stage6); }; } private function skipaction(_arg1:Event):void{ if ((((timer >= 90)) && ((timer <= 143)))){ dialogs.del(); }; del(Stage12); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[1]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ Data.SAttacknm = 10; Data.Sdefendnm = 2; Data.swordnm = 1; Data.sheildnm = 1; Data.secondswordnm = 1; Data.levelnm = 1; Data.cnm = 20; Data.lifenm = 150; Data.lifexxxnm = 150; Data.scorenm = 0; Data.scoresavenm = 0; Data.sSAttacknm = 10; Data.sSdefendnm = 2; Data.sswordnm = 1; Data.ssheildnm = 1; Data.ssecondswordnm = 1; Data.slevelnm = 1; Data.scnm = 20; Data.slifenm = 150; Data.slifexxxnm = 150; Data.sscorenm = 0; Data.sscoresavenm = 0; Data.gameend = 0; addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall101(0, 0); cwall1 = new Wall102(0, 0); cwall2 = new Wall103(0, 310); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll = new Fighter(-90, 350, this); boss = new Dragonknight2(-200, 280, this); playRoll.actionstate = 0; boss.actionstate = 0; boss.scaleX = -0.8; boss.scaleY = 0.8; boss.roll.y = -130; createBar(400, 300, Bar, SilverCoin, SilverCoin, Crystel, GoldCoin); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.skipb.visible = true; states.skipb.addEventListener(MouseEvent.MOUSE_UP, skipaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); SoundsManager.playMusic("story"); } } }//package
Section 371
//Stage40 (Stage40) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import enemies.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage40 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = true public var dialogs; public var be;// = 0 public var stagenm;// = 0 private var timer;// = 0 private var eid:Number;// = 0 public var sky:MovieClip; public var boss; public var bossExist;// = 0 private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage40(_arg1){ timer = 0; eid = 0; be = 0; container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; stageEnm = 0; stagechange = true; stagechangeT = 0; stagenm = 0; bossExist = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = ("enemy" + eid); eid++; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; if (stagechange == true){ if (sky.x <= -1200){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; _local3 = ((Math.random() * 100) + 270); _local8 = (Math.random() * 100); if (stagenm == 15){ if (zz.currentFrame == 20){ if (playRoll.x > 550){ zz.gotoAndPlay(21); playRoll.actionstate = 0; playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; }; if (zz.currentFrame == 90){ del(Stage41); }; }; if (stagenm == 14){ if (currentEnm == 1){ playRoll.actionstate = 1; boss.actionstate = 1; }; if (currentEnm == 0){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); boss = null; stageEnm = 0; stagenm++; }; }; if (stagenm == 13){ }; if (stagenm == 12){ if (playRoll.x > 150){ playRoll.actionstate = 0; playRoll.dy = 0; playRoll.dx = -7; playRoll.scaleX = -1; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (playRoll.x <= 150){ playRoll.dx = 0; playRoll.scaleX = 1; playRoll.actionstate = 0; playRoll.roll.gotoAndStop(1); if (boss.x > 450){ boss.x = (boss.x - 4); if (boss.roll.currentFrame == 1){ boss.roll.gotoAndPlay(2); }; }; if (boss.x <= 450){ _local7 = ""; _local6 = ""; _local5 = ""; _local4 = "HaHaHa..."; _local2 = (boss.x - 20); _local3 = (boss.y - 120); dialogs = new Dialog4(_local2, _local3, 1, _local7, _local6, _local5, _local4, this); boss.roll.gotoAndStop(1); SoundsManager.playSound("wushixiao"); stagenm++; }; }; }; if (stagenm == 11){ if ((((((currentEnm < 1)) && ((stagechange == false)))) && ((bossExist == 0)))){ bossstates = new Boss3State(400, 50); container5.addChild(bossstates); boss = new Mage(700, 340, this); boss.actionstate = 0; boss.isboss = true; bossExist = 1; be = 1; SoundsManager.playMusic("boss"); currentEnm++; stageEnm++; stagenm++; }; }; if (stagenm == 10){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 20)) && ((_local8 < 30)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 40)) && ((_local8 < 50)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Soldier2); }; }; }; if (stagenm == 9){ if ((((stageEnm == 8)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(650, 280, Chest, Aobj7); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 8)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 20)) && ((_local8 < 30)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 40)) && ((_local8 < 50)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Soldier2); }; }; }; if (stagenm == 8){ if ((((stageEnm == 14)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 14)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 20)) && ((_local8 < 30)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 40)) && ((_local8 < 50)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Soldier2); }; }; }; if (stagenm == 7){ if ((((stageEnm == 1)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(650, 280, Chest, Lifewater); createChest(660, 340, Chest, Sheild3obj); stagenm++; }; if ((((((currentEnm < 1)) && ((stageEnm < 1)))) && ((stagechange == false)))){ createEnemy(700, _local3, Rock2); }; }; if (stagenm == 6){ if ((((stageEnm == 14)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 14)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 20)) && ((_local8 < 30)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 40)) && ((_local8 < 50)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Soldier2); }; }; }; if (stagenm == 5){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(650, 280, Chest, Aobj2); createBar(630, 320, Bar, GoldCoin, SilverCoin, Gem1, GoldCoin); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 20)) && ((_local8 < 50)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Thief1); }; }; }; if (stagenm == 4){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); playRoll.actionstate = 1; stagenm = 5; }; if (stagenm == 3){ }; if (stagenm == 2){ if (playRoll.x > 150){ playRoll.actionstate = 0; playRoll.dx = -7; playRoll.dy = 0; playRoll.scaleX = -1; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (playRoll.x <= 150){ playRoll.dx = 0; playRoll.scaleX = 1; playRoll.actionstate = 0; playRoll.roll.gotoAndStop(1); _local7 = ""; _local6 = ""; _local5 = "The air here prickles with danger..."; _local4 = "I must be careful!"; _local2 = (playRoll.x + 20); _local3 = (playRoll.y - 100); dialogs = new Dialog2(_local2, _local3, 2, _local7, _local6, _local5, _local4, this); stagenm = 3; }; }; if (stagenm == 1){ if ((((stageEnm == 8)) && ((currentEnm == 0)))){ createBar(880, 360, Bar, Crystel, Crystel, Crystel, Crystel); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 8)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 10){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 10)) && ((_local8 < 30)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier2); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Thief1); }; }; }; if (stagenm == 0){ timer++; if (timer == 10){ playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (timer == 40){ playRoll.dx = 0; playRoll.roll.gotoAndStop(1); playRoll.actionstate = 1; createChest(900, 280, Chest, Aobj3); stagenm = 1; }; }; } public function del2(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage2(36); GC.clear(); } public function del3(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(Stage89); GC.clear(); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[3]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ if (Data.continueGame == true){ Data.relivecrossnm = (Data.relivecrossnm - 1); Data.SAttacknm = Data.sSAttacknm; Data.Sdefendnm = Data.sSdefendnm; Data.swordnm = Data.sswordnm; Data.sheildnm = Data.ssheildnm; Data.secondswordnm = Data.ssecondswordnm; Data.levelnm = Data.slevelnm; Data.cnm = Data.scnm; Data.lifenm = Data.slifexxxnm; Data.lifexxxnm = Data.slifexxxnm; Data.scorenm = Data.sscorenm; Data.scoresavenm = Data.sscoresavenm; Data.continueGame = false; }; Data.sSAttacknm = Data.SAttacknm; Data.sSdefendnm = Data.Sdefendnm; Data.sswordnm = Data.swordnm; Data.ssheildnm = Data.sheildnm; Data.ssecondswordnm = Data.secondswordnm; Data.slevelnm = Data.levelnm; Data.scnm = Data.cnm; Data.slifenm = Data.lifenm; Data.slifexxxnm = Data.lifexxxnm; Data.sscorenm = Data.scorenm; Data.sscoresavenm = Data.scoresavenm; addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall31(0, 0); cwall1 = new Wall32(0, 0); cwall2 = new Wall33(0, 310); playRoll = new Fighter(-80, 350, this); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll.actionstate = 0; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); } } }//package
Section 372
//Stage41 (Stage41) package { import flash.events.*; import flash.display.*; import data.*; import ui.*; public class Stage41 extends Sprite { private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage41(_arg1){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); par.changeStage(_arg1); GC.clear(); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 115){ gamestart.zz.gotoAndPlay(8); }; if (gamestart.zz.currentFrame == 31){ del(Stage45); }; } private function initStage():void{ gamestart = new Map(300, 0); addChild(gamestart); gamestart.swordtip.x = 250; gamestart.swordtip.y = 107; gamestart.road.gotoAndStop(4); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); SoundsManager.playMusic("wood"); if (Data.canmusic == true){ SoundsManager.modifyMusicVolume(0.4); }; } } }//package
Section 373
//Stage45 (Stage45) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import enemies.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage45 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = true public var dialogs; public var be;// = 0 public var stagenm;// = 0 private var timer;// = 0 private var eid:Number;// = 0 public var sky:MovieClip; public var boss; public var bossExist;// = 0 private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage45(_arg1){ timer = 0; eid = 0; be = 0; container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; stageEnm = 0; stagechange = true; stagechangeT = 0; stagenm = 0; bossExist = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = ("enemy" + eid); eid++; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; if (stagechange == true){ if (sky.x <= -600){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; _local3 = ((Math.random() * 100) + 270); _local8 = (Math.random() * 100); if (stagenm == 11){ if (zz.currentFrame == 20){ if (playRoll.x > 550){ zz.gotoAndPlay(21); playRoll.actionstate = 0; playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; }; if (zz.currentFrame == 90){ del(Stage46); }; }; if (stagenm == 10){ if ((((stageEnm == 1)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stageEnm = 0; stagenm++; }; if ((((((currentEnm < 1)) && ((stagechange == false)))) && ((bossExist == 0)))){ bossstates = new Boss4State(400, 50); container5.addChild(bossstates); boss = new Horseman(700, 340, this); boss.isboss = true; bossExist = 1; be = 1; SoundsManager.playMusic("boss"); currentEnm++; stageEnm++; }; }; if (stagenm == 9){ if ((((stageEnm == 8)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(1000, 280, Chest, Aobj7); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 8)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 20)) && ((_local8 < 30)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 40)) && ((_local8 < 50)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Soldier2); }; }; }; if (stagenm == 8){ if ((((stageEnm == 14)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(700, 340, Chest, Lifewater); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 14)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 20)) && ((_local8 < 30)))){ createEnemy(700, _local3, Deathhead1); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 40)) && ((_local8 < 50)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Soldier2); }; }; }; if (stagenm == 7){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ createBar(640, 280, Bar, Crystel, Gem1, SilverCoin, Berry); createChest(700, 340, Chest, Aobj5); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 10){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 10)) && ((_local8 < 30)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 40)) && ((_local8 < 75)))){ createEnemy(700, _local3, Deathhead1); }; if ((((_local8 >= 75)) && ((_local8 < 90)))){ createEnemy(700, _local3, Deathhead2); }; if (_local8 >= 90){ createEnemy(700, _local3, Soldier1); }; }; }; if (stagenm == 6){ if ((((stageEnm == 14)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 14)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 20){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 20)) && ((_local8 < 30)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier3); }; if ((((_local8 >= 40)) && ((_local8 < 50)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 50)) && ((_local8 < 75)))){ createEnemy(700, _local3, Thief2); }; if (_local8 >= 75){ createEnemy(700, _local3, Soldier2); }; }; }; if (stagenm == 5){ if ((((stageEnm == 3)) && ((currentEnm == 0)))){ GC.clear(); createBar(650, 280, Bar, Crystel, Aobj3, SilverCoin, Tomato); createChest(690, 300, Chest, Sheild4obj); createChest(750, 340, Chest, Aobj7); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 3)) && ((stageEnm < 3)))) && ((stagechange == false)))){ createEnemy(700, 280, Rock1); createEnemy(700, 320, Rock2); createEnemy(700, 360, Rock1); }; }; if (stagenm == 4){ if ((((stageEnm == 14)) && ((currentEnm == 0)))){ createBar(1000, 280, Bar, Crystel, Crystel, SilverCoin, Tomato); createChest(880, 300, Chest, Aobj6); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 14)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 10){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 10)) && ((_local8 < 30)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 40)) && ((_local8 < 75)))){ createEnemy(700, _local3, Deathhead1); }; if (_local8 >= 75){ createEnemy(700, _local3, Deathhead2); }; }; }; if (stagenm == 3){ if ((((stageEnm == 8)) && ((currentEnm == 0)))){ createChest(620, 290, Chest, Aobj1); createChest(780, 300, Chest, Aobj3); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 8)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 10){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 10)) && ((_local8 < 30)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Rock1); }; if ((((_local8 >= 40)) && ((_local8 < 75)))){ createEnemy(700, _local3, Deathhead1); }; if (_local8 >= 75){ createEnemy(700, _local3, Deathhead2); }; }; }; if (stagenm == 2){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ createBar(640, 280, Bar, Crystel, Gem1, SilverCoin, Apple); createChest(700, 340, Chest, Aobj6); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 10){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 10)) && ((_local8 < 30)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 40)) && ((_local8 < 75)))){ createEnemy(700, _local3, Deathhead1); }; if ((((_local8 >= 75)) && ((_local8 < 90)))){ createEnemy(700, _local3, Deathhead2); }; if (_local8 >= 90){ createEnemy(700, _local3, Soldier1); }; }; }; if (stagenm == 1){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ createBar(680, 360, Bar, Crystel, Gem1, Aobj5, Crystel); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 10){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 10)) && ((_local8 < 30)))){ createEnemy(700, _local3, Birdman); }; if ((((_local8 >= 30)) && ((_local8 < 40)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 40)) && ((_local8 < 75)))){ createEnemy(700, _local3, Deathhead1); }; if ((((_local8 >= 75)) && ((_local8 < 90)))){ createEnemy(700, _local3, Deathhead2); }; if (_local8 >= 90){ createEnemy(700, _local3, Soldier1); }; }; }; if (stagenm == 0){ timer++; if (timer == 10){ playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (timer == 40){ playRoll.dx = 0; playRoll.roll.gotoAndStop(1); playRoll.actionstate = 1; createChest(700, 340, Chest, Aobj2); createChest(650, 320, Chest, Lifewater); stagenm = 1; }; }; } public function del2(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage2(41); GC.clear(); } public function del3(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(Stage89); GC.clear(); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[4]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ if (Data.continueGame == true){ Data.relivecrossnm = (Data.relivecrossnm - 1); Data.SAttacknm = Data.sSAttacknm; Data.Sdefendnm = Data.sSdefendnm; Data.swordnm = Data.sswordnm; Data.sheildnm = Data.ssheildnm; Data.secondswordnm = Data.ssecondswordnm; Data.levelnm = Data.slevelnm; Data.cnm = Data.scnm; Data.lifenm = Data.slifexxxnm; Data.lifexxxnm = Data.slifexxxnm; Data.scorenm = Data.sscorenm; Data.scoresavenm = Data.sscoresavenm; Data.continueGame = false; }; Data.sSAttacknm = Data.SAttacknm; Data.sSdefendnm = Data.Sdefendnm; Data.sswordnm = Data.swordnm; Data.ssheildnm = Data.sheildnm; Data.ssecondswordnm = Data.secondswordnm; Data.slevelnm = Data.levelnm; Data.scnm = Data.cnm; Data.slifenm = Data.lifenm; Data.slifexxxnm = Data.lifexxxnm; Data.sscorenm = Data.scorenm; Data.sscoresavenm = Data.scoresavenm; addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall41(0, 0); cwall1 = new Wall42(0, 267); cwall2 = new Wall43(0, 310); playRoll = new Fighter(-80, 350, this); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll.actionstate = 0; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); SoundsManager.playMusic("cemetery"); } } }//package
Section 374
//Stage46 (Stage46) package { import flash.events.*; import flash.display.*; import data.*; import ui.*; public class Stage46 extends Sprite { private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage46(_arg1){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); par.changeStage(_arg1); GC.clear(); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 115){ gamestart.zz.gotoAndPlay(8); }; if (gamestart.zz.currentFrame == 31){ del(Stage50); }; } private function initStage():void{ gamestart = new Map(300, 0); addChild(gamestart); gamestart.swordtip.x = 206; gamestart.swordtip.y = 270; gamestart.road.gotoAndStop(5); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); SoundsManager.playMusic("wood"); if (Data.canmusic == true){ SoundsManager.modifyMusicVolume(0.4); }; } } }//package
Section 375
//Stage50 (Stage50) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import enemies.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage50 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = true public var dialogs; public var be;// = 0 public var stagenm;// = 0 private var timer;// = 0 private var eid:Number;// = 0 public var sky:MovieClip; public var boss; public var bossExist;// = 0 private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage50(_arg1){ timer = 0; eid = 0; be = 0; container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; stageEnm = 0; stagechange = true; stagechangeT = 0; stagenm = 0; bossExist = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = ("enemy" + eid); eid++; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; if (stagechange == true){ if (sky.x <= -600){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; _local3 = ((Math.random() * 100) + 270); _local8 = (Math.random() * 100); if (stagenm == 20){ if (zz.currentFrame == 20){ if (playRoll.x > 550){ zz.gotoAndPlay(21); playRoll.actionstate = 0; playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; }; if (zz.currentFrame == 90){ del(Stage55); }; }; if (stagenm == 19){ if ((((((((boss.roll.currentFrame == 206)) || ((boss.roll.currentFrame == 158)))) || ((((boss.roll.currentFrame < boss.hurt)) && ((boss.roll.currentFrame > 16)))))) || ((boss.roll.currentFrame == 1)))){ boss.actionstate = 0; boss.roll.gotoAndPlay(2); boss.dy = 0; boss.scaleX = -1; boss.dx = 10; }; if (boss.x > 900){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); boss.del(); boss = null; playRoll.actionstate = 1; stageEnm = 0; stagenm++; }; }; if (stagenm == 18){ if (boss.life > 200){ playRoll.actionstate = 1; boss.actionstate = 1; }; if (boss.life <= 200){ playRoll.actionstate = 0; playRoll.dx = 0; playRoll.dy = 0; playRoll.roll.gotoAndStop(1); timer = 0; stageEnm = 0; stagenm++; }; }; if (stagenm == 17){ }; if (stagenm == 16){ _local7 = ""; _local6 = ""; _local5 = ""; _local4 = "We shall see."; _local2 = (boss.x - 20); _local3 = (boss.y - 140); dialogs = new Dialog4(_local2, _local3, 1, _local7, _local6, _local5, _local4, this); stagenm++; }; if (stagenm == 15){ }; if (stagenm == 14){ _local7 = ""; _local6 = ""; _local5 = ""; _local4 = "Instead of my death, I offer you your own."; _local2 = (playRoll.x + 20); _local3 = (playRoll.y - 100); dialogs = new Dialog2(_local2, _local3, 1, _local7, _local6, _local5, _local4, this); stagenm++; }; if (stagenm == 13){ }; if (stagenm == 12){ if (playRoll.x > 150){ playRoll.actionstate = 0; playRoll.dy = 0; playRoll.dx = -7; playRoll.scaleX = -1; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (playRoll.x <= 150){ playRoll.dx = 0; playRoll.dy = 0; playRoll.scaleX = 1; playRoll.actionstate = 0; playRoll.roll.gotoAndStop(1); if (boss.x > 450){ boss.x = (boss.x - 7); if (boss.roll.currentFrame == 1){ boss.roll.gotoAndPlay(2); }; }; if (boss.x <= 450){ _local7 = "I have been waiting for you for some time."; _local6 = "You have beaten my loyal and powerful servant."; _local5 = "That deserves some sort of award."; _local4 = "Your reward shall be DEATH!"; _local2 = (boss.x - 20); _local3 = (boss.y - 140); dialogs = new Dialog(_local2, _local3, 4, _local7, _local6, _local5, _local4, this); boss.roll.gotoAndStop(1); stagenm++; }; }; }; if (stagenm == 11){ if ((((((currentEnm < 1)) && ((stagechange == false)))) && ((bossExist == 0)))){ bossstates = new Boss5State(400, 50); container5.addChild(bossstates); boss = new Hecter(700, 340, this); boss.actionstate = 0; boss.isboss = true; bossExist = 1; be = 1; SoundsManager.playMusic("boss"); currentEnm++; stageEnm++; stagenm++; }; }; if (stagenm == 10){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(650, 320, Chest, Lifewater); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 15){ createEnemy(700, _local3, Rock1); }; if ((((_local8 >= 15)) && ((_local8 < 40)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 40)) && ((_local8 < 50)))){ createEnemy(700, _local3, Rock2); }; if ((((_local8 >= 50)) && ((_local8 < 60)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 60)) && ((_local8 < 70)))){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 70)) && ((_local8 < 85)))){ createEnemy(700, _local3, Soldier2); }; if (_local8 >= 85){ createEnemy(700, _local3, Birdman); }; }; }; if (stagenm == 9){ if ((((stageEnm == 8)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(650, 280, Chest, Gem5); stagenm++; }; if ((((((currentEnm < 3)) && ((stageEnm < 8)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 30){ createEnemy(700, _local3, Rock2); }; if (_local8 >= 30){ createEnemy(700, _local3, Rock1); }; }; }; if (stagenm == 8){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(680, 320, Chest, Gem1); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 15){ createEnemy(700, _local3, Rock1); }; if ((((_local8 >= 15)) && ((_local8 < 35)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 35)) && ((_local8 < 50)))){ createEnemy(700, _local3, Rock2); }; if ((((_local8 >= 50)) && ((_local8 < 60)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 60)) && ((_local8 < 70)))){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 70)) && ((_local8 < 85)))){ createEnemy(700, _local3, Soldier2); }; if (_local8 >= 85){ createEnemy(700, _local3, Birdman); }; }; }; if (stagenm == 7){ if ((((stageEnm == 8)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(630, 290, Chest, Gem1); createChest(630, 350, Chest, Gem3); createChest(780, 320, Chest, Aobj1); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 8)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 15){ createEnemy(700, _local3, Rock1); }; if ((((_local8 >= 15)) && ((_local8 < 35)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 35)) && ((_local8 < 50)))){ createEnemy(700, _local3, Rock2); }; if ((((_local8 >= 50)) && ((_local8 < 60)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 60)) && ((_local8 < 70)))){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 70)) && ((_local8 < 85)))){ createEnemy(700, _local3, Soldier2); }; if (_local8 >= 85){ createEnemy(700, _local3, Birdman); }; }; }; if (stagenm == 6){ if ((((stageEnm == 14)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(680, 320, Chest, Gem4); stagenm++; }; if ((((((currentEnm < 5)) && ((stageEnm < 14)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 15){ createEnemy(700, _local3, Rock1); }; if ((((_local8 >= 15)) && ((_local8 < 35)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 35)) && ((_local8 < 50)))){ createEnemy(700, _local3, Rock2); }; if ((((_local8 >= 50)) && ((_local8 < 60)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 60)) && ((_local8 < 70)))){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 70)) && ((_local8 < 85)))){ createEnemy(700, _local3, Soldier2); }; if (_local8 >= 85){ createEnemy(700, _local3, Birdman); }; }; }; if (stagenm == 5){ if ((((stageEnm == 2)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(630, 290, Chest, Aobj3); createChest(630, 350, Chest, Aobj4); createChest(880, 320, Chest, Lifewater); stagenm++; }; if ((((((currentEnm < 2)) && ((stageEnm < 2)))) && ((stagechange == false)))){ createEnemy(700, 290, Rock1); createEnemy(700, 350, Mage); }; }; if (stagenm == 4){ if ((((stageEnm == 12)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(630, 290, Chest, Aobj2); createChest(630, 350, Chest, Gem1); createChest(880, 320, Chest, Gem3); stagenm++; }; if ((((((currentEnm < 4)) && ((stageEnm < 12)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 15){ createEnemy(700, _local3, Rock1); }; if ((((_local8 >= 15)) && ((_local8 < 35)))){ createEnemy(700, _local3, Soldier1); }; if ((((_local8 >= 35)) && ((_local8 < 50)))){ createEnemy(700, _local3, Rock2); }; if ((((_local8 >= 50)) && ((_local8 < 60)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 60)) && ((_local8 < 70)))){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 70)) && ((_local8 < 85)))){ createEnemy(700, _local3, Soldier3); }; if (_local8 >= 85){ createEnemy(700, _local3, Birdman); }; }; }; if (stagenm == 3){ if ((((stageEnm == 13)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); stagechange = true; stageEnm = 0; createChest(630, 320, Chest, Aobj7); stagenm++; }; if ((((((currentEnm < 4)) && ((stageEnm < 13)))) && ((stagechange == false)))){ _local8 = (Math.random() * 100); if (_local8 < 15){ createEnemy(700, _local3, Rock1); }; if ((((_local8 >= 15)) && ((_local8 < 35)))){ createEnemy(700, _local3, Soldier2); }; if ((((_local8 >= 35)) && ((_local8 < 50)))){ createEnemy(700, _local3, Rock2); }; if ((((_local8 >= 50)) && ((_local8 < 60)))){ createEnemy(700, _local3, Thief2); }; if ((((_local8 >= 60)) && ((_local8 < 70)))){ createEnemy(700, _local3, Thief1); }; if ((((_local8 >= 70)) && ((_local8 < 85)))){ createEnemy(700, _local3, Soldier3); }; if (_local8 >= 85){ createEnemy(700, _local3, Birdman); }; }; }; if (stagenm == 2){ playRoll.actionstate = 1; if ((((stageEnm == 2)) && ((currentEnm == 0)))){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); createChest(630, 320, Chest, Sword4obj); stagechange = true; stageEnm = 0; stagenm++; }; if ((((((currentEnm < 2)) && ((stageEnm < 2)))) && ((stagechange == false)))){ createEnemy(700, 290, Rock3); createEnemy(700, 350, Rock3); }; }; if (stagenm == 1){ }; if (stagenm == 0){ timer++; if (timer == 10){ playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (timer == 40){ playRoll.dx = 0; playRoll.roll.gotoAndStop(1); _local7 = ""; _local6 = "The path leads no farther. It must all end here."; _local5 = "I have never known such fatigue,"; _local4 = "but I made a vow which I must honour!"; _local2 = (playRoll.x + 20); _local3 = (playRoll.y - 100); dialogs = new Dialog2(_local2, _local3, 3, _local7, _local6, _local5, _local4, this); createChest(1000, 290, Chest, Aobj5); createChest(1000, 350, Chest, Aobj6); stagenm = 1; }; }; } public function del2(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage2(46); GC.clear(); } public function del3(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); if (be == 1){ boss.del(); }; this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(Stage89); GC.clear(); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[5]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ if (Data.continueGame == true){ Data.relivecrossnm = (Data.relivecrossnm - 1); Data.SAttacknm = Data.sSAttacknm; Data.Sdefendnm = Data.sSdefendnm; Data.swordnm = Data.sswordnm; Data.sheildnm = Data.ssheildnm; Data.secondswordnm = Data.ssecondswordnm; Data.levelnm = Data.slevelnm; Data.cnm = Data.scnm; Data.lifenm = Data.slifexxxnm; Data.lifexxxnm = Data.slifexxxnm; Data.scorenm = Data.sscorenm; Data.scoresavenm = Data.sscoresavenm; Data.continueGame = false; }; Data.sSAttacknm = Data.SAttacknm; Data.sSdefendnm = Data.Sdefendnm; Data.sswordnm = Data.swordnm; Data.ssheildnm = Data.sheildnm; Data.ssecondswordnm = Data.secondswordnm; Data.slevelnm = Data.levelnm; Data.scnm = Data.cnm; Data.slifenm = Data.lifenm; Data.slifexxxnm = Data.lifexxxnm; Data.sscorenm = Data.scorenm; Data.sscoresavenm = Data.scoresavenm; addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall51(0, 0); cwall1 = new Wall52(0, 0); cwall2 = new Wall53(0, 0); playRoll = new Fighter(-80, 350, this); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll.actionstate = 0; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); SoundsManager.playMusic("castle"); } } }//package
Section 376
//Stage55 (Stage55) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import enemies.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage55 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = true public var dialogs; public var be;// = 0 public var stagenm;// = 0 private var timer;// = 0 private var eid:Number;// = 0 public var sky:MovieClip; public var boss; public var bossExist;// = 0 private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var boss2; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage55(_arg1){ timer = 0; eid = 0; be = 0; container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; stageEnm = 0; stagechange = true; stagechangeT = 0; stagenm = 0; bossExist = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; if (be == 1){ boss.del(); }; playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = ("enemy" + eid); eid++; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; if (stagechange == true){ if (sky.x <= -600){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; _local3 = ((Math.random() * 100) + 270); _local8 = (Math.random() * 100); if (stagenm == 3){ if (zz.currentFrame == 20){ playRoll.actionstate = 0; playRoll.dx = 0; playRoll.dy = 0; zz.gotoAndPlay(21); }; if (zz.currentFrame == 90){ Data.gameend = 2; if (Game.gamecomplete == false){ Game.gamecomplete = true; Game._tracker.trackEvent("Blue Knight", "game complete", "per session", 0); }; del(Stage80); }; }; if (stagenm == 2){ if ((((stageEnm == 1)) && ((currentEnm == 0)))){ stageEnm = 0; stagenm++; }; if ((((((currentEnm < 1)) && ((stagechange == false)))) && ((bossExist == 0)))){ bossstates = new Boss6State(400, 50); container5.addChild(bossstates); boss = new Dragonknight(700, 340, this); boss.isboss = true; bossExist = 1; be = 1; currentEnm++; stageEnm++; }; }; if (stagenm == 1){ if (stagechange == false){ stagechange = true; stageEnm = 0; stagenm++; }; }; if (stagenm == 0){ timer++; if (timer == 10){ playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; if (timer == 40){ playRoll.dx = 0; playRoll.roll.gotoAndStop(1); playRoll.actionstate = 1; createChest(630, 290, Chest, Sword5obj); createChest(630, 350, Chest, Sheild5obj); createChest(800, 320, Chest, Lifewater); stagenm = 1; }; }; } public function del2(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; if (be == 1){ boss.del(); }; playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage2(55); GC.clear(); } public function del3(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; if (be == 1){ boss.del(); }; playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(Stage89); GC.clear(); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[5]")), "_blank"); } private function initStage():void{ if (Data.continueGame == true){ Data.relivecrossnm = (Data.relivecrossnm - 1); Data.SAttacknm = Data.sSAttacknm; Data.Sdefendnm = Data.sSdefendnm; Data.swordnm = Data.sswordnm; Data.sheildnm = Data.ssheildnm; Data.secondswordnm = Data.ssecondswordnm; Data.levelnm = Data.slevelnm; Data.cnm = Data.scnm; Data.lifenm = Data.slifexxxnm; Data.lifexxxnm = Data.slifexxxnm; Data.scorenm = Data.sscorenm; Data.scoresavenm = Data.sscoresavenm; Data.continueGame = false; }; Data.sSAttacknm = Data.SAttacknm; Data.sSdefendnm = Data.Sdefendnm; Data.sswordnm = Data.swordnm; Data.ssheildnm = Data.sheildnm; Data.ssecondswordnm = Data.secondswordnm; Data.slevelnm = Data.levelnm; Data.scnm = Data.cnm; Data.slifenm = Data.lifenm; Data.slifexxxnm = Data.lifexxxnm; Data.sscorenm = Data.scorenm; Data.sscoresavenm = Data.scoresavenm; addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall61(0, 0); cwall1 = new Wall62(0, 0); cwall2 = new Wall63(0, 0); playRoll = new Fighter(-80, 350, this); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll.actionstate = 0; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); } public function createboss2(_arg1, _arg2, _arg3):void{ boss2 = new Hecter(_arg1, _arg2, this); boss2.roll.y = _arg3; boss2.roll.gotoAndPlay(240); currentEnm++; stageEnm = 1; } } }//package
Section 377
//Stage6 (Stage6) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import enemies.*; import fires.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage6 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = false public var dialogs; public var sky:MovieClip; public var stagenm;// = 0 private var timer;// = 0 public var boss; private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; public function Stage6(_arg1){ timer = 0; container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; stageEnm = 0; stagechange = false; stagechangeT = 0; stagenm = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.skipb.removeEventListener(MouseEvent.MOUSE_UP, skipaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local3 = (((Math.random() * 580) + 10) - sky.x); _local4 = ((Math.random() * 20) + 220); _local5 = (Math.random() * 3); if (_local5 < 1){ _local6 = (Math.random() * 11); if (_local6 < 1){ _local2 = new Fire1(_local3, _local4, sky); }; if ((((_local6 >= 1)) && ((_local6 < 2)))){ _local2 = new Fire2(_local3, _local4, sky); }; if ((((_local6 >= 2)) && ((_local6 < 3)))){ _local2 = new Fire3(_local3, _local4, sky); }; if ((((_local6 >= 3)) && ((_local6 < 4)))){ _local2 = new Fire4(_local3, _local4, sky); }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ _local2 = new Fire5(_local3, _local4, sky); }; if ((((_local6 >= 5)) && ((_local6 < 6)))){ _local2 = new Fire6(_local3, _local4, sky); }; if ((((_local6 >= 6)) && ((_local6 < 7)))){ _local2 = new Fire7(_local3, _local4, sky); }; if ((((_local6 >= 7)) && ((_local6 < 8)))){ _local2 = new Fire8(_local3, _local4, sky); }; if ((((_local6 >= 8)) && ((_local6 < 9)))){ _local2 = new Fire9(_local3, _local4, sky); }; if ((((_local6 >= 9)) && ((_local6 < 10)))){ _local2 = new Fire10(_local3, _local4, sky); }; if ((((_local6 >= 10)) && ((_local6 <= 11)))){ _local2 = new Fire11(_local3, _local4, sky); }; _local2.scaleX = (_local2.scaleY = ((Math.random() * 0.5) + 0.2)); _local2.alpha = ((Math.random() * 0.4) + 0.2); }; if (stagechange == true){ if (sky.x <= -600){ sky.x = 0; }; if (cwall1.x <= -1200){ cwall1.x = 0; }; if (cwall2.x <= -1200){ cwall2.x = 0; }; }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; timer++; if (timer == 125){ zz.gotoAndPlay(21); }; if (zz.currentFrame == 90){ del(Stage8); }; } private function skipaction(_arg1:Event):void{ timer = 0; del(Stage12); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[1]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall11(0, 0); cwall1 = new Wall12(-478, 0); cwall2 = new Wall13(-328, 310); playRoll = new Fighter(-1880, 330, this); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll.actionstate = 0; createEnemy(560, 300, Rock1); createEnemy(590, 330, Soldier1); createEnemy(630, 290, Soldier2); createEnemy(480, 310, Soldier1); createEnemy(510, 290, Thief1); createEnemy(540, 360, Thief1); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.skipb.visible = true; states.skipb.addEventListener(MouseEvent.MOUSE_UP, skipaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); } } }//package
Section 378
//Stage8 (Stage8) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import enemies.*; import fires.*; import objects.*; import rolls.*; import ui.*; import walls.*; public class Stage8 extends Sprite { private var stageEnm;// = 0 public var states:MovieClip; public var cwall2:MovieClip; public var cwall1:MovieClip; public var stagechange:Boolean;// = false public var dialogs; public var sky:MovieClip; public var stagenm;// = 0 private var timer;// = 0 public var boss; private var par; public var bossstates:MovieClip; public var zz:MovieClip; public var currentEnm;// = 0 public var container1:Sprite; public var container2:Sprite; public var container3:Sprite; public var container4:Sprite; public var container5:Sprite; public var playRoll; public var stagechangeT:Number;// = 0 private var go:MovieClip; public var enemys:Array; private var goExist;// = 0 public function Stage8(_arg1){ timer = 0; goExist = 0; container1 = new Sprite(); container2 = new Sprite(); container3 = new Sprite(); container4 = new Sprite(); container5 = new Sprite(); enemys = new Array(); currentEnm = 0; stageEnm = 0; stagechange = false; stagechangeT = 0; stagenm = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ var _local2:*; var _local3:int; _local2 = enemys.length; _local3 = 0; while (_local3 < _local2) { enemys[0].del(); _local3++; }; enemys = []; playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.skipb.removeEventListener(MouseEvent.MOUSE_UP, skipaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(_arg1); GC.clear(); } private function createEnemy(_arg1, _arg2, _arg3):void{ var _local4:*; _local4 = new _arg3(_arg1, _arg2, this); enemys.push(_local4); _local4.number = _local4; currentEnm++; stageEnm++; } private function goaction(_arg1:Event):void{ if (go.currentFrame == 46){ container5.removeChild(go); go.removeEventListener(Event.ENTER_FRAME, goaction); }; } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local3 = (((Math.random() * 580) + 10) - sky.x); _local4 = ((Math.random() * 20) + 220); _local5 = (Math.random() * 3); if (_local5 < 1){ _local6 = (Math.random() * 11); if (_local6 < 1){ _local2 = new Fire1(_local3, _local4, sky); }; if ((((_local6 >= 1)) && ((_local6 < 2)))){ _local2 = new Fire2(_local3, _local4, sky); }; if ((((_local6 >= 2)) && ((_local6 < 3)))){ _local2 = new Fire3(_local3, _local4, sky); }; if ((((_local6 >= 3)) && ((_local6 < 4)))){ _local2 = new Fire4(_local3, _local4, sky); }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ _local2 = new Fire5(_local3, _local4, sky); }; if ((((_local6 >= 5)) && ((_local6 < 6)))){ _local2 = new Fire6(_local3, _local4, sky); }; if ((((_local6 >= 6)) && ((_local6 < 7)))){ _local2 = new Fire7(_local3, _local4, sky); }; if ((((_local6 >= 7)) && ((_local6 < 8)))){ _local2 = new Fire8(_local3, _local4, sky); }; if ((((_local6 >= 8)) && ((_local6 < 9)))){ _local2 = new Fire9(_local3, _local4, sky); }; if ((((_local6 >= 9)) && ((_local6 < 10)))){ _local2 = new Fire10(_local3, _local4, sky); }; if ((((_local6 >= 10)) && ((_local6 <= 11)))){ _local2 = new Fire11(_local3, _local4, sky); }; _local2.scaleX = (_local2.scaleY = ((Math.random() * 0.5) + 0.2)); _local2.alpha = ((Math.random() * 0.4) + 0.2); }; if (stagechangeT == 80){ stagechangeT = 0; stagechange = false; }; timer++; if (timer == 30){ playRoll.dx = 7; playRoll.roll.gotoAndPlay(2); }; if (timer == 55){ playRoll.dx = 0; playRoll.roll.gotoAndStop(1); playRoll.actionstate = 1; }; if ((((currentEnm == 0)) && ((zz.currentFrame == 20)))){ if (goExist == 0){ go = new Go(500, 50); container5.addChild(go); go.addEventListener(Event.ENTER_FRAME, goaction); goExist = 1; }; if (playRoll.x > 550){ zz.gotoAndPlay(21); playRoll.actionstate = 0; playRoll.dx = 7; if (playRoll.roll.currentFrame == 1){ playRoll.roll.gotoAndPlay(2); }; }; }; if (zz.currentFrame == 90){ del(Stage10); }; } private function skipaction(_arg1:Event):void{ timer = 0; del(Stage12); } private function createBar(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7):void{ var _local8:*; _local8 = new _arg3(_arg1, _arg2, this); enemys.push(_local8); _local8.number = _local8; _local8.obj1 = _arg4; _local8.obj2 = _arg5; _local8.obj3 = _arg6; _local8.obj4 = _arg7; } public function del2(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.skipb.removeEventListener(MouseEvent.MOUSE_UP, skipaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage2(12); GC.clear(); } public function del3(){ var _local1:*; var _local2:int; _local1 = enemys.length; _local2 = 0; while (_local2 < _local1) { enemys[0].del(); _local2++; }; enemys = []; playRoll.del(); this.removeEventListener(Event.ENTER_FRAME, thisaction); states.skipb.removeEventListener(MouseEvent.MOUSE_UP, skipaction); states.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); container1.removeChild(sky); container2.removeChild(cwall1); container4.removeChild(cwall2); container5.removeChild(states); container5.removeChild(zz); sky = null; cwall1 = null; cwall2 = null; states = null; zz = null; removeChild(container1); removeChild(container2); removeChild(container3); container3 = null; removeChild(container4); removeChild(container5); container1 = null; container2 = null; container4 = null; container5 = null; par.changeStage(Stage89); GC.clear(); } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_level[1]")), "_blank"); } private function createChest(_arg1, _arg2, _arg3, _arg4):void{ var _local5:*; _local5 = new _arg3(_arg1, _arg2, this); enemys.push(_local5); _local5.number = _local5; _local5.obj1 = _arg4; } private function initStage():void{ addChild(container1); addChild(container2); addChild(container3); addChild(container4); addChild(container5); sky = new Wall11(0, 0); cwall1 = new Wall12(-378, 0); cwall2 = new Wall13(-428, 310); playRoll = new Fighter(-80, 330, this); states = new RollState(0, 380); zz = new ZZ2(300, 0); container1.addChild(sky); container2.addChild(cwall1); container4.addChild(cwall2); container5.addChild(states); container5.addChild(zz); playRoll.actionstate = 0; createBar(400, 300, Bar, Cherry, Apple, Crystel, Crystel); createBar(450, 360, Bar, Crystel, Tomato, Berry, Crystel); createEnemy(590, 330, Soldier1); createEnemy(630, 340, Soldier2); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); states.skipb.visible = true; states.skipb.addEventListener(MouseEvent.MOUSE_UP, skipaction, false, 0, true); states.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); } } }//package
Section 379
//Stage80 (Stage80) package { import flash.events.*; import flash.display.*; import ui.*; public class Stage80 extends Sprite { private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage80(_arg1){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(gamestart); gamestart = null; par.changeStage(_arg1); GC.clear(); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 1100){ gamestart.zz.gotoAndPlay(27); }; if (gamestart.zz.currentFrame == 75){ del(Stage81); }; } private function initStage():void{ var _local1:*; _local1 = "Even victory cannot soothe this battle-worn and weary soul. \r\rJustice has been won…for now. The hero knows that peace is never more than temporary. \r\rHowever, he must take comfort in his knowledge of truth and courage, and hope the fires of hell can contain the souls of evil for some time still to come..."; gamestart = new Congratulation(300, 0, _local1, this); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); SoundsManager.playMusic("bluenightover", 3000, 3000); } } }//package
Section 380
//Stage81 (Stage81) package { import flash.events.*; import flash.display.*; import ui.*; public class Stage81 extends Sprite { private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage81(_arg1){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(gamestart); gamestart = null; par.changeStage(_arg1); } private function thisaction(_arg1:Event):void{ timer++; if ((((timer > 20)) && ((timer < 560)))){ gamestart.credits.y = (gamestart.credits.y - 2); }; if (timer == 520){ SoundsManager.playMusic("kkk"); }; if (timer == 575){ gamestart.zz.gotoAndPlay(21); }; if (gamestart.zz.currentFrame == 90){ del(Stage89); }; } private function initStage():void{ gamestart = new BaoYouyuan(300, 0); addChild(gamestart); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } } }//package
Section 381
//Stage88 (Stage88) package { import flash.events.*; import flash.display.*; import data.*; import ui.*; public class Stage88 extends Sprite { private var stagenm; private var timer;// = 0 private var par; private var gamestart:MovieClip; public function Stage88(_arg1, _arg2){ timer = 0; super(); _arg1.gamespirit.addChild(this); par = _arg1; stagenm = _arg2; initStage(); } public function del(_arg1){ this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(gamestart); gamestart = null; par.changeStage(_arg1); GC.clear(); } private function thisaction(_arg1:Event):void{ timer++; if (timer == 125){ gamestart.zz.gotoAndPlay(27); }; if (gamestart.zz.currentFrame == 75){ if (stagenm == 12){ del(Stage12); }; if (stagenm == 31){ del(Stage31); }; if (stagenm == 36){ del(Stage36); }; if (stagenm == 41){ del(Stage41); }; if (stagenm == 46){ del(Stage46); }; if (stagenm == 55){ SoundsManager.playMusic("boss"); del(Stage55); }; }; } private function initStage():void{ gamestart = new ReliveStage(300, 0, "By the grace of the Cross of Rebirth, return the soul of this hero to the battlefield!", this); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); SoundsManager.playMusic("chongshenzhiguang"); if (Data.canmusic == true){ SoundsManager.modifyMusicVolume(0.4); }; } } }//package
Section 382
//Stage89 (Stage89) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import ui.*; public class Stage89 extends Sprite { private var choosestage;// = 1 private var playerscore:Number; private var st;// = 1 private var par; private var gamestart; public function Stage89(_arg1){ st = 1; choosestage = 1; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1):void{ gamestart.submit.removeEventListener(MouseEvent.MOUSE_OVER, fireaction1); gamestart.submit.removeEventListener(MouseEvent.MOUSE_UP, okaction); gamestart.tryagain.removeEventListener(MouseEvent.MOUSE_OVER, fireaction2); gamestart.tryagain.removeEventListener(MouseEvent.MOUSE_UP, tryaction); gamestart.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(gamestart); gamestart = null; par.changeStage(_arg1); GC.clear(); } public function okaction(_arg1:MouseEvent):void{ var _local2:*; var _local3:*; var _local4:int; if (gamestart.inputTextfield.text != ""){ _local4 = 9; while (_local4 >= 0) { if (playerscore > Cookie.da.arr[_local4].score){ if (_local4 == 9){ Cookie.da.arr[_local4].score = playerscore; Cookie.da.arr[_local4].name = gamestart.inputTextfield.text; }; if (_local4 < 9){ _local3 = Cookie.da.arr[_local4].score; _local2 = Cookie.da.arr[_local4].name; Cookie.da.arr[_local4].score = playerscore; Cookie.da.arr[_local4].name = gamestart.inputTextfield.text; Cookie.da.arr[(_local4 + 1)].score = _local3; Cookie.da.arr[(_local4 + 1)].name = _local2; }; }; _local4--; }; choosestage = 1; SoundsManager.playSound("menu_press"); gamestart.zz.gotoAndPlay(8); }; } private function thisaction(_arg1:Event):void{ if (gamestart.zz.currentFrame == 31){ if (choosestage == 1){ del(Stage90); }; if (choosestage == 2){ del(Stage12); }; }; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_submitscore")), "_blank"); } public function tryaction(_arg1:MouseEvent):void{ choosestage = 2; SoundsManager.playSound("menu_press"); gamestart.zz.gotoAndPlay(8); } private function fireaction1(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 60) { _local4 = ((gamestart.submit.x + (Math.random() * 200)) + 200); _local5 = ((gamestart.submit.y + (Math.random() * 60)) - 30); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gamestart) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function fireaction2(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 60) { _local4 = ((gamestart.tryagain.x + (Math.random() * 200)) + 200); _local5 = ((gamestart.tryagain.y + (Math.random() * 60)) - 30); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gamestart) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function initStage():void{ playerscore = (Data.scorenm * 10); new Cookie(); gamestart = new InputFace(300, 0); addChild(gamestart); gamestart.submit.addEventListener(MouseEvent.MOUSE_OVER, fireaction1, false, 0, true); gamestart.submit.addEventListener(MouseEvent.MOUSE_UP, okaction, false, 0, true); gamestart.tryagain.addEventListener(MouseEvent.MOUSE_OVER, fireaction2, false, 0, true); gamestart.tryagain.addEventListener(MouseEvent.MOUSE_UP, tryaction, false, 0, true); gamestart.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); stage.focus = gamestart.inputTextfield; gamestart.inputTextfield.text = "Player"; gamestart.inputTextfield.setSelection(0, 6); SoundsManager.modifyMusicVolume(0); } } }//package
Section 383
//Stage90 (Stage90) package { import flash.net.*; import flash.events.*; import flash.display.*; import url.*; import data.*; import ui.*; public class Stage90 extends Sprite { private var st;// = 1 private var par; private var gamestart:MovieClip; public function Stage90(_arg1){ st = 1; super(); _arg1.gamespirit.addChild(this); par = _arg1; initStage(); } public function del(_arg1){ gamestart.ok.removeEventListener(MouseEvent.MOUSE_OVER, fireaction1); gamestart.ok.removeEventListener(MouseEvent.MOUSE_UP, okaction); gamestart.urlbtn.removeEventListener(MouseEvent.MOUSE_UP, urlaction); this.removeEventListener(Event.ENTER_FRAME, thisaction); removeChild(gamestart); gamestart = null; par.changeStage(_arg1); GC.clear(); } private function okaction(_arg1:Event):void{ if (st == 1){ SoundsManager.playSound("menu_press"); gamestart.zz.gotoAndPlay(27); st = 0; }; } private function thisaction(_arg1:Event):void{ if (gamestart.zz.currentFrame == 75){ if ((((Data.gameend == 2)) || ((Data.gameend == 0)))){ del(Stage1); }; if (Data.gameend == 1){ del(Stage100); }; }; } private function urlaction(_arg1:Event):void{ navigateToURL(new URLRequest((language.url1 + "&utm_term=logo_highscore")), "_blank"); } private function fireaction1(_arg1:MouseEvent):void{ var _local2:*; var _local3:uint; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 80) { _local4 = (240 + (Math.random() * 120)); _local5 = ((gamestart.ok.y + (Math.random() * 80)) - 40); _local2 = new FireStar(_local4, _local5, par.gamespirit); _local2.scaleX = (_local2.scaleY = (Math.random() * 0.8)); par.gamespirit.setChildIndex(_local2, (par.gamespirit.getChildByName(gamestart) + 1)); _local2.mouseEnabled = false; _local3++; }; SoundsManager.playSound("menu_touch"); } private function initStage():void{ gamestart = new Highscore(300, 0); addChild(gamestart); gamestart.m1.text = (" 1. " + Cookie.da.arr[0].name); gamestart.m2.text = (" 2. " + Cookie.da.arr[1].name); gamestart.m3.text = (" 3. " + Cookie.da.arr[2].name); gamestart.m4.text = (" 4. " + Cookie.da.arr[3].name); gamestart.m5.text = (" 5. " + Cookie.da.arr[4].name); gamestart.m6.text = (" 6. " + Cookie.da.arr[5].name); gamestart.m7.text = (" 7. " + Cookie.da.arr[6].name); gamestart.m8.text = (" 8. " + Cookie.da.arr[7].name); gamestart.m9.text = (" 9. " + Cookie.da.arr[8].name); gamestart.m10.text = ("10. " + Cookie.da.arr[9].name); gamestart.s1.text = Cookie.da.arr[0].score; gamestart.s2.text = Cookie.da.arr[1].score; gamestart.s3.text = Cookie.da.arr[2].score; gamestart.s4.text = Cookie.da.arr[3].score; gamestart.s5.text = Cookie.da.arr[4].score; gamestart.s6.text = Cookie.da.arr[5].score; gamestart.s7.text = Cookie.da.arr[6].score; gamestart.s8.text = Cookie.da.arr[7].score; gamestart.s9.text = Cookie.da.arr[8].score; gamestart.s10.text = Cookie.da.arr[9].score; gamestart.ok.addEventListener(MouseEvent.MOUSE_OVER, fireaction1, false, 0, true); gamestart.ok.addEventListener(MouseEvent.MOUSE_UP, okaction, false, 0, true); gamestart.urlbtn.addEventListener(MouseEvent.MOUSE_UP, urlaction, false, 0, true); this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); SoundsManager.stopMusic(); } } }//package
Section 384
//story (story) package { import flash.media.*; public dynamic class story extends Sound { } }//package
Section 385
//Thief1 (Thief1) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Thief1 extends Sprite { public const hurt:uint = 125; public const attack:uint = 20; public const die:uint = 136; public const strong:Number = 2; public const walk:uint = 2; public const attack2:uint = 80; public var dxfix:Number;// = 0 public var life:Number;// = 20 public var actionstate;// = 1 public var hitBall:MovieClip; private var fire; public var number; public var speed:Number;// = 20 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 private var par; public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Thief1(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 20; man = true; speed = 20; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initThief1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initThief1():void{ hitBall = new HitMovie(0, -35, this); addChild(hitBall); hitBall.width = 110; hitBall.height = 70; rollshadow = new Shadow(4, 0); addChild(rollshadow); roll = new Thief1Roll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if (roll.currentFrame == (hurt + 3)){ if (life <= 0){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(die); SoundsManager.playSound("xiaoguisiwang"); createObj(Crystel); createObj(Crystel); _local4 = (Math.random() * 100); if (_local4 < 70){ createObj(SilverCoin); }; if ((((_local4 >= 70)) && ((_local4 < 92)))){ createObj(Gem1); }; if (_local4 >= 92){ createObj(Berry); }; }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 13)){ _local2 = ((x + roll.x) - (30 * scaleX)); _local3 = ((y + roll.y) - 90); fist = new EFireBottle(_local2, _local3, par); par.enemys.push(fist); fist.number = fist; fist.yfix = y; fist.dx = ((-12 * scaleX) - (Math.random() * 3)); fist.dy = (-20 - (Math.random() * 6)); fist.drot = (scaleX * (-30 - (Math.random() * 30))); fist.xxscale = scaleX; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); }; if (roll.currentFrame == (attack2 + 8)){ _local2 = ((x + roll.x) - (40 * scaleX)); _local3 = ((y + roll.y) - 40); fist = new Fist(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.6); fist.xxscale = scaleX; }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 201); if (_local5 < 3){ dx = (-7 * scaleX); dy = 0; roll.gotoAndPlay(walk); }; if ((((_local5 >= 4)) && ((_local5 < 5)))){ if (t.y < y){ dy = -4.5; dx = 0; }; if (t.y > y){ dy = 4.5; dx = 0; }; roll.gotoAndPlay(walk); }; if (_local5 > 200){ dx = 0; dy = 0; roll.gotoAndStop(1); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 100); if (_local6 < 3){ dx = (-7 * scaleX); dy = 0; }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ if (t.y < y){ dy = -4.5; dx = 0; }; if (t.y > y){ dy = 4.5; dx = 0; }; }; }; if ((((((Math.abs((t.x - x)) < 100)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack2); SoundsManager.playSound("xiaoguichuzhao"); }; if ((((((((((((((Math.abs((t.x - x)) >= 250)) && ((Math.abs((t.x - x)) < 320)))) && ((Math.abs((t.y - y)) < 14)))) && ((roll.currentFrame < attack)))) && ((x < 600)))) && ((x > 0)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 4); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 4); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (x < -100){ x = -100; stopAction(); }; if (x > 700){ x = 700; stopAction(); }; if (y < 274){ y = 274; stopAction(); }; if (y > 380){ y = 380; stopAction(); }; if (roll.currentFrame == (die + 1)){ removeChild(rollshadow); }; if (roll.currentFrame == 250){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 386
//Thief2 (Thief2) package { import flash.events.*; import flash.display.*; import enemies.*; import objects.*; public class Thief2 extends Sprite { public const hurt:uint = 125; public const attack:uint = 20; public const die:uint = 136; public const strong:Number = 2; public const walk:uint = 2; public const attack2:uint = 80; public var dxfix:Number;// = 0 public var life:Number;// = 30 public var actionstate;// = 1 public var hitBall:MovieClip; private var fire; public var number; public var speed:Number;// = 20 public var man:Boolean;// = true private var fist:MovieClip; private var t; public var roll:MovieClip; public var dy:Number;// = 0 private var par; public var dx:Number;// = 0 public var defend:Number; private var rollshadow:MovieClip; public function Thief2(_arg1:Number=0, _arg2:Number=0, _arg3=null){ actionstate = 1; dx = 0; dy = 0; dxfix = 0; life = 30; man = true; speed = 20; super(); _arg3.container3.addChild(this); par = _arg3; x = _arg1; y = _arg2; initThief1(); } private function stopAction():void{ roll.gotoAndStop(1); dx = 0; dy = 0; } public function del():void{ var _local1:*; var _local2:uint; roll.stop(); removeChild(roll); this.removeEventListener(Event.ENTER_FRAME, thisaction); _local1 = par.enemys.length; _local2 = 0; while (_local2 < _local1) { if (par.enemys[_local2] == number){ par.enemys.splice(_local2, 1); break; }; _local2++; }; par.container3.removeChild(this); par.currentEnm--; } private function changeDepth():void{ var _local1:*; var _local2:uint; var _local3:uint; _local3 = 0; while (_local3 < par.container3.numChildren) { _local1 = par.container3.getChildAt(_local3); if (_local1.man){ _local2 = par.container3.getChildIndex(this); if ((((((_local3 < _local2)) && ((_local1.y > this.y)))) || ((((_local3 > _local2)) && ((_local1.y < this.y)))))){ par.container3.swapChildren(_local1, this); }; }; _local3++; }; } private function initThief1():void{ hitBall = new HitMovie(0, -35, this); addChild(hitBall); hitBall.width = 110; hitBall.height = 70; rollshadow = new Shadow(4, 0); addChild(rollshadow); roll = new Thief2Roll(0, 0); addChild(roll); t = par.playRoll; this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true); } private function thisaction(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (actionstate == 0){ }; if (actionstate == 1){ changeDepth(); x = (x + dx); x = (x + dxfix); y = (y + dy); if (dxfix > 2){ dxfix = (dxfix - 3); }; if (dxfix < -2){ dxfix = (dxfix + 3); }; if ((((dxfix >= -2)) && ((dxfix <= 2)))){ dxfix = 0; }; if (roll.currentFrame == (hurt + 3)){ if (life <= 0){ dx = 0; dy = 0; dxfix = 0; roll.gotoAndPlay(die); SoundsManager.playSound("xiaoguisiwang"); createObj(Crystel); createObj(Crystel); _local4 = (Math.random() * 100); if (_local4 < 70){ createObj(SilverCoin); }; if ((((_local4 >= 70)) && ((_local4 < 92)))){ createObj(Gem1); }; if (_local4 >= 92){ createObj(Bread); }; }; }; if ((((t.x < x)) && ((roll.currentFrame < attack)))){ scaleX = 1; }; if ((((t.x > x)) && ((roll.currentFrame < attack)))){ scaleX = -1; }; if (roll.currentFrame == (attack + 13)){ _local2 = ((x + roll.x) - (60 * scaleX)); _local3 = ((y + roll.y) - 60); fist = new EDagger(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.dx = (-50 * scaleX); fist.xxscale = scaleX; }; if (roll.currentFrame == (attack2 + 8)){ _local2 = ((x + roll.x) - (40 * scaleX)); _local3 = ((y + roll.y) - 40); fist = new Fist(_local2, _local3, par); fist.yfix = y; par.container3.setChildIndex(fist, (par.container3.getChildIndex(this) + 1)); fist.scaleX = (fist.scaleY = 0.6); fist.xxscale = scaleX; }; if (roll.currentFrame == 1){ _local5 = (Math.random() * 201); if (_local5 < 3){ dx = (-7 * scaleX); dy = 0; roll.gotoAndPlay(walk); }; if ((((_local5 >= 4)) && ((_local5 < 5)))){ if (t.y < y){ dy = -4.5; dx = 0; }; if (t.y > y){ dy = 4.5; dx = 0; }; roll.gotoAndPlay(walk); }; if (_local5 > 200){ dx = 0; dy = 0; roll.gotoAndStop(1); }; }; if ((((roll.currentFrame >= walk)) && ((roll.currentFrame < attack)))){ _local6 = (Math.random() * 100); if (_local6 < 3){ dx = (-7 * scaleX); dy = 0; }; if ((((_local6 >= 4)) && ((_local6 < 5)))){ if (t.y < y){ dy = -4.5; dx = 0; }; if (t.y > y){ dy = 4.5; dx = 0; }; }; }; if ((((((Math.abs((t.x - x)) < 100)) && ((Math.abs((t.y - y)) < 12)))) && ((roll.currentFrame < attack)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack2); SoundsManager.playSound("xiaoguichuzhao"); }; if ((((((((((((Math.abs((t.x - x)) >= 200)) && ((Math.abs((t.y - y)) < 14)))) && ((roll.currentFrame < attack)))) && ((x < 600)))) && ((x > 0)))) && ((t.roll.currentFrame < t.hurt2)))){ dx = 0; dy = 0; roll.gotoAndPlay(attack); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx < 0)))){ dx = (dx + 4); }; if ((((((roll.currentFrame >= hurt)) && ((roll.currentFrame < (hurt + 5))))) && ((dx > 0)))){ dx = (dx - 4); }; if (roll.currentFrame == (hurt + 5)){ dx = 0; }; if (x < -60){ x = -58; stopAction(); }; if (x > 660){ x = 658; stopAction(); }; if (y < 274){ y = 274; stopAction(); }; if (y > 380){ y = 380; stopAction(); }; if (roll.currentFrame == (die + 1)){ removeChild(rollshadow); }; if (roll.currentFrame == 250){ del(); }; }; } private function createObj(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; _local3 = ((x - 10) + (Math.random() * 20)); _local4 = ((y - 60) + (Math.random() * 20)); _local2 = new _arg1(_local3, _local4, par, this); par.enemys.push(_local2); _local2.number = _local2; } } }//package
Section 387
//win (win) package { import flash.media.*; public dynamic class win extends Sound { } }//package
Section 388
//wood (wood) package { import flash.media.*; public dynamic class wood extends Sound { } }//package
Section 389
//wuqishengji (wuqishengji) package { import flash.media.*; public dynamic class wuqishengji extends Sound { } }//package
Section 390
//wushichuzhao (wushichuzhao) package { import flash.media.*; public dynamic class wushichuzhao extends Sound { } }//package
Section 391
//wushishunchuxian (wushishunchuxian) package { import flash.media.*; public dynamic class wushishunchuxian extends Sound { } }//package
Section 392
//wushishunxiaoshi (wushishunxiaoshi) package { import flash.media.*; public dynamic class wushishunxiaoshi extends Sound { } }//package
Section 393
//wushisiwang (wushisiwang) package { import flash.media.*; public dynamic class wushisiwang extends Sound { } }//package
Section 394
//wushixiao (wushixiao) package { import flash.media.*; public dynamic class wushixiao extends Sound { } }//package
Section 395
//xiaobin (xiaobin) package { import flash.media.*; public dynamic class xiaobin extends Sound { } }//package
Section 396
//xiaoguichuzhao (xiaoguichuzhao) package { import flash.media.*; public dynamic class xiaoguichuzhao extends Sound { } }//package
Section 397
//xiaoguisiwang (xiaoguisiwang) package { import flash.media.*; public dynamic class xiaoguisiwang extends Sound { } }//package
Section 398
//xiaohuoshao (xiaohuoshao) package { import flash.media.*; public dynamic class xiaohuoshao extends Sound { } }//package
Section 399
//zhiliao (zhiliao) package { import flash.media.*; public dynamic class zhiliao extends Sound { } }//package

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip {HitMovie}Uses:1
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip {fires.Fire1}Uses:3
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip {fires.Fire2}Uses:5
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip {fires.Fire3}Uses:7
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip {fires.Fire4}Uses:9
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClip {fires.Fire5}Uses:11
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip {fires.Fire6}Uses:13
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip {fires.Fire7}Uses:15
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip {fires.Fire8}Uses:17
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip {fires.Fire9}Uses:19
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClip {fires.Fire10}Uses:21
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip {fires.Fire11}Uses:23
Symbol 25 GraphicUsed by:32
Symbol 26 ShapeTweeningUsed by:28
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip {BlueKnight_US_English2_fla.loadbar_249}Uses:26 27Used by:32
Symbol 29 GraphicUsed by:32
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:32
Symbol 32 MovieClip {Aload}Uses:25 28 29 31
Symbol 33 BitmapUsed by:34 1689
Symbol 34 GraphicUses:33Used by:35
Symbol 35 MovieClip {walls.Wall31}Uses:34Used by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip {enemies.Bullet}Uses:36Used by:Timeline
Symbol 38 GraphicUsed by:66
Symbol 39 GraphicUsed by:66
Symbol 40 GraphicUsed by:66
Symbol 41 GraphicUsed by:66
Symbol 42 GraphicUsed by:66
Symbol 43 GraphicUsed by:66
Symbol 44 GraphicUsed by:66
Symbol 45 GraphicUsed by:66
Symbol 46 GraphicUsed by:66
Symbol 47 GraphicUsed by:66
Symbol 48 GraphicUsed by:66
Symbol 49 GraphicUsed by:66
Symbol 50 GraphicUsed by:66
Symbol 51 GraphicUsed by:66
Symbol 52 GraphicUsed by:66
Symbol 53 GraphicUsed by:66
Symbol 54 GraphicUsed by:66
Symbol 55 GraphicUsed by:66
Symbol 56 GraphicUsed by:66
Symbol 57 GraphicUsed by:66
Symbol 58 GraphicUsed by:66
Symbol 59 GraphicUsed by:66
Symbol 60 GraphicUsed by:66
Symbol 61 GraphicUsed by:66
Symbol 62 GraphicUsed by:66
Symbol 63 GraphicUsed by:66
Symbol 64 GraphicUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClip {rolls.Sword3}Uses:38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65Used by:Timeline
Symbol 67 GraphicUsed by:91
Symbol 68 GraphicUsed by:91
Symbol 69 GraphicUsed by:91
Symbol 70 GraphicUsed by:91
Symbol 71 GraphicUsed by:91
Symbol 72 GraphicUsed by:91
Symbol 73 GraphicUsed by:91
Symbol 74 GraphicUsed by:91
Symbol 75 GraphicUsed by:91
Symbol 76 GraphicUsed by:91
Symbol 77 GraphicUsed by:91
Symbol 78 GraphicUsed by:91
Symbol 79 GraphicUsed by:91
Symbol 80 GraphicUsed by:91
Symbol 81 GraphicUsed by:91 817
Symbol 82 GraphicUsed by:91
Symbol 83 GraphicUsed by:91
Symbol 84 GraphicUsed by:91
Symbol 85 GraphicUsed by:91
Symbol 86 GraphicUsed by:91
Symbol 87 GraphicUsed by:91
Symbol 88 GraphicUsed by:91
Symbol 89 GraphicUsed by:91
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClip {rolls.Sheild2}Uses:67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90Used by:Timeline
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:97
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96
Symbol 96 MovieClip {com.google.analytics.components.Icon}Uses:95Used by:97
Symbol 97 MovieClip {com.google.analytics.components.FlashTracker}Uses:93 96
Symbol 98 GraphicUsed by:101
Symbol 99 GraphicUsed by:101
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClip {rolls.HolyWater}Uses:98 99 100Used by:Timeline
Symbol 102 GraphicUsed by:104 980
Symbol 103 GraphicUsed by:104 345 382 980 1231 1412
Symbol 104 MovieClip {FireBottle}Uses:102 103Used by:Timeline
Symbol 105 BitmapUsed by:106 1413
Symbol 106 GraphicUses:105Used by:107
Symbol 107 MovieClip {walls.Wall11}Uses:106Used by:Timeline
Symbol 108 BitmapUsed by:120 127 1417 1647
Symbol 109 BitmapUsed by:120 1415 1642
Symbol 110 BitmapUsed by:120 1415 1642
Symbol 111 BitmapUsed by:120 1415 1642
Symbol 112 BitmapUsed by:120
Symbol 113 BitmapUsed by:120 1415
Symbol 114 BitmapUsed by:120 1415 1642
Symbol 115 BitmapUsed by:120 1415 1642
Symbol 116 BitmapUsed by:120 1415 1642
Symbol 117 BitmapUsed by:120
Symbol 118 BitmapUsed by:120 1415 1642
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:108 109 110 111 112 113 114 115 116 117 118 119Used by:121
Symbol 121 MovieClip {walls.Wall12}Uses:120Used by:Timeline
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClip {Shadow}Uses:122Used by:Timeline
Symbol 124 BitmapUsed by:127 1417 1647
Symbol 125 BitmapUsed by:127 1417 1647
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:124 108 125 126Used by:128
Symbol 128 MovieClip {walls.Wall13}Uses:127Used by:Timeline
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:154
Symbol 131 ShapeTweeningUsed by:134
Symbol 132 GraphicUsed by:134
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClip {BlueKnight_US_English2_fla.rolllife_8}Uses:131 132 133Used by:154 329 1385 1390 1471 1783 1807
Symbol 135 GraphicUsed by:154
Symbol 136 GraphicUsed by:144
Symbol 137 GraphicUsed by:144
Symbol 138 GraphicUsed by:144
Symbol 139 GraphicUsed by:144
Symbol 140 GraphicUsed by:144
Symbol 141 GraphicUsed by:144
Symbol 142 GraphicUsed by:144
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClip {BlueKnight_US_English2_fla.aweaponshow_9}Uses:136 137 138 139 140 141 142 143Used by:154
Symbol 145 GraphicUsed by:147
Symbol 146 GraphicUsed by:147
Symbol 147 ButtonUses:145 146Used by:154
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:154
Symbol 150 GraphicUsed by:153
Symbol 151 FontUsed by:152 1873 1874 1875 1876 1878
Symbol 152 TextUses:151Used by:153
Symbol 153 ButtonUses:150 152Used by:154
Symbol 154 MovieClip {RollState}Uses:130 134 135 144 147 149 153Used by:Timeline
Symbol 155 GraphicUsed by:159
Symbol 156 GraphicUsed by:159
Symbol 157 GraphicUsed by:159
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClip {rolls.SwordShadow}Uses:155 156 157 158Used by:Timeline
Symbol 160 GraphicUsed by:164
Symbol 161 GraphicUsed by:164
Symbol 162 GraphicUsed by:164
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClip {enemies.ESwordShadow}Uses:160 161 162 163Used by:Timeline
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip {ui.Go}Uses:165Used by:Timeline
Symbol 167 GraphicUsed by:168 1359 1684
Symbol 168 MovieClip {enemies.Fist}Uses:167Used by:Timeline
Symbol 169 GraphicUsed by:193
Symbol 170 GraphicUsed by:193
Symbol 171 GraphicUsed by:193
Symbol 172 GraphicUsed by:193
Symbol 173 GraphicUsed by:193
Symbol 174 GraphicUsed by:193
Symbol 175 GraphicUsed by:193
Symbol 176 GraphicUsed by:193
Symbol 177 GraphicUsed by:193
Symbol 178 GraphicUsed by:193
Symbol 179 GraphicUsed by:193
Symbol 180 GraphicUsed by:193
Symbol 181 GraphicUsed by:193
Symbol 182 GraphicUsed by:193
Symbol 183 GraphicUsed by:193 217 241
Symbol 184 GraphicUsed by:193
Symbol 185 GraphicUsed by:193
Symbol 186 GraphicUsed by:193
Symbol 187 GraphicUsed by:193
Symbol 188 GraphicUsed by:193
Symbol 189 GraphicUsed by:193
Symbol 190 GraphicUsed by:193
Symbol 191 GraphicUsed by:193
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClip {rolls.Sheild3}Uses:169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192Used by:Timeline
Symbol 194 GraphicUsed by:217
Symbol 195 GraphicUsed by:217
Symbol 196 GraphicUsed by:217
Symbol 197 GraphicUsed by:217
Symbol 198 GraphicUsed by:217
Symbol 199 GraphicUsed by:217
Symbol 200 GraphicUsed by:217
Symbol 201 GraphicUsed by:217
Symbol 202 GraphicUsed by:217
Symbol 203 GraphicUsed by:217
Symbol 204 GraphicUsed by:217
Symbol 205 GraphicUsed by:217
Symbol 206 GraphicUsed by:217
Symbol 207 GraphicUsed by:217
Symbol 208 GraphicUsed by:217
Symbol 209 GraphicUsed by:217
Symbol 210 GraphicUsed by:217
Symbol 211 GraphicUsed by:217
Symbol 212 GraphicUsed by:217
Symbol 213 GraphicUsed by:217
Symbol 214 GraphicUsed by:217
Symbol 215 GraphicUsed by:217
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClip {rolls.Sheild4}Uses:194 195 196 197 198 199 200 201 202 203 204 205 206 207 183 208 209 210 211 212 213 214 215 216Used by:Timeline
Symbol 218 GraphicUsed by:241
Symbol 219 GraphicUsed by:241
Symbol 220 GraphicUsed by:241
Symbol 221 GraphicUsed by:241
Symbol 222 GraphicUsed by:241
Symbol 223 GraphicUsed by:241
Symbol 224 GraphicUsed by:241
Symbol 225 GraphicUsed by:241
Symbol 226 GraphicUsed by:241
Symbol 227 GraphicUsed by:241
Symbol 228 GraphicUsed by:241
Symbol 229 GraphicUsed by:241
Symbol 230 GraphicUsed by:241
Symbol 231 GraphicUsed by:241
Symbol 232 GraphicUsed by:241
Symbol 233 GraphicUsed by:241
Symbol 234 GraphicUsed by:241
Symbol 235 GraphicUsed by:241
Symbol 236 GraphicUsed by:241
Symbol 237 GraphicUsed by:241
Symbol 238 GraphicUsed by:241
Symbol 239 GraphicUsed by:241
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClip {rolls.Sheild5}Uses:218 219 220 221 222 223 224 225 226 227 228 229 230 231 183 232 233 234 235 236 237 238 239 240Used by:Timeline
Symbol 242 GraphicUsed by:270
Symbol 243 GraphicUsed by:270
Symbol 244 GraphicUsed by:270
Symbol 245 GraphicUsed by:270
Symbol 246 GraphicUsed by:270
Symbol 247 GraphicUsed by:270
Symbol 248 GraphicUsed by:270
Symbol 249 GraphicUsed by:270
Symbol 250 GraphicUsed by:270
Symbol 251 GraphicUsed by:270
Symbol 252 GraphicUsed by:270
Symbol 253 GraphicUsed by:270
Symbol 254 GraphicUsed by:270
Symbol 255 GraphicUsed by:270
Symbol 256 GraphicUsed by:270
Symbol 257 GraphicUsed by:270
Symbol 258 GraphicUsed by:270
Symbol 259 GraphicUsed by:270
Symbol 260 GraphicUsed by:270
Symbol 261 GraphicUsed by:270
Symbol 262 GraphicUsed by:270
Symbol 263 GraphicUsed by:270
Symbol 264 GraphicUsed by:270
Symbol 265 GraphicUsed by:270
Symbol 266 GraphicUsed by:270
Symbol 267 GraphicUsed by:270
Symbol 268 GraphicUsed by:270
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClip {rolls.Sword2}Uses:242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269Used by:Timeline
Symbol 271 GraphicUsed by:292
Symbol 272 GraphicUsed by:292
Symbol 273 GraphicUsed by:292
Symbol 274 GraphicUsed by:292
Symbol 275 GraphicUsed by:292
Symbol 276 GraphicUsed by:292
Symbol 277 GraphicUsed by:292
Symbol 278 GraphicUsed by:292
Symbol 279 GraphicUsed by:292
Symbol 280 GraphicUsed by:292
Symbol 281 GraphicUsed by:292
Symbol 282 GraphicUsed by:292
Symbol 283 GraphicUsed by:292
Symbol 284 GraphicUsed by:292
Symbol 285 GraphicUsed by:292
Symbol 286 GraphicUsed by:292
Symbol 287 GraphicUsed by:292
Symbol 288 GraphicUsed by:292
Symbol 289 GraphicUsed by:292
Symbol 290 GraphicUsed by:292
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClip {rolls.Sword4}Uses:271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291Used by:Timeline
Symbol 293 GraphicUsed by:321
Symbol 294 GraphicUsed by:321
Symbol 295 GraphicUsed by:321
Symbol 296 GraphicUsed by:321
Symbol 297 GraphicUsed by:321
Symbol 298 GraphicUsed by:321
Symbol 299 GraphicUsed by:321
Symbol 300 GraphicUsed by:321
Symbol 301 GraphicUsed by:321
Symbol 302 GraphicUsed by:321
Symbol 303 GraphicUsed by:321
Symbol 304 GraphicUsed by:321
Symbol 305 GraphicUsed by:321
Symbol 306 GraphicUsed by:321
Symbol 307 GraphicUsed by:321
Symbol 308 GraphicUsed by:321
Symbol 309 GraphicUsed by:321
Symbol 310 GraphicUsed by:321
Symbol 311 GraphicUsed by:321
Symbol 312 GraphicUsed by:321
Symbol 313 GraphicUsed by:321
Symbol 314 GraphicUsed by:321
Symbol 315 GraphicUsed by:321
Symbol 316 GraphicUsed by:321
Symbol 317 GraphicUsed by:321
Symbol 318 GraphicUsed by:321
Symbol 319 GraphicUsed by:321
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClip {rolls.Sword5}Uses:293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320Used by:Timeline
Symbol 322 GraphicUsed by:323 1419
Symbol 323 MovieClip {Dialog}Uses:322Used by:Timeline
Symbol 324 GraphicUsed by:329
Symbol 325 GraphicUsed by:329
Symbol 326 GraphicUsed by:327 411 969
Symbol 327 MovieClipUses:326Used by:329 378 405 881 938 1471
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClip {enemies.Boss1State}Uses:324 134 325 327 328Used by:Timeline
Symbol 330 GraphicUsed by:332
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClip {rolls.Dagger}Uses:330 331Used by:Timeline
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClip {rolls.Axe}Uses:333Used by:Timeline
Symbol 335 GraphicUsed by:340
Symbol 336 GraphicUsed by:340
Symbol 337 GraphicUsed by:340
Symbol 338 GraphicUsed by:340
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClip {Ice1}Uses:335 336 337 338 339Used by:Timeline
Symbol 341 GraphicUsed by:344
Symbol 342 GraphicUsed by:344
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClip {Ice2}Uses:341 342 343Used by:Timeline
Symbol 345 MovieClip {Fire}Uses:103Used by:Timeline
Symbol 346 GraphicUsed by:347 348
Symbol 347 MovieClip {FireStar3}Uses:346Used by:Timeline
Symbol 348 MovieClip {FireStar2}Uses:346Used by:Timeline
Symbol 349 GraphicUsed by:378
Symbol 350 GraphicUsed by:378
Symbol 351 GraphicUsed by:378
Symbol 352 GraphicUsed by:378
Symbol 353 GraphicUsed by:378 979
Symbol 354 GraphicUsed by:378
Symbol 355 GraphicUsed by:378
Symbol 356 GraphicUsed by:378
Symbol 357 GraphicUsed by:378 423 979
Symbol 358 GraphicUsed by:378
Symbol 359 GraphicUsed by:378
Symbol 360 GraphicUsed by:378
Symbol 361 GraphicUsed by:378
Symbol 362 GraphicUsed by:378
Symbol 363 GraphicUsed by:378
Symbol 364 GraphicUsed by:378
Symbol 365 GraphicUsed by:378
Symbol 366 GraphicUsed by:378
Symbol 367 GraphicUsed by:378
Symbol 368 GraphicUsed by:378
Symbol 369 GraphicUsed by:378
Symbol 370 GraphicUsed by:378
Symbol 371 GraphicUsed by:378
Symbol 372 GraphicUsed by:378
Symbol 373 GraphicUsed by:378
Symbol 374 GraphicUsed by:378
Symbol 375 GraphicUsed by:378
Symbol 376 GraphicUsed by:378
Symbol 377 GraphicUsed by:378
Symbol 378 MovieClip {enemies.Soldier1Roll}Uses:349 350 351 352 353 354 327 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377Used by:Timeline
Symbol 379 GraphicUsed by:380
Symbol 380 MovieClip {FireStar}Uses:379Used by:Timeline
Symbol 381 GraphicUsed by:Timeline
Symbol 382 MovieClip {EFire}Uses:103Used by:Timeline
Symbol 383 GraphicUsed by:405 938
Symbol 384 GraphicUsed by:405 938
Symbol 385 GraphicUsed by:405 938
Symbol 386 GraphicUsed by:405 938
Symbol 387 GraphicUsed by:405 938
Symbol 388 GraphicUsed by:405 938
Symbol 389 GraphicUsed by:405 938
Symbol 390 GraphicUsed by:405 938
Symbol 391 GraphicUsed by:405
Symbol 392 GraphicUsed by:405 938
Symbol 393 GraphicUsed by:405 938
Symbol 394 GraphicUsed by:405 938
Symbol 395 GraphicUsed by:405
Symbol 396 GraphicUsed by:405
Symbol 397 GraphicUsed by:405
Symbol 398 GraphicUsed by:405
Symbol 399 GraphicUsed by:405
Symbol 400 GraphicUsed by:405
Symbol 401 GraphicUsed by:405
Symbol 402 GraphicUsed by:405
Symbol 403 GraphicUsed by:405
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClip {enemies.Rock1Roll}Uses:383 384 385 386 387 388 327 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404Used by:Timeline
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClip {Ash}Uses:406Used by:Timeline
Symbol 408 GraphicUsed by:423
Symbol 409 GraphicUsed by:423
Symbol 410 GraphicUsed by:423
Symbol 411 MovieClipUses:326Used by:423
Symbol 412 GraphicUsed by:423
Symbol 413 GraphicUsed by:423
Symbol 414 GraphicUsed by:423
Symbol 415 GraphicUsed by:423
Symbol 416 GraphicUsed by:423
Symbol 417 GraphicUsed by:423
Symbol 418 GraphicUsed by:423
Symbol 419 GraphicUsed by:423
Symbol 420 GraphicUsed by:422 423
Symbol 421 GraphicUsed by:422
Symbol 422 MovieClipUses:421 420Used by:423
Symbol 423 MovieClip {enemies.Soldier2Roll}Uses:408 409 410 411 412 413 357 414 415 416 417 418 419 420 422Used by:Timeline
Symbol 424 GraphicUsed by:428
Symbol 425 GraphicUsed by:428
Symbol 426 GraphicUsed by:428
Symbol 427 GraphicUsed by:428
Symbol 428 MovieClip {enemies.ESwordShadow2}Uses:424 425 426 427Used by:Timeline
Symbol 429 GraphicUsed by:450
Symbol 430 GraphicUsed by:450
Symbol 431 GraphicUsed by:450
Symbol 432 GraphicUsed by:450
Symbol 433 GraphicUsed by:450
Symbol 434 GraphicUsed by:450
Symbol 435 GraphicUsed by:450
Symbol 436 GraphicUsed by:450
Symbol 437 GraphicUsed by:450
Symbol 438 GraphicUsed by:450
Symbol 439 GraphicUsed by:450
Symbol 440 GraphicUsed by:450
Symbol 441 GraphicUsed by:450
Symbol 442 GraphicUsed by:450
Symbol 443 GraphicUsed by:450
Symbol 444 GraphicUsed by:450
Symbol 445 GraphicUsed by:450
Symbol 446 GraphicUsed by:450
Symbol 447 GraphicUsed by:450
Symbol 448 GraphicUsed by:450
Symbol 449 GraphicUsed by:450
Symbol 450 MovieClip {enemies.Rock3Roll}Uses:429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449Used by:Timeline
Symbol 451 GraphicUsed by:469
Symbol 452 GraphicUsed by:469
Symbol 453 GraphicUsed by:469
Symbol 454 GraphicUsed by:469
Symbol 455 GraphicUsed by:469
Symbol 456 GraphicUsed by:469
Symbol 457 GraphicUsed by:469
Symbol 458 GraphicUsed by:469
Symbol 459 GraphicUsed by:469
Symbol 460 GraphicUsed by:469
Symbol 461 GraphicUsed by:469
Symbol 462 GraphicUsed by:469
Symbol 463 GraphicUsed by:469
Symbol 464 GraphicUsed by:469
Symbol 465 GraphicUsed by:469
Symbol 466 GraphicUsed by:469
Symbol 467 GraphicUsed by:469
Symbol 468 GraphicUsed by:469
Symbol 469 MovieClip {objects.Crystel}Uses:451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468Used by:Timeline
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClip {ObjText2}Uses:470Used by:Timeline
Symbol 472 GraphicUsed by:490
Symbol 473 GraphicUsed by:490
Symbol 474 GraphicUsed by:490
Symbol 475 GraphicUsed by:490
Symbol 476 GraphicUsed by:490
Symbol 477 GraphicUsed by:490
Symbol 478 GraphicUsed by:490
Symbol 479 GraphicUsed by:490
Symbol 480 GraphicUsed by:490
Symbol 481 GraphicUsed by:490
Symbol 482 GraphicUsed by:490
Symbol 483 GraphicUsed by:490
Symbol 484 GraphicUsed by:490
Symbol 485 GraphicUsed by:490
Symbol 486 GraphicUsed by:490
Symbol 487 GraphicUsed by:490
Symbol 488 GraphicUsed by:490
Symbol 489 GraphicUsed by:490
Symbol 490 MovieClip {objects.SilverCoin}Uses:472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489Used by:Timeline
Symbol 491 GraphicUsed by:509
Symbol 492 GraphicUsed by:509
Symbol 493 GraphicUsed by:509
Symbol 494 GraphicUsed by:509
Symbol 495 GraphicUsed by:509
Symbol 496 GraphicUsed by:509
Symbol 497 GraphicUsed by:509
Symbol 498 GraphicUsed by:509
Symbol 499 GraphicUsed by:509
Symbol 500 GraphicUsed by:509
Symbol 501 GraphicUsed by:509
Symbol 502 GraphicUsed by:509
Symbol 503 GraphicUsed by:509
Symbol 504 GraphicUsed by:509
Symbol 505 GraphicUsed by:509
Symbol 506 GraphicUsed by:509
Symbol 507 GraphicUsed by:509
Symbol 508 GraphicUsed by:509
Symbol 509 MovieClip {objects.GoldCoin}Uses:491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508Used by:Timeline
Symbol 510 GraphicUsed by:528
Symbol 511 GraphicUsed by:528
Symbol 512 GraphicUsed by:528
Symbol 513 GraphicUsed by:528
Symbol 514 GraphicUsed by:528
Symbol 515 GraphicUsed by:528
Symbol 516 GraphicUsed by:528
Symbol 517 GraphicUsed by:528
Symbol 518 GraphicUsed by:528
Symbol 519 GraphicUsed by:528
Symbol 520 GraphicUsed by:528
Symbol 521 GraphicUsed by:528
Symbol 522 GraphicUsed by:528
Symbol 523 GraphicUsed by:528
Symbol 524 GraphicUsed by:528
Symbol 525 GraphicUsed by:528
Symbol 526 GraphicUsed by:528
Symbol 527 GraphicUsed by:528
Symbol 528 MovieClip {objects.Apple}Uses:510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527Used by:Timeline
Symbol 529 GraphicUsed by:547
Symbol 530 GraphicUsed by:547
Symbol 531 GraphicUsed by:547
Symbol 532 GraphicUsed by:547
Symbol 533 GraphicUsed by:547
Symbol 534 GraphicUsed by:547
Symbol 535 GraphicUsed by:547
Symbol 536 GraphicUsed by:547
Symbol 537 GraphicUsed by:547
Symbol 538 GraphicUsed by:547
Symbol 539 GraphicUsed by:547
Symbol 540 GraphicUsed by:547
Symbol 541 GraphicUsed by:547
Symbol 542 GraphicUsed by:547
Symbol 543 GraphicUsed by:547
Symbol 544 GraphicUsed by:547
Symbol 545 GraphicUsed by:547
Symbol 546 GraphicUsed by:547
Symbol 547 MovieClip {objects.Berry}Uses:529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546Used by:Timeline
Symbol 548 GraphicUsed by:566
Symbol 549 GraphicUsed by:566
Symbol 550 GraphicUsed by:566
Symbol 551 GraphicUsed by:566
Symbol 552 GraphicUsed by:566
Symbol 553 GraphicUsed by:566
Symbol 554 GraphicUsed by:566
Symbol 555 GraphicUsed by:566
Symbol 556 GraphicUsed by:566
Symbol 557 GraphicUsed by:566
Symbol 558 GraphicUsed by:566
Symbol 559 GraphicUsed by:566
Symbol 560 GraphicUsed by:566
Symbol 561 GraphicUsed by:566
Symbol 562 GraphicUsed by:566
Symbol 563 GraphicUsed by:566
Symbol 564 GraphicUsed by:566
Symbol 565 GraphicUsed by:566
Symbol 566 MovieClip {objects.Gem1}Uses:548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565Used by:Timeline
Symbol 567 GraphicUsed by:585
Symbol 568 GraphicUsed by:585
Symbol 569 GraphicUsed by:585
Symbol 570 GraphicUsed by:585
Symbol 571 GraphicUsed by:585
Symbol 572 GraphicUsed by:585
Symbol 573 GraphicUsed by:585
Symbol 574 GraphicUsed by:585
Symbol 575 GraphicUsed by:585
Symbol 576 GraphicUsed by:585
Symbol 577 GraphicUsed by:585
Symbol 578 GraphicUsed by:585
Symbol 579 GraphicUsed by:585
Symbol 580 GraphicUsed by:585
Symbol 581 GraphicUsed by:585
Symbol 582 GraphicUsed by:585
Symbol 583 GraphicUsed by:585
Symbol 584 GraphicUsed by:585
Symbol 585 MovieClip {objects.Gem2}Uses:567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584Used by:Timeline
Symbol 586 GraphicUsed by:593
Symbol 587 GraphicUsed by:593
Symbol 588 GraphicUsed by:593
Symbol 589 GraphicUsed by:593
Symbol 590 GraphicUsed by:593
Symbol 591 GraphicUsed by:593
Symbol 592 GraphicUsed by:593
Symbol 593 MovieClip {objects.Gem3}Uses:586 587 588 589 590 591 592Used by:Timeline
Symbol 594 GraphicUsed by:602
Symbol 595 GraphicUsed by:602
Symbol 596 GraphicUsed by:602
Symbol 597 GraphicUsed by:602
Symbol 598 GraphicUsed by:602
Symbol 599 GraphicUsed by:602
Symbol 600 GraphicUsed by:602
Symbol 601 GraphicUsed by:602
Symbol 602 MovieClip {objects.Gem4}Uses:594 595 596 597 598 599 600 601Used by:Timeline
Symbol 603 GraphicUsed by:621
Symbol 604 GraphicUsed by:621
Symbol 605 GraphicUsed by:621
Symbol 606 GraphicUsed by:621
Symbol 607 GraphicUsed by:621
Symbol 608 GraphicUsed by:621
Symbol 609 GraphicUsed by:621
Symbol 610 GraphicUsed by:621
Symbol 611 GraphicUsed by:621
Symbol 612 GraphicUsed by:621
Symbol 613 GraphicUsed by:621
Symbol 614 GraphicUsed by:621
Symbol 615 GraphicUsed by:621
Symbol 616 GraphicUsed by:621
Symbol 617 GraphicUsed by:621
Symbol 618 GraphicUsed by:621
Symbol 619 GraphicUsed by:621
Symbol 620 GraphicUsed by:621
Symbol 621 MovieClip {objects.Gem5}Uses:603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620Used by:Timeline
Symbol 622 GraphicUsed by:640
Symbol 623 GraphicUsed by:640
Symbol 624 GraphicUsed by:640
Symbol 625 GraphicUsed by:640
Symbol 626 GraphicUsed by:640
Symbol 627 GraphicUsed by:640
Symbol 628 GraphicUsed by:640
Symbol 629 GraphicUsed by:640
Symbol 630 GraphicUsed by:640
Symbol 631 GraphicUsed by:640
Symbol 632 GraphicUsed by:640
Symbol 633 GraphicUsed by:640
Symbol 634 GraphicUsed by:640
Symbol 635 GraphicUsed by:640
Symbol 636 GraphicUsed by:640
Symbol 637 GraphicUsed by:640
Symbol 638 GraphicUsed by:640
Symbol 639 GraphicUsed by:640
Symbol 640 MovieClip {objects.Gem6}Uses:622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639Used by:Timeline
Symbol 641 GraphicUsed by:659
Symbol 642 GraphicUsed by:659
Symbol 643 GraphicUsed by:659
Symbol 644 GraphicUsed by:659
Symbol 645 GraphicUsed by:659
Symbol 646 GraphicUsed by:659
Symbol 647 GraphicUsed by:659
Symbol 648 GraphicUsed by:659
Symbol 649 GraphicUsed by:659
Symbol 650 GraphicUsed by:659
Symbol 651 GraphicUsed by:659
Symbol 652 GraphicUsed by:659
Symbol 653 GraphicUsed by:659
Symbol 654 GraphicUsed by:659
Symbol 655 GraphicUsed by:659
Symbol 656 GraphicUsed by:659
Symbol 657 GraphicUsed by:659
Symbol 658 GraphicUsed by:659
Symbol 659 MovieClip {objects.Bread}Uses:641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658Used by:Timeline
Symbol 660 GraphicUsed by:678
Symbol 661 GraphicUsed by:678
Symbol 662 GraphicUsed by:678
Symbol 663 GraphicUsed by:678
Symbol 664 GraphicUsed by:678
Symbol 665 GraphicUsed by:678
Symbol 666 GraphicUsed by:678
Symbol 667 GraphicUsed by:678
Symbol 668 GraphicUsed by:678
Symbol 669 GraphicUsed by:678
Symbol 670 GraphicUsed by:678
Symbol 671 GraphicUsed by:678
Symbol 672 GraphicUsed by:678
Symbol 673 GraphicUsed by:678
Symbol 674 GraphicUsed by:678
Symbol 675 GraphicUsed by:678
Symbol 676 GraphicUsed by:678
Symbol 677 GraphicUsed by:678
Symbol 678 MovieClip {objects.Cherry}Uses:660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677Used by:Timeline
Symbol 679 GraphicUsed by:697
Symbol 680 GraphicUsed by:697
Symbol 681 GraphicUsed by:697
Symbol 682 GraphicUsed by:697
Symbol 683 GraphicUsed by:697
Symbol 684 GraphicUsed by:697
Symbol 685 GraphicUsed by:697
Symbol 686 GraphicUsed by:697
Symbol 687 GraphicUsed by:697
Symbol 688 GraphicUsed by:697
Symbol 689 GraphicUsed by:697
Symbol 690 GraphicUsed by:697
Symbol 691 GraphicUsed by:697
Symbol 692 GraphicUsed by:697
Symbol 693 GraphicUsed by:697
Symbol 694 GraphicUsed by:697
Symbol 695 GraphicUsed by:697
Symbol 696 GraphicUsed by:697
Symbol 697 MovieClip {objects.Tomato}Uses:679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696Used by:Timeline
Symbol 698 GraphicUsed by:716
Symbol 699 GraphicUsed by:716
Symbol 700 GraphicUsed by:716
Symbol 701 GraphicUsed by:716
Symbol 702 GraphicUsed by:716
Symbol 703 GraphicUsed by:716
Symbol 704 GraphicUsed by:716
Symbol 705 GraphicUsed by:716
Symbol 706 GraphicUsed by:716
Symbol 707 GraphicUsed by:716
Symbol 708 GraphicUsed by:716
Symbol 709 GraphicUsed by:716
Symbol 710 GraphicUsed by:716
Symbol 711 GraphicUsed by:716
Symbol 712 GraphicUsed by:716
Symbol 713 GraphicUsed by:716
Symbol 714 GraphicUsed by:716
Symbol 715 GraphicUsed by:716
Symbol 716 MovieClip {objects.Lifewater}Uses:698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715Used by:Timeline
Symbol 717 GraphicUsed by:719
Symbol 718 GraphicUsed by:719
Symbol 719 MovieClip {enemies.Arrow}Uses:717 718Used by:Timeline
Symbol 720 GraphicUsed by:792
Symbol 721 GraphicUsed by:792
Symbol 722 GraphicUsed by:792
Symbol 723 GraphicUsed by:792
Symbol 724 GraphicUsed by:792
Symbol 725 GraphicUsed by:792
Symbol 726 GraphicUsed by:792
Symbol 727 GraphicUsed by:792
Symbol 728 GraphicUsed by:792
Symbol 729 GraphicUsed by:792
Symbol 730 GraphicUsed by:792
Symbol 731 GraphicUsed by:792
Symbol 732 GraphicUsed by:792
Symbol 733 GraphicUsed by:792
Symbol 734 GraphicUsed by:792
Symbol 735 GraphicUsed by:792
Symbol 736 GraphicUsed by:792
Symbol 737 GraphicUsed by:792
Symbol 738 GraphicUsed by:792
Symbol 739 GraphicUsed by:792
Symbol 740 GraphicUsed by:792
Symbol 741 GraphicUsed by:792
Symbol 742 GraphicUsed by:792
Symbol 743 GraphicUsed by:792
Symbol 744 GraphicUsed by:792
Symbol 745 GraphicUsed by:792
Symbol 746 GraphicUsed by:792
Symbol 747 GraphicUsed by:792
Symbol 748 GraphicUsed by:792
Symbol 749 GraphicUsed by:792
Symbol 750 GraphicUsed by:792
Symbol 751 GraphicUsed by:792
Symbol 752 GraphicUsed by:792
Symbol 753 GraphicUsed by:792
Symbol 754 GraphicUsed by:792
Symbol 755 GraphicUsed by:792
Symbol 756 GraphicUsed by:792
Symbol 757 GraphicUsed by:792
Symbol 758 GraphicUsed by:792
Symbol 759 GraphicUsed by:792
Symbol 760 GraphicUsed by:792
Symbol 761 GraphicUsed by:792
Symbol 762 GraphicUsed by:792
Symbol 763 GraphicUsed by:792
Symbol 764 GraphicUsed by:792
Symbol 765 GraphicUsed by:792
Symbol 766 GraphicUsed by:792
Symbol 767 GraphicUsed by:792
Symbol 768 GraphicUsed by:792
Symbol 769 GraphicUsed by:792
Symbol 770 GraphicUsed by:792
Symbol 771 GraphicUsed by:792
Symbol 772 GraphicUsed by:792
Symbol 773 GraphicUsed by:792
Symbol 774 GraphicUsed by:792
Symbol 775 GraphicUsed by:792
Symbol 776 GraphicUsed by:792
Symbol 777 GraphicUsed by:792
Symbol 778 GraphicUsed by:792
Symbol 779 GraphicUsed by:792
Symbol 780 ShapeTweeningUsed by:792
Symbol 781 GraphicUsed by:792
Symbol 782 ShapeTweeningUsed by:792
Symbol 783 GraphicUsed by:792
Symbol 784 GraphicUsed by:792
Symbol 785 GraphicUsed by:792
Symbol 786 GraphicUsed by:792
Symbol 787 GraphicUsed by:792
Symbol 788 GraphicUsed by:792
Symbol 789 GraphicUsed by:790
Symbol 790 MovieClip {BlueKnight_US_English2_fla.surprise_63}Uses:789Used by:792
Symbol 791 GraphicUsed by:792
Symbol 792 MovieClip {rolls.FighterRoll}Uses:720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 790 791Used by:Timeline
Symbol 793 GraphicUsed by:817
Symbol 794 GraphicUsed by:817
Symbol 795 GraphicUsed by:817
Symbol 796 GraphicUsed by:817
Symbol 797 GraphicUsed by:817
Symbol 798 GraphicUsed by:817
Symbol 799 GraphicUsed by:817
Symbol 800 GraphicUsed by:817
Symbol 801 GraphicUsed by:817
Symbol 802 GraphicUsed by:817
Symbol 803 GraphicUsed by:817
Symbol 804 GraphicUsed by:817
Symbol 805 GraphicUsed by:817
Symbol 806 GraphicUsed by:817
Symbol 807 GraphicUsed by:817
Symbol 808 GraphicUsed by:817
Symbol 809 GraphicUsed by:817
Symbol 810 GraphicUsed by:817
Symbol 811 GraphicUsed by:817
Symbol 812 GraphicUsed by:817
Symbol 813 GraphicUsed by:817
Symbol 814 GraphicUsed by:817
Symbol 815 GraphicUsed by:817
Symbol 816 GraphicUsed by:817
Symbol 817 MovieClip {rolls.Sheild1}Uses:793 794 795 796 797 798 799 800 801 802 803 804 805 806 81 807 808 809 810 811 812 813 814 815 816Used by:Timeline
Symbol 818 GraphicUsed by:853
Symbol 819 GraphicUsed by:853
Symbol 820 GraphicUsed by:853
Symbol 821 GraphicUsed by:853
Symbol 822 GraphicUsed by:853
Symbol 823 GraphicUsed by:853
Symbol 824 GraphicUsed by:853
Symbol 825 GraphicUsed by:853
Symbol 826 GraphicUsed by:853
Symbol 827 GraphicUsed by:853
Symbol 828 GraphicUsed by:853
Symbol 829 GraphicUsed by:853
Symbol 830 GraphicUsed by:853
Symbol 831 GraphicUsed by:853
Symbol 832 GraphicUsed by:853
Symbol 833 GraphicUsed by:853
Symbol 834 GraphicUsed by:853
Symbol 835 GraphicUsed by:853
Symbol 836 GraphicUsed by:853
Symbol 837 GraphicUsed by:853
Symbol 838 GraphicUsed by:853
Symbol 839 GraphicUsed by:853
Symbol 840 GraphicUsed by:853
Symbol 841 GraphicUsed by:853
Symbol 842 GraphicUsed by:853
Symbol 843 GraphicUsed by:853
Symbol 844 GraphicUsed by:853
Symbol 845 GraphicUsed by:853
Symbol 846 GraphicUsed by:853
Symbol 847 GraphicUsed by:853
Symbol 848 GraphicUsed by:853
Symbol 849 GraphicUsed by:853
Symbol 850 GraphicUsed by:853
Symbol 851 GraphicUsed by:853
Symbol 852 GraphicUsed by:853
Symbol 853 MovieClip {rolls.Sword1}Uses:818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852Used by:Timeline
Symbol 854 GraphicUsed by:863
Symbol 855 GraphicUsed by:856
Symbol 856 MovieClipUses:855Used by:863
Symbol 857 GraphicUsed by:858
Symbol 858 MovieClipUses:857Used by:863
Symbol 859 GraphicUsed by:860
Symbol 860 MovieClipUses:859Used by:863
Symbol 861 GraphicUsed by:862
Symbol 862 MovieClipUses:861Used by:863
Symbol 863 MovieClip {enemies.ChestRoll}Uses:854 856 858 860 862Used by:Timeline
Symbol 864 GraphicUsed by:881
Symbol 865 GraphicUsed by:881
Symbol 866 GraphicUsed by:881
Symbol 867 GraphicUsed by:881
Symbol 868 GraphicUsed by:881
Symbol 869 GraphicUsed by:881
Symbol 870 GraphicUsed by:881
Symbol 871 GraphicUsed by:881
Symbol 872 GraphicUsed by:881
Symbol 873 GraphicUsed by:881
Symbol 874 GraphicUsed by:881
Symbol 875 GraphicUsed by:881
Symbol 876 GraphicUsed by:881
Symbol 877 GraphicUsed by:881
Symbol 878 GraphicUsed by:881
Symbol 879 GraphicUsed by:881
Symbol 880 GraphicUsed by:881
Symbol 881 MovieClip {enemies.HorsemanRoll}Uses:864 865 866 867 868 869 870 871 872 327 873 874 875 876 877 878 879 880Used by:Timeline
Symbol 882 GraphicUsed by:886
Symbol 883 GraphicUsed by:886
Symbol 884 GraphicUsed by:885
Symbol 885 MovieClipUses:884Used by:886
Symbol 886 MovieClip {objects.Sword2obj}Uses:882 883 885Used by:Timeline
Symbol 887 GraphicUsed by:891
Symbol 888 GraphicUsed by:891
Symbol 889 GraphicUsed by:890
Symbol 890 MovieClipUses:889Used by:891
Symbol 891 MovieClip {objects.Sword3obj}Uses:887 888 890Used by:Timeline
Symbol 892 GraphicUsed by:896
Symbol 893 GraphicUsed by:896
Symbol 894 GraphicUsed by:895
Symbol 895 MovieClipUses:894Used by:896
Symbol 896 MovieClip {objects.Sword4obj}Uses:892 893 895Used by:Timeline
Symbol 897 GraphicUsed by:901
Symbol 898 GraphicUsed by:899
Symbol 899 MovieClipUses:898Used by:901
Symbol 900 GraphicUsed by:901
Symbol 901 MovieClip {objects.Sword5obj}Uses:897 899 900Used by:Timeline
Symbol 902 GraphicUsed by:906
Symbol 903 GraphicUsed by:906
Symbol 904 GraphicUsed by:906
Symbol 905 GraphicUsed by:906
Symbol 906 MovieClip {enemies.ESwordShadow3}Uses:902 903 904 905Used by:Timeline
Symbol 907 GraphicUsed by:919
Symbol 908 GraphicUsed by:919
Symbol 909 GraphicUsed by:919
Symbol 910 GraphicUsed by:919
Symbol 911 GraphicUsed by:919
Symbol 912 GraphicUsed by:919
Symbol 913 GraphicUsed by:919
Symbol 914 GraphicUsed by:919
Symbol 915 GraphicUsed by:919
Symbol 916 GraphicUsed by:919
Symbol 917 GraphicUsed by:919
Symbol 918 GraphicUsed by:919
Symbol 919 MovieClip {enemies.Thief2Roll}Uses:907 908 909 910 911 912 913 914 915 916 917 918Used by:Timeline
Symbol 920 GraphicUsed by:921 1386
Symbol 921 MovieClip {MagicStar1}Uses:920Used by:Timeline
Symbol 922 GraphicUsed by:923 1387
Symbol 923 MovieClip {MagicStar2}Uses:922Used by:Timeline
Symbol 924 GraphicUsed by:938
Symbol 925 GraphicUsed by:938
Symbol 926 GraphicUsed by:938
Symbol 927 GraphicUsed by:938
Symbol 928 GraphicUsed by:938
Symbol 929 GraphicUsed by:938
Symbol 930 GraphicUsed by:938
Symbol 931 GraphicUsed by:938
Symbol 932 GraphicUsed by:938
Symbol 933 GraphicUsed by:938
Symbol 934 GraphicUsed by:938
Symbol 935 GraphicUsed by:938
Symbol 936 GraphicUsed by:938
Symbol 937 GraphicUsed by:938
Symbol 938 MovieClip {enemies.Rock2Roll}Uses:924 383 384 385 386 387 388 327 389 390 925 392 926 393 394 927 928 929 930 931 932 933 934 935 936 937Used by:Timeline
Symbol 939 GraphicUsed by:961
Symbol 940 GraphicUsed by:961
Symbol 941 GraphicUsed by:961
Symbol 942 GraphicUsed by:961
Symbol 943 GraphicUsed by:961
Symbol 944 GraphicUsed by:961
Symbol 945 GraphicUsed by:961
Symbol 946 GraphicUsed by:961
Symbol 947 GraphicUsed by:961
Symbol 948 GraphicUsed by:961
Symbol 949 GraphicUsed by:961
Symbol 950 GraphicUsed by:961
Symbol 951 GraphicUsed by:961
Symbol 952 GraphicUsed by:961
Symbol 953 GraphicUsed by:961
Symbol 954 GraphicUsed by:961
Symbol 955 GraphicUsed by:961
Symbol 956 GraphicUsed by:961
Symbol 957 GraphicUsed by:961
Symbol 958 GraphicUsed by:961
Symbol 959 GraphicUsed by:961
Symbol 960 GraphicUsed by:961
Symbol 961 MovieClip {enemies.MageRoll}Uses:939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960Used by:Timeline
Symbol 962 GraphicUsed by:963
Symbol 963 MovieClip {enemies.Weakpoint}Uses:962Used by:Timeline
Symbol 964 GraphicUsed by:979
Symbol 965 GraphicUsed by:977 979
Symbol 966 GraphicUsed by:979
Symbol 967 GraphicUsed by:979
Symbol 968 GraphicUsed by:979
Symbol 969 MovieClipUses:326Used by:979
Symbol 970 GraphicUsed by:979
Symbol 971 GraphicUsed by:979
Symbol 972 GraphicUsed by:979
Symbol 973 GraphicUsed by:979
Symbol 974 GraphicUsed by:979
Symbol 975 GraphicUsed by:979
Symbol 976 GraphicUsed by:978 1551
Symbol 977 MovieClipUses:965Used by:978
Symbol 978 MovieClipUses:976 977Used by:979
Symbol 979 MovieClip {enemies.Soldier3Roll}Uses:964 965 966 967 353 968 969 970 971 357 972 973 974 975 978Used by:Timeline
Symbol 980 MovieClip {EFireBottle}Uses:102 103Used by:Timeline
Symbol 981 GraphicUsed by:983
Symbol 982 GraphicUsed by:983
Symbol 983 MovieClip {enemies.EDagger}Uses:981 982Used by:Timeline
Symbol 984 GraphicUsed by:1001
Symbol 985 GraphicUsed by:1001
Symbol 986 GraphicUsed by:1001
Symbol 987 GraphicUsed by:1001
Symbol 988 GraphicUsed by:1001
Symbol 989 GraphicUsed by:1001
Symbol 990 GraphicUsed by:1001
Symbol 991 GraphicUsed by:1001
Symbol 992 GraphicUsed by:1001
Symbol 993 GraphicUsed by:1001
Symbol 994 GraphicUsed by:1001
Symbol 995 GraphicUsed by:1001
Symbol 996 GraphicUsed by:1001
Symbol 997 GraphicUsed by:1001
Symbol 998 GraphicUsed by:1001
Symbol 999 GraphicUsed by:1001
Symbol 1000 GraphicUsed by:1001
Symbol 1001 MovieClip {enemies.Feather}Uses:984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000Used by:Timeline
Symbol 1002 GraphicUsed by:1039 1214
Symbol 1003 GraphicUsed by:1039 1214
Symbol 1004 GraphicUsed by:1039 1214
Symbol 1005 GraphicUsed by:1039 1214
Symbol 1006 GraphicUsed by:1039
Symbol 1007 GraphicUsed by:1039 1214
Symbol 1008 GraphicUsed by:1039 1214
Symbol 1009 GraphicUsed by:1039 1214
Symbol 1010 GraphicUsed by:1039 1214
Symbol 1011 GraphicUsed by:1039 1214
Symbol 1012 GraphicUsed by:1039 1214
Symbol 1013 GraphicUsed by:1039 1214
Symbol 1014 GraphicUsed by:1039 1214
Symbol 1015 GraphicUsed by:1039 1214
Symbol 1016 GraphicUsed by:1039 1214
Symbol 1017 GraphicUsed by:1039 1214
Symbol 1018 GraphicUsed by:1039 1214
Symbol 1019 GraphicUsed by:1039 1214
Symbol 1020 GraphicUsed by:1039 1214
Symbol 1021 GraphicUsed by:1039 1214
Symbol 1022 GraphicUsed by:1039 1214
Symbol 1023 GraphicUsed by:1039 1214
Symbol 1024 GraphicUsed by:1039 1214
Symbol 1025 GraphicUsed by:1039
Symbol 1026 GraphicUsed by:1039
Symbol 1027 GraphicUsed by:1039 1214
Symbol 1028 GraphicUsed by:1039
Symbol 1029 GraphicUsed by:1039
Symbol 1030 GraphicUsed by:1039
Symbol 1031 GraphicUsed by:1039 1214
Symbol 1032 GraphicUsed by:1039 1214
Symbol 1033 GraphicUsed by:1039
Symbol 1034 GraphicUsed by:1039 1214
Symbol 1035 GraphicUsed by:1039 1214
Symbol 1036 GraphicUsed by:1039
Symbol 1037 GraphicUsed by:1039 1214
Symbol 1038 GraphicUsed by:1039
Symbol 1039 MovieClipUses:1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038Used by:1214
Symbol 1040 GraphicUsed by:1214
Symbol 1041 GraphicUsed by:1214
Symbol 1042 GraphicUsed by:1214
Symbol 1043 GraphicUsed by:1214
Symbol 1044 GraphicUsed by:1214
Symbol 1045 GraphicUsed by:1214
Symbol 1046 GraphicUsed by:1214
Symbol 1047 GraphicUsed by:1214
Symbol 1048 GraphicUsed by:1214
Symbol 1049 GraphicUsed by:1214
Symbol 1050 GraphicUsed by:1214
Symbol 1051 GraphicUsed by:1214
Symbol 1052 GraphicUsed by:1214
Symbol 1053 GraphicUsed by:1214
Symbol 1054 GraphicUsed by:1214
Symbol 1055 GraphicUsed by:1214
Symbol 1056 GraphicUsed by:1214
Symbol 1057 GraphicUsed by:1214
Symbol 1058 GraphicUsed by:1214
Symbol 1059 GraphicUsed by:1214
Symbol 1060 GraphicUsed by:1214
Symbol 1061 GraphicUsed by:1214
Symbol 1062 GraphicUsed by:1214
Symbol 1063 GraphicUsed by:1214
Symbol 1064 GraphicUsed by:1214
Symbol 1065 GraphicUsed by:1214
Symbol 1066 GraphicUsed by:1214
Symbol 1067 GraphicUsed by:1214
Symbol 1068 GraphicUsed by:1214
Symbol 1069 GraphicUsed by:1214
Symbol 1070 GraphicUsed by:1214
Symbol 1071 GraphicUsed by:1214
Symbol 1072 GraphicUsed by:1073 1214
Symbol 1073 MovieClipUses:1072Used by:1214
Symbol 1074 GraphicUsed by:1214
Symbol 1075 GraphicUsed by:1214
Symbol 1076 GraphicUsed by:1214
Symbol 1077 GraphicUsed by:1214
Symbol 1078 GraphicUsed by:1214
Symbol 1079 GraphicUsed by:1214
Symbol 1080 GraphicUsed by:1214
Symbol 1081 GraphicUsed by:1214
Symbol 1082 GraphicUsed by:1214
Symbol 1083 GraphicUsed by:1214
Symbol 1084 GraphicUsed by:1214
Symbol 1085 GraphicUsed by:1214
Symbol 1086 GraphicUsed by:1214
Symbol 1087 GraphicUsed by:1214
Symbol 1088 GraphicUsed by:1214
Symbol 1089 GraphicUsed by:1214
Symbol 1090 GraphicUsed by:1214
Symbol 1091 GraphicUsed by:1214
Symbol 1092 GraphicUsed by:1214
Symbol 1093 GraphicUsed by:1214
Symbol 1094 GraphicUsed by:1214
Symbol 1095 GraphicUsed by:1214
Symbol 1096 GraphicUsed by:1214
Symbol 1097 GraphicUsed by:1214
Symbol 1098 GraphicUsed by:1214
Symbol 1099 GraphicUsed by:1214
Symbol 1100 GraphicUsed by:1214
Symbol 1101 GraphicUsed by:1214
Symbol 1102 GraphicUsed by:1214
Symbol 1103 GraphicUsed by:1214
Symbol 1104 GraphicUsed by:1214
Symbol 1105 GraphicUsed by:1214
Symbol 1106 GraphicUsed by:1214
Symbol 1107 GraphicUsed by:1214
Symbol 1108 GraphicUsed by:1214
Symbol 1109 GraphicUsed by:1214
Symbol 1110 GraphicUsed by:1214
Symbol 1111 GraphicUsed by:1214
Symbol 1112 GraphicUsed by:1214
Symbol 1113 GraphicUsed by:1214
Symbol 1114 GraphicUsed by:1214
Symbol 1115 GraphicUsed by:1214
Symbol 1116 GraphicUsed by:1214
Symbol 1117 GraphicUsed by:1214
Symbol 1118 GraphicUsed by:1214
Symbol 1119 GraphicUsed by:1214
Symbol 1120 GraphicUsed by:1214
Symbol 1121 GraphicUsed by:1214
Symbol 1122 GraphicUsed by:1214
Symbol 1123 GraphicUsed by:1214
Symbol 1124 GraphicUsed by:1214
Symbol 1125 GraphicUsed by:1214
Symbol 1126 GraphicUsed by:1214
Symbol 1127 GraphicUsed by:1214
Symbol 1128 GraphicUsed by:1214
Symbol 1129 GraphicUsed by:1214
Symbol 1130 GraphicUsed by:1214
Symbol 1131 GraphicUsed by:1214
Symbol 1132 GraphicUsed by:1214
Symbol 1133 GraphicUsed by:1214
Symbol 1134 GraphicUsed by:1214
Symbol 1135 GraphicUsed by:1214
Symbol 1136 GraphicUsed by:1214
Symbol 1137 GraphicUsed by:1214
Symbol 1138 GraphicUsed by:1214
Symbol 1139 GraphicUsed by:1214
Symbol 1140 GraphicUsed by:1214
Symbol 1141 GraphicUsed by:1214
Symbol 1142 GraphicUsed by:1214
Symbol 1143 GraphicUsed by:1214
Symbol 1144 GraphicUsed by:1214
Symbol 1145 GraphicUsed by:1214
Symbol 1146 GraphicUsed by:1214
Symbol 1147 GraphicUsed by:1214
Symbol 1148 GraphicUsed by:1214
Symbol 1149 GraphicUsed by:1214
Symbol 1150 GraphicUsed by:1214
Symbol 1151 GraphicUsed by:1214
Symbol 1152 GraphicUsed by:1214
Symbol 1153 GraphicUsed by:1214
Symbol 1154 GraphicUsed by:1214
Symbol 1155 GraphicUsed by:1214
Symbol 1156 GraphicUsed by:1214
Symbol 1157 GraphicUsed by:1214
Symbol 1158 GraphicUsed by:1214
Symbol 1159 GraphicUsed by:1214
Symbol 1160 GraphicUsed by:1214
Symbol 1161 GraphicUsed by:1214
Symbol 1162 GraphicUsed by:1214
Symbol 1163 GraphicUsed by:1214
Symbol 1164 GraphicUsed by:1214
Symbol 1165 GraphicUsed by:1214
Symbol 1166 GraphicUsed by:1214
Symbol 1167 GraphicUsed by:1214
Symbol 1168 GraphicUsed by:1214
Symbol 1169 GraphicUsed by:1214
Symbol 1170 GraphicUsed by:1214
Symbol 1171 GraphicUsed by:1214
Symbol 1172 GraphicUsed by:1214
Symbol 1173 GraphicUsed by:1214
Symbol 1174 GraphicUsed by:1214
Symbol 1175 GraphicUsed by:1214
Symbol 1176 GraphicUsed by:1214
Symbol 1177 GraphicUsed by:1214
Symbol 1178 GraphicUsed by:1214
Symbol 1179 GraphicUsed by:1214
Symbol 1180 GraphicUsed by:1214
Symbol 1181 GraphicUsed by:1214
Symbol 1182 GraphicUsed by:1214
Symbol 1183 GraphicUsed by:1214
Symbol 1184 GraphicUsed by:1214
Symbol 1185 GraphicUsed by:1214
Symbol 1186 GraphicUsed by:1214
Symbol 1187 GraphicUsed by:1214
Symbol 1188 GraphicUsed by:1214
Symbol 1189 GraphicUsed by:1214
Symbol 1190 GraphicUsed by:1214
Symbol 1191 GraphicUsed by:1214
Symbol 1192 GraphicUsed by:1214
Symbol 1193 GraphicUsed by:1214
Symbol 1194 GraphicUsed by:1214
Symbol 1195 GraphicUsed by:1214
Symbol 1196 GraphicUsed by:1214
Symbol 1197 GraphicUsed by:1214
Symbol 1198 GraphicUsed by:1214
Symbol 1199 GraphicUsed by:1214
Symbol 1200 GraphicUsed by:1214
Symbol 1201 GraphicUsed by:1214
Symbol 1202 GraphicUsed by:1214
Symbol 1203 GraphicUsed by:1214
Symbol 1204 GraphicUsed by:1214
Symbol 1205 GraphicUsed by:1214
Symbol 1206 GraphicUsed by:1214
Symbol 1207 GraphicUsed by:1214
Symbol 1208 GraphicUsed by:1214
Symbol 1209 GraphicUsed by:1214
Symbol 1210 GraphicUsed by:1214
Symbol 1211 GraphicUsed by:1214
Symbol 1212 GraphicUsed by:1214
Symbol 1213 GraphicUsed by:1214
Symbol 1214 MovieClip {enemies.DragonknightRoll}Uses:1039 1002 1003 1004 1005 1040 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1041 1042 1027 1043 1044 1045 1031 1032 1046 1034 1035 1047 1037 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1072 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213Used by:Timeline
Symbol 1215 GraphicUsed by:1216 1231 1412
Symbol 1216 MovieClip {enemies.Fireball1}Uses:1215Used by:Timeline
Symbol 1217 GraphicUsed by:1230
Symbol 1218 GraphicUsed by:1230
Symbol 1219 GraphicUsed by:1230
Symbol 1220 GraphicUsed by:1230
Symbol 1221 GraphicUsed by:1230
Symbol 1222 GraphicUsed by:1230
Symbol 1223 GraphicUsed by:1230
Symbol 1224 GraphicUsed by:1230
Symbol 1225 GraphicUsed by:1230
Symbol 1226 GraphicUsed by:1230
Symbol 1227 GraphicUsed by:1230
Symbol 1228 GraphicUsed by:1230
Symbol 1229 GraphicUsed by:1230
Symbol 1230 MovieClip {enemies.Thief1Roll}Uses:1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229Used by:Timeline
Symbol 1231 MovieClip {enemies.Fireball2}Uses:1215 103Used by:Timeline
Symbol 1232 GraphicUsed by:1270 1273
Symbol 1233 GraphicUsed by:1270 1273
Symbol 1234 GraphicUsed by:1270 1273
Symbol 1235 GraphicUsed by:1270 1273
Symbol 1236 GraphicUsed by:1270 1273
Symbol 1237 GraphicUsed by:1270 1273
Symbol 1238 GraphicUsed by:1270 1273
Symbol 1239 GraphicUsed by:1270
Symbol 1240 GraphicUsed by:1270 1273
Symbol 1241 GraphicUsed by:1270 1273
Symbol 1242 GraphicUsed by:1270 1273
Symbol 1243 GraphicUsed by:1270 1273
Symbol 1244 GraphicUsed by:1270 1273
Symbol 1245 GraphicUsed by:1270 1273
Symbol 1246 GraphicUsed by:1270 1273
Symbol 1247 GraphicUsed by:1270 1273
Symbol 1248 GraphicUsed by:1270 1273
Symbol 1249 GraphicUsed by:1270 1273
Symbol 1250 GraphicUsed by:1270 1273
Symbol 1251 GraphicUsed by:1270 1273
Symbol 1252 GraphicUsed by:1270 1273
Symbol 1253 GraphicUsed by:1270
Symbol 1254 GraphicUsed by:1270
Symbol 1255 GraphicUsed by:1270
Symbol 1256 GraphicUsed by:1270
Symbol 1257 GraphicUsed by:1270
Symbol 1258 GraphicUsed by:1270
Symbol 1259 GraphicUsed by:1270
Symbol 1260 GraphicUsed by:1270
Symbol 1261 GraphicUsed by:1270
Symbol 1262 GraphicUsed by:1270
Symbol 1263 GraphicUsed by:1270
Symbol 1264 GraphicUsed by:1270
Symbol 1265 GraphicUsed by:1270
Symbol 1266 GraphicUsed by:1270
Symbol 1267 GraphicUsed by:1270
Symbol 1268 GraphicUsed by:1270
Symbol 1269 GraphicUsed by:1270
Symbol 1270 MovieClip {enemies.HecterRoll}Uses:1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269Used by:Timeline
Symbol 1271 GraphicUsed by:1273
Symbol 1272 GraphicUsed by:1273
Symbol 1273 MovieClip {enemies.HecterS}Uses:1232 1233 1234 1235 1236 1237 1238 1271 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1272Used by:Timeline
Symbol 1274 GraphicUsed by:1275
Symbol 1275 MovieClipUses:1274Used by:1277
Symbol 1276 GraphicUsed by:1277
Symbol 1277 MovieClip {enemies.IBullet}Uses:1275 1276Used by:Timeline
Symbol 1278 GraphicUsed by:1279
Symbol 1279 MovieClip {enemies.BarRoll}Uses:1278Used by:Timeline
Symbol 1280 GraphicUsed by:1281
Symbol 1281 MovieClip {bars.Bar8}Uses:1280Used by:Timeline
Symbol 1282 GraphicUsed by:1283
Symbol 1283 MovieClip {bars.Bar1}Uses:1282Used by:Timeline
Symbol 1284 GraphicUsed by:1285
Symbol 1285 MovieClip {bars.Bar2}Uses:1284Used by:Timeline
Symbol 1286 GraphicUsed by:1287
Symbol 1287 MovieClip {bars.Bar0}Uses:1286Used by:Timeline
Symbol 1288 GraphicUsed by:1289
Symbol 1289 MovieClip {bars.Bar3}Uses:1288Used by:Timeline
Symbol 1290 GraphicUsed by:1291
Symbol 1291 MovieClip {bars.Bar4}Uses:1290Used by:Timeline
Symbol 1292 GraphicUsed by:1293
Symbol 1293 MovieClip {bars.Bar5}Uses:1292Used by:Timeline
Symbol 1294 GraphicUsed by:1295
Symbol 1295 MovieClip {bars.Bar6}Uses:1294Used by:Timeline
Symbol 1296 GraphicUsed by:1297
Symbol 1297 MovieClip {bars.Bar7}Uses:1296Used by:Timeline
Symbol 1298 GraphicUsed by:1299
Symbol 1299 MovieClip {bars.Bar9}Uses:1298Used by:Timeline
Symbol 1300 GraphicUsed by:1301
Symbol 1301 MovieClip {bars.Bar10}Uses:1300Used by:Timeline
Symbol 1302 GraphicUsed by:1303
Symbol 1303 MovieClip {bars.Bar11}Uses:1302Used by:Timeline
Symbol 1304 GraphicUsed by:1322
Symbol 1305 GraphicUsed by:1322
Symbol 1306 GraphicUsed by:1322
Symbol 1307 GraphicUsed by:1322
Symbol 1308 GraphicUsed by:1322
Symbol 1309 GraphicUsed by:1322
Symbol 1310 GraphicUsed by:1322
Symbol 1311 GraphicUsed by:1322
Symbol 1312 GraphicUsed by:1322
Symbol 1313 GraphicUsed by:1322
Symbol 1314 GraphicUsed by:1322
Symbol 1315 GraphicUsed by:1322
Symbol 1316 GraphicUsed by:1322
Symbol 1317 GraphicUsed by:1322
Symbol 1318 GraphicUsed by:1322
Symbol 1319 GraphicUsed by:1322
Symbol 1320 GraphicUsed by:1322
Symbol 1321 GraphicUsed by:1322
Symbol 1322 MovieClip {rolls.CureRain}Uses:1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321Used by:Timeline
Symbol 1323 BitmapUsed by:1324
Symbol 1324 GraphicUses:1323Used by:1325
Symbol 1325 MovieClip {walls.Wall61}Uses:1324Used by:Timeline
Symbol 1326 BitmapUsed by:1331 1333
Symbol 1327 BitmapUsed by:1331 1333
Symbol 1328 BitmapUsed by:1331
Symbol 1329 BitmapUsed by:1331 1333
Symbol 1330 BitmapUsed by:1331
Symbol 1331 GraphicUses:1326 1327 1328 1329 1330Used by:1332
Symbol 1332 MovieClip {walls.Wall62}Uses:1331Used by:Timeline
Symbol 1333 GraphicUses:1329 1326 1327Used by:1334
Symbol 1334 MovieClip {walls.Wall63}Uses:1333Used by:Timeline
Symbol 1335 BitmapUsed by:1336
Symbol 1336 GraphicUses:1335Used by:1358
Symbol 1337 GraphicUsed by:1339
Symbol 1338 GraphicUsed by:1339
Symbol 1339 ButtonUses:1337 1338Used by:1358
Symbol 1340 GraphicUsed by:1342
Symbol 1341 GraphicUsed by:1342
Symbol 1342 ButtonUses:1340 1341Used by:1358
Symbol 1343 GraphicUsed by:1345
Symbol 1344 GraphicUsed by:1345
Symbol 1345 ButtonUses:1343 1344Used by:1358
Symbol 1346 GraphicUsed by:1351
Symbol 1347 ShapeTweeningUsed by:1351
Symbol 1348 GraphicUsed by:1351
Symbol 1349 GraphicUsed by:1351
Symbol 1350 GraphicUsed by:1351
Symbol 1351 MovieClip {BlueKnight_US_English2_fla.gameocertitle_126}Uses:1346 1347 1348 1349 1350Used by:1358
Symbol 1352 GraphicUsed by:1354
Symbol 1353 GraphicUsed by:1354
Symbol 1354 ButtonUses:1352 1353Used by:1358 1914 1924
Symbol 1355 GraphicUsed by:1358
Symbol 1356 GraphicUsed by:1357 1423 1777 1842 1886
Symbol 1357 MovieClip {walls.ZZ}Uses:1356Used by:1358 1362 1839 1842 1867 1872 1914
Symbol 1358 MovieClip {ui.Gameover}Uses:1336 1339 1342 1345 1351 1354 1355 1357Used by:Timeline
Symbol 1359 MovieClip {rolls.FFist}Uses:167Used by:Timeline
Symbol 1360 BitmapUsed by:1361 1887
Symbol 1361 GraphicUses:1360Used by:1362
Symbol 1362 MovieClip {ui.Company}Uses:1361 1357Used by:Timeline
Symbol 1363 GraphicUsed by:1367
Symbol 1364 GraphicUsed by:1367
Symbol 1365 GraphicUsed by:1366
Symbol 1366 MovieClipUses:1365Used by:1367
Symbol 1367 MovieClip {objects.Sheild2obj}Uses:1363 1364 1366Used by:Timeline
Symbol 1368 GraphicUsed by:1372
Symbol 1369 GraphicUsed by:1372
Symbol 1370 GraphicUsed by:1371
Symbol 1371 MovieClipUses:1370Used by:1372
Symbol 1372 MovieClip {objects.Sheild3obj}Uses:1368 1369 1371Used by:Timeline
Symbol 1373 GraphicUsed by:1377
Symbol 1374 GraphicUsed by:1377
Symbol 1375 GraphicUsed by:1376
Symbol 1376 MovieClipUses:1375Used by:1377
Symbol 1377 MovieClip {objects.Sheild4obj}Uses:1373 1374 1376Used by:Timeline
Symbol 1378 GraphicUsed by:1382
Symbol 1379 GraphicUsed by:1382
Symbol 1380 GraphicUsed by:1381
Symbol 1381 MovieClipUses:1380Used by:1382
Symbol 1382 MovieClip {objects.Sheild5obj}Uses:1378 1379 1381Used by:Timeline
Symbol 1383 GraphicUsed by:1385
Symbol 1384 GraphicUsed by:1385
Symbol 1385 MovieClip {enemies.Boss2State}Uses:1383 134 1384Used by:Timeline
Symbol 1386 MovieClip {MagicStar3}Uses:920Used by:Timeline
Symbol 1387 MovieClip {MagicStar4}Uses:922Used by:Timeline
Symbol 1388 GraphicUsed by:1390
Symbol 1389 GraphicUsed by:1390
Symbol 1390 MovieClip {enemies.Boss6State}Uses:1388 134 1389Used by:Timeline
Symbol 1391 GraphicUsed by:1393
Symbol 1392 GraphicUsed by:1393
Symbol 1393 MovieClip {objects.Aobj1}Uses:1391 1392Used by:Timeline
Symbol 1394 GraphicUsed by:1396
Symbol 1395 GraphicUsed by:1396
Symbol 1396 MovieClip {objects.Aobj2}Uses:1394 1395Used by:Timeline
Symbol 1397 GraphicUsed by:1399
Symbol 1398 GraphicUsed by:1399
Symbol 1399 MovieClip {objects.Aobj3}Uses:1397 1398Used by:Timeline
Symbol 1400 GraphicUsed by:1402
Symbol 1401 GraphicUsed by:1402
Symbol 1402 MovieClip {objects.Aobj4}Uses:1400 1401Used by:Timeline
Symbol 1403 GraphicUsed by:1405
Symbol 1404 GraphicUsed by:1405
Symbol 1405 MovieClip {objects.Aobj5}Uses:1403 1404Used by:Timeline
Symbol 1406 GraphicUsed by:1408
Symbol 1407 GraphicUsed by:1408
Symbol 1408 MovieClip {objects.Aobj6}Uses:1406 1407Used by:Timeline
Symbol 1409 GraphicUsed by:1411
Symbol 1410 GraphicUsed by:1411
Symbol 1411 MovieClip {objects.Aobj7}Uses:1409 1410Used by:Timeline
Symbol 1412 MovieClip {enemies.Fireball3}Uses:1215 103Used by:Timeline
Symbol 1413 GraphicUses:105Used by:1414  Timeline
Symbol 1414 MovieClip {walls.Wall101}Uses:1413Used by:Timeline
Symbol 1415 GraphicUses:111 110 109 113 115 116 114 118Used by:1416
Symbol 1416 MovieClip {walls.Wall102}Uses:1415Used by:Timeline
Symbol 1417 GraphicUses:108 124 125Used by:1418
Symbol 1418 MovieClip {walls.Wall103}Uses:1417Used by:Timeline
Symbol 1419 MovieClip {Dialog2}Uses:322Used by:Timeline
Symbol 1420 GraphicUsed by:1421 1422
Symbol 1421 MovieClip {Dialog3}Uses:1420Used by:Timeline
Symbol 1422 MovieClip {Dialog4}Uses:1420Used by:Timeline
Symbol 1423 MovieClip {walls.ZZ2}Uses:1356Used by:1863 1886  Timeline
Symbol 1424 BitmapUsed by:1425
Symbol 1425 GraphicUses:1424Used by:1426
Symbol 1426 MovieClip {walls.Wall20}Uses:1425Used by:Timeline
Symbol 1427 BitmapUsed by:1429
Symbol 1428 BitmapUsed by:1429
Symbol 1429 GraphicUses:1427 1428Used by:1430
Symbol 1430 MovieClip {walls.Wall21}Uses:1429Used by:Timeline
Symbol 1431 BitmapUsed by:1437
Symbol 1432 BitmapUsed by:1437
Symbol 1433 BitmapUsed by:1437 1440
Symbol 1434 BitmapUsed by:1437
Symbol 1435 BitmapUsed by:1437
Symbol 1436 BitmapUsed by:1437
Symbol 1437 GraphicUses:1431 1432 1433 1434 1435 1436Used by:1438
Symbol 1438 MovieClip {walls.Wall22}Uses:1437Used by:Timeline
Symbol 1439 BitmapUsed by:1440
Symbol 1440 GraphicUses:1433 1439Used by:1441
Symbol 1441 MovieClip {walls.Wall23}Uses:1440Used by:Timeline
Symbol 1442 BitmapUsed by:1443
Symbol 1443 GraphicUses:1442Used by:1444
Symbol 1444 MovieClip {walls.Wall41}Uses:1443Used by:Timeline
Symbol 1445 BitmapUsed by:1455
Symbol 1446 BitmapUsed by:1455
Symbol 1447 BitmapUsed by:1455
Symbol 1448 BitmapUsed by:1455
Symbol 1449 BitmapUsed by:1455
Symbol 1450 BitmapUsed by:1455
Symbol 1451 BitmapUsed by:1455
Symbol 1452 BitmapUsed by:1455
Symbol 1453 BitmapUsed by:1455
Symbol 1454 BitmapUsed by:1455
Symbol 1455 GraphicUses:1445 1446 1447 1448 1449 1450 1451 1452 1453 1454Used by:1456
Symbol 1456 MovieClip {walls.Wall42}Uses:1455Used by:Timeline
Symbol 1457 BitmapUsed by:1466
Symbol 1458 BitmapUsed by:1466
Symbol 1459 BitmapUsed by:1466
Symbol 1460 BitmapUsed by:1466
Symbol 1461 BitmapUsed by:1466
Symbol 1462 BitmapUsed by:1466
Symbol 1463 BitmapUsed by:1466
Symbol 1464 BitmapUsed by:1466
Symbol 1465 BitmapUsed by:1466
Symbol 1466 GraphicUses:1457 1458 1459 1460 1461 1462 1463 1464 1465Used by:1467
Symbol 1467 MovieClip {walls.Wall43}Uses:1466Used by:Timeline
Symbol 1468 GraphicUsed by:1471
Symbol 1469 GraphicUsed by:1471
Symbol 1470 GraphicUsed by:1471
Symbol 1471 MovieClip {enemies.Boss4State}Uses:1468 134 1469 327 1470Used by:Timeline
Symbol 1472 GraphicUsed by:1537
Symbol 1473 GraphicUsed by:1537
Symbol 1474 GraphicUsed by:1537
Symbol 1475 GraphicUsed by:1537
Symbol 1476 GraphicUsed by:1537
Symbol 1477 GraphicUsed by:1478 1537
Symbol 1478 MovieClipUses:1477Used by:1537
Symbol 1479 GraphicUsed by:1537
Symbol 1480 GraphicUsed by:1537
Symbol 1481 GraphicUsed by:1537
Symbol 1482 GraphicUsed by:1537
Symbol 1483 GraphicUsed by:1537
Symbol 1484 GraphicUsed by:1537
Symbol 1485 GraphicUsed by:1537
Symbol 1486 GraphicUsed by:1537
Symbol 1487 GraphicUsed by:1537
Symbol 1488 GraphicUsed by:1537
Symbol 1489 GraphicUsed by:1537
Symbol 1490 GraphicUsed by:1537
Symbol 1491 GraphicUsed by:1537
Symbol 1492 GraphicUsed by:1537
Symbol 1493 GraphicUsed by:1537
Symbol 1494 GraphicUsed by:1537
Symbol 1495 GraphicUsed by:1537
Symbol 1496 GraphicUsed by:1537
Symbol 1497 GraphicUsed by:1537
Symbol 1498 GraphicUsed by:1537
Symbol 1499 GraphicUsed by:1537
Symbol 1500 GraphicUsed by:1537
Symbol 1501 GraphicUsed by:1537
Symbol 1502 GraphicUsed by:1537
Symbol 1503 GraphicUsed by:1537
Symbol 1504 GraphicUsed by:1537
Symbol 1505 GraphicUsed by:1537
Symbol 1506 GraphicUsed by:1537
Symbol 1507 GraphicUsed by:1537
Symbol 1508 GraphicUsed by:1537
Symbol 1509 GraphicUsed by:1537
Symbol 1510 GraphicUsed by:1537
Symbol 1511 GraphicUsed by:1537
Symbol 1512 GraphicUsed by:1537
Symbol 1513 GraphicUsed by:1537
Symbol 1514 GraphicUsed by:1537
Symbol 1515 GraphicUsed by:1537
Symbol 1516 GraphicUsed by:1525 1537
Symbol 1517 GraphicUsed by:1537
Symbol 1518 GraphicUsed by:1537
Symbol 1519 GraphicUsed by:1537
Symbol 1520 GraphicUsed by:1537
Symbol 1521 GraphicUsed by:1537
Symbol 1522 GraphicUsed by:1537
Symbol 1523 GraphicUsed by:1537
Symbol 1524 GraphicUsed by:1537
Symbol 1525 MovieClipUses:1516Used by:1537
Symbol 1526 GraphicUsed by:1537
Symbol 1527 GraphicUsed by:1537
Symbol 1528 GraphicUsed by:1537
Symbol 1529 GraphicUsed by:1537
Symbol 1530 GraphicUsed by:1537
Symbol 1531 GraphicUsed by:1537
Symbol 1532 GraphicUsed by:1537
Symbol 1533 GraphicUsed by:1537
Symbol 1534 GraphicUsed by:1536 1537
Symbol 1535 GraphicUsed by:1537
Symbol 1536 MovieClipUses:1534Used by:1537
Symbol 1537 MovieClip {enemies.Deathhead2Roll}Uses:1472 1473 1474 1475 1476 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1477 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536Used by:Timeline
Symbol 1538 GraphicUsed by:1552
Symbol 1539 GraphicUsed by:1550 1552
Symbol 1540 GraphicUsed by:1552
Symbol 1541 GraphicUsed by:1552
Symbol 1542 GraphicUsed by:1552
Symbol 1543 GraphicUsed by:1552
Symbol 1544 GraphicUsed by:1552
Symbol 1545 GraphicUsed by:1552
Symbol 1546 GraphicUsed by:1552
Symbol 1547 GraphicUsed by:1552
Symbol 1548 GraphicUsed by:1552
Symbol 1549 GraphicUsed by:1552
Symbol 1550 MovieClipUses:1539Used by:1551
Symbol 1551 MovieClipUses:976 1550Used by:1552
Symbol 1552 MovieClip {enemies.Deathhead1Roll}Uses:1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1551Used by:Timeline
Symbol 1553 GraphicUsed by:1572 1639
Symbol 1554 GraphicUsed by:1572 1639
Symbol 1555 GraphicUsed by:1572 1639
Symbol 1556 GraphicUsed by:1572 1639
Symbol 1557 GraphicUsed by:1572 1639
Symbol 1558 GraphicUsed by:1572 1639
Symbol 1559 GraphicUsed by:1572 1639
Symbol 1560 GraphicUsed by:1572
Symbol 1561 GraphicUsed by:1572
Symbol 1562 GraphicUsed by:1572
Symbol 1563 GraphicUsed by:1572
Symbol 1564 GraphicUsed by:1572
Symbol 1565 GraphicUsed by:1572
Symbol 1566 GraphicUsed by:1572
Symbol 1567 GraphicUsed by:1572
Symbol 1568 GraphicUsed by:1572
Symbol 1569 GraphicUsed by:1572
Symbol 1570 GraphicUsed by:1572
Symbol 1571 GraphicUsed by:1572
Symbol 1572 MovieClipUses:1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571Used by:1639
Symbol 1573 GraphicUsed by:1639
Symbol 1574 GraphicUsed by:1639
Symbol 1575 GraphicUsed by:1639
Symbol 1576 GraphicUsed by:1639
Symbol 1577 GraphicUsed by:1639
Symbol 1578 GraphicUsed by:1639
Symbol 1579 GraphicUsed by:1639
Symbol 1580 GraphicUsed by:1639
Symbol 1581 GraphicUsed by:1639
Symbol 1582 GraphicUsed by:1639
Symbol 1583 GraphicUsed by:1639
Symbol 1584 GraphicUsed by:1639
Symbol 1585 GraphicUsed by:1639
Symbol 1586 GraphicUsed by:1639
Symbol 1587 GraphicUsed by:1639
Symbol 1588 GraphicUsed by:1639
Symbol 1589 GraphicUsed by:1639
Symbol 1590 GraphicUsed by:1639
Symbol 1591 GraphicUsed by:1639
Symbol 1592 GraphicUsed by:1639
Symbol 1593 GraphicUsed by:1639
Symbol 1594 GraphicUsed by:1639
Symbol 1595 GraphicUsed by:1639
Symbol 1596 GraphicUsed by:1639
Symbol 1597 GraphicUsed by:1639
Symbol 1598 GraphicUsed by:1639
Symbol 1599 GraphicUsed by:1639
Symbol 1600 GraphicUsed by:1639
Symbol 1601 GraphicUsed by:1639
Symbol 1602 GraphicUsed by:1639
Symbol 1603 GraphicUsed by:1639
Symbol 1604 GraphicUsed by:1639
Symbol 1605 GraphicUsed by:1639
Symbol 1606 GraphicUsed by:1639
Symbol 1607 GraphicUsed by:1639
Symbol 1608 GraphicUsed by:1639
Symbol 1609 GraphicUsed by:1639
Symbol 1610 GraphicUsed by:1639
Symbol 1611 GraphicUsed by:1639
Symbol 1612 GraphicUsed by:1639
Symbol 1613 GraphicUsed by:1639
Symbol 1614 GraphicUsed by:1639
Symbol 1615 GraphicUsed by:1639
Symbol 1616 GraphicUsed by:1639
Symbol 1617 GraphicUsed by:1639
Symbol 1618 GraphicUsed by:1639
Symbol 1619 GraphicUsed by:1620 1639
Symbol 1620 MovieClipUses:1619Used by:1639
Symbol 1621 GraphicUsed by:1639
Symbol 1622 GraphicUsed by:1639
Symbol 1623 GraphicUsed by:1639
Symbol 1624 GraphicUsed by:1639
Symbol 1625 GraphicUsed by:1639
Symbol 1626 GraphicUsed by:1639
Symbol 1627 GraphicUsed by:1639
Symbol 1628 GraphicUsed by:1639
Symbol 1629 GraphicUsed by:1639
Symbol 1630 GraphicUsed by:1639
Symbol 1631 GraphicUsed by:1639
Symbol 1632 GraphicUsed by:1639
Symbol 1633 GraphicUsed by:1639
Symbol 1634 GraphicUsed by:1639
Symbol 1635 GraphicUsed by:1639
Symbol 1636 GraphicUsed by:1639
Symbol 1637 GraphicUsed by:1639
Symbol 1638 GraphicUsed by:1639
Symbol 1639 MovieClip {enemies.BirdmanRoll}Uses:1572 1573 1554 1555 1556 1557 1558 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1553 1559 1620 1621 1622 1623 1624 1625 1626 1619 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638Used by:Timeline
Symbol 1640 GraphicUsed by:1641
Symbol 1641 MovieClip {Shed}Uses:1640Used by:Timeline
Symbol 1642 GraphicUses:115 116 109 111 110 114 118Used by:1646
Symbol 1643 GraphicUsed by:1644
Symbol 1644 MovieClip {BlueKnight_US_English2_fla.shead_178}Uses:1643Used by:1646
Symbol 1645 GraphicUsed by:1646
Symbol 1646 MovieClip {walls.Wall112}Uses:1642 1644 1645Used by:Timeline
Symbol 1647 GraphicUses:124 125 108Used by:1648
Symbol 1648 MovieClip {walls.Wall113}Uses:1647Used by:Timeline
Symbol 1649 GraphicUsed by:1677
Symbol 1650 GraphicUsed by:1677
Symbol 1651 GraphicUsed by:1677
Symbol 1652 GraphicUsed by:1677
Symbol 1653 GraphicUsed by:1677
Symbol 1654 GraphicUsed by:1677
Symbol 1655 GraphicUsed by:1677
Symbol 1656 GraphicUsed by:1677
Symbol 1657 GraphicUsed by:1677
Symbol 1658 GraphicUsed by:1677
Symbol 1659 GraphicUsed by:1677
Symbol 1660 GraphicUsed by:1677
Symbol 1661 GraphicUsed by:1677
Symbol 1662 GraphicUsed by:1677
Symbol 1663 GraphicUsed by:1677
Symbol 1664 GraphicUsed by:1677
Symbol 1665 GraphicUsed by:1677
Symbol 1666 GraphicUsed by:1677
Symbol 1667 GraphicUsed by:1677
Symbol 1668 GraphicUsed by:1677
Symbol 1669 GraphicUsed by:1677
Symbol 1670 GraphicUsed by:1677
Symbol 1671 GraphicUsed by:1677
Symbol 1672 GraphicUsed by:1677
Symbol 1673 GraphicUsed by:1677
Symbol 1674 GraphicUsed by:1677
Symbol 1675 GraphicUsed by:1677
Symbol 1676 GraphicUsed by:1677
Symbol 1677 MovieClipUses:1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676Used by:1678 1865
Symbol 1678 MovieClip {objects.Relivecross}Uses:1677Used by:Timeline
Symbol 1679 GraphicUsed by:1683
Symbol 1680 GraphicUsed by:1683
Symbol 1681 GraphicUsed by:1683
Symbol 1682 GraphicUsed by:1683
Symbol 1683 MovieClip {rolls.SwordShadow2}Uses:1679 1680 1681 1682Used by:Timeline
Symbol 1684 MovieClip {rolls.FFist2}Uses:167Used by:Timeline
Symbol 1685 GraphicUsed by:1687
Symbol 1686 GraphicUsed by:1687
Symbol 1687 MovieClip {rolls.SwordShadow3}Uses:1685 1686Used by:Timeline
Symbol 1688 BitmapUsed by:1689 1779
Symbol 1689 GraphicUses:1688 33Used by:1778
Symbol 1690 MovieClipUsed by:1778
Symbol 1691 BitmapUsed by:1692 1784
Symbol 1692 GraphicUses:1691Used by:1778
Symbol 1693 GraphicUsed by:1695
Symbol 1694 GraphicUsed by:1695
Symbol 1695 MovieClip {BlueKnight_US_English2_fla.w_keyMC_188}Uses:1693 1694Used by:1738
Symbol 1696 GraphicUsed by:1698
Symbol 1697 GraphicUsed by:1698
Symbol 1698 MovieClip {BlueKnight_US_English2_fla.a_keyMC_189}Uses:1696 1697Used by:1738
Symbol 1699 GraphicUsed by:1701
Symbol 1700 GraphicUsed by:1701
Symbol 1701 MovieClip {BlueKnight_US_English2_fla.s_keyMC_190}Uses:1699 1700Used by:1738
Symbol 1702 GraphicUsed by:1704
Symbol 1703 GraphicUsed by:1704
Symbol 1704 MovieClip {BlueKnight_US_English2_fla.d_keyMC_191}Uses:1702 1703Used by:1738
Symbol 1705 GraphicUsed by:1707
Symbol 1706 GraphicUsed by:1707
Symbol 1707 MovieClip {BlueKnight_US_English2_fla.j_keyMC_192}Uses:1705 1706Used by:1738
Symbol 1708 GraphicUsed by:1710
Symbol 1709 GraphicUsed by:1710
Symbol 1710 MovieClip {BlueKnight_US_English2_fla.i_keyMC_193}Uses:1708 1709Used by:1738
Symbol 1711 GraphicUsed by:1713
Symbol 1712 GraphicUsed by:1713
Symbol 1713 MovieClip {BlueKnight_US_English2_fla.k_keyMC_194}Uses:1711 1712Used by:1738
Symbol 1714 GraphicUsed by:1716
Symbol 1715 GraphicUsed by:1716
Symbol 1716 MovieClip {BlueKnight_US_English2_fla.l_keyMC_195}Uses:1714 1715Used by:1738
Symbol 1717 GraphicUsed by:1738
Symbol 1718 GraphicUsed by:1737
Symbol 1719 GraphicUsed by:1737
Symbol 1720 GraphicUsed by:1737
Symbol 1721 GraphicUsed by:1737
Symbol 1722 GraphicUsed by:1737
Symbol 1723 GraphicUsed by:1737
Symbol 1724 GraphicUsed by:1737
Symbol 1725 GraphicUsed by:1737
Symbol 1726 GraphicUsed by:1737
Symbol 1727 GraphicUsed by:1737
Symbol 1728 GraphicUsed by:1737
Symbol 1729 GraphicUsed by:1737
Symbol 1730 GraphicUsed by:1737
Symbol 1731 GraphicUsed by:1737
Symbol 1732 GraphicUsed by:1737
Symbol 1733 GraphicUsed by:1737
Symbol 1734 GraphicUsed by:1737
Symbol 1735 GraphicUsed by:1737
Symbol 1736 GraphicUsed by:1737
Symbol 1737 MovieClipUses:1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736Used by:1738 1764
Symbol 1738 MovieClip {ui.KeyShow1}Uses:1695 1698 1701 1704 1707 1710 1713 1716 1717 1737Used by:1778
Symbol 1739 GraphicUsed by:1741
Symbol 1740 GraphicUsed by:1741
Symbol 1741 MovieClip {BlueKnight_US_English2_fla.z_keyMC_198}Uses:1739 1740Used by:1764
Symbol 1742 GraphicUsed by:1744
Symbol 1743 GraphicUsed by:1744
Symbol 1744 MovieClip {BlueKnight_US_English2_fla.x_keyMC_199}Uses:1742 1743Used by:1764
Symbol 1745 GraphicUsed by:1747
Symbol 1746 GraphicUsed by:1747
Symbol 1747 MovieClip {BlueKnight_US_English2_fla.c_keyMC_200}Uses:1745 1746Used by:1764
Symbol 1748 GraphicUsed by:1750
Symbol 1749 GraphicUsed by:1750
Symbol 1750 MovieClip {BlueKnight_US_English2_fla.space_keyMC_201}Uses:1748 1749Used by:1764
Symbol 1751 GraphicUsed by:1753
Symbol 1752 GraphicUsed by:1753
Symbol 1753 MovieClip {BlueKnight_US_English2_fla.up_keyMC_202}Uses:1751 1752Used by:1764
Symbol 1754 GraphicUsed by:1756
Symbol 1755 GraphicUsed by:1756
Symbol 1756 MovieClip {BlueKnight_US_English2_fla.left_keyMC_203}Uses:1754 1755Used by:1764
Symbol 1757 GraphicUsed by:1759
Symbol 1758 GraphicUsed by:1759
Symbol 1759 MovieClip {BlueKnight_US_English2_fla.right_keyMC_204}Uses:1757 1758Used by:1764
Symbol 1760 GraphicUsed by:1762
Symbol 1761 GraphicUsed by:1762
Symbol 1762 MovieClip {BlueKnight_US_English2_fla.down_keyMC_205}Uses:1760 1761Used by:1764
Symbol 1763 GraphicUsed by:1764
Symbol 1764 MovieClip {ui.KeyShow2}Uses:1741 1744 1747 1750 1753 1756 1759 1762 1763 1737Used by:1778
Symbol 1765 GraphicUsed by:1766
Symbol 1766 MovieClip {BlueKnight_US_English2_fla.curten_206}Uses:1765Used by:1778
Symbol 1767 GraphicUsed by:1778
Symbol 1768 GraphicUsed by:1770
Symbol 1769 GraphicUsed by:1770
Symbol 1770 ButtonUses:1768 1769Used by:1778
Symbol 1771 GraphicUsed by:1773
Symbol 1772 GraphicUsed by:1773
Symbol 1773 ButtonUses:1771 1772Used by:1778
Symbol 1774 GraphicUsed by:1776
Symbol 1775 GraphicUsed by:1776
Symbol 1776 ButtonUses:1774 1775Used by:1778
Symbol 1777 MovieClip {BlueKnight_US_English2_fla.zz2_210}Uses:1356Used by:1778 1853 1924
Symbol 1778 MovieClip {ui.ChooseType}Uses:1689 1690 1692 1738 1764 1766 1767 1770 1773 1776 1777Used by:Timeline
Symbol 1779 GraphicUses:1688Used by:1780
Symbol 1780 MovieClip {walls.Wall32}Uses:1779Used by:Timeline
Symbol 1781 GraphicUsed by:1783
Symbol 1782 GraphicUsed by:1783
Symbol 1783 MovieClip {enemies.Boss3State}Uses:1781 134 1782Used by:Timeline
Symbol 1784 GraphicUses:1691Used by:1785
Symbol 1785 MovieClip {walls.Wall33}Uses:1784Used by:Timeline
Symbol 1786 GraphicUsed by:1788
Symbol 1787 GraphicUsed by:1788
Symbol 1788 MovieClip {rolls.Levelup}Uses:1786 1787Used by:Timeline
Symbol 1789 BitmapUsed by:1790
Symbol 1790 GraphicUses:1789Used by:1791
Symbol 1791 MovieClip {walls.Wall51}Uses:1790Used by:Timeline
Symbol 1792 BitmapUsed by:1800
Symbol 1793 BitmapUsed by:1800
Symbol 1794 BitmapUsed by:1800
Symbol 1795 BitmapUsed by:1800
Symbol 1796 BitmapUsed by:1800
Symbol 1797 BitmapUsed by:1800
Symbol 1798 BitmapUsed by:1800
Symbol 1799 BitmapUsed by:1800
Symbol 1800 GraphicUses:1792 1793 1794 1795 1796 1797 1798 1799Used by:1801
Symbol 1801 MovieClip {walls.Wall52}Uses:1800Used by:Timeline
Symbol 1802 BitmapUsed by:1803
Symbol 1803 GraphicUses:1802Used by:1804
Symbol 1804 MovieClip {walls.Wall53}Uses:1803Used by:Timeline
Symbol 1805 GraphicUsed by:1807
Symbol 1806 GraphicUsed by:1807
Symbol 1807 MovieClip {enemies.Boss5State}Uses:1805 134 1806Used by:Timeline
Symbol 1808 GraphicUsed by:1839
Symbol 1809 GraphicUsed by:1811
Symbol 1810 GraphicUsed by:1811
Symbol 1811 ButtonUses:1809 1810Used by:1839
Symbol 1812 GraphicUsed by:1814
Symbol 1813 GraphicUsed by:1814
Symbol 1814 ButtonUses:1812 1813Used by:1839
Symbol 1815 GraphicUsed by:1822
Symbol 1816 FontUsed by:1817 1818 1820 1824 1825 1866
Symbol 1817 EditableTextUses:1816Used by:1822
Symbol 1818 EditableTextUses:1816Used by:1822
Symbol 1819 GraphicUsed by:1822
Symbol 1820 EditableTextUses:1816Used by:1822
Symbol 1821 GraphicUsed by:1822
Symbol 1822 MovieClip {BlueKnight_US_English2_fla.huamianzhiliang_223}Uses:1815 1817 1818 1819 1820 1821Used by:1839
Symbol 1823 GraphicUsed by:1826
Symbol 1824 EditableTextUses:1816Used by:1826
Symbol 1825 EditableTextUses:1816Used by:1826
Symbol 1826 MovieClip {BlueKnight_US_English2_fla.shengyinkaiguan_224}Uses:1823 1824 1825Used by:1839
Symbol 1827 GraphicUsed by:1828 1832
Symbol 1828 MovieClipUses:1827Used by:1832
Symbol 1829 GraphicUsed by:1832
Symbol 1830 GraphicUsed by:1832
Symbol 1831 GraphicUsed by:1832
Symbol 1832 ButtonUses:1828 1829 1830 1831 1827Used by:1839
Symbol 1833 GraphicUsed by:1835
Symbol 1834 GraphicUsed by:1835
Symbol 1835 ButtonUses:1833 1834Used by:1839
Symbol 1836 GraphicUsed by:1838
Symbol 1837 GraphicUsed by:1838
Symbol 1838 ButtonUses:1836 1837Used by:1839
Symbol 1839 MovieClip {ui.Gamestart}Uses:1808 1811 1814 1822 1826 1832 1835 1838 1357Used by:Timeline
Symbol 1840 FontUsed by:1841 1855 1856 1857 1858 1859
Symbol 1841 TextUses:1840Used by:1842
Symbol 1842 MovieClip {ui.Predai}Uses:1356 1841 1357Used by:Timeline
Symbol 1843 BitmapUsed by:1844
Symbol 1844 GraphicUses:1843Used by:1853
Symbol 1845 GraphicUsed by:1846
Symbol 1846 MovieClipUses:1845Used by:1853
Symbol 1847 GraphicUsed by:1852
Symbol 1848 GraphicUsed by:1852
Symbol 1849 GraphicUsed by:1852
Symbol 1850 GraphicUsed by:1852
Symbol 1851 GraphicUsed by:1852
Symbol 1852 MovieClip {BlueKnight_US_English2_fla.road_232}Uses:1847 1848 1849 1850 1851Used by:1853
Symbol 1853 MovieClip {ui.Map}Uses:1844 1846 1852 1777Used by:Timeline
Symbol 1854 GraphicUsed by:1863
Symbol 1855 TextUses:1840Used by:1863
Symbol 1856 TextUses:1840Used by:1863
Symbol 1857 TextUses:1840Used by:1863
Symbol 1858 TextUses:1840Used by:1863
Symbol 1859 TextUses:1840Used by:1863
Symbol 1860 GraphicUsed by:1862
Symbol 1861 GraphicUsed by:1862
Symbol 1862 ButtonUses:1860 1861Used by:1863
Symbol 1863 MovieClip {ui.ChooseC}Uses:1854 1855 1856 1857 1858 1859 1862 1423Used by:Timeline
Symbol 1864 GraphicUsed by:1867
Symbol 1865 MovieClipUses:1677Used by:1867
Symbol 1866 EditableTextUses:1816Used by:1867
Symbol 1867 MovieClip {ui.ReliveStage}Uses:1864 1865 1866 1357Used by:Timeline
Symbol 1868 BitmapUsed by:1869
Symbol 1869 GraphicUses:1868Used by:1872
Symbol 1870 FontUsed by:1871 1877 1916
Symbol 1871 EditableTextUses:1870Used by:1872
Symbol 1872 MovieClip {ui.Congratulation}Uses:1869 1871 1357Used by:Timeline
Symbol 1873 TextUses:151Used by:1885
Symbol 1874 TextUses:151Used by:1885
Symbol 1875 TextUses:151Used by:1885
Symbol 1876 TextUses:151Used by:1885
Symbol 1877 EditableTextUses:1870Used by:1885
Symbol 1878 TextUses:151Used by:1885
Symbol 1879 FontUsed by:1880 1881 1882 1883 1884
Symbol 1880 TextUses:1879Used by:1885
Symbol 1881 TextUses:1879Used by:1885
Symbol 1882 TextUses:1879Used by:1885
Symbol 1883 TextUses:1879Used by:1885
Symbol 1884 TextUses:1879Used by:1885
Symbol 1885 MovieClipUses:1873 1874 1875 1876 1877 1878 1880 1881 1882 1883 1884Used by:1886
Symbol 1886 MovieClip {ui.BaoYouyuan}Uses:1356 1885 1423Used by:Timeline
Symbol 1887 GraphicUses:1360Used by:1914
Symbol 1888 FontUsed by:1889 1890 1891 1892 1893 1894 1895 1896 1897 1898
Symbol 1889 EditableTextUses:1888Used by:1914
Symbol 1890 EditableTextUses:1888Used by:1914
Symbol 1891 EditableTextUses:1888Used by:1914
Symbol 1892 EditableTextUses:1888Used by:1914
Symbol 1893 EditableTextUses:1888Used by:1914
Symbol 1894 EditableTextUses:1888Used by:1914
Symbol 1895 EditableTextUses:1888Used by:1914
Symbol 1896 EditableTextUses:1888Used by:1914
Symbol 1897 EditableTextUses:1888Used by:1914
Symbol 1898 EditableTextUses:1888Used by:1914
Symbol 1899 FontUsed by:1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1917
Symbol 1900 EditableTextUses:1899Used by:1914
Symbol 1901 EditableTextUses:1899Used by:1914
Symbol 1902 EditableTextUses:1899Used by:1914
Symbol 1903 EditableTextUses:1899Used by:1914
Symbol 1904 EditableTextUses:1899Used by:1914
Symbol 1905 EditableTextUses:1899Used by:1914
Symbol 1906 EditableTextUses:1899Used by:1914
Symbol 1907 EditableTextUses:1899Used by:1914
Symbol 1908 EditableTextUses:1899Used by:1914
Symbol 1909 EditableTextUses:1899Used by:1914
Symbol 1910 GraphicUsed by:1914
Symbol 1911 GraphicUsed by:1913
Symbol 1912 GraphicUsed by:1913
Symbol 1913 ButtonUses:1911 1912Used by:1914
Symbol 1914 MovieClip {ui.Highscore}Uses:1887 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1913 1354 1357Used by:Timeline
Symbol 1915 GraphicUsed by:1924
Symbol 1916 EditableTextUses:1870Used by:1924
Symbol 1917 EditableTextUses:1899Used by:1924
Symbol 1918 GraphicUsed by:1920
Symbol 1919 GraphicUsed by:1920
Symbol 1920 ButtonUses:1918 1919Used by:1924
Symbol 1921 GraphicUsed by:1923
Symbol 1922 GraphicUsed by:1923
Symbol 1923 ButtonUses:1921 1922Used by:1924
Symbol 1924 MovieClip {ui.InputFace}Uses:1915 1916 1917 1920 1923 1354 1777Used by:Timeline
Symbol 1925 GraphicUsed by:1958
Symbol 1926 Sound {dadao}Used by:1958
Symbol 1927 Sound {judun}Used by:1958
Symbol 1928 Sound {kuaihuo}Used by:1958
Symbol 1929 Sound {longjiao}Used by:1958
Symbol 1930 Sound {wushishunchuxian}Used by:1958
Symbol 1931 Sound {wushishunxiaoshi}Used by:1958
Symbol 1932 Sound {wushixiao}Used by:1958
Symbol 1933 Sound {coinsound}Used by:1958
Symbol 1934 Sound {jueseshengji}Used by:1958
Symbol 1935 Sound {wuqishengji}Used by:1958
Symbol 1936 Sound {kulousanjia}Used by:1958
Symbol 1937 Sound {dabin}Used by:1958
Symbol 1938 Sound {dahuo}Used by:1958
Symbol 1939 Sound {kaixiang}Used by:1958
Symbol 1940 Sound {kanzhong}Used by:1958
Symbol 1941 Sound {siwang}Used by:1958
Symbol 1942 Sound {xiaobin}Used by:1958
Symbol 1943 Sound {xiaohuoshao}Used by:1958
Symbol 1944 Sound {zhiliao}Used by:1958
Symbol 1945 Sound {kuijiabaohu}Used by:1958
Symbol 1946 Sound {baomutong}Used by:1958
Symbol 1947 Sound {chinengliang}Used by:1958
Symbol 1948 Sound {chixue}Used by:1958
Symbol 1949 Sound {dun}Used by:1958
Symbol 1950 Sound {feidao}Used by:1958
Symbol 1951 Sound {feifu}Used by:1958
Symbol 1952 Sound {huidao1}Used by:1958
Symbol 1953 Sound {huidao2}Used by:1958
Symbol 1954 Sound {mofapingluodi}Used by:1958
Symbol 1955 Sound {qiehuanjineng}Used by:1958
Symbol 1956 Sound {menu_touch}Used by:1958
Symbol 1957 Sound {menu_press}Used by:1958
Symbol 1958 MovieClip {BlueKnight_US_English2_fla.soundmc_245}Uses:1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957Used by:Timeline
Symbol 1959 GraphicUsed by:1982
Symbol 1960 Sound {dedaochongshen}Used by:1982
Symbol 1961 Sound {jurenchongzhuang}Used by:1982
Symbol 1962 Sound {jurenjiaobu1}Used by:1982
Symbol 1963 Sound {jurenjiaobu2}Used by:1982
Symbol 1964 Sound {jurenkan}Used by:1982
Symbol 1965 Sound {jurenshangtiao}Used by:1982
Symbol 1966 Sound {jurenshiwei}Used by:1982
Symbol 1967 Sound {jurensiwang}Used by:1982
Symbol 1968 Sound {longchibang}Used by:1982
Symbol 1969 Sound {longhuaguo}Used by:1982
Symbol 1970 Sound {longsiwang}Used by:1982
Symbol 1971 Sound {niaorenchuzhao}Used by:1982
Symbol 1972 Sound {niaorensiwang}Used by:1982
Symbol 1973 Sound {niaorenzhongzhao}Used by:1982
Symbol 1974 Sound {qishishoushang1}Used by:1982
Symbol 1975 Sound {qishishoushang2}Used by:1982
Symbol 1976 Sound {renmajiaobu}Used by:1982
Symbol 1977 Sound {renmaluodi}Used by:1982
Symbol 1978 Sound {wushichuzhao}Used by:1982
Symbol 1979 Sound {wushisiwang}Used by:1982
Symbol 1980 Sound {xiaoguichuzhao}Used by:1982
Symbol 1981 Sound {xiaoguisiwang}Used by:1982
Symbol 1982 MovieClip {BlueKnight_US_English2_fla.sound3mc_246}Uses:1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981Used by:Timeline
Symbol 1983 GraphicUsed by:1995
Symbol 1984 Sound {bluenightover}Used by:1995
Symbol 1985 Sound {chongshenzhiguang}Used by:1995
Symbol 1986 Sound {boss}Used by:1995
Symbol 1987 Sound {castle}Used by:1995
Symbol 1988 Sound {cemetery}Used by:1995
Symbol 1989 Sound {lose}Used by:1995
Symbol 1990 Sound {menu}Used by:1995
Symbol 1991 Sound {mountain}Used by:1995
Symbol 1992 Sound {story}Used by:1995
Symbol 1993 Sound {win}Used by:1995
Symbol 1994 Sound {wood}Used by:1995
Symbol 1995 MovieClip {BlueKnight_US_English2_fla.musicmc_247}Uses:1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994Used by:Timeline
Symbol 1996 GraphicUsed by:Timeline

Instance Names

"loadingMC"Symbol 32 MovieClip {Aload} Frame 1Symbol 28 MovieClip {BlueKnight_US_English2_fla.loadbar_249}
"boundingBox_mc"Symbol 97 MovieClip {com.google.analytics.components.FlashTracker} Frame 1Symbol 93 MovieClip
"lifeMC_mc"Symbol 154 MovieClip {RollState} Frame 1Symbol 134 MovieClip {BlueKnight_US_English2_fla.rolllife_8}
"aweapon_MC"Symbol 154 MovieClip {RollState} Frame 1Symbol 144 MovieClip {BlueKnight_US_English2_fla.aweaponshow_9}
"skip_btn"Symbol 154 MovieClip {RollState} Frame 1Symbol 147 Button
"crossMC"Symbol 154 MovieClip {RollState} Frame 1Symbol 149 MovieClip
"urlbtn_btn"Symbol 154 MovieClip {RollState} Frame 1Symbol 153 Button
"lifeMC_mc"Symbol 329 MovieClip {enemies.Boss1State} Frame 1Symbol 134 MovieClip {BlueKnight_US_English2_fla.rolllife_8}
"playagain_btn"Symbol 1358 MovieClip {ui.Gameover} Frame 1Symbol 1339 Button
"moregames_btn"Symbol 1358 MovieClip {ui.Gameover} Frame 1Symbol 1342 Button
"credits_btn"Symbol 1358 MovieClip {ui.Gameover} Frame 1Symbol 1345 Button
"title_MC"Symbol 1358 MovieClip {ui.Gameover} Frame 1Symbol 1351 MovieClip {BlueKnight_US_English2_fla.gameocertitle_126}
"urlbtn_btn"Symbol 1358 MovieClip {ui.Gameover} Frame 1Symbol 1354 Button
"zz_MC"Symbol 1358 MovieClip {ui.Gameover} Frame 1Symbol 1357 MovieClip {walls.ZZ}
"zz_MC"Symbol 1362 MovieClip {ui.Company} Frame 1Symbol 1357 MovieClip {walls.ZZ}
"lifeMC_mc"Symbol 1385 MovieClip {enemies.Boss2State} Frame 1Symbol 134 MovieClip {BlueKnight_US_English2_fla.rolllife_8}
"lifeMC_mc"Symbol 1390 MovieClip {enemies.Boss6State} Frame 1Symbol 134 MovieClip {BlueKnight_US_English2_fla.rolllife_8}
"lifeMC_mc"Symbol 1471 MovieClip {enemies.Boss4State} Frame 1Symbol 134 MovieClip {BlueKnight_US_English2_fla.rolllife_8}
"sheadMC"Symbol 1646 MovieClip {walls.Wall112} Frame 1Symbol 1644 MovieClip {BlueKnight_US_English2_fla.shead_178}
"wkeymc"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1695 MovieClip {BlueKnight_US_English2_fla.w_keyMC_188}
"akeymc"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1698 MovieClip {BlueKnight_US_English2_fla.a_keyMC_189}
"skeymc"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1701 MovieClip {BlueKnight_US_English2_fla.s_keyMC_190}
"dkeymc"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1704 MovieClip {BlueKnight_US_English2_fla.d_keyMC_191}
"jkeymc"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1707 MovieClip {BlueKnight_US_English2_fla.j_keyMC_192}
"ikeymc"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1710 MovieClip {BlueKnight_US_English2_fla.i_keyMC_193}
"kkeymc"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1713 MovieClip {BlueKnight_US_English2_fla.k_keyMC_194}
"lkeymc"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1716 MovieClip {BlueKnight_US_English2_fla.l_keyMC_195}
"array_MC"Symbol 1738 MovieClip {ui.KeyShow1} Frame 1Symbol 1737 MovieClip
"zkeymc"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1741 MovieClip {BlueKnight_US_English2_fla.z_keyMC_198}
"xkeymc"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1744 MovieClip {BlueKnight_US_English2_fla.x_keyMC_199}
"ckeymc"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1747 MovieClip {BlueKnight_US_English2_fla.c_keyMC_200}
"spacekeymc"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1750 MovieClip {BlueKnight_US_English2_fla.space_keyMC_201}
"upkeymc"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1753 MovieClip {BlueKnight_US_English2_fla.up_keyMC_202}
"leftkeymc"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1756 MovieClip {BlueKnight_US_English2_fla.left_keyMC_203}
"rightkeymc"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1759 MovieClip {BlueKnight_US_English2_fla.right_keyMC_204}
"downkeymc"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1762 MovieClip {BlueKnight_US_English2_fla.down_keyMC_205}
"array_MC"Symbol 1764 MovieClip {ui.KeyShow2} Frame 1Symbol 1737 MovieClip
"container3_MC"Symbol 1778 MovieClip {ui.ChooseType} Frame 1Symbol 1690 MovieClip
"keyshow1_MC"Symbol 1778 MovieClip {ui.ChooseType} Frame 1Symbol 1738 MovieClip {ui.KeyShow1}
"keyshow2_MC"Symbol 1778 MovieClip {ui.ChooseType} Frame 1Symbol 1764 MovieClip {ui.KeyShow2}
"curten_MC"Symbol 1778 MovieClip {ui.ChooseType} Frame 1Symbol 1766 MovieClip {BlueKnight_US_English2_fla.curten_206}
"type1_btn"Symbol 1778 MovieClip {ui.ChooseType} Frame 1Symbol 1770 Button
"type2_btn"Symbol 1778 MovieClip {ui.ChooseType} Frame 1Symbol 1773 Button
"next_btn"Symbol 1778 MovieClip {ui.ChooseType} Frame 1Symbol 1776 Button
"zz_MC"Symbol 1778 MovieClip {ui.ChooseType} Frame 1Symbol 1777 MovieClip {BlueKnight_US_English2_fla.zz2_210}
"lifeMC_mc"Symbol 1783 MovieClip {enemies.Boss3State} Frame 1Symbol 134 MovieClip {BlueKnight_US_English2_fla.rolllife_8}
"lifeMC_mc"Symbol 1807 MovieClip {enemies.Boss5State} Frame 1Symbol 134 MovieClip {BlueKnight_US_English2_fla.rolllife_8}
"startgame_btn"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1811 Button
"spil"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1814 Button
"pic_mc"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1822 MovieClip {BlueKnight_US_English2_fla.huamianzhiliang_223}
"turnmusic_mc"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1826 MovieClip {BlueKnight_US_English2_fla.shengyinkaiguan_224}
"moregames_btn"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1832 Button
"highscores_btn"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1835 Button
"turnmusic_btn"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1838 Button
"pic_btn"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1838 Button
"zz_MC"Symbol 1839 MovieClip {ui.Gamestart} Frame 1Symbol 1357 MovieClip {walls.ZZ}
"zz_MC"Symbol 1842 MovieClip {ui.Predai} Frame 1Symbol 1357 MovieClip {walls.ZZ}
"swordtipMC"Symbol 1853 MovieClip {ui.Map} Frame 1Symbol 1846 MovieClip
"road_mc"Symbol 1853 MovieClip {ui.Map} Frame 1Symbol 1852 MovieClip {BlueKnight_US_English2_fla.road_232}
"zz_MC"Symbol 1853 MovieClip {ui.Map} Frame 1Symbol 1777 MovieClip {BlueKnight_US_English2_fla.zz2_210}
"c1btn"Symbol 1863 MovieClip {ui.ChooseC} Frame 1Symbol 1862 Button
"c2btn"Symbol 1863 MovieClip {ui.ChooseC} Frame 1Symbol 1862 Button
"c3btn"Symbol 1863 MovieClip {ui.ChooseC} Frame 1Symbol 1862 Button
"c4btn"Symbol 1863 MovieClip {ui.ChooseC} Frame 1Symbol 1862 Button
"c5btn"Symbol 1863 MovieClip {ui.ChooseC} Frame 1Symbol 1862 Button
"zz_MC"Symbol 1863 MovieClip {ui.ChooseC} Frame 1Symbol 1423 MovieClip {walls.ZZ2}
"relivecrossMC"Symbol 1867 MovieClip {ui.ReliveStage} Frame 1Symbol 1865 MovieClip
"myTextf"Symbol 1867 MovieClip {ui.ReliveStage} Frame 1Symbol 1866 EditableText
"zz_MC"Symbol 1867 MovieClip {ui.ReliveStage} Frame 1Symbol 1357 MovieClip {walls.ZZ}
"myTextf"Symbol 1872 MovieClip {ui.Congratulation} Frame 1Symbol 1871 EditableText
"zz_MC"Symbol 1872 MovieClip {ui.Congratulation} Frame 1Symbol 1357 MovieClip {walls.ZZ}
"creditsMC"Symbol 1886 MovieClip {ui.BaoYouyuan} Frame 1Symbol 1885 MovieClip
"zz_MC"Symbol 1886 MovieClip {ui.BaoYouyuan} Frame 1Symbol 1423 MovieClip {walls.ZZ2}
"m1t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1889 EditableText
"m2t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1890 EditableText
"m3t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1891 EditableText
"m4t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1892 EditableText
"m5t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1893 EditableText
"m6t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1894 EditableText
"m7t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1895 EditableText
"m8t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1896 EditableText
"m9t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1897 EditableText
"m10t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1898 EditableText
"s1t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1900 EditableText
"s2t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1901 EditableText
"s3t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1902 EditableText
"s4t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1903 EditableText
"s5t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1904 EditableText
"s6t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1905 EditableText
"s7t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1906 EditableText
"s8t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1907 EditableText
"s9t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1908 EditableText
"s10t"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1909 EditableText
"ok_btn"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1913 Button
"urlbtn_btn"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1354 Button
"zz_MC"Symbol 1914 MovieClip {ui.Highscore} Frame 1Symbol 1357 MovieClip {walls.ZZ}
"input_Textfield"Symbol 1924 MovieClip {ui.InputFace} Frame 1Symbol 1917 EditableText
"submit_btn"Symbol 1924 MovieClip {ui.InputFace} Frame 1Symbol 1920 Button
"tryagain_btn"Symbol 1924 MovieClip {ui.InputFace} Frame 1Symbol 1923 Button
"urlbtn_btn"Symbol 1924 MovieClip {ui.InputFace} Frame 1Symbol 1354 Button
"zz_MC"Symbol 1924 MovieClip {ui.InputFace} Frame 1Symbol 1777 MovieClip {BlueKnight_US_English2_fla.zz2_210}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




http://swfchan.com/15/70802/info.shtml
Created: 9/4 -2019 16:27:05 Last modified: 9/4 -2019 16:27:05 Server time: 16/05 -2024 17:07:08