Section 1
//ASLForm (com.morpheme.g5.ASLForm)
package com.morpheme.g5 {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class ASLForm extends MovieClip {
private var sexId:Number;// = 0
private var g5:G5Framework;// = null
private var soSurvey:SharedObject;// = null
private var ageId:Number;// = 0
public function ASLForm(_arg1:G5Framework){
this.g5 = _arg1;
var _local2:Number = 0;
_local2 = 1;
while (_local2 <= 7) {
this[("movAge" + _local2)].gotoAndStop(1);
_local2++;
};
this["movSex1"].gotoAndStop(1);
this["movSex2"].gotoAndStop(1);
_local2 = 1;
while (_local2 <= 7) {
this[("movAge" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPressAge);
_local2++;
};
this["movSex1"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPressSex);
this["movSex2"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPressSex);
this["btnSkip"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPressSkip);
this["btnDone"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPressDone);
_local2 = 1;
while (_local2 <= 7) {
this[("movAge" + _local2)].buttonMode = true;
_local2++;
};
this["movSex1"].buttonMode = true;
this["movSex2"].buttonMode = true;
}
public function onButtonPressDone(_arg1:MouseEvent):void{
soSurvey.setProperty("a", ageId);
soSurvey.setProperty("s", sexId);
soSurvey.flush();
var _local2:URLVariables = new URLVariables();
_local2.op = G5Framework.OP_OTW_SUBMIT_ASL_VALS;
_local2.GameId = g5.getGameId();
_local2.AgeId = ageId;
_local2.SexId = sexId;
var _local3:URLRequest = new URLRequest(G5Framework.SERVLET_URL);
var _local4:URLLoader = new URLLoader();
_local4.dataFormat = URLLoaderDataFormat.VARIABLES;
_local3.data = _local2;
_local3.method = URLRequestMethod.POST;
_local4.addEventListener(Event.COMPLETE, aslSubmitHandler);
_local4.addEventListener(IOErrorEvent.IO_ERROR, aslSubmitError);
_local4.load(_local3);
g5.surveyComplete();
}
public function cookieCheck():Boolean{
soSurvey = SharedObject.getLocal("g5Survey");
return (((g5.isASLEnabled()) && ((soSurvey.size == 0))));
}
public function onButtonPressAge(_arg1:MouseEvent):void{
var _local3:String;
var _local2:Number = 1;
while (_local2 <= 7) {
_local3 = ("movAge" + _local2);
if (_arg1.target.name != _local3){
this[_local3].gotoAndStop(1);
} else {
ageId = _local2;
this[_local3].gotoAndStop(2);
};
_local2++;
};
showDoneButton();
}
public function onButtonPressSkip(_arg1:MouseEvent):void{
g5.surveyComplete();
}
private function showDoneButton():void{
this.btnDone.visible = (((ageId > 0)) && ((sexId > 0)));
this.btnSkip.visible = !(this.btnDone.visible);
}
public function onButtonPressSex(_arg1:MouseEvent):void{
var _local3:String;
var _local2:Number = 1;
while (_local2 <= 2) {
_local3 = ("movSex" + _local2);
if (_arg1.target.name != _local3){
this[_local3].gotoAndStop(1);
} else {
sexId = _local2;
this[_local3].gotoAndStop(2);
};
_local2++;
};
showDoneButton();
}
public function aslSubmitError(_arg1:IOErrorEvent):void{
}
public function aslSubmitHandler(_arg1:Event):void{
}
}
}//package com.morpheme.g5
Section 2
//G5Framework (com.morpheme.g5.G5Framework)
package com.morpheme.g5 {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.text.*;
public class G5Framework extends MovieClip {
private var g5Game:G5Game;
private var igaEnabled:Boolean;
private var mochibotId:String;
private var SplashScreen:Class;
private var movSplash:MovieClip;
private var gameName:String;
private var aslForm:ASLForm;// = null
private var mochiEnabled:Boolean;
private var mochiadId:String;
private var aslEnabled:Boolean;
private var gameId:Number;
private var gameCode:String;
public static var HS_SERVLET_URL:String = (SERVER_URL + "/servlet/hiServlet");
public static var OP_OTW_GET_CONFIG_PROPS:Number = 0;
public static var INDEX_URL:String = (SERVER_URL + "/index.jsp?id=");
public static var HS_DATA_DELIM_COL:String = "/";
public static var OP_HS_GET_DATA:Number = 1;
public static var OP_OTW_SUBMIT_ASL_VALS:Number = 1;
public static var SERVLET_URL:String = (SERVER_URL + "/servlet/otwServlet");
public static var HS_DATA_DELIM_ROW:String = ">";
public static var SERVER_URL:String = "http://www.gimme5games.com";
public function G5Framework(){
SplashScreen = G5Framework_SplashScreen;
movSplash = new SplashScreen();
super();
}
public function isIGAEnabled():Boolean{
return (this.igaEnabled);
}
public function getMochiAdId():String{
return (this.mochiadId);
}
public function getConfigPropsError(_arg1:IOErrorEvent):void{
if (g5Game.debug){
trace("[G5 DEBUG] - getConfigPropsError");
};
}
public function getConfigPropsHandler(_arg1:Event):void{
var _local2:URLLoader = URLLoader(_arg1.target);
if (_local2.data.err == undefined){
gameCode = _local2.data.GameCode;
gameName = _local2.data.GameName;
aslEnabled = (_local2.data.ASLEnabled == 1);
igaEnabled = (_local2.data.IGAEnabled == 1);
mochiEnabled = (_local2.data.MochiEnabled == 1);
mochiadId = _local2.data.MochiAdId;
mochibotId = _local2.data.MochiBotId;
configComplete();
} else {
getConfigPropsError(null);
};
}
public function getMochiBotId():String{
return (this.mochibotId);
}
public function onButtonPress(_arg1:MouseEvent):void{
var _local2:URLRequest;
switch (_arg1.target.name){
case "btnUrl":
_local2 = new URLRequest(G5Framework.SERVER_URL);
navigateToURL(_local2, "_blank");
break;
};
}
public function getGameId():Number{
return (this.gameId);
}
public function initG5(_arg1:Number, _arg2:G5Game):void{
if (_arg2.debug){
trace("[G5 DEBUG] - initG5");
};
this.gameId = _arg1;
this.g5Game = _arg2;
aslForm = new ASLForm(this);
movSplash.gotoAndStop(1);
movSplash["btnUrl"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPress);
if (!_arg2.skip){
getConfigProps();
} else {
surveyComplete();
};
}
public function isMochiEnabled():Boolean{
return (this.mochiEnabled);
}
private function configComplete():void{
if (g5Game.debug){
trace("[G5 DEBUG] - configComplete");
};
this.g5Game.trackMochi();
this.g5Game.showSplashScreen(movSplash);
}
public function getGameName():String{
return (this.gameName);
}
public function getConfigProps():void{
if (g5Game.debug){
trace("[G5 DEBUG] - getConfigProps");
};
var _local1:URLVariables = new URLVariables();
_local1.op = OP_OTW_GET_CONFIG_PROPS;
_local1.GameId = gameId;
var _local2:URLRequest = new URLRequest(SERVLET_URL);
var _local3:URLLoader = new URLLoader();
_local3.dataFormat = URLLoaderDataFormat.VARIABLES;
_local2.data = _local1;
_local2.method = URLRequestMethod.POST;
_local3.addEventListener(Event.COMPLETE, getConfigPropsHandler);
_local3.addEventListener(IOErrorEvent.IO_ERROR, getConfigPropsError);
_local3.load(_local2);
}
public function isASLEnabled():Boolean{
return (this.aslEnabled);
}
public function surveyComplete():void{
if (g5Game.debug){
trace("[G5 DEBUG] - surveyComplete");
};
if (this.g5Game.contains(aslForm)){
this.g5Game.removeChild(aslForm);
};
this.g5Game.initGame();
this.g5Game.showTitleScreen();
}
public function getGameCode():String{
return (this.gameCode);
}
public function splashComplete():void{
if (g5Game.debug){
trace("[G5 DEBUG] - splashComplete");
};
if (aslForm.cookieCheck()){
aslForm.x = ((this.g5Game.swfWidth - aslForm.width) / 2);
aslForm.y = ((this.g5Game.swfHeight - aslForm.height) / 2);
this.g5Game.addChild(aslForm);
} else {
surveyComplete();
};
}
public function toggleSound():void{
g5Game.toggleSound();
}
}
}//package com.morpheme.g5
Section 3
//G5Framework_SplashScreen (com.morpheme.g5.G5Framework_SplashScreen)
package com.morpheme.g5 {
import flash.display.*;
import mx.core.*;
public class G5Framework_SplashScreen extends MovieClipAsset {
public var movSex2:DisplayObject;
public var movAge1:DisplayObject;
public var movAge3:DisplayObject;
public var movAge4:DisplayObject;
public var movAge5:DisplayObject;
public var movAge6:DisplayObject;
public var movAge2:DisplayObject;
public var movAge7:DisplayObject;
public var hand:DisplayObject;
public var btnUrl:DisplayObject;
public var btnSkip:DisplayObject;
public var btnDone:DisplayObject;
public var movSex1:DisplayObject;
}
}//package com.morpheme.g5
Section 4
//G5Game (com.morpheme.g5.G5Game)
package com.morpheme.g5 {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public class G5Game extends MovieClip {
private var g5Game:G5Game;// = null
private var hiScores:HiScores;
public var swfHeight:Number;// = 0
public var debug:Boolean;// = false
private var loader:G5Preloader;// = null
private var movSplash:MovieClip;// = null
public var swfWidth:Number;// = 0
protected var g5:G5Framework;
private var gameId:Number;// = 0
public var skip:Boolean;// = false
public function G5Game(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:G5Game, _arg5:Boolean, _arg6:Boolean=false){
g5 = new G5Framework();
hiScores = new HiScores();
super();
this.gameId = _arg1;
this.swfWidth = _arg2;
this.swfHeight = _arg3;
this.g5Game = _arg4;
this.debug = _arg5;
this.skip = _arg6;
}
public function exitHiScoresScreen():void{
removeChild(hiScores);
advertFinished();
}
public function skipG5():void{
loader.removeLoader();
g5Game.showMenuScreen();
}
private function showAd():void{
if (debug){
trace("[G5 DEBUG] - showAd");
};
if (g5.isMochiEnabled()){
MochiAd.showTimedAd({id:g5.getMochiAdId(), res:((this.swfWidth + "x") + this.swfHeight), clip:this, ad_started:advertStarted, ad_finished:advertFinished});
} else {
advertFinished();
};
}
public function showSplashScreen(_arg1:MovieClip):void{
if (debug){
trace("[G5 DEBUG] - showSplashScreen");
};
this.movSplash = _arg1;
this.movSplash.x = ((this.swfWidth - _arg1.width) / 2);
this.movSplash.y = ((this.swfHeight - _arg1.height) / 2);
this.movSplash.addEventListener(Event.ENTER_FRAME, splashEnterFrame);
addChild(this.movSplash);
this.movSplash.gotoAndPlay(1);
loader.removeLoader();
}
public function advertStarted():void{
}
public function showMenuScreen():void{
}
public function hiScoreDataLoaded(_arg1:Array):void{
}
public function advertFinished():void{
showMenuScreen();
}
public function preloadComplete(_arg1:G5Preloader):void{
if (debug){
trace("[G5 DEBUG] - preloadComplete");
};
this.loader = _arg1;
g5.initG5(this.gameId, this.g5Game);
}
public function getHiScoreDataError(_arg1:IOErrorEvent):void{
trace("[G5 ERROR] - getHiScoreDataError");
}
public function getHiScoreData(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean):void{
var _local7:URLVariables;
var _local8:URLRequest;
var _local9:URLLoader;
if (debug){
trace("[G5 DEBUG] - getHiScoreData");
};
var _local6:Number = (((_arg2 + 1) - _arg1) * ((_arg4 + 1) - _arg3));
if (_local6 <= 100){
_local7 = new URLVariables();
_local7.op = G5Framework.OP_HS_GET_DATA;
_local7.gameId = gameId;
_local7.startPos = _arg1;
_local7.endPos = _arg2;
_local7.startLevel = _arg3;
_local7.endLevel = _arg4;
_local7.lowIsBest = _arg5;
_local8 = new URLRequest(G5Framework.HS_SERVLET_URL);
_local9 = new URLLoader();
_local9.dataFormat = URLLoaderDataFormat.VARIABLES;
_local8.data = _local7;
_local8.method = URLRequestMethod.POST;
_local9.addEventListener(Event.COMPLETE, getHiScoreDataHandler);
_local9.addEventListener(IOErrorEvent.IO_ERROR, getHiScoreDataError);
_local9.load(_local8);
} else {
trace("[G5 ERROR] - 100 row max per request");
};
}
public function showTitleScreen():void{
}
public function initGame():void{
}
public function toggleSound():void{
}
public function removeHiScores():void{
try {
removeChild(hiScores);
} catch(error:Error) {
};
}
public function initHiScores(_arg1:Number, _arg2:Boolean, _arg3:Number, _arg4:String, _arg5:String, _arg6:Number, _arg7:Number):void{
if (debug){
trace("[G5 DEBUG] - initHiScores");
};
hiScores.setDetails(g5.getGameId(), _arg1, g5.getGameCode(), _arg2, _arg3, _arg4, _arg5, _arg6, _arg7);
addChild(hiScores);
}
public function exitTitleScreen():void{
showAd();
}
public function trackMochi():void{
MochiBot.track(this.loader, g5.getMochiBotId());
}
public function splashEnterFrame(_arg1:Event):void{
if (this.movSplash.currentFrame == this.movSplash.totalFrames){
this.movSplash.removeEventListener(Event.ENTER_FRAME, splashEnterFrame);
this.movSplash.stop();
removeChild(this.movSplash);
g5.splashComplete();
};
}
public function getHiScoreDataHandler(_arg1:Event):void{
var _local4:Array;
var _local5:Number;
var _local6:Array;
var _local7:HiScoreRow;
var _local2:Array = new Array();
var _local3:URLLoader = URLLoader(_arg1.target);
if (_local3.data.err == undefined){
_local4 = _local3.data.res.split(G5Framework.HS_DATA_DELIM_ROW);
_local5 = 0;
while (_local5 < _local4.length) {
_local6 = _local4[_local5].split(G5Framework.HS_DATA_DELIM_COL);
if (_local6[1] != null){
_local7 = new HiScoreRow();
_local7.setLevelId(_local6[0]);
_local7.setName(_local6[1]);
_local7.setScore(_local6[2]);
_local2.push(_local7);
};
_local5++;
};
hiScoreDataLoaded(_local2);
} else {
getHiScoreDataError(null);
};
}
}
}//package com.morpheme.g5
Section 5
//G5Preloader (com.morpheme.g5.G5Preloader)
package com.morpheme.g5 {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.utils.*;
public class G5Preloader extends MovieClip {
private var G5Loader:Class;
private var swfWidth:Number;// = 0
private var percent:Number;// = 0
private var movLoader:Sprite;
private var swfHeight:Number;// = 0
private var mainClassName:String;// = ""
private var barWidth:Number;// = 0
public function G5Preloader(_arg1:String, _arg2:Number, _arg3:Number){
G5Loader = G5Preloader_G5Loader;
movLoader = new G5Loader();
super();
this.mainClassName = _arg1;
this.swfWidth = _arg2;
this.swfHeight = _arg3;
stop();
movLoader.x = ((this.swfWidth - movLoader.width) / 2);
movLoader.y = ((this.swfHeight - movLoader.height) / 2);
addChild(movLoader);
barWidth = movLoader["movLoadingBar"].width;
addEventListener(Event.ENTER_FRAME, onEnterFrame);
movLoader["btnUrl"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPress);
}
private function init():void{
var _local2:Object;
var _local1:Class = Class(getDefinitionByName(mainClassName));
if (_local1){
_local2 = new _local1(this.swfWidth, this.swfHeight);
addChild((_local2 as DisplayObject));
_local2.preloadComplete(this);
};
}
public function removeLoader():void{
removeChild(movLoader);
}
public function onButtonPress(_arg1:MouseEvent):void{
var _local2:URLRequest;
switch (_arg1.target.name){
case "btnUrl":
_local2 = new URLRequest(G5Framework.SERVER_URL);
navigateToURL(_local2, "_blank");
break;
};
}
public function onEnterFrame(_arg1:Event):void{
if (framesLoaded == totalFrames){
movLoader["movLoadingBar"].width = barWidth;
movLoader["txtPercent"].text = "100% loaded";
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
nextFrame();
init();
} else {
percent = Math.round(((root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal) * 100));
movLoader["movLoadingBar"].width = Math.round((percent * (barWidth / 100)));
movLoader["txtPercent"].text = (percent + "% loaded");
};
}
}
}//package com.morpheme.g5
Section 6
//G5Preloader_G5Loader (com.morpheme.g5.G5Preloader_G5Loader)
package com.morpheme.g5 {
import flash.display.*;
import mx.core.*;
public class G5Preloader_G5Loader extends SpriteAsset {
public var movSex2:DisplayObject;
public var movAge1:DisplayObject;
public var movAge3:DisplayObject;
public var movAge4:DisplayObject;
public var movAge5:DisplayObject;
public var movAge6:DisplayObject;
public var movAge2:DisplayObject;
public var movAge7:DisplayObject;
public var movLoadingBar:DisplayObject;
public var hand:DisplayObject;
public var btnUrl:DisplayObject;
public var txtPercent:DisplayObject;
public var btnSkip:DisplayObject;
public var btnDone:DisplayObject;
public var movSex1:DisplayObject;
}
}//package com.morpheme.g5
Section 7
//HiScoreRow (com.morpheme.g5.HiScoreRow)
package com.morpheme.g5 {
public class HiScoreRow {
private var name:String;// = ""
private var score:Number;// = 0
private var levelId:Number;// = 0
public function getName():String{
return (this.name);
}
public function getLevelId():Number{
return (this.levelId);
}
public function setName(_arg1:String):void{
this.name = _arg1;
}
public function setScore(_arg1:Number):void{
this.score = _arg1;
}
public function getScore():Number{
return (this.score);
}
public function setLevelId(_arg1:Number):void{
this.levelId = _arg1;
}
}
}//package com.morpheme.g5
Section 8
//HiScores (com.morpheme.g5.HiScores)
package com.morpheme.g5 {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class HiScores extends MovieClip {
private var levelId:Number;
private var KEY:String;// = "rocket"
private var score:Number;
private var lowIsBest:Boolean;
private var gameId:Number;
private var infoScreen:MovieClip;// = null
private var entryScreen:MovieClip;// = null
private var gameCode:String;
public function HiScores(){
this.visible = false;
}
public function setDetails(_arg1:Number, _arg2:Number, _arg3:String, _arg4:Boolean, _arg5:Number, _arg6:String, _arg7:String, _arg8:Number, _arg9:Number):void{
this.gameId = _arg1;
this.levelId = _arg2;
this.gameCode = _arg3;
this.lowIsBest = _arg4;
this.score = _arg5;
this.infoScreen = this["movInfoScreen"];
this.entryScreen = this["movEntryScreen"];
entryScreen["txtMsg1"].text = _arg6;
entryScreen["txtMsg2"].text = _arg7;
entryScreen["txtName"].text = "";
entryScreen["txtCode"].text = "";
entryScreen.visible = true;
infoScreen.visible = false;
secCodeLoad();
entryScreen["btnRefreshCode"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPress);
entryScreen["btnSubmit"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPress);
infoScreen["btnView"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPress);
infoScreen["btnBack"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPress);
this.x = _arg8;
this.y = _arg9;
this.visible = true;
}
public function showInfoMessage(_arg1:String, _arg2:Boolean):void{
infoScreen["txtInfo"].text = _arg1;
infoScreen["btnBack"].visible = _arg2;
infoScreen["btnView"].visible = !(_arg2);
}
public function submitDetails():void{
var _local2:String;
var _local3:String;
var _local4:Number;
var _local5:Number;
var _local6:URLVariables;
var _local7:URLRequest;
var _local8:URLLoader;
entryScreen.visible = false;
infoScreen.visible = true;
var _local1:Boolean;
if (entryScreen["txtName"].text.length == 0){
showInfoMessage("Please enter your name.", true);
} else {
if (entryScreen["txtCode"].text.length != 5){
showInfoMessage("Please enter all 5 letters of the security code.", true);
} else {
showInfoMessage("Submitting hi-score details to the server, please wait.", true);
infoScreen["btnBack"].visible = false;
_local1 = false;
};
};
if (!_local1){
_local2 = ((((((((("save|" + entryScreen["txtName"].text) + "|") + entryScreen["txtCode"].text) + "|") + score) + "|") + gameId) + "|") + levelId);
_local3 = "";
_local4 = 0;
_local5 = 0;
while (_local4 < _local2.length) {
if (_local5 >= KEY.length){
_local5 = 0;
};
_local3 = (_local3 + String.fromCharCode(((_local2.charCodeAt(_local4) ^ KEY.charCodeAt(_local5)) + 1)));
_local4++;
_local5++;
};
_local6 = new URLVariables();
_local6.ffdata = _local3;
_local6.lowIsBest = lowIsBest;
_local7 = new URLRequest(G5Framework.HS_SERVLET_URL);
_local8 = new URLLoader();
_local8.dataFormat = URLLoaderDataFormat.VARIABLES;
_local7.data = _local6;
_local7.method = URLRequestMethod.POST;
_local8.addEventListener(Event.COMPLETE, submitHiScoreHandler);
_local8.addEventListener(IOErrorEvent.IO_ERROR, submitHiScoreError);
_local8.load(_local7);
};
}
public function secCodeLoadError(_arg1:IOErrorEvent):void{
entryScreen.visible = false;
infoScreen.visible = true;
showInfoMessage("Could not generate a security code. Click on back and try to refresh the code window.", true);
}
public function onButtonPress(_arg1:MouseEvent):void{
switch (_arg1.target.name){
case "btnRefreshCode":
secCodeLoad();
break;
case "btnSubmit":
submitDetails();
break;
case "btnView":
viewScore();
break;
case "btnBack":
back();
break;
};
}
public function back():void{
entryScreen.visible = true;
infoScreen.visible = false;
}
public function secCodeLoad():void{
var _local1:Loader = new Loader();
_local1.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, secCodeLoadError);
var _local2:String = ((G5Framework.HS_SERVLET_URL + "?type=genCode&cachebuster=") + new Date().getTime());
_local1.load(new URLRequest(_local2));
entryScreen["movCode"].addChild(_local1);
}
public function submitHiScoreError(_arg1:IOErrorEvent):void{
showInfoMessage("A serious problem was encountered with the server, please try again in a few minutes.", true);
}
public function submitHiScoreHandler(_arg1:Event):void{
var _local2:URLLoader = URLLoader(_arg1.target);
var _local3:Number = _local2.data.res;
if (_local3 == -1){
showInfoMessage("Could not store hi-score details. Click on back, generate a new security code and re-submit.", true);
} else {
if (_local3 == 0){
showInfoMessage("Sorry, a better score already exists with that name.", false);
} else {
if (_local3 == 1){
showInfoMessage("Congratulations! You made it into the\nhi-score table.", false);
};
};
};
}
public function viewScore():void{
var _local1:URLRequest = new URLRequest(((((((((G5Framework.INDEX_URL + gameCode) + "_hs") + "&name=") + entryScreen["txtName"].text) + "&levelId=") + levelId) + "&cachebuster=") + new Date().getTime()));
navigateToURL(_local1, "_blank");
}
}
}//package com.morpheme.g5
Section 9
//MochiAd (com.morpheme.g5.MochiAd)
package com.morpheme.g5 {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
public class MochiAd {
public static function getVersion():String{
return ("1.5");
}
public static function showTimedAd(_arg1:Object):void{
var clip:Object;
var mc:MovieClip;
var chk:MovieClip;
var options = _arg1;
var DEFAULTS:Object = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
}, ad_finished:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
var ad_msec:Number = 11000;
var ad_timeout:Number = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time:Number = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
options.ad_finished();
};
var wh:Array = MochiAd._getRes(options, clip);
var w:Number = wh[0];
var h:Number = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local2:MovieClip;
var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
_local2 = this.parent.parent;
MochiAd.unload(_local2);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object = mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = (_arg1 - 250);
};
chk["onEnterFrame"] = function ():void{
var _local4:Number;
var _local1:Object = this.parent._mochiad_ctr;
var _local2:Number = (getTimer() - this.started);
var _local3:Boolean;
if (!chk.showing){
_local4 = _local1.loaderInfo.bytesTotal;
if ((((_local4 > 0)) || (("number" == "undefined")))){
chk.showing = true;
chk.started = getTimer();
} else {
if (_local2 > chk.ad_timeout){
_local3 = true;
};
};
};
if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){
_local3 = true;
};
if (_local3){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function _allowDomains(_arg1:String):String{
var _local2:String = _arg1.split("/")[2].split(":")[0];
Security.allowDomain("*");
Security.allowDomain(_local2);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(_local2);
return (_local2);
}
public static function unload(_arg1:Object):Boolean{
if (((_arg1.clip) && (_arg1.clip._mochiad))){
_arg1 = _arg1.clip;
};
if (!_arg1._mochiad){
return (false);
};
if (_arg1._mochiad.onUnload){
_arg1._mochiad.onUnload();
};
_arg1.removeChild(_arg1._mochiad);
delete _arg1._mochiad_loaded;
delete _arg1._mochiad;
return (true);
}
public static function sendHighScore(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{
var _local4:MovieClip = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id});
if (!_local4){
return (false);
};
_local4.doSend(["sendHighScore", _arg1], _arg2, _arg3);
return (true);
}
public static function _parseOptions(_arg1:Object, _arg2:Object):Object{
var _local4:String;
var _local5:Array;
var _local6:Number;
var _local7:Array;
var _local3:Object = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
if (_arg1){
for (_local4 in _arg1) {
_local3[_local4] = _arg1[_local4];
};
};
_arg1 = _local3.clip.loaderInfo.parameters.mochiad_options;
if (_arg1){
_local5 = _arg1.split("&");
_local6 = 0;
while (_local6 < _local5.length) {
_local7 = _local5[_local6].split("=");
_local3[unescape(_local7[0])] = unescape(_local7[1]);
_local6++;
};
};
return (_local3);
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function load(_arg1:Object):MovieClip{
var mc:MovieClip;
var k:String;
var v:Object;
var options = _arg1;
var DEFAULTS:Object = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
var clip:Object = options.clip;
if (!MochiAd._isNetworkAvailable()){
return (null);
};
if (clip._mochiad_loaded){
return (null);
};
var depth:Number = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, "_mochiad", depth);
var wh:Array = MochiAd._getRes(options, clip);
options.res = ((wh[0] + "x") + wh[1]);
options.server = (options.server + options.id);
delete options.id;
clip._mochiad_loaded = true;
var lv:URLVariables = new URLVariables();
for (k in options) {
v = options[k];
if (!(v is Function)){
lv[k] = v;
};
};
if (clip.loaderInfo.loaderURL.indexOf("http") != 0){
options.no_page = true;
};
var server:String = lv.server;
delete lv.server;
var hostname:String = _allowDomains(server);
mc["onEnterFrame"] = function ():void{
if (!this._mochiad_ctr){
delete this["onEnterFrame"];
MochiAd.unload(this.parent);
};
};
doOnEnterFrame(mc);
var lc:LocalConnection = new LocalConnection();
lc.client = mc;
var name:String = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.lc = lc;
lv.lc = name;
lv.st = getTimer();
var loader:Loader = new Loader();
var f:Function = function (_arg1:Object):void{
mc._mochiad_ctr_failed = true;
};
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f);
var req:URLRequest = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.load(req);
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{
var _local4:MovieClip = new MovieClip();
if (((false) && (_arg3))){
_arg1.addChildAt(_local4, _arg3);
} else {
_arg1.addChild(_local4);
};
_arg1[_arg2] = _local4;
_local4["_name"] = _arg2;
return (_local4);
}
public static function _getRes(_arg1:Object, _arg2:Object):Array{
var _local6:Array;
var _local3:Object = _arg2.getBounds(_arg2.root);
var _local4:Number = 0;
var _local5:Number = 0;
if (typeof(_arg1.res) != "undefined"){
_local6 = _arg1.res.split("x");
_local4 = parseFloat(_local6[0]);
_local5 = parseFloat(_local6[1]);
} else {
_local4 = (_local3.xMax - _local3.xMin);
_local5 = (_local3.yMax - _local3.yMin);
};
if ((((_local4 == 0)) || ((_local5 == 0)))){
_local4 = _arg2.stage.stageWidth;
_local5 = _arg2.stage.stageHeight;
};
return ([_local4, _local5]);
}
public static function _loadCommunicator(_arg1:Object):MovieClip{
var mc:MovieClip;
var k:String;
var lc:LocalConnection;
var name:String;
var req:URLRequest;
var loader:Loader;
var options = _arg1;
var DEFAULTS:Object = {com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
var clip:Object = options.clip;
var clipname:String = ("_mochiad_com_" + options.id);
if (!MochiAd._isNetworkAvailable()){
return (null);
};
if (clip[clipname]){
return (clip[clipname]);
};
var server:String = (options.com_server + options.id);
MochiAd._allowDomains(server);
delete options.id;
delete options.com_server;
var depth:Number = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, clipname, depth);
var lv:URLVariables = new URLVariables();
for (k in options) {
lv[k] = options[k];
};
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.name = name;
mc.lc = lc;
lv.lc = name;
mc._id = 0;
mc._queue = [];
mc.rpcResult = function (_arg1:Object):void{
_arg1 = parseInt(_arg1.toString());
var _local3:Array = mc._callbacks[_arg1];
if (typeof(_local3) == "undefined"){
return;
};
delete mc._callbacks[_arg1];
var _local4:Array = [];
var _local5:Number = 2;
while (_local5 < _local3.length) {
_local4.push(_local3[_local5]);
_local5++;
};
_local5 = 1;
while (_local5 < arguments.length) {
_local4.push(arguments[_local5]);
_local5++;
};
var _local6:Object = _local3[1];
var _local7:Object = _local3[0];
if (((_local7) && ((typeof(_local6) == "string")))){
_local6 = _local7[_local6];
};
if (typeof(_local6) == "function"){
_local6.apply(_local7, _local4);
};
};
mc._didConnect = function (_arg1:String):void{
var _local5:Array;
mc._endpoint = _arg1;
var _local2:Array = mc._queue;
delete mc._queue;
var _local3:Function = mc.doSend;
var _local4:Number = 0;
while (_local4 < _local2.length) {
_local5 = _local2[_local4];
_local3.apply(this, _local5);
_local4++;
};
};
mc.doSend = function (_arg1:Array, _arg2:Object, _arg3:Object):void{
var _local7:Array;
var _local8:Number;
if (mc._endpoint == null){
_local7 = [];
_local8 = 0;
while (_local8 < arguments.length) {
_local7.push(arguments[_local8]);
_local8++;
};
mc._queue.push(_local7);
return;
};
mc._id = (mc._id + 1);
var _local5:Number = mc._id;
mc._callbacks[_local5] = [_arg2, ((_arg3) || (_arg2))];
var _local6:LocalConnection = new LocalConnection();
_local6.send(mc._endpoint, "rpc", _local5, _arg1);
};
mc._callbacks = {};
mc._callbacks[0] = [mc, "_didConnect"];
lv.st = getTimer();
req = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader = new Loader();
loader.load(req);
mc.addChild(loader);
mc._mochiad_com = loader;
return (mc);
}
public static function showPreloaderAd(_arg1:Object):void{
var clip:Object;
var mc:MovieClip;
var chk:MovieClip;
var options = _arg1;
var DEFAULTS:Object = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, ad_started:function ():void{
this.clip.stop();
}, ad_finished:function ():void{
this.clip.play();
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
var ad_msec:Number = 11000;
var ad_timeout:Number = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time:Number = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
options.ad_finished();
};
var wh:Array = MochiAd._getRes(options, clip);
var w:Number = wh[0];
var h:Number = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.x = (w * -0.5);
chk.y = (h * -0.5);
var bar:MovieClip = createEmptyMovieClip(chk, "_mochiad_bar", 4);
bar.x = 10;
bar.y = (h - 20);
var bar_color:Number = options.color;
delete options.color;
var bar_background:Number = options.background;
delete options.background;
var bar_outline:Number = options.outline;
delete options.outline;
var backing_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 1);
var backing:Object = backing_mc.graphics;
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo((w - 20), 0);
backing.lineTo((w - 20), 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
var inside_mc:MovieClip = createEmptyMovieClip(bar, "_inside", 2);
var inside:Object = inside_mc.graphics;
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo((w - 20), 0);
inside.lineTo((w - 20), 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside_mc.scaleX = 0;
var outline_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 3);
var outline:Object = outline_mc.graphics;
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo((w - 20), 0);
outline.lineTo((w - 20), 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local2:MovieClip;
var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
_local2 = this.parent.parent;
MochiAd.unload(_local2);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object = mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = _arg1;
};
chk["onEnterFrame"] = function ():void{
var _local11:Number;
var _local1:Object = this.parent.parent.root;
if (!_local1){
delete this["onEnterFrame"];
return;
};
var _local2:Object = this.parent._mochiad_ctr;
var _local3:Number = (getTimer() - this.started);
var _local4:Boolean;
var _local5:Number = _local1.loaderInfo.bytesTotal;
var _local6:Number = _local1.loaderInfo.bytesLoaded;
var _local7:Number = ((100 * _local6) / _local5);
var _local8:Number = ((100 * _local3) / chk.ad_msec);
var _local9:Object = this._mochiad_bar._inside;
var _local10:Number = Math.min(100, Math.min(((_local7) || (0)), _local8));
_local10 = Math.max(this.last_pcnt, _local10);
this.last_pcnt = _local10;
_local9.scaleX = (_local10 * 0.01);
if (!chk.showing){
_local11 = _local2.loaderInfo.bytesTotal;
if ((((_local11 > 0)) || (("number" == "undefined")))){
chk.showing = true;
chk.started = getTimer();
} else {
if (_local3 > chk.ad_timeout){
_local4 = true;
};
};
};
if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){
_local4 = true;
};
if ((((((_local5 > 0)) && ((_local6 >= _local5)))) && (_local4))){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function fetchHighScores(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{
var _local4:MovieClip = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id});
if (!_local4){
return (false);
};
_local4.doSend(["fetchHighScores", _arg1], _arg2, _arg3);
return (true);
}
public static function doOnEnterFrame(_arg1:MovieClip):void{
var f:Function;
var mc = _arg1;
f = function (_arg1:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
mc.removeEventListener(Event.ENTER_FRAME, f);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
}
}//package com.morpheme.g5
Section 10
//MochiBot (com.morpheme.g5.MochiBot)
package com.morpheme.g5 {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
if (Security.sandboxType == "localWithFile"){
return (null);
};
var _local3:MochiBot = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
var _local4 = "http://core.mochibot.com/my/core.swf";
var _local5:URLVariables = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
var _local6:String = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
var _local7:URLRequest = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
var _local8:Loader = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package com.morpheme.g5
Section 11
//BeamTarget (cowbandits.BeamTarget)
package cowbandits {
import flesh.*;
public class BeamTarget extends PoolObject {
public var pos:Vector;
public static var MAX_TARGET_DISTANCE:uint = 150;
private static var allTargets:Array = new Array();
public function BeamTarget(_arg1:Number):void{
super(_arg1);
allTargets.push(this);
}
public function beamUp():void{
}
public function setPosition(_arg1:Vector):void{
pos.setVector(_arg1);
}
public static function getAvailableTarget(_arg1:Vector, _arg2:Number):BeamTarget{
var _local5:BeamTarget;
var _local6:Vector;
if ((((_arg2 > Utils.RAD45)) && ((_arg2 < Utils.RAD315)))){
return (null);
};
var _local3:BeamTarget;
var _local4:uint = allTargets.length;
while (--_local4 >= 0) {
_local5 = allTargets[_local4];
if (!_local5.active){
} else {
_local6 = new Vector((_local5.pos.x - _arg1.x), (_local5.pos.y - _arg1.y));
if (_local6.length() > MAX_TARGET_DISTANCE){
} else {
if (Math.abs((Utils.getAngle(_local6.x, _local6.y) - Utils.RAD180)) > Utils.RAD30){
} else {
_local3 = _local5;
};
};
};
};
return (_local3);
}
}
}//package cowbandits
Section 12
//Cow (cowbandits.Cow)
package cowbandits {
import flesh.*;
public class Cow extends BeamTarget {
public var ambientAnimationFrame:Number;
public var ambientAnimationId:Number;
private var facingLeft:Boolean;
public var dAngle:Number;
public var state:Number;
public var angle:Number;
public var dx:Number;
public var dy:Number;
public var delayBeforeCollisionAllowed:Number;
private var standingOnDoor:Boolean;
private var isOnscreen:Boolean;
public var frameCount:Number;
public var frame:Number;
public var timeUntilAmbientAnimation:Number;
public static var STATE_LANDED_ON_GROUND:uint = 4;
public static var STATE_ROPED:uint = 1;
public static var ANIM:Array = new Array(new Array(0, 0.2, 1, 0.2, 2, 0.2, 3, 0.2), new Array(4, 0.2, 5, 0.2, 6, 0.2, 7, 0.2), new Array(8, 0.2, 9, 0.2, 10, 0.2, 11, 0.2, 12, 0.2, 9, 0.2, 10, 0.2, 11, 0.2, 12, 0.2, 9, 0.2, 10, 0.2, 11, 0.2, 12, 0.2, 8, 0.2));
public static var BOUNCE_FORCE:uint = 6;
public static var STATE_DROPPED_INTO_MINCER:uint = 3;
public static var STATE_FLYING:uint = 2;
public static var COLLISION_RADIUS:uint = 15;
public static var MAX_COWS:uint = 30;
public static var AIR_DRAG:Number = 0.97;
public static var pool:ManagedPool;
public static var GRAVITY:uint = 300;
public static var D_ANGLE_MULTIPLIER:Number = 1;
public static var STATE_IDLE:uint = 0;
public static var MAX_D_ANGLE:Number = 6;
public function Cow(_arg1:Number):void{
super(_arg1);
pos = new Vector(0, 0);
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Cow(_arg1));
}
override public function beamUp():void{
frame = 0;
pos.y = (pos.y - 16);
state = STATE_ROPED;
SoundManager.playSound(SoundManager.SOUND_MOO);
}
public function init(_arg1:Number, _arg2:Number):void{
pos.set(((_arg1 * Engine.TILESIZE) + 16), ((_arg2 * Engine.TILESIZE) + 16));
facingLeft = (Math.random() < 0.5);
frameCount = 0;
angle = 0;
frame = 0;
ambientAnimationId = -1;
timeUntilAmbientAnimation = (0.5 + (Math.random() * 1));
state = STATE_IDLE;
}
public function checkDoorStandingCollision():void{
if (!Door.allIsSolidAt(pos.x, ((pos.y + COLLISION_RADIUS) + 3))){
state = STATE_FLYING;
frame = 0;
dx = (dy = 0);
standingOnDoor = false;
};
}
override public function update(_arg1:Number):void{
var _local2:Number;
var _local3:Array;
if ((((state == STATE_ROPED)) || ((state == STATE_LANDED_ON_GROUND)))){
frameCount = (frameCount + _arg1);
if (frameCount > 0.08){
frameCount = 0;
frame++;
if (frame > 3){
frame = 0;
frameCount = (-(Math.random()) * 0.3);
};
};
};
switch (state){
case STATE_LANDED_ON_GROUND:
if (standingOnDoor){
checkDoorStandingCollision();
};
break;
case STATE_IDLE:
if (ambientAnimationId == -1){
timeUntilAmbientAnimation = (timeUntilAmbientAnimation - _arg1);
if (timeUntilAmbientAnimation <= 0){
ambientAnimationId = Math.floor((Math.random() * ANIM.length));
ambientAnimationFrame = 0;
frame = ANIM[ambientAnimationId][0];
frameCount = 0;
};
} else {
_local3 = ANIM[ambientAnimationId];
frameCount = (frameCount + _arg1);
if (frameCount > _local3[((ambientAnimationFrame << 1) + 1)]){
frameCount = 0;
ambientAnimationFrame++;
if ((ambientAnimationFrame << 1) >= _local3.length){
ambientAnimationId = -1;
timeUntilAmbientAnimation = (0.5 + (Math.random() * 1));
} else {
frame = ANIM[ambientAnimationId][(ambientAnimationFrame << 1)];
};
};
};
if (standingOnDoor){
checkDoorStandingCollision();
};
break;
case STATE_ROPED:
if (delayBeforeCollisionAllowed > 0){
delayBeforeCollisionAllowed = (delayBeforeCollisionAllowed - _arg1);
} else {
checkCollisions();
};
angle = Engine.ship.rope.getAngleAtBottom();
if (Engine.mincer.inPlaceToDropCow(pos.x, pos.y)){
Engine.mincer.cowDroppedIn();
Engine.ship.breakRope();
droppedIntoMincer(true);
};
break;
case STATE_FLYING:
angle = (angle + (dAngle * _arg1));
if (angle > Utils.RAD360){
angle = (angle - Utils.RAD360);
} else {
if (angle < 0){
angle = (angle + Utils.RAD360);
};
};
pos.add((dx * _arg1), (dy * _arg1));
dx = (dx * AIR_DRAG);
dy = (dy + (GRAVITY * _arg1));
checkCollisions();
if (Engine.mincer.inPlaceToDropCow(pos.x, pos.y)){
Engine.mincer.cowDroppedIn();
droppedIntoMincer(false);
};
break;
case STATE_DROPPED_INTO_MINCER:
_local2 = ((Engine.mincer.pos.x + 117) - pos.x);
pos.add((_local2 * 0.2), (dy * _arg1));
dy = (dy + (GRAVITY * _arg1));
if (pos.y > (Engine.mincer.pos.y + 32)){
Engine.changeTimeLeft(Engine.TIME_COW);
deactivate();
SoundManager.playSound(SoundManager.SOUND_THUD);
};
break;
};
}
override public function paint(_arg1:FleshGraphics):void{
isOnscreen = Engine.isOnScreen((pos.x - 23), (pos.y - 17), 46, 34);
if (!isOnscreen){
return;
};
switch (state){
case STATE_IDLE:
if (ambientAnimationId == -1){
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COW_AMBIENT), (pos.x - 23), (pos.y - 16), 0, (34 * 4), 0, 34);
} else {
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COW_AMBIENT), (pos.x - 23), (pos.y - 16), 0, (34 * frame), 0, 34);
};
break;
case STATE_FLYING:
case STATE_ROPED:
case STATE_LANDED_ON_GROUND:
Engine.objectBackground.drawImage(Engine.bitmaps.getBitmap((BitmapEmbedder.OB_COW_ROPED0 + frame)), pos.x, pos.y, FleshGraphics.GCC, angle, 1, 1, 1, -1, null, "normal", true);
break;
case STATE_DROPPED_INTO_MINCER:
Engine.objectBackground.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COW_ROPED2), pos.x, pos.y, FleshGraphics.GCC, angle, 1, 1, 1, -1, null, "normal", true);
break;
};
}
override public function deactivate():void{
pool.decrementObjectCount();
active = false;
}
public function droppedIntoMincer(_arg1:Boolean):void{
if (_arg1){
dx = (dy = 0);
};
state = STATE_DROPPED_INTO_MINCER;
if ((Engine.mincer.totalCowCount - Engine.mincer.cowCount) == 0){
Engine.zoomToFinalCow(this);
};
}
public function landedOnGround(_arg1:Number, _arg2:Number):void{
var _local3:uint = Engine.tiledBackground.getTileGroundY(_arg1, (pos.x % Engine.TILESIZE));
pos.y = ((((_arg2 << Engine.TILE_SCALE) + _local3) - 17) + Engine.TILESIZE);
frame = 0;
if ((((angle > Utils.RAD315)) || ((angle < Utils.RAD45)))){
angle = 0;
state = STATE_IDLE;
} else {
state = STATE_LANDED_ON_GROUND;
};
if (isOnscreen){
SoundManager.playSound(SoundManager.SOUND_COW_HIT_GROUND);
};
}
public function checkCollisions():void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local1:Number = 0;
var _local2:Vector = new Vector(0, 0);
var _local7:Number = -1;
standingOnDoor = false;
var _local8:Number = 0;
while (_local8 <= Utils.RAD360) {
_local5 = (Math.sin(_local8) * COLLISION_RADIUS);
_local6 = (-(Math.cos(_local8)) * COLLISION_RADIUS);
_local3 = (pos.x + _local5);
_local4 = (pos.y + _local6);
if (Engine.tiledBackground.isSolidAt(_local3, _local4)){
if ((((_local8 == Utils.RAD180)) && ((state == STATE_FLYING)))){
if (Door.allIsSolidAt(_local3, _local4)){
_local7 = 0;
standingOnDoor = true;
} else {
if (Engine.mincer.isSolidAt(_local3, _local4)){
_local7 = 0;
} else {
_local7 = Engine.tiledBackground.getTileTypeAt(_local3, _local4);
};
};
};
_local1++;
_local2.add(_local5, _local6);
};
_local8 = (_local8 + Utils.RAD45);
};
if (_local1 > 0){
switch (state){
case STATE_ROPED:
_local2.divide(_local1);
brokenFreeOfRope((Engine.ship.v.x - (_local2.x * BOUNCE_FORCE)), (Engine.ship.v.y - (_local2.y * BOUNCE_FORCE)));
Engine.ship.breakRope();
break;
case STATE_FLYING:
if (((!((_local7 == -1))) && (!(Engine.tiledBackground.isSlopeTile(_local7))))){
landedOnGround(_local7, (_local4 >> Engine.TILE_SCALE));
} else {
_local2.divide(_local1);
dx = (-(_local2.x) * BOUNCE_FORCE);
dy = (-(_local2.y) * BOUNCE_FORCE);
if (isOnscreen){
SoundManager.playSound(SoundManager.SOUND_THUD);
};
};
break;
};
};
}
public function brokenFreeOfRope(_arg1:Number, _arg2:Number):void{
dx = _arg1;
dy = _arg2;
dAngle = (dx * D_ANGLE_MULTIPLIER);
if (dAngle < -(MAX_D_ANGLE)){
dAngle = -(MAX_D_ANGLE);
} else {
if (dAngle > MAX_D_ANGLE){
dAngle = MAX_D_ANGLE;
};
};
state = STATE_FLYING;
}
public static function initStart():void{
var _local1:Cow = new Cow(0);
pool = new ManagedPool("CowPool", _local1, MAX_COWS);
}
public static function create(_arg1:Number, _arg2:Number):Cow{
var _local3:Cow = Cow(pool.requestObject());
_local3.init(_arg1, _arg2);
return (_local3);
}
}
}//package cowbandits
Section 13
//Cud (cowbandits.Cud)
package cowbandits {
import flesh.*;
import flash.geom.*;
public class Cud extends PoolObject {
private var colourTransform:ColorTransform;
private var scale:Number;
private var onScreen:Boolean;
private var angle:Number;
private var hue:Number;
public var pos:Vector;
public static var pool:ManagedPool;
public static var MAX_CUD:uint = 200;
public function Cud(_arg1:Number):void{
super(_arg1);
pos = new Vector(0, 0);
colourTransform = new ColorTransform();
}
override public function deactivate():void{
pool.decrementObjectCount();
active = false;
}
override public function update(_arg1:Number):void{
if (!Engine.isOnScreen((pos.x - 20), (pos.y - 20), 40, 40)){
return;
};
var _local2:Number = (Engine.ship.pos.x - pos.x);
var _local3:Number = (Engine.ship.pos.y - pos.y);
var _local4:Number = ((_local2 * _local2) + (_local3 * _local3));
if (_local4 < 200){
deactivate();
Engine.ship.glow();
Engine.changeTimeLeft(Engine.TIME_CUD);
Engine.cudCollected(pos.x, pos.y);
SoundManager.playSound(SoundManager.SOUND_CUD_COLLECTED);
} else {
if (_local4 < 1500){
pos.x = (pos.x + (_local2 * 0.4));
pos.y = (pos.y + (_local3 * 0.4));
};
};
if (_local4 > 40000){
_local4 = 40000;
};
colourTransform.color = Utils.getInterpolatedColour(11796384, 3005441, _local4, 40000);
angle = (angle + (_arg1 * 3));
scale = (0.8 + (Math.sin((angle + (pos.x / 100))) * 0.4));
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Cud(_arg1));
}
public function init(_arg1:Number, _arg2:Number):void{
var _local3:uint = _arg1;
var _local4:uint = _arg2;
angle = 0;
scale = 1;
pos.set((_local3 + 20), (_local4 + 20));
}
override public function paint(_arg1:FleshGraphics):void{
onScreen = Engine.isOnScreen((pos.x - 20), (pos.y - 20), 40, 40);
if (!onScreen){
return;
};
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_CUD), pos.x, pos.y, FleshGraphics.GCC, angle, scale, scale);
}
public static function initStart():void{
var _local1:Cud = new Cud(0);
pool = new ManagedPool("CudPool", _local1, MAX_CUD);
}
public static function create(_arg1:Number, _arg2:Number):Cud{
var _local3:Cud = Cud(pool.requestObject());
_local3.init(_arg1, _arg2);
return (_local3);
}
}
}//package cowbandits
Section 14
//Door (cowbandits.Door)
package cowbandits {
import flash.display.*;
import flesh.*;
public class Door extends PoolObject {
private var idleTime:Number;
private var openAmount:Number;
private var width:Number;
private var type:Number;
private var orientation:Number;
private var state:Number;
private var halfWidth:Number;
private var cogAngle:Number;
private var halfHeight:Number;
private var height:Number;
private var bottomPos:Vector;
private var onScreen:Boolean;
private var switches:Array;
private var objectId:Number;
private var topPos:Vector;
public static var TIMED_DOOR_OPEN_TIME:uint = 5;
public static var STATE_CLOSING:uint = 3;
public static var TYPE_TIMED:uint = 0;
public static var ORIENTATION_HORIZONTAL:uint = 1;
public static var STATE_OPEN:uint = 2;
public static var TYPE_AUTO:uint = 1;
public static var pool:ManagedPool;
public static var AUTO_DOOR_OPEN_TIME:Number = 2.5;
public static var ORIENTATION_VERTICAL:uint = 0;
public static var WIDTH:uint = 28;
public static var HEIGHT:uint = 175;
public static var MAX_DOORS:uint = 30;
public static var TYPE_SINGLE:uint = 2;
public static var AUTO_DOOR_CLOSE_TIME:Number = 2.5;
public static var STATE_OPENING:uint = 0;
public static var STATE_CLOSED:uint = 1;
public function Door(_arg1:uint){
super(_arg1);
topPos = new Vector(0, 0);
bottomPos = new Vector(0, 0);
switches = new Array();
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Door(_arg1));
}
public function open():void{
var _local1:uint;
if (type == TYPE_TIMED){
_local1 = switches.length;
while (--_local1 >= 0) {
switches[_local1].notifyDoorOpening();
};
};
if (onScreen){
SoundManager.playSound(SoundManager.SOUND_DOOR_OPEN);
};
idleTime = 0;
state = STATE_OPENING;
}
public function linkSwitch(_arg1:Switch):void{
switches.push(_arg1);
}
public function init(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
this.objectId = _arg4;
if ((((Engine.tiledBackground.getTileType(_arg2, (_arg3 - 1)) == -1)) && ((Engine.tiledBackground.getTileType(_arg2, (_arg3 + 1)) == -1)))){
orientation = ORIENTATION_HORIZONTAL;
} else {
orientation = ORIENTATION_VERTICAL;
};
var _local5:Number = _arg2;
var _local6:Number = _arg3;
cogAngle = 0;
if (orientation == ORIENTATION_VERTICAL){
_local6 = (_arg3 + 1);
while (_local6 < Engine.TILECOUNTY) {
if (Engine.tiledBackground.getTileType(_arg2, _local6) != -1){
break;
};
_local6++;
};
} else {
_local5 = (_arg2 + 1);
while (_local5 < Engine.TILECOUNTX) {
if (Engine.tiledBackground.getTileType(_local5, _arg3) != -1){
break;
};
_local5++;
};
};
topPos.set(((_arg2 * Engine.TILESIZE) + 2), (_arg3 * Engine.TILESIZE));
bottomPos.set(((_local5 * Engine.TILESIZE) + 2), (_local6 * Engine.TILESIZE));
width = (bottomPos.x - topPos.x);
halfWidth = (width / 2);
height = (bottomPos.y - topPos.y);
halfHeight = (height / 2);
openAmount = 0;
switches.splice(0);
idleTime = 0;
this.type = _arg1;
state = STATE_CLOSED;
}
public function paintCogs(_arg1:FleshGraphics):void{
if (orientation == ORIENTATION_VERTICAL){
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COG), (topPos.x - 1), (topPos.y - 16), FleshGraphics.GCC, -(cogAngle), 1, 1, 1, -1, null, "normal", true);
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COG), (topPos.x + 30), (topPos.y - 16), FleshGraphics.GCC, cogAngle, 1, 1, 1, -1, null, "normal", true);
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COG), (bottomPos.x - 1), (bottomPos.y + 15), FleshGraphics.GCC, cogAngle, 1, 1, 1, -1, null, "normal", true);
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COG), (bottomPos.x + 30), (bottomPos.y + 15), FleshGraphics.GCC, -(cogAngle), 1, 1, 1, -1, null, "normal", true);
} else {
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COG), (topPos.x - 18), topPos.y, FleshGraphics.GCC, cogAngle, 1, 1, 1, -1, null, "normal", true);
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COG), (topPos.x - 18), (topPos.y + 32), FleshGraphics.GCC, -(cogAngle), 1, 1, 1, -1, null, "normal", true);
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COG), (bottomPos.x + 14), bottomPos.y, FleshGraphics.GCC, -(cogAngle), 1, 1, 1, -1, null, "normal", true);
_arg1.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_COG), (bottomPos.x + 14), (bottomPos.y + 32), FleshGraphics.GCC, cogAngle, 1, 1, 1, -1, null, "normal", true);
};
}
override public function paint(_arg1:FleshGraphics):void{
onScreen = Engine.isOnScreen(topPos.x, topPos.y, ((orientation == ORIENTATION_VERTICAL)) ? (WIDTH * 2) : (HEIGHT * 2), ((orientation == ORIENTATION_VERTICAL)) ? (HEIGHT * 2) : (WIDTH * 2));
if (!onScreen){
return;
};
if (orientation == ORIENTATION_VERTICAL){
_arg1.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_DOORTOP), topPos.x, (topPos.y - 32), 0, (((HEIGHT - halfHeight) + openAmount) - 38), 0, ((halfHeight - openAmount) + 38));
_arg1.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_DOORBOTTOM), bottomPos.x, (((bottomPos.y - halfHeight) - 6) + openAmount), 0, 0, 0, ((halfHeight - openAmount) + 38));
} else {
_arg1.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_DOORBOTTOMH), (topPos.x - 34), (topPos.y + 2), (((HEIGHT - halfWidth) + openAmount) - 38), 0, ((halfWidth - openAmount) + 38), 0);
_arg1.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_DOORTOPH), (((bottomPos.x - halfWidth) - 8) + openAmount), (bottomPos.y + 2), 0, 0, ((halfWidth - openAmount) + 38), 0);
};
}
public function isSolidAt(_arg1:Number, _arg2:Number):Boolean{
if (orientation == ORIENTATION_VERTICAL){
if ((((_arg1 < topPos.x)) || ((_arg1 > (topPos.x + WIDTH))))){
return (false);
};
if ((((_arg2 > topPos.y)) && ((_arg2 < ((topPos.y + halfHeight) - openAmount))))){
return (true);
};
if ((((_arg2 < bottomPos.y)) && ((_arg2 > ((bottomPos.y - halfHeight) + openAmount))))){
return (true);
};
return (false);
//unresolved jump
};
if ((((_arg2 < topPos.y)) || ((_arg2 > (topPos.y + WIDTH))))){
return (false);
};
if ((((_arg1 > topPos.x)) && ((_arg1 < ((topPos.x + halfWidth) - openAmount))))){
return (true);
};
if ((((_arg1 < bottomPos.x)) && ((_arg1 > ((bottomPos.x - halfWidth) + openAmount))))){
return (true);
};
return (false);
}
override public function deactivate():void{
pool.decrementObjectCount();
active = false;
}
override public function update(_arg1:Number):void{
var _local2:Number;
switch (state){
case STATE_OPEN:
idleTime = (idleTime + _arg1);
switch (type){
case TYPE_AUTO:
if (idleTime > AUTO_DOOR_OPEN_TIME){
close();
};
break;
case TYPE_TIMED:
if (idleTime > TIMED_DOOR_OPEN_TIME){
close();
};
break;
};
break;
case STATE_CLOSED:
idleTime = (idleTime + _arg1);
switch (type){
case TYPE_AUTO:
if (idleTime > AUTO_DOOR_CLOSE_TIME){
open();
};
break;
};
break;
case STATE_OPENING:
if (orientation == ORIENTATION_VERTICAL){
_local2 = (halfHeight - openAmount);
} else {
_local2 = (halfWidth - openAmount);
};
openAmount = (openAmount + (_local2 * 0.1));
cogAngle = ((openAmount / 6) * Utils.RAD30);
if (Math.abs(_local2) < 2){
idleTime = 0;
state = STATE_OPEN;
};
break;
case STATE_CLOSING:
_local2 = (0 - openAmount);
openAmount = (openAmount + (_local2 * 0.1));
cogAngle = ((openAmount / 6) * Utils.RAD30);
if (Math.abs(_local2) < 2){
idleTime = 0;
state = STATE_CLOSED;
};
break;
};
}
public function close():void{
var _local1:uint;
if (type == TYPE_TIMED){
_local1 = switches.length;
while (--_local1 >= 0) {
switches[_local1].notifyDoorClosing();
};
};
if (onScreen){
SoundManager.playSound(SoundManager.SOUND_DOOR_SHUT);
};
idleTime = 0;
state = STATE_CLOSING;
}
public static function initStart():void{
var _local1:Door = new Door(0);
pool = new ManagedPool("DoorPool", _local1, MAX_DOORS);
}
public static function getDoorWithId(_arg1:Number):Door{
var _local3:Door;
var _local2:uint = MAX_DOORS;
while (--_local2 >= 0) {
_local3 = Door(pool.getObjectAt(_local2));
if (!_local3.active){
} else {
if (_local3.objectId == _arg1){
return (_local3);
};
};
};
return (undefined);
}
public static function allIsSolidAt(_arg1:Number, _arg2:Number):Boolean{
var _local4:Door;
var _local3:uint = MAX_DOORS;
while (--_local3 >= 0) {
_local4 = Door(pool.getObjectAt(_local3));
if (_local4.active){
if (_local4.isSolidAt(_arg1, _arg2)){
return (true);
};
};
};
return (false);
}
public static function paintAllCogs(_arg1:FleshGraphics):void{
var _local3:Door;
var _local2:uint = MAX_DOORS;
while (--_local2 >= 0) {
_local3 = Door(pool.getObjectAt(_local2));
if (_local3.active){
_local3.paintCogs(_arg1);
};
};
}
public static function create(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):PoolObject{
var _local5:Door = Door(pool.requestObject());
_local5.init(_arg1, _arg2, _arg3, _arg4);
return (_local5);
}
}
}//package cowbandits
Section 15
//Drone (cowbandits.Drone)
package cowbandits {
import flesh.*;
public class Drone extends ShotTarget {
private var circleRadius:Number;
private var basePos:Vector;
private var v:Vector;
private var state:Number;
private var nextNode:NavigationNode;
private var hitPoints:Number;
private var circleAngle:Number;
private var path:Array;
private var frameCount:Number;
private var onScreen:Boolean;
private var frame:Number;
private var closestNode:NavigationNode;
private var glowScale:Number;
private var timeBeforeFiring:Number;
public static var ROTATE_SPEED:uint = 3;
public static var MAX_DIST_SQUARED:uint = 78400;
public static var HALFWIDTH:uint = 22;
public static var TIME_BETWEEN_FIRING:Number = 0.85;
public static var STATE_MOVING_TO_SHIP:uint = 2;
public static var pool:ManagedPool;
public static var MIN_GLOW_SCALE:Number = 0.1;
public static var WIDTH:uint = 44;
public static var SPEED:uint = 150;
public static var STATE_IDLE:uint = 0;
public static var STATE_ATTACKING_SHIP:uint = 3;
public static var STATE_DEAD:uint = 4;
public static var MAX_DRONES:uint = 30;
public static var STATE_HEADING_TO_NEAREST_NODE:uint = 1;
public function Drone(_arg1:Number){
super(_arg1);
pos = new Vector(0, 0);
basePos = new Vector(0, 0);
v = new Vector(0, 0);
path = new Array();
}
public function hasClearLineToShip():Boolean{
var _local1:Vector = Engine.ship.pos.clone();
_local1.subtractVector(basePos);
var _local2:Number = _local1.unit();
_local1.multiply(8);
var _local3:Number = ((_local2 / 8) - 1);
var _local4:Vector = basePos.clone();
var _local5:uint;
while (_local5 < _local3) {
_local4.addVector(_local1);
if (Engine.tiledBackground.isSolidAt(_local4.x, _local4.y)){
return (false);
};
_local5++;
};
return (true);
}
override public function update(_arg1:Number):void{
var _local2:Number;
var _local3:Vector;
var _local4:Number;
var _local5:Number;
circleAngle = (circleAngle + (_arg1 * ROTATE_SPEED));
if (circleAngle > Utils.RAD360){
circleAngle = (circleAngle - Utils.RAD360);
};
pos.set((basePos.x + (Math.sin(circleAngle) * circleRadius)), (basePos.y - (Math.cos(circleAngle) * circleRadius)));
setHitRect((pos.x - HALFWIDTH), (pos.y - HALFWIDTH), WIDTH, WIDTH);
if (glowScale > MIN_GLOW_SCALE){
_local2 = ((MIN_GLOW_SCALE - glowScale) * 0.05);
if (Math.abs(_local2) < 0.01){
glowScale = 0;
} else {
glowScale = (glowScale + _local2);
};
};
switch (state){
case STATE_IDLE:
frameCount = (frameCount + _arg1);
if (frameCount > 0.04){
frameCount = 0;
frame++;
if (frame > 15){
frame = 8;
frameCount = -0.5;
};
};
break;
case STATE_HEADING_TO_NEAREST_NODE:
case STATE_MOVING_TO_SHIP:
basePos.add((v.x * _arg1), (v.y * _arg1));
_local3 = nextNode.position.clone();
_local3.subtractVector(basePos);
if (_local3.length() < (SPEED * _arg1)){
basePos.setVector(nextNode.position);
setNextNodeInPath();
};
frameCount = (frameCount + _arg1);
if (frameCount > 0.1){
frameCount = 0;
frame++;
if (frame > 7){
frame = 0;
};
};
break;
case STATE_ATTACKING_SHIP:
_local4 = (Engine.ship.pos.x - pos.x);
_local5 = (Engine.ship.pos.y - pos.y);
if (((_local4 * _local4) + (_local5 * _local5)) > MAX_DIST_SQUARED){
return;
};
frameCount = (frameCount + _arg1);
if (frameCount > 0.04){
frameCount = 0;
frame++;
if (frame > 15){
frame = 8;
frameCount = -0.5;
fire();
};
};
break;
};
}
public function fire():void{
var _local1:Number = Utils.getAngle((Engine.ship.pos.x - pos.x), (Engine.ship.pos.y - pos.y));
Shot.create(Shot.TYPE_ENEMY, pos.x, pos.y, _local1);
}
public function init(_arg1:Number, _arg2:Number):void{
frameCount = 0;
frame = 8;
hitPoints = 8;
glowScale = 0;
circleAngle = 0;
circleRadius = 10;
basePos.set((_arg1 * Engine.TILESIZE), (_arg2 * Engine.TILESIZE));
pos.set((basePos.x + (Math.sin(circleAngle) * circleRadius)), (basePos.y - (Math.cos(circleAngle) * circleRadius)));
setHitRect((pos.x - HALFWIDTH), (pos.y - HALFWIDTH), WIDTH, WIDTH);
timeBeforeFiring = TIME_BETWEEN_FIRING;
state = STATE_IDLE;
}
override public function hit():void{
hitPoints--;
glowScale = 1.3;
if (hitPoints <= 0){
Explosion.create(pos.x, pos.y);
Engine.droneDestroyed(pos.x, pos.y);
deactivate();
SoundManager.playSound(SoundManager.SOUND_EXPLOSION);
} else {
SoundManager.playSound(SoundManager.SOUND_SHIP_HIT_BY_SHOT);
};
}
override public function paint(_arg1:FleshGraphics):void{
onScreen = Engine.isOnScreen((pos.x - HALFWIDTH), (pos.y - HALFWIDTH), WIDTH, WIDTH);
if (!onScreen){
return;
};
Engine.canStopHecticMusic = false;
if (glowScale > 0){
Engine.objectBackground.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_DRONE_GLOW), pos.x, pos.y, FleshGraphics.GCC, 0, glowScale, glowScale, glowScale);
};
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_DRONE), (pos.x - HALFWIDTH), (pos.y - HALFWIDTH), 0, (WIDTH * frame), 0, WIDTH);
}
public function setNextNodeInPath():void{
var _local1:NavigationNode;
if (path.length > 0){
_local1 = NavigationNode(path[0]);
path.splice(0, 1);
moveToNode(_local1);
state = STATE_MOVING_TO_SHIP;
} else {
state = STATE_IDLE;
};
}
public function updatePath(_arg1:NavigationNode):void{
var _local2:uint;
if (hasClearLineToShip()){
state = STATE_ATTACKING_SHIP;
return;
};
closestNode = Engine.navigationNetwork.getNearestNodeTo(basePos.x, basePos.y);
if (closestNode == _arg1){
state = STATE_ATTACKING_SHIP;
} else {
Engine.navigationNetwork.aStar(closestNode, _arg1, path);
_local2 = 0;
while (_local2 < path.length) {
_local2++;
};
moveToNode(closestNode);
state = STATE_HEADING_TO_NEAREST_NODE;
};
}
public function moveToNode(_arg1:NavigationNode):void{
nextNode = _arg1;
v.set((nextNode.position.x - basePos.x), (nextNode.position.y - basePos.y));
v.unit();
v.multiply(SPEED);
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Drone(_arg1));
}
override public function deactivate():void{
pool.decrementObjectCount();
active = false;
}
public function initNav():void{
closestNode = Engine.navigationNetwork.getNearestNodeTo(pos.x, pos.y);
pos.setVector(closestNode.position);
}
public static function create(_arg1:Number, _arg2:Number):Drone{
var _local3:Drone = Drone(pool.requestObject());
_local3.init(_arg1, _arg2);
return (_local3);
}
public static function initNavAll():void{
var _local2:Drone;
var _local1:uint = MAX_DRONES;
while (--_local1 >= 0) {
_local2 = Drone(pool.getObjectAt(_local1));
if (_local2.active){
_local2.initNav();
};
};
}
public static function updatePathAll(_arg1:NavigationNode):void{
var _local3:Drone;
var _local2:uint = MAX_DRONES;
while (--_local2 >= 0) {
_local3 = Drone(pool.getObjectAt(_local2));
if (_local3.active){
_local3.updatePath(_arg1);
};
};
}
public static function initStart():void{
var _local1:Drone = new Drone(0);
pool = new ManagedPool("DronePool", _local1, MAX_DRONES);
}
}
}//package cowbandits
Section 16
//Engine (cowbandits.Engine)
package cowbandits {
import flash.display.*;
import flash.events.*;
import com.morpheme.g5.*;
import flesh.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.utils.*;
public class Engine extends Sprite {
private var PausedClip:Class;
private var CollectedCud:Class;
private var DestroyedTurrets:Class;
public var comp:G5Game;
private var DestroyedDrones:Class;
public static var CHEAT_KEYS:Boolean = false;
public static var backBuffer:BitmapData;
public static var OBJECT_SCIENTIST:uint = 2;
public static var backgroundBitmaps:Array;
public static var SHOT_COUNT_NEEDED_FOR_HECTIC_MUSIC:uint = 6;
public static var OBJECT_DRONE:uint = 4;
public static var RELEASE_WRAPPER:Boolean = true;
public static var spaceFiller:SpaceFiller;
public static var animatedTileIds:Array;
public static var playingHecticMusicCount:Number;
public static var backBufferBitmap:Bitmap;
public static var collectedCud:Sprite;
public static var droneDestroyedPosition:Vector;
public static var TIME_SHIP_SHOT:int = -2;
public static var cameraCow:Cow;
public static var playingHecticMusic:Boolean;
public static var TIME_ALL_TURRETS:uint = 10;
public static var READ_HIGH_SCORES:Boolean = true;
public static var ship:Ship;
public static var OBJECT_SWITCH:uint = 12;
public static var WORLDSIZEX:uint = (TILECOUNTX * TILESIZE);
public static var WORLDSIZEY:uint = (TILECOUNTY * TILESIZE);
public static var minY:Number;
public static var minX:uint;
public static var startTime:Array;
public static var mouseX:uint;
public static var LEVEL_COUNT:uint = 10;
public static var DATA_ROOT:String = "http://www.gimme5games.com/cowbandits/data/";
public static var TILE_SCALE:uint = 5;
public static var mouseY:uint;
public static var ropeSprite:Sprite;
public static var zoomingToFinalCow:Boolean;
public static var cookie:SharedObject;
public static var loadXMLFileId:int;
public static var OBJECT_COW:uint = 1;
public static var cameraState:uint;
public static var STATE_MAP:uint = 2;
public static var highscoreScores:Array = new Array(10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
public static var OBJECT_DOOR_TIMED:uint = 9;
public static var timeLeft:Number;
public static var BG_COUNT:uint = 3;
public static var key:KeyPoll;
public static var mapButtonHueFilter:Array;
public static var STATE_LEVEL_FAILED:uint = 4;
public static var LEVEL_NAMES:Array = new Array("I heard it on the Bovine", "A Pat on the Head", "Pull the Udder One", "Milk it, baby", "Milk Race", "Fresians to Be Cheerful", "Meat Balls of Fire", "How Now Brown Cow", "Mince You’ve Been Gone", "Beef it Up", "Grazing Arizona");
public static var CAMERA_STATE_PANNING_TO_SHIP:uint = 3;
public static var MAP_BUTTON_HUE_GREEN:uint = 160;
public static var instance:Engine;
public static var TIME_SHIP_COLLIDED:int = -2;
public static var state:uint;
public static var OBJECT_DOOR_AUTO:uint = 10;
public static var OBJECT_CRATE:uint = 3;
public static var guiMovie:MovieClip;
public static var VERSION:String = "1.0.0";
public static var ROPE_GLOW:Boolean = true;
public static var mincer:Mincer;
public static var mapClip:MovieClip;
public static var LEVEL_MAPPING:Array = new Array(0, 7, 5, 2, 9, 1, 3, 6, 4, 8);
public static var animatedTileTimes:Array;
public static var droneCount:uint;
public static var fpsCounter:FPSCounter;
public static var loadedNav:Boolean;
public static var HALFTILESIZE:uint = 16;
public static var neverPlayedBefore:Boolean;
public static var MAX_TIME:uint = 300;
public static var TIME_ALL_CUD:uint = 10;
public static var OBJECT_GUN_LEFT:uint = 7;
public static var highscoreNames:Array = new Array("Ricky", "Elliot", "Ian", "Ronny", "Matt", "Jerry", "Peter", "Andy", "Nat", "Mark");
public static var TIME_COW:uint = 20;
public static var STATE_GAME:uint = 1;
public static var TILECOUNT:uint = (TILECOUNTX * TILECOUNTY);
public static var OBJECT_DOOR_SINGLE:uint = 11;
public static var cogBackground:FleshGraphics;
public static var firstCameraCowId:uint;
public static var loadedBackground:Boolean;
public static var OBJECT_GUN_RIGHT:uint = 8;
public static var levelCompleteRequested:Boolean;
public static var OBJECT_GUN_UP:uint = 5;
public static var cameraScale:Number;
public static var HEIGHT:uint = 480;
public static var STATE_LOADING_LEVEL:uint = 0;
public static var paused:Boolean;
public static var levelCompleted:Array;
public static var destroyedTurrets:Sprite;
public static var bitmaps:BitmapEmbedder;
public static var testGraphics:Graphics;
public static var STATE_LEVEL_COMPLETE:uint = 3;
public static var tiledBackground:TiledBackground;
public static var loadedObjects:Boolean;
public static var turretDestroyedPosition:Vector;
public static var OBJECT_SHIP:uint = 0;
public static var displayTimeLeft:Number;
public static var gameSprite:Sprite;
public static var CAMERA_STATE_PANNING_TO_COW:uint = 1;
public static var OBJECT_GUN_DOWN:uint = 6;
public static var animatedTileTime:Number;
public static var TILE_LANDING_PAD1:uint = 30;
public static var cheatKeys:Boolean;
public static var TILE_LANDING_PAD0:uint = 29;
public static var CAMERA_STATE_ON_COW:uint = 2;
public static var maxY:uint;
public static var TILECOUNTX:uint = 60;
public static var TILECOUNTY:uint = 60;
public static var levelIdSelected:int;
public static var maxX:uint;
public static var cudCollectedPosition:Vector;
public static var navigationNetwork:NavigationNetwork;
public static var TIME_ALL_DRONES:uint = 10;
public static var CAMERA_STATE_PANNING_TO_MINCER:uint = 4;
public static var TILE_ANIMS:Array = new Array(new Array(18, 10, 95, 0.1, 96, 0.1, 95, 0.1, 96, 0.1, 95, 0.1), new Array(19, 0.1, 62, 0.1, 63, 0.1, 64, 0.1, 65, 0.1, 66, 0.1, 67, 0.1), new Array(20, 0.1, 68, 0.1, 69, 0.1, 70, 0.1, 71, 0.1, 72, 0.1, 73, 0.1), new Array(32, 3, 89, 0.1, 88, 0.1, 87, 0.1, 86, 0.1, 87, 0.1, 88, 0.1, 89, 0.1), new Array(36, 2, 90, 0.1, 91, 0.1, 92, 0.1, 93, 0.1, 90, 0.1, 91, 0.1, 92, 0.1, 93, 0.1, 90, 0.1, 91, 0.1, 92, 0.1, 93, 0.1, 90, 0.1, 91, 0.1, 92, 0.1, 93, 0.1, 90, 0.1, 91, 0.1, 92, 0.1, 93, 0.1));
public static var cameraTime:Number;
public static var ANIMATED_TILE_INTERVAL:Number = 0.2;
public static var ropeGraphics:Graphics;
public static var pausedClip:Sprite;
public static var TIME_CUD:uint = 5;
public static var animatedTiles:Array;
public static var screenManager:ScreenManager;
public static var WIDTH:uint = 640;
public static var TILESIZE:uint = 32;
public static var CAMERA_STATE_FOLLOWING_SHIP:uint = 0;
public static var CAMERA_STATE_ON_MINCER:uint = 5;
public static var levelScoreText:String;
public static var keyboardControls:Boolean;
public static var levelId:uint;
public static var OBJECT_MINCER:uint = 13;
public static var objectBackground:FleshGraphics;
public static var gameMusicId:uint;
public static var cameraX:Number;
public static var cameraY:Number;
public static var CAMERA_STATE_ZOOMING_TO_FINAL_COW:uint = 6;
public static var destroyedDrones:Sprite;
public static var cameraCowId:uint;
public static var canStopHecticMusic:Boolean;
public static var animatedTileId:uint;
public static var loadedCud:Boolean;
public static var levelNameText:String;
public static var cudCount:uint;
public static var turretCount:uint;
public function Engine(_arg1:G5Game):void{
DestroyedDrones = Engine_DestroyedDrones;
DestroyedTurrets = Engine_DestroyedTurrets;
CollectedCud = Engine_CollectedCud;
PausedClip = Engine_PausedClip;
super();
this.comp = _arg1;
instance = this;
key = new KeyPoll(_arg1.stage);
}
public function hiScoreDataLoaded(_arg1:Array):void{
var _local3:HiScoreRow;
var _local4:uint;
var _local2:uint;
while (_local2 < _arg1.length) {
_local3 = _arg1[_local2];
_local4 = _local3.getLevelId();
highscoreNames[_local4] = _local3.getName();
highscoreScores[_local4] = _local3.getScore();
_local2++;
};
}
public function mouseExited(_arg1:Event):void{
paused = true;
pausedClip.visible = true;
}
public function onMouseWheel():void{
}
public function loadLevel(_arg1:uint):void{
ship.targetClip.alpha = 0;
backBuffer.lock();
backBuffer.fillRect(new Rectangle(0, 0, WIDTH, HEIGHT), 0);
backBuffer.unlock();
SoundManager.stopAllSounds();
if (_arg1 < 3){
gameMusicId = SoundManager.SOUND_MUSIC0;
} else {
if (_arg1 < 6){
gameMusicId = SoundManager.SOUND_MUSIC1;
} else {
gameMusicId = SoundManager.SOUND_MUSIC2;
};
};
SoundManager.playMusic(gameMusicId, true);
screenManager.hideAllScreens();
zoomingToFinalCow = false;
animatedTileTime = 0;
cameraX = (cameraY = 0);
cameraScale = 1;
gameSprite.scaleX = (gameSprite.scaleY = 1);
gameSprite.x = (gameSprite.y = 0);
paused = false;
pausedClip.visible = false;
cameraTime = 0;
cameraCowId = 0;
animatedTileId = 0;
Ion.pool.setAllInactive();
Cow.pool.setAllInactive();
Turret.pool.setAllInactive();
Shot.pool.setAllInactive();
Cud.pool.setAllInactive();
Shot.enemyShotCount = 0;
ropeGraphics.clear();
objectBackground.clear();
levelId = _arg1;
Door.pool.setAllInactive();
Drone.pool.setAllInactive();
Switch.pool.setAllInactive();
Explosion.pool.setAllInactive();
destroyedDrones.visible = false;
destroyedTurrets.visible = false;
collectedCud.visible = false;
levelCompleteRequested = false;
guiMovie["barMask"].width = 0;
guiMovie["hiMarker"].x = (87 + (((570 - 87) * (highscoreScores[_arg1] / 1000)) / MAX_TIME));
loadedNav = (loadedObjects = (loadedBackground = (loadedCud = false)));
levelId = _arg1;
loadXMLFileId = -1;
loadNextXMLFile();
updateCamera(0);
ship.portIn();
cameraState = CAMERA_STATE_FOLLOWING_SHIP;
timeLeft = (displayTimeLeft = startTime[levelId]);
state = STATE_LOADING_LEVEL;
}
public function initMapUtil(_arg1:Boolean):void{
clearMap();
levelIdSelected = -1;
state = STATE_MAP;
screenManager.setScreen("screenMap");
mapClip["buttonCloseLevelInfo"].alpha = 0;
mapClip["buttonPlayLevel"].alpha = 0;
if (READ_HIGH_SCORES){
comp.getHiScoreData(0, 0, 0, 9, false);
comp.removeHiScores();
};
var _local2:uint;
while (_local2 < LEVEL_COUNT) {
if (!levelCompleted[_local2]){
utilLoadLevelButtonPressed(_local2);
break;
};
_local2++;
};
if (_arg1){
SoundManager.stopAllSounds();
SoundManager.playMusic(SoundManager.SOUND_THEME, true);
};
}
public function initMapNoThemeMusic(_arg1:Event=null):void{
initMapUtil(false);
}
public function stopBracketAtEnd(_arg1:Event):void{
if (_arg1.currentTarget.currentFrame == _arg1.currentTarget.totalFrames){
_arg1.currentTarget.stop();
_arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, stopBracketAtEnd);
mapClip["buttonCloseLevelInfo"].alpha = 0.01;
};
}
public function initInstructions():void{
screenManager.setScreen("screenInstructions");
}
public function clearMap(_arg1:Event=null):void{
mapClip["buttonCloseLevelInfo"].alpha = 0;
mapClip["buttonPlayLevel"].alpha = 0;
mapClip["levelNameText"].text = "";
mapClip["levelScoreText"].text = "";
var _local2:uint;
while (_local2 < LEVEL_COUNT) {
mapClip[("revealLine" + _local2)].gotoAndStop(1);
if (levelCompleted[_local2]){
mapButtonHueFilter[_local2].hue = MAP_BUTTON_HUE_GREEN;
} else {
mapButtonHueFilter[_local2].hue = 0;
};
mapClip[("buttonPlayLevel" + _local2)].filters = [mapButtonHueFilter[_local2].Filter];
_local2++;
};
mapClip["yellowBracketLeft"].gotoAndStop(1);
mapClip["yellowBracketRight"].gotoAndStop(1);
}
public function update(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
SoundManager.update(_arg1);
switch (state){
case STATE_MAP:
if (mapClip["buttonCloseLevelInfo"].alpha > 0){
mapClip["buttonCloseLevelInfo"].alpha = (mapClip["buttonCloseLevelInfo"].alpha + ((1 - mapClip["buttonCloseLevelInfo"].alpha) * 0.1));
mapClip["buttonPlayLevel"].alpha = mapClip["buttonCloseLevelInfo"].alpha;
if (mapClip["levelNameText"].text.length < levelNameText.length){
mapClip["levelNameText"].text = (mapClip["levelNameText"].text + levelNameText.charAt(mapClip["levelNameText"].text.length));
} else {
if (mapClip["levelScoreText"].text.length < levelScoreText.length){
mapClip["levelScoreText"].text = (mapClip["levelScoreText"].text + levelScoreText.charAt(mapClip["levelScoreText"].text.length));
};
};
};
break;
case STATE_LOADING_LEVEL:
if (((((((loadedBackground) && (loadedObjects))) && (loadedNav))) && (loadedCud))){
state = STATE_GAME;
};
break;
case STATE_GAME:
if (paused){
return;
};
if (zoomingToFinalCow){
if (cameraScale < 1.5){
cameraScale = (cameraScale * 1.002);
};
gameSprite.scaleX = (gameSprite.scaleY = cameraScale);
gameSprite.x = -(((WIDTH * (cameraScale - 1)) * 0.5));
gameSprite.y = -(((HEIGHT * (cameraScale - 1)) * 0.5));
};
updateAnimation(_arg1);
if (keyboardControls){
ship.setThrusting(((key.isDown(87)) || (key.isDown(38))));
ship.setReverseThrusting(((key.isDown(83)) || (key.isDown(40))));
ship.setTurning(((key.isDown(65)) || (key.isDown(37))), true);
ship.setTurning(((key.isDown(68)) || (key.isDown(39))), false);
};
if (((levelCompleteRequested) && ((ship.state == Ship.STATE_LEVEL_COMPLETE)))){
initLevelComplete();
};
if (CHEAT_KEYS){
fpsCounter.addTime(_arg1);
fpsCounter.setFPSText(guiMovie.fps);
};
if (((((!(ship.landed)) && (!(zoomingToFinalCow)))) && ((ship.state == Ship.STATE_NORMAL)))){
timeLeft = (timeLeft - _arg1);
};
if (displayTimeLeft != timeLeft){
_local3 = (timeLeft - displayTimeLeft);
if (_local3 < 1){
displayTimeLeft = timeLeft;
if ((((displayTimeLeft <= 0)) && (!((ship.state == Ship.STATE_EXPLODING))))){
ship.explode();
};
} else {
displayTimeLeft = (displayTimeLeft + (_local3 * 0.1));
};
guiMovie["timeText"].text = (Math.round((displayTimeLeft * 100)) / 100);
guiMovie["barMask"].width = (((MAX_TIME - displayTimeLeft) * 483) / MAX_TIME);
};
updateCamera((zoomingToFinalCow) ? (_arg1 * 0.2) : _arg1);
if (destroyedTurrets.visible){
destroyedTurrets.x = (turretDestroyedPosition.x - cameraX);
destroyedTurrets.y = (turretDestroyedPosition.y - cameraY);
destroyedTurrets.alpha = (destroyedTurrets.alpha - (_arg1 * 0.25));
_local2 = (1 - destroyedTurrets.scaleX);
destroyedTurrets.scaleX = (destroyedTurrets.scaleX + (_local2 * 0.07));
destroyedTurrets.scaleY = destroyedTurrets.scaleX;
if (destroyedTurrets.alpha <= 0){
destroyedTurrets.visible = false;
};
};
if (destroyedDrones.visible){
destroyedDrones.x = (droneDestroyedPosition.x - cameraX);
destroyedDrones.y = (droneDestroyedPosition.y - cameraY);
destroyedDrones.alpha = (destroyedDrones.alpha - (_arg1 * 0.25));
_local2 = (1 - destroyedDrones.scaleX);
destroyedDrones.scaleX = (destroyedDrones.scaleX + (_local2 * 0.07));
destroyedDrones.scaleY = destroyedDrones.scaleX;
if (destroyedDrones.alpha <= 0){
destroyedDrones.visible = false;
};
};
if (collectedCud.visible){
collectedCud.x = (cudCollectedPosition.x - cameraX);
collectedCud.y = (cudCollectedPosition.y - cameraY);
collectedCud.alpha = (collectedCud.alpha - (_arg1 * 0.25));
_local2 = (1 - collectedCud.scaleX);
collectedCud.scaleX = (collectedCud.scaleX + (_local2 * 0.07));
collectedCud.scaleY = collectedCud.scaleX;
if (collectedCud.alpha <= 0){
collectedCud.visible = false;
};
};
if (!zoomingToFinalCow){
Door.pool.updateAll(_arg1);
Drone.pool.updateAll(_arg1);
Shot.pool.updateAll(_arg1);
Turret.pool.updateAll(_arg1);
ship.update(_arg1);
} else {
ship.updateMovieClipPos();
};
mincer.update(_arg1);
Cud.pool.updateAll((zoomingToFinalCow) ? (_arg1 * 0.2) : _arg1);
Explosion.pool.updateAll((zoomingToFinalCow) ? (_arg1 * 0.2) : _arg1);
Ion.pool.updateAll((zoomingToFinalCow) ? (_arg1 * 0.2) : _arg1);
Cow.pool.updateAll((zoomingToFinalCow) ? (_arg1 * 0.2) : _arg1);
paint();
break;
};
}
public function loadSettingsSuccess(_arg1:XML):void{
TIME_SHIP_SHOT = parseInt(_arg1.attribute("timeShipShot"));
TIME_SHIP_COLLIDED = parseInt(_arg1.attribute("timeShipCollided"));
TIME_CUD = parseInt(_arg1.attribute("timeCudCollected"));
TIME_COW = parseInt(_arg1.attribute("timeCowMinced"));
TIME_ALL_TURRETS = parseInt(_arg1.attribute("timeAllTurretsDestroyed"));
TIME_ALL_DRONES = parseInt(_arg1.attribute("timeAllDronesDestroyed"));
TIME_ALL_CUD = parseInt(_arg1.attribute("timeAllCudCollected"));
Door.TIMED_DOOR_OPEN_TIME = parseInt(_arg1.attribute("timedDoorOpenTime"));
Ship.KEYBOARD_TURN_SPEED = parseInt(_arg1.attribute("kbShipTurnSpeed"));
var _local2:Number = 0;
while (_local2 < LEVEL_COUNT) {
startTime[_local2] = parseInt(_arg1.attribute(("startTime" + _local2)));
_local2++;
};
}
public function utilLoadLevelButtonPressed(_arg1:uint):void{
if (_arg1 == levelIdSelected){
return;
};
clearMap();
levelIdSelected = _arg1;
levelNameText = ((("LEVEL " + (_arg1 + 1)) + ": ") + LEVEL_NAMES[_arg1].toUpperCase());
var _local2:Number = (highscoreScores[_arg1] / 1000);
levelScoreText = ((("BEST: " + _local2.toFixed(2)) + " BY ") + highscoreNames[_arg1].toUpperCase());
if (!levelCompleted[_arg1]){
mapButtonHueFilter[_arg1].hue = 100;
mapClip[("buttonPlayLevel" + _arg1)].filters = [mapButtonHueFilter[_arg1].Filter];
};
mapClip[("revealLine" + levelIdSelected)].play();
mapClip[("revealLine" + levelIdSelected)].addEventListener(Event.ENTER_FRAME, checkRevealLineAtEnd);
SoundManager.playSound(SoundManager.SOUND_SWITCH);
}
public function requestLevelComplete():void{
ship.portOut();
zoomingToFinalCow = false;
levelCompleteRequested = true;
}
public function checkRevealLineAtEnd(_arg1:Event):void{
if (_arg1.currentTarget.currentFrame != _arg1.currentTarget.totalFrames){
return;
};
_arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, checkRevealLineAtEnd);
_arg1.currentTarget.stop();
var _local2:String = _arg1.currentTarget.name;
var _local3:uint = parseInt(_local2.substring((_local2.length - 1), _local2.length));
if ((((_local3 < 3)) || ((_local3 == 8)))){
mapClip["yellowBracketLeft"].play();
mapClip["yellowBracketLeft"].addEventListener(Event.ENTER_FRAME, stopBracketAtEnd);
} else {
mapClip["yellowBracketRight"].play();
mapClip["yellowBracketRight"].addEventListener(Event.ENTER_FRAME, stopBracketAtEnd);
};
}
public function initGame(_arg1:Sprite):void{
var _local9:GlowFilter;
var _local10:Sprite;
var _local11:HueColorMatrixFilter;
comp.getHiScoreData(0, 0, 0, 9, false);
gameSprite = new Sprite();
this.addChild(gameSprite);
levelCompleted = new Array(LEVEL_COUNT);
var _local2:uint;
while (_local2 < LEVEL_COUNT) {
levelCompleted[_local2] = false;
_local2++;
};
cookie = SharedObject.getLocal("cowbandits");
if (cookie.size == 0){
neverPlayedBefore = true;
writeToCookie();
} else {
neverPlayedBefore = false;
readFromCookie();
};
animatedTiles = new Array();
animatedTileTimes = new Array();
animatedTileIds = new Array();
SoundManager.initStart();
pausedClip = new PausedClip();
pausedClip.x = (WIDTH / 2);
pausedClip.y = (HEIGHT / 2);
bitmaps = new BitmapEmbedder();
turretDestroyedPosition = new Vector(0, 0);
droneDestroyedPosition = new Vector(0, 0);
cudCollectedPosition = new Vector(0, 0);
startTime = new Array(LEVEL_COUNT);
loadSettings();
backBuffer = new BitmapData(WIDTH, HEIGHT, false);
backBufferBitmap = new Bitmap(backBuffer);
backBufferBitmap.opaqueBackground = false;
gameSprite.addChild(backBufferBitmap);
ropeSprite = new Sprite();
if (ROPE_GLOW){
_local9 = new GlowFilter(0xFFFFFF, 0.5, 16, 16, 4, 2, false, false);
ropeSprite.filters = [_local9];
};
ropeGraphics = ropeSprite.graphics;
gameSprite.addChild(ropeSprite);
backgroundBitmaps = new Array();
backgroundBitmaps.push(bitmaps.getBitmap(BitmapEmbedder.OB_BG0));
backgroundBitmaps.push(bitmaps.getBitmap(BitmapEmbedder.OB_BG1));
backgroundBitmaps.push(bitmaps.getBitmap(BitmapEmbedder.OB_BG2));
fpsCounter = new FPSCounter();
objectBackground = new FleshGraphics(WORLDSIZEX, WORLDSIZEY);
tiledBackground = new TiledBackground(this, TILECOUNTX, TILECOUNTY, bitmaps.getBitmap(BitmapEmbedder.OB_TILES), WIDTH, HEIGHT);
cogBackground = new FleshGraphics(WORLDSIZEX, WORLDSIZEY);
navigationNetwork = new NavigationNetwork();
keyboardControls = true;
minX = 0;
minY = 0;
maxX = (WORLDSIZEX - WIDTH);
maxY = (WORLDSIZEY - HEIGHT);
Switch.initStart();
Door.initStart();
Drone.initStart();
Explosion.initStart();
Shot.initStart();
Ion.initStart();
Cow.initStart();
Turret.initStart();
Cud.initStart();
mincer = new Mincer(this);
destroyedDrones = new DestroyedDrones();
gameSprite.addChild(destroyedDrones);
destroyedDrones.visible = false;
destroyedTurrets = new DestroyedTurrets();
gameSprite.addChild(destroyedTurrets);
destroyedTurrets.visible = false;
collectedCud = new CollectedCud();
gameSprite.addChild(collectedCud);
collectedCud.visible = false;
ship = new Ship(this);
guiMovie = _arg1["guiClip"];
this.addChild(guiMovie);
guiMovie.x = 0;
guiMovie.y = 480;
this.addChild(pausedClip);
pausedClip.visible = false;
var _local3:Array = new Array("screenMap", "screenLevelComplete", "screenLevelFailed", "screenInstructions", "screenCredits", "screenCompleted");
screenManager = new ScreenManager(this, _arg1, _local3);
mapClip = screenManager.getScreen("screenMap");
mapClip.x = 326;
mapClip.y = 199;
mapClip.versionText.text = VERSION;
mapButtonHueFilter = new Array();
_local2 = 0;
while (_local2 < LEVEL_COUNT) {
_local10 = mapClip[("buttonPlayLevel" + _local2)];
_local10.addEventListener(MouseEvent.CLICK, loadLevelButtonPressed);
_local11 = new HueColorMatrixFilter();
mapButtonHueFilter.push(_local11);
_local10.filters = [_local11.Filter];
mapClip[("revealLine" + _local2)].fps = 100;
_local2++;
};
mapClip["buttonCloseLevelInfo"].addEventListener(MouseEvent.CLICK, closeLevelInfo);
mapClip["buttonPlayLevel"].addEventListener(MouseEvent.CLICK, loadSelectedLevel);
mapClip["buttonSounds"].gotoAndStop(1);
mapClip["buttonMusic"].gotoAndStop(1);
mapClip["buttonSounds"].addEventListener(MouseEvent.CLICK, mapButtonPressed);
mapClip["buttonMusic"].addEventListener(MouseEvent.CLICK, mapButtonPressed);
mapClip["buttonCredits"].addEventListener(MouseEvent.CLICK, mapButtonPressed);
mapClip["buttonMoreGames"].addEventListener(MouseEvent.CLICK, mapButtonPressed);
guiMovie.butMenu.addEventListener(MouseEvent.CLICK, initMap);
clearMap();
var _local4:MovieClip = screenManager.getScreen("screenLevelComplete");
_local4.buttonBackToMap.addEventListener(MouseEvent.CLICK, levelCompleteBackToMapOrEndSequence);
var _local5:MovieClip = screenManager.getScreen("screenLevelFailed");
_local5.buttonBackToMap.addEventListener(MouseEvent.CLICK, initMap);
_local5.buttonPlayAgain.addEventListener(MouseEvent.CLICK, restartLevel);
var _local6:MovieClip = screenManager.getScreen("screenInstructions");
_local6.buttonExitInstructions.addEventListener(MouseEvent.CLICK, initMapNoThemeMusic);
var _local7:MovieClip = screenManager.getScreen("screenCredits");
_local7.buttonExitCredits.addEventListener(MouseEvent.CLICK, initMapNoThemeMusic);
_local7.buttonMorpheme.addEventListener(MouseEvent.CLICK, creditsButtonPressed);
_local7.buttonG5.addEventListener(MouseEvent.CLICK, creditsButtonPressed);
var _local8:MovieClip = screenManager.getScreen("screenCompleted");
_local8.buttonExitCompleted.addEventListener(MouseEvent.CLICK, initMapNoThemeMusic);
_local8.buttonGimme5.addEventListener(MouseEvent.CLICK, openG5Games);
screenManager.hideAllScreens();
cheatKeys = CHEAT_KEYS;
guiMovie.fps.visible = CHEAT_KEYS;
comp.stage.addEventListener(Event.MOUSE_LEAVE, mouseExited);
}
public function loadSelectedLevel(_arg1:Event):void{
loadLevel(levelIdSelected);
}
public function readFromCookie():void{
var _local1:uint;
var _local2:uint;
while (_local2 < LEVEL_COUNT) {
levelCompleted[_local2] = cookie.data[("completedLevel" + _local2)];
if (levelCompleted[_local2]){
_local1++;
};
_local2++;
};
if (_local1 == 0){
neverPlayedBefore = true;
};
}
public function updateCamera(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
var _local4:Cow;
var _local5:*;
if (((((!(ship.landed)) && (!((cameraState == CAMERA_STATE_FOLLOWING_SHIP))))) && (!((cameraState == CAMERA_STATE_ZOOMING_TO_FINAL_COW))))){
cameraState = CAMERA_STATE_PANNING_TO_SHIP;
};
switch (cameraState){
case CAMERA_STATE_FOLLOWING_SHIP:
cameraX = (ship.pos.x - (WIDTH >> 1));
cameraY = (ship.pos.y - (HEIGHT >> 1));
cameraX = ((cameraX < minX)) ? 0 : ((cameraX > maxX)) ? maxX : cameraX;
cameraY = ((cameraY < minY)) ? 0 : ((cameraY > maxY)) ? maxY : cameraY;
if (((ship.landed) && ((mincer.state == Mincer.STATE_IDLE)))){
cameraTime = (cameraTime + _arg1);
if (cameraTime > 3){
cameraState = CAMERA_STATE_PANNING_TO_MINCER;
};
};
break;
case CAMERA_STATE_PANNING_TO_MINCER:
_local2 = ((((mincer.pos.x + 88) - (WIDTH >> 1)) - cameraX) * 0.05);
_local3 = ((((mincer.baseY + 60) - (HEIGHT >> 1)) - cameraY) * 0.05);
if ((((((((Math.abs(_local2) < 1)) || ((cameraX == minX)))) || ((cameraX == maxX)))) && ((((((Math.abs(_local3) < 1)) || ((cameraY == minY)))) || ((cameraY == maxY)))))){
cameraState = CAMERA_STATE_ON_MINCER;
cameraTime = 0;
} else {
cameraX = (cameraX + _local2);
cameraY = (cameraY + _local3);
cameraX = ((cameraX < minX)) ? 0 : ((cameraX > maxX)) ? maxX : cameraX;
cameraY = ((cameraY < minY)) ? 0 : ((cameraY > maxY)) ? maxY : cameraY;
};
break;
case CAMERA_STATE_ON_MINCER:
cameraTime = (cameraTime + _arg1);
if (cameraTime > 1.5){
cameraCow = undefined;
cameraCowId = 0;
while (cameraCowId < Cow.MAX_COWS) {
_local4 = Cow(Cow.pool.getObjectAt(cameraCowId));
if (_local4.active){
cameraCow = _local4;
break;
};
cameraCowId++;
};
if (cameraCow != null){
firstCameraCowId = cameraCowId;
cameraState = CAMERA_STATE_PANNING_TO_COW;
};
};
break;
case CAMERA_STATE_ZOOMING_TO_FINAL_COW:
case CAMERA_STATE_PANNING_TO_COW:
if (cameraState == CAMERA_STATE_PANNING_TO_COW){
_local2 = (((cameraCow.pos.x - (WIDTH >> 1)) - cameraX) * 0.05);
_local3 = (((cameraCow.pos.y - (HEIGHT >> 1)) - cameraY) * 0.05);
} else {
_local2 = ((((mincer.pos.x + 88) - (WIDTH >> 1)) - cameraX) * 0.05);
_local3 = ((((mincer.baseY + 60) - (HEIGHT >> 1)) - cameraY) * 0.05);
};
if ((((cameraState == CAMERA_STATE_PANNING_TO_COW)) && ((((((((Math.abs(_local2) < 1)) || ((cameraX == minX)))) || ((cameraX == maxX)))) && ((((((Math.abs(_local3) < 1)) || ((cameraY == minY)))) || ((cameraY == maxY)))))))){
cameraState = CAMERA_STATE_ON_COW;
cameraTime = 0;
} else {
cameraX = (cameraX + _local2);
cameraY = (cameraY + _local3);
cameraX = ((cameraX < minX)) ? 0 : ((cameraX > maxX)) ? maxX : cameraX;
cameraY = ((cameraY < minY)) ? 0 : ((cameraY > maxY)) ? maxY : cameraY;
};
break;
case CAMERA_STATE_ON_COW:
cameraTime = (cameraTime + _arg1);
if (cameraTime > 1.5){
cameraCow = undefined;
do {
cameraCowId++;
if (cameraCowId >= Cow.MAX_COWS){
cameraCowId = 0;
};
if (cameraCowId == firstCameraCowId){
break;
};
_local5 = Cow(Cow.pool.getObjectAt(cameraCowId));
if (_local5.active){
cameraCow = _local5;
break;
};
} while (true);
if (cameraCow != null){
cameraState = CAMERA_STATE_PANNING_TO_COW;
} else {
cameraState = CAMERA_STATE_PANNING_TO_SHIP;
};
};
break;
case CAMERA_STATE_PANNING_TO_SHIP:
_local2 = (((ship.pos.x - (WIDTH >> 1)) - cameraX) * 0.05);
_local3 = (((ship.pos.y - (HEIGHT >> 1)) - cameraY) * 0.05);
if ((((((((Math.abs(_local2) < 1)) || ((cameraX == minX)))) || ((cameraX == maxX)))) && ((((((Math.abs(_local3) < 1)) || ((cameraY == minY)))) || ((cameraY == maxY)))))){
cameraState = CAMERA_STATE_FOLLOWING_SHIP;
cameraTime = 0;
} else {
cameraX = (cameraX + _local2);
cameraY = (cameraY + _local3);
cameraX = ((cameraX < minX)) ? 0 : ((cameraX > maxX)) ? maxX : cameraX;
cameraY = ((cameraY < minY)) ? 0 : ((cameraY > maxY)) ? maxY : cameraY;
};
break;
};
}
public function loadSettings():void{
var _local1:XMLLoader = new XMLLoader();
_local1.loadXML((DATA_ROOT + "settings.xml"), loadSettingsSuccess);
}
public function initMap(_arg1:Event=null):void{
initMapUtil(true);
}
public function initLevelComplete():void{
state = STATE_LEVEL_COMPLETE;
screenManager.setScreen("screenLevelComplete");
levelCompleted[levelId] = true;
writeToCookie();
mapButtonHueFilter[levelId].hue = 100;
mapClip[("buttonPlayLevel" + levelId)].filters = [mapButtonHueFilter[levelId].Filter];
if ((((timeLeft > 60)) && (READ_HIGH_SCORES))){
comp.initHiScores(levelId, false, Math.floor((timeLeft * 1000)), timeLeft.toFixed(2), "seconds", 340, 100);
};
}
public function loadLevelButtonPressed(_arg1:Event):void{
var _local2:String = _arg1.currentTarget.name;
var _local3:uint = parseInt(_local2.substring((_local2.length - 1), _local2.length));
utilLoadLevelButtonPressed(_local3);
}
public function restartLevel(_arg1:Event=null):void{
loadLevel(levelId);
}
public function closeLevelInfo(_arg1:Event):void{
levelIdSelected = -1;
clearMap();
}
public function updateAnimation(_arg1:Number):void{
var _local3:uint;
var _local4:Array;
var _local5:uint;
var _local2:uint;
while (_local2 < animatedTiles.length) {
animatedTileTimes[_local2] = (animatedTileTimes[_local2] - _arg1);
if (animatedTileTimes[_local2] <= 0){
_local3 = 0;
while (_local3 < TILE_ANIMS.length) {
_local4 = TILE_ANIMS[_local3];
_local5 = 0;
while (_local5 < (_local4.length / 2)) {
if (tiledBackground.getTile(animatedTiles[_local2]) == _local4[(_local5 * 2)]){
var _local6 = animatedTileIds;
var _local7 = _local2;
var _local8 = (_local6[_local7] + 1);
_local6[_local7] = _local8;
if (animatedTileIds[_local2] >= (_local4.length / 2)){
animatedTileIds[_local2] = 0;
};
tiledBackground.setTile(animatedTiles[_local2], _local4[(animatedTileIds[_local2] * 2)]);
animatedTileTimes[_local2] = _local4[((animatedTileIds[_local2] * 2) + 1)];
//unresolved jump
};
_local5++;
};
_local3++;
};
};
_local2++;
};
}
public function levelCompleteBackToMapOrEndSequence(_arg1:Event):void{
comp.removeHiScores();
var _local2:uint;
var _local3:uint;
while (_local3 < LEVEL_COUNT) {
if (levelCompleted[_local3]){
_local2++;
};
_local3++;
};
if (_local2 == LEVEL_COUNT){
screenManager.setScreen("screenCompleted");
SoundManager.stopAllSounds();
SoundManager.playMusic(SoundManager.SOUND_THEME, true);
} else {
initMap();
};
}
public function writeToCookie():void{
var _local1:uint;
while (_local1 < LEVEL_COUNT) {
cookie.setProperty(("completedLevel" + _local1), levelCompleted[_local1]);
_local1++;
};
cookie.flush();
}
public static function zoomToFinalCow(_arg1:Cow):void{
SoundManager.playSound(SoundManager.SOUND_LONGMOO);
cameraCow = _arg1;
cameraState = CAMERA_STATE_ZOOMING_TO_FINAL_COW;
zoomingToFinalCow = true;
}
public static function mouseUp(_arg1:MouseEvent):void{
if (state == STATE_GAME){
keyboardControls = false;
ship.setThrusting(false);
};
}
public static function creditsButtonPressed(_arg1:Event):void{
if (_arg1.currentTarget.name == "buttonG5"){
navigateToURL(new URLRequest("http://www.gimme5games.com"), "_blank");
} else {
if (_arg1.currentTarget.name == "buttonMorpheme"){
navigateToURL(new URLRequest("http://www.morphemegamestudios.com"), "_blank");
};
};
}
public static function mouseMove(_arg1:MouseEvent):void{
paused = false;
pausedClip.visible = false;
mouseX = _arg1.stageX;
mouseY = _arg1.stageY;
keyboardControls = false;
}
public static function changeTimeLeft(_arg1:Number):void{
timeLeft = (timeLeft + _arg1);
if (timeLeft < 0){
timeLeft = 0;
} else {
if (timeLeft > MAX_TIME){
timeLeft = MAX_TIME;
};
};
}
public static function loadNav():void{
var _local1:XMLLoader = new XMLLoader();
_local1.loadXML((((DATA_ROOT + "level") + LEVEL_MAPPING[levelId]) + "nav.xml"), navigationNetwork.parseXML);
}
public static function setAnimatedTiles():void{
var _local2:uint;
var _local3:Array;
var _local4:uint;
animatedTiles.splice(0);
animatedTileTimes.splice(0);
animatedTileIds.splice(0);
var _local1:uint;
while (_local1 < TILECOUNT) {
_local2 = 0;
while (_local2 < TILE_ANIMS.length) {
_local3 = TILE_ANIMS[_local2];
_local4 = 0;
while (_local4 < (_local3.length / 2)) {
if (tiledBackground.getTile(_local1) == _local3[(_local4 * 2)]){
animatedTiles.push(_local1);
animatedTileTimes.push((_local3[((_local4 * 2) + 1)] + ((_local1 % 8) * 1)));
animatedTileIds.push(0);
//unresolved jump
};
_local4++;
};
_local2++;
};
_local1++;
};
}
public static function isOnScreen(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Boolean{
if ((_arg1 + _arg3) < cameraX){
return (false);
};
if ((_arg2 + _arg4) < cameraY){
return (false);
};
if (_arg1 > (cameraX + WIDTH)){
return (false);
};
if (_arg2 > (cameraY + HEIGHT)){
return (false);
};
return (true);
}
public static function paint():void{
var _local4:BitmapData;
var _local5:Number;
var _local6:Number;
objectBackground.buffer.lock();
backBuffer.lock();
ropeGraphics.clear();
objectBackground.clear();
cogBackground.clear();
var _local1:uint = BG_COUNT;
while (--_local1 >= 0) {
if ((((instance.stage.quality == "LOW")) && (!((_local1 == 2))))){
continue;
} else {
if ((((instance.stage.quality == "MEDIUM")) && ((_local1 == 1)))){
continue;
};
};
_local4 = backgroundBitmaps[_local1];
_local5 = (_local4.width - 640);
_local6 = (_local4.height - 480);
backBuffer.copyPixels(_local4, new Rectangle(((_local5 * cameraX) / maxX), ((_local6 * cameraY) / maxY), WIDTH, HEIGHT), new Point(0, 0));
};
Switch.pool.paintAll(objectBackground);
Door.pool.paintAll(objectBackground);
Shot.pool.paintAll(objectBackground);
Cud.pool.paintAll(objectBackground);
ship.paint();
Cow.pool.paintAll(objectBackground);
mincer.paint(objectBackground);
Turret.pool.paintAll(objectBackground);
Drone.pool.paintAll(objectBackground);
Explosion.pool.paintAll(objectBackground);
Door.paintAllCogs(cogBackground);
var _local2:Rectangle = new Rectangle(cameraX, cameraY, WIDTH, HEIGHT);
var _local3:Point = new Point(0, 0);
backBuffer.copyPixels(objectBackground.buffer, _local2, _local3);
backBuffer.copyPixels(tiledBackground.buffer, _local2, _local3);
backBuffer.copyPixels(cogBackground.buffer, _local2, _local3);
objectBackground.buffer.unlock();
backBuffer.unlock();
}
public static function mapButtonPressed(_arg1:Event):void{
if (_arg1.currentTarget == mapClip["buttonSounds"]){
if (mapClip["buttonSounds"].currentFrame == 1){
mapClip["buttonSounds"].gotoAndStop(2);
SoundManager.setSfx(false);
} else {
mapClip["buttonSounds"].gotoAndStop(1);
SoundManager.setSfx(true);
SoundManager.playSound(SoundManager.SOUND_MOO);
};
} else {
if (_arg1.currentTarget == mapClip["buttonMusic"]){
if (mapClip["buttonMusic"].currentFrame == 1){
mapClip["buttonMusic"].gotoAndStop(2);
SoundManager.setMusic(false);
SoundManager.stopAllSounds();
} else {
mapClip["buttonMusic"].gotoAndStop(1);
SoundManager.setMusic(true);
SoundManager.playMusic(SoundManager.SOUND_THEME, true);
};
} else {
if (_arg1.currentTarget == mapClip["buttonCredits"]){
screenManager.setScreen("screenCredits");
} else {
if (_arg1.currentTarget == mapClip["buttonMoreGames"]){
navigateToURL(new URLRequest("http://www.gimme5games.com"), "_blank");
};
};
};
};
}
public static function mouseDown(_arg1:MouseEvent):void{
if (state == STATE_GAME){
keyboardControls = false;
ship.setThrusting(true);
};
}
public static function openG5Games(_arg1:Event):void{
navigateToURL(new URLRequest("http://www.gimme5games.com"), "_blank");
}
public static function loadNextXMLFile():void{
loadXMLFileId++;
switch (loadXMLFileId){
case 0:
tiledBackground.loadLevel((((DATA_ROOT + "level") + LEVEL_MAPPING[levelId]) + ".xml"));
break;
case 1:
loadObjects();
break;
case 2:
loadNav();
break;
case 3:
loadCud();
break;
};
}
public static function parseCudXML(_arg1:XML):void{
var _local4:XML;
var _local5:Number;
var _local6:uint;
var _local7:uint;
cudCount = 0;
var _local2:XML = _arg1.children()[1];
var _local3:uint;
while (_local3 < _local2.children().length()) {
_local4 = _local2.children()[_local3];
_local5 = parseInt(_local4.attribute("value"));
_local6 = (parseInt(_local4.attribute("x")) * 8);
_local7 = (parseInt(_local4.attribute("y")) * 8);
Cud.create(_local6, _local7);
cudCount++;
_local3++;
};
loadedCud = true;
loadNextXMLFile();
}
public static function cudCollected(_arg1:Number, _arg2:Number):void{
cudCount--;
if (cudCount == 0){
cudCollectedPosition.set(_arg1, _arg2);
collectedCud.x = (_arg1 - cameraX);
collectedCud.y = (_arg2 - cameraY);
collectedCud.visible = true;
collectedCud.alpha = 1;
collectedCud.scaleX = (collectedCud.scaleY = 0.5);
changeTimeLeft(TIME_ALL_CUD);
SoundManager.playSound(SoundManager.SOUND_STRUM);
};
}
public static function isAnimatedTile(_arg1:uint):Boolean{
var _local3:Array;
var _local4:uint;
var _local2:uint;
while (_local2 < TILE_ANIMS.length) {
_local3 = TILE_ANIMS[_local2];
_local4 = 0;
while (_local4 < _local3.length) {
if (_arg1 == _local3[_local4]){
return (true);
};
_local4++;
};
_local2++;
};
return (false);
}
public static function loadObjects():void{
var _local1:XMLLoader = new XMLLoader();
_local1.loadXML((((DATA_ROOT + "level") + LEVEL_MAPPING[levelId]) + "obj.xml"), parseObjectsXML);
}
public static function parseObjectsXML(_arg1:XML):void{
var _local5:XML;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local2:Number = 0;
turretCount = 0;
droneCount = 0;
var _local3:XML = _arg1.children()[1];
var _local4:uint;
while (_local4 < _local3.children().length()) {
_local5 = _local3.children()[_local4];
_local6 = parseInt(_local5.attribute("value"));
_local7 = parseInt(_local5.attribute("x"));
_local8 = parseInt(_local5.attribute("y"));
_local9 = parseInt(_local5.attribute("util"));
switch (_local6){
case OBJECT_SHIP:
ship.init((_local7 * TILESIZE), (_local8 * TILESIZE));
break;
case OBJECT_COW:
Cow.create(_local7, _local8);
_local2++;
break;
case OBJECT_GUN_UP:
case OBJECT_GUN_DOWN:
case OBJECT_GUN_LEFT:
case OBJECT_GUN_RIGHT:
Turret.create(_local7, _local8, (_local6 - OBJECT_GUN_UP));
turretCount++;
break;
case OBJECT_MINCER:
mincer.init((_local7 * TILESIZE), (_local8 * TILESIZE));
break;
case OBJECT_SWITCH:
Switch.create(_local7, _local8, _local9);
break;
case OBJECT_DOOR_TIMED:
case OBJECT_DOOR_AUTO:
case OBJECT_DOOR_SINGLE:
Door.create((_local6 - OBJECT_DOOR_TIMED), _local7, _local8, _local9);
break;
case OBJECT_DRONE:
Drone.create(_local7, _local8);
droneCount++;
break;
};
_local4++;
};
mincer.setCowCount(_local2);
Switch.linkAllDoors();
loadedObjects = true;
loadNextXMLFile();
}
public static function loadCud():void{
var _local1:XMLLoader = new XMLLoader();
_local1.loadXML((((DATA_ROOT + "level") + LEVEL_MAPPING[levelId]) + "cud.xml"), parseCudXML);
}
public static function turretDestroyed(_arg1:Number, _arg2:Number):void{
turretCount--;
if (turretCount == 0){
turretDestroyedPosition.set(_arg1, _arg2);
destroyedTurrets.x = (_arg1 - cameraX);
destroyedTurrets.y = (_arg2 - cameraY);
destroyedTurrets.visible = true;
destroyedTurrets.alpha = 1;
destroyedTurrets.scaleX = (destroyedTurrets.scaleY = 0.5);
changeTimeLeft(TIME_ALL_TURRETS);
SoundManager.playSound(SoundManager.SOUND_STRUM);
};
}
public static function keyDown(_arg1:KeyboardEvent):void{
paused = false;
pausedClip.visible = false;
var _local2:Number = _arg1.keyCode;
if ((((((((((((((((_local2 == 87)) || ((_local2 == 38)))) || ((_local2 == 83)))) || ((_local2 == 40)))) || ((_local2 == 65)))) || ((_local2 == 37)))) || ((_local2 == 68)))) || ((_local2 == 39)))){
keyboardControls = true;
};
if (cheatKeys){
if ((((_local2 >= 48)) && ((_local2 <= 57)))){
if (_local2 == 48){
instance.loadLevel(9);
} else {
instance.loadLevel((_local2 - 49));
};
};
};
switch (_local2){
case 188:
case 90:
case 66:
ship.strafeLeft();
break;
case 190:
case 88:
case 78:
ship.strafeRight();
break;
case 17:
if (cheatKeys){
initLevelFailed();
};
break;
case 220:
if (cheatKeys){
instance.initLevelComplete();
};
break;
case 32:
ship.timeBeforeCanRope = 1;
ship.detachRope();
break;
};
}
public static function initLevelFailed():void{
state = STATE_LEVEL_FAILED;
screenManager.setScreen("screenLevelFailed");
}
public static function droneDestroyed(_arg1:Number, _arg2:Number):void{
droneCount--;
if (droneCount == 0){
droneDestroyedPosition.set(_arg1, _arg2);
destroyedDrones.x = (_arg1 - cameraX);
destroyedDrones.y = (_arg2 - cameraY);
destroyedDrones.visible = true;
destroyedDrones.alpha = 1;
destroyedDrones.scaleX = (destroyedDrones.scaleY = 0.5);
changeTimeLeft(TIME_ALL_DRONES);
SoundManager.playSound(SoundManager.SOUND_STRUM);
};
}
}
}//package cowbandits
Section 17
//Engine_CollectedCud (cowbandits.Engine_CollectedCud)
package cowbandits {
import flash.display.*;
import mx.core.*;
public class Engine_CollectedCud extends SpriteAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package cowbandits
Section 18
//Engine_DestroyedDrones (cowbandits.Engine_DestroyedDrones)
package cowbandits {
import flash.display.*;
import mx.core.*;
public class Engine_DestroyedDrones extends SpriteAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package cowbandits
Section 19
//Engine_DestroyedTurrets (cowbandits.Engine_DestroyedTurrets)
package cowbandits {
import flash.display.*;
import mx.core.*;
public class Engine_DestroyedTurrets extends SpriteAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package cowbandits
Section 20
//Engine_PausedClip (cowbandits.Engine_PausedClip)
package cowbandits {
import flash.display.*;
import mx.core.*;
public class Engine_PausedClip extends SpriteAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package cowbandits
Section 21
//Explosion (cowbandits.Explosion)
package cowbandits {
import flesh.*;
public class Explosion extends PoolObject {
private var frameCount:Number;
private var pos:Vector;
private var frame:Number;
public static var MAX_EXPLOSIONS:uint = 10;
public static var pool:ManagedPool;
public function Explosion(_arg1:Number):void{
super(_arg1);
pos = new Vector(0, 0);
}
public function init(_arg1:Number, _arg2:Number):void{
pos.set(_arg1, _arg2);
frameCount = 0;
frame = 0;
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Explosion(_arg1));
}
override public function update(_arg1:Number):void{
frameCount = (frameCount + _arg1);
if (frameCount > 0.04){
frameCount = 0;
frame++;
if (frame > 5){
deactivate();
};
};
}
override public function deactivate():void{
pool.decrementObjectCount();
active = false;
}
override public function paint(_arg1:FleshGraphics):void{
_arg1.drawImage(Engine.bitmaps.getBitmap((BitmapEmbedder.OB_EXPLOSION0 + frame)), pos.x, pos.y, FleshGraphics.GCC, 0, 1, 1, 1);
}
public static function create(_arg1:Number, _arg2:Number):Explosion{
var _local3:Explosion = Explosion(pool.requestObject());
_local3.init(_arg1, _arg2);
return (_local3);
}
public static function initStart():void{
var _local1:Explosion = new Explosion(0);
pool = new ManagedPool("ExplosionPool", _local1, MAX_EXPLOSIONS);
}
}
}//package cowbandits
Section 22
//Ion (cowbandits.Ion)
package cowbandits {
import flash.display.*;
import flesh.*;
public class Ion extends PoolObject {
private var clip:MovieClip;
private var v:Vector;
private var IonClip:Class;
public static var ION_SPEED:uint = 100;
public static var MAX_IONS:uint = 30;
public static var pool:ManagedPool;
public function Ion(_arg1:uint):void{
IonClip = Ion_IonClip;
super(_arg1);
clip = new IonClip();
Engine.instance.addChild(clip);
v = new Vector(0, 0);
clip.visible = false;
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Ion(_arg1));
}
public function init(_arg1:Number, _arg2:Number, _arg3:Number):void{
this.v.set((Math.sin(_arg3) * ION_SPEED), (-(Math.cos(_arg3)) * ION_SPEED));
clip.x = _arg1;
clip.y = _arg2;
clip.rotation = ((_arg3 * 180) / Math.PI);
clip.alpha = 100;
clip.visible = true;
clip.gotoAndPlay(1);
}
override public function deactivate():void{
pool.decrementObjectCount();
clip.visible = false;
active = false;
}
override public function update(_arg1:Number):void{
clip.x = (clip.x - (v.x * _arg1));
clip.y = (clip.y - (v.y * _arg1));
clip.alpha = (clip.alpha - (_arg1 * 150));
if (clip.alpha <= 0){
deactivate();
};
}
public static function initStart():void{
var _local1:Ion = new Ion(0);
pool = new ManagedPool("IonPool", _local1, MAX_IONS);
}
public static function create(_arg1:Number, _arg2:Number, _arg3:Number):Ion{
var _local4:Ion = Ion(pool.requestObject());
_local4.init(_arg1, _arg2, _arg3);
return (_local4);
}
}
}//package cowbandits
Section 23
//Ion_IonClip (cowbandits.Ion_IonClip)
package cowbandits {
import flash.display.*;
import mx.core.*;
public class Ion_IonClip extends MovieClipAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package cowbandits
Section 24
//Mincer (cowbandits.Mincer)
package cowbandits {
import flash.display.*;
import flesh.*;
public class Mincer {
public var offsetAngle:Number;
public var state:uint;
public var handleFrameTime:Number;
public var minceFrame:int;
public var handleFrame:uint;
public var offsetY:Number;
public var totalCowCount:uint;
public var frameCount:Number;
public var minceAmount:Number;
public var jetBackFrame:uint;
public var jetBottomFrame:uint;
public var baseY:Number;
public var jetBottomFlameFrame:int;
public var minceLevel:Number;
public var cowCount:uint;
public var pos:Vector;
public var targetMinceAmount:Number;
public var exhaustFrame:uint;
public var queuedCows:uint;
public var handleFrameCount:Number;
public var minceAmountPerCow:Number;
private var component:Object;
public var stateTime:Number;
public static var STATE_POST_MINCING:Number = 5;
public static var EXHAUST_SIZEY:Number = 75;
public static var STATE_PRE_MINCING:Number = 2;
public static var MAX_HANDLE_FRAME_TIME:Number = 0.2;
public static var MINCE_SIZEY:Number = 76;
public static var JETBACK_SIZEY:Number = 48;
public static var STATE_MINCING:Number = 4;
public static var JETBOTTOM_SIZEY:Number = 27;
public static var HANDLE_SIZEY:Number = 107;
public static var WIDTH:Number = 176;
public static var HEIGHT:Number = 144;
public static var JETBOTTOMFLAME_SIZEY:Number = 46;
public static var MIN_HANDLE_FRAME_TIME:Number = 0.02;
public static var STATE_PRE_MINCING_DELAY:Number = 1;
public static var STATE_MINCING_DELAY:Number = 3;
public static var STATE_IDLE:Number = 0;
public static var D_HANDLE_FRAME_TIME:Number = 0.08;
public static var MINCE_RISE_SPEED:Number = 0.06;
public function Mincer(_arg1:Object):void{
this.component = _arg1;
pos = new Vector(0, 0);
}
public function init(_arg1:Number, _arg2:Number):void{
baseY = _arg2;
offsetAngle = 0;
pos.set(_arg1, _arg2);
handleFrame = 0;
jetBackFrame = 0;
jetBottomFrame = 0;
jetBottomFlameFrame = -1;
minceFrame = 0;
exhaustFrame = 0;
frameCount = 0;
cowCount = 0;
minceAmount = 0;
minceLevel = 12;
queuedCows = 0;
state = STATE_IDLE;
}
public function isSolidAt(_arg1:Number, _arg2:Number):Boolean{
if ((((_arg1 < pos.x)) || ((_arg1 > (pos.x + WIDTH))))){
return (false);
};
if ((((_arg2 < pos.y)) || ((_arg2 > (pos.y + HEIGHT))))){
return (false);
};
return (Engine.bitmaps.isBitmapSolidAt(BitmapEmbedder.OB_MINCER, (_arg1 - pos.x), (_arg2 - pos.y)));
}
public function cowDroppedIn():void{
queuedCows++;
cowCount++;
Engine.guiMovie.cowsLeftText.text = ((cowCount + "/") + totalCowCount);
}
public function update(_arg1:Number):void{
var _local2 = (offsetAngle < Utils.RAD270);
offsetAngle = (offsetAngle + (_arg1 * 2));
if (((_local2) && ((offsetAngle >= Utils.RAD270)))){
jetBottomFlameFrame = 0;
};
if (offsetAngle > Utils.RAD360){
offsetAngle = (offsetAngle - Utils.RAD360);
};
pos.y = (baseY - (Math.sin(offsetAngle) * 6));
switch (state){
case STATE_IDLE:
if (queuedCows > 0){
queuedCows--;
targetMinceAmount = ((cowCount - queuedCows) * minceAmountPerCow);
minceFrame = 0;
handleFrameCount = 0;
handleFrameTime = MAX_HANDLE_FRAME_TIME;
stateTime = 0;
state = STATE_PRE_MINCING_DELAY;
};
break;
case STATE_PRE_MINCING_DELAY:
if (Engine.zoomingToFinalCow){
_arg1 = (_arg1 * 0.2);
};
stateTime = (stateTime + _arg1);
if (stateTime > 1){
state = STATE_PRE_MINCING;
SoundManager.playSound(SoundManager.SOUND_GRINDER);
};
break;
case STATE_MINCING_DELAY:
stateTime = (stateTime + _arg1);
if (stateTime > 1){
state = STATE_MINCING;
};
break;
case STATE_PRE_MINCING:
if (handleFrameTime > MIN_HANDLE_FRAME_TIME){
handleFrameTime = (handleFrameTime - (D_HANDLE_FRAME_TIME * _arg1));
if (handleFrameTime <= MIN_HANDLE_FRAME_TIME){
stateTime = 0;
state = STATE_MINCING_DELAY;
};
};
break;
case STATE_POST_MINCING:
if (handleFrameTime < MAX_HANDLE_FRAME_TIME){
handleFrameTime = (handleFrameTime + (D_HANDLE_FRAME_TIME * _arg1));
if (handleFrameTime >= MAX_HANDLE_FRAME_TIME){
state = STATE_IDLE;
};
};
break;
case STATE_MINCING:
if (minceAmount < targetMinceAmount){
minceAmount = (minceAmount + (MINCE_RISE_SPEED * _arg1));
if (minceAmount >= targetMinceAmount){
minceAmount = targetMinceAmount;
if (queuedCows > 0){
queuedCows--;
targetMinceAmount = ((cowCount - queuedCows) * minceAmountPerCow);
} else {
state = STATE_POST_MINCING;
};
if (minceAmount == 1){
component.requestLevelComplete();
};
};
minceLevel = ((120 * minceAmount) + 12);
};
break;
};
if (((!((state == STATE_IDLE))) && (!((state == STATE_PRE_MINCING_DELAY))))){
handleFrameCount = (handleFrameCount + _arg1);
if (handleFrameCount > handleFrameTime){
handleFrameCount = 0;
handleFrame++;
if (handleFrame > 11){
handleFrame = 0;
};
};
};
frameCount = (frameCount + _arg1);
if (frameCount > 0.1){
frameCount = 0;
if ((((((state == STATE_MINCING)) || ((state == STATE_POST_MINCING)))) && (!((minceFrame == -1))))){
minceFrame++;
if (state == STATE_MINCING){
if (minceFrame > 11){
minceFrame = 9;
};
} else {
if (state == STATE_POST_MINCING){
if (minceFrame > 20){
minceFrame = -1;
};
};
};
exhaustFrame++;
if (exhaustFrame > 5){
exhaustFrame = 0;
};
jetBackFrame++;
if (jetBackFrame > 16){
jetBackFrame = 0;
};
};
if (jetBottomFlameFrame > -1){
jetBottomFlameFrame++;
if (jetBottomFlameFrame > 9){
jetBottomFlameFrame = -1;
};
};
jetBottomFrame++;
if (jetBottomFrame > 1){
jetBottomFrame = 0;
};
};
}
public function setCowCount(_arg1:Number):void{
totalCowCount = _arg1;
minceAmountPerCow = (1 / totalCowCount);
Engine.guiMovie.cowsLeftText.text = ((0 + "/") + totalCowCount);
}
public function paint(_arg1:FleshGraphics):void{
if (!Engine.isOnScreen(pos.x, pos.y, 222, 143)){
return;
};
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_MINCER_HANDLE), (pos.x + 176), (pos.y + 23), 0, (HANDLE_SIZEY * handleFrame), 0, HANDLE_SIZEY);
if ((((((state == STATE_MINCING)) || ((state == STATE_POST_MINCING)))) && (!((minceFrame == -1))))){
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_MINCER_EXHAUST), (pos.x + 166), (pos.y + 97), 0, (EXHAUST_SIZEY * exhaustFrame), 0, EXHAUST_SIZEY);
};
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_MINCER_JETBACK), (pos.x + 120), (pos.y + 104), 0, (JETBACK_SIZEY * jetBackFrame), 0, JETBACK_SIZEY);
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_MINCER_JETBOTTOM_FLAME), (pos.x + 64), (pos.y + 126), 0, (JETBOTTOMFLAME_SIZEY * jetBottomFlameFrame), 0, JETBOTTOMFLAME_SIZEY);
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_MINCER_JETBOTTOM), (pos.x + 76), (pos.y + 111), 0, (JETBOTTOM_SIZEY * jetBottomFrame), 0, JETBOTTOM_SIZEY);
if ((((((state == STATE_MINCING)) || ((state == STATE_POST_MINCING)))) && (!((minceFrame == -1))))){
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_MINCER_MINCE_MINCED), (pos.x + 20), (pos.y + 56), 0, (MINCE_SIZEY * minceFrame), 0, MINCE_SIZEY);
};
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_MINCER_MINCE), (pos.x + 3), (((pos.y + 12) - minceLevel) + 132), 0, (132 - minceLevel), 0, minceLevel);
Engine.objectBackground.drawImageUntransformed(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_MINCER), pos.x, pos.y, 0, 0, 0, 0);
}
public function inPlaceToDropCow(_arg1:Number, _arg2:Number):Boolean{
return ((((((((_arg1 >= (pos.x + 67))) && ((_arg1 <= (pos.x + 166))))) && ((pos.y > _arg2)))) && (((pos.y - _arg2) < 128))));
}
public function canLandAt(_arg1:Number, _arg2:Number):Boolean{
if (!isSolidAt(_arg1, _arg2)){
return (false);
};
var _local3:Number = (_arg1 - pos.x);
if ((((_local3 < 65)) || ((_local3 > 156)))){
return (false);
};
return (true);
}
}
}//package cowbandits
Section 25
//NavigationNetwork (cowbandits.NavigationNetwork)
package cowbandits {
import flash.display.*;
import flesh.*;
public class NavigationNetwork {
private var open:Array;
private var testSource:NavigationNode;
private var testDest:NavigationNode;
private var testState:Number;
private var testRoute:Array;
private var closed:Array;
private var nodeCount:Number;
private var nodes:Array;
public static var TESTSTATE_BOTH_SELECTED:uint = 2;
public static var LOAD_DEBUG:Boolean = false;
public static var TESTSTATE_SOURCE_SELECTED:uint = 1;
public static var ASTAR_DEBUG:Boolean = false;
public static var NODE_COLOUR:uint = 4294967040;
public static var MAXNODES:uint = 120;
public static var LINK_COLOUR:uint = 4294901760;
public static var TEST_COLOUR:uint = 4288256511;
public static var TESTSTATE_NOTHING_SELECTED:uint = 0;
public static var NAVIGATION_GRIDSIZE:uint = 16;
public function NavigationNetwork(){
nodes = new Array();
var _local1:uint;
while (_local1 < MAXNODES) {
nodes.push(new NavigationNode(_local1));
_local1++;
};
testRoute = new Array();
open = new Array();
closed = new Array();
}
public function reset():void{
var _local1:uint = MAXNODES;
while (--_local1 >= 0) {
nodes[_local1].reset();
};
}
public function aStar(_arg1:NavigationNode, _arg2:NavigationNode, _arg3:Array):void{
var _local4:uint;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:NavigationNode;
var _local9:Number;
var _local10:NavigationNode;
var _local11:Number;
var _local12:Array;
var _local13:NavigationNode;
var _local14:Number;
open.splice(0);
closed.splice(0);
_arg3.splice(0);
_arg1.f = (_arg1.g = 0);
open.push(_arg1);
while (open.length > 0) {
_local9 = 10000000;
_local4 = open.length;
while (--_local4 >= 0) {
_local10 = open[_local4];
_local11 = _local10.f;
if (_local11 < _local9){
_local9 = _local11;
_local8 = _local10;
};
};
if (_local8 == _arg2){
_local12 = new Array();
_local13 = _local8;
if (ASTAR_DEBUG){
trace((((("going from " + _arg1.id) + " to ") + _arg2.id) + ":"));
};
while (true) {
if (ASTAR_DEBUG){
trace(("inserting node " + _local13.id));
};
_local12.push(_local13);
if (_local13 == _arg1){
break;
};
_local13 = _local13.parent;
};
_local4 = _local12.length;
while (--_local4 >= 0) {
_arg3.push(_local12[_local4]);
};
if (ASTAR_DEBUG){
trace(("route found length = " + _arg3.length));
};
return;
};
removeElementFromArray(open, _local8);
closed.push(_local8);
_local4 = _local8.linkedNodes.length;
while (--_local4 >= 0) {
_local10 = _local8.linkedNodes[_local4];
if (arrayContains(closed, _local10)){
} else {
_local14 = (_local8.g + _local8.getDistanceToLink(_local4));
if (!arrayContains(open, _local10)){
open.push(_local10);
_local10.parent = _local8;
_local10.g = _local14;
_local5 = (_arg2.position.x - _local10.position.x);
_local6 = (_arg2.position.y - _local10.position.y);
_local7 = Math.sqrt(((_local5 * _local5) + (_local6 * _local6)));
_local10.f = (_local10.g + _local7);
} else {
if (_local14 < _local10.g){
_local10.parent = _local8;
_local10.g = _local14;
_local5 = (_arg2.position.x - _local10.position.x);
_local6 = (_arg2.position.y - _local10.position.y);
_local7 = Math.sqrt(((_local5 * _local5) + (_local6 * _local6)));
_local10.f = (_local10.g + _local7);
};
};
};
};
};
if (ASTAR_DEBUG){
trace("no path found");
};
}
public function testClick(_arg1:Number, _arg2:Number):void{
var _local3:NavigationNode = getNearestNodeTo(_arg1, _arg2);
switch (testState){
case TESTSTATE_NOTHING_SELECTED:
testSource = _local3;
testState = TESTSTATE_SOURCE_SELECTED;
break;
case TESTSTATE_SOURCE_SELECTED:
testDest = _local3;
testRoute.splice(0);
aStar(testSource, testDest, testRoute);
testState = TESTSTATE_BOTH_SELECTED;
break;
case TESTSTATE_BOTH_SELECTED:
testState = TESTSTATE_NOTHING_SELECTED;
break;
};
}
public function removeElementFromArray(_arg1:Array, _arg2:Object):void{
var _local3:uint = _arg1.length;
while (--_local3 >= 0) {
if (_arg1[_local3] == _arg2){
_arg1.splice(_local3, 1);
return;
};
};
}
public function paint(_arg1:Graphics):void{
var _local2:uint = nodeCount;
while (--_local2 >= 0) {
nodes[_local2].paintLinks(_arg1);
};
_local2 = nodeCount;
while (--_local2 >= 0) {
nodes[_local2].paintNode(_arg1);
};
}
public function parseXML(_arg1:XML):void{
var _local5:Number;
var _local6:XML;
var _local7:XML;
var _local8:uint;
var _local9:XML;
var _local10:uint;
var _local11:XML;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:XML;
var _local16:Number;
var _local17:Number;
reset();
testState = TESTSTATE_NOTHING_SELECTED;
var _local2:XML = _arg1.children()[1];
var _local3:XML = _local2.children()[0];
if (LOAD_DEBUG){
trace(("subgraphs.childNodes count = " + _local3.children().length()));
};
nodeCount = 0;
var _local4:uint;
while (_local4 < _local3.children().length()) {
_local5 = nodeCount;
_local6 = _local3.children()[_local4];
_local7 = _local6.children()[0];
if (LOAD_DEBUG){
trace((("loading " + _local7.children().length()) + " nodes"));
};
_local8 = 0;
while (_local8 < _local7.children().length()) {
_local11 = _local7.children()[_local8];
_local12 = _local11.attribute("id");
_local13 = _local11.attribute("x");
_local14 = _local11.attribute("y");
if (LOAD_DEBUG){
trace((((((" node " + nodeCount) + " at ") + _local13) + ",") + _local14));
};
nodes[nodeCount].setPosition((_local13 * NAVIGATION_GRIDSIZE), (_local14 * NAVIGATION_GRIDSIZE));
nodeCount++;
_local8++;
};
_local9 = _local6.children()[1];
if (LOAD_DEBUG){
trace(("edgeCount = " + _local9.children().length()));
};
_local10 = 0;
while (_local10 < _local9.children().length()) {
_local15 = _local9.children()[_local10];
_local16 = (parseInt(_local15.attribute("sourceNode")) + _local5);
_local17 = (parseInt(_local15.attribute("sinkNode")) + _local5);
nodes[_local16].addLink(nodes[_local17]);
nodes[_local17].addLink(nodes[_local16]);
if (LOAD_DEBUG){
trace((((" edge from node " + _local16) + " to ") + _local17));
};
_local10++;
};
_local4++;
};
Engine.loadedNav = true;
Engine.ship.initNav();
Drone.initNavAll();
Engine.loadNextXMLFile();
}
public function getNearestNodeTo(_arg1:Number, _arg2:Number):NavigationNode{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:NavigationNode;
var _local3:Number = 1000000;
var _local4:Number = -1;
var _local9:uint = nodeCount;
while (--_local9 >= 0) {
_local8 = nodes[_local9];
_local5 = (_arg1 - _local8.position.x);
_local6 = (_arg2 - _local8.position.y);
_local7 = Math.sqrt(((_local5 * _local5) + (_local6 * _local6)));
if (_local7 < _local3){
_local3 = _local7;
_local4 = _local9;
};
};
return (nodes[_local4]);
}
public function arrayContains(_arg1:Array, _arg2:Object):Boolean{
var _local3:uint = _arg1.length;
while (--_local3 >= 0) {
if (_arg1[_local3] == _arg2){
return (true);
};
};
return (false);
}
public function getNearestNodeToLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):NavigationNode{
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:NavigationNode;
var _local5:Number = 1000000;
var _local6:Number = -1;
var _local11:uint = nodeCount;
while (--_local11 >= 0) {
_local10 = nodes[_local11];
_local9 = Utils.getDistanceBetweenLineAndPoint(_arg1, _arg2, _arg3, _arg4, _local10.position.x, _local10.position.y);
if (_local9 < _local5){
_local5 = _local9;
_local6 = _local11;
};
};
return (nodes[_local6]);
}
}
}//package cowbandits
Section 26
//NavigationNode (cowbandits.NavigationNode)
package cowbandits {
import flash.display.*;
import flesh.*;
public class NavigationNode {
public var linkedDistances:Array;
public var f:Number;
public var g:Number;
public var position:Vector;
public var parent:NavigationNode;
public var linkedNodes:Array;
public var id:Number;
public function NavigationNode(_arg1:Number):void{
id = _arg1;
linkedNodes = new Array();
linkedDistances = new Array();
position = new Vector(0, 0);
}
public function getDistanceToLink(_arg1:Number):Number{
return (linkedDistances[_arg1]);
}
public function addLink(_arg1:NavigationNode):void{
linkedNodes.push(_arg1);
var _local2:Number = (position.x - _arg1.position.x);
var _local3:Number = (position.y - _arg1.position.y);
var _local4:Number = Math.sqrt(((_local2 * _local2) + (_local3 * _local3)));
linkedDistances.push(_local4);
}
public function setPosition(_arg1:Number, _arg2:Number):void{
position.set(_arg1, _arg2);
}
public function paintNode(_arg1:Graphics):void{
_arg1.beginFill(NavigationNetwork.NODE_COLOUR);
_arg1.drawCircle(((position.x - 4) - Engine.cameraX), ((position.y - 4) - Engine.cameraY), 8);
_arg1.endFill();
}
public function reset():void{
linkedNodes.splice(0);
linkedDistances.splice(0);
}
public function getDistanceFromNode(_arg1:NavigationNode):Number{
var _local2:Vector = _arg1.position.clone();
_local2.subtractVector(position);
return (_local2.length());
}
public function paintLinks(_arg1:Graphics):void{
var _local2:Vector;
var _local3:uint = linkedNodes.length;
while (--_local3 >= 0) {
_local2 = linkedNodes[_local3].position;
_arg1.lineStyle(2, NavigationNetwork.LINK_COLOUR);
_arg1.moveTo((position.x - Engine.cameraX), (position.y - Engine.cameraY));
_arg1.lineTo((_local2.x - Engine.cameraX), (_local2.y - Engine.cameraY));
};
}
}
}//package cowbandits
Section 27
//Rope (cowbandits.Rope)
package cowbandits {
import flash.display.*;
import flesh.*;
public class Rope {
public var pointsBuffer:Array;
public var endOfRopeForce:Vector;
public var points:Array;
public var baseLength:Number;
public var forceOnEndOfRope:Boolean;
public var velocities:Array;
public static var POINTCOUNT:uint = 4;
public static var DAMPING:Number = 0.6;
public static var GRAVITY:uint = 50;
public static var STIFFNESS:Number = 0.9;
public function Rope():void{
points = new Array();
pointsBuffer = new Array();
velocities = new Array();
endOfRopeForce = new Vector(0, 0);
var _local1:uint;
while (_local1 < POINTCOUNT) {
points.push(new Vector(0, 0));
pointsBuffer.push(new Vector(0, 0));
velocities.push(new Vector(0, 0));
_local1++;
};
}
public function getAngleAtBottom():Number{
return (Utils.getAngle((points[(POINTCOUNT - 2)].x - points[(POINTCOUNT - 1)].x), (points[(POINTCOUNT - 2)].y - points[(POINTCOUNT - 1)].y)));
}
public function update(_arg1:Number, _arg2:Vector):void{
var _local4:Vector;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Vector;
var _local10:Number;
var _local11:Number;
points[0].setVector(_arg2);
var _local3:uint = 1;
while (_local3 < POINTCOUNT) {
_local4 = new Vector(0, 0);
_local4 = points[(_local3 - 1)].clone();
_local4.subtractVector(points[_local3]);
_local5 = _local4.length();
_local6 = (_local5 - baseLength);
_local7 = ((_local4.x / _local5) * _local6);
_local8 = ((_local4.y / _local5) * _local6);
if (_local3 < (POINTCOUNT - 1)){
_local9 = new Vector(0, 0);
_local9 = points[(_local3 + 1)].clone();
_local9.subtractVector(points[_local3]);
_local10 = _local9.length();
_local11 = (_local10 - baseLength);
_local7 = (_local7 + ((_local9.x / _local10) * _local11));
_local8 = (_local8 + ((_local9.y / _local10) * _local11));
};
if ((((_local3 == (POINTCOUNT - 1))) && (forceOnEndOfRope))){
_local7 = endOfRopeForce.x;
_local8 = endOfRopeForce.y;
forceOnEndOfRope = false;
};
_local8 = (_local8 + (GRAVITY * _arg1));
velocities[_local3].x = ((velocities[_local3].x * DAMPING) + (_local7 * STIFFNESS));
velocities[_local3].y = ((velocities[_local3].y * DAMPING) + (_local8 * STIFFNESS));
pointsBuffer[_local3].x = (points[_local3].x + velocities[_local3].x);
pointsBuffer[_local3].y = (points[_local3].y + velocities[_local3].y);
_local3++;
};
_local3 = 1;
while (_local3 < POINTCOUNT) {
points[_local3].setVector(pointsBuffer[_local3]);
_local3++;
};
}
public function applyForceToEndOfRope(_arg1:Number, _arg2:Number):void{
endOfRopeForce.set(_arg1, _arg2);
forceOnEndOfRope = true;
}
public function init(_arg1:Vector, _arg2:Vector):void{
points[0].setVector(_arg1);
points[(POINTCOUNT - 1)].setVector(_arg2);
var _local3:Vector = _arg2.clone();
_local3.subtractVector(_arg1);
baseLength = 20;
_local3.divide((POINTCOUNT - 1));
var _local4:Vector = _arg1.clone();
var _local5:uint = 1;
while (_local5 < (POINTCOUNT - 1)) {
_local4.addVector(_local3);
points[_local5].setVector(_local4);
_local5++;
};
_local5 = 0;
while (_local5 < POINTCOUNT) {
velocities[_local5].set(0, 0);
_local5++;
};
baseLength = (baseLength / (POINTCOUNT - 1));
forceOnEndOfRope = false;
}
public function getEndPosition():Vector{
return (points[(POINTCOUNT - 1)]);
}
public function paint():void{
Engine.ropeGraphics.moveTo((points[0].x - Engine.cameraX), (points[0].y - Engine.cameraY));
var _local1:uint = 1;
while (_local1 < (POINTCOUNT - 1)) {
Engine.ropeGraphics.lineStyle(3, 16777164);
Engine.ropeGraphics.lineTo((points[_local1].x - Engine.cameraX), (points[_local1].y - Engine.cameraY));
_local1++;
};
}
}
}//package cowbandits
Section 28
//Ship (cowbandits.Ship)
package cowbandits {
import flash.display.*;
import flesh.*;
import flash.filters.*;
public class Ship {
public var targetPos:Vector;
private var component:Engine;
public var timeBetweenShots:Number;
public var timeInAir:Number;
private var ShipSprite:Class;
public var turningAnticlockwise:Boolean;
public var centreBackPoint:Vector;
public var pos:Vector;
public var explodeTime:Number;
private var glowFilter:GlowFilter;
public var landedOnMincer:Boolean;
public var collidedInARowCount:uint;
public var collisionDirection:Vector;
public var v:Vector;
public var nosePoint:Vector;
public var targetClip:Sprite;
public var timeBetweenIons:Number;
public var rightWingPoint:Vector;
public var thrusting:Boolean;
private var cow:BeamTarget;
public var invincibleTime:Number;
public var state:uint;
public var dir:Vector;
public var timeBeforeCanRope:Number;
public var beamUpTime:Number;
private var hueFilter:HueColorMatrixFilter;
public var movieClip:Sprite;
public var rotateSpeed:Number;
public var roped:Boolean;
public var reverseThrusting:Boolean;
public var landed:Boolean;
public var angle:Number;
private var TargetSprite:Class;
public var turningClockwise:Boolean;
private var flashRedTime:Number;
public var rope:Rope;
public var hue:Number;
private var closestNode:NavigationNode;
public var collisionCount:uint;
public var leftWingPoint:Vector;
public static var STATE_PORTING_OUT:uint = 2;
public static var STATE_LEVEL_COMPLETE:uint = 4;
public static var TIME_LEFT_WHEN_FLASH_FAST:Number = 10;
public static var SHOT_COLLISION_DIST_SQUARED:Number = 81;
public static var TIME_BETWEEN_SHOTS:Number = 0.5;
public static var STATE_PORTING_IN:uint = 1;
public static var TIME_BETWEEN_IONS:Number = 0.2;
public static var COW_GRAVITY:Number = 6;
public static var LANDANGLE_MIN:Number = 0.349065850398866;
public static var MAX_SPEED:Number = 12;
public static var LANDANGLE_MAX:Number = ((Math.PI * 2) - LANDANGLE_MIN);
public static var GRAVITY:Number = 3;
public static var AIR_FRICTION:Number = 0.95;
public static var STATE_EXPLODING:uint = 3;
public static var TIME_LEFT_WHEN_FLASH:Number = 20;
public static var STRAFE_POWER:Number = 6;
public static var COLLISION_POWER:Number = 4;
public static var STATE_NORMAL:uint = 0;
public static var KEYBOARD_TURN_SPEED:Number = 4.5;
public static var THRUST_POWER:Number = 25;
public function Ship(_arg1:Engine):void{
ShipSprite = Ship_ShipSprite;
TargetSprite = Ship_TargetSprite;
super();
this.component = _arg1;
movieClip = new ShipSprite();
targetClip = new TargetSprite();
Engine.gameSprite.addChild(movieClip);
Engine.gameSprite.addChild(targetClip);
pos = new Vector(0, 0);
v = new Vector(0, 0);
dir = new Vector(0, 0);
targetPos = new Vector(0, 0);
nosePoint = new Vector(0, 0);
leftWingPoint = new Vector(0, 0);
rightWingPoint = new Vector(0, 0);
centreBackPoint = new Vector(0, 0);
collisionDirection = new Vector(0, 0);
setAngle(0);
hueFilter = new HueColorMatrixFilter();
glowFilter = new GlowFilter(0xFF0000, 0.75, 16, 16, 4, 2, true, false);
rope = new Rope();
}
public function checkCollisionAlongLine(_arg1:Vector, _arg2:Vector, _arg3:Number, _arg4:Boolean):void{
var _local11:Number;
var _local5:Vector = new Vector((_arg2.x - _arg1.x), (_arg2.y - _arg1.y));
var _local6:Number = _local5.unit();
_local5.multiply(_arg3);
var _local7:Number = (Math.floor((_local6 / _arg3)) + 1);
var _local8:Number = _arg1.x;
var _local9:Number = _arg1.y;
var _local10:uint;
for (;_local10 < _local7;_local10++) {
if (Engine.tiledBackground.isSolidAt(_local8, _local9)){
if (_arg4){
_local11 = Engine.tiledBackground.getTileTypeAt(_local8, _local9);
if ((((_local11 == Engine.TILE_LANDING_PAD0)) || ((_local11 == Engine.TILE_LANDING_PAD1)))){
landed = true;
continue;
};
if (Engine.mincer.canLandAt(_local8, _local9)){
landed = true;
landedOnMincer = true;
continue;
};
};
collisionDirection.add((_local8 - pos.x), (_local9 - pos.y));
collisionCount++;
};
_local8 = (_local8 + _local5.x);
_local9 = (_local9 + _local5.y);
};
}
public function portOut():void{
state = STATE_PORTING_OUT;
movieClip["shipGlow"].alpha = 0;
v.set(0, 0);
rotateSpeed = 0.1;
hue = 0;
}
public function init(_arg1:uint, _arg2:uint):void{
pos.set(_arg1, _arg2);
v.set(0, 0);
setAngle(0);
timeInAir = 0;
timeBetweenIons = 0;
timeBetweenShots = 0;
targetClip.alpha = 0;
targetClip.scaleX = 0;
targetClip.scaleY = 0;
movieClip["shipGlow"].alpha = 0;
movieClip["shipGlowBad"].alpha = 0;
movieClip.filters = [];
invincibleTime = 0;
timeBeforeCanRope = 0;
flashRedTime = 0;
collidedInARowCount = 0;
landed = false;
landedOnMincer = false;
thrusting = false;
reverseThrusting = false;
roped = false;
cow = undefined;
}
public function updateMovieClipPos():void{
movieClip.x = (pos.x - Engine.cameraX);
movieClip.y = (pos.y - Engine.cameraY);
if (Engine.timeLeft < TIME_LEFT_WHEN_FLASH_FAST){
movieClip.x = (movieClip.x + ((Math.random() * 4) - 2));
movieClip.y = (movieClip.y + ((Math.random() * 4) - 2));
} else {
if (Engine.timeLeft < TIME_LEFT_WHEN_FLASH){
movieClip.x = (movieClip.x + ((Math.random() * 2) - 1));
movieClip.y = (movieClip.y + ((Math.random() * 2) - 1));
};
};
}
public function getRotatedPoint(_arg1:Number, _arg2:Number):Vector{
var _local3:Number = (dir.y * _arg1);
var _local4:Number = (dir.x * _arg1);
var _local5:Number = (dir.y * _arg2);
var _local6:Number = -((dir.x * _arg2));
return (new Vector((_local3 + _local6), (_local4 + _local5)));
}
public function detachRope():void{
if (roped){
Cow(cow).brokenFreeOfRope(0, 0);
breakRope();
};
}
public function checkShot(_arg1:Number, _arg2:Number):Boolean{
var _local3:Number = (_arg1 - pos.x);
var _local4:Number = (_arg2 - pos.y);
if (((_local3 * _local3) + (_local4 * _local4)) < SHOT_COLLISION_DIST_SQUARED){
SoundManager.playSound(SoundManager.SOUND_SHIP_HIT_WALL);
takeDamage(Engine.TIME_SHIP_SHOT);
return (true);
};
return (false);
}
public function fire():void{
Shot.create(Shot.TYPE_SHIP, nosePoint.x, nosePoint.y, angle);
}
public function setThrusting(_arg1:Boolean):void{
if (((!((state == STATE_NORMAL))) || (Engine.zoomingToFinalCow))){
return;
};
if (((!(thrusting)) && (_arg1))){
SoundManager.playSound(SoundManager.SOUND_SHIP_THRUST, true, 0, SoundManager.volumes[SoundManager.SOUND_SHIP_THRUST], 0, true);
} else {
if (((thrusting) && (!(_arg1)))){
SoundManager.fadeOutSound(SoundManager.SOUND_SHIP_THRUST);
};
};
thrusting = _arg1;
}
public function setReverseThrusting(_arg1:Boolean):void{
if (state != STATE_NORMAL){
return;
};
reverseThrusting = _arg1;
}
public function strafeRight():void{
if (state != STATE_NORMAL){
return;
};
v.add((Math.sin((angle + Utils.RAD90)) * STRAFE_POWER), (-(Math.cos((angle + Utils.RAD90))) * STRAFE_POWER));
}
public function paint():void{
if (roped){
rope.paint();
};
}
public function setTurning(_arg1:Boolean, _arg2:Boolean):void{
if (_arg2){
turningClockwise = _arg1;
} else {
turningAnticlockwise = _arg1;
};
}
public function glow():void{
movieClip["shipGlow"].alpha = 1;
}
public function portIn():void{
state = STATE_PORTING_IN;
movieClip.alpha = 0;
movieClip["shipGlow"].alpha = 1;
rotateSpeed = 5;
hue = 0;
}
public function setAngle(_arg1:Number):void{
angle = _arg1;
if (angle < 0){
angle = (angle + Utils.RAD360);
} else {
if (angle > Utils.RAD360){
angle = (angle - Utils.RAD360);
};
};
dir.set(Math.sin(angle), Math.cos(angle));
nosePoint.setVector(pos);
nosePoint.addVector(getRotatedPoint(0, -16));
leftWingPoint.setVector(pos);
leftWingPoint.addVector(getRotatedPoint(-16, 16));
rightWingPoint.setVector(pos);
rightWingPoint.addVector(getRotatedPoint(16, 16));
centreBackPoint.setVector(pos);
centreBackPoint.addVector(getRotatedPoint(0, 16));
movieClip.rotation = ((angle * 180) / Math.PI);
}
public function breakRope():void{
roped = false;
cow = undefined;
}
public function checkCollisions(_arg1:Number):void{
landed = false;
landedOnMincer = false;
collisionCount = 0;
collisionDirection.set(0, 0);
var _local2:Boolean = (((timeInAir > 0.2)) && ((((angle > LANDANGLE_MAX)) || ((angle < LANDANGLE_MIN)))));
checkCollisionAlongLine(nosePoint, leftWingPoint, 4, false);
checkCollisionAlongLine(nosePoint, rightWingPoint, 4, false);
checkCollisionAlongLine(leftWingPoint, rightWingPoint, 4, _local2);
if (collisionCount > 0){
landed = false;
collisionDirection.divide(collisionCount);
v.set(((-(collisionDirection.x) * COLLISION_POWER) * _arg1), ((-(collisionDirection.y) * COLLISION_POWER) * _arg1));
if (invincibleTime <= 0){
SoundManager.playSound(SoundManager.SOUND_SHIP_HIT_WALL);
};
takeDamage(Engine.TIME_SHIP_COLLIDED);
collidedInARowCount++;
if (collidedInARowCount > 20){
Engine.changeTimeLeft(-10);
};
} else {
collidedInARowCount = 0;
};
if (landed){
land();
};
}
public function strafeLeft():void{
if (state != STATE_NORMAL){
return;
};
v.add((-(Math.sin((angle + Utils.RAD90))) * STRAFE_POWER), (Math.cos((angle + Utils.RAD90)) * STRAFE_POWER));
}
public function update(_arg1:Number):void{
var _local2:Number;
var _local5:uint;
var _local6:Number;
var _local7:Number;
var _local8:BeamTarget;
var _local9:Cow;
var _local10:Number;
var _local11:Number;
updateMovieClipPos();
if (invincibleTime > 0){
invincibleTime = (invincibleTime - _arg1);
};
if (movieClip["shipGlow"].alpha > 0){
_local2 = (-(movieClip["shipGlow"].alpha) * 0.1);
if (Math.abs(_local2) < 0.01){
movieClip["shipGlow"].alpha = 0;
} else {
movieClip["shipGlow"].alpha = (movieClip["shipGlow"].alpha + _local2);
};
};
if (movieClip["shipGlowBad"].alpha > 0){
_local2 = (-(movieClip["shipGlowBad"].alpha) * 0.1);
if (Math.abs(_local2) < 0.01){
movieClip["shipGlowBad"].alpha = 0;
} else {
movieClip["shipGlowBad"].alpha = (movieClip["shipGlowBad"].alpha + _local2);
};
};
if (Engine.timeLeft < TIME_LEFT_WHEN_FLASH){
flashRedTime = (flashRedTime + _arg1);
_local5 = Math.floor((flashRedTime * ((Engine.timeLeft < TIME_LEFT_WHEN_FLASH_FAST)) ? 3 : 2));
if (Engine.timeLeft < TIME_LEFT_WHEN_FLASH_FAST){
glowFilter.alpha = 0.75;
} else {
glowFilter.alpha = 0.5;
};
if ((_local5 & 1) == 1){
movieClip.filters = [glowFilter];
} else {
movieClip.filters = [];
};
} else {
if (state == STATE_NORMAL){
movieClip.filters = [];
};
};
switch (state){
case STATE_EXPLODING:
explodeTime = (explodeTime + _arg1);
if (explodeTime > 2){
Engine.initLevelFailed();
};
break;
case STATE_PORTING_IN:
setAngle((angle + rotateSpeed));
rotateSpeed = (rotateSpeed * 0.9);
if (rotateSpeed < 0.1){
hueFilter.hue = 0;
movieClip.alpha = 1;
movieClip["shipGlow"].alpha = 0;
state = STATE_NORMAL;
} else {
movieClip.alpha = ((5 - rotateSpeed) / 5);
movieClip["shipGlow"].alpha = (rotateSpeed / 5);
hue = (hue + (_arg1 * 1000));
hueFilter.hue = hue;
};
movieClip.filters = [hueFilter.Filter];
break;
case STATE_PORTING_OUT:
setAngle((angle - rotateSpeed));
rotateSpeed = (rotateSpeed * 1.11);
if (rotateSpeed > 5){
state = STATE_LEVEL_COMPLETE;
} else {
movieClip.alpha = ((5 - rotateSpeed) / 5);
movieClip["shipGlow"].alpha = (rotateSpeed / 5);
hue = (hue + (_arg1 * 1000));
hueFilter.hue = hue;
};
movieClip.filters = [hueFilter.Filter];
break;
};
if (((((!(landed)) && ((timeInAir > 0.2)))) && ((state == STATE_NORMAL)))){
checkCollisions(_arg1);
};
if ((((state == STATE_NORMAL)) && (thrusting))){
if (landed){
timeInAir = 0;
timeBetweenIons = TIME_BETWEEN_IONS;
};
landed = false;
v.add(((dir.x * THRUST_POWER) * _arg1), ((-(dir.y) * THRUST_POWER) * _arg1));
timeBetweenIons = (timeBetweenIons + _arg1);
if (timeBetweenIons > TIME_BETWEEN_IONS){
timeBetweenIons = 0;
Ion.create((centreBackPoint.x - Engine.cameraX), (centreBackPoint.y - Engine.cameraY), angle);
};
} else {
if ((((state == STATE_NORMAL)) && (reverseThrusting))){
if (landed){
timeInAir = 0;
timeBetweenIons = TIME_BETWEEN_IONS;
};
landed = false;
v.add(((-(dir.x) * THRUST_POWER) * _arg1), ((dir.y * THRUST_POWER) * _arg1));
timeBetweenIons = (timeBetweenIons + _arg1);
if (timeBetweenIons > TIME_BETWEEN_IONS){
timeBetweenIons = 0;
Ion.create((centreBackPoint.x - Engine.cameraX), (centreBackPoint.y - Engine.cameraY), (angle + Utils.RAD180));
};
};
};
if (landed){
if (landedOnMincer){
pos.y = (Engine.mincer.pos.y - 16);
};
} else {
if (state == STATE_NORMAL){
timeInAir = (timeInAir + _arg1);
if (!thrusting){
v.multiply(AIR_FRICTION);
};
if (state == STATE_NORMAL){
if (roped){
v.add(0, (COW_GRAVITY * _arg1));
} else {
v.add(0, (GRAVITY * _arg1));
};
};
if (v.length() > MAX_SPEED){
v.unit();
v.multiply(MAX_SPEED);
};
switch (state){
case STATE_NORMAL:
if (Engine.keyboardControls){
_local6 = angle;
if (turningClockwise){
_local6 = (_local6 - (KEYBOARD_TURN_SPEED * _arg1));
};
if (turningAnticlockwise){
_local6 = (_local6 + (KEYBOARD_TURN_SPEED * _arg1));
};
setAngle(_local6);
} else {
_local7 = Utils.getAngle(((Engine.mouseX + Engine.cameraX) - pos.x), ((Engine.mouseY + Engine.cameraY) - pos.y));
setAngle(_local7);
};
};
if (roped){
cow.setPosition(rope.getEndPosition());
} else {
if (timeBeforeCanRope > 0){
timeBeforeCanRope = (timeBeforeCanRope - _arg1);
} else {
_local8 = BeamTarget.getAvailableTarget(pos, angle);
if (_local8 == null){
cow = undefined;
} else {
_local9 = Cow(_local8);
if ((((((_local9.state == Cow.STATE_IDLE)) || ((_local9.state == Cow.STATE_FLYING)))) || ((_local9.state == Cow.STATE_LANDED_ON_GROUND)))){
if (cow == _local8){
beamUpTime = (beamUpTime + _arg1);
if (beamUpTime > 0.3){
cow.beamUp();
rope.init(centreBackPoint, cow.pos);
roped = true;
};
} else {
cow = _local8;
beamUpTime = 0;
};
};
};
};
};
};
};
pos.addVector(v);
var _local3:NavigationNode = closestNode;
closestNode = Engine.navigationNetwork.getNearestNodeTo(pos.x, pos.y);
if (closestNode != _local3){
Drone.updatePathAll(closestNode);
};
if (roped){
rope.update(_arg1, centreBackPoint);
};
var _local4:ShotTarget = ShotTarget.getAvailableTarget(pos, angle);
if (_local4 == null){
targetPos.x = (targetPos.x + ((pos.x - targetPos.x) / 7));
targetPos.y = (targetPos.y + ((pos.y - targetPos.y) / 7));
targetClip.alpha = (targetClip.alpha + ((0 - targetClip.alpha) / 7));
targetClip.scaleX = (targetClip.scaleX + ((0 - targetClip.scaleX) / 7));
targetClip.scaleY = targetClip.scaleX;
} else {
_local10 = (_local4.pos.x - targetPos.x);
_local11 = (_local4.pos.y - targetPos.y);
targetPos.x = (targetPos.x + (_local10 * 0.3));
targetPos.y = (targetPos.y + (_local11 * 0.3));
if ((((Math.abs(_local10) < 8)) && ((Math.abs(_local11) < 8)))){
timeBetweenShots = (timeBetweenShots + _arg1);
if (timeBetweenShots > TIME_BETWEEN_SHOTS){
timeBetweenShots = 0;
fire();
};
};
targetClip.alpha = (targetClip.alpha + ((1 - targetClip.alpha) / 7));
targetClip.scaleX = (targetClip.scaleX + ((1 - targetClip.scaleX) / 7));
targetClip.scaleY = targetClip.scaleX;
};
targetClip.x = (targetPos.x - Engine.cameraX);
targetClip.y = (targetPos.y - Engine.cameraY);
}
public function takeDamage(_arg1:Number):void{
if (invincibleTime > 0){
return;
};
movieClip["shipGlowBad"].alpha = 1;
Engine.changeTimeLeft(_arg1);
invincibleTime = 0.5;
}
public function explode():void{
var _local1:Number = 0;
while (_local1 < Utils.RAD360) {
Explosion.create((pos.x + (Math.sin(_local1) * 20)), (pos.y - (Math.cos(_local1) * 20)));
_local1 = (_local1 + Utils.RAD60);
};
if (roped){
breakRope();
};
movieClip.alpha = 0;
targetClip.alpha = 0;
v.set(0, 0);
explodeTime = 0;
thrusting = false;
state = STATE_EXPLODING;
}
public function land():void{
var _local1:uint;
setAngle(0);
v.set(0, 0);
SoundManager.playSound(SoundManager.SOUND_THUD);
if (landedOnMincer){
pos.y = (Engine.mincer.pos.y - 16);
} else {
_local1 = (rightWingPoint.y >> Engine.TILE_SCALE);
pos.y = ((_local1 << Engine.TILE_SCALE) - 2);
};
}
public function initNav():void{
closestNode = Engine.navigationNetwork.getNearestNodeTo(pos.x, pos.y);
}
}
}//package cowbandits
Section 29
//Ship_ShipSprite (cowbandits.Ship_ShipSprite)
package cowbandits {
import flash.display.*;
import mx.core.*;
public class Ship_ShipSprite extends SpriteAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package cowbandits
Section 30
//Ship_TargetSprite (cowbandits.Ship_TargetSprite)
package cowbandits {
import flash.display.*;
import mx.core.*;
public class Ship_TargetSprite extends SpriteAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package cowbandits
Section 31
//Shot (cowbandits.Shot)
package cowbandits {
import flash.display.*;
import flesh.*;
public class Shot extends PoolObject {
private var type:Number;
private var frameCount:Number;
private var exploded:Boolean;
private var frame:Number;
private var trailPositionPointer:Number;
private var trailPosition:Array;
private var angle:Number;
private var pos:Vector;
private var v:Vector;
public static var TYPE_SHIP:uint = 0;
public static var TYPE_ENEMY:uint = 1;
public static var SHIP_SHOT_SPEED:uint = 400;
public static var pool:ManagedPool;
public static var enemyShotCount:uint;
public static var TRAIL_COUNT:uint = 6;
public static var ENEMY_SHOT_SPEED:uint = 150;
public static var MAX_SHOTS:uint = 30;
public function Shot(_arg1:uint){
super(_arg1);
pos = new Vector(0, 0);
v = new Vector(0, 0);
trailPosition = new Array(TRAIL_COUNT);
var _local2:Number = 0;
while (_local2 < TRAIL_COUNT) {
trailPosition[_local2] = new Vector(0, 0);
_local2++;
};
}
override public function paint(_arg1:FleshGraphics):void{
if (type == TYPE_SHIP){
Engine.objectBackground.drawImage(Engine.bitmaps.getBitmap((BitmapEmbedder.OB_SHOT0 + frame)), pos.x, pos.y, FleshGraphics.GCC, angle);
} else {
Engine.objectBackground.drawImage(Engine.bitmaps.getBitmap((BitmapEmbedder.OB_ENEMY_SHOT0 + frame)), pos.x, pos.y, FleshGraphics.GCC, angle, 1, 1);
};
}
override public function update(_arg1:Number):void{
if (type == TYPE_ENEMY){
angle = (angle + (_arg1 * 20));
if (angle > Utils.RAD360){
angle = (angle - Utils.RAD360);
};
};
if (exploded){
frame++;
if ((((((type == TYPE_SHIP)) && ((frame >= 5)))) || ((((type == TYPE_ENEMY)) && ((frame >= 4)))))){
deactivate();
};
} else {
pos.x = (pos.x + (v.x * _arg1));
pos.y = (pos.y + (v.y * _arg1));
if (((((Engine.tiledBackground.isSolidAt(pos.x, pos.y)) || ((((type == TYPE_SHIP)) && (ShotTarget.checkShot(pos.x, pos.y)))))) || ((((type == TYPE_ENEMY)) && (Engine.ship.checkShot(pos.x, pos.y)))))){
frame = 1;
exploded = true;
SoundManager.playSound(SoundManager.SOUND_SHOT_HIT_WALL);
};
};
}
public function init(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
if (Engine.isOnScreen(_arg2, _arg3, 0, 0)){
SoundManager.playSound(((_arg1 == TYPE_SHIP)) ? SoundManager.SOUND_SHIP_LASER : SoundManager.SOUND_ENEMY_LASER);
};
this.type = _arg1;
this.v.set((Math.sin(_arg4) * ((_arg1 == TYPE_SHIP)) ? SHIP_SHOT_SPEED : ENEMY_SHOT_SPEED), (-(Math.cos(_arg4)) * ((_arg1 == TYPE_SHIP)) ? SHIP_SHOT_SPEED : ENEMY_SHOT_SPEED));
pos.set(_arg2, _arg3);
frame = 0;
this.angle = _arg4;
frameCount = 0;
trailPositionPointer = 0;
var _local5:Number = 0;
while (_local5 < TRAIL_COUNT) {
trailPosition[_local5].set(0, 0);
_local5++;
};
if (_arg1 == TYPE_ENEMY){
enemyShotCount++;
};
exploded = false;
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Shot(_arg1));
}
override public function deactivate():void{
pool.decrementObjectCount();
active = false;
if (type == TYPE_ENEMY){
enemyShotCount--;
};
}
public static function create(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Shot{
var _local5:Shot = Shot(pool.requestObject());
_local5.init(_arg1, _arg2, _arg3, _arg4);
return (_local5);
}
public static function initStart():void{
var _local1:Shot = new Shot(0);
pool = new ManagedPool("ShotPool", _local1, MAX_SHOTS);
}
}
}//package cowbandits
Section 32
//ShotTarget (cowbandits.ShotTarget)
package cowbandits {
import flesh.*;
import flash.geom.*;
public class ShotTarget extends PoolObject {
public var dead:Boolean;
private var hitRect:Rectangle;
public var pos:Vector;
private static var allTargets:Array = new Array();
public static var MAX_TARGET_DISTANCE:uint = 318;
public function ShotTarget(_arg1:Number):void{
super(_arg1);
allTargets.push(this);
hitRect = new Rectangle(0, 0, 0, 0);
}
public function setHitRect(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint):void{
hitRect.x = _arg1;
hitRect.y = _arg2;
hitRect.width = _arg3;
hitRect.height = _arg4;
}
public function hit():void{
}
public static function getAvailableTarget(_arg1:Vector, _arg2:Number):ShotTarget{
var _local6:ShotTarget;
var _local7:Vector;
var _local8:Number;
var _local3:ShotTarget;
var _local4:Number = 1000000;
var _local5:uint = allTargets.length;
while (--_local5 >= 0) {
_local6 = allTargets[_local5];
if (!_local6.active){
} else {
if (_local6.dead){
} else {
_local7 = new Vector((_local6.pos.x - _arg1.x), (_local6.pos.y - _arg1.y));
_local8 = _local7.length();
if (_local8 > MAX_TARGET_DISTANCE){
} else {
if (_local8 > _local4){
} else {
if (Utils.getAngleBetweenAngles(_arg2, Utils.getAngle(_local7.x, _local7.y)) > Utils.RAD30){
} else {
_local3 = _local6;
_local4 = _local8;
};
};
};
};
};
};
return (_local3);
}
public static function checkShot(_arg1:Number, _arg2:Number):Boolean{
var _local4:ShotTarget;
var _local3:uint = allTargets.length;
while (--_local3 >= 0) {
_local4 = allTargets[_local3];
if (!_local4.active){
} else {
if (_local4.hitRect.contains(_arg1, _arg2)){
_local4.hit();
return (true);
};
};
};
return (false);
}
}
}//package cowbandits
Section 33
//Switch (cowbandits.Switch)
package cowbandits {
import flash.display.*;
import flesh.*;
public class Switch extends ShotTarget {
private var green:Boolean;
private var doors:Array;
private var doorId:Number;
public static var pool:ManagedPool;
public static var MAX_SWITCHES:uint = 30;
public function Switch(_arg1:Number){
super(_arg1);
pos = new Vector(0, 0);
doors = new Array();
}
public function notifyDoorOpening():void{
green = true;
}
public function linkDoors():void{
var _local1:Door = Door.getDoorWithId(doorId);
doors.push(_local1);
_local1.linkSwitch(this);
}
override public function paint(_arg1:FleshGraphics):void{
if (!Engine.isOnScreen((pos.x - 16), (pos.y - 16), 32, 32)){
return;
};
_arg1.drawImageUntransformed(Engine.bitmaps.getBitmap((green) ? BitmapEmbedder.OB_SWITCH_GREEN : BitmapEmbedder.OB_SWITCH_RED), (pos.x - 16), (pos.y - 14), 0, 0, 0, 0);
}
public function init(_arg1:Number, _arg2:Number, _arg3:Number):void{
this.doorId = _arg3;
var _local4:uint = (_arg1 * Engine.TILESIZE);
var _local5:uint = (_arg2 * Engine.TILESIZE);
doors.splice(0);
pos.set((_local4 + 16), (_local5 + 14));
green = false;
setHitRect(_local4, _local5, Engine.TILESIZE, Engine.TILESIZE);
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Switch(_arg1));
}
override public function deactivate():void{
pool.decrementObjectCount();
active = false;
}
override public function update(_arg1:Number):void{
}
override public function hit():void{
var _local1:Number;
if (!green){
green = true;
_local1 = doors.length;
while (--_local1 >= 0) {
doors[_local1].open();
};
SoundManager.playSound(SoundManager.SOUND_SWITCH);
};
}
public function notifyDoorClosing():void{
green = false;
}
public static function initStart():void{
var _local1:Switch = new Switch(0);
pool = new ManagedPool("SwitchPool", _local1, MAX_SWITCHES);
}
public static function create(_arg1:Number, _arg2:Number, _arg3:Number):Switch{
var _local4:Switch = Switch(pool.requestObject());
_local4.init(_arg1, _arg2, _arg3);
return (_local4);
}
public static function linkAllDoors():void{
var _local2:Switch;
var _local1:uint = MAX_SWITCHES;
while (--_local1 >= 0) {
_local2 = Switch(pool.getObjectAt(_local1));
if (_local2.active){
_local2.linkDoors();
};
};
}
}
}//package cowbandits
Section 34
//TiledBackground (cowbandits.TiledBackground)
package cowbandits {
import flash.display.*;
import flesh.*;
import flash.geom.*;
public class TiledBackground {
public var buffer:BitmapData;
private var tileCount:uint;
private var tiles:BitmapData;
private var viewportWidth:uint;
private var totalHeight:uint;
private var tileSize:uint;
private var xcount:uint;
private var map:Array;
private var totalWidth:uint;
private var count:uint;
private var viewportHeight:uint;
private var ycount:uint;
public function TiledBackground(_arg1:Sprite, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number, _arg6:Number){
this.xcount = _arg2;
this.ycount = _arg3;
this.count = (_arg2 * _arg3);
map = new Array(count);
this.tiles = _arg4;
this.viewportWidth = _arg5;
this.viewportHeight = _arg6;
this.tileSize = _arg4.width;
this.tileCount = (_arg4.height / tileSize);
this.totalWidth = (_arg2 * tileSize);
this.totalHeight = (_arg3 * tileSize);
this.buffer = new BitmapData(totalWidth, totalHeight, true);
}
public function setTileAt(_arg1:uint, _arg2:uint, _arg3:uint):void{
buffer.lock();
map[(_arg1 + (_arg2 * ycount))] = _arg3;
var _local4:Rectangle = new Rectangle(0, (_arg3 * tileSize), tileSize, tileSize);
var _local5:Point = new Point((_arg1 * tileSize), (_arg2 * tileSize));
buffer.copyPixels(tiles, _local4, _local5);
buffer.unlock();
}
public function getTileType(_arg1:Number, _arg2:Number):Number{
return (map[(_arg1 + (_arg2 * xcount))]);
}
public function getTileTypeAt(_arg1:Number, _arg2:Number):Number{
_arg1 = (_arg1 >> Engine.TILE_SCALE);
_arg2 = (_arg2 >> Engine.TILE_SCALE);
if ((((((((_arg1 < 0)) || ((_arg1 >= xcount)))) || ((_arg2 < 0)))) || ((_arg2 >= ycount)))){
return (0);
};
return (map[(_arg1 + (_arg2 * xcount))]);
}
private function paintToBuffer():void{
var _local4:uint;
var _local5:uint;
buffer.fillRect(new Rectangle(0, 0, totalWidth, totalHeight), 0);
var _local1:Rectangle = new Rectangle(0, 32, tileSize, tileSize);
var _local2:Point = new Point(0, 0);
var _local3:uint;
while (_local3 < ycount) {
_local4 = 0;
while (_local4 < xcount) {
_local5 = map[(_local4 + (_local3 * ycount))];
if (_local5 != -1){
_local1.y = (_local5 * tileSize);
_local2.x = (_local4 * tileSize);
_local2.y = (_local3 * tileSize);
buffer.copyPixels(tiles, _local1, _local2);
};
_local4++;
};
_local3++;
};
}
public function setMap(_arg1:Array):void{
this.map = _arg1;
}
public function parseXML(_arg1:XML):void{
var _local6:uint;
Engine.loadedBackground = true;
var _local2:XML = _arg1.children()[1];
var _local3:String = _local2.attribute("tiledata");
var _local4:Array = _local3.split(",");
var _local5:uint;
while (_local5 < xcount) {
_local6 = 0;
while (_local6 < ycount) {
map[(_local5 + (_local6 * xcount))] = _local4[(_local6 + (_local5 * ycount))];
_local6++;
};
_local5++;
};
paintToBuffer();
Engine.setAnimatedTiles();
Engine.loadNextXMLFile();
}
public function getTile(_arg1:uint):uint{
return (map[_arg1]);
}
public function isSlopeTile(_arg1:Number):Boolean{
return ((((((((((((_arg1 == 7)) || ((_arg1 == 21)))) || ((_arg1 == 25)))) || ((_arg1 == 8)))) || ((_arg1 == 22)))) || ((_arg1 == 26))));
}
public function setTile(_arg1:uint, _arg2:uint):void{
setTileAt((_arg1 % xcount), Math.floor((_arg1 / xcount)), _arg2);
}
public function isSolidAt(_arg1:Number, _arg2:Number):Boolean{
var _local3:Number = (_arg1 >> Engine.TILE_SCALE);
var _local4:Number = (_arg2 >> Engine.TILE_SCALE);
var _local5:Number = map[(_local3 + (_local4 * xcount))];
if (_local5 == -1){
if (Door.allIsSolidAt(_arg1, _arg2)){
return (true);
};
if (Engine.mincer.isSolidAt(_arg1, _arg2)){
return (true);
};
return (false);
};
var _local6:Number = (_arg1 % tileSize);
var _local7:Number = (_arg2 % tileSize);
var _local8:Number = tiles.getPixel32(_local6, ((_local5 * tileSize) + _local7));
var _local9:Number = ((_local8 >> 24) & 0xFF);
return ((_local9 > 0));
}
public function getTileGroundY(_arg1:Number, _arg2:Number):uint{
switch (Number(_arg1)){
case 31:
case 32:
return (4);
case 33:
return (4);
case 35:
case 36:
case 37:
return (16);
case 30:
case 29:
return ((Engine.TILESIZE >> 1));
case 7:
case 21:
case 25:
return (_arg2);
case 8:
case 22:
case 26:
return ((Engine.TILESIZE - _arg2));
default:
return (0);
};
}
public function loadLevel(_arg1:String):void{
var _local2:XMLLoader = new XMLLoader();
_local2.loadXML(_arg1, parseXML);
}
}
}//package cowbandits
Section 35
//Turret (cowbandits.Turret)
package cowbandits {
import flesh.*;
public class Turret extends ShotTarget {
private var barrelSpeed:Number;
private var kickBackAmount:Number;
private var maxBarrelAngle:Number;
private var barrelAngle:Number;
private var state:Number;
private var angle:Number;
private var minBarrelAngle:Number;
private var hitPoints:Number;
private var shotRepeatCount:Number;
private var handle:Number;
private var kickBackX:Number;
private var kickBackY:Number;
private var fireCount:Number;
private var timeBeforeFiring:Number;
public static var TIME_BEFORE_FIRING:Number = 0.75;
public static var STATE_AIMING:uint = 0;
public static var MAX_TURRETS:uint = 30;
public static var BARREL_SPEED_FAST:Number = 4;
public static var STATE_FIRING:int = 1;
public static var BARREL_SPEED_SLOW:Number = 2;
public static var pool:ManagedPool;
public static var MAX_DIST_SQUARED:uint = 78400;
public static var FIRE_AT_ANGLE_DIF:Number = 0.1;
public static var TIME_BETWEEN_FIRING:Number = 0.5;
public function Turret(_arg1:uint):void{
super(_arg1);
pos = new Vector(0, 0);
}
override public function update(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (!Engine.isOnScreen((pos.x - 16), (pos.y - 16), 32, 32)){
return;
};
if (dead){
return;
};
Engine.canStopHecticMusic = false;
if (kickBackAmount > 0){
kickBackAmount = (kickBackAmount - (kickBackAmount * 0.15));
if (kickBackAmount < 0.5){
kickBackAmount = 0;
};
kickBackX = (-(Math.sin(barrelAngle)) * kickBackAmount);
kickBackY = (Math.cos(barrelAngle) * kickBackAmount);
};
switch (state){
case STATE_AIMING:
_local3 = (Engine.ship.pos.x - pos.x);
_local4 = (Engine.ship.pos.y - pos.y);
if (((_local3 * _local3) + (_local4 * _local4)) > MAX_DIST_SQUARED){
return;
};
_local2 = Utils.getAngle(_local3, _local4);
if ((((minBarrelAngle < 0)) && ((_local2 > Utils.RAD270)))){
_local2 = (_local2 - Utils.RAD360);
};
if (Math.abs((_local2 - barrelAngle)) < FIRE_AT_ANGLE_DIF){
state = STATE_FIRING;
timeBeforeFiring = TIME_BEFORE_FIRING;
fireCount = 0;
} else {
if (_local2 > barrelAngle){
barrelAngle = (barrelAngle + (_arg1 * barrelSpeed));
if (barrelAngle > maxBarrelAngle){
barrelAngle = maxBarrelAngle;
};
} else {
barrelAngle = (barrelAngle - (_arg1 * barrelSpeed));
if (barrelAngle < minBarrelAngle){
barrelAngle = minBarrelAngle;
};
};
};
break;
case STATE_FIRING:
timeBeforeFiring = (timeBeforeFiring - _arg1);
if (timeBeforeFiring <= 0){
_local2 = Utils.getAngle((Engine.ship.pos.x - pos.x), (Engine.ship.pos.y - pos.y));
if (Math.abs((_local2 - barrelAngle)) < FIRE_AT_ANGLE_DIF){
fire();
} else {
state = STATE_AIMING;
};
};
break;
};
}
public function init(_arg1:Number, _arg2:Number, _arg3:Number):void{
switch (_arg3){
case Utils.UP:
pos.set(((_arg1 * Engine.TILESIZE) + (Engine.TILESIZE / 2)), ((_arg2 + 1) * Engine.TILESIZE));
this.angle = 0;
this.handle = FleshGraphics.GBC;
break;
case Utils.DOWN:
pos.set(((_arg1 * Engine.TILESIZE) + (Engine.TILESIZE / 2)), (_arg2 * Engine.TILESIZE));
this.angle = Utils.RAD180;
this.handle = FleshGraphics.GTC;
break;
case Utils.LEFT:
pos.set(((_arg1 + 1) * Engine.TILESIZE), ((_arg2 * Engine.TILESIZE) + (Engine.TILESIZE / 2)));
this.angle = Utils.RAD270;
this.handle = FleshGraphics.GCR;
break;
case Utils.RIGHT:
pos.set((_arg1 * Engine.TILESIZE), ((_arg2 * Engine.TILESIZE) + (Engine.TILESIZE / 2)));
this.angle = Utils.RAD90;
this.handle = FleshGraphics.GCL;
break;
};
pos.set(((_arg1 * Engine.TILESIZE) + (Engine.TILESIZE / 2)), ((_arg2 * Engine.TILESIZE) + (Engine.TILESIZE / 2)));
this.handle = FleshGraphics.GCC;
setHitRect((_arg1 * Engine.TILESIZE), (_arg2 * Engine.TILESIZE), Engine.TILESIZE, Engine.TILESIZE);
barrelAngle = angle;
minBarrelAngle = (angle - Utils.RAD90);
maxBarrelAngle = (angle + Utils.RAD90);
hitPoints = 4;
kickBackX = (kickBackY = 0);
shotRepeatCount = 3;
barrelSpeed = BARREL_SPEED_SLOW;
dead = false;
state = STATE_AIMING;
}
override public function paint(_arg1:FleshGraphics):void{
if (!Engine.isOnScreen((pos.x - 16), (pos.y - 16), 32, 32)){
return;
};
if (dead){
Engine.objectBackground.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_TURRET_DEAD), pos.x, pos.y, handle, angle, 1, 1);
} else {
Engine.objectBackground.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_BARREL), (pos.x + kickBackX), (pos.y + kickBackY), FleshGraphics.GBC, barrelAngle, 1, 1);
Engine.objectBackground.drawImage(Engine.bitmaps.getBitmap(BitmapEmbedder.OB_TURRET), pos.x, pos.y, handle, angle, 1, 1);
};
}
override public function createInstance(_arg1:uint):PoolObject{
return (new Turret(_arg1));
}
override public function hit():void{
if (dead){
return;
};
hitPoints--;
if (hitPoints <= 0){
dead = true;
Explosion.create(pos.x, pos.y);
Engine.turretDestroyed(pos.x, pos.y);
SoundManager.playSound(SoundManager.SOUND_EXPLOSION);
} else {
SoundManager.playSound(SoundManager.SOUND_SHIP_HIT_BY_SHOT);
};
}
override public function deactivate():void{
pool.decrementObjectCount();
active = false;
}
public function fire():void{
kickBackAmount = 6;
kickBackX = (-(Math.sin(barrelAngle)) * kickBackAmount);
kickBackY = (Math.cos(barrelAngle) * kickBackAmount);
Shot.create(Shot.TYPE_ENEMY, pos.x, pos.y, barrelAngle);
fireCount++;
if (fireCount >= shotRepeatCount){
state = STATE_AIMING;
} else {
timeBeforeFiring = TIME_BETWEEN_FIRING;
};
}
public static function initStart():void{
var _local1:Turret = new Turret(0);
pool = new ManagedPool("TurretPool", _local1, MAX_TURRETS);
}
public static function create(_arg1:Number, _arg2:Number, _arg3:Number):PoolObject{
var _local4:Turret = Turret(pool.requestObject());
_local4.init(_arg1, _arg2, _arg3);
return (_local4);
}
}
}//package cowbandits
Section 36
//BitmapEmbedder (flesh.BitmapEmbedder)
package flesh {
import flash.display.*;
public class BitmapEmbedder {
private var Class10:Class;
private var Class11:Class;
private var Class12:Class;
private var Class14:Class;
private var Class16:Class;
private var Class17:Class;
private var Class19:Class;
private var Class13:Class;
private var Class15:Class;
private var Class18:Class;
private var Class20:Class;
private var Class21:Class;
private var Class22:Class;
private var Class23:Class;
private var Class24:Class;
private var Class25:Class;
private var Class26:Class;
private var Class27:Class;
private var Class28:Class;
private var Class29:Class;
private var Class30:Class;
private var Class32:Class;
private var Class34:Class;
private var Class36:Class;
private var Class38:Class;
private var Class33:Class;
private var Class35:Class;
private var Class37:Class;
private var Class39:Class;
private var Class31:Class;
private var Class40:Class;
private var Class41:Class;
private var Class42:Class;
private var Class43:Class;
private var Class0:Class;
private var Class1:Class;
private var Class2:Class;
private var Class3:Class;
private var Class48:Class;
private var Class5:Class;
private var Class6:Class;
private var Class7:Class;
private var Class8:Class;
private var Class9:Class;
private var Class47:Class;
private var Class4:Class;
private var Class49:Class;
private var Class44:Class;
private var Class45:Class;
private var Class46:Class;
public static var OB_SWITCH_GREEN:uint = 8;
public static var OB_SHOT0:uint = 17;
public static var OB_SHOT1:uint = 18;
public static var OB_SHOT2:uint = 19;
public static var OB_SHOT3:uint = 20;
public static var OB_SHOT4:uint = 21;
public static var OB_BG0:uint = 3;
public static var OB_BG1:uint = 4;
public static var OB_BG2:uint = 5;
public static var OB_COW_ROPED0:uint = 34;
public static var OB_COW_ROPED1:uint = 35;
public static var OB_COW_ROPED3:uint = 37;
public static var bitmaps:Array;
public static var OB_COW_ROPED2:uint = 36;
public static var OB_COW_AMBIENT:uint = 45;
public static var OB_PISTON_BODY:uint = 1;
public static var OB_MINCER_MINCE:uint = 26;
public static var OB_DOORBOTTOM:uint = 10;
public static var OB_MINCER_JETBACK:uint = 24;
public static var OB_DOORTOPH:uint = 11;
public static var OB_DOORTOP:uint = 9;
public static var OB_MINCER_HANDLE:uint = 23;
public static var OB_DRONE_GLOW:uint = 33;
public static var OB_PISTON_STEM:uint = 2;
public static var OB_MINCER_JETBOTTOM_FLAME:uint = 29;
public static var OB_ENEMY_SHOT0:uint = 46;
public static var OB_ENEMY_SHOT1:uint = 47;
public static var OB_ENEMY_SHOT2:uint = 48;
public static var OB_ENEMY_SHOT3:uint = 49;
public static var OB_MINCER_EXHAUST:uint = 30;
public static var OB_DRONE:uint = 22;
public static var OB_MINCER_JETBOTTOM:uint = 25;
public static var OB_BARREL:uint = 16;
public static var OB_BEAM:uint = 14;
public static var OB_DOORBOTTOMH:uint = 12;
public static var OB_CUD:uint = 31;
public static var OB_MINCER:uint = 28;
public static var OB_MINCER_MINCE_MINCED:uint = 27;
public static var OB_EXPLOSION0:uint = 39;
public static var OB_EXPLOSION1:uint = 40;
public static var OB_EXPLOSION2:uint = 41;
public static var OB_EXPLOSION3:uint = 42;
public static var OB_EXPLOSION4:uint = 43;
public static var OB_EXPLOSION5:uint = 44;
public static var OB_COW_FLYING:uint = 38;
public static var OB_SWITCH_RED:uint = 7;
public static var OB_TURRET:uint = 15;
public static var OB_TURRET_DEAD:uint = 32;
public static var OB_COG:uint = 0;
public static var OB_TILES:uint = 6;
public static var OB_COW:uint = 13;
public function BitmapEmbedder():void{
Class0 = BitmapEmbedder_Class0;
Class1 = BitmapEmbedder_Class1;
Class2 = BitmapEmbedder_Class2;
Class3 = BitmapEmbedder_Class3;
Class4 = BitmapEmbedder_Class4;
Class5 = BitmapEmbedder_Class5;
Class6 = BitmapEmbedder_Class6;
Class7 = BitmapEmbedder_Class7;
Class8 = BitmapEmbedder_Class8;
Class9 = BitmapEmbedder_Class9;
Class10 = BitmapEmbedder_Class10;
Class11 = BitmapEmbedder_Class11;
Class12 = BitmapEmbedder_Class12;
Class13 = BitmapEmbedder_Class13;
Class14 = BitmapEmbedder_Class14;
Class15 = BitmapEmbedder_Class15;
Class16 = BitmapEmbedder_Class16;
Class17 = BitmapEmbedder_Class17;
Class18 = BitmapEmbedder_Class18;
Class19 = BitmapEmbedder_Class19;
Class20 = BitmapEmbedder_Class20;
Class21 = BitmapEmbedder_Class21;
Class22 = BitmapEmbedder_Class22;
Class23 = BitmapEmbedder_Class23;
Class24 = BitmapEmbedder_Class24;
Class25 = BitmapEmbedder_Class25;
Class26 = BitmapEmbedder_Class26;
Class27 = BitmapEmbedder_Class27;
Class28 = BitmapEmbedder_Class28;
Class29 = BitmapEmbedder_Class29;
Class30 = BitmapEmbedder_Class30;
Class31 = BitmapEmbedder_Class31;
Class32 = BitmapEmbedder_Class32;
Class33 = BitmapEmbedder_Class33;
Class34 = BitmapEmbedder_Class34;
Class35 = BitmapEmbedder_Class35;
Class36 = BitmapEmbedder_Class36;
Class37 = BitmapEmbedder_Class37;
Class38 = BitmapEmbedder_Class38;
Class39 = BitmapEmbedder_Class39;
Class40 = BitmapEmbedder_Class40;
Class41 = BitmapEmbedder_Class41;
Class42 = BitmapEmbedder_Class42;
Class43 = BitmapEmbedder_Class43;
Class44 = BitmapEmbedder_Class44;
Class45 = BitmapEmbedder_Class45;
Class46 = BitmapEmbedder_Class46;
Class47 = BitmapEmbedder_Class47;
Class48 = BitmapEmbedder_Class48;
Class49 = BitmapEmbedder_Class49;
super();
bitmaps = new Array();
var _local1:Bitmap = new Class0();
bitmaps.push(_local1.bitmapData);
var _local2:Bitmap = new Class1();
bitmaps.push(_local2.bitmapData);
var _local3:Bitmap = new Class2();
bitmaps.push(_local3.bitmapData);
var _local4:Bitmap = new Class3();
bitmaps.push(_local4.bitmapData);
var _local5:Bitmap = new Class4();
bitmaps.push(_local5.bitmapData);
var _local6:Bitmap = new Class5();
bitmaps.push(_local6.bitmapData);
var _local7:Bitmap = new Class6();
bitmaps.push(_local7.bitmapData);
var _local8:Bitmap = new Class7();
bitmaps.push(_local8.bitmapData);
var _local9:Bitmap = new Class8();
bitmaps.push(_local9.bitmapData);
var _local10:Bitmap = new Class9();
bitmaps.push(_local10.bitmapData);
var _local11:Bitmap = new Class10();
bitmaps.push(_local11.bitmapData);
var _local12:Bitmap = new Class11();
bitmaps.push(_local12.bitmapData);
var _local13:Bitmap = new Class12();
bitmaps.push(_local13.bitmapData);
var _local14:Bitmap = new Class13();
bitmaps.push(_local14.bitmapData);
var _local15:Bitmap = new Class14();
bitmaps.push(_local15.bitmapData);
var _local16:Bitmap = new Class15();
bitmaps.push(_local16.bitmapData);
var _local17:Bitmap = new Class16();
bitmaps.push(_local17.bitmapData);
var _local18:Bitmap = new Class17();
bitmaps.push(_local18.bitmapData);
var _local19:Bitmap = new Class18();
bitmaps.push(_local19.bitmapData);
var _local20:Bitmap = new Class19();
bitmaps.push(_local20.bitmapData);
var _local21:Bitmap = new Class20();
bitmaps.push(_local21.bitmapData);
var _local22:Bitmap = new Class21();
bitmaps.push(_local22.bitmapData);
var _local23:Bitmap = new Class22();
bitmaps.push(_local23.bitmapData);
var _local24:Bitmap = new Class23();
bitmaps.push(_local24.bitmapData);
var _local25:Bitmap = new Class24();
bitmaps.push(_local25.bitmapData);
var _local26:Bitmap = new Class25();
bitmaps.push(_local26.bitmapData);
var _local27:Bitmap = new Class26();
bitmaps.push(_local27.bitmapData);
var _local28:Bitmap = new Class27();
bitmaps.push(_local28.bitmapData);
var _local29:Bitmap = new Class28();
bitmaps.push(_local29.bitmapData);
var _local30:Bitmap = new Class29();
bitmaps.push(_local30.bitmapData);
var _local31:Bitmap = new Class30();
bitmaps.push(_local31.bitmapData);
var _local32:Bitmap = new Class31();
bitmaps.push(_local32.bitmapData);
var _local33:Bitmap = new Class32();
bitmaps.push(_local33.bitmapData);
var _local34:Bitmap = new Class33();
bitmaps.push(_local34.bitmapData);
var _local35:Bitmap = new Class34();
bitmaps.push(_local35.bitmapData);
var _local36:Bitmap = new Class35();
bitmaps.push(_local36.bitmapData);
var _local37:Bitmap = new Class36();
bitmaps.push(_local37.bitmapData);
var _local38:Bitmap = new Class37();
bitmaps.push(_local38.bitmapData);
var _local39:Bitmap = new Class38();
bitmaps.push(_local39.bitmapData);
var _local40:Bitmap = new Class39();
bitmaps.push(_local40.bitmapData);
var _local41:Bitmap = new Class40();
bitmaps.push(_local41.bitmapData);
var _local42:Bitmap = new Class41();
bitmaps.push(_local42.bitmapData);
var _local43:Bitmap = new Class42();
bitmaps.push(_local43.bitmapData);
var _local44:Bitmap = new Class43();
bitmaps.push(_local44.bitmapData);
var _local45:Bitmap = new Class44();
bitmaps.push(_local45.bitmapData);
var _local46:Bitmap = new Class45();
bitmaps.push(_local46.bitmapData);
var _local47:Bitmap = new Class46();
bitmaps.push(_local47.bitmapData);
var _local48:Bitmap = new Class47();
bitmaps.push(_local48.bitmapData);
var _local49:Bitmap = new Class48();
bitmaps.push(_local49.bitmapData);
var _local50:Bitmap = new Class49();
bitmaps.push(_local50.bitmapData);
}
public function isBitmapSolidAt(_arg1:Number, _arg2:uint, _arg3:uint):Boolean{
var _local4:BitmapData = bitmaps[_arg1];
var _local5:uint = _local4.getPixel32(_arg2, _arg3);
var _local6:uint = ((_local5 >> 24) & 0xFF);
return ((_local6 > 0));
}
public function getBitmap(_arg1:uint):BitmapData{
return (bitmaps[_arg1]);
}
}
}//package flesh
Section 37
//BitmapEmbedder_Class0 (flesh.BitmapEmbedder_Class0)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class0 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 38
//BitmapEmbedder_Class1 (flesh.BitmapEmbedder_Class1)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class1 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 39
//BitmapEmbedder_Class10 (flesh.BitmapEmbedder_Class10)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class10 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 40
//BitmapEmbedder_Class11 (flesh.BitmapEmbedder_Class11)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class11 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 41
//BitmapEmbedder_Class12 (flesh.BitmapEmbedder_Class12)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class12 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 42
//BitmapEmbedder_Class13 (flesh.BitmapEmbedder_Class13)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class13 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 43
//BitmapEmbedder_Class14 (flesh.BitmapEmbedder_Class14)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class14 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 44
//BitmapEmbedder_Class15 (flesh.BitmapEmbedder_Class15)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class15 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 45
//BitmapEmbedder_Class16 (flesh.BitmapEmbedder_Class16)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class16 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 46
//BitmapEmbedder_Class17 (flesh.BitmapEmbedder_Class17)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class17 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 47
//BitmapEmbedder_Class18 (flesh.BitmapEmbedder_Class18)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class18 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 48
//BitmapEmbedder_Class19 (flesh.BitmapEmbedder_Class19)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class19 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 49
//BitmapEmbedder_Class2 (flesh.BitmapEmbedder_Class2)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class2 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 50
//BitmapEmbedder_Class20 (flesh.BitmapEmbedder_Class20)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class20 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 51
//BitmapEmbedder_Class21 (flesh.BitmapEmbedder_Class21)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class21 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 52
//BitmapEmbedder_Class22 (flesh.BitmapEmbedder_Class22)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class22 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 53
//BitmapEmbedder_Class23 (flesh.BitmapEmbedder_Class23)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class23 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 54
//BitmapEmbedder_Class24 (flesh.BitmapEmbedder_Class24)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class24 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 55
//BitmapEmbedder_Class25 (flesh.BitmapEmbedder_Class25)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class25 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 56
//BitmapEmbedder_Class26 (flesh.BitmapEmbedder_Class26)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class26 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 57
//BitmapEmbedder_Class27 (flesh.BitmapEmbedder_Class27)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class27 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 58
//BitmapEmbedder_Class28 (flesh.BitmapEmbedder_Class28)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class28 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 59
//BitmapEmbedder_Class29 (flesh.BitmapEmbedder_Class29)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class29 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 60
//BitmapEmbedder_Class3 (flesh.BitmapEmbedder_Class3)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class3 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 61
//BitmapEmbedder_Class30 (flesh.BitmapEmbedder_Class30)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class30 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 62
//BitmapEmbedder_Class31 (flesh.BitmapEmbedder_Class31)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class31 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 63
//BitmapEmbedder_Class32 (flesh.BitmapEmbedder_Class32)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class32 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 64
//BitmapEmbedder_Class33 (flesh.BitmapEmbedder_Class33)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class33 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 65
//BitmapEmbedder_Class34 (flesh.BitmapEmbedder_Class34)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class34 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 66
//BitmapEmbedder_Class35 (flesh.BitmapEmbedder_Class35)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class35 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 67
//BitmapEmbedder_Class36 (flesh.BitmapEmbedder_Class36)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class36 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 68
//BitmapEmbedder_Class37 (flesh.BitmapEmbedder_Class37)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class37 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 69
//BitmapEmbedder_Class38 (flesh.BitmapEmbedder_Class38)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class38 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 70
//BitmapEmbedder_Class39 (flesh.BitmapEmbedder_Class39)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class39 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 71
//BitmapEmbedder_Class4 (flesh.BitmapEmbedder_Class4)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class4 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 72
//BitmapEmbedder_Class40 (flesh.BitmapEmbedder_Class40)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class40 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 73
//BitmapEmbedder_Class41 (flesh.BitmapEmbedder_Class41)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class41 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 74
//BitmapEmbedder_Class42 (flesh.BitmapEmbedder_Class42)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class42 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 75
//BitmapEmbedder_Class43 (flesh.BitmapEmbedder_Class43)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class43 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 76
//BitmapEmbedder_Class44 (flesh.BitmapEmbedder_Class44)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class44 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 77
//BitmapEmbedder_Class45 (flesh.BitmapEmbedder_Class45)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class45 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 78
//BitmapEmbedder_Class46 (flesh.BitmapEmbedder_Class46)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class46 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 79
//BitmapEmbedder_Class47 (flesh.BitmapEmbedder_Class47)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class47 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 80
//BitmapEmbedder_Class48 (flesh.BitmapEmbedder_Class48)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class48 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 81
//BitmapEmbedder_Class49 (flesh.BitmapEmbedder_Class49)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class49 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 82
//BitmapEmbedder_Class5 (flesh.BitmapEmbedder_Class5)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class5 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 83
//BitmapEmbedder_Class6 (flesh.BitmapEmbedder_Class6)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class6 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 84
//BitmapEmbedder_Class7 (flesh.BitmapEmbedder_Class7)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class7 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 85
//BitmapEmbedder_Class8 (flesh.BitmapEmbedder_Class8)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class8 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 86
//BitmapEmbedder_Class9 (flesh.BitmapEmbedder_Class9)
package flesh {
import flash.display.*;
import mx.core.*;
public class BitmapEmbedder_Class9 extends BitmapAsset {
public var revealLine8:DisplayObject;
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var shipGlowBad:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var shipGlow:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 87
//FleshGraphics (flesh.FleshGraphics)
package flesh {
import flash.display.*;
import flash.geom.*;
public class FleshGraphics {
public var buffer:BitmapData;
public var matrix:Matrix;
public var rect:Rectangle;
public var point:Point;
public static var GTR:uint = (TOP + RIGHT);
public static var LEFT:uint = 8;
public static var GBC:uint = (BOTTOM + HCENTRE);
public static var GBL:uint = (BOTTOM + LEFT);
public static var GBR:uint = (BOTTOM + RIGHT);
public static var HCENTRE:uint = 16;
public static var GCC:uint = (VCENTRE + HCENTRE);
public static var BOTTOM:uint = 4;
public static var GCL:uint = (VCENTRE + LEFT);
public static var VCENTRE:uint = 2;
public static var TOP:uint = 1;
public static var GCR:uint = (VCENTRE + RIGHT);
public static var RIGHT:uint = 32;
public static var GTC:uint = (TOP + HCENTRE);
public static var GTL:uint = (TOP + LEFT);
public function FleshGraphics(_arg1:uint, _arg2:uint){
this.buffer = new BitmapData(_arg1, _arg2);
point = new Point(0, 0);
rect = new Rectangle(0, 0, 0, 0);
matrix = new Matrix();
}
public function drawImageUntransformed(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0):void{
if (_arg7 == 0){
_arg7 = _arg1.height;
};
rect.x = _arg4;
rect.y = _arg5;
if (_arg6 == 0){
rect.width = _arg1.width;
} else {
rect.width = _arg6;
};
if (_arg7 == 0){
rect.height = _arg1.height;
} else {
rect.height = _arg7;
};
point.x = _arg2;
point.y = _arg3;
buffer.copyPixels(_arg1, rect, point, _arg1, new Point(_arg4, _arg5), true);
}
public function clear(_arg1:uint=0):void{
buffer.fillRect(new Rectangle(0, 0, buffer.width, buffer.height), _arg1);
}
public function drawImage(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=1, _arg7:Number=1, _arg8:Number=1, _arg9:Number=-1, _arg10:ColorTransform=null, _arg11:String="normal", _arg12:Boolean=false):void{
var _local17:ColorTransform;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local13:Number = 0;
var _local14:Number = 0;
var _local15:Number = 0;
var _local16:Number = 0;
if ((_arg4 & TOP) != 0){
_local14 = 0;
} else {
if ((_arg4 & VCENTRE) != 0){
_local14 = (-(_arg1.height) / 2);
} else {
if ((_arg4 & BOTTOM) != 0){
_local14 = -(_arg1.height);
};
};
};
if ((_arg4 & LEFT) != 0){
_local13 = 0;
_local15 = -((_arg1.width / 2));
} else {
if ((_arg4 & HCENTRE) != 0){
_local13 = -((_arg1.width / 2));
_local15 = 0;
};
};
if ((_arg4 & RIGHT) != 0){
_local13 = -(_arg1.width);
_local15 = (_arg1.width / 2);
};
matrix.identity();
matrix.translate(_local13, _local14);
matrix.rotate(_arg5);
if (_arg5 != 0){
_local18 = Math.sin(_arg5);
_local19 = Math.cos(_arg5);
_local20 = (_local19 * _local15);
_local21 = (_local18 * _local15);
_local22 = (_local19 * _local16);
_local23 = -((_local18 * _local16));
_local24 = (_local20 + _local23);
_local25 = (_local21 + _local22);
matrix.translate(_local24, _local25);
};
matrix.translate((_arg2 / _arg6), (_arg3 / _arg7));
matrix.scale(_arg6, _arg7);
if (_arg10 != null){
_local17 = _arg10;
} else {
_local17 = new ColorTransform();
_local17.alphaMultiplier = _arg8;
if (_arg9 != -1){
_local17.color = _arg9;
};
};
if (_arg11 == null){
_arg11 = "normal";
};
buffer.draw(_arg1, matrix, _local17, _arg11, null, _arg12);
}
}
}//package flesh
Section 88
//FPSCounter (flesh.FPSCounter)
package flesh {
import flash.text.*;
public class FPSCounter {
private var ready:Boolean;
private var total:Number;
private var maxFPS:Number;
private var time:Array;
private var minFPS:Number;
private var pointer:Number;
public static var FPS_BUFFER_SIZE:Number = 30;
public function FPSCounter(){
time = new Array(FPS_BUFFER_SIZE);
total = 0;
pointer = 0;
var _local1:Number = FPS_BUFFER_SIZE;
while (--_local1 >= 0) {
time[_local1] = 0;
};
ready = false;
minFPS = 100000;
maxFPS = 0;
}
public function getFPS():Number{
if (!ready){
return (0);
};
var _local1:Number = (total / FPS_BUFFER_SIZE);
var _local2:Number = Math.round((1 / _local1));
return (_local2);
}
public function setFPSText(_arg1:TextField):void{
if (!ready){
return;
};
var _local2:Number = getFPS();
if (_local2 < minFPS){
minFPS = _local2;
};
if (_local2 > maxFPS){
maxFPS = _local2;
};
_arg1.text = ((((_local2 + " min:") + minFPS) + " max:") + maxFPS);
}
public function addTime(_arg1:Number):void{
total = (total - time[pointer]);
total = (total + _arg1);
var _local2 = pointer++;
time[_local2] = _arg1;
if (pointer >= FPS_BUFFER_SIZE){
pointer = 0;
ready = true;
};
}
}
}//package flesh
Section 89
//HueColorMatrixFilter (flesh.HueColorMatrixFilter)
package flesh {
import flash.filters.*;
public class HueColorMatrixFilter {
private var matrix:Array;
public function HueColorMatrixFilter(){
Identity();
}
public function set hue(_arg1:Number):void{
reset();
_arg1 = (((_arg1 * Math.PI) * 2) / 360);
var _local2:Array = [0.213, 0.715, 0.072, 0.213, 0.715, 0.072, 0.213, 0.715, 0.072];
var _local3:Array = [0.787, -0.715, -0.072, -0.212, 0.285, -0.072, -0.213, -0.715, 0.928];
var _local4:Array = [-0.213, -0.715, 0.928, 0.143, 0.14, -0.283, -0.787, 0.715, 0.072];
var _local5:Array = add(_local2, add(multiply(Math.cos(_arg1), _local3), multiply(Math.sin(_arg1), _local4)));
concat([_local5[0], _local5[1], _local5[2], 0, 0, _local5[3], _local5[4], _local5[5], 0, 0, _local5[6], _local5[7], _local5[8], 0, 0, 0, 0, 0, 1, 0]);
}
public function set saturation(_arg1:Number):void{
_arg1 = ((_arg1)>1) ? 1 : Math.abs(_arg1);
var _local2:Array = [0.213, 0.715, 0.072, 0.213, 0.715, 0.072, 0.213, 0.715, 0.072];
var _local3:Array = [0.787, -0.715, -0.072, -0.212, 0.285, -0.072, -0.213, -0.715, 0.928];
var _local4:Array = add(_local2, multiply(_arg1, _local3));
concat([_local4[0], _local4[1], _local4[2], 0, 0, _local4[3], _local4[4], _local4[5], 0, 0, _local4[6], _local4[7], _local4[8], 0, 0, 0, 0, 0, 1, 0]);
}
public function get Filter():ColorMatrixFilter{
return (new ColorMatrixFilter(matrix));
}
private function add(_arg1:Array, _arg2:Array):Array{
var _local3:Array = [];
var _local4:uint;
while (_local4 < _arg1.length) {
_local3.push((_arg1[_local4] + _arg2[_local4]));
_local4++;
};
return (_local3);
}
private function multiply(_arg1:Number, _arg2:Array):Array{
var _local4:Number;
var _local3:Array = [];
for each (_local4 in _arg2) {
_local3.push((_arg1 * _local4));
};
return (_local3);
}
private function concat(_arg1:Array):void{
var _local2:Array = [];
var _local3:Array = matrix;
_local2[0] = ((((_local3[0] * _arg1[0]) + (_local3[1] * _arg1[5])) + (_local3[2] * _arg1[10])) + (_local3[3] * _arg1[15]));
_local2[1] = ((((_local3[0] * _arg1[1]) + (_local3[1] * _arg1[6])) + (_local3[2] * _arg1[11])) + (_local3[3] * _arg1[16]));
_local2[2] = ((((_local3[0] * _arg1[2]) + (_local3[1] * _arg1[7])) + (_local3[2] * _arg1[12])) + (_local3[3] * _arg1[17]));
_local2[3] = ((((_local3[0] * _arg1[3]) + (_local3[1] * _arg1[8])) + (_local3[2] * _arg1[13])) + (_local3[3] * _arg1[18]));
_local2[4] = (((((_local3[0] * _arg1[4]) + (_local3[1] * _arg1[9])) + (_local3[2] * _arg1[14])) + (_local3[3] * _arg1[19])) + _local3[4]);
_local2[5] = ((((_local3[5] * _arg1[0]) + (_local3[6] * _arg1[5])) + (_local3[7] * _arg1[10])) + (_local3[8] * _arg1[15]));
_local2[6] = ((((_local3[5] * _arg1[1]) + (_local3[6] * _arg1[6])) + (_local3[7] * _arg1[11])) + (_local3[8] * _arg1[16]));
_local2[7] = ((((_local3[5] * _arg1[2]) + (_local3[6] * _arg1[7])) + (_local3[7] * _arg1[12])) + (_local3[8] * _arg1[17]));
_local2[8] = ((((_local3[5] * _arg1[3]) + (_local3[6] * _arg1[8])) + (_local3[7] * _arg1[13])) + (_local3[8] * _arg1[18]));
_local2[9] = (((((_local3[5] * _arg1[4]) + (_local3[6] * _arg1[9])) + (_local3[7] * _arg1[14])) + (_local3[8] * _arg1[19])) + _local3[9]);
_local2[10] = ((((_local3[10] * _arg1[0]) + (_local3[11] * _arg1[5])) + (_local3[12] * _arg1[10])) + (_local3[13] * _arg1[15]));
_local2[11] = ((((_local3[10] * _arg1[1]) + (_local3[11] * _arg1[6])) + (_local3[12] * _arg1[11])) + (_local3[13] * _arg1[16]));
_local2[12] = ((((_local3[10] * _arg1[2]) + (_local3[11] * _arg1[7])) + (_local3[12] * _arg1[12])) + (_local3[13] * _arg1[17]));
_local2[13] = ((((_local3[10] * _arg1[3]) + (_local3[11] * _arg1[8])) + (_local3[12] * _arg1[13])) + (_local3[13] * _arg1[18]));
_local2[14] = (((((_local3[10] * _arg1[4]) + (_local3[11] * _arg1[9])) + (_local3[12] * _arg1[14])) + (_local3[13] * _arg1[19])) + _local3[14]);
_local2[15] = ((((_local3[15] * _arg1[0]) + (_local3[16] * _arg1[5])) + (_local3[17] * _arg1[10])) + (_local3[18] * _arg1[15]));
_local2[16] = ((((_local3[15] * _arg1[1]) + (_local3[16] * _arg1[6])) + (_local3[17] * _arg1[11])) + (_local3[18] * _arg1[16]));
_local2[17] = ((((_local3[15] * _arg1[2]) + (_local3[16] * _arg1[7])) + (_local3[17] * _arg1[12])) + (_local3[18] * _arg1[17]));
_local2[18] = ((((_local3[15] * _arg1[3]) + (_local3[16] * _arg1[8])) + (_local3[17] * _arg1[13])) + (_local3[18] * _arg1[18]));
_local2[19] = (((((_local3[15] * _arg1[4]) + (_local3[16] * _arg1[9])) + (_local3[17] * _arg1[14])) + (_local3[18] * _arg1[19])) + _local3[19]);
matrix = _local2;
}
private function Identity():void{
matrix = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
}
public function reset():void{
Identity();
}
}
}//package flesh
Section 90
//KeyPoll (flesh.KeyPoll)
package flesh {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class KeyPoll {
private var states:ByteArray;
private var dispObj:DisplayObject;
public function KeyPoll(_arg1:DisplayObject){
states = new ByteArray();
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
dispObj = _arg1;
dispObj.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
dispObj.addEventListener(KeyboardEvent.KEY_UP, keyUpListener, false, 0, true);
dispObj.addEventListener(Event.ACTIVATE, activateListener, false, 0, true);
dispObj.addEventListener(Event.DEACTIVATE, deactivateListener, false, 0, true);
}
private function activateListener(_arg1:Event):void{
var _local2:int;
while (_local2 < 8) {
states[_local2] = 0;
_local2++;
};
}
private function deactivateListener(_arg1:Event):void{
var _local2:int;
while (_local2 < 8) {
states[_local2] = 0;
_local2++;
};
}
public function isDown(_arg1:uint):Boolean{
return (!(((states[(_arg1 >>> 3)] & (1 << (_arg1 & 7))) == 0)));
}
private function keyDownListener(_arg1:KeyboardEvent):void{
states[(_arg1.keyCode >>> 3)] = (states[(_arg1.keyCode >>> 3)] | (1 << (_arg1.keyCode & 7)));
}
public function isUp(_arg1:uint):Boolean{
return (((states[(_arg1 >>> 3)] & (1 << (_arg1 & 7))) == 0));
}
private function keyUpListener(_arg1:KeyboardEvent):void{
states[(_arg1.keyCode >>> 3)] = (states[(_arg1.keyCode >>> 3)] & ~((1 << (_arg1.keyCode & 7))));
}
}
}//package flesh
Section 91
//ManagedPool (flesh.ManagedPool)
package flesh {
public class ManagedPool {
private var maxActiveObjectCount:Number;
private var activeObjectCount:Number;
private var id:String;
private var pool:Array;
public function ManagedPool(_arg1:String, _arg2:PoolObject, _arg3:Number){
this.id = _arg1;
pool = new Array(_arg3);
var _local4:uint = _arg3;
while (--_local4 >= 0) {
pool[_local4] = _arg2.createInstance(_local4);
pool[_local4].active = false;
};
activeObjectCount = (maxActiveObjectCount = 0);
}
public function getActiveObjectCount():uint{
return (activeObjectCount);
}
public function getObjectAt(_arg1:Number):PoolObject{
return (pool[_arg1]);
}
public function requestObject():PoolObject{
var _local2:PoolObject;
var _local1:uint;
while (_local1 < pool.length) {
_local2 = pool[_local1];
if (!_local2.active){
activeObjectCount++;
if (activeObjectCount > maxActiveObjectCount){
maxActiveObjectCount = activeObjectCount;
};
_local2.active = true;
return (_local2);
};
_local1++;
};
trace((("ManagedPool " + id) + " doesn't have enough objects"));
return (undefined);
}
public function setAllInactive():void{
var _local1:uint = pool.length;
while (--_local1 >= 0) {
pool[_local1].deactivate();
};
activeObjectCount = 0;
}
public function paintAll(_arg1:FleshGraphics):void{
var _local3:PoolObject;
var _local2:uint = pool.length;
while (--_local2 >= 0) {
_local3 = pool[_local2];
if (_local3.active){
_local3.paint(_arg1);
};
};
}
public function decrementObjectCount():void{
activeObjectCount--;
}
public function getRandomActiveObject():PoolObject{
var _local1:uint;
while (true) {
_local1 = Math.floor((Math.random() * pool.length));
if (pool[_local1].active){
return (pool[_local1]);
};
};
return (undefined);
}
public function updateAll(_arg1:Number):void{
var _local3:PoolObject;
var _local2:uint = pool.length;
while (--_local2 >= 0) {
_local3 = pool[_local2];
if (_local3.active){
_local3.update(_arg1);
};
};
}
}
}//package flesh
Section 92
//PoolObject (flesh.PoolObject)
package flesh {
public class PoolObject {
private var index:Number;
public var active:Boolean;
public function PoolObject(_arg1:uint){
this.index = _arg1;
active = false;
}
public function createInstance(_arg1:uint):PoolObject{
return (undefined);
}
public function update(_arg1:Number):void{
}
public function deactivate():void{
active = false;
}
public function paint(_arg1:FleshGraphics):void{
}
}
}//package flesh
Section 93
//ScreenManager (flesh.ScreenManager)
package flesh {
import flash.display.*;
public class ScreenManager {
private var screens:Array;
private var component:Object;
public function ScreenManager(_arg1:Sprite, _arg2:Sprite, _arg3:Array){
var _local5:MovieClip;
super();
this.component = _arg1;
screens = new Array();
var _local4:uint;
while (_local4 < _arg3.length) {
_local5 = _arg2[_arg3[_local4]];
_arg2[_arg3[_local4]].x = (_local5.y = 0);
screens.push(_local5);
_arg1.addChild(_local5);
_local4++;
};
}
public function getScreen(_arg1:String):MovieClip{
var _local2:Number = 0;
while (_local2 < screens.length) {
if (screens[_local2].name == _arg1){
return (screens[_local2]);
};
_local2++;
};
return (undefined);
}
public function hideAllScreens():void{
var _local1:Number = 0;
while (_local1 < screens.length) {
screens[_local1].visible = false;
_local1++;
};
}
public function setScreen(_arg1:String):void{
var _local2:Number = 0;
while (_local2 < screens.length) {
screens[_local2].visible = (screens[_local2].name == _arg1);
_local2++;
};
}
}
}//package flesh
Section 94
//SoundManager (flesh.SoundManager)
package flesh {
import flash.media.*;
public class SoundManager {
public static var SOUND_COW_PICKUP0:uint = 5;
public static var SOUND_COW_PICKUP1:uint = 6;
public static var SOUND_STRUM:uint = 22;
public static var SOUND_MUSIC0:uint = 1;
public static var SOUND_MUSIC1:uint = 2;
public static var SOUND_MUSIC2:uint = 3;
private static var Sound0:Class = SoundManager_Sound0;
private static var Sound1:Class = SoundManager_Sound1;
private static var Sound2:Class = SoundManager_Sound2;
private static var Sound3:Class = SoundManager_Sound3;
private static var Sound4:Class = SoundManager_Sound4;
private static var Sound5:Class = SoundManager_Sound5;
private static var Sound6:Class = SoundManager_Sound6;
private static var Sound7:Class = SoundManager_Sound7;
private static var Sound9:Class = SoundManager_Sound9;
private static var Sound8:Class = SoundManager_Sound8;
public static var SOUND_SHIP_LASER:uint = 14;
private static var sounds:Array;
private static var Sound11:Class = SoundManager_Sound11;
public static var SOUND_GRINDER:uint = 11;
public static var SOUND_THUD:uint = 19;
public static var SOUND_DOOR_SHUT:uint = 9;
private static var Sound18:Class = SoundManager_Sound18;
private static var Sound12:Class = SoundManager_Sound12;
private static var Sound13:Class = SoundManager_Sound13;
public static var SOUND_THEME:uint = 0;
private static var Sound15:Class = SoundManager_Sound15;
private static var Sound16:Class = SoundManager_Sound16;
private static var Sound17:Class = SoundManager_Sound17;
private static var Sound10:Class = SoundManager_Sound10;
private static var Sound19:Class = SoundManager_Sound19;
private static var Sound14:Class = SoundManager_Sound14;
public static var musicEnabled:Boolean;
public static var SOUND_SHIP_HIT_WALL:uint = 13;
public static var SOUND_SHIP_THRUST:uint = 15;
private static var Sound20:Class = SoundManager_Sound20;
private static var Sound21:Class = SoundManager_Sound21;
private static var Sound22:Class = SoundManager_Sound22;
public static var SOUND_SHOT_HIT_WALL:uint = 16;
public static var SOUND_COW_HIT_GROUND:uint = 4;
public static var SOUND_SWITCH:uint = 20;
private static var transforms:Array;
public static var volumes:Array;
public static var SOUND_MOO:uint = 18;
public static var SOUND_LONGMOO:uint = 21;
public static var SOUND_EXPLOSION:uint = 17;
private static var fadingOutSound:Array;
public static var SOUND_ENEMY_LASER:uint = 10;
private static var channels:Array;
public static var SOUND_SHIP_HIT_BY_SHOT:uint = 12;
public static var SOUND_DOOR_OPEN:uint = 8;
public static var SOUND_CUD_COLLECTED:uint = 7;
public static var sfxEnabled:Boolean;
public static function getVolume(_arg1:uint):Number{
return (((channels[_arg1].leftPeak + channels[_arg1].rightPeak) * 0.5));
}
public static function stopSound(_arg1:uint):void{
if (channels[_arg1] != null){
channels[_arg1].stop();
channels[_arg1] = null;
};
}
public static function playSound(_arg1:uint, _arg2:Boolean=false, _arg3:Number=0, _arg4:Number=-1, _arg5:Number=0, _arg6:Boolean=false):void{
if (sfxEnabled){
playSoundImpl(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
};
}
public static function initStart():void{
sounds = new Array();
channels = new Array();
transforms = new Array();
volumes = new Array();
fadingOutSound = new Array();
sfxEnabled = true;
musicEnabled = true;
var _local1:Sound = new Sound0();
sounds.push(_local1);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.5);
var _local2:Sound = new Sound1();
sounds.push(_local2);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.1);
var _local3:Sound = new Sound2();
sounds.push(_local3);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.1);
var _local4:Sound = new Sound3();
sounds.push(_local4);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.1);
var _local5:Sound = new Sound4();
sounds.push(_local5);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.5);
var _local6:Sound = new Sound5();
sounds.push(_local6);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.5);
var _local7:Sound = new Sound6();
sounds.push(_local7);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.5);
var _local8:Sound = new Sound7();
sounds.push(_local8);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(1);
var _local9:Sound = new Sound8();
sounds.push(_local9);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.8);
var _local10:Sound = new Sound9();
sounds.push(_local10);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.8);
var _local11:Sound = new Sound10();
sounds.push(_local11);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.3);
var _local12:Sound = new Sound11();
sounds.push(_local12);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.5);
var _local13:Sound = new Sound12();
sounds.push(_local13);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.5);
var _local14:Sound = new Sound13();
sounds.push(_local14);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(1);
var _local15:Sound = new Sound14();
sounds.push(_local15);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.3);
var _local16:Sound = new Sound15();
sounds.push(_local16);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.3);
var _local17:Sound = new Sound16();
sounds.push(_local17);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(1);
var _local18:Sound = new Sound17();
sounds.push(_local18);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(1);
var _local19:Sound = new Sound18();
sounds.push(_local19);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.5);
var _local20:Sound = new Sound19();
sounds.push(_local20);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.3);
var _local21:Sound = new Sound20();
sounds.push(_local21);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(1);
var _local22:Sound = new Sound21();
sounds.push(_local22);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(1);
var _local23:Sound = new Sound22();
sounds.push(_local23);
channels.push(null);
transforms.push(new SoundTransform());
volumes.push(0.5);
var _local24:uint;
while (_local24 < sounds.length) {
fadingOutSound[_local24] = false;
_local24++;
};
}
public static function playMusic(_arg1:uint, _arg2:Boolean=false, _arg3:Number=0, _arg4:Number=-1, _arg5:Number=0, _arg6:Boolean=false):void{
if (musicEnabled){
playSoundImpl(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
};
}
public static function stopAllSounds():void{
var _local1:uint;
while (_local1 < channels.length) {
stopSound(_local1);
_local1++;
};
}
public static function setSfx(_arg1:Boolean):void{
sfxEnabled = _arg1;
}
public static function update(_arg1:Number):void{
var _local2:uint;
while (_local2 < sounds.length) {
if (((fadingOutSound[_local2]) && (!((channels[_local2] == null))))){
transforms[_local2].volume = (transforms[_local2].volume - _arg1);
if (transforms[_local2].volume <= 0){
stopSound(_local2);
fadingOutSound[_local2] = false;
};
};
_local2++;
};
}
public static function setMusic(_arg1:Boolean):void{
musicEnabled = _arg1;
}
public static function playSoundImpl(_arg1:uint, _arg2:Boolean=false, _arg3:Number=0, _arg4:Number=-1, _arg5:Number=0, _arg6:Boolean=false):void{
if (((_arg6) && (!((channels[_arg1] == null))))){
stopSound(_arg1);
};
transforms[_arg1].pan = _arg3;
transforms[_arg1].volume = ((_arg4 == -1)) ? volumes[_arg1] : _arg4;
channels[_arg1] = sounds[_arg1].play(_arg5, (_arg2) ? 10000 : 1, transforms[_arg1]);
}
public static function fadeOutSound(_arg1:uint):void{
fadingOutSound[_arg1] = true;
}
}
}//package flesh
Section 95
//SoundManager_Sound0 (flesh.SoundManager_Sound0)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound0 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 96
//SoundManager_Sound1 (flesh.SoundManager_Sound1)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound1 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 97
//SoundManager_Sound10 (flesh.SoundManager_Sound10)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound10 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 98
//SoundManager_Sound11 (flesh.SoundManager_Sound11)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound11 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 99
//SoundManager_Sound12 (flesh.SoundManager_Sound12)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound12 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 100
//SoundManager_Sound13 (flesh.SoundManager_Sound13)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound13 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 101
//SoundManager_Sound14 (flesh.SoundManager_Sound14)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound14 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 102
//SoundManager_Sound15 (flesh.SoundManager_Sound15)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound15 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 103
//SoundManager_Sound16 (flesh.SoundManager_Sound16)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound16 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 104
//SoundManager_Sound17 (flesh.SoundManager_Sound17)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound17 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 105
//SoundManager_Sound18 (flesh.SoundManager_Sound18)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound18 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 106
//SoundManager_Sound19 (flesh.SoundManager_Sound19)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound19 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 107
//SoundManager_Sound2 (flesh.SoundManager_Sound2)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound2 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 108
//SoundManager_Sound20 (flesh.SoundManager_Sound20)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound20 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 109
//SoundManager_Sound21 (flesh.SoundManager_Sound21)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound21 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 110
//SoundManager_Sound22 (flesh.SoundManager_Sound22)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound22 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 111
//SoundManager_Sound3 (flesh.SoundManager_Sound3)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound3 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 112
//SoundManager_Sound4 (flesh.SoundManager_Sound4)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound4 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 113
//SoundManager_Sound5 (flesh.SoundManager_Sound5)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound5 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 114
//SoundManager_Sound6 (flesh.SoundManager_Sound6)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound6 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 115
//SoundManager_Sound7 (flesh.SoundManager_Sound7)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound7 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 116
//SoundManager_Sound8 (flesh.SoundManager_Sound8)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound8 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 117
//SoundManager_Sound9 (flesh.SoundManager_Sound9)
package flesh {
import flash.display.*;
import mx.core.*;
public class SoundManager_Sound9 extends SoundAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package flesh
Section 118
//SpaceFiller (flesh.SpaceFiller)
package flesh {
import flash.display.*;
import flash.geom.*;
public class SpaceFiller extends Sprite {
public var maxScale:Number;
private var backBuffer:BitmapData;
public var currentBitmap:uint;
public var posRange:Vector;
private var spaceFillingBitmaps:Array;
private var sourceBitmaps:Array;
public var timeStored:Number;
public var minScale:Number;
public var scaleSpeed:Number;
public var posMin:Vector;
public var maxObjects:uint;
private var g:FleshGraphics;
public var posMax:Vector;
public var objectsPerSecond:Number;
public function SpaceFiller(_arg1:uint, _arg2:uint=100, _arg3:Number=0.1, _arg4:Number=1, _arg5:Number=1.1, _arg6:Number=0, _arg7:Number=0, _arg8:Number=640, _arg9:Number=480){
this.maxObjects = _arg2;
this.minScale = _arg3;
this.maxScale = _arg4;
this.scaleSpeed = _arg5;
spaceFillingBitmaps = new Array();
sourceBitmaps = new Array();
this.posMin = new Vector(_arg6, _arg7);
this.posMax = new Vector(_arg8, _arg9);
this.posRange = posMax.clone();
this.posRange.subtractVector(posMin);
this.opaqueBackground = true;
this.x = (this.y = 0);
backBuffer = new BitmapData(640, 480, false);
this.addChild(new Bitmap(backBuffer));
g = new FleshGraphics(640, 480);
currentBitmap = 0;
timeStored = 0;
}
public function setFillRate(_arg1:Number):void{
this.objectsPerSecond = _arg1;
}
public function update(_arg1:Number):void{
var _local2:uint;
var _local5:uint;
var _local6:BitmapData;
var _local7:SpaceFillingBitmap;
g.clear(0xFFFFFF);
_local2 = 0;
while (_local2 < spaceFillingBitmaps.length) {
spaceFillingBitmaps[_local2].update(_arg1);
spaceFillingBitmaps[_local2].paint(g);
_local2++;
};
var _local3:Rectangle = new Rectangle(0, 0, 640, 480);
var _local4:Point = new Point(0, 0);
backBuffer.fillRect(_local3, 0xFFFFFF);
backBuffer.copyPixels(g.buffer, _local3, _local4);
if (spaceFillingBitmaps.length < maxObjects){
timeStored = (timeStored + _arg1);
_local5 = Math.floor((objectsPerSecond * timeStored));
if (_local5 == 0){
return;
};
timeStored = (timeStored - (_local5 / objectsPerSecond));
_local2 = 0;
while (_local2 < _local5) {
_local6 = sourceBitmaps[currentBitmap];
currentBitmap++;
if (currentBitmap >= sourceBitmaps.length){
currentBitmap = 0;
};
_local7 = new SpaceFillingBitmap(this, _local6);
if (_local7.failed){
} else {
spaceFillingBitmaps.push(_local7);
};
_local2++;
};
};
}
public function checkCollisions(_arg1:SpaceFillingBitmap):Boolean{
var _local4:SpaceFillingBitmap;
var _local2:Point = new Point(0, 0);
var _local3:uint;
while (_local3 < spaceFillingBitmaps.length) {
_local4 = spaceFillingBitmaps[_local3];
if (_local4 == _arg1){
} else {
if (_arg1.g.buffer.hitTest(_local2, 0xFF, _local4.g.buffer, _local2)){
return (true);
};
};
_local3++;
};
return (false);
}
public function addSourceBitmap(_arg1:BitmapData):void{
sourceBitmaps.push(_arg1);
}
}
}//package flesh
Section 119
//SpaceFillingBitmap (flesh.SpaceFillingBitmap)
package flesh {
import flash.display.*;
import flash.geom.*;
public class SpaceFillingBitmap {
public var g:FleshGraphics;
private var parent:SpaceFiller;
public var sourceBitmap:BitmapData;
private var angle:Number;
public var pos:Point;
public var scaling:Boolean;
private var scale:Number;
public var failed:Boolean;
public function SpaceFillingBitmap(_arg1:SpaceFiller, _arg2:BitmapData){
var _local3:Number;
var _local4:Number;
super();
this.parent = _arg1;
this.sourceBitmap = _arg2;
g = new FleshGraphics(640, 480);
g.clear(0xFFFFFF);
scale = _arg1.minScale;
var _local5:uint;
do {
_local3 = ((Math.random() * _arg1.posRange.x) + _arg1.posMin.x);
_local4 = ((Math.random() * _arg1.posRange.y) + _arg1.posMin.y);
angle = Utils.getAngle((_local3 - 320), (_local4 - 240));
g.clear(0xFFFFFF);
g.drawImage(_arg2, _local3, _local4, FleshGraphics.GCC, angle, scale, scale);
_local5++;
} while (((_arg1.checkCollisions(this)) && ((_local5 < 20))));
failed = (_local5 >= 20);
pos = new Point(_local3, _local4);
g.clear(0xFFFFFF);
scaling = true;
}
public function update(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
if (!scaling){
return;
};
if (scale < parent.maxScale){
_local2 = scale;
_local3 = (scale * parent.scaleSpeed);
if (_local3 > parent.maxScale){
_local3 = parent.maxScale;
};
scale = _local3;
if (parent.checkCollisions(this)){
scaling = false;
scale = (_local2 * 0.9);
};
};
}
public function paint(_arg1:FleshGraphics):void{
g.clear(0xFFFFFF);
g.drawImage(sourceBitmap, pos.x, pos.y, FleshGraphics.GCC, angle, scale, scale, 1, -1, null, "normal", true);
_arg1.drawImageUntransformed(g.buffer, 0, 0, 0, 0, 0, 0);
}
}
}//package flesh
Section 120
//Utils (flesh.Utils)
package flesh {
public class Utils {
public static var RAD315:Number = (RAD270 + RAD45);
public static var RIGHT:uint = 3;
public static var RAD90:Number = 1.5707963267949;
public static var LEFT:uint = 2;
public static var RAD30:Number = 0.523598775598299;
public static var RAD180:Number = 3.14159265358979;
public static var RAD15:Number = 0.261799387799149;
public static var UP:uint = 0;
public static var RAD360:Number = 6.28318530717959;
public static var RAD225:Number = (RAD180 + RAD45);
public static var DOWN:uint = 1;
public static var RAD60:Number = 1.0471975511966;
public static var RAD270:Number = (RAD180 + RAD90);
public static var RAD45:Number = 0.785398163397448;
public static var RAD135:Number = (RAD45 + RAD90);
public static function getInterpolatedColourUtil(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:Number):Number{
var _local11:Number = (_arg10 - _arg9);
_arg1 = (((_arg5 * _arg9) + (_arg1 * _local11)) / _arg10);
_arg2 = (((_arg6 * _arg9) + (_arg2 * _local11)) / _arg10);
_arg3 = (((_arg7 * _arg9) + (_arg3 * _local11)) / _arg10);
_arg4 = (((_arg8 * _arg9) + (_arg4 * _local11)) / _arg10);
_arg1 = ((_arg1)>0xFF) ? 0xFF : ((_arg1)<0) ? 0 : _arg1;
_arg2 = ((_arg2)>0xFF) ? 0xFF : ((_arg2)<0) ? 0 : _arg2;
_arg3 = ((_arg3)>0xFF) ? 0xFF : ((_arg3)<0) ? 0 : _arg3;
_arg4 = ((_arg4)>0xFF) ? 0xFF : ((_arg4)<0) ? 0 : _arg4;
var _local12:Number = Math.round(_arg1);
var _local13:Number = Math.round(_arg2);
var _local14:Number = Math.round(_arg3);
var _local15:Number = Math.round(_arg4);
return (((((_local12 << 24) | (_local13 << 16)) | (_local14 << 8)) | _local15));
}
public static function getDistanceBetweenLineAndPoint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Number{
var _local7:Number = (_arg3 - _arg1);
var _local8:Number = (_arg4 - _arg2);
var _local9:Number = ((((_arg5 - _arg1) * _local7) + ((_arg6 - _arg2) * _local8)) / ((_local7 * _local7) + (_local8 * _local8)));
var _local10:Number = 0;
var _local11:Number = 0;
if ((((_local9 >= 0)) && ((_local9 <= 1)))){
_local10 = (_arg1 + int((_local9 * _local7)));
_local11 = (_arg2 + int((_local9 * _local8)));
} else {
if (_local9 < 0){
_local10 = _arg1;
_local11 = _arg2;
} else {
if (_local9 > 0){
_local10 = _arg3;
_local11 = _arg4;
};
};
};
_local7 = (_local10 - _arg5);
_local8 = (_local11 - _arg6);
var _local12:Number = Math.sqrt(((_local7 * _local7) + (_local8 * _local8)));
return (_local12);
}
public static function getAngleBetweenAngles(_arg1:Number, _arg2:Number):Number{
if ((((_arg1 > RAD270)) && ((_arg2 < RAD90)))){
return (((RAD360 - _arg1) + _arg2));
};
if ((((_arg2 > RAD270)) && ((_arg1 < RAD90)))){
return (((RAD360 - _arg2) + _arg1));
};
return (Math.abs((_arg1 - _arg2)));
}
public static function getAngle(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (Math.atan2(_arg2, _arg1) + (Math.PI / 2));
if (_local3 < 0){
_local3 = (_local3 + (Math.PI * 2));
};
return (_local3);
}
public static function getInterpolatedColour(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (getInterpolatedColourUtil((0xFF & (_arg1 >> 24)), (0xFF & (_arg1 >> 16)), (0xFF & (_arg1 >> 8)), (0xFF & (_arg1 >> 0)), (0xFF & (_arg2 >> 24)), (0xFF & (_arg2 >> 16)), (0xFF & (_arg2 >> 8)), (0xFF & (_arg2 >> 0)), _arg3, _arg4));
}
}
}//package flesh
Section 121
//Vector (flesh.Vector)
package flesh {
public class Vector {
public var x:Number;
public var y:Number;
public function Vector(_arg1:Number, _arg2:Number){
x = _arg1;
y = _arg2;
}
public function divide(_arg1:Number):void{
x = (x / _arg1);
y = (y / _arg1);
}
public function getUnitNormal():Vector{
var _local1:Vector = new Vector(y, -(x));
_local1.unit();
return (_local1);
}
public function set(_arg1:Number, _arg2:Number):void{
x = _arg1;
y = _arg2;
}
public function addVector(_arg1:Vector):void{
x = (x + _arg1.x);
y = (y + _arg1.y);
}
public function setVector(_arg1:Vector):void{
x = _arg1.x;
y = _arg1.y;
}
public function length():Number{
return (Math.sqrt(((x * x) + (y * y))));
}
public function add(_arg1:Number, _arg2:Number):void{
x = (x + _arg1);
y = (y + _arg2);
}
public function multiply(_arg1:Number):void{
x = (x * _arg1);
y = (y * _arg1);
}
public function subtractNew(_arg1:Vector):Vector{
return (new Vector((x - _arg1.x), (y - _arg1.y)));
}
public function unit():Number{
var _local1:Number = Math.sqrt(((x * x) + (y * y)));
if (_local1 > 0){
x = (x / _local1);
y = (y / _local1);
return (_local1);
};
return (0);
}
public function subtract(_arg1:Number, _arg2:Number):void{
x = (x - _arg1);
y = (y - _arg2);
}
public function square():void{
x = (x * x);
y = (y * y);
}
public function invert():void{
x = -(x);
y = -(y);
}
public function subtractVector(_arg1:Vector):void{
x = (x - _arg1.x);
y = (y - _arg1.y);
}
public function toString():String{
return (((x + ",") + y));
}
public function multiplyNew(_arg1:Number):Vector{
return (new Vector((x * _arg1), (y * _arg1)));
}
public function clone():Vector{
return (new Vector(x, y));
}
public function addNew(_arg1:Vector):Vector{
return (new Vector((x - _arg1.x), (y - _arg1.y)));
}
public static function getRandomVectorBetween(_arg1:Vector, _arg2:Vector):Vector{
var _local3:Vector = _arg2.clone();
_local3.subtractVector(_arg1);
_local3.multiply(Math.random());
_local3.addVector(_arg1);
return (_local3);
}
}
}//package flesh
Section 122
//XMLLoader (flesh.XMLLoader)
package flesh {
import flash.events.*;
import flash.net.*;
public class XMLLoader {
private var urlLoader:URLLoader;
private var returnFunction:Function;
public function XMLLoader(){
urlLoader = new URLLoader();
super();
}
public function loadXML(_arg1:String, _arg2:Function):void{
this.returnFunction = _arg2;
var _local3:URLRequest = new URLRequest(((_arg1 + "?cachebuster=") + new Date().getTime()));
urlLoader.addEventListener(Event.COMPLETE, loadUrlSuccess);
urlLoader.addEventListener(IOErrorEvent.IO_ERROR, loadUrlFail);
urlLoader.load(_local3);
}
public function loadUrlFail(_arg1:IOErrorEvent):void{
trace(("problem loading: " + _arg1.text));
}
public function loadUrlSuccess(_arg1:Event):void{
var _local2:XML = new XML(urlLoader.data);
returnFunction(_local2);
}
}
}//package flesh
Section 123
//BitmapAsset (mx.core.BitmapAsset)
package mx.core {
import flash.display.*;
public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject {
mx_internal static const VERSION:String = "3.0.0.0";
public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
public function get measuredHeight():Number{
if (bitmapData){
return (bitmapData.height);
};
return (0);
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function get measuredWidth():Number{
if (bitmapData){
return (bitmapData.width);
};
return (0);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _arg2;
}
}
}//package mx.core
Section 124
//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 125
//FlexBitmap (mx.core.FlexBitmap)
package mx.core {
import flash.display.*;
import mx.utils.*;
public class FlexBitmap extends Bitmap {
mx_internal static const VERSION:String = "3.0.0.0";
public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
var bitmapData = _arg1;
var pixelSnapping = _arg2;
var smoothing = _arg3;
super(bitmapData, pixelSnapping, smoothing);
try {
name = NameUtil.createUniqueName(this);
} catch(e:Error) {
};
}
override public function toString():String{
return (NameUtil.displayObjectToString(this));
}
}
}//package mx.core
Section 126
//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 127
//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 128
//IBorder (mx.core.IBorder)
package mx.core {
public interface IBorder {
function get borderMetrics():EdgeMetrics;
}
}//package mx.core
Section 129
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 130
//IFlexDisplayObject (mx.core.IFlexDisplayObject)
package mx.core {
import flash.events.*;
import flash.display.*;
public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher {
function get y():Number;
function get width():Number;
function get name():String;
function set width(_arg1:Number):void;
function get measuredHeight():Number;
function get scaleX():Number;
function get scaleY():Number;
function move(_arg1:Number, _arg2:Number):void;
function set height(_arg1:Number):void;
function set name(_arg1:String):void;
function set mask(_arg1:DisplayObject):void;
function set scaleX(_arg1:Number):void;
function set scaleY(_arg1:Number):void;
function get measuredWidth():Number;
function set visible(_arg1:Boolean):void;
function get alpha():Number;
function get height():Number;
function get parent():DisplayObjectContainer;
function get mask():DisplayObject;
function set x(_arg1:Number):void;
function setActualSize(_arg1:Number, _arg2:Number):void;
function get visible():Boolean;
function get x():Number;
function set y(_arg1:Number):void;
function set alpha(_arg1:Number):void;
}
}//package mx.core
Section 131
//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 132
//MovieClipAsset (mx.core.MovieClipAsset)
package mx.core {
public class MovieClipAsset extends FlexMovieClip implements IFlexAsset, IFlexDisplayObject, IBorder {
private var _measuredWidth:Number;
private var _measuredHeight:Number;
mx_internal static const VERSION:String = "3.0.0.0";
public function MovieClipAsset(){
_measuredWidth = width;
_measuredHeight = height;
}
public function get measuredHeight():Number{
return (_measuredHeight);
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function get measuredWidth():Number{
return (_measuredWidth);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _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 133
//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 134
//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 135
//SpriteAsset (mx.core.SpriteAsset)
package mx.core {
public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder {
private var _measuredWidth:Number;
private var _measuredHeight:Number;
mx_internal static const VERSION:String = "3.0.0.0";
public function SpriteAsset(){
_measuredWidth = width;
_measuredHeight = height;
}
public function get measuredHeight():Number{
return (_measuredHeight);
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function get measuredWidth():Number{
return (_measuredWidth);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _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 136
//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 137
//CowBandits (CowBandits)
package {
import flash.display.*;
import flash.events.*;
import cowbandits.*;
import com.morpheme.g5.*;
import flesh.*;
import flash.utils.*;
public dynamic class CowBandits extends G5Game {
private var engine:Engine;
private var TitleScreen:Class;
private var MovResources:Class;
public var resources:Sprite;
private var lastUpdateTime:Number;
private var movTitleScreen:Sprite;
private static var GAME_ID:Number = 18;
public function CowBandits(_arg1:Number, _arg2:Number){
TitleScreen = CowBandits_TitleScreen;
movTitleScreen = new TitleScreen();
MovResources = CowBandits_MovResources;
resources = new MovResources();
super(GAME_ID, _arg1, _arg2, this, false, !(Engine.RELEASE_WRAPPER));
}
override public function hiScoreDataLoaded(_arg1:Array):void{
engine.hiScoreDataLoaded(_arg1);
}
private function showScreen(_arg1:Sprite):void{
movTitleScreen.visible = false;
if (_arg1 != null){
_arg1.visible = true;
};
}
override public function showMenuScreen():void{
showScreen(null);
engine.visible = true;
engine.initInstructions();
}
public function update(_arg1:Event):void{
var _local2:Number = getTimer();
var _local3:Number = ((_local2 - lastUpdateTime) / 1000);
lastUpdateTime = _local2;
engine.update(_local3);
}
public function onButtonPress(_arg1:MouseEvent):void{
switch (_arg1.target.name){
case "btnNext":
this.removeChild(movTitleScreen);
exitTitleScreen();
break;
case "btnPlay":
showPlayScreen();
break;
case "btnHiScores":
showHiScoresScreen();
break;
case "btnNextHiScores":
exitHiScoresScreen();
break;
};
}
public function mouseMove(_arg1:MouseEvent):void{
Engine.mouseMove(_arg1);
}
public function keyUp(_arg1:KeyboardEvent):void{
}
override public function toggleSound():void{
trace("Call sound toggling code here!");
}
private function showPlayScreen():void{
}
public function keyDown(_arg1:KeyboardEvent):void{
Engine.keyDown(_arg1);
}
public function mouseUp(_arg1:MouseEvent):void{
Engine.mouseUp(_arg1);
}
override public function initGame():void{
trace(("[G5 GAME DEBUG] initGame, stage = " + this.stage));
engine = new Engine(this);
engine.initGame(resources);
addChild(engine);
this.stage.addEventListener(Event.ENTER_FRAME, update);
this.stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
this.stage.addEventListener(MouseEvent.MOUSE_UP, mouseUp);
this.stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMove);
this.stage.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheel);
this.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown);
this.stage.addEventListener(KeyboardEvent.KEY_UP, keyUp);
movTitleScreen["btnNext"].addEventListener(MouseEvent.MOUSE_DOWN, onButtonPress);
addChild(movTitleScreen);
showScreen(null);
engine.visible = false;
lastUpdateTime = getTimer();
}
private function showHiScoresScreen():void{
initHiScores(7, false, 12345, "12345", "points scored", 180, 50);
}
override public function showTitleScreen():void{
SoundManager.playMusic(SoundManager.SOUND_THEME, true);
showScreen(movTitleScreen);
}
public function mouseDown(_arg1:MouseEvent):void{
Engine.mouseDown(_arg1);
}
public function mouseWheel(_arg1:MouseEvent):void{
}
}
}//package
Section 138
//CowBandits_MovResources (CowBandits_MovResources)
package {
import flash.display.*;
import mx.core.*;
public class CowBandits_MovResources extends SpriteAsset {
public var buttonMorpheme:DisplayObject;
public var buttonCredits:DisplayObject;
public var buttonExitCredits:DisplayObject;
public var buttonCloseLevelInfo:DisplayObject;
public var revealLine1:DisplayObject;
public var buttonMusic:DisplayObject;
public var buttonSounds:DisplayObject;
public var versionText:DisplayObject;
public var buttonBackToMap:DisplayObject;
public var guiClip:DisplayObject;
public var screenInstructions:DisplayObject;
public var buttonExitInstructions:DisplayObject;
public var cowsLeftText:DisplayObject;
public var screenCompleted:DisplayObject;
public var screenMap:DisplayObject;
public var buttonPlayLevel0:DisplayObject;
public var buttonPlayLevel1:DisplayObject;
public var buttonPlayLevel2:DisplayObject;
public var buttonPlayLevel3:DisplayObject;
public var buttonPlayLevel5:DisplayObject;
public var buttonPlayLevel6:DisplayObject;
public var buttonPlayLevel7:DisplayObject;
public var buttonMoreGames:DisplayObject;
public var buttonPlayLevel9:DisplayObject;
public var buttonPlayLevel4:DisplayObject;
public var buttonPlayLevel8:DisplayObject;
public var btnNext:DisplayObject;
public var buttonPlayAgain:DisplayObject;
public var buttonG5:DisplayObject;
public var butMenu:DisplayObject;
public var screenCredits:DisplayObject;
public var timeText:DisplayObject;
public var hiMarker:DisplayObject;
public var buttonPlayLevel:DisplayObject;
public var barMask:DisplayObject;
public var levelScoreText:DisplayObject;
public var yellowBracketLeft:DisplayObject;
public var buttonGimme5:DisplayObject;
public var buttonExitCompleted:DisplayObject;
public var screenLevelComplete:DisplayObject;
public var screenLevelFailed:DisplayObject;
public var yellowBracketRight:DisplayObject;
public var fps:DisplayObject;
public var revealLine2:DisplayObject;
public var revealLine3:DisplayObject;
public var revealLine4:DisplayObject;
public var revealLine6:DisplayObject;
public var revealLine7:DisplayObject;
public var revealLine8:DisplayObject;
public var revealLine9:DisplayObject;
public var revealLine5:DisplayObject;
public var levelNameText:DisplayObject;
public var revealLine0:DisplayObject;
}
}//package
Section 139
//CowBandits_TitleScreen (CowBandits_TitleScreen)
package {
import flash.display.*;
import mx.core.*;
public class CowBandits_TitleScreen extends SpriteAsset {
public var btnNext:DisplayObject;
}
}//package
Section 140
//CowBanditsPreloader (CowBanditsPreloader)
package {
import com.morpheme.g5.*;
public dynamic class CowBanditsPreloader extends G5Preloader {
public function CowBanditsPreloader(){
super("CowBandits", 640, 480);
}
}
}//package