Section 1
//CureGameScreen (carencure.curegame.CureGameScreen)
package carencure.curegame {
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
import com.jetmorgan.caelifera.engine.*;
public class CureGameScreen extends EngineScreen {
private var _cureSceneClass:Class;
private var _currentScene:Sprite;
public function CureGameScreen(){
_cureSceneClass = CureGameScreen__cureSceneClass;
super();
_currentScene = new _cureSceneClass();
_screen = _currentScene;
}
override public function enter(_arg1:IStateManager):void{
super.enter(_arg1);
_engine.setState(new CureGameState(_window, _currentScene));
}
}
}//package carencure.curegame
Section 2
//CureGameScreen__cureSceneClass (carencure.curegame.CureGameScreen__cureSceneClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameScreen__cureSceneClass extends SpriteAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 3
//CureGameState (carencure.curegame.CureGameState)
package carencure.curegame {
import com.jetmorgan.caelifera.core.events.*;
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
import flash.events.*;
import com.jetmorgan.data.*;
import flash.geom.*;
import gs.*;
import carencure.screens.*;
import flash.media.*;
import gs.easing.*;
import com.jetmorgan.caelifera.engine.*;
import flash.utils.*;
import flash.external.*;
public class CureGameState extends EngineState {
private var _currentTool:MovieClip;
private var _animalTimer:Timer;
private var _inActivity:Boolean;// = false
private var _sfxBellClass:Class;
private var _panels:Array;
private var _currentAilment:Object;
private var _sfxDblBlip:Sound;
private var _sfxThermoClick:Sound;
private var _polarBearSpriteClass:Class;
private var _sfxRightClass:Class;
private var _isRestarting:Boolean;// = false
private var _labels:Array;
private var _sfxTreatLollipop:Sound;
private var _sfxBounceClass:Class;
private var _currentStep:int;// = 0
private var paused:Boolean;// = false
private var _sfxOopsClass:Class;
private var _sfxWrongClass:Class;
private var _numAnimals:int;
private var _sfxLetGoClass:Class;
private var _sfxLetGo:Sound;
private var _sfxCuredClass:Class;
private var _soundtrack:Sound;
private var _generatedTicks:int;// = 0
private var _sfxButtonRollOverClass:Class;
private var _sfxPickAnimalClass:Class;
private var _isDraggingAnimal:Boolean;// = false
private var _sfxChannel:SoundChannel;
private var _sfxSwishClass:Class;
private var _basketSpeed:Number;
private var _currentScene:Sprite;
private var _leopardBasketSpriteClass:Class;
private var _sfxTreatCookie:Sound;
private var _pandaBasketSpriteClass:Class;
private var _ailments:Array;
private var _sfxSwish:Sound;
private var _tables:Array;
private var _sfxWrong:Sound;
private var _sfxTreatSundaeClass:Class;
private var _chances:int;// = 4
private var _sfxXray:Sound;
private var _sfxTreatLollipopClass:Class;
private var _sfxThermoPanel:Sound;
private var _sfxThermoPanelClass:Class;
private var _leopardSpriteClass:Class;
private var _sfxThermoClickClass:Class;
private var _sfxButtonRollOver:Sound;
private var _numSteps:int;// = 4
private var _finishedHelp:Boolean;// = false
private var _sfxPickupClass:Class;
private var _sfxCured:Sound;
private var _interface:Sprite;
private var _treats:Array;
private var _polarBearBasketSpriteClass:Class;
private var _sfxXrayClass:Class;
private var _sfxOops:Sound;
private var _generatedAnimals:int;// = 0
private var _sfxTreatSundae:Sound;
private var _currentAnimal:MovieClip;
private var _pandaSpriteClass:Class;
private var _animals:Array;
private var _tools:Array;
private var _sfxDblBlipClass:Class;
private var _sfxTreatCookieClass:Class;
private var _sfxPickup:Sound;
private var _checkNextAnimal:Boolean;// = false
private var _sfxBell:Sound;
private var _sfxPickAnimal:Sound;
private var _finishedAnimals:Array;
private var _sfxBounce:Sound;
private var _sfxRight:Sound;
private var _curedAnimals:int;// = 0
private var _cureTime:int;
private var _sndChannel:SoundChannel;
private var _animalType:String;
private var _soundtrackClass:Class;
private var _isDraggingTool:Boolean;// = false
private static const STEP_TREATS:int = 3;
private static const STEP_TREATMENT:int = 2;
private static const STEP_XRAY:int = 1;
private static const STEP_THERMO:int = 0;
private static const STEP_CURED:int = 4;
public function CureGameState(_arg1:DisplayObjectContainer, _arg2:Sprite){
_soundtrackClass = CureGameState__soundtrackClass;
_polarBearSpriteClass = CureGameState__polarBearSpriteClass;
_pandaSpriteClass = CureGameState__pandaSpriteClass;
_leopardSpriteClass = CureGameState__leopardSpriteClass;
_polarBearBasketSpriteClass = CureGameState__polarBearBasketSpriteClass;
_pandaBasketSpriteClass = CureGameState__pandaBasketSpriteClass;
_leopardBasketSpriteClass = CureGameState__leopardBasketSpriteClass;
_sfxBellClass = CureGameState__sfxBellClass;
_sfxBounceClass = CureGameState__sfxBounceClass;
_sfxCuredClass = CureGameState__sfxCuredClass;
_sfxLetGoClass = CureGameState__sfxLetGoClass;
_sfxOopsClass = CureGameState__sfxOopsClass;
_sfxPickupClass = CureGameState__sfxPickupClass;
_sfxPickAnimalClass = CureGameState__sfxPickAnimalClass;
_sfxSwishClass = CureGameState__sfxSwishClass;
_sfxWrongClass = CureGameState__sfxWrongClass;
_sfxRightClass = CureGameState__sfxRightClass;
_sfxDblBlipClass = CureGameState__sfxDblBlipClass;
_sfxThermoClickClass = CureGameState__sfxThermoClickClass;
_sfxThermoPanelClass = CureGameState__sfxThermoPanelClass;
_sfxTreatCookieClass = CureGameState__sfxTreatCookieClass;
_sfxTreatLollipopClass = CureGameState__sfxTreatLollipopClass;
_sfxTreatSundaeClass = CureGameState__sfxTreatSundaeClass;
_sfxXrayClass = CureGameState__sfxXrayClass;
_sfxButtonRollOverClass = CureGameState__sfxButtonRollOverClass;
_tables = [];
_tools = [];
_treats = [];
_panels = [];
_labels = [];
_animals = [];
_finishedAnimals = [];
_ailments = [];
super(_arg1);
_currentScene = _arg2;
_animalType = _globalData.currentAnimal;
_sfxBell = (new _sfxBellClass() as Sound);
_sfxBounce = (new _sfxBounceClass() as Sound);
_sfxCured = (new _sfxCuredClass() as Sound);
_sfxLetGo = (new _sfxLetGoClass() as Sound);
_sfxOops = (new _sfxOopsClass() as Sound);
_sfxPickup = (new _sfxPickupClass() as Sound);
_sfxPickAnimal = (new _sfxPickAnimalClass() as Sound);
_sfxSwish = (new _sfxSwishClass() as Sound);
_sfxWrong = (new _sfxWrongClass() as Sound);
_sfxRight = (new _sfxRightClass() as Sound);
_sfxDblBlip = (new _sfxDblBlipClass() as Sound);
_sfxThermoClick = (new _sfxThermoClickClass() as Sound);
_sfxThermoPanel = (new _sfxThermoPanelClass() as Sound);
_sfxTreatCookie = (new _sfxTreatCookieClass() as Sound);
_sfxTreatLollipop = (new _sfxTreatLollipopClass() as Sound);
_sfxTreatSundae = (new _sfxTreatSundaeClass() as Sound);
_sfxXray = (new _sfxXrayClass() as Sound);
_sfxButtonRollOver = (new _sfxButtonRollOverClass() as Sound);
_soundtrack = (new _soundtrackClass() as Sound);
}
private function hideLabels():void{
var _local2:Sprite;
var _local1:int;
while (_local1 < 10) {
_local2 = _currentScene[("label" + (_local1 + 1))];
_local2.alpha = 0;
_local2.visible = false;
_local1++;
};
}
override public function enter(_arg1:IStateManager):void{
var i:int;
var label:Sprite;
var manager = _arg1;
_currentScene["bg_mc"].cacheAsBitmap = true;
_sndChannel = _soundtrack.play(0, 999);
_sndChannel.soundTransform = new SoundTransform(0.3);
switch (_globalData.curedSpecies){
case 0:
_basketSpeed = 0.25;
_cureTime = (20 * 30);
_numAnimals = 4;
break;
case 1:
_basketSpeed = 0.3;
_cureTime = (18 * 30);
_numAnimals = 6;
break;
case 2:
_basketSpeed = 0.35;
_cureTime = (16 * 30);
_numAnimals = 8;
break;
};
_tables = [_currentScene["table_thermo"], _currentScene["table_xray"], _currentScene["table_treatment"], _currentScene["table_treats"]];
_tools = [_currentScene["tool_thermo"], _currentScene["tool_icePack"], _currentScene["tool_tweezers"], _currentScene["tool_bandage"], _currentScene["tool_bottle"], _currentScene["tool_syringe"]];
_treats = [_currentScene["treat_1"], _currentScene["treat_2"], _currentScene["treat_3"]];
_panels = [_currentScene["thermoPanel_mc"], _currentScene["xrayPanel_mc"]];
_ailments = [{name:"arm", ailment:_panels[1]["ailmentArm_mc"], tool:_tools[3]}, {name:"butt", ailment:_panels[1]["ailmentButt_mc"], tool:_tools[5]}, {name:"ear", ailment:_panels[1]["ailmentEar_mc"], tool:_tools[2]}, {name:"head", ailment:_panels[1]["ailmentHead_mc"], tool:_tools[1]}, {name:"stomach", ailment:_panels[1]["ailmentStomach_mc"], tool:_tools[4]}];
i = 0;
while (i < 10) {
label = _currentScene[("label" + (i + 1))];
label.alpha = 0;
label.visible = false;
label.cacheAsBitmap = true;
_labels.push(label);
i = (i + 1);
};
_currentScene["oops_mc"].visible = false;
_currentScene["help_mc"].visible = false;
_currentScene["tools_mc"].visible = false;
_currentScene["tools_mc"].stop();
_interface = _currentScene["interface_mc"];
i = 1;
while (i <= 3) {
_interface[("chance_" + i)].stop();
_interface[("chance_" + i)].gotoAndStop(1);
i = (i + 1);
};
var help_btn:MovieClip = _interface["help_btn"];
help_btn.stop();
help_btn.gotoAndStop(1);
help_btn.buttonMode = true;
help_btn.mouseChildren = false;
help_btn.addEventListener(MouseEvent.CLICK, helpHandler, false, 0, true);
help_btn.addEventListener(MouseEvent.ROLL_OVER, helpHandler, false, 0, true);
var close_btn:MovieClip = _currentScene["help_mc"]["close_btn"];
close_btn.stop();
close_btn.buttonMode = true;
close_btn.mouseChildren = false;
close_btn.addEventListener(MouseEvent.CLICK, closeHandler, false, 0, true);
switch (_animalType){
case "PolarBear":
_interface["titleHealed_txt"].text = "Polar Bears Healed";
break;
case "Panda":
_interface["titleHealed_txt"].text = "Panda Bears Healed";
break;
case "Leopard":
_interface["titleHealed_txt"].text = "Snow Leopards Healed";
break;
};
try {
ExternalInterface.call("MATTEL.tracker.Tracker.track", {name:(("Pet Rescue " + _animalType) + " Cure"), campaign:"Care N Cure", channel:"Games", contenttype:"Game", action:"LevelUp"});
} catch(e:Error) {
};
restart();
super.enter(manager);
}
private function showLabel(_arg1:int, _arg2:Boolean=true):void{
if (!_finishedHelp){
TweenLite.to(_labels[_arg1], 1, {autoAlpha:1});
if (((_arg2) && ((_arg1 > 0)))){
TweenLite.to(_labels[(_arg1 - 1)], 1, {autoAlpha:0});
};
};
}
private function restart():void{
var _local1:int;
var _local2:MovieClip;
var _local3:MovieClip;
var _local4:MovieClip;
var _local5:MovieClip;
var _local6:MovieClip;
var _local7:Sprite;
var _local8:MovieClip;
var _local9:Sprite;
_generatedTicks = 0;
_generatedAnimals = 0;
_currentStep = 0;
_currentScene["tools_mc"].visible = false;
hideLabels();
if (_currentAnimal){
_currentAnimal.stopDrag();
_isDraggingAnimal = false;
enableAnimal(_currentAnimal, false);
};
if (_currentTool){
_currentTool.stopDrag();
_isDraggingTool = false;
};
enableTools([_tools[0], _tools[1], _tools[2], _tools[3], _tools[4], _tools[5]], false);
enableTools([_treats[0], _treats[1], _treats[2]], false);
_local1 = 0;
while (_local1 < _tables.length) {
_local2 = _tables[_local1];
_local2.gotoAndStop(1);
_local2.cacheAsBitmap = true;
_local1++;
};
_local1 = 0;
while (_local1 < _tools.length) {
_local3 = _tools[_local1];
_local3.gotoAndStop(1);
_local3.visible = true;
_local3.alpha = 0.3;
if (!_local3.origPos){
_local3.origPos = new Point(_local3.x, _local3.y);
} else {
_local3.x = _local3.origPos.x;
_local3.y = _local3.origPos.y;
};
_local3.cacheAsBitmap = true;
_local1++;
};
_local1 = 0;
while (_local1 < _treats.length) {
_local4 = _treats[_local1];
_local4.gotoAndStop(1);
_local4.visible = true;
_local4.alpha = 0.3;
if (!_local4.origPos){
_local4.origPos = new Point(_local4.x, _local4.y);
} else {
_local4.x = _local4.origPos.x;
_local4.y = _local4.origPos.y;
};
_local4.cacheAsBitmap = true;
_local1++;
};
_local1 = 0;
while (_local1 < _panels.length) {
_local5 = _panels[_local1];
_local5.alpha = 0;
_local5.visible = false;
_local5.cacheAsBitmap = true;
_local1++;
};
_local1 = 0;
while (_local1 < _animals.length) {
_local6 = _animals[_local1].animal;
_local7 = _animals[_local1].basket;
if (_currentScene.contains(_local6)){
_currentScene.removeChild(_local6);
};
if (_currentScene.contains(_local7)){
_currentScene.removeChild(_local7);
};
_local1++;
};
_local1 = 0;
while (_local1 < _finishedAnimals.length) {
_local8 = _finishedAnimals[_local1].animal;
_local9 = _finishedAnimals[_local1].basket;
if (_currentScene.contains(_local8)){
_currentScene.removeChild(_local8);
};
if (_currentScene.contains(_local9)){
_currentScene.removeChild(_local9);
};
_local1++;
};
if (_panels[0]["thermometer_mc"].hasEventListener(MouseEvent.CLICK)){
_panels[0]["thermometer_mc"].removeEventListener(MouseEvent.CLICK, thermoActivity);
};
if (_panels[1].hasEventListener(MouseEvent.MOUSE_MOVE)){
_panels[1].removeEventListener(MouseEvent.MOUSE_MOVE, xrayActivity);
};
if (_panels[1].hasEventListener(MouseEvent.CLICK)){
_panels[1].removeEventListener(MouseEvent.CLICK, xrayActivity);
};
if (_panels[1].hasEventListener(MouseEvent.ROLL_OUT)){
_panels[1].removeEventListener(MouseEvent.ROLL_OUT, xrayActivity);
};
if (_currentAilment){
_currentAilment.ailment.x = (_currentAilment.ailment.x + 500);
};
_animals = [];
_finishedAnimals = [];
_curedAnimals = 0;
showLabel(0, false);
_sfxChannel = _sfxBell.play();
_currentAnimal = generateAnimal(null);
enableAnimal(_currentAnimal, true);
_interface["numHealed_txt"].text = ((_curedAnimals.toString() + " of ") + _numAnimals.toString());
_tables[_currentStep].gotoAndStop(2);
}
private function enableTools(_arg1:Array, _arg2:Boolean):void{
var _local4:MovieClip;
var _local3:int;
while (_local3 < _arg1.length) {
_local4 = _arg1[_local3];
_local4.buttonMode = _arg2;
_local4.useHandCursor = _arg2;
_local4.mouseChildren = false;
if (_arg2){
TweenLite.to(_local4, 0.5, {alpha:1});
_local4.addEventListener(MouseEvent.MOUSE_DOWN, toolHandler, false, 0, true);
_local4.addEventListener(MouseEvent.MOUSE_UP, toolHandler, false, 0, true);
} else {
TweenLite.to(_local4, 0.5, {alpha:0.3});
_local4.removeEventListener(MouseEvent.MOUSE_DOWN, toolHandler);
_local4.removeEventListener(MouseEvent.MOUSE_UP, toolHandler);
};
_local3++;
};
}
private function xrayActivity(_arg1:MouseEvent):void{
var _local5:BitmapData;
var _local6:Bitmap;
var _local7:MovieClip;
var _local2:MovieClip = _panels[1];
var _local3:MovieClip = _local2["xrayViewer_mc"];
var _local4:MovieClip = _currentAilment.ailment;
if (!paused){
switch (_arg1.type){
case MouseEvent.MOUSE_MOVE:
_local3.x = (_arg1.currentTarget.mouseX - (_local3.width / 2));
_local3.y = (_arg1.currentTarget.mouseY - (_local3.height / 2));
if (_local4.hitTestPoint(_window.mouseX, _window.mouseY, true) == true){
_local2.buttonMode = true;
_local2.useHandCursor = true;
} else {
_local2.buttonMode = false;
_local2.useHandCursor = false;
};
break;
case MouseEvent.ROLL_OUT:
_local3.x = -500;
break;
case MouseEvent.CLICK:
if (_local4.hitTestPoint(_window.mouseX, _window.mouseY, true) == true){
_local2.buttonMode = false;
_local2.useHandCursor = false;
_local2.removeEventListener(MouseEvent.MOUSE_MOVE, xrayActivity);
_local2.removeEventListener(MouseEvent.CLICK, xrayActivity);
_local2.removeEventListener(MouseEvent.ROLL_OUT, xrayActivity);
showLabel(5);
_sfxChannel.stop();
_sfxChannel = _sfxDblBlip.play();
_local5 = new BitmapData((_local4.width * 2), (_local4.height * 2), true, 0);
_local6 = new Bitmap(_local5);
_local5.draw(_local4, new Matrix(1, 0, 0, 1, 3, 3));
_local6.x = ((_local4.x - _local4.offX) - 3);
_local6.y = ((_local4.y - _local4.offY) - 3);
_currentAnimal.addChild(_local6);
_local4.x = (_local4.x + 500);
_local7 = _currentScene["tools_mc"];
trace(_local7["tool"]);
switch (_currentAilment.name){
case "arm":
_local7.gotoAndStop(2);
break;
case "butt":
_local7.gotoAndStop(4);
break;
case "ear":
_local7.gotoAndStop(5);
break;
case "head":
_local7.gotoAndStop(3);
break;
case "stomach":
_local7.gotoAndStop(1);
break;
};
_local7.visible = true;
TweenLite.to(_local2, 0.5, {delay:0, autoAlpha:0, onComplete:nextStep});
};
break;
};
};
}
private function helpHandler(_arg1:MouseEvent):void{
switch (_arg1.type){
case MouseEvent.ROLL_OVER:
_sfxButtonRollOver.play();
break;
case MouseEvent.CLICK:
paused = !(paused);
if (paused){
_currentScene.setChildIndex(_currentScene["help_mc"], (_currentScene.numChildren - 1));
_currentScene["help_mc"].visible = true;
} else {
_currentScene["help_mc"].visible = false;
};
break;
};
}
override public function exit():void{
_sfxChannel.stop();
_sndChannel.stop();
super.exit();
}
private function nextStep(_arg1:Boolean=true):void{
_currentStep++;
if (_currentStep < this._numSteps){
_tables[_currentStep].gotoAndStop(2);
};
_sfxChannel = _sfxBell.play();
if (_arg1){
enableAnimal(_currentAnimal, true);
};
}
private function enableAnimal(_arg1:MovieClip, _arg2:Boolean):void{
_arg1.buttonMode = _arg2;
_arg1.useHandCursor = _arg2;
_arg1.mouseChildren = false;
if (_arg2){
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, animalHandler, false, 0, true);
_arg1.addEventListener(MouseEvent.MOUSE_UP, animalHandler, false, 0, true);
} else {
_arg1.removeEventListener(MouseEvent.MOUSE_DOWN, animalHandler);
_arg1.removeEventListener(MouseEvent.MOUSE_UP, animalHandler);
};
}
private function endGame(_arg1:Boolean):void{
var _local2:Object = GlobalData.INSTANCE.data;
if (_arg1){
switch (_animalType){
case "PolarBear":
_local2.polarComplete = true;
break;
case "Panda":
_local2.pandaComplete = true;
break;
case "Leopard":
_local2.leopardComplete = true;
break;
};
trace("congrats!");
if (((((_local2.polarComplete) && (_local2.pandaComplete))) && (_local2.leopardComplete))){
_screenManager.setScreen(new EndGameScreen());
} else {
_screenManager.setScreen(new CureNextLevelScreen());
};
} else {
trace("oh no!");
_screenManager.setScreen(new EndGameScreen());
};
}
private function closeHandler(_arg1:MouseEvent):void{
helpHandler(_arg1);
}
private function toolHandler(_arg1:MouseEvent):void{
var tool:MovieClip;
var panel:MovieClip;
var event = _arg1;
tool = (event.currentTarget as MovieClip);
if (!paused){
switch (event.type){
case MouseEvent.MOUSE_DOWN:
tool.gotoAndStop(2);
tool.startDrag();
_isDraggingTool = true;
_currentTool = tool;
_currentScene.setChildIndex(tool, (_currentScene.numChildren - 1));
_sfxChannel = _sfxPickup.play();
break;
case MouseEvent.MOUSE_UP:
tool.gotoAndStop(1);
if (_currentAnimal.hitTestObject(tool) == true){
panel = _panels[_currentStep];
switch (_currentStep){
case STEP_THERMO:
TweenLite.to(tool, 0.25, {autoAlpha:0, onComplete:function ():void{
enableTools([tool], false);
}});
TweenLite.to(panel, 0.5, {autoAlpha:1});
_sfxChannel = _sfxThermoPanel.play();
showLabel(2);
panel.thermometer_mc.buttonMode = true;
panel.thermometer_mc.useHandCursor = true;
panel.thermometer_mc.fill_mc.y = 34;
panel.thermometer_mc.addEventListener(MouseEvent.CLICK, thermoActivity, false, 0, true);
_sfxChannel = _sfxLetGo.play();
_inActivity = true;
break;
case STEP_TREATMENT:
if (tool === _currentAilment.tool){
TweenLite.to(tool, 0.25, {alpha:0, onComplete:function ():void{
var ailment:*;
tool.x = tool.origPos.x;
tool.y = tool.origPos.y;
tool.gotoAndStop(1);
ailment = _currentAnimal.getChildAt((_currentAnimal.numChildren - 1));
TweenLite.to(ailment, 0.5, {autoAlpha:0, onComplete:function ():void{
_currentAnimal.removeChild(ailment);
}});
_sfxChannel = _sfxRight.play();
showLabel(7);
enableTools([_tools[1], _tools[2], _tools[3], _tools[4], _tools[5]], false);
nextStep();
}});
} else {
_sfxChannel = _sfxWrong.play();
TweenLite.to(tool, 0.1, {alpha:0.1, overwrite:false});
TweenLite.to(tool, 0.1, {delay:0.2, alpha:0.9, overwrite:false});
TweenLite.to(tool, 0.1, {delay:0.3, alpha:0.1, overwrite:false});
TweenLite.to(tool, 0.1, {delay:0.4, alpha:0.9, overwrite:false});
TweenLite.to(tool, 0.1, {delay:0.5, alpha:0.1, overwrite:false});
TweenLite.to(tool, 0.1, {delay:0.6, alpha:1, overwrite:false});
TweenLite.to(tool, 0.5, {delay:0.7, x:tool.origPos.x, y:tool.origPos.y, overwrite:false, onComplete:function ():void{
_currentScene.swapChildren(tool, _currentAnimal);
}});
};
break;
case STEP_TREATS:
switch (tool.name){
case "treat_2":
_sfxChannel = _sfxTreatCookie.play();
break;
case "treat_3":
_sfxChannel = _sfxTreatLollipop.play();
break;
case "treat_1":
_sfxChannel = _sfxTreatSundae.play();
break;
};
TweenLite.to(tool, 0.5, {alpha:0, onComplete:function ():void{
tool.x = tool.origPos.x;
tool.y = tool.origPos.y;
tool.gotoAndStop(1);
_currentAnimal.cacheAsBitmap = false;
_currentAnimal.gotoAndPlay("happy");
_currentAnimal.addEventListener(Event.ENTER_FRAME, checkEnd, false, 0, true);
_currentScene.setChildIndex(_currentAnimal, (_currentScene.numChildren - 1));
_sfxChannel = _sfxCured.play();
enableTools([_treats[0], _treats[1], _treats[2]], false);
}});
break;
};
} else {
TweenLite.to(tool, 0.5, {x:tool.origPos.x, y:tool.origPos.y});
_sfxChannel = _sfxLetGo.play();
};
_isDraggingTool = false;
_currentTool = null;
tool.stopDrag();
break;
};
};
}
private function animalHandler(_arg1:MouseEvent):void{
var i:int;
var animalData:Object;
var animal:MovieClip;
var hiddenAnimal:BitmapData;
var revealedAnimal:BitmapData;
var hiddenBitmap:Bitmap;
var revealedBitmap:Bitmap;
var panel:MovieClip;
var ailment:MovieClip;
var event = _arg1;
animalData = _animals[0];
animal = (event.currentTarget as MovieClip);
var table:MovieClip = _tables[_currentStep];
if (!paused){
switch (event.type){
case MouseEvent.MOUSE_DOWN:
if (animal === _currentAnimal){
animalData.active = true;
};
_currentScene.setChildIndex(animal, (_currentScene.numChildren - 1));
_sfxChannel = _sfxPickAnimal.play();
animal.startDrag();
_isDraggingAnimal = true;
break;
case MouseEvent.MOUSE_UP:
switch (_currentStep){
case STEP_THERMO:
if (table.hitTestObject(animal) == true){
TweenLite.to(animal, 0.5, {x:(table.x + animalData.tableOffset.x), y:(table.y + animalData.tableOffset.y), onComplete:function ():void{
enableAnimal(animal, false);
enableTools([_tools[0]], true);
showLabel(1);
_sfxChannel = _sfxBounce.play();
}});
} else {
TweenLite.to(animal, 0.5, {x:(animalData.basket.x + (animalData.basketOffset.x - 10)), y:(animalData.basket.y + animalData.basketOffset.y), ease:Bounce.easeOut, onComplete:function ():void{
animalData.active = false;
_sfxChannel = _sfxSwish.play();
}});
};
break;
case STEP_XRAY:
case STEP_TREATMENT:
case STEP_TREATS:
if (table.hitTestObject(animal) == true){
TweenLite.to(animal, 0.5, {x:(table.x + animalData.tableOffset.x), y:(table.y + animalData.tableOffset.y)});
_tables[(_currentStep - 1)].gotoAndStop(1);
enableAnimal(animal, false);
_sfxChannel = _sfxBounce.play();
_currentScene.setChildIndex(animal, (_currentScene.numChildren - 1));
switch (_currentStep){
case STEP_XRAY:
hiddenAnimal = new BitmapData((animal.width * 2), (animal.height * 2), true, 0);
revealedAnimal = new BitmapData((animal.width * 2), (animal.height * 2), true, 0);
hiddenBitmap = new Bitmap(hiddenAnimal);
revealedBitmap = new Bitmap(revealedAnimal);
panel = _panels[1];
showLabel(4);
_currentAilment = _ailments[Math.floor((Math.random() * _ailments.length))];
ailment = _currentAilment.ailment;
switch (_animalType){
case "PolarBear":
ailment.offX = 12;
ailment.offY = 11;
switch (_currentAilment.name){
case "arm":
ailment.x = 30;
ailment.y = 91;
break;
case "butt":
ailment.x = 71;
ailment.y = 88;
break;
case "ear":
ailment.x = 39;
ailment.y = 33;
break;
case "head":
ailment.x = 10;
ailment.y = 35;
break;
case "stomach":
ailment.x = 38;
ailment.y = 74;
break;
};
break;
case "Panda":
ailment.offX = 8;
ailment.offY = 8;
switch (_currentAilment.name){
case "arm":
ailment.x = 59;
ailment.y = 63;
break;
case "butt":
ailment.x = 67;
ailment.y = 88;
break;
case "ear":
ailment.x = 56;
ailment.y = 23;
break;
case "head":
ailment.x = 32;
ailment.y = 26;
break;
case "stomach":
ailment.x = 31;
ailment.y = 81;
break;
};
break;
case "Leopard":
ailment.offX = 7;
ailment.offY = 6;
switch (_currentAilment.name){
case "arm":
ailment.x = 35;
ailment.y = 87;
break;
case "butt":
ailment.x = 64;
ailment.y = 82;
break;
case "ear":
ailment.x = 42;
ailment.y = 32;
break;
case "head":
ailment.x = 21;
ailment.y = 32;
break;
case "stomach":
ailment.x = 42;
ailment.y = 74;
break;
};
break;
};
ailment.visible = true;
ailment.alpha = 1;
hiddenAnimal.draw(animal, new Matrix(1, 0, 0, 1, ailment.offX, ailment.offY), null, null, null, true);
revealedAnimal.draw(animal, new Matrix(1, 0, 0, 1, ailment.offX, ailment.offY), null, null, null, true);
panel["animalHidden_mc"].addChild(hiddenBitmap);
panel["animalRevealed_mc"].addChild(revealedBitmap);
panel["xrayViewer_mc"].x = -200;
panel.addEventListener(MouseEvent.MOUSE_MOVE, xrayActivity, false, 0, true);
panel.addEventListener(MouseEvent.CLICK, xrayActivity, false, 0, true);
panel.addEventListener(MouseEvent.ROLL_OUT, xrayActivity, false, 0, true);
_sfxChannel = _sfxXray.play(0, 99);
_currentScene.setChildIndex(panel, (_currentScene.numChildren - 1));
TweenLite.to(panel, 0.5, {autoAlpha:1});
break;
case STEP_TREATMENT:
_currentScene["tools_mc"].visible = false;
showLabel(6);
enableTools([_tools[1], _tools[2], _tools[3], _tools[4], _tools[5]], true);
break;
case STEP_TREATS:
showLabel(8);
enableTools([_treats[0], _treats[1], _treats[2]], true);
break;
};
} else {
TweenLite.to(animal, 0.5, {x:(_tables[(_currentStep - 1)].x + animalData.tableOffset.x), y:(_tables[(_currentStep - 1)].y + animalData.tableOffset.y), ease:Bounce.easeOut});
_sfxChannel = _sfxSwish.play();
};
break;
case STEP_CURED:
if (animalData.basket.hitTestObject(animal) == true){
_tables[3].gotoAndStop(1);
animalData.active = false;
animalData.finished = true;
enableAnimal(animal, false);
_sfxChannel = _sfxBounce.play();
TweenLite.to(_labels[(_labels.length - 1)], 1, {autoAlpha:0});
_finishedHelp = true;
if (_curedAnimals == (_numAnimals - 1)){
endGame(true);
} else {
nextAnimal();
};
} else {
TweenLite.to(animal, 0.5, {x:(_tables[(_currentStep - 1)].x + animalData.tableOffset.x), y:(_tables[(_currentStep - 1)].y + animalData.tableOffset.y), ease:Bounce.easeOut});
_sfxChannel = _sfxSwish.play();
};
break;
};
animal.stopDrag();
_isDraggingAnimal = false;
break;
};
};
}
private function checkEnd(_arg1:Event):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
if (_local2.currentFrame == _local2.totalFrames){
_local2.removeEventListener(Event.ENTER_FRAME, checkEnd);
_local2.cacheAsBitmap = true;
_local2.stop();
showLabel(9);
nextStep();
};
}
private function thermoActivity(_arg1:MouseEvent):void{
if (!paused){
_panels[0].thermometer_mc.fill_mc.y = (_panels[0].thermometer_mc.fill_mc.y + 7);
};
_sfxChannel = _sfxThermoClick.play();
}
private function nextAnimal():void{
if (_animals.length > 1){
_finishedAnimals.push(_animals.shift());
_curedAnimals++;
_currentAnimal = _animals[0].animal;
_interface["numHealed_txt"].text = ((_curedAnimals.toString() + " of ") + _numAnimals.toString());
trace(("animals cured: " + _curedAnimals));
enableAnimal(_currentAnimal, true);
_currentStep = 0;
_tables[_currentStep].gotoAndStop(2);
_checkNextAnimal = false;
} else {
_checkNextAnimal = true;
};
}
private function generateAnimal(_arg1:TimerEvent):MovieClip{
var _local2:Sprite;
var _local3:MovieClip;
var _local4:Point = new Point();
var _local5:Point = new Point();
switch (_animalType){
case "PolarBear":
_local3 = (new _polarBearSpriteClass() as MovieClip);
_local2 = new _polarBearBasketSpriteClass();
_local4.x = 23;
_local4.y = -78;
_local5.x = 49;
_local5.y = -61;
break;
case "Panda":
_local3 = (new _pandaSpriteClass() as MovieClip);
_local2 = new _pandaBasketSpriteClass();
_local4.x = 18;
_local4.y = -74;
_local5.x = 45;
_local5.y = -64;
break;
case "Leopard":
_local3 = (new _leopardSpriteClass() as MovieClip);
_local2 = new _leopardBasketSpriteClass();
_local4.x = 12;
_local4.y = -78;
_local5.x = 44;
_local5.y = -66;
break;
};
_local3.stop();
_local3.x = 660;
_local3.y = 394;
_local2.x = 640;
_local2.y = 428;
_local2.name = ("basket_" + _animals.length);
_local3.cacheAsBitmap = true;
_local2.cacheAsBitmap = true;
_animals.push({animal:_local3, basket:_local2, basketOffset:_local4, tableOffset:_local5, active:false, finished:false});
_currentScene.addChild(_local2);
_currentScene.addChild(_local3);
return (_local3);
}
override public function update(_arg1:UpdateEvent):void{
var i:int;
var finishedAnimalData:Object;
var animalData:Object;
var panel:MovieClip;
var thermo:MovieClip;
var fill:MovieClip;
var event = _arg1;
if (!paused){
i = 0;
while (i < _finishedAnimals.length) {
finishedAnimalData = _finishedAnimals[i];
finishedAnimalData.basket.x = (finishedAnimalData.basket.x - _basketSpeed);
finishedAnimalData.animal.x = (finishedAnimalData.basket.x + finishedAnimalData.basketOffset.x);
finishedAnimalData.animal.y = (finishedAnimalData.basket.y + finishedAnimalData.basketOffset.y);
i = (i + 1);
};
i = 0;
while (i < _animals.length) {
animalData = _animals[i];
animalData.basket.x = (animalData.basket.x - _basketSpeed);
if (animalData.active == false){
animalData.animal.x = (animalData.basket.x + animalData.basketOffset.x);
animalData.animal.y = (animalData.basket.y + animalData.basketOffset.y);
};
i = (i + 1);
};
if (_finishedAnimals.length > 0){
if (_finishedAnimals[0].animal.x <= -(_finishedAnimals[0].animal.width)){
_currentScene.removeChild(_finishedAnimals[0].animal);
_currentScene.removeChild(_finishedAnimals[0].basket);
_finishedAnimals.shift();
};
};
if ((((_animals[0].basket.x <= -(_animals[0].basket.width))) || ((((_animals[0].active == false)) && ((_animals[0].animal.x <= 0)))))){
if (!_isRestarting){
_chances--;
if (_chances == 0){
endGame(false);
} else {
_interface[("chance_" + _chances)].gotoAndStop(2);
_currentScene["oops_mc"].visible = true;
_currentScene["oops_mc"].alpha = 1;
_isRestarting = true;
paused = true;
_currentScene.setChildIndex(_currentScene["oops_mc"], (_currentScene.numChildren - 1));
_currentAnimal.stopDrag();
_currentAnimal.visible = false;
_sfxChannel = _sfxOops.play();
TweenLite.to(_currentScene["oops_mc"], 0.5, {autoAlpha:0, delay:3, onComplete:function ():void{
restart();
paused = false;
_isRestarting = false;
}});
trace("lost chance");
};
};
};
if ((((_generatedTicks++ >= _cureTime)) && ((_generatedAnimals < (_numAnimals - 1))))){
generateAnimal(null);
_generatedTicks = 0;
_generatedAnimals++;
};
if (_inActivity){
switch (_currentStep){
case STEP_THERMO:
panel = _panels[0];
thermo = _tools[0];
fill = panel.thermometer_mc.fill_mc;
if (fill.y >= 0){
fill.y = (fill.y - 0.5);
};
if (fill.y > (fill.height - 10)){
_inActivity = false;
panel.thermometer_mc.buttonMode = false;
panel.thermometer_mc.useHandCursor = false;
panel.thermometer_mc.removeEventListener(MouseEvent.CLICK, thermoActivity);
showLabel(3);
TweenLite.to(panel, 0.5, {autoAlpha:0, onComplete:function ():void{
thermo.visible = true;
thermo.x = thermo.origPos.x;
thermo.y = thermo.origPos.y;
thermo.gotoAndStop(1);
enableTools([thermo], false);
nextStep();
}});
};
break;
};
};
if (((_isDraggingAnimal) && (!((_currentAnimal.hitTestPoint(_window.mouseX, _window.mouseY, false) == true))))){
_currentAnimal.stopDrag();
_isDraggingAnimal = false;
};
if (((_isDraggingTool) && (!((_currentTool.hitTestPoint(_window.mouseX, _window.mouseY, false) == true))))){
_currentTool.stopDrag();
_isDraggingTool = false;
};
if (_checkNextAnimal){
nextAnimal();
};
};
super.update(event);
}
}
}//package carencure.curegame
Section 4
//CureGameState__leopardBasketSpriteClass (carencure.curegame.CureGameState__leopardBasketSpriteClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__leopardBasketSpriteClass extends SpriteAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 5
//CureGameState__leopardSpriteClass (carencure.curegame.CureGameState__leopardSpriteClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__leopardSpriteClass extends MovieClipAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 6
//CureGameState__pandaBasketSpriteClass (carencure.curegame.CureGameState__pandaBasketSpriteClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__pandaBasketSpriteClass extends SpriteAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 7
//CureGameState__pandaSpriteClass (carencure.curegame.CureGameState__pandaSpriteClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__pandaSpriteClass extends MovieClipAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 8
//CureGameState__polarBearBasketSpriteClass (carencure.curegame.CureGameState__polarBearBasketSpriteClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__polarBearBasketSpriteClass extends SpriteAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 9
//CureGameState__polarBearSpriteClass (carencure.curegame.CureGameState__polarBearSpriteClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__polarBearSpriteClass extends MovieClipAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 10
//CureGameState__sfxBellClass (carencure.curegame.CureGameState__sfxBellClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxBellClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 11
//CureGameState__sfxBounceClass (carencure.curegame.CureGameState__sfxBounceClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxBounceClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 12
//CureGameState__sfxButtonRollOverClass (carencure.curegame.CureGameState__sfxButtonRollOverClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxButtonRollOverClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 13
//CureGameState__sfxCuredClass (carencure.curegame.CureGameState__sfxCuredClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxCuredClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 14
//CureGameState__sfxDblBlipClass (carencure.curegame.CureGameState__sfxDblBlipClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxDblBlipClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 15
//CureGameState__sfxLetGoClass (carencure.curegame.CureGameState__sfxLetGoClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxLetGoClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 16
//CureGameState__sfxOopsClass (carencure.curegame.CureGameState__sfxOopsClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxOopsClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 17
//CureGameState__sfxPickAnimalClass (carencure.curegame.CureGameState__sfxPickAnimalClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxPickAnimalClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 18
//CureGameState__sfxPickupClass (carencure.curegame.CureGameState__sfxPickupClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxPickupClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 19
//CureGameState__sfxRightClass (carencure.curegame.CureGameState__sfxRightClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxRightClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 20
//CureGameState__sfxSwishClass (carencure.curegame.CureGameState__sfxSwishClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxSwishClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 21
//CureGameState__sfxThermoClickClass (carencure.curegame.CureGameState__sfxThermoClickClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxThermoClickClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 22
//CureGameState__sfxThermoPanelClass (carencure.curegame.CureGameState__sfxThermoPanelClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxThermoPanelClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 23
//CureGameState__sfxTreatCookieClass (carencure.curegame.CureGameState__sfxTreatCookieClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxTreatCookieClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 24
//CureGameState__sfxTreatLollipopClass (carencure.curegame.CureGameState__sfxTreatLollipopClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxTreatLollipopClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 25
//CureGameState__sfxTreatSundaeClass (carencure.curegame.CureGameState__sfxTreatSundaeClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxTreatSundaeClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 26
//CureGameState__sfxWrongClass (carencure.curegame.CureGameState__sfxWrongClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxWrongClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 27
//CureGameState__sfxXrayClass (carencure.curegame.CureGameState__sfxXrayClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__sfxXrayClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 28
//CureGameState__soundtrackClass (carencure.curegame.CureGameState__soundtrackClass)
package carencure.curegame {
import flash.display.*;
import mx.core.*;
public class CureGameState__soundtrackClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var help_btn:DisplayObject;
public var rescued_txt:DisplayObject;
public var tool_bottle:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animal_2:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.curegame
Section 29
//RescueGameScreen (carencure.rescuegame.RescueGameScreen)
package carencure.rescuegame {
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
import com.jetmorgan.data.*;
import com.jetmorgan.caelifera.engine.*;
public class RescueGameScreen extends EngineScreen {
private var _currentScene:Sprite;
private var _mountainSceneClass:Class;
private var _polarSceneClass:Class;
private var _bambooSceneClass:Class;
public function RescueGameScreen(){
_polarSceneClass = RescueGameScreen__polarSceneClass;
_mountainSceneClass = RescueGameScreen__mountainSceneClass;
_bambooSceneClass = RescueGameScreen__bambooSceneClass;
var _local1:Object = GlobalData.INSTANCE.data;
switch (_local1.currentAnimal){
case "PolarBear":
_currentScene = new _polarSceneClass();
break;
case "Panda":
_currentScene = new _bambooSceneClass();
break;
case "Leopard":
_currentScene = new _mountainSceneClass();
break;
};
_screen = _currentScene;
super();
}
override public function enter(_arg1:IStateManager):void{
super.enter(_arg1);
_engine.setState(new RescueGameState(_window, _currentScene));
}
}
}//package carencure.rescuegame
Section 30
//RescueGameScreen__bambooSceneClass (carencure.rescuegame.RescueGameScreen__bambooSceneClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameScreen__bambooSceneClass extends SpriteAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 31
//RescueGameScreen__mountainSceneClass (carencure.rescuegame.RescueGameScreen__mountainSceneClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameScreen__mountainSceneClass extends SpriteAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 32
//RescueGameScreen__polarSceneClass (carencure.rescuegame.RescueGameScreen__polarSceneClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameScreen__polarSceneClass extends SpriteAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 33
//RescueGameState (carencure.rescuegame.RescueGameState)
package carencure.rescuegame {
import com.jetmorgan.caelifera.core.events.*;
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import gs.*;
import carencure.screens.*;
import flash.media.*;
import com.jetmorgan.caelifera.engine.*;
import flash.external.*;
public class RescueGameState extends EngineState {
private var _panda2Class:Class;
private var _soundtrackChinaClass:Class;
private var _polar3Class:Class;
private var _leopard1Class:Class;
private var _animalPrefix:String;// = "animal_"
private var _soundtrackIndiaClass:Class;
private var _panda3Class:Class;
private var _soundtrackArcticClass:Class;
private var _polar4Class:Class;
private var _leopard2Class:Class;
private var _sfxIndex:int;// = 0
private var _numAnimals:int;// = 10
private var _sfxArcticClass:Class;
private var _soundtrack:Sound;
private var _leopard3Class:Class;
private var _interface:MovieClip;
private var _sfxtrack:Sound;
private var _polar1Class:Class;
private var _sfxChinaClass:Class;
private var _soundChannel:SoundChannel;
private var _collectedAnimals:int;// = 0
private var _sfx:SoundChannel;
private var _width:Number;
private var _panda4Class:Class;
private var _animals:Array;
private var _sfxFound:Sound;
private var _sfxChannel:SoundChannel;
private var _interfaceClass:Class;
private var _animalSounds:Array;
private var _panda1Class:Class;
private var _animalBeingRemoved:Sprite;
private var _polar2Class:Class;
private var _sfxIndiaClass:Class;
private var _height:Number;
private var _leopard4Class:Class;
private var _init:Boolean;// = false
private var _currentScene:Sprite;
private var _centerX:Number;
private var _animalType:String;
private var _totalAnimals:int;
private var _sfxFoundClass:Class;
private var _centerY:Number;
public function RescueGameState(_arg1:DisplayObjectContainer, _arg2:Sprite){
_interfaceClass = RescueGameState__interfaceClass;
_soundtrackArcticClass = RescueGameState__soundtrackArcticClass;
_sfxArcticClass = RescueGameState__sfxArcticClass;
_soundtrackChinaClass = RescueGameState__soundtrackChinaClass;
_sfxChinaClass = RescueGameState__sfxChinaClass;
_soundtrackIndiaClass = RescueGameState__soundtrackIndiaClass;
_sfxIndiaClass = RescueGameState__sfxIndiaClass;
_polar1Class = RescueGameState__polar1Class;
_polar2Class = RescueGameState__polar2Class;
_polar3Class = RescueGameState__polar3Class;
_polar4Class = RescueGameState__polar4Class;
_panda1Class = RescueGameState__panda1Class;
_panda2Class = RescueGameState__panda2Class;
_panda3Class = RescueGameState__panda3Class;
_panda4Class = RescueGameState__panda4Class;
_leopard1Class = RescueGameState__leopard1Class;
_leopard2Class = RescueGameState__leopard2Class;
_leopard3Class = RescueGameState__leopard3Class;
_leopard4Class = RescueGameState__leopard4Class;
_sfxFoundClass = RescueGameState__sfxFoundClass;
_animalSounds = [];
_animals = [];
super(_arg1);
_currentScene = _arg2;
_width = _window.stage.width;
_height = _window.stage.height;
_centerX = (_width / 2);
_centerY = (_height / 2);
}
private function hideAnimal(_arg1:MovieClip):void{
var _local2:ColorTransform;
if (_arg1 != _animalBeingRemoved){
_local2 = _arg1.transform.colorTransform;
TweenLite.to(_local2, 0.25, {redMultiplier:_arg1.colorTrans.redMultiplier, greenMultiplier:_arg1.colorTrans.greenMultiplier, blueMultiplier:_arg1.colorTrans.blueMultiplier, alphaMultiplier:_arg1.colorTrans.alphaMultiplier, redOffset:_arg1.colorTrans.redOffset, greenOffset:_arg1.colorTrans.greenOffset, blueOffset:_arg1.colorTrans.blueOffset, alphaOffset:_arg1.colorTrans.alphaOffset, onUpdate:applyColor, onUpdateParams:[_arg1, _local2]});
};
}
private function shuffleArray(_arg1:Array):Array{
var _local4:Number;
var _local5:Number;
var _local6:Object;
var _local2:Number = _arg1.length;
var _local3:Array = _arg1.slice();
_local5 = 0;
while (_local5 < _local2) {
_local6 = _local3[_local5];
_local4 = Math.floor((Math.random() * _local2));
_local3[_local5] = _local3[_local4];
_local3[_local4] = _local6;
_local5++;
};
return (_local3);
}
override public function exit():void{
_soundChannel.stop();
_soundtrack = null;
_soundChannel = null;
_sfxChannel.stop();
_sfxtrack = null;
_sfxChannel = null;
_sfx.stop();
_sfx = null;
_window = null;
_currentScene = null;
super.exit();
}
private function applyColor(_arg1:Sprite, _arg2:ColorTransform):void{
_arg1.transform.colorTransform = _arg2;
}
private function animalHandler(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
switch (_arg1.type){
case MouseEvent.MOUSE_OVER:
if (_sfx){
_sfx.stop();
};
_sfx = _animalSounds[_sfxIndex++].play();
_sfx.soundTransform = new SoundTransform(0.5);
if (_sfxIndex == _animalSounds.length){
_sfxIndex = 0;
};
showAnimal(_local2);
break;
case MouseEvent.MOUSE_OUT:
hideAnimal(_local2);
break;
case MouseEvent.CLICK:
_local2.removeEventListener(MouseEvent.CLICK, animalHandler);
_local2.enabled = false;
removeAnimal(_local2);
break;
};
}
private function removeAnimal(_arg1:Sprite):void{
var animal = _arg1;
_animalBeingRemoved = animal;
TweenLite.to(animal, 0.2, {autoAlpha:0, onComplete:function ():void{
completeRemoval(animal);
}});
_sfxFound.play();
_collectedAnimals++;
updateInterface();
}
private function completeRemoval(_arg1:Sprite, _arg2:Boolean=true):void{
_currentScene.removeChild(_arg1);
var _local3:int;
while (_local3 < _animals.length) {
if (_arg1 === _animals[_local3]){
_animals.splice(_local3, 1);
};
_local3++;
};
_animalBeingRemoved = null;
if (_collectedAnimals == _numAnimals){
_window.removeChild(_interface);
_screenManager.setScreen(new RescueNextLevelScreen());
};
}
override public function update(_arg1:UpdateEvent):void{
var _local2:Number = _window.mouseX;
var _local3:Number = _window.mouseY;
if (_local2 > _window.width){
_local2 = _window.width;
};
if (_local3 > _window.height){
_local3 = _window.height;
};
var _local4:Number = (-((_local2 - _centerX)) - _centerX);
var _local5:Number = (-((_local3 - _centerY)) - _centerY);
if (_local4 < -(_width)){
_local4 = -(_width);
};
if (_local4 > 0){
_local4 = 0;
};
if (_local5 < -(_height)){
_local5 = -(_height);
};
if (_local5 > 0){
_local5 = 0;
};
if ((((_local4 > -640)) && ((_local4 < 0)))){
_currentScene.x = _local4;
};
if ((((_local5 > -480)) && ((_local5 < 0)))){
_currentScene.y = _local5;
};
}
private function showAnimal(_arg1:MovieClip):void{
var _local2:ColorTransform;
if (_arg1 != _animalBeingRemoved){
_local2 = _arg1.transform.colorTransform;
TweenLite.to(_local2, 0.25, {redMultiplier:1, greenMultiplier:1, blueMultiplier:1, alphaMultiplier:1, redOffset:0, greenOffset:0, blueOffset:0, alphaOffset:0, onUpdate:applyColor, onUpdateParams:[_arg1, _local2]});
};
}
override public function enter(_arg1:IStateManager):void{
var i:int;
var animal:MovieClip;
var ct:ColorTransform;
var manager = _arg1;
_sfxFound = (new _sfxFoundClass() as Sound);
_animalType = _globalData.currentAnimal;
switch (_animalType){
case "PolarBear":
_soundtrack = (new _soundtrackArcticClass() as Sound);
_sfxtrack = (new _sfxArcticClass() as Sound);
_animalSounds.push((new _polar1Class() as Sound));
_animalSounds.push((new _polar2Class() as Sound));
_animalSounds.push((new _polar3Class() as Sound));
_animalSounds.push((new _polar4Class() as Sound));
break;
case "Panda":
_soundtrack = (new _soundtrackChinaClass() as Sound);
_sfxtrack = (new _sfxChinaClass() as Sound);
_animalSounds.push((new _panda1Class() as Sound));
_animalSounds.push((new _panda2Class() as Sound));
_animalSounds.push((new _panda3Class() as Sound));
_animalSounds.push((new _panda4Class() as Sound));
break;
case "Leopard":
_soundtrack = (new _soundtrackIndiaClass() as Sound);
_sfxtrack = (new _sfxIndiaClass() as Sound);
_animalSounds.push((new _leopard1Class() as Sound));
_animalSounds.push((new _leopard2Class() as Sound));
_animalSounds.push((new _leopard3Class() as Sound));
_animalSounds.push((new _leopard4Class() as Sound));
break;
};
try {
ExternalInterface.call("MATTEL.tracker.Tracker.track", {name:(("Pet Rescue " + _animalType) + " Rescue"), campaign:"Care N Cure", channel:"Games", contenttype:"Game", action:"LevelUp"});
} catch(e:Error) {
};
_soundChannel = _soundtrack.play(0, 9999);
_sfxChannel = _sfxtrack.play(0, 9999);
_soundChannel.soundTransform = new SoundTransform(0.3);
_interface = new _interfaceClass();
_interface.y = -8;
_interface.stop();
_window.addChild(_interface);
i = 1;
while (i <= _numAnimals) {
animal = _currentScene[(_animalPrefix + i.toString())];
ct = animal.transform.colorTransform;
animal.colorTrans = new ColorTransform(ct.redMultiplier, ct.greenMultiplier, ct.blueMultiplier, ct.alphaMultiplier, ct.redOffset, ct.greenOffset, ct.blueOffset, ct.alphaOffset);
animal.buttonMode = true;
animal.useHandCursor = true;
animal.mouseChildren = false;
animal.addEventListener(MouseEvent.MOUSE_OVER, animalHandler, false, 0, true);
animal.addEventListener(MouseEvent.MOUSE_OUT, animalHandler, false, 0, true);
animal.addEventListener(MouseEvent.CLICK, animalHandler, false, 0, true);
_animals.push(animal);
i = (i + 1);
};
var numRemove:int;
_animals = shuffleArray(_animals);
switch (_globalData.curedSpecies){
case 0:
numRemove = 6;
break;
case 1:
numRemove = 4;
break;
case 2:
numRemove = 2;
break;
};
i = 0;
while (i < numRemove) {
completeRemoval(_animals[0], false);
_collectedAnimals++;
i = (i + 1);
};
_totalAnimals = (_numAnimals - numRemove);
_currentScene.scaleX = 2;
_currentScene.scaleY = 2;
_currentScene.x = (-(_width) / 2);
_currentScene.y = -(_height);
_currentScene.cacheAsBitmap = true;
updateInterface();
super.enter(manager);
}
private function updateInterface():void{
var _local1:int = (_collectedAnimals - (_numAnimals - _totalAnimals));
switch (_animalType){
case "PolarBear":
_interface["scene_txt"].text = "Polar Bears Rescued";
_interface.gotoAndStop(1);
break;
case "Panda":
_interface["scene_txt"].text = "Panda Bears Rescued";
_interface.gotoAndStop(2);
break;
case "Leopard":
_interface["scene_txt"].text = "Snow Leopards Rescued";
_interface.gotoAndStop(3);
break;
};
_interface["rescued_txt"].text = ((_local1 + " of ") + _totalAnimals);
}
}
}//package carencure.rescuegame
Section 34
//RescueGameState__interfaceClass (carencure.rescuegame.RescueGameState__interfaceClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__interfaceClass extends MovieClipAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 35
//RescueGameState__leopard1Class (carencure.rescuegame.RescueGameState__leopard1Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__leopard1Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 36
//RescueGameState__leopard2Class (carencure.rescuegame.RescueGameState__leopard2Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__leopard2Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 37
//RescueGameState__leopard3Class (carencure.rescuegame.RescueGameState__leopard3Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__leopard3Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 38
//RescueGameState__leopard4Class (carencure.rescuegame.RescueGameState__leopard4Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__leopard4Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 39
//RescueGameState__panda1Class (carencure.rescuegame.RescueGameState__panda1Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__panda1Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 40
//RescueGameState__panda2Class (carencure.rescuegame.RescueGameState__panda2Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__panda2Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 41
//RescueGameState__panda3Class (carencure.rescuegame.RescueGameState__panda3Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__panda3Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 42
//RescueGameState__panda4Class (carencure.rescuegame.RescueGameState__panda4Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__panda4Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 43
//RescueGameState__polar1Class (carencure.rescuegame.RescueGameState__polar1Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__polar1Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 44
//RescueGameState__polar2Class (carencure.rescuegame.RescueGameState__polar2Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__polar2Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 45
//RescueGameState__polar3Class (carencure.rescuegame.RescueGameState__polar3Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__polar3Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 46
//RescueGameState__polar4Class (carencure.rescuegame.RescueGameState__polar4Class)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__polar4Class extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 47
//RescueGameState__sfxArcticClass (carencure.rescuegame.RescueGameState__sfxArcticClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__sfxArcticClass extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 48
//RescueGameState__sfxChinaClass (carencure.rescuegame.RescueGameState__sfxChinaClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__sfxChinaClass extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 49
//RescueGameState__sfxFoundClass (carencure.rescuegame.RescueGameState__sfxFoundClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__sfxFoundClass extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 50
//RescueGameState__sfxIndiaClass (carencure.rescuegame.RescueGameState__sfxIndiaClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__sfxIndiaClass extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 51
//RescueGameState__soundtrackArcticClass (carencure.rescuegame.RescueGameState__soundtrackArcticClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__soundtrackArcticClass extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 52
//RescueGameState__soundtrackChinaClass (carencure.rescuegame.RescueGameState__soundtrackChinaClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__soundtrackChinaClass extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 53
//RescueGameState__soundtrackIndiaClass (carencure.rescuegame.RescueGameState__soundtrackIndiaClass)
package carencure.rescuegame {
import flash.display.*;
import mx.core.*;
public class RescueGameState__soundtrackIndiaClass extends SoundAsset {
public var toys_btn:DisplayObject;
public var animal_10:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var scene_txt:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
}
}//package carencure.rescuegame
Section 54
//ChooseAnimalScreen (carencure.screens.ChooseAnimalScreen)
package carencure.screens {
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
import flash.events.*;
import com.jetmorgan.data.*;
import gs.*;
import flash.filters.*;
import gs.easing.*;
import flash.external.*;
public class ChooseAnimalScreen extends InterfaceScreen {
private var _pandaGlowFilter:GlowFilter;
private var _globalData:Object;
private var _screenClass:Class;
private var _polarBearGlowFilter:GlowFilter;
private var _goButton:MovieClip;
private var _prevSelection:Sprite;
private var _previewPages:Object;
private var _filters:Object;
private var _leopardGlowFilter:GlowFilter;
public function ChooseAnimalScreen(){
_screenClass = ChooseAnimalScreen__screenClass;
_pandaGlowFilter = new GlowFilter(7391265, 1, 8, 8, 20);
_leopardGlowFilter = new GlowFilter(7036075, 1, 8, 8, 20);
_polarBearGlowFilter = new GlowFilter(5161956, 1, 8, 8, 20);
_filters = {};
_previewPages = {};
super();
_screen = new _screenClass();
_globalData = GlobalData.INSTANCE.data;
_filters["polarbear_mc"] = _polarBearGlowFilter;
_filters["panda_mc"] = _pandaGlowFilter;
_filters["leopard_mc"] = _leopardGlowFilter;
}
private function animalButtonHandler(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
switch (_arg1.type){
case MouseEvent.MOUSE_OVER:
if (_local2.buttonMode){
_local2.filters = [_filters[_local2.name]];
_previewPages[_local2.name].visible = true;
if (!_local2.completed){
_sfxButtonRollOverAltSound.play();
};
if (_prevSelection != null){
_previewPages[_prevSelection.name].visible = false;
};
};
break;
case MouseEvent.MOUSE_OUT:
if (_local2.buttonMode){
if (!_local2.completed){
_local2.filters = [];
};
_previewPages[_local2.name].visible = false;
if (_prevSelection != null){
_previewPages[_prevSelection.name].visible = true;
};
};
break;
case MouseEvent.CLICK:
if (((_local2.buttonMode) && (!(_local2.completed)))){
_sfxButtonClickSound.play();
if (_prevSelection != null){
_prevSelection.buttonMode = true;
_prevSelection.useHandCursor = true;
_prevSelection.filters = [];
_previewPages[_prevSelection.name].visible = false;
_previewPages[_local2.name].visible = true;
} else {
_goButton.enabled = true;
_goButton.scaleX = (_goButton.scaleY = 0);
TweenLite.to(_goButton, 0.8, {scaleX:1, scaleY:1, ease:Bounce.easeOut, autoAlpha:1});
};
_local2.buttonMode = false;
_local2.useHandCursor = false;
_prevSelection = _local2;
switch (_local2.name){
case "polarbear_mc":
_globalData.currentAnimal = "PolarBear";
break;
case "panda_mc":
_globalData.currentAnimal = "Panda";
break;
case "leopard_mc":
_globalData.currentAnimal = "Leopard";
break;
};
};
break;
};
}
private function playGame():void{
try {
ExternalInterface.call("MATTEL.tracker.Tracker.track", {name:"Care n Cure Pet Rescue", campaign:"Care N Cure", channel:"Games", contenttype:"Game", action:"Play"});
} catch(e:Error) {
};
_screenManager.setScreen(new RescueInstructionScreen());
}
private function enableAnimalButton(_arg1:MovieClip):void{
_arg1.addEventListener(MouseEvent.MOUSE_OVER, animalButtonHandler, false, 0, true);
_arg1.addEventListener(MouseEvent.MOUSE_OUT, animalButtonHandler, false, 0, true);
_arg1.buttonMode = true;
_arg1.mouseChildren = false;
if (!_arg1.completed){
_arg1.addEventListener(MouseEvent.CLICK, animalButtonHandler, false, 0, true);
} else {
_arg1.mouseChildren = false;
_arg1.useHandCursor = false;
};
}
override public function enter(_arg1:IStateManager):void{
if (_soundChannel){
_soundChannel.stop();
};
_soundChannel = _soundtrack.play(0, 999);
_goButton = _screen["letsGo_btn"];
_goButton.visible = false;
_goButton.enabled = false;
var _local2:MovieClip = _screen["polarbear_mc"];
var _local3:MovieClip = _screen["panda_mc"];
var _local4:MovieClip = _screen["leopard_mc"];
var _local5:MovieClip = _screen["polarPage_mc"];
var _local6:MovieClip = _screen["pandaPage_mc"];
var _local7:MovieClip = _screen["leopardPage_mc"];
_previewPages["polarbear_mc"] = _local5;
_previewPages["panda_mc"] = _local6;
_previewPages["leopard_mc"] = _local7;
_local5.gotoAndStop(1);
_local6.gotoAndStop(1);
_local7.gotoAndStop(1);
_local5.visible = false;
_local6.visible = false;
_local7.visible = false;
if (_globalData.polarComplete){
_local2.filters = [_polarBearGlowFilter];
_local2.completed = true;
_local2.alpha = 0.4;
_local5.gotoAndStop(2);
};
if (_globalData.pandaComplete){
_local3.filters = [_pandaGlowFilter];
_local3.completed = true;
_local3.alpha = 0.4;
_local6.gotoAndStop(2);
};
if (_globalData.leopardComplete){
_local4.filters = [_leopardGlowFilter];
_local4.completed = true;
_local4.alpha = 0.4;
_local7.gotoAndStop(2);
};
enableAnimalButton(_local2);
enableAnimalButton(_local3);
enableAnimalButton(_local4);
_buttons = [{button:_goButton, func:playGame, args:[]}];
super.enter(_arg1);
}
}
}//package carencure.screens
Section 55
//ChooseAnimalScreen__screenClass (carencure.screens.ChooseAnimalScreen__screenClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class ChooseAnimalScreen__screenClass extends SpriteAsset {
public var polarbear_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var demo_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
}
}//package carencure.screens
Section 56
//CureInstructionScreen (carencure.screens.CureInstructionScreen)
package carencure.screens {
import com.jetmorgan.caelifera.core.state.*;
import com.jetmorgan.data.*;
import carencure.curegame.*;
public class CureInstructionScreen extends InterfaceScreen {
private var _globalData:Object;
private var _screenClass:Class;
public function CureInstructionScreen(){
_screenClass = CureInstructionScreen__screenClass;
super();
_screen = new _screenClass();
_globalData = GlobalData.INSTANCE.data;
}
override public function destroy():void{
_soundChannel.stop();
_soundtrack = null;
_soundChannel = null;
super.destroy();
}
override public function enter(_arg1:IStateManager):void{
trace(("animal: " + _globalData.currentAnimal));
_buttons = [{button:_screen["letsGo_btn"], func:_screenManager.setScreen, args:[new CureGameScreen()]}];
super.enter(_arg1);
}
}
}//package carencure.screens
Section 57
//CureInstructionScreen__screenClass (carencure.screens.CureInstructionScreen__screenClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class CureInstructionScreen__screenClass extends SpriteAsset {
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var next_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var toys_btn:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var text_mc:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_10:DisplayObject;
public var scene_txt:DisplayObject;
}
}//package carencure.screens
Section 58
//CureNextLevelScreen (carencure.screens.CureNextLevelScreen)
package carencure.screens {
import com.jetmorgan.caelifera.core.state.*;
import com.jetmorgan.caelifera.display.screen.*;
import flash.display.*;
import com.jetmorgan.data.*;
import flash.media.*;
public class CureNextLevelScreen extends InterfaceScreen {
private var _sfxFinishCuredClass:Class;
private var _globalData:Object;
private var _sfx:Sound;
private var _screenClass:Class;
public function CureNextLevelScreen(){
_screenClass = CureNextLevelScreen__screenClass;
_sfxFinishCuredClass = CureNextLevelScreen__sfxFinishCuredClass;
super();
_screen = new _screenClass();
_globalData = GlobalData.INSTANCE.data;
_sfx = (new _sfxFinishCuredClass() as Sound);
}
override public function enter(_arg1:IStateManager):void{
var _local3:Screen;
trace(("animal: " + _globalData.currentAnimal));
var _local2:int;
_sfx.play();
var _local4:MovieClip = _screen["text_mc"];
_local4.stop();
_local4.gotoAndStop(_globalData.currentAnimal);
_globalData.curedSpecies++;
if (_globalData.polarComplete){
_local2 = (_local2 + 1);
};
if (_globalData.pandaComplete){
_local2 = (_local2 + 2);
};
if (_globalData.leopardComplete){
_local2 = (_local2 + 4);
};
if (_local2 == 3){
_globalData.currentAnimal = "Leopard";
};
if (_local2 == 5){
_globalData.currentAnimal = "Panda";
};
if (_local2 == 6){
_globalData.currentAnimal = "PolarBear";
};
if (_globalData.curedSpecies == 2){
_local3 = new RescueInstructionScreen();
} else {
_local3 = new ChooseAnimalScreen();
};
_buttons = [{button:_screen["next_btn"], func:_screenManager.setScreen, args:[_local3]}];
_soundChannel = _soundtrack.play(0, 999);
super.enter(_arg1);
}
}
}//package carencure.screens
Section 59
//CureNextLevelScreen__screenClass (carencure.screens.CureNextLevelScreen__screenClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class CureNextLevelScreen__screenClass extends SpriteAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var playAgain_btn:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ifaw_btn:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var help_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var print_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var tool_bottle:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var print_btn:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var animal_2:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.screens
Section 60
//CureNextLevelScreen__sfxFinishCuredClass (carencure.screens.CureNextLevelScreen__sfxFinishCuredClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class CureNextLevelScreen__sfxFinishCuredClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var playAgain_btn:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ifaw_btn:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var help_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var print_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var tool_bottle:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var print_btn:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var animal_2:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.screens
Section 61
//EndGameScreen (carencure.screens.EndGameScreen)
package carencure.screens {
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
import flash.events.*;
import com.jetmorgan.data.*;
import flash.media.*;
import flash.net.*;
import flash.external.*;
import flash.printing.*;
public class EndGameScreen extends InterfaceScreen {
private var _soundtrackAltClass:Class;
private var _globalData:Object;
private var _screenClass:Class;
public function EndGameScreen(){
_screenClass = EndGameScreen__screenClass;
_soundtrackAltClass = EndGameScreen__soundtrackAltClass;
super();
_screen = new _screenClass();
_globalData = GlobalData.INSTANCE.data;
_isAnimated = true;
}
private function printPrize():void{
var printJob:PrintJob = new PrintJob();
var pagesToPrint:int;
var screen:MovieClip = _screen["print_mc"];
if (printJob.start()){
screen.width = printJob.pageWidth;
screen.height = printJob.pageHeight;
try {
printJob.addPage(screen);
pagesToPrint = (pagesToPrint + 1);
} catch(e:Error) {
};
if (pagesToPrint > 0){
printJob.send();
};
try {
ExternalInterface.call("MATTEL.tracker.Tracker.track", {name:"Care N Cure Game", campaign:"Care N Cure", channel:"Games", contenttype:"Game", action:"Print"});
} catch(e:Error) {
};
};
}
override public function enter(_arg1:IStateManager):void{
var _local2:MovieClip = _screen["text_mc"];
_local2.stop();
if ((((((_globalData.polarComplete == false)) || ((_globalData.pandaComplete == false)))) || ((_globalData.leopardComplete == false)))){
_local2.gotoAndStop("lost");
} else {
_local2.gotoAndStop("won");
};
_soundtrack = (new _soundtrackAltClass() as Sound);
_soundChannel = _soundtrack.play(0, 999);
super.enter(_arg1);
}
private function seeToys(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://barbie.everythinggirl.com/catalog/productbrd.aspx?product_id=2000971&subcat_id=210022"));
}
override public function destroy():void{
_soundChannel.stop();
_soundtrack = null;
_soundChannel = null;
_screen["demo_mc"].stop();
_screen["demo_mc"].removeEventListener(Event.ENTER_FRAME, checkDemoEnd);
_screen["demo_mc"].removeEventListener(MouseEvent.CLICK, seeToys);
super.destroy();
}
private function checkDemoEnd(_arg1:Event):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
if (_local2.currentFrame == _local2.totalFrames){
_local2.gotoAndPlay(60);
};
}
override protected function initButtons():void{
_buttons.push({button:_screen["playAgain_btn"], func:_screenManager.setScreen, args:[new TitleScreen()]});
_buttons.push({button:_screen["print_btn"], func:printPrize, args:[]});
_buttons.push({button:_screen["toys_btn"], func:seeToys, args:[]});
_buttons.push({button:_screen["ifaw_btn"], func:goIFAW, args:[]});
_screen["demo_mc"].addEventListener(MouseEvent.CLICK, seeToys, false, 0, true);
_screen["demo_mc"].addEventListener(Event.ENTER_FRAME, checkDemoEnd, false, 0, true);
_screen["demo_mc"].buttonMode = true;
_screen["demo_mc"].useHandCursor = true;
super.initButtons();
}
private function goIFAW():void{
navigateToURL(new URLRequest("/includes/adredir_out.aspx?url=ifaw"));
}
}
}//package carencure.screens
Section 62
//EndGameScreen__screenClass (carencure.screens.EndGameScreen__screenClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class EndGameScreen__screenClass extends MovieClipAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var playAgain_btn:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ifaw_btn:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var help_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var print_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var tool_bottle:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var print_btn:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var animal_2:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.screens
Section 63
//EndGameScreen__soundtrackAltClass (carencure.screens.EndGameScreen__soundtrackAltClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class EndGameScreen__soundtrackAltClass extends SoundAsset {
public var polarbear_mc:DisplayObject;
public var tool_thermo:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var next_btn:DisplayObject;
public var tool_bandage:DisplayObject;
public var label10:DisplayObject;
public var table_thermo:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var panda_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var playAgain_btn:DisplayObject;
public var titleHealed_txt:DisplayObject;
public var table_treats:DisplayObject;
public var xrayOverlay_mc:DisplayObject;
public var scene_txt:DisplayObject;
public var ifaw_btn:DisplayObject;
public var ailmentButt_mc:DisplayObject;
public var animal_10:DisplayObject;
public var table_treatment:DisplayObject;
public var treat_1:DisplayObject;
public var treat_2:DisplayObject;
public var treat_3:DisplayObject;
public var xrayViewer_mc:DisplayObject;
public var ailmentHead_mc:DisplayObject;
public var help_mc:DisplayObject;
public var tool_tweezers:DisplayObject;
public var thermoPanel_mc:DisplayObject;
public var interface_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var help_btn:DisplayObject;
public var ailmentEar_mc:DisplayObject;
public var print_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var demo_mc:DisplayObject;
public var oops_mc:DisplayObject;
public var tools_mc:DisplayObject;
public var xrayPanel_mc:DisplayObject;
public var conveyor_mc:DisplayObject;
public var thermometer_mc:DisplayObject;
public var table_xray:DisplayObject;
public var tool_bottle:DisplayObject;
public var close_btn:DisplayObject;
public var ailmentArm_mc:DisplayObject;
public var tool_icePack:DisplayObject;
public var playNow_btn:DisplayObject;
public var leopard_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var label1:DisplayObject;
public var label2:DisplayObject;
public var label3:DisplayObject;
public var label4:DisplayObject;
public var label5:DisplayObject;
public var label6:DisplayObject;
public var label7:DisplayObject;
public var label9:DisplayObject;
public var animalHidden_mc:DisplayObject;
public var print_btn:DisplayObject;
public var label8:DisplayObject;
public var bg_mc:DisplayObject;
public var play_btn:DisplayObject;
public var fill_mc:DisplayObject;
public var animal_2:DisplayObject;
public var numHealed_txt:DisplayObject;
public var chance_1:DisplayObject;
public var chance_2:DisplayObject;
public var chance_3:DisplayObject;
public var animalRevealed_mc:DisplayObject;
public var text_mc:DisplayObject;
public var ailmentStomach_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var tool_syringe:DisplayObject;
}
}//package carencure.screens
Section 64
//InterfaceScreen (carencure.screens.InterfaceScreen)
package carencure.screens {
import com.jetmorgan.caelifera.core.state.*;
import com.jetmorgan.caelifera.display.screen.*;
import flash.display.*;
import flash.events.*;
import flash.media.*;
public class InterfaceScreen extends Screen {
protected var _sfxButtonClickSound:Sound;
protected var _buttons:Array;
private var _sfxButtonClickClass:Class;
private var _sfxButtonRollOverClass:Class;
protected var _isAnimated:Boolean;// = false
protected var _sfxButtonRollOverSound:Sound;
private var _sfxButtonRollOverAltClass:Class;
protected var _sfxButtonRollOverAltSound:Sound;
protected var _hasSoundTrack:Boolean;// = true
protected var _soundtrack:Sound;
private var _soundtrackClass:Class;
protected static var _soundChannel:SoundChannel;
public function InterfaceScreen(){
_soundtrackClass = InterfaceScreen__soundtrackClass;
_sfxButtonRollOverClass = InterfaceScreen__sfxButtonRollOverClass;
_sfxButtonRollOverAltClass = InterfaceScreen__sfxButtonRollOverAltClass;
_sfxButtonClickClass = InterfaceScreen__sfxButtonClickClass;
super();
_buttons = [];
_soundtrack = (new _soundtrackClass() as Sound);
_sfxButtonRollOverSound = (new _sfxButtonRollOverClass() as Sound);
_sfxButtonRollOverAltSound = (new _sfxButtonRollOverAltClass() as Sound);
_sfxButtonClickSound = (new _sfxButtonClickClass() as Sound);
}
override public function destroy():void{
var _local2:Object;
var _local3:MovieClip;
var _local1:int;
while (_local1 < _buttons.length) {
_local2 = _buttons[_local1];
_local3 = _local2.button;
_local3.removeEventListener(MouseEvent.ROLL_OVER, mouseHandler);
_local3.removeEventListener(MouseEvent.CLICK, mouseHandler);
_local1++;
};
super.destroy();
}
protected function checkEnd(_arg1:Event):void{
var _local2:MovieClip = (_screen as MovieClip);
if (_local2.currentFrame == _local2.totalFrames){
_local2.stop();
_local2.removeEventListener(Event.ENTER_FRAME, checkEnd);
initButtons();
};
}
protected function initButtons():void{
var _local2:Object;
var _local3:MovieClip;
var _local1:int;
while (_local1 < _buttons.length) {
_local2 = _buttons[_local1];
_local3 = _local2.button;
_local3.gotoAndStop(1);
_local3.buttonMode = true;
_local3.useHandCursor = true;
_local3.mouseChildren = false;
_local3.func = _local2.func;
_local3.args = _local2.args;
_local3.addEventListener(MouseEvent.ROLL_OVER, mouseHandler, false, 0, true);
_local3.addEventListener(MouseEvent.CLICK, mouseHandler, false, 0, true);
_local1++;
};
}
override public function enter(_arg1:IStateManager):void{
if (_isAnimated){
_screen.addEventListener(Event.ENTER_FRAME, checkEnd, false, 0, true);
} else {
initButtons();
};
super.enter(_arg1);
}
protected function mouseHandler(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
switch (_arg1.type){
case MouseEvent.ROLL_OVER:
_sfxButtonRollOverSound.play();
break;
case MouseEvent.CLICK:
if (_local2.enabled){
_local2.func.apply(this, _local2.args);
};
break;
};
}
}
}//package carencure.screens
Section 65
//InterfaceScreen__sfxButtonClickClass (carencure.screens.InterfaceScreen__sfxButtonClickClass)
package carencure.screens {
import mx.core.*;
public class InterfaceScreen__sfxButtonClickClass extends SoundAsset {
}
}//package carencure.screens
Section 66
//InterfaceScreen__sfxButtonRollOverAltClass (carencure.screens.InterfaceScreen__sfxButtonRollOverAltClass)
package carencure.screens {
import mx.core.*;
public class InterfaceScreen__sfxButtonRollOverAltClass extends SoundAsset {
}
}//package carencure.screens
Section 67
//InterfaceScreen__sfxButtonRollOverClass (carencure.screens.InterfaceScreen__sfxButtonRollOverClass)
package carencure.screens {
import mx.core.*;
public class InterfaceScreen__sfxButtonRollOverClass extends SoundAsset {
}
}//package carencure.screens
Section 68
//InterfaceScreen__soundtrackClass (carencure.screens.InterfaceScreen__soundtrackClass)
package carencure.screens {
import mx.core.*;
public class InterfaceScreen__soundtrackClass extends SoundAsset {
}
}//package carencure.screens
Section 69
//RescueInstructionScreen (carencure.screens.RescueInstructionScreen)
package carencure.screens {
import com.jetmorgan.caelifera.core.state.*;
import com.jetmorgan.data.*;
import carencure.rescuegame.*;
public class RescueInstructionScreen extends InterfaceScreen {
private var _globalData:Object;
private var _screenClass:Class;
public function RescueInstructionScreen(){
_screenClass = RescueInstructionScreen__screenClass;
super();
_screen = new _screenClass();
_globalData = GlobalData.INSTANCE.data;
}
override public function destroy():void{
_soundChannel.stop();
_soundtrack = null;
_soundChannel = null;
super.destroy();
}
override public function enter(_arg1:IStateManager):void{
trace(("animal: " + _globalData.currentAnimal));
_buttons = [{button:_screen["playNow_btn"], func:_screenManager.setScreen, args:[new RescueGameScreen()]}];
super.enter(_arg1);
}
}
}//package carencure.screens
Section 70
//RescueInstructionScreen__screenClass (carencure.screens.RescueInstructionScreen__screenClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class RescueInstructionScreen__screenClass extends SpriteAsset {
public var polarbear_mc:DisplayObject;
public var polarPage_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var play_btn:DisplayObject;
public var demo_mc:DisplayObject;
public var toys_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
}
}//package carencure.screens
Section 71
//RescueNextLevelScreen (carencure.screens.RescueNextLevelScreen)
package carencure.screens {
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
import com.jetmorgan.data.*;
public class RescueNextLevelScreen extends InterfaceScreen {
private var _globalData:Object;
private var _screenClass:Class;
public function RescueNextLevelScreen(){
_screenClass = RescueNextLevelScreen__screenClass;
super();
_screen = new _screenClass();
_globalData = GlobalData.INSTANCE.data;
}
override public function enter(_arg1:IStateManager):void{
trace(("animal: " + _globalData.currentAnimal));
var _local2:MovieClip = _screen["text_mc"];
_local2.stop();
_local2.gotoAndStop(_globalData.currentAnimal);
_buttons = [{button:_screen["next_btn"], func:_screenManager.setScreen, args:[new CureInstructionScreen()]}];
_soundChannel = _soundtrack.play(0, 999);
super.enter(_arg1);
}
}
}//package carencure.screens
Section 72
//RescueNextLevelScreen__screenClass (carencure.screens.RescueNextLevelScreen__screenClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class RescueNextLevelScreen__screenClass extends SpriteAsset {
public var animal_5:DisplayObject;
public var animal_6:DisplayObject;
public var polarbear_mc:DisplayObject;
public var pandaPage_mc:DisplayObject;
public var leopardPage_mc:DisplayObject;
public var rescued_txt:DisplayObject;
public var play_btn:DisplayObject;
public var next_btn:DisplayObject;
public var panda_mc:DisplayObject;
public var leopard_mc:DisplayObject;
public var letsGo_btn:DisplayObject;
public var playNow_btn:DisplayObject;
public var polarPage_mc:DisplayObject;
public var animal_1:DisplayObject;
public var animal_2:DisplayObject;
public var animal_3:DisplayObject;
public var animal_4:DisplayObject;
public var toys_btn:DisplayObject;
public var animal_7:DisplayObject;
public var animal_8:DisplayObject;
public var animal_9:DisplayObject;
public var text_mc:DisplayObject;
public var demo_mc:DisplayObject;
public var animal_10:DisplayObject;
public var scene_txt:DisplayObject;
}
}//package carencure.screens
Section 73
//TitleScreen (carencure.screens.TitleScreen)
package carencure.screens {
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
import flash.events.*;
import com.jetmorgan.data.*;
import flash.media.*;
import flash.net.*;
public class TitleScreen extends InterfaceScreen {
private var _soundtrackAltClass:Class;
private var _screenClass:Class;
public function TitleScreen(){
_screenClass = TitleScreen__screenClass;
_soundtrackAltClass = TitleScreen__soundtrackAltClass;
super();
GlobalData.INSTANCE.data = {currentAnimal:"PandaBear", curedSpecies:0, polarComplete:false, pandaComplete:false, leopardComplete:false};
_screen = new _screenClass();
_isAnimated = true;
}
override public function destroy():void{
_soundChannel.stop();
_soundtrack = null;
_soundChannel = null;
_screen["demo_mc"].stop();
_screen["demo_mc"].removeEventListener(Event.ENTER_FRAME, checkDemoEnd);
_screen["demo_mc"].removeEventListener(MouseEvent.CLICK, seeToys);
super.destroy();
}
private function playGame():void{
_screenManager.setScreen(new ChooseAnimalScreen());
}
private function seeToys(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://barbie.everythinggirl.com/catalog/productbrd.aspx?product_id=2000971&subcat_id=210022"));
}
private function checkDemoEnd(_arg1:Event):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
if (_local2.currentFrame == _local2.totalFrames){
_local2.gotoAndPlay(60);
};
}
override protected function initButtons():void{
_buttons = [{button:_screen["play_btn"], func:playGame, args:[]}];
_buttons.push({button:_screen["toys_btn"], func:seeToys, args:[]});
_screen["demo_mc"].addEventListener(MouseEvent.CLICK, seeToys, false, 0, true);
_screen["demo_mc"].addEventListener(Event.ENTER_FRAME, checkDemoEnd, false, 0, true);
_screen["demo_mc"].buttonMode = true;
_screen["demo_mc"].useHandCursor = true;
super.initButtons();
}
override public function enter(_arg1:IStateManager):void{
_soundtrack = (new _soundtrackAltClass() as Sound);
_soundChannel = _soundtrack.play(0, 999);
super.enter(_arg1);
}
}
}//package carencure.screens
Section 74
//TitleScreen__screenClass (carencure.screens.TitleScreen__screenClass)
package carencure.screens {
import flash.display.*;
import mx.core.*;
public class TitleScreen__screenClass extends MovieClipAsset {
public var play_btn:DisplayObject;
public var demo_mc:DisplayObject;
public var toys_btn:DisplayObject;
}
}//package carencure.screens
Section 75
//TitleScreen__soundtrackAltClass (carencure.screens.TitleScreen__soundtrackAltClass)
package carencure.screens {
import mx.core.*;
public class TitleScreen__soundtrackAltClass extends SoundAsset {
}
}//package carencure.screens
Section 76
//Component (com.jetmorgan.caelifera.core.base.component.Component)
package com.jetmorgan.caelifera.core.base.component {
import com.jetmorgan.caelifera.core.events.*;
import com.jetmorgan.caelifera.core.base.token.*;
public class Component extends Token implements IComponent {
protected var _active:Boolean;// = true
protected var _parent:IComponent;
protected var _visible:Boolean;// = true
public function Component(_arg1:IComponent=null){
if (_arg1 != null){
init(_arg1);
};
}
public function set visible(_arg1:Boolean):void{
_visible = _arg1;
}
public function release():void{
if (_parent.hasEventListener(UpdateEvent.UPDATE)){
_parent.removeEventListener(UpdateEvent.UPDATE, update);
};
if (_parent.hasEventListener(RenderEvent.RENDER)){
_parent.removeEventListener(RenderEvent.RENDER, render);
};
}
public function get active():Boolean{
return (_active);
}
public function init(_arg1:IComponent):void{
if (_arg1.hasEventListener(UpdateEvent.UPDATE)){
_arg1.removeEventListener(UpdateEvent.UPDATE, update);
};
if (_arg1.hasEventListener(RenderEvent.RENDER)){
_arg1.removeEventListener(RenderEvent.RENDER, render);
};
_parent = _arg1;
_parent.addEventListener(UpdateEvent.UPDATE, update);
_parent.addEventListener(RenderEvent.RENDER, render);
}
public function get visible():Boolean{
return (_visible);
}
public function render(_arg1:RenderEvent):void{
if (_visible){
dispatchEvent(_arg1);
};
}
public function update(_arg1:UpdateEvent):void{
if (_active){
dispatchEvent(_arg1);
};
}
public function set active(_arg1:Boolean):void{
_active = _arg1;
}
public function destroy():void{
release();
_parent = null;
}
}
}//package com.jetmorgan.caelifera.core.base.component
Section 77
//IComponent (com.jetmorgan.caelifera.core.base.component.IComponent)
package com.jetmorgan.caelifera.core.base.component {
import com.jetmorgan.caelifera.core.events.*;
import com.jetmorgan.caelifera.core.base.token.*;
public interface IComponent extends IToken {
function init(_arg1:IComponent):void;
function render(_arg1:RenderEvent):void;
function release():void;
function update(_arg1:UpdateEvent):void;
function destroy():void;
function set active(_arg1:Boolean):void;
function get active():Boolean;
}
}//package com.jetmorgan.caelifera.core.base.component
Section 78
//IToken (com.jetmorgan.caelifera.core.base.token.IToken)
package com.jetmorgan.caelifera.core.base.token {
import flash.events.*;
public interface IToken extends IEventDispatcher {
function get type():String;
function get id():int;
function get name():String;
}
}//package com.jetmorgan.caelifera.core.base.token
Section 79
//Token (com.jetmorgan.caelifera.core.base.token.Token)
package com.jetmorgan.caelifera.core.base.token {
import flash.events.*;
import flash.utils.*;
public class Token extends EventDispatcher implements IToken {
protected var _id:int;
protected var _name:String;
protected var _type:String;
public static var count:int = 1;
public function Token(){
var _local1:String = getQualifiedClassName(this);
_id = count++;
_type = _local1.substring((_local1.indexOf("::") + 2), _local1.length);
_name = ((_type + "_") + _id);
}
public function get type():String{
return (_type);
}
public function get name():String{
return (_name);
}
public function get id():int{
return (_id);
}
}
}//package com.jetmorgan.caelifera.core.base.token
Section 80
//ChangeStateEvent (com.jetmorgan.caelifera.core.events.ChangeStateEvent)
package com.jetmorgan.caelifera.core.events {
import flash.events.*;
public class ChangeStateEvent extends Event {
public static const CHANGE:String = "change";
public static const ENTER:String = "enter";
public static const EXIT:String = "exit";
public function ChangeStateEvent(_arg1:String){
super(_arg1);
}
override public function clone():Event{
return (new ChangeStateEvent(type));
}
}
}//package com.jetmorgan.caelifera.core.events
Section 81
//RenderEvent (com.jetmorgan.caelifera.core.events.RenderEvent)
package com.jetmorgan.caelifera.core.events {
import flash.events.*;
public class RenderEvent extends Event {
public static const RENDER:String = "render";
public function RenderEvent(){
super(RENDER);
}
override public function clone():Event{
return (new RenderEvent());
}
}
}//package com.jetmorgan.caelifera.core.events
Section 82
//UpdateEvent (com.jetmorgan.caelifera.core.events.UpdateEvent)
package com.jetmorgan.caelifera.core.events {
import flash.events.*;
public class UpdateEvent extends Event {
public static const UPDATE:String = "update";
public static var ticks:int = 0;
public function UpdateEvent(){
super(UPDATE);
}
override public function clone():Event{
return (new UpdateEvent());
}
}
}//package com.jetmorgan.caelifera.core.events
Section 83
//IState (com.jetmorgan.caelifera.core.state.IState)
package com.jetmorgan.caelifera.core.state {
import com.jetmorgan.caelifera.core.base.component.*;
public interface IState extends IComponent {
function enter(_arg1:IStateManager):void;
function exit():void;
}
}//package com.jetmorgan.caelifera.core.state
Section 84
//IStateManager (com.jetmorgan.caelifera.core.state.IStateManager)
package com.jetmorgan.caelifera.core.state {
import com.jetmorgan.caelifera.core.base.component.*;
public interface IStateManager extends IComponent {
function getState():IState;
function setState(_arg1:IState):void;
}
}//package com.jetmorgan.caelifera.core.state
Section 85
//State (com.jetmorgan.caelifera.core.state.State)
package com.jetmorgan.caelifera.core.state {
import com.jetmorgan.caelifera.core.base.component.*;
import com.jetmorgan.caelifera.core.events.*;
public class State extends Component implements IState {
protected var _manager:IStateManager;
public function State(_arg1:IComponent=null){
super(_arg1);
}
public function enter(_arg1:IStateManager):void{
_manager = _arg1;
init(_manager);
dispatchEvent(new ChangeStateEvent(ChangeStateEvent.ENTER));
}
override public function destroy():void{
_manager = null;
super.destroy();
}
public function exit():void{
destroy();
dispatchEvent(new ChangeStateEvent(ChangeStateEvent.EXIT));
}
}
}//package com.jetmorgan.caelifera.core.state
Section 86
//StateManager (com.jetmorgan.caelifera.core.state.StateManager)
package com.jetmorgan.caelifera.core.state {
import com.jetmorgan.caelifera.core.base.component.*;
import com.jetmorgan.caelifera.core.events.*;
public class StateManager extends State implements IStateManager {
protected var _currentState:IState;
protected var _globalState:IState;
private var _changeStateEvent:ChangeStateEvent;
protected var _previousState:IState;
public function StateManager(_arg1:IComponent=null){
super(_arg1);
_changeStateEvent = new ChangeStateEvent(ChangeStateEvent.CHANGE);
}
public function getState():IState{
return (_currentState);
}
public function revertState():void{
setState(_previousState);
}
public function setState(_arg1:IState):void{
if (_currentState != null){
_previousState = _currentState;
_currentState.exit();
};
_currentState = _arg1;
_currentState.enter(this);
dispatchEvent(_changeStateEvent);
}
override public function init(_arg1:IComponent):void{
super.init(_arg1);
if (_globalState != null){
_globalState.init(_arg1);
_globalState.enter(this);
};
}
override public function destroy():void{
if (_globalState != null){
_globalState.exit();
};
_currentState.exit();
_globalState = null;
_currentState = null;
_previousState = null;
super.destroy();
}
}
}//package com.jetmorgan.caelifera.core.state
Section 87
//Screen (com.jetmorgan.caelifera.display.screen.Screen)
package com.jetmorgan.caelifera.display.screen {
import com.jetmorgan.caelifera.core.base.component.*;
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
public class Screen extends State {
protected var _screenManager:ScreenManager;
protected var _centerX:Number;
protected var _centerY:Number;
protected var _height:int;
protected var _width:int;
protected var _window:DisplayObjectContainer;
protected var _screen:DisplayObject;
public function Screen(_arg1:IComponent=null){
_screenManager = ScreenManager.INSTANCE;
super(_arg1);
}
override public function enter(_arg1:IStateManager):void{
if (_window.numChildren > 0){
_window.removeChildAt(0);
};
_window.addChildAt(_screen, 0);
super.enter(_arg1);
}
public function setWindow(_arg1:DisplayObjectContainer):void{
_window = _arg1;
_width = 640;
_height = 480;
_centerX = (_width / 2);
_centerY = (_height / 2);
}
override public function destroy():void{
_window = null;
_screen = null;
super.destroy();
}
}
}//package com.jetmorgan.caelifera.display.screen
Section 88
//ScreenManager (com.jetmorgan.caelifera.display.screen.ScreenManager)
package com.jetmorgan.caelifera.display.screen {
import com.jetmorgan.caelifera.core.state.*;
import flash.display.*;
public class ScreenManager extends StateManager {
protected var _currentScreen:Screen;
private var _window:DisplayObjectContainer;
private static var _instance:ScreenManager = new (ScreenManager);
;
public function ScreenManager(){
if (_instance){
throw (new Error("Must use ScreenManager.INSTANCE"));
};
}
public function setWindow(_arg1:DisplayObjectContainer):void{
_window = _arg1;
}
public function setScreen(_arg1:Screen):void{
_currentScreen = _arg1;
_currentScreen.setWindow(_window);
setState(_currentScreen);
}
public static function get INSTANCE():ScreenManager{
return (_instance);
}
}
}//package com.jetmorgan.caelifera.display.screen
Section 89
//Engine (com.jetmorgan.caelifera.engine.Engine)
package com.jetmorgan.caelifera.engine {
import com.jetmorgan.caelifera.core.events.*;
import com.jetmorgan.caelifera.core.state.*;
import flash.events.*;
import flash.utils.*;
public class Engine extends StateManager {
private var _sleepTime:Number;// = 0
private var _timer:Timer;
private var _afterTime:Number;// = 0
private var _beforeTime:Number;// = 0
private var _overSleepTime:Number;// = 0
private var _updateEvent:UpdateEvent;
private var _timeDiff:Number;// = 0
private var _excess:Number;// = 0
private var _period:Number;
private var _renderEvent:RenderEvent;
private var _updateRate:int;
private var _maxUpdates:int;// = 5
public function Engine(_arg1:int=30){
_updateRate = _arg1;
_period = (1000 / _updateRate);
_timer = new Timer(0, 1);
_timer.addEventListener(TimerEvent.TIMER, tick);
_updateEvent = new UpdateEvent();
_renderEvent = new RenderEvent();
}
public function stop():void{
_timer.reset();
_timer.stop();
}
override public function release():void{
_timer.removeEventListener(TimerEvent.TIMER, tick);
super.release();
}
override public function update(_arg1:UpdateEvent):void{
var _local2:int;
_beforeTime = getTimer();
_overSleepTime = ((_beforeTime - _afterTime) - _sleepTime);
dispatchEvent(_updateEvent);
dispatchEvent(_renderEvent);
_afterTime = getTimer();
_timeDiff = (_afterTime - _beforeTime);
_sleepTime = ((_period - _timeDiff) - _overSleepTime);
if (_sleepTime <= 0){
_excess = (_excess - _sleepTime);
_sleepTime = 2;
};
while ((((_excess >= _period)) && ((_local2 < _maxUpdates)))) {
dispatchEvent(_updateEvent);
_excess = (_excess - _period);
_local2++;
UpdateEvent.ticks++;
};
UpdateEvent.ticks++;
_timer.reset();
_timer.delay = _sleepTime;
_timer.start();
}
private function tick(_arg1:TimerEvent):void{
update(_updateEvent);
_arg1.updateAfterEvent();
}
public function start():void{
_timer.start();
_afterTime = getTimer();
}
}
}//package com.jetmorgan.caelifera.engine
Section 90
//EngineScreen (com.jetmorgan.caelifera.engine.EngineScreen)
package com.jetmorgan.caelifera.engine {
import com.jetmorgan.caelifera.core.state.*;
import com.jetmorgan.caelifera.display.screen.*;
public class EngineScreen extends Screen {
protected var _engine:Engine;
override public function enter(_arg1:IStateManager):void{
super.enter(_arg1);
_engine = new Engine();
_engine.init(this);
_engine.start();
}
override public function exit():void{
_engine.stop();
_engine.destroy();
super.exit();
}
}
}//package com.jetmorgan.caelifera.engine
Section 91
//EngineState (com.jetmorgan.caelifera.engine.EngineState)
package com.jetmorgan.caelifera.engine {
import com.jetmorgan.caelifera.core.state.*;
import com.jetmorgan.caelifera.display.screen.*;
import flash.display.*;
import com.jetmorgan.data.*;
public class EngineState extends State {
protected var _screenManager:ScreenManager;
protected var _globalData:Object;
protected var _window:DisplayObjectContainer;
public function EngineState(_arg1:DisplayObjectContainer){
_screenManager = ScreenManager.INSTANCE;
super();
_window = _arg1;
_globalData = GlobalData.INSTANCE.data;
}
}
}//package com.jetmorgan.caelifera.engine
Section 92
//GlobalData (com.jetmorgan.data.GlobalData)
package com.jetmorgan.data {
public class GlobalData {
public var data:Object;
private static const _instance:GlobalData = new (GlobalData);
;
public function GlobalData(){
data = {};
super();
if (_instance){
throw (new Error("Must use GlobalData.INSTANCE"));
};
}
public static function get INSTANCE():GlobalData{
return (_instance);
}
}
}//package com.jetmorgan.data
Section 93
//Bounce (gs.easing.Bounce)
package gs.easing {
public class Bounce {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
if (_arg1 < (1 / 2.75)){
return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2));
};
if (_arg1 < (2 / 2.75)){
_arg1 = (_arg1 - (1.5 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2));
};
if (_arg1 < (2.5 / 2.75)){
_arg1 = (_arg1 - (2.25 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2));
};
_arg1 = (_arg1 - (2.625 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (((_arg3 - easeOut((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
if (_arg1 < (_arg4 / 2)){
return (((easeIn((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2));
};
return ((((easeOut(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2));
}
}
}//package gs.easing
Section 94
//TweenLite (gs.TweenLite)
package gs {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.utils.*;
public class TweenLite {
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _subTweens:Array;
protected var _initted:Boolean;
public var startTime:int;
public var target:Object;
public var duration:Number;
protected var _hst:Boolean;
protected var _isDisplayObject:Boolean;
protected var _active:Boolean;
public var tweens:Array;
public var vars:Object;
public var initTime:int;
private static var _timer:Timer = new Timer(2000);
private static var _classInitted:Boolean;
public static var defaultEase:Function = TweenLite.easeOut;
public static var version:Number = 7.04;
private static var _sprite:Sprite = new Sprite();
protected static var _all:Dictionary = new Dictionary();
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
protected static var _curTime:uint;
private static var _listening:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local4:*;
super();
if (_arg1 == null){
return;
};
if (((((!((_arg3.overwrite == false))) && (!((_arg1 == null))))) || ((_all[_arg1] == undefined)))){
delete _all[_arg1];
_all[_arg1] = new Dictionary();
};
_all[_arg1][this] = this;
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
_active = (((_arg2 == 0)) && ((this.delay == 0)));
this.target = _arg1;
_isDisplayObject = (_arg1 is DisplayObject);
if (!(this.vars.ease is Function)){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
if (!isNaN(Number(this.vars.autoAlpha))){
this.vars.alpha = Number(this.vars.autoAlpha);
this.vars.visible = (this.vars.alpha > 0);
};
this.tweens = [];
_subTweens = [];
_hst = (_initted = false);
if (!_classInitted){
_curTime = getTimer();
_sprite.addEventListener(Event.ENTER_FRAME, executeAll);
_classInitted = true;
};
this.initTime = _curTime;
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (_active))){
initTweenVals();
this.startTime = _curTime;
if (_active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
_local4 = this.vars.visible;
if (this.vars.isTV == true){
_local4 = this.vars.exposedProps.visible;
};
if (((((!((_local4 == null))) && ((this.vars.runBackwards == true)))) && (_isDisplayObject))){
this.target.visible = Boolean(_local4);
};
};
if (((!(_listening)) && (!(_active)))){
_timer.addEventListener("timer", killGarbage);
_timer.start();
_listening = true;
};
}
protected function addSubTween(_arg1:Function, _arg2:Object, _arg3:Object, _arg4:Object=null):void{
var _local6:String;
var _local5:Object = {proxy:_arg1, target:_arg2, info:_arg4};
_subTweens[_subTweens.length] = _local5;
for (_local6 in _arg3) {
if (typeof(_arg3[_local6]) == "number"){
this.tweens[this.tweens.length] = {o:_arg2, p:_local6, s:_arg2[_local6], c:(_arg3[_local6] - _arg2[_local6]), sub:_local5};
} else {
this.tweens[this.tweens.length] = {o:_arg2, p:_local6, s:_arg2[_local6], c:Number(_arg3[_local6]), sub:_local5};
};
};
_hst = true;
}
public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{
var _local3:String;
var _local4:int;
var _local6:Array;
var _local7:ColorTransform;
var _local8:ColorTransform;
var _local9:Object;
var _local5:Object = this.vars;
if (_local5.isTV == true){
_local5 = _local5.exposedProps;
};
if ((this.target is Array)){
_local6 = ((this.vars.endArray) || ([]));
_local4 = 0;
while (_local4 < _local6.length) {
if (((!((this.target[_local4] == _local6[_local4]))) && (!((this.target[_local4] == undefined))))){
this.tweens[this.tweens.length] = {o:this.target, p:_local4.toString(), s:this.target[_local4], c:(_local6[_local4] - this.target[_local4])};
};
_local4++;
};
} else {
if (((((!((typeof(_local5.tint) == "undefined"))) || ((this.vars.removeTint == true)))) && (_isDisplayObject))){
_local7 = this.target.transform.colorTransform;
_local8 = new ColorTransform();
if (_local5.alpha != undefined){
_local8.alphaMultiplier = _local5.alpha;
delete _local5.alpha;
} else {
_local8.alphaMultiplier = this.target.alpha;
};
if (((!((this.vars.removeTint == true))) && (((((!((_local5.tint == null))) && (!((_local5.tint == ""))))) || ((_local5.tint == 0)))))){
_local8.color = _local5.tint;
};
addSubTween(tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local7, endColor:_local8});
};
if (((!((_local5.frame == null))) && (_isDisplayObject))){
addSubTween(frameProxy, {frame:this.target.currentFrame}, {frame:_local5.frame}, {target:this.target});
};
if (((!(isNaN(this.vars.volume))) && (this.target.hasOwnProperty("soundTransform")))){
addSubTween(volumeProxy, this.target.soundTransform, {volume:this.vars.volume}, {target:this.target});
};
for (_local3 in _local5) {
if ((((((((((((((((((((((((((((((((((_local3 == "ease")) || ((_local3 == "delay")))) || ((_local3 == "overwrite")))) || ((_local3 == "onComplete")))) || ((_local3 == "onCompleteParams")))) || ((_local3 == "runBackwards")))) || ((_local3 == "visible")))) || ((_local3 == "persist")))) || ((_local3 == "onUpdate")))) || ((_local3 == "onUpdateParams")))) || ((_local3 == "autoAlpha")))) || ((_local3 == "onStart")))) || ((_local3 == "onStartParams")))) || ((_local3 == "renderOnStart")))) || ((_local3 == "proxiedEase")))) || ((_local3 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local3) + " ")) == -1))))))){
} else {
if (((!(((_isDisplayObject) && ((((((_local3 == "tint")) || ((_local3 == "removeTint")))) || ((_local3 == "frame"))))))) && (!((((_local3 == "volume")) && (this.target.hasOwnProperty("soundTransform"))))))){
if (typeof(_local5[_local3]) == "number"){
this.tweens[this.tweens.length] = {o:this.target, p:_local3, s:this.target[_local3], c:(_local5[_local3] - this.target[_local3])};
} else {
this.tweens[this.tweens.length] = {o:this.target, p:_local3, s:this.target[_local3], c:Number(_local5[_local3])};
};
};
};
};
};
if (this.vars.runBackwards == true){
_local4 = (this.tweens.length - 1);
while (_local4 > -1) {
_local9 = this.tweens[_local4];
this.tweens[_local4].s = (_local9.s + _local9.c);
_local9.c = (_local9.c * -1);
_local4--;
};
};
if ((((_local5.visible == true)) && (_isDisplayObject))){
this.target.visible = true;
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
_initted = true;
}
public function get active():Boolean{
if (_active){
return (true);
};
if (((_curTime - this.initTime) / 1000) > this.delay){
_active = true;
this.startTime = (this.initTime + (this.delay * 1000));
if (!_initted){
initTweenVals();
} else {
if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){
this.target.visible = true;
};
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
return (true);
//unresolved jump
};
return (false);
}
public function render(_arg1:uint):void{
var _local3:Number;
var _local4:Object;
var _local5:int;
var _local2:Number = ((_arg1 - this.startTime) / 1000);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = 1;
} else {
_local3 = this.vars.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c));
_local5--;
};
if (_hst){
_local5 = (_subTweens.length - 1);
while (_local5 > -1) {
_subTweens[_local5].proxy(_subTweens[_local5]);
_local5--;
};
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function complete(_arg1:Boolean=false):void{
if (!_arg1){
if (!_initted){
initTweenVals();
};
this.startTime = (_curTime - (this.duration * 1000));
render(_curTime);
return;
};
if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){
if (((!(isNaN(this.vars.autoAlpha))) && ((this.target.alpha == 0)))){
this.target.visible = false;
} else {
if (this.vars.runBackwards != true){
this.target.visible = this.vars.visible;
};
};
};
if (this.vars.persist != true){
removeTween(this);
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function frameProxy(_arg1:Object):void{
_arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame));
}
public static function removeTween(_arg1:TweenLite=null):void{
if (((!((_arg1 == null))) && (!((_all[_arg1.target] == undefined))))){
delete _all[_arg1.target][_arg1];
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Object;
var _local4:*;
if (((!((_arg1 == null))) && (!((_all[_arg1] == undefined))))){
if (_arg2){
_local3 = _all[_arg1];
for (_local4 in _local3) {
_local3[_local4].complete(false);
};
};
delete _all[_arg1];
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:false}));
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function executeAll(_arg1:Event=null):void{
var _local3:Dictionary;
var _local4:Object;
var _local5:Object;
var _local2:uint = (_curTime = getTimer());
if (_listening){
_local3 = _all;
for each (_local4 in _local3) {
for (_local5 in _local4) {
if (((!((_local4[_local5] == undefined))) && (_local4[_local5].active))){
_local4[_local5].render(_local2);
};
};
};
};
}
public static function volumeProxy(_arg1:Object):void{
_arg1.info.target.soundTransform = _arg1.target;
}
public static function killGarbage(_arg1:TimerEvent):void{
var _local3:Boolean;
var _local4:Object;
var _local5:Object;
var _local6:Object;
var _local2:uint;
for (_local4 in _all) {
_local3 = false;
for (_local5 in _all[_local4]) {
_local3 = true;
break;
};
if (!_local3){
delete _all[_local4];
} else {
_local2++;
};
};
if (_local2 == 0){
_timer.removeEventListener("timer", killGarbage);
_timer.stop();
_listening = false;
};
}
public static function tintProxy(_arg1:Object):void{
var _local2:Number = _arg1.target.progress;
var _local3:Number = (1 - _local2);
var _local4:Object = _arg1.info.color;
var _local5:Object = _arg1.info.endColor;
_arg1.info.target.transform.colorTransform = new ColorTransform(((_local4.redMultiplier * _local3) + (_local5.redMultiplier * _local2)), ((_local4.greenMultiplier * _local3) + (_local5.greenMultiplier * _local2)), ((_local4.blueMultiplier * _local3) + (_local5.blueMultiplier * _local2)), ((_local4.alphaMultiplier * _local3) + (_local5.alphaMultiplier * _local2)), ((_local4.redOffset * _local3) + (_local5.redOffset * _local2)), ((_local4.greenOffset * _local3) + (_local5.greenOffset * _local2)), ((_local4.blueOffset * _local3) + (_local5.blueOffset * _local2)), ((_local4.alphaOffset * _local3) + (_local5.alphaOffset * _local2)));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 95
//EdgeMetrics (mx.core.EdgeMetrics)
package mx.core {
public class EdgeMetrics {
public var top:Number;
public var left:Number;
public var bottom:Number;
public var right:Number;
mx_internal static const VERSION:String = "3.0.0.0";
public static const EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0);
;
public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){
this.left = _arg1;
this.top = _arg2;
this.right = _arg3;
this.bottom = _arg4;
}
public function clone():EdgeMetrics{
return (new EdgeMetrics(left, top, right, bottom));
}
}
}//package mx.core
Section 96
//FlexMovieClip (mx.core.FlexMovieClip)
package mx.core {
import flash.display.*;
import mx.utils.*;
public class FlexMovieClip extends MovieClip {
mx_internal static const VERSION:String = "3.0.0.0";
public function FlexMovieClip(){
super();
try {
name = NameUtil.createUniqueName(this);
} catch(e:Error) {
};
}
override public function toString():String{
return (NameUtil.displayObjectToString(this));
}
}
}//package mx.core
Section 97
//FlexSprite (mx.core.FlexSprite)
package mx.core {
import flash.display.*;
import mx.utils.*;
public class FlexSprite extends Sprite {
mx_internal static const VERSION:String = "3.0.0.0";
public function FlexSprite(){
super();
try {
name = NameUtil.createUniqueName(this);
} catch(e:Error) {
};
}
override public function toString():String{
return (NameUtil.displayObjectToString(this));
}
}
}//package mx.core
Section 98
//IBorder (mx.core.IBorder)
package mx.core {
public interface IBorder {
function get borderMetrics():EdgeMetrics;
}
}//package mx.core
Section 99
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 100
//IFlexDisplayObject (mx.core.IFlexDisplayObject)
package mx.core {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.accessibility.*;
public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher {
function get visible():Boolean;
function get rotation():Number;
function localToGlobal(_arg1:Point):Point;
function get name():String;
function set width(_arg1:Number):void;
function get measuredHeight():Number;
function get blendMode():String;
function get scale9Grid():Rectangle;
function set name(_arg1:String):void;
function set scaleX(_arg1:Number):void;
function set scaleY(_arg1:Number):void;
function get measuredWidth():Number;
function get accessibilityProperties():AccessibilityProperties;
function set scrollRect(_arg1:Rectangle):void;
function get cacheAsBitmap():Boolean;
function globalToLocal(_arg1:Point):Point;
function get height():Number;
function set blendMode(_arg1:String):void;
function get parent():DisplayObjectContainer;
function getBounds(_arg1:DisplayObject):Rectangle;
function get opaqueBackground():Object;
function set scale9Grid(_arg1:Rectangle):void;
function setActualSize(_arg1:Number, _arg2:Number):void;
function set alpha(_arg1:Number):void;
function set accessibilityProperties(_arg1:AccessibilityProperties):void;
function get width():Number;
function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean;
function set cacheAsBitmap(_arg1:Boolean):void;
function get scaleX():Number;
function get scaleY():Number;
function get scrollRect():Rectangle;
function get mouseX():Number;
function get mouseY():Number;
function set height(_arg1:Number):void;
function set mask(_arg1:DisplayObject):void;
function getRect(_arg1:DisplayObject):Rectangle;
function get alpha():Number;
function set transform(_arg1:Transform):void;
function move(_arg1:Number, _arg2:Number):void;
function get loaderInfo():LoaderInfo;
function get root():DisplayObject;
function hitTestObject(_arg1:DisplayObject):Boolean;
function set opaqueBackground(_arg1:Object):void;
function set visible(_arg1:Boolean):void;
function get mask():DisplayObject;
function set x(_arg1:Number):void;
function set y(_arg1:Number):void;
function get transform():Transform;
function set filters(_arg1:Array):void;
function get x():Number;
function get y():Number;
function get filters():Array;
function set rotation(_arg1:Number):void;
function get stage():Stage;
}
}//package mx.core
Section 101
//IRepeaterClient (mx.core.IRepeaterClient)
package mx.core {
public interface IRepeaterClient {
function get instanceIndices():Array;
function set instanceIndices(_arg1:Array):void;
function get isDocument():Boolean;
function set repeaters(_arg1:Array):void;
function initializeRepeaterArrays(_arg1:IRepeaterClient):void;
function get repeaters():Array;
function set repeaterIndices(_arg1:Array):void;
function get repeaterIndices():Array;
}
}//package mx.core
Section 102
//MovieClipAsset (mx.core.MovieClipAsset)
package mx.core {
public class MovieClipAsset extends FlexMovieClip implements IFlexAsset, IFlexDisplayObject, IBorder {
private var _measuredHeight:Number;
private var _measuredWidth:Number;
mx_internal static const VERSION:String = "3.0.0.0";
public function MovieClipAsset(){
_measuredWidth = width;
_measuredHeight = height;
}
public function get measuredWidth():Number{
return (_measuredWidth);
}
public function get measuredHeight():Number{
return (_measuredHeight);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _arg2;
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function get borderMetrics():EdgeMetrics{
if (scale9Grid == null){
return (EdgeMetrics.EMPTY);
};
return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom))));
}
}
}//package mx.core
Section 103
//mx_internal (mx.core.mx_internal)
package mx.core {
public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core
Section 104
//SoundAsset (mx.core.SoundAsset)
package mx.core {
import flash.media.*;
public class SoundAsset extends Sound implements IFlexAsset {
mx_internal static const VERSION:String = "3.0.0.0";
}
}//package mx.core
Section 105
//SpriteAsset (mx.core.SpriteAsset)
package mx.core {
public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder {
private var _measuredHeight:Number;
private var _measuredWidth:Number;
mx_internal static const VERSION:String = "3.0.0.0";
public function SpriteAsset(){
_measuredWidth = width;
_measuredHeight = height;
}
public function get measuredWidth():Number{
return (_measuredWidth);
}
public function get measuredHeight():Number{
return (_measuredHeight);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _arg2;
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function get borderMetrics():EdgeMetrics{
if (scale9Grid == null){
return (EdgeMetrics.EMPTY);
};
return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom))));
}
}
}//package mx.core
Section 106
//NameUtil (mx.utils.NameUtil)
package mx.utils {
import flash.display.*;
import mx.core.*;
import flash.utils.*;
public class NameUtil {
mx_internal static const VERSION:String = "3.0.0.0";
private static var counter:int = 0;
public static function displayObjectToString(_arg1:DisplayObject):String{
var _local2:String;
var _local4:String;
var _local5:Array;
var _local3:DisplayObject = _arg1;
while (_local3 != null) {
if (((((_local3.parent) && (_local3.stage))) && ((_local3.parent == _local3.stage)))){
break;
};
_local4 = _local3.name;
if ((_local3 is IRepeaterClient)){
_local5 = IRepeaterClient(_local3).instanceIndices;
if (_local5){
_local4 = (_local4 + (("[" + _local5.join("][")) + "]"));
};
};
_local2 = ((_local2 == null)) ? _local4 : ((_local4 + ".") + _local2);
_local3 = _local3.parent;
};
return (_local2);
}
public static function createUniqueName(_arg1:Object):String{
if (!_arg1){
return (null);
};
var _local2:String = getQualifiedClassName(_arg1);
var _local3:int = _local2.indexOf("::");
if (_local3 != -1){
_local2 = _local2.substr((_local3 + 2));
};
var _local4:int = _local2.charCodeAt((_local2.length - 1));
if ((((_local4 >= 48)) && ((_local4 <= 57)))){
_local2 = (_local2 + "_");
};
return ((_local2 + counter++));
}
}
}//package mx.utils
Section 107
//CareNCure (CareNCure)
package {
import com.jetmorgan.caelifera.display.screen.*;
import flash.display.*;
import carencure.screens.*;
public class CareNCure extends Sprite {
public function CareNCure(){
var _local1:ScreenManager = ScreenManager.INSTANCE;
_local1.setWindow(this);
_local1.setScreen(new TitleScreen());
}
}
}//package