Section 1
//Game (classes.game.Game)
package classes.game {
import flash.display.*;
import flash.events.*;
import libs.kjc.*;
import flash.media.*;
import classes.*;
import flash.utils.*;
public class Game extends MovieClip {
public var ScoreBox:ScoreBox;
public var MissionBar:MissionBar;
private var lv:int;
private var score:int;
private var cNum:int;
private var addNum:int;
private var spd:Number;
private var tTimer:Timer;
public var Tom:Tom;
private var playOn:Boolean;
private var cTim:int;
private var addTim:int;
private var deleyR:int;
public var bg:MovieClip;
private var timer:Timer;
private var mTim:int;
private var tNum:int;
private var bonusTim:int;
private var spdA:Array;
private var life:int;
private var deley:int;
static var reStart:Function;
public function Game():void{
playOn = false;
this.bg.gotoAndStop(1);
reStart = gameReady;
lv = 0;
score = 0;
life = 3;
tNum = 1;
addNum = 1;
mTim = 30;
addTim = 3;
bonusTim = 2;
spdA = new Array(1, 1, 1.2, 1.2, 1.5, 2);
deley = 3000;
deleyR = 1500;
this.ScoreBox.setScore(score);
gameReady();
tTimer = new Timer(1000);
tTimer.addEventListener(TimerEvent.TIMER, addTimFn);
timer = new Timer(1500, 1);
timer.addEventListener(TimerEvent.TIMER, playGame);
Panel.tom = this.Tom;
}
private function gameStart(_arg1:MovieClip=null):void{
var _local2:int;
if (_arg1 != null){
KJC_general.remove(_arg1);
};
mTim = (mTim + addTim);
if (mTim >= 34){
addTim = -(addTim);
};
tNum = (tNum + addNum);
if (tNum > 8){
tNum = 8;
};
if (lv >= spdA.length){
_local2 = (spdA.length - 1);
} else {
_local2 = lv;
};
spd = spdA[_local2];
this.bg.gotoAndStop((1 + (lv % 3)));
lv++;
this.ScoreBox.setLv(lv);
gameReStart();
}
public function keyFn(_arg1:String):void{
if (playOn == false){
return;
};
this.Tom.actionTom(_arg1);
}
function missionSucces(_arg1:int):void{
var _local3:Photo;
if (playOn == false){
return;
};
Main.playSound(1);
cTim = (cTim - bonusTim);
var _local2:Boolean = this.MissionBar.clearMission(_arg1);
if (_local2 == true){
cNum++;
Main.playSound(2);
setScore(1500);
_local3 = new Photo();
this.addChild(_local3);
_local3.y = 180;
_local3.x = this.Tom.x;
if (cNum == tNum){
levelUpFn();
};
} else {
setScore(300);
};
}
private function gameReStart(_arg1:MovieClip=null):void{
this.Tom.reSetTom();
cNum = 0;
cTim = 0;
this.MissionBar.setMissionBar(tNum);
this.ScoreBox.setTim(cTim, mTim);
playOn = true;
tTimer.reset();
tTimer.start();
timer.reset();
timer.start();
}
private function gamePause():void{
playOn = false;
tTimer.stop();
timer.stop();
}
private function playGame(_arg1:Event):void{
if (playOn == false){
return;
};
var _local2:Panel = new Panel();
this.addChildAt(_local2, 3);
var _local3:int = KJC_general.Random(4);
_local2.x = (100 + (_local3 * 75));
_local2.y = 395;
var _local4:Number = ((2 - _local3) * 5);
_local2.setPanel(spd, _local4);
timer.removeEventListener(TimerEvent.TIMER, playGame);
var _local5:int = (KJC_general.Random(deleyR) + deley);
timer = new Timer(_local5, 1);
timer.addEventListener(TimerEvent.TIMER, playGame);
timer.start();
}
function setScore(_arg1:int):void{
if (playOn == false){
return;
};
score = (score + _arg1);
if (score < 0){
score = 0;
};
this.ScoreBox.setScore(score);
}
function gameReady(_arg1:MovieClip=null, _arg2:Boolean=true):void{
if (_arg1 != null){
KJC_general.remove(_arg1);
};
Main.setStageFocus();
var _local3:StartMc = new StartMc();
this.addChild(_local3);
if (_arg2 == true){
KJC_enterframe.moveToFrame(_local3, _local3.totalFrames, gameStart);
} else {
KJC_enterframe.moveToFrame(_local3, _local3.totalFrames, gameReStart);
};
}
private function addTimFn(_arg1:Event):void{
cTim++;
this.ScoreBox.setTim(cTim, mTim);
if (cTim >= mTim){
gameOver();
};
}
private function levelUpFn():void{
gamePause();
setScore(5000);
var _local1:LevelUp = new LevelUp();
this.addChild(_local1);
}
function gameOver():void{
var _local1:GameOver;
gamePause();
life--;
this.ScoreBox.setLife(life);
this.Tom.actionTom("FAIL");
if (life == 0){
SoundMixer.stopAll();
_local1 = new GameOver(score);
this.addChild(_local1);
} else {
gameReady(null, false);
};
}
}
}//package classes.game
Section 2
//GameOver (classes.game.GameOver)
package classes.game {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class GameOver extends MovieClip {
private var str:String;
private var score:int;
private var vFrm:int;
public var Score:Score;
public function GameOver(_arg1:int):void{
addFrameScript(79, frame80);
score = _arg1;
this.gotoAndStop("view");
vFrm = this.currentFrame;
this.gotoAndPlay(1);
this.addEventListener(Event.ENTER_FRAME, checkFrm);
str = String(score);
}
private function checkFrm(_arg1:Event):void{
if (this.currentFrame == vFrm){
this.removeEventListener(Event.ENTER_FRAME, checkFrm);
viewScore();
};
}
function frame80(){
this.stop();
}
public function viewScore():void{
this.Score.setScore(score);
var _local1:LocalConnection = new LocalConnection();
_local1.send("_user", "fnPostScore", int(str));
trace(int(str));
}
}
}//package classes.game
Section 3
//MissionBar (classes.game.MissionBar)
package classes.game {
import flash.display.*;
import flash.text.*;
import libs.kjc.*;
public dynamic class MissionBar extends MovieClip {
private var rX:int;
public var ms0:MovieClip;
public var ms1:MovieClip;
public var ms2:MovieClip;
public var ms3:MovieClip;
public var ms4:MovieClip;
public var ms5:MovieClip;
public var ms6:MovieClip;
public var ms7:MovieClip;
var msA:Array;
public function MissionBar():void{
rX = this.x;
var _local1:int;
while (_local1 < 8) {
this[("ms" + _local1)].gotoAndStop(1);
_local1++;
};
}
function setMissionBar(_arg1:int):void{
var _local2:int;
msA = new Array();
var _local3:int;
while (_local3 < _arg1) {
_local2 = KJC_general.Random(2);
this[("ms" + _local3)].gotoAndStop((1 + _local2));
if (_local3 < (_arg1 - 1)){
KJC_general.saturationFilter(this[("ms" + _local3)], 0.4, 0.2);
} else {
KJC_general.saturationFilter(this[("ms" + _local3)], 0, 0);
};
msA[_local3] = _local2;
_local3++;
};
var _local4:int = (rX - (60 * _arg1));
KJC_enterframe.moveToValue(this, _local4, 3, "x");
}
function clearMission(_arg1:int):Boolean{
var _local3:Boolean;
var _local4:int;
var _local5:int;
var _local2:int = (msA.length - 1);
if (_local2 < 0){
return (false);
};
if (msA[_local2] == _arg1){
_local3 = true;
msA.pop();
_local4 = (rX - (60 * _local2));
KJC_enterframe.moveToValue(this, _local4, 3, "x");
_local5 = (_local2 - 1);
if (_local5 >= 0){
KJC_general.saturationFilter(this[("ms" + _local5)], 0, 0);
};
} else {
_local3 = false;
};
return (_local3);
}
}
}//package classes.game
Section 4
//NextBtn (classes.game.NextBtn)
package classes.game {
import flash.display.*;
import flash.events.*;
import libs.kjc.*;
public class NextBtn extends MovieClip {
public function NextBtn():void{
this.mouseChildren = false;
this.gotoAndStop(1);
KJC_general.btnOn(this, btnClick, btnOver, btnOut);
}
private function btnOver(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
private function btnOut(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
private function btnClick(_arg1:MouseEvent):void{
KJC_general.remove(MovieClip(this.parent));
Game.reStart();
}
}
}//package classes.game
Section 5
//Panel (classes.game.Panel)
package classes.game {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import libs.kjc.*;
public class Panel extends MovieClip {
private var addFrm:Number;
public var poseMc:MovieClip;
private var spd:Number;
private var mFrm:int;
private var msAc:Boolean;
private var id:int;
private var cFrm:Number;
static var tom:MovieClip;
public function Panel():void{
this.gotoAndStop("Point");
mFrm = this.currentFrame;
cFrm = 1;
id = KJC_general.Random(2);
this.poseMc.gotoAndStop((1 + id));
msAc = true;
this.gotoAndStop(1);
}
function setPanel(_arg1:Number, _arg2:Number):void{
addFrm = _arg1;
var _local3:Number = (mFrm / addFrm);
spd = (_arg2 / _local3);
this.play();
this.addEventListener(Event.ENTER_FRAME, checkHit);
}
private function checkHit(_arg1:Event):void{
var _local3:Boolean;
cFrm = (cFrm + addFrm);
if (this.poseMc.m0.currentFrame == this.poseMc.m0.totalFrames){
this.poseMc.m0.gotoAndStop(1);
this.poseMc.m1.gotoAndStop(1);
} else {
this.poseMc.m0.nextFrame();
this.poseMc.m1.nextFrame();
};
var _local2:int = Math.round(cFrm);
if (_local2 > this.totalFrames){
_local2 = this.totalFrames;
};
this.gotoAndStop(_local2);
this.x = (this.x + spd);
if (msAc == true){
_local3 = tom.hit.hitTestObject(this.poseMc.hit);
if (_local3 == true){
msAc = false;
if (tom.id == id){
Game(this.parent).missionSucces(id);
} else {
tom.actionTom("FAIL");
};
};
};
if (this.currentFrame == this.totalFrames){
this.removeEventListener(Event.ENTER_FRAME, checkHit);
this.stop();
this.parent.removeChild(this);
} else {
if ((((this.currentFrame >= mFrm)) && ((msAc == false)))){
msAc = false;
this.parent.setChildIndex(this, 1);
};
};
}
}
}//package classes.game
Section 6
//Score (classes.game.Score)
package classes.game {
import flash.display.*;
import flash.text.*;
import libs.kjc.*;
public class Score extends MovieClip {
public var s3:MovieClip;
public var s4:MovieClip;
public var s5:MovieClip;
public var s0:MovieClip;
public var s1:MovieClip;
public var s2:MovieClip;
public function Score():void{
var _local1:int;
while (_local1 < 6) {
this[("s" + _local1)].gotoAndStop(10);
_local1++;
};
}
function setScore(_arg1:int):void{
var _local4:int;
var _local2:String = KJC_general.intToText(_arg1, 6);
var _local3:int = _local2.length;
var _local5:int;
while (_local5 < _local3) {
_local4 = int(_local2.charAt(_local5));
if (_local4 == 0){
_local4 = 10;
};
this[("s" + _local5)].gotoAndStop(_local4);
_local5++;
};
}
}
}//package classes.game
Section 7
//ScoreBox (classes.game.ScoreBox)
package classes.game {
import flash.display.*;
import flash.text.*;
import libs.kjc.*;
public class ScoreBox extends MovieClip {
public var l0:MovieClip;
public var l1:MovieClip;
public var tMask:MovieClip;
public var s0:MovieClip;
public var s1:MovieClip;
public var s2:MovieClip;
public var s3:MovieClip;
public var s4:MovieClip;
public var s5:MovieClip;
public var lifeMc:MovieClip;
public var t0:MovieClip;
public var t1:MovieClip;
public function ScoreBox():void{
this.lifeMc.gotoAndStop(1);
var _local1:int;
while (_local1 < 6) {
this[("s" + _local1)].gotoAndStop(10);
if (_local1 < 2){
this[("l" + _local1)].gotoAndStop(10);
};
_local1++;
};
}
function setLv(_arg1:int):void{
var _local2:String = KJC_general.intToText(_arg1, 2);
setNumber(_local2, "l");
}
function setLife(_arg1:int):void{
this.lifeMc.gotoAndStop((4 - _arg1));
}
function setScore(_arg1:int):void{
var _local2:String = KJC_general.intToText(_arg1, 6);
setNumber(_local2, "s");
}
private function setNumber(_arg1:String, _arg2:String):void{
var _local4:int;
var _local3:int = _arg1.length;
var _local5:int;
while (_local5 < _local3) {
_local4 = int(_arg1.charAt(_local5));
if (_local4 == 0){
_local4 = 10;
};
this[(_arg2 + _local5)].gotoAndStop(_local4);
_local5++;
};
}
function setTim(_arg1:int, _arg2:int):void{
var _local3:Number = (((_arg2 - _arg1) / _arg2) * 100);
this.tMask.width = _local3;
}
}
}//package classes.game
Section 8
//Tom (classes.game.Tom)
package classes.game {
import flash.display.*;
import libs.kjc.*;
import classes.*;
public dynamic class Tom extends MovieClip {
private var tx:int;
public var hit:MovieClip;
var id:int;
public function Tom():void{
addFrameScript(0, frame1, 7, frame8, 15, frame16, 31, frame32, 46, frame47, 62, frame63, 103, frame104);
reSetTom();
}
function reSetTom():void{
this.gotoAndStop(1);
id = -1;
tx = 250;
KJC_enterframe.moveToValue(this, tx, 4, "x");
}
function frame1(){
id = -1;
}
function frame63(){
this.gotoAndStop(1);
}
function frame32(){
this.gotoAndStop(1);
}
function frame8(){
this.gotoAndStop(1);
}
function frame104(){
this.gotoAndStop(1);
}
function frame47(){
this.gotoAndStop(1);
}
function frame16(){
this.gotoAndStop(1);
}
function actionTom(_arg1:String):void{
if (id == -2){
return;
};
switch (_arg1){
case "LEFT":
tx = (tx - 70);
if (tx < 40){
tx = 40;
return;
};
id = -1;
Main.playSound(4);
KJC_enterframe.moveToValue(this, tx, 4, "x");
break;
case "RIGHT":
tx = (tx + 70);
if (tx > 460){
tx = 460;
return;
};
id = -1;
Main.playSound(4);
KJC_enterframe.moveToValue(this, tx, 4, "x");
break;
case "Z":
id = 0;
break;
case "X":
id = 1;
break;
case "C":
id = 2;
break;
case "FAIL":
Main.playSound(3);
id = -2;
break;
default:
return;
};
this.gotoAndPlay(_arg1);
}
}
}//package classes.game
Section 9
//HowBtn (classes.HowBtn)
package classes {
import flash.display.*;
import flash.events.*;
import libs.kjc.*;
public class HowBtn extends MovieClip {
public function HowBtn():void{
this.mouseChildren = false;
this.gotoAndStop(1);
KJC_general.btnOn(this, btnClick, btnOver, btnOut);
}
private function btnOver(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
private function btnOut(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
private function btnClick(_arg1:MouseEvent):void{
this.gotoAndStop(2);
Main.howGame();
}
}
}//package classes
Section 10
//Main (classes.Main)
package classes {
import flash.display.*;
import flash.events.*;
import libs.kjc.*;
import flash.media.*;
import classes.game.*;
public class Main extends MovieClip {
private var keyCd:String;
private var mainMc:MovieClip;
private var vol:Number;
private var keyT:int;
private var sndA:Array;
private var playOn:Boolean;
private var keyOn:Boolean;
public static var howGame:Function;
public static var reGame:Function;
public static var startGame:Function;
public static var setSoundFn:Function;
public static var playSound:Function;
public static var setStageFocus:Function;
public function Main():void{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.showDefaultContextMenu = false;
startGame = gameStart;
howGame = howtoStart;
reGame = introStart;
playSound = soundPlay;
setSoundFn = setSound;
setStageFocus = setFocusStage;
sndA = new Array();
sndA[0] = new BtnSnd();
sndA[1] = new Success();
sndA[2] = new CameraSnd();
sndA[3] = new Pong();
sndA[4] = new Turn();
mainMc = new MovieClip();
this.addChildAt(mainMc, 0);
playOn = false;
keyOn = false;
introStart();
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownFn);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpFn);
}
private function keyAc(_arg1:Event):void{
if (playOn == false){
keyT = 0;
keyOn = false;
this.removeEventListener(Event.ENTER_FRAME, keyAc);
return;
};
if (((((((((keyT % 3) == 0)) || ((keyCd == "Z")))) || ((keyCd == "X")))) || ((keyCd == "C")))){
Game(mainMc.getChildAt(0)).keyFn(keyCd);
};
keyT++;
}
public function soundPlay(_arg1:int):void{
if (vol == 0){
return;
};
if (_arg1 >= sndA.length){
return;
};
Sound(sndA[_arg1]).play();
}
public function setFocusStage():void{
stage.focus = this;
}
private function keyDownFn(_arg1:KeyboardEvent):void{
if (playOn == false){
return;
};
var _local2:int = int(_arg1.keyCode);
switch (_local2){
case 37:
keyCd = "LEFT";
break;
case 39:
keyCd = "RIGHT";
break;
case 90:
keyCd = "Z";
break;
case 88:
keyCd = "X";
break;
case 67:
keyCd = "C";
break;
default:
return;
};
if (keyOn == false){
keyOn = true;
this.addEventListener(Event.ENTER_FRAME, keyAc);
};
}
private function keyUpFn(_arg1:KeyboardEvent):void{
var _local2:String;
var _local3:int = int(_arg1.keyCode);
switch (_local3){
case 37:
_local2 = "LEFT";
break;
case 39:
_local2 = "RIGHT";
break;
case 90:
_local2 = "Z";
break;
case 88:
_local2 = "X";
break;
case 67:
_local2 = "C";
break;
default:
return;
};
if (_local2 != keyCd){
return;
};
keyCd = "";
}
function setSound(_arg1:Number):void{
soundPlay(0);
vol = _arg1;
this.soundTransform = new SoundTransform(_arg1, 0);
}
public function introStart():void{
playOn = false;
SoundMixer.stopAll();
KJC_general.RemoveAllChild(mainMc);
var _local1:Intro = new Intro();
mainMc.addChild(_local1);
_local1.x = 250;
_local1.y = 187.5;
}
public function gameStart():void{
SoundMixer.stopAll();
soundPlay(0);
KJC_general.RemoveAllChild(mainMc);
var _local1:Game = new Game();
mainMc.addChild(_local1);
playOn = true;
setFocusStage();
}
public function howtoStart():void{
playOn = false;
SoundMixer.stopAll();
soundPlay(0);
KJC_general.RemoveAllChild(mainMc);
var _local1:HowTo = new HowTo();
mainMc.addChild(_local1);
}
}
}//package classes
Section 11
//PlayBtn (classes.PlayBtn)
package classes {
import flash.display.*;
import flash.events.*;
import libs.kjc.*;
public class PlayBtn extends MovieClip {
public function PlayBtn():void{
this.mouseChildren = false;
this.gotoAndStop(1);
KJC_general.btnOn(this, btnClick, btnOver, btnOut);
}
private function btnOver(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
private function btnOut(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
private function btnClick(_arg1:MouseEvent):void{
this.gotoAndStop(3);
Main.startGame();
}
}
}//package classes
Section 12
//RePlayBtn (classes.RePlayBtn)
package classes {
import flash.display.*;
import flash.events.*;
import libs.kjc.*;
public class RePlayBtn extends MovieClip {
public function RePlayBtn():void{
this.mouseChildren = false;
this.gotoAndStop(1);
KJC_general.btnOn(this, btnClick, btnOver, btnOut);
}
private function btnOver(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
private function btnOut(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
private function btnClick(_arg1:MouseEvent):void{
Main.reGame();
}
}
}//package classes
Section 13
//SndBtn (classes.SndBtn)
package classes {
import flash.display.*;
import flash.events.*;
import libs.kjc.*;
public class SndBtn extends MovieClip {
private static var frm:int = 1;
public function SndBtn():void{
this.mouseChildren = false;
this.gotoAndStop(frm);
KJC_general.btnOn(this, btnClick);
}
private function btnClick(_arg1:MouseEvent):void{
if (this.currentFrame == 1){
frm = 2;
Main.setSoundFn(0);
this.gotoAndStop(frm);
} else {
frm = 1;
Main.setSoundFn(1);
this.gotoAndStop(frm);
};
}
}
}//package classes
Section 14
//KJC_enterframe (libs.kjc.KJC_enterframe)
package libs.kjc {
import flash.display.*;
import flash.events.*;
public class KJC_enterframe {
private static function ELEmoveToValuex(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = _local2.x;
_local2.x = (((_local2.Sx * (_local2.x - _local2.Tx)) + (_local2.Gx * (_local2.prevx - _local2.Tx))) + _local2.Tx);
_local2.prevx = _local3;
_local2.TMx++;
if (_local2.TMx == 50){
_local2.x = _local2.Tx;
_local2.removeEventListener(Event.ENTER_FRAME, ELEmoveToValuex);
finish(_local2.Fnx, _local2);
_local2.Fnx = null;
};
}
public static function moveToFrame(_arg1:MovieClip, _arg2:int, _arg3:Function=null):void{
_arg1.removeEventListener(Event.ENTER_FRAME, EmoveToFrame);
_arg1.F = _arg2;
_arg1.D = ((_arg1.currentFrame)<_arg2) ? 1 : ((_arg1.currentFrame)>_arg2) ? -1 : 0;
_arg1.Fn = _arg3;
_arg1.addEventListener(Event.ENTER_FRAME, EmoveToFrame);
}
public static function moveToValue(_arg1:MovieClip, _arg2:int, _arg3:int, _arg4:String, _arg5:Function=null):void{
var _local6:Function = KJC_enterframe[("EmoveToValue" + _arg4)];
_arg1.removeEventListener(Event.ENTER_FRAME, _local6);
_arg1[("T" + _arg4)] = _arg2;
_arg1[("S" + _arg4)] = _arg3;
_arg1[("Fn" + _arg4)] = _arg5;
_arg1.addEventListener(Event.ENTER_FRAME, _local6);
}
private static function EmoveToValuewidth(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.Twidth - _local2.width);
if (Math.abs(_local3) <= 1){
_local2.width = _local2.Twidth;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValuewidth);
finish(_local2.Fnwidth, _local2);
_local2.Fnwidth = null;
} else {
_local2.width = (_local2.width + (_local3 / _local2.Swidth));
};
}
private static function EmoveToValueheight(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.Theight - _local2.height);
if (Math.abs(_local3) <= 1){
_local2.height = _local2.Theight;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValueheight);
finish(_local2.Fnheight, _local2);
_local2.Fnheight = null;
} else {
_local2.height = (_local2.height + (_local3 / _local2.Sheight));
};
}
private static function EmoveToParabolic(_arg1:Event):void{
var _local5:Number;
var _local6:Function;
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.TxP - _local2.x);
var _local4:Number = ((_local2.ThP - _local2.y) / _local2.SyP);
if ((((Math.abs(_local4) <= 2)) && ((_local2.DrP == 1)))){
_local2.DrP = -1;
};
if (_local2.DrP == -1){
if (_local4 < 0){
_local5 = (_local2.TyP - _local2.y);
} else {
_local5 = (_local2.y - _local2.TyP);
};
} else {
_local5 = 1;
};
if ((((Math.abs(_local3) <= _local2.SxP)) || ((_local5 < 0)))){
_local2.x = _local2.TxP;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToParabolic);
_local6 = _local2.FnP;
_local2.FnP = null;
_local2.FnPro = null;
finish(_local6, _local2);
} else {
if (_local2.FnPro != null){
_local2.FnPro(_local2);
};
_local2.x = (_local2.x + ((_local3 / Math.abs(_local3)) * _local2.SxP));
_local2.y = (_local2.y + (_local2.DrP * _local4));
};
}
public static function moveToValueRV(_arg1:MovieClip, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:Function=null):void{
var _local7:Function = KJC_enterframe[("EmoveToValueRV" + _arg5)];
_arg1.removeEventListener(Event.ENTER_FRAME, _local7);
_arg1[("T" + _arg5)] = _arg2;
_arg1[("S" + _arg5)] = _arg3;
_arg1[("G" + _arg5)] = _arg4;
if (_arg2 > _arg1[_arg5]){
_arg1[("DR" + _arg5)] = 1;
} else {
_arg1[("DR" + _arg5)] = -1;
};
_arg1[("M" + _arg5)] = Math.abs((_arg2 - _arg1[_arg5]));
_arg1[("Fn" + _arg5)] = _arg6;
_arg1.addEventListener(Event.ENTER_FRAME, _local7);
}
private static function EmoveToValueScale(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.Tscale - (_local2.scaleX * 100));
if (Math.abs(_local3) <= 1){
_local2.scaleX = (_local2.scaleY = (_local2.Tscale / 100));
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValueScale);
finish(_local2.Fnscale, _local2);
_local2.Fnscale = null;
} else {
_local2.scaleX = (_local2.scaleX + ((_local3 / _local2.Sscale) / 100));
_local2.scaleY = _local2.scaleX;
};
}
private static function EmoveToValueRVheight(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.DRheight * _local2.Sheight);
_local2.Mheight = (_local2.Mheight - Math.abs(_local3));
_local2.Sheight = (_local2.Sheight + (_local2.Sheight / _local2.Gheight));
if (_local2.Mheight <= 0){
_local2.height = _local2.Theight;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValueRVheight);
finish(_local2.Fnheight, _local2);
_local2.Fnheight = null;
} else {
_local2.height = (_local2.height + _local3);
};
}
public static function moveToValueScale(_arg1:MovieClip, _arg2:int, _arg3:int, _arg4:Function=null):void{
_arg1.removeEventListener(Event.ENTER_FRAME, EmoveToValueScale);
_arg1.Tscale = _arg2;
_arg1.Sscale = _arg3;
_arg1.Fnscale = _arg4;
_arg1.addEventListener(Event.ENTER_FRAME, EmoveToValueScale);
}
private static function EmoveToValuerotation(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.Trotation - _local2.rotation);
if (Math.abs(_local3) <= 1){
_local2.rotation = _local2.Trotation;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValuerotation);
finish(_local2.Fnrotation, _local2);
_local2.Fnrotation = null;
} else {
_local2.rotation = (_local2.rotation + (_local3 / _local2.Srotation));
};
}
private static function EmoveToValuescaleX(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.TscaleX - (_local2.scaleX * 100));
if (Math.abs(_local3) <= 1){
_local2.scaleX = (_local2.TscaleX / 100);
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValuescaleX);
finish(_local2.FnscaleX, _local2);
_local2.FnscaleX = null;
} else {
_local2.scaleX = (_local2.scaleX + ((_local3 / _local2.SscaleX) / 100));
};
}
private static function EmoveToValuescaleY(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.TscaleY - (_local2.scaleY * 100));
if (Math.abs(_local3) <= 1){
_local2.scaleY = (_local2.TscaleY / 100);
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValuescaleY);
finish(_local2.FnscaleY, _local2);
_local2.FnscaleY = null;
} else {
_local2.scaleY = (_local2.scaleY + ((_local3 / _local2.SscaleY) / 100));
};
}
private static function EmoveToValueRVwidth(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.DRwidth * _local2.Swidth);
_local2.Mwidth = (_local2.Mwidth - Math.abs(_local3));
_local2.Swidth = (_local2.Swidth + (_local2.Swidth / _local2.Gwidth));
if (_local2.Mwidth <= 0){
_local2.width = _local2.Twidth;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValueRVwidth);
finish(_local2.Fnwidth, _local2);
_local2.Fnwidth = null;
} else {
_local2.width = (_local2.width + _local3);
};
}
private static function ELEmoveToValuey(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = _local2.y;
_local2.y = (((_local2.Sy * (_local2.y - _local2.Ty)) + (_local2.Gy * (_local2.prevy - _local2.Ty))) + _local2.Ty);
_local2.prevy = _local3;
_local2.TMy++;
if (_local2.TMy == 20){
_local2.y = _local2.Ty;
_local2.removeEventListener(Event.ENTER_FRAME, ELEmoveToValuey);
finish(_local2.Fny, _local2);
_local2.Fny = null;
};
}
private static function finish(_arg1:Function, _arg2:MovieClip):void{
if (_arg1 != null){
_arg1(_arg2);
};
}
private static function EmoveToValueRVx(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.DRx * _local2.Sx);
_local2.Mx = (_local2.Mx - Math.abs(_local3));
_local2.Sx = (_local2.Sx + (_local2.Sx / _local2.Gx));
if (_local2.Mx <= 0){
_local2.x = _local2.Tx;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValueRVx);
finish(_local2.Fnx, _local2);
_local2.Fnx = null;
} else {
_local2.x = (_local2.x + _local3);
};
}
private static function EmoveToValueRVy(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.DRy * _local2.Sy);
_local2.My = (_local2.My - Math.abs(_local3));
_local2.Sy = (_local2.Sy + (_local2.Sy / _local2.Gy));
if (_local2.My <= 0){
_local2.y = _local2.Ty;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValueRVy);
finish(_local2.Fny, _local2);
_local2.Fny = null;
} else {
_local2.y = (_local2.y + _local3);
};
}
public static function ELmoveToValue(_arg1:MovieClip, _arg2:int, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Function=null):void{
var _local7:Function = KJC_enterframe[("ELEmoveToValue" + _arg5)];
_arg1.removeEventListener(Event.ENTER_FRAME, _local7);
_arg1[("TM" + _arg5)] = 0;
_arg1[("T" + _arg5)] = _arg2;
_arg1[("S" + _arg5)] = _arg3;
_arg1[("G" + _arg5)] = _arg4;
_arg1[("prev" + _arg5)] = _arg1[_arg5];
_arg1[("Fn" + _arg5)] = _arg6;
_arg1.addEventListener(Event.ENTER_FRAME, _local7);
}
private static function EmoveToValuex(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.Tx - _local2.x);
if (Math.abs(_local3) <= 1){
_local2.x = _local2.Tx;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValuex);
finish(_local2.Fnx, _local2);
_local2.Fnx = null;
} else {
_local2.x = (_local2.x + (_local3 / _local2.Sx));
};
}
private static function EmoveToValuey(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
var _local3:Number = (_local2.Ty - _local2.y);
if (Math.abs(_local3) <= 1){
_local2.y = _local2.Ty;
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValuey);
finish(_local2.Fny, _local2);
_local2.Fny = null;
} else {
_local2.y = (_local2.y + (_local3 / _local2.Sy));
};
}
public static function moveToParabolic(_arg1:MovieClip, _arg2:int, _arg3:int, _arg4:Number, _arg5:Number, _arg6:int, _arg7:Function=null, _arg8=null):void{
_arg1.removeEventListener(Event.ENTER_FRAME, EmoveToParabolic);
_arg1.TxP = _arg2;
_arg1.ThP = _arg3;
_arg1.TyP = _arg6;
_arg1.SxP = _arg4;
_arg1.SyP = _arg5;
_arg1.DrP = 1;
_arg1.FnP = _arg7;
_arg1.FnPro = _arg8;
_arg1.addEventListener(Event.ENTER_FRAME, EmoveToParabolic);
}
private static function EmoveToFrame(_arg1:Event):void{
var _local3:Function;
var _local2:* = _arg1.currentTarget;
_local2.gotoAndStop((_local2.currentFrame + _local2.D));
if (_local2.currentFrame == _local2.F){
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToFrame);
_local3 = _local2.Fn;
_local2.Fn = null;
finish(_local3, _local2);
};
}
private static function EmoveToValuealpha(_arg1:Event):void{
var _local2:* = _arg1.currentTarget;
_local2.visible = true;
var _local3:Number = (_local2.Talpha - (_local2.alpha * 100));
if (Math.abs(_local3) <= 10){
if (_local2.Talpha == 0){
_local2.visible = false;
};
_local2.removeEventListener(Event.ENTER_FRAME, EmoveToValuealpha);
_local2.alpha = (_local2.Talpha / 100);
finish(_local2.Fnalpha, _local2);
_local2.Fnalpha = null;
} else {
_local2.alpha = (_local2.alpha + ((_local3 / _local2.Salpha) / 100));
};
}
}
}//package libs.kjc
Section 15
//KJC_general (libs.kjc.KJC_general)
package libs.kjc {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.accessibility.*;
public class KJC_general {
public static function uintToInt(_arg1:String):int{
var _local2:int;
var _local3:int = stringToInt(_arg1.slice(0, 1));
var _local4:int = stringToInt(_arg1.slice(1, 2));
_local2 = ((_local3 * 16) + _local4);
return (_local2);
}
public static function goLink(_arg1:String, _arg2:String="_self"):void{
trace(((_arg1 + "---") + _arg2));
}
public static function textStyle(_arg1:TextField, _arg2:String, _arg3:Number, _arg4:int=0):void{
var _local5:StyleSheet = new StyleSheet();
var _local6:Object = new Object();
_local6.letterSpacing = _arg3;
_local5.setStyle(".heading", _local6);
_arg1.styleSheet = _local5;
_arg1.type = TextFieldType.DYNAMIC;
switch (_arg4){
case 0:
_arg1.autoSize = TextFieldAutoSize.LEFT;
break;
case 1:
_arg1.autoSize = TextFieldAutoSize.RIGHT;
break;
case 2:
_arg1.autoSize = TextFieldAutoSize.CENTER;
break;
};
_arg1.htmlText = (("<span class='heading'>" + _arg2) + "</span>");
}
public static function textToInt(_arg1:String):int{
var _local3:String;
var _local2:int = (_arg1.length - 1);
var _local4:String = _arg1;
var _local5:int;
while (_local5 < _local2) {
_local3 = _local4.slice(_local5, (_local5 + 1));
switch (_local3){
case "0":
break;
default:
return (int(_arg1));
};
_arg1 = _local4.slice((_local5 + 1));
_local5++;
};
return (int(_arg1));
}
public static function remove(_arg1:MovieClip):void{
if (_arg1.parent != null){
_arg1.parent.removeChild(_arg1);
};
}
public static function getDays(_arg1:int, _arg2:int, _arg3:int):int{
var _local4:Date = new Date(_arg1, (_arg2 - 1), _arg3);
return (_local4.getDay());
}
public static function getDaysInMonth(_arg1:int, _arg2:int):int{
var _local3:* = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
if (isLeapYear(_arg1) == true){
_local3[1] = 29;
};
return (_local3[(_arg2 - 1)]);
}
private static function isLeapYear(_arg1:int):Boolean{
if (((((((_arg1 % 4) == 0)) && (!(((_arg1 % 100) == 0))))) || (((_arg1 % 400) == 0)))){
return (true);
};
return (false);
}
public static function TextLength(_arg1:String, _arg2:int, _arg3:int):String{
if (_arg1.length > _arg2){
_arg1 = (_arg1.slice(0, _arg3) + "...");
return (_arg1);
};
return (_arg1);
}
public static function TextLengthRV(_arg1:String, _arg2:int):String{
var _local3:int = _arg1.length;
var _local4:int = (_local3 - _arg2);
_arg1 = _arg1.slice(_local4, _local3);
return (_arg1);
}
public static function BitmapMask(_arg1:MovieClip, _arg2:MovieClip, _arg3:Boolean):void{
_arg1.cacheAsBitmap = _arg3;
_arg2.cacheAsBitmap = _arg3;
_arg2.mask = _arg1;
}
public static function makeAccessible(_arg1:InteractiveObject, _arg2:Boolean, _arg3:String=null, _arg4:int=-1, _arg5:String=null){
if (_arg1.accessibilityProperties == null){
_arg1.accessibilityProperties = new AccessibilityProperties();
};
if (_arg2){
_arg1.tabEnabled = true;
if ((_arg1 is DisplayObjectContainer)){
DisplayObjectContainer(_arg1).tabChildren = false;
};
if (_arg3 != null){
_arg1.accessibilityProperties.name = _arg3;
};
if (!isNaN(_arg4)){
_arg1.tabIndex = _arg4;
};
if (_arg5 != null){
_arg1.accessibilityProperties.description = _arg5;
};
_arg1.accessibilityProperties.forceSimple = true;
_arg1.accessibilityProperties.silent = true;
};
if (Capabilities.hasAccessibility){
Accessibility.updateProperties();
};
}
public static function intToText(_arg1:int, _arg2:int):String{
var _local5:int;
var _local3:String = String(_arg1);
var _local4:int = _local3.length;
if (_local4 >= _arg2){
} else {
_local5 = _local4;
while (_local5 < _arg2) {
_local3 = ("0" + _local3);
_local5++;
};
};
return (_local3);
}
public static function frameReset(_arg1:MovieClip):void{
_arg1.gotoAndStop(1);
}
public static function Random(_arg1:int):Number{
var _local2:Number = Math.random();
if (_arg1 < 10){
while ((_local2 * 10) > _arg1) {
_local2 = Math.random();
};
_local2 = (_local2 * 10);
} else {
if (_arg1 < 100){
while ((_local2 * 100) > _arg1) {
_local2 = Math.random();
};
_local2 = (_local2 * 100);
} else {
while ((_local2 * 1000) > _arg1) {
_local2 = Math.random();
};
_local2 = (_local2 * 1000);
};
};
_local2 = Math.round(_local2);
return (_local2);
}
public static function focusOn(_arg1:MovieClip, _arg2:Function=null, _arg3:Function=null):void{
if (_arg2 != null){
_arg1.addEventListener(FocusEvent.FOCUS_IN, _arg2);
};
if (_arg3 != null){
_arg1.addEventListener(FocusEvent.FOCUS_OUT, _arg3);
};
}
public static function DrawRect(_arg1:MovieClip, _arg2:uint, _arg3:int, _arg4:int, _arg5:Number=1):void{
_arg1.graphics.clear();
_arg1.graphics.beginFill(_arg2, _arg5);
_arg1.graphics.drawRect(0, 0, _arg3, _arg4);
}
public static function saturationFilter(_arg1:DisplayObject, _arg2:Number, _arg3:Number):void{
if ((((_arg2 == 0)) && ((_arg3 == 0)))){
_arg1.filters = null;
return;
};
var _local4:Array = new Array();
_local4 = _local4.concat([_arg3, _arg2, _arg2, 0, 0]);
_local4 = _local4.concat([_arg2, _arg3, _arg2, 0, 0]);
_local4 = _local4.concat([_arg2, _arg2, _arg3, 0, 0]);
_local4 = _local4.concat([0, 0, 0, 1, 0]);
var _local5:ColorMatrixFilter = new ColorMatrixFilter(_local4);
_arg1.filters = [_local5];
}
public static function Out(_arg1:MouseEvent):void{
_arg1.currentTarget.prevFrame();
}
public static function Click(_arg1:MouseEvent):void{
var _local2:* = _arg1.currentTarget;
if ((((((_local2.tar == undefined)) || ((_local2.tar == "")))) || ((_local2.tar == null)))){
_local2.tar = "_self";
};
navigateToURL(new URLRequest(_local2.link), _local2.tar);
}
public static function loadObj(_arg1:MovieClip, _arg2:String, _arg3:int=0, _arg4:int=0, _arg5:int=0, _arg6:Function=null, _arg7:Function=null, _arg8=null, _arg9:Boolean=true):void{
var _local10:Loader = new Loader();
var _local11:URLRequest = new URLRequest(_arg2);
var _local12:LoaderContext = new LoaderContext();
_local12.checkPolicyFile = true;
_local12.applicationDomain = ApplicationDomain.currentDomain;
_local10.load(_local11, _local12);
if (_arg9 == true){
_arg1.addChildAt(_local10, _arg5);
_local10.x = _arg3;
_local10.y = _arg4;
};
if (_arg7 != null){
_local10.contentLoaderInfo.addEventListener(Event.COMPLETE, _arg7);
};
if (_arg6 != null){
_local10.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _arg6);
};
if (_arg8 != null){
_local10.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, _arg8);
};
}
private static function stringToInt(_arg1:String):int{
var _local2:int;
var _local3:*;
switch (_arg1){
case "a":
_local2 = 10;
break;
case "b":
_local2 = 11;
break;
case "c":
_local2 = 12;
break;
case "d":
_local2 = 13;
break;
case "e":
_local2 = 14;
break;
case "f":
_local2 = 15;
break;
case "A":
_local2 = 10;
break;
case "B":
_local2 = 11;
break;
case "C":
_local2 = 12;
break;
case "D":
_local2 = 13;
break;
case "E":
_local2 = 14;
break;
case "F":
_local2 = 15;
break;
default:
_local3 = _arg1;
_local2 = (_local3 - 0);
break;
};
return (_local2);
}
public static function btnOff(_arg1:MovieClip, _arg2:Function=null, _arg3:Function=null, _arg4:Function=null):void{
_arg1.buttonMode = false;
if (_arg3 != null){
_arg1.removeEventListener(MouseEvent.MOUSE_OVER, _arg3);
};
if (_arg4 != null){
_arg1.removeEventListener(MouseEvent.MOUSE_OUT, _arg4);
};
if (_arg2 != null){
_arg1.removeEventListener(MouseEvent.CLICK, _arg2);
};
}
public static function Over(_arg1:MouseEvent):void{
_arg1.currentTarget.nextFrame();
}
public static function ReSizeImg(_arg1:int, _arg2:int, _arg3:Bitmap):void{
var _local6:Number;
var _local4:Number = _arg3.width;
var _local5:Number = _arg3.height;
if ((((_local4 > _arg1)) || ((_local5 > _arg2)))){
_arg3.smoothing = true;
if (_local4 > _arg1){
_local6 = (_arg1 / _local4);
_local4 = _arg1;
_local5 = (_local5 * _local6);
};
if (_local5 > _arg2){
_local6 = (_arg2 / _local5);
_local5 = _arg2;
_local4 = (_local4 * _local6);
};
};
_arg3.height = _local5;
_arg3.width = _local4;
_arg3.x = Math.floor(((_arg1 - _local4) / 2));
_arg3.y = Math.floor(((_arg2 - _local5) / 2));
}
public static function focusOff(_arg1:MovieClip, _arg2:Function=null, _arg3:Function=null):void{
if (_arg2 != null){
_arg1.removeEventListener(FocusEvent.FOCUS_IN, _arg2);
};
if (_arg3 != null){
_arg1.removeEventListener(FocusEvent.FOCUS_OUT, _arg3);
};
}
public static function DrawRectGradient(_arg1:MovieClip, _arg2:uint, _arg3:int, _arg4:int, _arg5:int, _arg6:Number=0):void{
_arg1.graphics.clear();
var _local7:String = GradientType.LINEAR;
var _local8:Array = [_arg2, _arg2, _arg2, _arg2];
var _local9:Array = [0, 1, 1, 0];
var _local10:Array = [0, _arg5, (0xFF - _arg5), 0xFF];
var _local11:Matrix = new Matrix();
_local11.createGradientBox(_arg3, 25, _arg6, 0, 0);
_arg1.graphics.beginGradientFill(_local7, _local8, _local9, _local10, _local11);
_arg1.graphics.drawRect(0, 0, _arg3, _arg4);
}
public static function textDivision(_arg1:String, _arg2:String):Array{
var _local4:String;
var _local3:int = _arg1.length;
var _local5:Array = new Array();
var _local6 = "";
var _local7:int;
var _local8:int;
var _local9:int;
while (_local9 < _local3) {
_local4 = _arg1.slice(_local9, (_local9 + 1));
switch (_local4){
case _arg2:
_local5[_local7] = _arg1.slice(_local8, _local9);
_local7++;
_local8 = (_local9 + 1);
break;
default:
break;
};
_local9++;
};
_local5.push(_arg1.slice(_local8));
return (_local5);
}
public static function colorFilter(_arg1:DisplayObject, _arg2:String):void{
var _local3:int = uintToInt(_arg2.slice(2, 4));
var _local4:int = uintToInt(_arg2.slice(4, 6));
var _local5:int = uintToInt(_arg2.slice(6, 8));
var _local6:Number = (_local3 / 0xFF);
var _local7:Number = (_local4 / 0xFF);
var _local8:Number = (_local5 / 0xFF);
_arg1.transform.colorTransform = new ColorTransform(0, 0, 0, 1, _local3, _local4, _local5, 0);
}
public static function btnOn(_arg1:MovieClip, _arg2:Function=null, _arg3:Function=null, _arg4:Function=null, _arg5:Boolean=true):void{
_arg1.stop();
_arg1.buttonMode = _arg5;
if (_arg3 != null){
_arg1.addEventListener(MouseEvent.MOUSE_OVER, _arg3);
};
if (_arg4 != null){
_arg1.addEventListener(MouseEvent.MOUSE_OUT, _arg4);
};
if (_arg2 != null){
_arg1.addEventListener(MouseEvent.CLICK, _arg2);
};
}
public static function RemoveAllChild(_arg1:MovieClip, _arg2:DisplayObject=null):String{
var _local4:*;
var _local3:int = _arg1.numChildren;
var _local5:int = _local3;
while (_local5 > 0) {
_local4 = _arg1.getChildAt((_local5 - 1));
if (_local4 != _arg2){
_arg1.removeChild(_local4);
};
_local5--;
};
return ("ok");
}
}
}//package libs.kjc
Section 16
//BtnSnd (BtnSnd)
package {
import flash.media.*;
public dynamic class BtnSnd extends Sound {
}
}//package
Section 17
//CameraSnd (CameraSnd)
package {
import flash.media.*;
public dynamic class CameraSnd extends Sound {
}
}//package
Section 18
//HowTo (HowTo)
package {
import flash.display.*;
public dynamic class HowTo extends MovieClip {
}
}//package
Section 19
//Intro (Intro)
package {
import flash.display.*;
public dynamic class Intro extends MovieClip {
}
}//package
Section 20
//LevelUp (LevelUp)
package {
import flash.display.*;
public dynamic class LevelUp extends MovieClip {
public function LevelUp(){
addFrameScript(31, frame32);
}
function frame32(){
this.stop();
}
}
}//package
Section 21
//Photo (Photo)
package {
import flash.display.*;
public dynamic class Photo extends MovieClip {
public function Photo(){
addFrameScript(8, frame9);
}
function frame9(){
this.stop();
this.parent.removeChild(this);
}
}
}//package
Section 22
//Pong (Pong)
package {
import flash.media.*;
public dynamic class Pong extends Sound {
}
}//package
Section 23
//StartMc (StartMc)
package {
import flash.display.*;
public dynamic class StartMc extends MovieClip {
}
}//package
Section 24
//Success (Success)
package {
import flash.media.*;
public dynamic class Success extends Sound {
}
}//package
Section 25
//Turn (Turn)
package {
import flash.media.*;
public dynamic class Turn extends Sound {
}
}//package