Section 1
//Ball (code.Ball)
package code {
import sfb.maths.*;
import flash.geom.*;
import flash.display.*;
import sfb.audio.*;
import flash.events.*;
public class Ball extends MovieClip {
public var mass:Number;
public var pos:Vector;
private var collideCount:int;
public var radius:Number;
public var vel:Vector;
public static var BALLS:Array = [];
public static var FRICTION:Number = 0.992;
public static var AREA:Rectangle = new Rectangle(0, 0, 500, 500);
public function Ball(){
this.radius = (this.height / 2);
this.pos = Vector.newFromDisplayObject(this);
this.vel = new Vector();
this.mass = (this.radius * this.radius);
BALLS.push(this);
}
public function simulate(_arg1:Number=1):void{
vel = vel.multiply(FRICTION);
pos = pos.add(vel.multiply(_arg1));
pos.setToDO(this);
}
public function collide(_arg1:Ball):void{
var _local2:Vector;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Vector;
var _local7:MovieClip;
var _local8:uint;
var _local9:String;
var _local10:MovieClip;
_local2 = this.pos.subtract(_arg1.pos).normalised();
_local3 = this.vel.dotProduct(_local2);
_local4 = _arg1.vel.dotProduct(_local2);
_local5 = ((2 * (_local3 - _local4)) / (this.mass + _arg1.mass));
this.vel = this.vel.subtract(_local2.multiply((_arg1.mass * _local5))).multiply(0.85);
_arg1.vel = _arg1.vel.add(_local2.multiply((this.mass * _local5))).multiply(0.85);
_local6 = this.pos.subtract(this.pos.subtract(_arg1.pos).multiply(0.5));
if ((((this is Dinosaur)) || ((_arg1 is Dinosaur)))){
if ((((this is Dinosaur)) && ((_arg1 is Dinosaur)))){
_local7 = new Score1000();
_local8 = 1000;
} else {
_local7 = new Score500();
_local8 = 500;
};
} else {
_local7 = new Score100();
_local8 = 100;
};
_local9 = (("Hit" + String(SolarsaursRTApp.app.level)) + String((1 + Math.floor((Math.random() * 3)))));
SFXManager.getInstance().playSFX(_local9, 0, 0.4, ((this.x - 400) / 500));
_local10 = new Collide();
_local10.gotoAndStop(SolarsaursRTApp.app.level);
_local6.setToDO(_local10);
SolarsaursRTApp.app.game_mc.addChildAt(_local10, 1);
SolarsaursRTApp.app.score = (SolarsaursRTApp.app.score + _local8);
this.stage.addChild(_local7);
_local6.setToDO(_local7);
}
public function act(_arg1:Event=null):void{
var _local2:Boolean;
var _local3:uint;
var _local4:uint;
var _local5:Ball;
if (vel.length > 0.8){
this.simulate(1);
_local2 = false;
_local3 = 0;
_local4 = BALLS.length;
while (_local3 < _local4) {
_local5 = BALLS[_local3];
if (_local5 != this){
if (_local5.pos.subtract(this.pos).length <= (this.radius + _local5.radius)){
this.edgeDetect(true);
_local5.edgeDetect(true);
this.simulate(-1.5);
_local5.simulate(-1.5);
this.collide(_local5);
this.simulate(1);
_local5.simulate(1);
_local2 = true;
};
};
_local3++;
};
if (_local2){
this.collideCount++;
if (this.collideCount > 3){
this.explode();
};
} else {
this.collideCount = 0;
this.edgeDetect(false);
};
} else {
vel = new Vector();
};
}
public function edgeDetect(_arg1:Boolean):void{
var _local2:uint;
if ((pos.x - radius) <= AREA.left){
vel.x = (Math.sqrt((vel.x * vel.x)) * 0.95);
if (!_arg1){
_local2 = 0;
while ((pos.x - radius) <= AREA.x) {
this.simulate(1);
var _temp1 = _local2;
_local2 = (_local2 + 1);
if (_temp1 > 30){
break;
};
};
} else {
this.simulate(1);
};
};
if ((pos.x + radius) >= AREA.right){
vel.x = (-(Math.sqrt((vel.x * vel.x))) * 0.95);
if (!_arg1){
_local2 = 0;
while ((pos.x + radius) >= AREA.right) {
this.simulate(1);
var _temp2 = _local2;
_local2 = (_local2 + 1);
if (_temp2 > 30){
break;
};
};
} else {
this.simulate(1);
};
};
if ((pos.y - radius) <= AREA.top){
vel.y = (Math.sqrt((vel.y * vel.y)) * 0.95);
if (!_arg1){
_local2 = 0;
while ((pos.y - radius) <= AREA.top) {
this.simulate(1);
var _temp3 = _local2;
_local2 = (_local2 + 1);
if (_temp3 > 30){
break;
};
};
} else {
this.simulate(1);
};
};
if ((pos.y + radius) >= AREA.bottom){
vel.y = (-(Math.sqrt((vel.y * vel.y))) * 0.95);
if (!_arg1){
_local2 = 0;
while ((pos.y + radius) >= AREA.bottom) {
this.simulate(1);
var _temp4 = _local2;
_local2 = (_local2 + 1);
if (_temp4 > 30){
break;
};
};
} else {
this.simulate(1);
};
};
}
public function explode():void{
var _local1:MovieClip;
if (this.parent){
_local1 = new Explosion();
_local1.x = this.x;
_local1.y = this.y;
this.parent.addChild(_local1);
this.parent.removeChild(this);
};
}
}
}//package code
Section 2
//Dinosaur (code.Dinosaur)
package code {
import sfb.maths.*;
import flash.events.*;
public class Dinosaur extends Ball {
public var isHeld:Boolean;
public var crossedLine:Boolean;
public function Dinosaur(){
this.addEventListener(MouseEvent.MOUSE_DOWN, this.startDragging);
}
public function drag(_arg1:MouseEvent):void{
var _local2:Vector;
_local2 = Vector.newFromMouse(stage);
this.vel = _local2.subtract(this.pos);
if (this.vel.x > 15){
this.vel.x = 15;
};
if (this.vel.x < -15){
this.vel.x = -15;
};
if (this.vel.y > 15){
this.vel.y = 15;
};
if (this.vel.y < -15){
this.vel.y = -15;
};
this.pos = _local2;
this.pos.setToDO(this);
if (Ball.AREA.left < (this.x - this.radius)){
this.isHeld = false;
this.crossedLine = true;
this.removeEventListener(MouseEvent.MOUSE_DOWN, this.startDragging);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, this.drag);
stage.removeEventListener(MouseEvent.MOUSE_UP, this.stopDragging);
this.dispatchEvent(new Event(Event.ACTIVATE, true));
} else {
if (((((this.y - this.radius) < 70)) || (((this.y + this.radius) > 420)))){
this.x = SolarsaursRTApp.app.dinoPoint.x;
this.y = SolarsaursRTApp.app.dinoPoint.y;
this.pos.setFromDO(this);
this.vel = new Vector();
this.stopDragging();
};
};
_arg1.updateAfterEvent();
}
public function stopDragging(_arg1:MouseEvent=null):void{
stage.removeEventListener(MouseEvent.MOUSE_MOVE, this.drag);
stage.removeEventListener(MouseEvent.MOUSE_UP, this.stopDragging);
this.isHeld = false;
this.pos.setFromDO(this);
}
override public function act(_arg1:Event=null):void{
if (!this.isHeld){
super.act(_arg1);
};
}
override public function edgeDetect(_arg1:Boolean):void{
if (this.crossedLine){
super.edgeDetect(_arg1);
} else {
if (((((((this.x - this.radius) < 0)) || (((this.y - this.radius) < 70)))) || (((this.y + this.radius) > 420)))){
this.x = SolarsaursRTApp.app.dinoPoint.x;
this.y = SolarsaursRTApp.app.dinoPoint.y;
this.pos.setFromDO(this);
this.vel = new Vector();
} else {
if (Ball.AREA.left < (this.x - this.radius)){
this.isHeld = false;
this.crossedLine = true;
this.removeEventListener(MouseEvent.MOUSE_DOWN, this.startDragging);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, this.drag);
stage.removeEventListener(MouseEvent.MOUSE_UP, this.stopDragging);
this.dispatchEvent(new Event(Event.ACTIVATE, true));
};
};
};
}
public function startDragging(_arg1:MouseEvent):void{
if (!this.crossedLine){
stage.addEventListener(MouseEvent.MOUSE_MOVE, this.drag);
stage.addEventListener(MouseEvent.MOUSE_UP, this.stopDragging);
this.isHeld = true;
};
}
}
}//package code
Section 3
//SolarsaursRTApp (code.SolarsaursRTApp)
package code {
import flash.geom.*;
import flash.display.*;
import sfb.audio.*;
import flash.events.*;
import sfb.application.hiscores.*;
import flash.utils.*;
import sfb.tools.*;
import sfb.application.preloader.*;
import sfb.application.*;
public class SolarsaursRTApp extends Game {
public var agScores_btn:SimpleButton;
public var preloader_mc:MovieClip;
public var playAgain_btn:SimpleButton;
public var dinoPoint:Point;
public var hss_mc:HiscoreSubmit;
public var poMenu_btn:SimpleButton;
public var poScores_btn:SimpleButton;
public var play_btn:SimpleButton;
public var pmgScores_btn:SimpleButton;
public var hsd_mc:HiscoreDisplay;
public var agLoader_btn:SimpleButton;
public var seeAll_btn:SimpleButton;
public var next_btn:SimpleButton;
public var game_mc:MovieClip;
public var sfbMenu_btn:SimpleButton;
private var sfxManager:SFXManager;
public var dinosaur:int;
public var poLoader_btn:SimpleButton;
public var level:int;
public var pmgMenu_btn:SimpleButton;
public var agMenu_btn:SimpleButton;
private var musicManager:MusicManager;
public var pmgLoader_btn:SimpleButton;
public var hud_mc:MovieClip;
public var dinoEnd:Boolean;
public var sfbLoader_btn:SimpleButton;
public static var app:SolarsaursRTApp;
public function SolarsaursRTApp(){
addFrameScript(2, frame3, 1096, frame1097);
app = this;
this.addSceneScripts(onMenu, onInfo1, onGame, onScores);
this.addSceneFrameScript(2, 1, onInfo1);
this.addSceneFrameScript(2, 2, onInfo2);
this.addSceneFrameScript(2, 3, onInfo3);
this.addSceneFrameScript(2, 4, onInfo4);
this.addSceneFrameScript(2, 5, onInfo5);
this.addSceneFrameScript(2, 6, onInfo6);
this.addSceneFrameScript(2, 7, onInfo7);
this.addSceneFrameScript(2, 8, onInfo8);
this.linkTo(this.poLoader_btn, "http://armorgames.com/play/202/solarsaurs");
this.linkToAG(this.agLoader_btn);
this.linkToAG(this.pmgLoader_btn);
this.linkToSFB(this.sfbLoader_btn);
this.stop();
this.flashkeys = ["QVhyZ0N0V0E="];
this.SU0249s = ["MjgwM2olZSVhJW4lcw=="];
this.currentGame = 0;
this.preloader = new MovieClipPreloader(this.preloader_mc);
this.preload();
this.musicManager = MusicManager.getInstance();
this.sfxManager = SFXManager.getInstance();
}
public function gotoGame(_arg1:Event=null):void{
Cleanup.cleanDisplayList(this, true);
this.gotoAndStop(1, "Game");
}
override protected function preloadComplete(_arg1:Event):void{
this.gotoMenu();
}
function frame3(){
stop();
}
function frame1097(){
stop();
}
public function onAllStop(_arg1:Event=null):void{
if (!this.dinoEnd){
this.removeEventListener(Event.ENTER_FRAME, this.act);
this.dinoEnd = true;
this.dinosaur++;
if (this.dinosaur > 5){
setTimeout(nextStage, 2000);
} else {
this.hud_mc.dino_mc.nextFrame();
this.hud_mc.turns_mc.nextFrame();
this.addNewDinosaur();
this.dinoEnd = false;
this.addEventListener(Event.ENTER_FRAME, this.act);
};
};
}
public function onGame():void{
switch (this.level){
case 1:
Ball.AREA = new Rectangle(195, 65, 470, 350);
this.dinoPoint = new Point(90, 240);
this.game_mc = new SolarsaursRTGamePool();
break;
case 2:
Ball.AREA = new Rectangle(210, 30, 485, 370);
this.dinoPoint = new Point(90, 210);
this.game_mc = new SolarsaursRTGameIce();
break;
case 3:
Ball.AREA = new Rectangle(185, 40, 490, 390);
this.dinoPoint = new Point(90, 220);
this.game_mc = new SolarsaursRTGameCamp();
break;
case 4:
Ball.AREA = new Rectangle(210, 20, 465, 400);
this.dinoPoint = new Point(120, 240);
this.game_mc = new SolarsaursRTGamePan();
break;
};
Ball.AREA.width = (Ball.AREA.width - 35);
Ball.AREA.x = (Ball.AREA.x + 35);
this.addChildAt(this.game_mc, 1);
this.addNewDinosaur();
this.dinoEnd = false;
this.addEventListener(Event.ENTER_FRAME, this.act);
this.game_mc.addEventListener(Event.COMPLETE, this.onAllStop);
}
public function act(_arg1:Event):void{
var _local2:uint;
var _local3:uint;
var _local4:Boolean;
Ball.BALLS.sortOn("y", Array.NUMERIC);
_local2 = 0;
_local3 = Ball.BALLS.length;
while (_local2 < _local3) {
if (!this.dinoEnd){
if (Ball.BALLS[_local2].parent){
this.game_mc.addChild(Ball.BALLS[_local2]);
Ball.BALLS[_local2].act();
} else {
Ball.BALLS.splice(_local2, 1);
_local2--;
_local3--;
};
};
_local2++;
};
if (this.level == 3){
this.game_mc.addChild(this.game_mc.rain_mc);
};
_local4 = true;
_local2 = 0;
_local3 = Ball.BALLS.length;
while (_local2 < _local3) {
_local4 = ((_local4) && ((Ball.BALLS[_local2].vel.length < 0.8)));
if ((Ball.BALLS[_local2] is Dinosaur)){
_local4 = ((_local4) && (Ball.BALLS[_local2].crossedLine));
};
_local2++;
};
if (_local4){
this.onAllStop();
};
this.hud_mc.score_txt.text = String(this.score);
}
public function onInfo1():void{
setTimeout(this.gotoInfo2, 2000);
}
public function onInfo2():void{
this.musicManager.playMusic("music");
this.next_btn.addEventListener(MouseEvent.CLICK, this.gotoInfo3);
}
public function onInfo3():void{
this.next_btn.removeEventListener(MouseEvent.CLICK, this.gotoInfo3);
this.next_btn.addEventListener(MouseEvent.CLICK, this.gotoInfo4);
}
public function onInfo4():void{
this.next_btn.removeEventListener(MouseEvent.CLICK, this.gotoInfo4);
this.next_btn.addEventListener(MouseEvent.CLICK, this.gotoInfo5);
}
public function onInfo5():void{
this.next_btn.removeEventListener(MouseEvent.CLICK, this.gotoInfo5);
this.next_btn.addEventListener(MouseEvent.CLICK, this.gotoGame);
}
public function onInfo6():void{
this.next_btn.addEventListener(MouseEvent.CLICK, this.gotoGame);
}
public function onInfo8():void{
this.next_btn.addEventListener(MouseEvent.CLICK, this.gotoGame);
}
public function onInfo7():void{
this.next_btn.addEventListener(MouseEvent.CLICK, this.gotoGame);
}
public function onScores():void{
this.playAgain_btn.addEventListener(MouseEvent.CLICK, this.reset);
this.linkTo(this.poScores_btn, "http://armorgames.com/play/202/solarsaurs");
this.linkTo(this.seeAll_btn, "http://rankz.armorbot.com/roundtrip/");
this.linkToAG(this.agScores_btn);
this.linkToAG(this.pmgScores_btn);
}
public function reset(_arg1:Event):void{
this.score = 0;
this.level = 1;
this.dinosaur = 1;
this.gotoInfo5();
}
public function gotoMenu(_arg1:Event=null):void{
Cleanup.cleanDisplayList(this, true);
this.gotoAndStop(1, "Menu");
}
public function gotoScores(_arg1:Event=null):void{
Cleanup.cleanDisplayList(this, true);
this.gotoAndStop(1, "Scores");
}
public function gotoInfo2(_arg1:Event=null):void{
this.gotoAndStop(2, "Info");
}
public function gotoInfo5(_arg1:Event=null):void{
this.gotoAndStop(5, "Info");
}
public function gotoInfo1(_arg1:Event=null):void{
Cleanup.cleanDisplayList(this, true);
this.gotoAndStop(1, "Info");
}
public function gotoInfo3(_arg1:Event=null):void{
this.gotoAndStop(3, "Info");
}
public function gotoInfo4(_arg1:Event=null):void{
this.gotoAndStop(4, "Info");
}
public function gotoInfo6(_arg1:Event=null):void{
this.gotoAndStop(6, "Info");
}
public function gotoInfo7(_arg1:Event=null):void{
this.gotoAndStop(7, "Info");
}
public function gotoInfo8(_arg1:Event=null):void{
this.gotoAndStop(8, "Info");
}
public function nextStage():void{
if (this.game_mc.parent){
this.game_mc.parent.removeChild(this.game_mc);
};
this.dinosaur = 1;
this.level++;
Cleanup.cleanDisplayList(this, true);
Cleanup.cleanDisplayList(this.game_mc, true);
Cleanup.cleanArray(Ball.BALLS);
Ball.BALLS = [];
switch (this.level){
case 2:
this.gotoInfo6();
break;
case 3:
this.gotoInfo7();
break;
case 4:
this.gotoInfo8();
break;
case 5:
this.gotoScores();
break;
};
}
public function addNewDinosaur():void{
var _local1:Dinosaur;
switch (this.dinosaur){
case 1:
_local1 = new DinoYellow();
break;
case 2:
_local1 = new DinoPink();
break;
case 3:
_local1 = new DinoGreen();
break;
case 4:
_local1 = new DinoRed();
break;
case 5:
_local1 = new DinoBlue();
break;
};
_local1.gotoAndStop(this.level);
this.game_mc.addChild(_local1);
_local1.x = this.dinoPoint.x;
_local1.y = this.dinoPoint.y;
}
public function onMenu():void{
this.score = 0;
this.level = 1;
this.dinosaur = 1;
this.play_btn.addEventListener(MouseEvent.CLICK, this.gotoInfo2);
this.linkTo(this.poMenu_btn, "http://armorgames.com/play/202/solarsaurs");
this.linkToAG(this.agMenu_btn);
this.linkToAG(this.pmgMenu_btn);
this.linkToSFB(this.sfbMenu_btn);
this.musicManager.addMusic(MainMusic, "music");
this.sfxManager.addSFX(Hit11, "Hit11");
this.sfxManager.addSFX(Hit12, "Hit12");
this.sfxManager.addSFX(Hit13, "Hit13");
this.sfxManager.addSFX(Hit21, "Hit21");
this.sfxManager.addSFX(Hit22, "Hit22");
this.sfxManager.addSFX(Hit23, "Hit23");
this.sfxManager.addSFX(Hit31, "Hit31");
this.sfxManager.addSFX(Hit32, "Hit32");
this.sfxManager.addSFX(Hit33, "Hit33");
this.sfxManager.addSFX(Hit41, "Hit41");
this.sfxManager.addSFX(Hit42, "Hit42");
this.sfxManager.addSFX(Hit43, "Hit43");
}
}
}//package code
Section 4
//Hiscore (sfb.application.hiscores.Hiscore)
package sfb.application.hiscores {
public class Hiscore {
public var score:Number;
public var name:String;
public function Hiscore(_arg1:String, _arg2:Number){
this.name = _arg1;
this.score = _arg2;
}
}
}//package sfb.application.hiscores
Section 5
//HiscoreDisplay (sfb.application.hiscores.HiscoreDisplay)
package sfb.application.hiscores {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.text.*;
import sfb.application.*;
public class HiscoreDisplay extends MovieClip {
public var score1_txt:TextField;
public var score3_txt:TextField;
public var score5_txt:TextField;
private var hiscoreRequest:URLRequest;
public var score7_txt:TextField;
public var score9_txt:TextField;
public var name0_txt:TextField;
public var name2_txt:TextField;
public var name8_txt:TextField;
public var name6_txt:TextField;
private var hiscores:Array;
private var hiscoreData:URLVariables;
public var score2_txt:TextField;
public var score6_txt:TextField;
public var score8_txt:TextField;
public var score4_txt:TextField;
public var name4_txt:TextField;
public var score0_txt:TextField;
private var hiscoreLoader:URLLoader;
public var name1_txt:TextField;
public var name3_txt:TextField;
public var name5_txt:TextField;
public var name7_txt:TextField;
public var name9_txt:TextField;
public function HiscoreDisplay(){
this.hiscores = [];
this.hiscoreRequest = new URLRequest("http://rankz.armorbot.com/get/top10.php");
this.hiscoreRequest.method = URLRequestMethod.POST;
this.hiscoreLoader = new URLLoader();
this.hiscoreLoader.addEventListener(Event.COMPLETE, this.onLoadHiscores);
this.hiscoreLoader.addEventListener(IOErrorEvent.IO_ERROR, this.errorListener);
this.loadHiscores();
}
public function errorListener(_arg1:Event):void{
this.gotoAndStop("error");
}
public function loadHiscores():void{
this.gotoAndStop("loading");
this.hiscoreRequest.data = new URLVariables();
this.hiscoreRequest.data.SU0249 = Game.game.SU0249;
this.hiscoreRequest.data.flashkey = Game.game.flashkey;
this.hiscoreLoader.load(this.hiscoreRequest);
}
private function writeHiscores():void{
var _local1:uint;
var _local2:uint;
var _local3:Array;
var _local4:Array;
this.hiscores = [];
_local3 = this.hiscoreData.top10.split("<u/*/u>");
_local1 = 0;
_local2 = _local3.length;
while (_local1 < _local2) {
_local4 = _local3[_local1].split("</*/>");
this.hiscores[_local1] = new Hiscore(_local4[0], _local4[1]);
_local1++;
};
_local1 = 0;
_local2 = this.hiscores.length;
while (_local1 < _local2) {
if (((this[(("name" + _local1) + "_txt")]) && (this[(("score" + _local1) + "_txt")]))){
this[(("name" + _local1) + "_txt")].text = this.hiscores[_local1].name;
this[(("score" + _local1) + "_txt")].text = this.hiscores[_local1].score;
} else {
break;
};
_local1++;
};
}
private function onLoadHiscores(_arg1:Event):void{
this.hiscoreData = new URLVariables(this.hiscoreLoader.data);
if (String(this.hiscoreData["success"]) == "true"){
this.gotoAndStop("hiscores");
setTimeout(this.writeHiscores, 100);
} else {
this.gotoAndStop("error");
};
}
}
}//package sfb.application.hiscores
Section 6
//HiscoreSubmit (sfb.application.hiscores.HiscoreSubmit)
package sfb.application.hiscores {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import sfb.application.*;
public class HiscoreSubmit extends MovieClip {
public var hiscore:Hiscore;
public var score_txt:TextField;
private var submitRequest:URLRequest;
private var submitLoader:URLLoader;
public var hiscoreDisplay:HiscoreDisplay;
public var submit_btn:SimpleButton;
public var name_txt:TextField;
public function HiscoreSubmit(){
this.score_txt.text = String(Game.game.score);
this.name_txt.text = "YOUR NAME";
this.submit_btn.addEventListener(MouseEvent.CLICK, this.submitScore);
this.submitRequest = new URLRequest("http://rankz.armorbot.com/submit/as3_v0.php");
this.submitRequest.method = URLRequestMethod.POST;
this.submitLoader = new URLLoader();
this.submitLoader.dataFormat = URLLoaderDataFormat.TEXT;
this.submitLoader.addEventListener(Event.COMPLETE, this.onSubmitScore);
this.hiscoreDisplay = (this.parent["hsd_mc"] as HiscoreDisplay);
if (this.hiscoreDisplay){
this.submitLoader.addEventListener(IOErrorEvent.IO_ERROR, this.hiscoreDisplay.errorListener);
} else {
this.submitLoader.addEventListener(IOErrorEvent.IO_ERROR, this.errorListener);
};
}
public function errorListener(_arg1:Event):void{
}
private function submitScore(_arg1:Event):void{
var _local2:Number;
var _local3:String;
this.name_txt.type = TextFieldType.DYNAMIC;
this.name_txt.selectable = false;
if (this.contains(this.submit_btn)){
this.removeChild(this.submit_btn);
};
this.hiscore = new Hiscore(this.name_txt.text, Number(this.score_txt.text));
this.submitRequest.data = new URLVariables();
this.submitRequest.data.SU0249 = Game.game.SU0249;
this.submitRequest.data.flashkey = Game.game.flashkey;
this.submitRequest.data.bmFtZTE = this.hiscore.name;
_local2 = this.hiscore.score;
_local3 = (_local2 + "Z");
this.submitRequest.data.c2NvcmUx = _local3.split("0").join("U");
this.submitRequest.data.c2NvcmUx = this.submitRequest.data.c2NvcmUx.split("").join("A");
this.submitRequest.data.c2NvcmUx = this.submitRequest.data.c2NvcmUx.split("AU").join("Y");
this.submitRequest.data.c2NvcmUx = this.submitRequest.data.c2NvcmUx.split("A1").join("B");
this.submitRequest.data.c2NvcmUx = this.submitRequest.data.c2NvcmUx.split(".").join("N");
this.submitLoader.load(this.submitRequest);
}
private function onSubmitScore(_arg1:Event):void{
if (this.hiscoreDisplay){
trace("loading");
this.hiscoreDisplay.loadHiscores();
};
}
}
}//package sfb.application.hiscores
Section 7
//MovieClipPreloader (sfb.application.preloader.MovieClipPreloader)
package sfb.application.preloader {
import flash.display.*;
import flash.events.*;
public class MovieClipPreloader extends Preloader {
protected var target:MovieClip;
protected var totalFrames:uint;
public function MovieClipPreloader(_arg1:MovieClip){
super(_arg1.root.loaderInfo);
this.target = _arg1;
this.target.gotoAndStop(1);
this.totalFrames = this.target.totalFrames;
}
override protected function checkProgress(_arg1:Event):void{
var _local2:uint;
_local2 = Math.ceil((this.progress * this.totalFrames));
this.target.gotoAndStop(_local2);
if (this.progress >= 1){
this.dispatchEvent(new Event(Event.COMPLETE));
};
}
}
}//package sfb.application.preloader
Section 8
//Preloader (sfb.application.preloader.Preloader)
package sfb.application.preloader {
import flash.display.*;
import flash.events.*;
public class Preloader extends EventDispatcher {
protected var loaderInfo:LoaderInfo;
public function Preloader(_arg1:LoaderInfo){
this.loaderInfo = _arg1;
}
public function start():void{
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, this.checkProgress);
}
protected function checkProgress(_arg1:Event):void{
if (this.progress >= 1){
this.dispatchEvent(new Event(Event.COMPLETE));
};
}
public function get progress():Number{
return ((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal));
}
}
}//package sfb.application.preloader
Section 9
//EncodedGameSave (sfb.application.saves.EncodedGameSave)
package sfb.application.saves {
import flash.utils.*;
public class EncodedGameSave {
public var colourBorder:uint;
public var colourBackground:uint;
public var data:Object;
public var image1:ByteArray;
public var image2:ByteArray;
public var title:String;
public var colourText:uint;
public var link:String;
public var description:String;
public function EncodedGameSave(){
this.data = {};
}
}
}//package sfb.application.saves
Section 10
//SaveSystem (sfb.application.saves.SaveSystem)
package sfb.application.saves {
import flash.events.*;
import flash.net.*;
public class SaveSystem extends EventDispatcher {
private var sharedObject:SharedObject;
private var saveLocation:String;
private var gameName:String;
public function SaveSystem(_arg1:String){
this.saveLocation = "sfbsavegamesystem";
registerClassAlias("sfb.application.saves.EncodedGameSave", EncodedGameSave);
this.gameName = _arg1;
this.sharedObject = SharedObject.getLocal(this.saveLocation, "/");
if (!this.sharedObject.data[_arg1]){
this.sharedObject.data[_arg1] = {};
};
}
public function save(_arg1:EncodedGameSave):void{
var save = _arg1;
this.sharedObject.data[gameName].save = save;
try {
this.sharedObject.flush(5000);
} catch(e:Error) {
};
}
public function load():EncodedGameSave{
return ((this.sharedObject.data[gameName].save as EncodedGameSave));
}
}
}//package sfb.application.saves
Section 11
//Application (sfb.application.Application)
package sfb.application {
import flash.display.*;
import flash.events.*;
import sfb.application.saves.*;
import flash.utils.*;
import sfb.events.*;
import flash.net.*;
import sfb.application.preloader.*;
import flash.ui.*;
public class Application extends MovieClip {
protected var sfbLink:ContextMenuItem;
protected var lowQuality:ContextMenuItem;
public var saveSystem:SaveSystem;
protected var pmgLink:ContextMenuItem;
public var rightClickMenu:ContextMenu;
protected var agLink:ContextMenuItem;
public var preloader:Preloader;
protected var links:Dictionary;
protected var mediumQuality:ContextMenuItem;
protected var qualityIndicator:String;// = " <<<"
protected var highQuality:ContextMenuItem;
public static var application:Application;
public function Application(){
qualityIndicator = " <<<";
super();
this.stop();
Application.application = this;
this.createRightClickMenu();
this.links = new Dictionary(true);
}
public function linkToAB(_arg1:InteractiveObject):void{
_arg1.addEventListener(MouseEvent.CLICK, this.browseToAB);
}
protected function preload():void{
if (this.preloader){
this.preloader.addEventListener(Event.COMPLETE, this.preloadComplete);
this.preloader.start();
};
}
public function qualityToLow(_arg1:Event=null):void{
this.stage.quality = StageQuality.LOW;
this.highQuality.caption = this.removeQualityIndicator(this.highQuality.caption);
this.mediumQuality.caption = this.removeQualityIndicator(this.mediumQuality.caption);
this.lowQuality.caption = this.removeQualityIndicator(this.lowQuality.caption);
this.lowQuality.caption = (this.lowQuality.caption + this.qualityIndicator);
this.dispatchEvent(new ApplicationEvent(ApplicationEvent.QUALITY_CHANGE));
}
public function linkTo(_arg1:InteractiveObject, _arg2:String):void{
this.links[_arg1] = _arg2;
_arg1.addEventListener(MouseEvent.CLICK, this.browseToLink);
}
public function browseToNG(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.newgrounds.com/"), "_blank");
}
public function linkToSFB(_arg1:InteractiveObject):void{
_arg1.addEventListener(MouseEvent.CLICK, this.browseToSFB);
}
public function addSceneScripts(... _args):void{
var _local2:uint;
var _local3:uint;
var _local4:uint;
_local2 = _args.length;
_local4 = 0;
while (_local4 < _local2) {
_local3 = (_local3 + this.scenes[_local4].numFrames);
this.addFrameScript(_local3, _args[_local4]);
_local4++;
};
}
public function addSceneFrameScript(_arg1:uint, _arg2:uint, _arg3:Function):void{
var _local4:uint;
var _local5:uint;
_local4 = 0;
_local5 = 0;
while (_local5 < (_arg1 - 1)) {
_local4 = (_local4 + Scene(this.scenes[_local5]).numFrames);
_local5++;
};
_local4 = (_local4 + _arg2);
this.addFrameScript(_local4, _arg3);
}
public function browseToLink(_arg1:Event=null):void{
navigateToURL(new URLRequest(this.links[_arg1.target]), "_blank");
}
protected function preloadComplete(_arg1:Event):void{
}
protected function removeQualityIndicator(_arg1:String):String{
if (_arg1.substr((_arg1.length - this.qualityIndicator.length)) == this.qualityIndicator){
return (_arg1.substring(0, (_arg1.length - this.qualityIndicator.length)));
};
return (_arg1);
}
public function linkToAG(_arg1:InteractiveObject):void{
_arg1.addEventListener(MouseEvent.CLICK, this.browseToAG);
}
public function browseToSFB(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.superflashbros.net/"), "_blank");
}
public function browseToAB(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.armorblog.com/"), "_blank");
}
public function browseToAG(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.armorgames.com/"), "_blank");
}
public function linkToNG(_arg1:InteractiveObject):void{
_arg1.addEventListener(MouseEvent.CLICK, this.browseToNG);
}
protected function createRightClickMenu():void{
this.rightClickMenu = new ContextMenu();
this.rightClickMenu.hideBuiltInItems();
this.highQuality = new ContextMenuItem("Quality: High");
this.highQuality.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, this.qualityToHigh);
this.mediumQuality = new ContextMenuItem("Quality: Medium");
this.mediumQuality.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, this.qualityToMedium);
this.lowQuality = new ContextMenuItem("Quality: Low");
this.lowQuality.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, this.qualityToLow);
this.sfbLink = new ContextMenuItem("SuperFlashBros.net", true);
this.sfbLink.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, this.browseToSFB);
this.agLink = new ContextMenuItem("ArmorGames.com");
this.agLink.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, this.browseToAG);
this.pmgLink = new ContextMenuItem("Play More Games!");
this.pmgLink.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, this.browseToAG);
this.rightClickMenu.customItems.push(this.highQuality);
this.rightClickMenu.customItems.push(this.mediumQuality);
this.rightClickMenu.customItems.push(this.lowQuality);
this.rightClickMenu.customItems.push(this.sfbLink);
this.rightClickMenu.customItems.push(this.agLink);
this.rightClickMenu.customItems.push(this.pmgLink);
this.contextMenu = rightClickMenu;
this.qualityToHigh();
}
public function qualityToHigh(_arg1:Event=null):void{
this.stage.quality = StageQuality.HIGH;
this.highQuality.caption = this.removeQualityIndicator(this.highQuality.caption);
this.mediumQuality.caption = this.removeQualityIndicator(this.mediumQuality.caption);
this.lowQuality.caption = this.removeQualityIndicator(this.lowQuality.caption);
this.highQuality.caption = (this.highQuality.caption + this.qualityIndicator);
this.dispatchEvent(new ApplicationEvent(ApplicationEvent.QUALITY_CHANGE));
}
public function qualityToMedium(_arg1:Event=null):void{
this.stage.quality = StageQuality.MEDIUM;
this.highQuality.caption = this.removeQualityIndicator(this.highQuality.caption);
this.mediumQuality.caption = this.removeQualityIndicator(this.mediumQuality.caption);
this.lowQuality.caption = this.removeQualityIndicator(this.lowQuality.caption);
this.mediumQuality.caption = (this.mediumQuality.caption + this.qualityIndicator);
this.dispatchEvent(new ApplicationEvent(ApplicationEvent.QUALITY_CHANGE));
}
}
}//package sfb.application
Section 12
//Game (sfb.application.Game)
package sfb.application {
public class Game extends Application {
protected var flashkeys:Array;
public var currentGame:uint;
protected var SU0249s:Array;
public var score:Number;
public static var game:Game;
public function Game(){
Game.game = this;
}
public function get SU0249():String{
return (this.SU0249s[this.currentGame]);
}
public function get flashkey():String{
return (this.flashkeys[this.currentGame]);
}
}
}//package sfb.application
Section 13
//MusicManager (sfb.audio.MusicManager)
package sfb.audio {
import flash.events.*;
import flash.media.*;
import flash.utils.*;
public class MusicManager {
private var setVolume:Number;
private var musicChannel:SoundChannel;
private var isMuted:Boolean;
private var oldMusicChannel:SoundChannel;
private var fadeTimer:Timer;
private var volSpeed:Number;
private var oldVolSpeed:Number;
private var music_array:Array;
private static var INSTANCE:MusicManager;
public function MusicManager(){
this.music_array = [];
this.fadeTimer = new Timer(20);
this.fadeTimer.addEventListener(TimerEvent.TIMER, this.fadeInOut);
this.setVolume = 1;
}
public function stopMusic():void{
this.fadeTimer.stop();
if (this.oldMusicChannel){
this.oldMusicChannel.stop();
this.oldMusicChannel = null;
};
if (this.musicChannel){
this.musicChannel.stop();
this.musicChannel = null;
};
}
public function addMusic(_arg1:Class, _arg2:String):void{
this.music_array[_arg2] = new (_arg1);
}
private function fadeInOut(_arg1:TimerEvent):void{
var _local2:SoundTransform;
var _local3:SoundTransform;
if (this.oldMusicChannel){
_local2 = this.oldMusicChannel.soundTransform;
_local2.volume = (_local2.volume - oldVolSpeed);
this.oldMusicChannel.soundTransform = _local2;
if (_local2.volume < 0.05){
this.oldMusicChannel.stop();
};
};
if (this.musicChannel){
_local3 = this.musicChannel.soundTransform;
_local3.volume = (_local3.volume + volSpeed);
this.musicChannel.soundTransform = _local3;
};
}
public function playMusic(_arg1:String, _arg2:int=40000000, _arg3:Number=1, _arg4:Number=0, _arg5:int=0):void{
var _local6:Number;
if (this.music_array[_arg1]){
this.setVolume = _arg3;
_local6 = _arg3;
if (this.oldMusicChannel){
this.oldMusicChannel.stop();
};
if (_arg5 != 0){
if (this.musicChannel){
this.oldMusicChannel = this.musicChannel;
this.oldVolSpeed = (this.oldMusicChannel.soundTransform.volume / (_arg5 / 20));
};
this.volSpeed = (_arg3 / (_arg5 / 20));
_local6 = 0;
this.fadeTimer.repeatCount = Math.round((_arg5 / 20));
this.fadeTimer.reset();
this.fadeTimer.start();
} else {
if (this.musicChannel){
this.musicChannel.stop();
};
};
this.musicChannel = Sound(this.music_array[_arg1]).play(0, _arg2, new SoundTransform(_local6, _arg4));
};
}
public function mute():void{
var _local1:SoundTransform;
var _local2:SoundTransform;
this.fadeTimer.stop();
this.isMuted = true;
if (this.oldMusicChannel){
_local1 = this.oldMusicChannel.soundTransform;
_local1.volume = 0;
this.oldMusicChannel.soundTransform = _local1;
};
if (this.musicChannel){
_local2 = this.musicChannel.soundTransform;
_local2.volume = 0;
this.musicChannel.soundTransform = _local2;
};
}
public function get muted():Boolean{
return (this.isMuted);
}
public function unmute():void{
var _local1:SoundTransform;
this.isMuted = false;
if (this.musicChannel){
_local1 = this.musicChannel.soundTransform;
_local1.volume = this.setVolume;
this.musicChannel.soundTransform = _local1;
};
}
public static function getInstance():MusicManager{
if (INSTANCE){
return (INSTANCE);
};
INSTANCE = new (MusicManager);
return (INSTANCE);
}
}
}//package sfb.audio
Section 14
//SFXManager (sfb.audio.SFXManager)
package sfb.audio {
import flash.events.*;
import flash.media.*;
public class SFXManager {
private var sfxChannel_array:Array;
private var sfx_array:Array;
private static var INSTANCE:SFXManager;
public function SFXManager(){
this.sfx_array = [];
this.sfxChannel_array = [];
}
public function stopSFX(_arg1:String):void{
if (this.sfxChannel_array[_arg1]){
SoundChannel(this.sfxChannel_array[_arg1]).stop();
this.sfxChannel_array[_arg1] = null;
};
}
public function addSFX(_arg1:Class, _arg2:String):void{
this.sfx_array[_arg2] = new (_arg1);
}
public function stopAllSFX():void{
var _local1:String;
for (_local1 in this.sfxChannel_array) {
if (this.sfxChannel_array[_local1]){
this.stopSFX(_local1);
};
};
}
private function completeListener(_arg1:Event):void{
var _local2:String;
for (_local2 in this.sfxChannel_array) {
if (this.sfxChannel_array[_local2] == _arg1.target){
this.stopSFX(_local2);
};
};
}
public function playSFX(_arg1:String, _arg2:int=0, _arg3:Number=1, _arg4:Number=0, _arg5:Boolean=false, _arg6:uint=0):void{
if (((this.sfx_array[_arg1]) && (((!(_arg5)) || (!(this.sfxChannel_array[_arg1])))))){
this.sfxChannel_array[_arg1] = Sound(this.sfx_array[_arg1]).play(_arg6, _arg2, new SoundTransform(_arg3, _arg4));
this.sfxChannel_array[_arg1].addEventListener(Event.SOUND_COMPLETE, this.completeListener);
};
}
public function isSFXPlaying(_arg1:String):Boolean{
if (this.sfxChannel_array[_arg1]){
return (true);
};
return (false);
}
public static function getInstance():SFXManager{
if (INSTANCE){
return (INSTANCE);
};
INSTANCE = new (SFXManager);
return (INSTANCE);
}
}
}//package sfb.audio
Section 15
//ApplicationEvent (sfb.events.ApplicationEvent)
package sfb.events {
import flash.events.*;
public class ApplicationEvent extends Event {
public static const QUALITY_CHANGE:String = "appQualityChange";
public function ApplicationEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
}
}//package sfb.events
Section 16
//Vector (sfb.maths.Vector)
package sfb.maths {
import flash.geom.*;
import flash.display.*;
public class Vector {
private var point:Point;
public static const DOWN:Vector = new Vector(0, 1);
;
public static const LEFT:Vector = new Vector(-1, 0);
;
public static const UP:Vector = new Vector(0, -1);
;
public static const RIGHT:Vector = new Vector(1, 0);
;
public function Vector(_arg1:Number=0, _arg2:Number=0){
this.point = new Point(_arg1, _arg2);
}
public function get y():Number{
return (this.point.y);
}
public function setFromPoint(_arg1:Point):void{
this.point.x = _arg1.x;
this.point.y = _arg1.y;
}
public function setToDO(_arg1:DisplayObject):void{
_arg1.x = this.point.x;
_arg1.y = this.point.y;
}
public function mark(_arg1:DisplayObject, _arg2:uint=0, _arg3:uint=1):void{
var _local4:Graphics;
if (_arg1["graphics"]){
_local4 = _arg1["graphics"];
_local4.lineStyle(0.01, _arg2);
_local4.moveTo((point.x - _arg3), (point.y - _arg3));
_local4.lineTo((point.x + _arg3), (point.y + _arg3));
_local4.moveTo((point.x - _arg3), (point.y + _arg3));
_local4.lineTo((point.x + _arg3), (point.y - _arg3));
};
}
public function get angle():Number{
return (new Vector().angleTo(this));
}
public function subtract(_arg1:Vector):Vector{
return (new Vector((this.point.x - _arg1.x), (this.point.y - _arg1.y)));
}
public function toPoint():Point{
return (this.point.clone());
}
public function setFromVector(_arg1:Vector):void{
this.point.x = _arg1.x;
this.point.y = _arg1.y;
}
public function moveBy(_arg1:Vector):void{
this.point.x = (this.point.x + _arg1.x);
this.point.y = (this.point.y + _arg1.y);
}
public function clone():Vector{
return (new Vector(this.point.x, this.point.y));
}
public function add(_arg1:Vector):Vector{
return (new Vector((this.point.x + _arg1.x), (this.point.y + _arg1.y)));
}
public function multiply(_arg1:Number):Vector{
return (new Vector((this.point.x * _arg1), (this.point.y * _arg1)));
}
public function get length():Number{
return (this.point.length);
}
public function normal(_arg1:Boolean=true):Vector{
if (_arg1){
return (new Vector(-(this.point.y), this.point.x));
};
return (new Vector(this.point.y, -(this.point.x)));
}
public function toString():String{
return (((("Vector - x=" + this.x) + ", y=") + this.y));
}
public function dotProduct(_arg1:Vector):Number{
return (((this.point.x * _arg1.x) + (this.point.y * _arg1.y)));
}
public function angleTo(_arg1:Vector):Number{
var _local2:Vector;
_local2 = _arg1.subtract(this);
return (Math.atan2(_local2.x, -(_local2.y)));
}
public function set x(_arg1:Number):void{
this.point.x = _arg1;
}
public function set y(_arg1:Number):void{
this.point.y = _arg1;
}
public function roundToNearest(_arg1:Number=0.01):void{
this.point.x = (Math.round((this.point.x / _arg1)) * _arg1);
this.point.y = (Math.round((this.point.y / _arg1)) * _arg1);
}
public function normalised(_arg1:Number=1):Vector{
var _local2:Point;
_local2 = this.toPoint();
_local2.normalize(_arg1);
return (Vector.newFromPoint(_local2));
}
public function get x():Number{
return (this.point.x);
}
public function divide(_arg1:Number):Vector{
return (new Vector((this.point.x / _arg1), (this.point.y / _arg1)));
}
public function reflect(_arg1:Vector):Vector{
return (this.add(_arg1.multiply((2 * this.length))));
}
public function setFromDO(_arg1:DisplayObject):void{
this.point.x = _arg1.x;
this.point.y = _arg1.y;
}
public function equals(_arg1:Vector, _arg2:Number=0):Boolean{
return ((Vector.distance(this, _arg1) <= _arg2));
}
public static function interpolate(_arg1:Vector, _arg2:Vector, _arg3:Number):Vector{
return (Vector.newFromPoint(Point.interpolate(_arg1.toPoint(), _arg2.toPoint(), (1 - _arg3))));
}
public static function newFromPoint(_arg1:Point):Vector{
return (new Vector(_arg1.x, _arg1.y));
}
public static function newFromMouse(_arg1:DisplayObject):Vector{
return (new Vector(_arg1.mouseX, _arg1.mouseY));
}
public static function newFromAngle(_arg1:Number, _arg2:Number=1):Vector{
return (Vector.newFromPoint(Point.polar(_arg2, (_arg1 - (Math.PI / 2)))));
}
public static function distance(_arg1:Vector, _arg2:Vector):Number{
return (Point.distance(_arg1.toPoint(), _arg2.toPoint()));
}
public static function newFromDisplayObject(_arg1:DisplayObject):Vector{
return (new Vector(_arg1.x, _arg1.y));
}
public static function nearest(_arg1:Vector, _arg2:Array):Vector{
var _local3:Number;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:Vector;
_local3 = Number.POSITIVE_INFINITY;
_local4 = 0;
_local5 = 0;
_local6 = _arg2.length;
while (_local5 < _local6) {
_local7 = _arg1.subtract(_arg2[_local5]);
if (_local7.length < _local3){
_local3 = _local7.length;
_local4 = _local5;
};
_local5++;
};
return (_arg2[_local4]);
}
}
}//package sfb.maths
Section 17
//Cleanup (sfb.tools.Cleanup)
package sfb.tools {
import flash.display.*;
public class Cleanup {
public static function cleanArray(_arg1:Array):void{
var _local2:uint;
var _local3:uint;
if (_arg1){
_local2 = 0;
_local3 = _arg1.length;
while (_local2 < _local3) {
_arg1[0] = null;
_arg1.splice(0, 1);
_local2++;
};
};
}
public static function traceCallStack():void{
try {
throw (new Error("Don't worry, just tracing the call stack!"));
} catch(e:Error) {
trace(e.getStackTrace());
};
}
public static function cleanDisplayList(_arg1:DisplayObjectContainer, _arg2:Boolean=false):void{
var _local3:uint;
var _local4:uint;
var _local5:DisplayObject;
if (_arg1){
_local3 = 0;
_local4 = _arg1.numChildren;
while (_local3 < _local4) {
_local5 = _arg1.getChildAt(0);
if ((_local5 is MovieClip)){
MovieClip(_local5).stop();
};
if (((_local5) && (_arg1.contains(_local5)))){
_arg1.removeChild(_local5);
};
if (((_arg2) && ((_local5 is DisplayObjectContainer)))){
Cleanup.cleanDisplayList(DisplayObjectContainer(_local5), true);
};
_local3++;
};
};
}
}
}//package sfb.tools
Section 18
//HUD_219 (SolarsaursRoundTrip_fla.HUD_219)
package SolarsaursRoundTrip_fla {
import flash.display.*;
import flash.text.*;
public dynamic class HUD_219 extends MovieClip {
public var score_txt:TextField;
public var dino_mc:MovieClip;
public var turns_mc:MovieClip;
}
}//package SolarsaursRoundTrip_fla
Section 19
//icecrack_200 (SolarsaursRoundTrip_fla.icecrack_200)
package SolarsaursRoundTrip_fla {
import flash.display.*;
public dynamic class icecrack_200 extends MovieClip {
public function icecrack_200(){
addFrameScript(13, frame14);
}
function frame14(){
if (this.parent.parent){
this.parent.parent.removeChild(this.parent);
};
this.stop();
}
}
}//package SolarsaursRoundTrip_fla
Section 20
//Importer_19 (SolarsaursRoundTrip_fla.Importer_19)
package SolarsaursRoundTrip_fla {
import flash.display.*;
public dynamic class Importer_19 extends MovieClip {
public function Importer_19(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package SolarsaursRoundTrip_fla
Section 21
//mudsplat_203 (SolarsaursRoundTrip_fla.mudsplat_203)
package SolarsaursRoundTrip_fla {
import flash.display.*;
public dynamic class mudsplat_203 extends MovieClip {
public function mudsplat_203(){
addFrameScript(13, frame14);
}
function frame14(){
if (this.parent.parent){
this.parent.parent.removeChild(this.parent);
};
this.stop();
}
}
}//package SolarsaursRoundTrip_fla
Section 22
//Symbol132_220 (SolarsaursRoundTrip_fla.Symbol132_220)
package SolarsaursRoundTrip_fla {
import flash.display.*;
public dynamic class Symbol132_220 extends MovieClip {
public function Symbol132_220(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package SolarsaursRoundTrip_fla
Section 23
//Symbol2_205 (SolarsaursRoundTrip_fla.Symbol2_205)
package SolarsaursRoundTrip_fla {
import flash.display.*;
public dynamic class Symbol2_205 extends MovieClip {
public function Symbol2_205(){
addFrameScript(13, frame14);
}
function frame14(){
if (this.parent.parent){
this.parent.parent.removeChild(this.parent);
};
this.stop();
}
}
}//package SolarsaursRoundTrip_fla
Section 24
//Symbol36_241 (SolarsaursRoundTrip_fla.Symbol36_241)
package SolarsaursRoundTrip_fla {
import flash.display.*;
public dynamic class Symbol36_241 extends MovieClip {
public var h1:MovieClip;
}
}//package SolarsaursRoundTrip_fla
Section 25
//Symbol37_240 (SolarsaursRoundTrip_fla.Symbol37_240)
package SolarsaursRoundTrip_fla {
import flash.display.*;
public dynamic class Symbol37_240 extends MovieClip {
public function Symbol37_240(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package SolarsaursRoundTrip_fla
Section 26
//water_198 (SolarsaursRoundTrip_fla.water_198)
package SolarsaursRoundTrip_fla {
import flash.display.*;
public dynamic class water_198 extends MovieClip {
public function water_198(){
addFrameScript(13, frame14);
}
function frame14(){
if (this.parent.parent){
this.parent.parent.removeChild(this.parent);
};
this.stop();
}
}
}//package SolarsaursRoundTrip_fla
Section 27
//BeachBall (BeachBall)
package {
import code.*;
public dynamic class BeachBall extends Ball {
}
}//package
Section 28
//Collide (Collide)
package {
import flash.display.*;
public dynamic class Collide extends MovieClip {
}
}//package
Section 29
//DinoBlue (DinoBlue)
package {
import code.*;
public dynamic class DinoBlue extends Dinosaur {
public function DinoBlue(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 30
//DinoGreen (DinoGreen)
package {
import code.*;
public dynamic class DinoGreen extends Dinosaur {
public function DinoGreen(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 31
//DinoPink (DinoPink)
package {
import code.*;
public dynamic class DinoPink extends Dinosaur {
public function DinoPink(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 32
//DinoRed (DinoRed)
package {
import code.*;
public dynamic class DinoRed extends Dinosaur {
public function DinoRed(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 33
//DinoYellow (DinoYellow)
package {
import code.*;
public dynamic class DinoYellow extends Dinosaur {
public function DinoYellow(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 34
//Egg (Egg)
package {
import code.*;
public dynamic class Egg extends Ball {
}
}//package
Section 35
//Explosion (Explosion)
package {
import flash.display.*;
public dynamic class Explosion extends MovieClip {
public function Explosion(){
addFrameScript(16, frame17);
}
function frame17(){
if (this.parent){
this.parent.removeChild(this);
};
stop();
}
}
}//package
Section 36
//Fire (Fire)
package {
import code.*;
public dynamic class Fire extends Ball {
}
}//package
Section 37
//Hit11 (Hit11)
package {
import flash.media.*;
public dynamic class Hit11 extends Sound {
}
}//package
Section 38
//Hit12 (Hit12)
package {
import flash.media.*;
public dynamic class Hit12 extends Sound {
}
}//package
Section 39
//Hit13 (Hit13)
package {
import flash.media.*;
public dynamic class Hit13 extends Sound {
}
}//package
Section 40
//Hit21 (Hit21)
package {
import flash.media.*;
public dynamic class Hit21 extends Sound {
}
}//package
Section 41
//Hit22 (Hit22)
package {
import flash.media.*;
public dynamic class Hit22 extends Sound {
}
}//package
Section 42
//Hit23 (Hit23)
package {
import flash.media.*;
public dynamic class Hit23 extends Sound {
}
}//package
Section 43
//Hit31 (Hit31)
package {
import flash.media.*;
public dynamic class Hit31 extends Sound {
}
}//package
Section 44
//Hit32 (Hit32)
package {
import flash.media.*;
public dynamic class Hit32 extends Sound {
}
}//package
Section 45
//Hit33 (Hit33)
package {
import flash.media.*;
public dynamic class Hit33 extends Sound {
}
}//package
Section 46
//Hit41 (Hit41)
package {
import flash.media.*;
public dynamic class Hit41 extends Sound {
}
}//package
Section 47
//Hit42 (Hit42)
package {
import flash.media.*;
public dynamic class Hit42 extends Sound {
}
}//package
Section 48
//Hit43 (Hit43)
package {
import flash.media.*;
public dynamic class Hit43 extends Sound {
}
}//package
Section 49
//Ice (Ice)
package {
import code.*;
public dynamic class Ice extends Ball {
}
}//package
Section 50
//MainMusic (MainMusic)
package {
import flash.media.*;
public dynamic class MainMusic extends Sound {
}
}//package
Section 51
//Nest (Nest)
package {
import code.*;
public dynamic class Nest extends Ball {
}
}//package
Section 52
//Onion (Onion)
package {
import code.*;
public dynamic class Onion extends Ball {
}
}//package
Section 53
//Pack (Pack)
package {
import code.*;
public dynamic class Pack extends Ball {
}
}//package
Section 54
//Penguin (Penguin)
package {
import code.*;
public dynamic class Penguin extends Ball {
}
}//package
Section 55
//Pot (Pot)
package {
import code.*;
public dynamic class Pot extends Ball {
}
}//package
Section 56
//RubberDuck (RubberDuck)
package {
import code.*;
public dynamic class RubberDuck extends Ball {
}
}//package
Section 57
//RubberRing (RubberRing)
package {
import code.*;
public dynamic class RubberRing extends Ball {
}
}//package
Section 58
//Score100 (Score100)
package {
import flash.display.*;
public dynamic class Score100 extends MovieClip {
public function Score100(){
addFrameScript(10, frame11);
}
function frame11(){
if (this.parent){
this.parent.removeChild(this);
};
this.stop();
}
}
}//package
Section 59
//Score1000 (Score1000)
package {
import flash.display.*;
public dynamic class Score1000 extends MovieClip {
public function Score1000(){
addFrameScript(10, frame11);
}
function frame11(){
if (this.parent){
this.parent.removeChild(this);
};
this.stop();
}
}
}//package
Section 60
//Score500 (Score500)
package {
import flash.display.*;
public dynamic class Score500 extends MovieClip {
public function Score500(){
addFrameScript(10, frame11);
}
function frame11(){
if (this.parent){
this.parent.removeChild(this);
};
this.stop();
}
}
}//package
Section 61
//SolarsaursRTGameCamp (SolarsaursRTGameCamp)
package {
import flash.display.*;
public dynamic class SolarsaursRTGameCamp extends MovieClip {
public var rain_mc:MovieClip;
}
}//package
Section 62
//SolarsaursRTGameIce (SolarsaursRTGameIce)
package {
import flash.display.*;
public dynamic class SolarsaursRTGameIce extends MovieClip {
}
}//package
Section 63
//SolarsaursRTGamePan (SolarsaursRTGamePan)
package {
import flash.display.*;
public dynamic class SolarsaursRTGamePan extends MovieClip {
}
}//package
Section 64
//SolarsaursRTGamePool (SolarsaursRTGamePool)
package {
import flash.display.*;
public dynamic class SolarsaursRTGamePool extends MovieClip {
}
}//package
Section 65
//Tomato (Tomato)
package {
import code.*;
public dynamic class Tomato extends Ball {
}
}//package