Section 1
//MochiAd (mochi.as3.MochiAd)
package mochi.as3 {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class MochiAd {
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function doOnEnterFrame(_arg1:MovieClip):void{
var mc = _arg1;
var f:Function = function (_arg1:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
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 showPreGameAd(_arg1:Object):void{
var clip:Object;
var mc:MovieClip;
var chk:MovieClip;
var complete:Boolean;
var unloaded:Boolean;
var sendHostProgress:Boolean;
var fn:Function;
var r:MovieClip;
var options = _arg1;
var DEFAULTS:Object = {ad_timeout:5500, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function ():void{
}, ad_progress:function (_arg1:Number):void{
}, progress_override:function (_arg1:Object):Number{
return (NaN);
}, bar_offset:0};
options = MochiAd._parseOptions(options, DEFAULTS);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){
options.ad_started();
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
return;
};
clip = options.clip;
var ad_msec:Number = 11000;
var ad_timeout:Number = options.ad_timeout;
if (options.skip){
ad_timeout = 0;
};
delete options.ad_timeout;
var fadeout_time:Number = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
var fn:Function = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
};
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);
if (options.no_progress_bar){
bar.visible = false;
delete options.no_progress_bar;
} else {
bar.x = (10 + options.bar_offset);
bar.y = (h - 20);
};
var bar_w:Number = ((w - bar.x) - 10);
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(bar_w, 0);
backing.lineTo(bar_w, 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(bar_w, 0);
inside.lineTo(bar_w, 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(bar_w, 0);
outline.lineTo(bar_w, 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 _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
complete = false;
unloaded = false;
var progress:Number = Math.min(1, options.progress_override(clip));
var f:Function = function (_arg1:Event):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
complete = true;
if (unloaded){
MochiAd.unload(clip);
};
};
if (!isNaN(progress)){
complete = (progress == 1);
} else {
if (clip.loaderInfo.bytesLoaded == clip.loaderInfo.bytesTotal){
complete = true;
} else {
if ((clip.root is MovieClip)){
r = (clip.root as MovieClip);
if (r.framesLoaded >= r.totalFrames){
complete = true;
} else {
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
};
} else {
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
};
};
};
mc.unloadAd = function ():void{
unloaded = true;
if (complete){
MochiAd.unload(clip);
};
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = _arg1;
};
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
mc.rpcTestFn = function (_arg1:String):Object{
trace(("[MOCHIAD rpcTestFn] " + _arg1));
return (_arg1);
};
sendHostProgress = false;
mc.sendHostLoadProgress = function (_arg1:String):void{
sendHostProgress = true;
};
chk["onEnterFrame"] = function ():void{
var _local12:Number;
if (((!(this.parent)) || (!(this.parent.parent)))){
delete this["onEnterFrame"];
return;
};
var _local1:Object = this.parent.parent.root;
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 = Math.min(1, options.progress_override(_local1));
if (_local7 == 1){
complete = true;
};
if (complete){
_local6 = Math.max(1, _local6);
_local5 = _local6;
};
var _local8:Number = ((100 * _local6) / _local5);
if (!isNaN(_local7)){
_local8 = (100 * _local7);
};
var _local9:Number = ((100 * _local3) / chk.ad_msec);
var _local10:Object = this._mochiad_bar._inside;
var _local11:Number = Math.min(100, Math.min(((_local8) || (0)), _local9));
_local11 = Math.max(this.last_pcnt, _local11);
this.last_pcnt = _local11;
_local10.scaleX = (_local11 * 0.01);
options.ad_progress(_local11);
if (sendHostProgress){
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local8});
if (_local8 >= 100){
sendHostProgress = false;
};
};
if (!chk.showing){
_local12 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local12 > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if ((((_local3 > chk.ad_timeout)) && ((_local8 == 100)))){
options.ad_failed();
_local4 = true;
};
};
};
if (_local3 > chk.ad_msec){
_local4 = true;
};
if (((complete) && (_local4))){
if (unloaded){
MochiAd.unload(_local1);
} else {
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
};
doOnEnterFrame(chk);
}
public static function showClickAwayAd(_arg1:Object):void{
var clip:Object;
var mc:MovieClip;
var chk:MovieClip;
var options = _arg1;
var DEFAULTS:Object = {ad_timeout:5500, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{
}, ad_finished:function ():void{
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
var ad_timeout:Number = options.ad_timeout;
delete options.ad_timeout;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
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_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
chk["onEnterFrame"] = function ():void{
var _local4:Number;
if (!this.parent){
delete this.onEnterFrame;
return;
};
var _local1:Object = this.parent._mochiad_ctr;
var _local2:Number = (getTimer() - this.started);
var _local3:Boolean;
if (!chk.showing){
_local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local4 > 0){
chk.showing = true;
_local3 = true;
chk.started = getTimer();
} else {
if (_local2 > chk.ad_timeout){
options.ad_failed();
_local3 = true;
};
};
};
if (this.root == null){
_local3 = true;
};
if (_local3){
delete this.onEnterFrame;
};
};
doOnEnterFrame(chk);
}
public static function showInterLevelAd(_arg1:Object):void{
var clip:Object;
var mc:MovieClip;
var chk:MovieClip;
var options = _arg1;
var DEFAULTS:Object = {ad_timeout:5500, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped: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_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
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{
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = (_arg1 - 250);
};
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
chk["onEnterFrame"] = function ():void{
var _local4:Number;
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
var _local1:Object = this.parent._mochiad_ctr;
var _local2:Number = (getTimer() - this.started);
var _local3:Boolean;
if (!chk.showing){
_local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local4 > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if (_local2 > chk.ad_timeout){
options.ad_failed();
_local3 = true;
};
};
};
if (_local2 > chk.ad_msec){
_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 showPreloaderAd(_arg1:Object):void{
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
MochiAd.showPreGameAd(_arg1);
}
public static function showTimedAd(_arg1:Object):void{
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
MochiAd.showInterLevelAd(_arg1);
}
public static function _allowDomains(_arg1:String):String{
var _local2:String = _arg1.split("/")[2].split(":")[0];
if (Security.sandboxType == "application"){
return (_local2);
};
Security.allowDomain("*");
Security.allowDomain(_local2);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(_local2);
return (_local2);
}
public static function load(_arg1:Object):MovieClip{
var clip:Object;
var mc:MovieClip;
var k:String;
var server:String;
var hostname:String;
var lc:LocalConnection;
var name:String;
var loader:Loader;
var g:Function;
var req:URLRequest;
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();
clip = options.clip;
if (!(clip is DisplayObject)){
trace("Warning: Object passed as container clip not a descendant of the DisplayObject type");
return (null);
};
if (MovieClip(clip).stage == null){
trace("Warning: Container clip for ad is not attached to the stage");
return (null);
};
if (!MochiAd._isNetworkAvailable()){
return (null);
};
try {
if (clip._mochiad_loaded){
return (null);
};
} catch(e:Error) {
throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic."));
};
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;
if (clip.loaderInfo.loaderURL.indexOf("http") == 0){
options.as3_swf = clip.loaderInfo.loaderURL;
} else {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
};
var lv:URLVariables = new URLVariables();
for (k in options) {
v = options[k];
if (!(v is Function)){
lv[k] = v;
};
};
server = lv.server;
delete lv.server;
hostname = _allowDomains(server);
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.lc = lc;
mc.lcName = name;
lv.lc = name;
lv.st = getTimer();
mc.regContLC = function (_arg1:String):void{
mc._containerLCName = _arg1;
};
loader = new Loader();
g = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
MochiAd.unload(clip);
};
loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g);
req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime()));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{
trace("[MochiAds] Blocked URL");
});
if (!options.skip){
loader.load(req);
};
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function unload(_arg1:Object):Boolean{
if (((_arg1.clip) && (_arg1.clip._mochiad))){
_arg1 = _arg1.clip;
};
if (_arg1.origFrameRate != undefined){
_arg1.stage.frameRate = _arg1.origFrameRate;
};
if (!_arg1._mochiad){
return (false);
};
if (_arg1._mochiad._containerLCName != undefined){
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"});
};
if (_arg1._mochiad.onUnload){
_arg1._mochiad.onUnload();
};
delete _arg1._mochiad_loaded;
delete _arg1._mochiad;
return (true);
}
public static function _cleanup(_arg1:Object):void{
var k:String;
var lc:LocalConnection;
var f:Function;
var mc = _arg1;
if (("lc" in mc)){
lc = mc.lc;
f = function ():void{
try {
lc.client = null;
lc.close();
} catch(e:Error) {
};
};
setTimeout(f, 0);
};
var idx:Number = DisplayObjectContainer(mc).numChildren;
while (idx > 0) {
idx = (idx - 1);
DisplayObjectContainer(mc).removeChildAt(idx);
};
for (k in mc) {
delete mc[k];
};
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
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.right - _local3.left);
_local5 = (_local3.top - _local3.bottom);
};
if ((((_local4 == 0)) || ((_local5 == 0)))){
_local4 = _arg2.stage.stageWidth;
_local5 = _arg2.stage.stageHeight;
};
return ([_local4, _local5]);
}
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];
};
};
if (_local3.clip == undefined){
throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite."));
};
_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++;
};
};
if (_local3.id == "test"){
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
};
return (_local3);
}
public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{
var _local4:Object;
var _local5:Object;
switch (_arg3.id){
case "setValue":
MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value);
break;
case "getValue":
_local4 = MochiAd.getValue(_arg1, _arg3.objectName);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4);
break;
case "runMethod":
_local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5);
break;
default:
trace(("[mochiads rpc] unknown rpc id: " + _arg3.id));
};
}
public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{
var _local4:Array = _arg2.split(".");
var _local5:Number = 0;
while (_local5 < (_local4.length - 1)) {
if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){
return;
};
_arg1 = _arg1[_local4[_local5]];
_local5++;
};
_arg1[_local4[_local5]] = _arg3;
}
public static function getValue(_arg1:Object, _arg2:String):Object{
var _local3:Array = _arg2.split(".");
var _local4:Number = 0;
while (_local4 < (_local3.length - 1)) {
if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){
return (undefined);
};
_arg1 = _arg1[_local3[_local4]];
_local4++;
};
return (_arg1[_local3[_local4]]);
}
public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{
var _local4:Array = _arg2.split(".");
var _local5:Number = 0;
while (_local5 < (_local4.length - 1)) {
if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){
return (undefined);
};
_arg1 = _arg1[_local4[_local5]];
_local5++;
};
if (typeof(_arg1[_local4[_local5]]) == "function"){
return (_arg1[_local4[_local5]].apply(_arg1, _arg3));
};
return (undefined);
}
public static function adShowing(_arg1:Object):void{
_arg1.origFrameRate = _arg1.stage.frameRate;
_arg1.stage.frameRate = 30;
}
}
}//package mochi.as3
Section 2
//MochiCoins (mochi.as3.MochiCoins)
package mochi.as3 {
public class MochiCoins {
public static const STORE_SHOW:String = "StoreShow";
public static const STORE_HIDE:String = "StoreHide";
public static const ITEM_OWNED:String = "ItemOwned";
public static const ITEM_NEW:String = "ItemNew";
public static const STORE_ITEMS:String = "StoreItems";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IOError";
public static const NO_USER:String = "NoUser";
public static var _inventory:MochiInventory;
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public static function get inventory():MochiInventory{
return (_inventory);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function showStore(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showStore", {options:_arg1}, null, null);
}
public static function showItem(_arg1:Object=null):void{
if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){
trace("ERROR: showItem call must pass an Object with an item key");
return;
};
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showItem", {options:_arg1}, null, null);
}
public static function showVideo(_arg1:Object=null):void{
if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){
trace("ERROR: showVideo call must pass an Object with an item key");
return;
};
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showVideo", {options:_arg1}, null, null);
}
public static function getStoreItems():void{
MochiServices.send("coins_getStoreItems");
}
public static function requestFunding(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestFunding", _arg1);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{
_inventory = new MochiInventory();
});
addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{
_inventory = null;
});
}
}//package mochi.as3
Section 3
//MochiDigits (mochi.as3.MochiDigits)
package mochi.as3 {
public final class MochiDigits {
private var Fragment:Number;
private var Sibling:MochiDigits;
private var Encoder:Number;
public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{
Encoder = 0;
setValue(_arg1, _arg2);
}
public function get value():Number{
return (Number(this.toString()));
}
public function set value(_arg1:Number):void{
setValue(_arg1);
}
public function addValue(_arg1:Number):void{
value = (value + _arg1);
}
public function setValue(_arg1:Number=0, _arg2:uint=0):void{
var _local3:String = _arg1.toString();
var _temp1 = _arg2;
_arg2 = (_arg2 + 1);
Fragment = (_local3.charCodeAt(_temp1) ^ Encoder);
if (_arg2 < _local3.length){
Sibling = new MochiDigits(_arg1, _arg2);
} else {
Sibling = null;
};
reencode();
}
public function reencode():void{
var _local1:uint = int((2147483647 * Math.random()));
Fragment = (Fragment ^ (_local1 ^ Encoder));
Encoder = _local1;
}
public function toString():String{
var _local1:String = String.fromCharCode((Fragment ^ Encoder));
if (Sibling != null){
_local1 = (_local1 + Sibling.toString());
};
return (_local1);
}
}
}//package mochi.as3
Section 4
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher)
package mochi.as3 {
public class MochiEventDispatcher {
private var eventTable:Object;
public function MochiEventDispatcher():void{
eventTable = {};
}
public function addEventListener(_arg1:String, _arg2:Function):void{
removeEventListener(_arg1, _arg2);
eventTable[_arg1].push(_arg2);
}
public function removeEventListener(_arg1:String, _arg2:Function):void{
var _local3:Object;
if (eventTable[_arg1] == undefined){
eventTable[_arg1] = [];
return;
};
for (_local3 in eventTable[_arg1]) {
if (eventTable[_arg1][_local3] != _arg2){
} else {
eventTable[_arg1].splice(Number(_local3), 1);
};
};
}
public function triggerEvent(_arg1:String, _arg2:Object):void{
var _local3:Object;
if (eventTable[_arg1] == undefined){
return;
};
for (_local3 in eventTable[_arg1]) {
var _local6 = eventTable[_arg1];
_local6[_local3](_arg2);
};
}
}
}//package mochi.as3
Section 5
//MochiEvents (mochi.as3.MochiEvents)
package mochi.as3 {
public class MochiEvents {
public static const ACHIEVEMENTS_OWNED:String = "AchievementOwned";
public static const ACHIEVEMENT_NEW:String = "AchievementReceived";
public static const GAME_ACHIEVEMENTS:String = "GameAchievements";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IOError";
public static const IO_PENDING:String = "IOPending";
public static const ALIGN_TOP_LEFT:String = "ALIGN_TL";
public static const ALIGN_TOP:String = "ALIGN_T";
public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR";
public static const ALIGN_LEFT:String = "ALIGN_L";
public static const ALIGN_CENTER:String = "ALIGN_C";
public static const ALIGN_RIGHT:String = "ALIGN_R";
public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL";
public static const ALIGN_BOTTOM:String = "ALIGN_B";
public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR";
public static const FORMAT_SHORT:String = "ShortForm";
public static const FORMAT_LONG:String = "LongForm";
public static const FORMAT_NONE:String = "NoForm";
private static var gameStart:Number;
private static var levelStart:Number;
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function getAchievements(_arg1:Object=null):void{
MochiServices.send("events_getAchievements", _arg1);
}
public static function unlockAchievement(_arg1:Object):void{
MochiServices.send("events_unlockAchievement", _arg1);
}
public static function startSession(_arg1:String):void{
MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null);
}
public static function showAwards(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.stayOnTop();
MochiServices.send("events_showAwards", _arg1);
}
public static function setNotifications(_arg1:Object):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("events_setNotifications", _arg1, null, null);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
public static function startPlay(_arg1:String="gameplay"):void{
MochiServices.send("events_setRoundID", {tag:String(_arg1)}, null, null);
}
public static function endPlay():void{
MochiServices.send("events_clearRoundID", null, null, null);
}
public static function trackEvent(_arg1:String, _arg2=null):void{
MochiServices.send("events_trackEvent", {tag:_arg1, value:_arg2}, null, null);
}
}
}//package mochi.as3
Section 6
//MochiInventory (mochi.as3.MochiInventory)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
public dynamic class MochiInventory extends Proxy {
private var _timer:Timer;
private var _consumableProperties:Object;
private var _syncPending:Boolean;
private var _outstandingID:Number;
private var _syncID:Number;
private var _names:Array;
private var _storeSync:Object;
private static const CONSUMER_KEY:String = "MochiConsumables";
private static const KEY_SALT:String = " syncMaint";
public static const READY:String = "InvReady";
public static const WRITTEN:String = "InvWritten";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IoError";
public static const VALUE_ERROR:String = "InvValueError";
public static const NOT_READY:String = "InvNotReady";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public function MochiInventory():void{
MochiCoins.addEventListener(MochiCoins.ITEM_OWNED, itemOwned);
MochiCoins.addEventListener(MochiCoins.ITEM_NEW, newItems);
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, loggedIn);
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, loggedOut);
_storeSync = new Object();
_syncPending = false;
_outstandingID = 0;
_syncID = 0;
_timer = new Timer(1000);
_timer.addEventListener(TimerEvent.TIMER, sync);
_timer.start();
if (MochiSocial.loggedIn){
loggedIn();
} else {
loggedOut();
};
}
public function release():void{
MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, newItems);
MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn);
MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, loggedOut);
}
private function loggedOut(_arg1:Object=null):void{
_consumableProperties = null;
}
private function loggedIn(_arg1:Object=null):void{
MochiUserData.get(CONSUMER_KEY, getConsumableBag);
}
private function newItems(_arg1:Object):void{
if (!this[(_arg1.id + KEY_SALT)]){
this[(_arg1.id + KEY_SALT)] = 0;
};
if (!this[_arg1.id]){
this[_arg1.id] = 0;
};
this[(_arg1.id + KEY_SALT)] = (this[(_arg1.id + KEY_SALT)] + _arg1.count);
this[_arg1.id] = (this[_arg1.id] + _arg1.count);
if (((_arg1.privateProperties) && (_arg1.privateProperties.consumable))){
if (!this[_arg1.privateProperties.tag]){
this[_arg1.privateProperties.tag] = 0;
};
this[_arg1.privateProperties.tag] = (this[_arg1.privateProperties.tag] + (_arg1.privateProperties.inc * _arg1.count));
};
}
private function itemOwned(_arg1:Object):void{
_storeSync[_arg1.id] = {properties:_arg1.properties, count:_arg1.count};
}
private function getConsumableBag(_arg1:MochiUserData):void{
var _local2:String;
var _local3:Number;
if (_arg1.error){
triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error});
return;
};
_consumableProperties = {};
_names = new Array();
if (_arg1.data){
for (_local2 in _arg1.data) {
_names.push(_local2);
_consumableProperties[_local2] = new MochiDigits(_arg1.data[_local2]);
};
};
for (_local2 in _storeSync) {
_local3 = _storeSync[_local2].count;
if (_consumableProperties[(_local2 + KEY_SALT)]){
_local3 = (_local3 - _consumableProperties[(_local2 + KEY_SALT)].value);
};
if (_local3 == 0){
} else {
newItems({id:_local2, count:_local3, properties:_storeSync[_local2].properties});
};
};
triggerEvent(READY, {});
}
private function putConsumableBag(_arg1:MochiUserData):void{
_syncPending = false;
if (_arg1.error){
triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error});
_outstandingID = -1;
};
triggerEvent(WRITTEN, {});
}
private function sync(_arg1:Event=null):void{
var _local3:String;
if (((_syncPending) || ((_syncID == _outstandingID)))){
return;
};
_outstandingID = _syncID;
var _local2:Object = {};
for (_local3 in _consumableProperties) {
_local2[_local3] = MochiDigits(_consumableProperties[_local3]).value;
};
MochiUserData.put(CONSUMER_KEY, _local2, putConsumableBag);
_syncPending = true;
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return (-1);
};
if (_consumableProperties[_arg1]){
return (MochiDigits(_consumableProperties[_arg1]).value);
};
return (undefined);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(_arg1):Boolean{
if (!_consumableProperties[_arg1]){
return (false);
};
_names.splice(_names.indexOf(_arg1), 1);
delete _consumableProperties[_arg1];
return (true);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return (false);
};
if (_consumableProperties[_arg1] == undefined){
return (false);
};
return (true);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{
var _local3:MochiDigits;
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return;
};
if (!(_arg2 is Number)){
triggerEvent(ERROR, {type:VALUE_ERROR, error:"Invalid type", arg:_arg2});
return;
};
if (_consumableProperties[_arg1]){
_local3 = MochiDigits(_consumableProperties[_arg1]);
if (_local3.value == _arg2){
return;
};
_local3.value = _arg2;
} else {
_names.push(_arg1);
_consumableProperties[_arg1] = new MochiDigits(_arg2);
};
_syncID++;
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{
return (((_arg1)>=_names.length) ? 0 : (_arg1 + 1));
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{
return (_names[(_arg1 - 1)]);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
}
}//package mochi.as3
Section 7
//MochiServices (mochi.as3.MochiServices)
package mochi.as3 {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.geom.*;
public class MochiServices {
public static const CONNECTED:String = "onConnected";
private static var _id:String;
private static var _container:Object;
private static var _clip:MovieClip;
private static var _loader:Loader;
private static var _timer:Timer;
private static var _preserved:Object;
private static var _servURL:String = "http://www.mochiads.com/static/lib/services/";
private static var _services:String = "services.swf";
private static var _mochiLC:String = "MochiLC.swf";
private static var _swfVersion:String;
private static var _listenChannelName:String = "__ms_";
private static var _sendChannel:LocalConnection;
private static var _sendChannelName:String;
private static var _connecting:Boolean = false;
private static var _connected:Boolean = false;
public static var netup:Boolean = true;
public static var netupAttempted:Boolean = false;
public static var onError:Object;
public static var widget:Boolean = false;
private static var _mochiLocalConnection:MovieClip;
private static var _queue:Array;
private static var _nextCallbackID:Number;
private static var _callbacks:Object;
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public static function get id():String{
return (_id);
}
public static function get clip():Object{
return (_container);
}
public static function get childClip():Object{
return (_clip);
}
public static function getVersion():String{
return ("3.9.4 as3");
}
public static function allowDomains(_arg1:String):String{
var _local2:String;
if (Security.sandboxType != "application"){
Security.allowDomain("*");
Security.allowInsecureDomain("*");
};
if (_arg1.indexOf("http://") != -1){
_local2 = _arg1.split("/")[2].split(":")[0];
if (Security.sandboxType != "application"){
Security.allowDomain(_local2);
Security.allowInsecureDomain(_local2);
};
};
return (_local2);
}
public static function isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function set comChannelName(_arg1:String):void{
if (_arg1 != null){
if (_arg1.length > 3){
_sendChannelName = (_arg1 + "_fromgame");
initComChannels();
};
};
}
public static function get connected():Boolean{
return (_connected);
}
public static function warnID(_arg1:String, _arg2:Boolean):void{
_arg1 = _arg1.toLowerCase();
if (_arg1.length != 16){
trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length"));
return;
} else {
if (_arg1 == "1e113c7239048b3f"){
if (_arg2){
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
};
return;
} else {
if (_arg1 == "84993a1de4031cd8"){
if (_arg2){
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
};
return;
};
};
};
var _local3:Number = 0;
while (_local3 < _arg1.length) {
switch (_arg1.charAt(_local3)){
case "0":
case "1":
case "2":
case "3":
case "4":
case "5":
case "6":
case "7":
case "8":
case "9":
case "a":
case "b":
case "c":
case "d":
case "e":
case "f":
break;
default:
trace(("WARNING: Board ID contains illegal characters: " + _arg1));
return;
};
_local3++;
};
}
public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{
var id = _arg1;
var clip = _arg2;
var onError = _arg3;
warnID(id, false);
if (onError != null){
MochiServices.onError = onError;
} else {
if (MochiServices.onError == null){
MochiServices.onError = function (_arg1:String):void{
trace(_arg1);
};
};
};
if ((clip is DisplayObject)){
if (clip.stage == null){
trace("MochiServices connect requires the containing clip be attached to the stage");
};
if (((!(_connected)) && ((_clip == null)))){
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
};
} else {
trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage.");
};
}
public static function disconnect():void{
if (((_connected) || (_connecting))){
if (_clip != null){
if (_clip.parent != null){
if ((_clip.parent is Sprite)){
Sprite(_clip.parent).removeChild(_clip);
_clip = null;
};
};
};
_connecting = (_connected = false);
flush(true);
try {
_mochiLocalConnection.close();
} catch(error:Error) {
};
};
if (_timer != null){
try {
_timer.stop();
_timer.removeEventListener(TimerEvent.TIMER, connectWait);
_timer = null;
} catch(error:Error) {
};
};
}
public static function stayOnTop():void{
_container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true);
if (_clip != null){
_clip.visible = true;
};
}
public static function doClose():void{
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
}
public static function bringToTop(_arg1:Event=null):void{
var e = _arg1;
if (((!((MochiServices.clip == null))) && (!((MochiServices.childClip == null))))){
try {
if (MochiServices.clip.numChildren > 1){
MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1));
};
} catch(errorObject:Error) {
trace("Warning: Depth sort error.");
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
};
}
private static function init(_arg1:String, _arg2:Object):void{
_id = _arg1;
if (_arg2 != null){
_container = _arg2;
loadCommunicator(_arg1, _container);
};
}
public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{
if (_clip.parent){
_clip.parent.removeChild(_clip);
};
if (_arg1 != null){
if ((_arg1 is DisplayObjectContainer)){
_container = _arg1;
};
};
if (_arg2){
if ((_container is DisplayObjectContainer)){
DisplayObjectContainer(_container).addChild(_clip);
};
};
}
private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{
if (_clip != null){
return (_clip);
};
if (!MochiServices.isNetworkAvailable()){
MochiServices.onError("NotConnected");
return (null);
};
if (urlOptions(_arg2).servURL){
_servURL = urlOptions(_arg2).servURL;
};
var _local3:String = (_servURL + _services);
if (urlOptions(_arg2).servicesURL){
_local3 = urlOptions(_arg2).servicesURL;
};
_listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999))));
MochiServices.allowDomains(_local3);
_clip = new MovieClip();
loadLCBridge(_clip);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, detach);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
var _local4:URLRequest = new URLRequest(_local3);
var _local5:URLVariables = new URLVariables();
_local5.listenLC = _listenChannelName;
_local5.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options;
_local5.api_version = getVersion();
if (widget){
_local5.widget = true;
};
_local4.data = _local5;
_loader.load(_local4);
_clip.addChild(_loader);
_sendChannel = new LocalConnection();
_queue = [];
_nextCallbackID = 0;
_callbacks = {};
_timer = new Timer(10000, 1);
_timer.addEventListener(TimerEvent.TIMER, connectWait);
_timer.start();
return (_clip);
}
private static function detach(_arg1:Event):void{
var _local2:LoaderInfo = LoaderInfo(_arg1.target);
_local2.removeEventListener(Event.COMPLETE, detach);
_local2.removeEventListener(IOErrorEvent.IO_ERROR, detach);
_local2.removeEventListener(Event.COMPLETE, loadLCBridgeComplete);
_local2.removeEventListener(IOErrorEvent.IO_ERROR, loadError);
}
private static function loadLCBridge(_arg1:Object):void{
var _local2:Loader = new Loader();
var _local3:String = (_servURL + _mochiLC);
var _local4:URLRequest = new URLRequest(_local3);
_local2.contentLoaderInfo.addEventListener(Event.COMPLETE, detach);
_local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach);
_local2.contentLoaderInfo.addEventListener(Event.COMPLETE, loadLCBridgeComplete);
_local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
_local2.load(_local4);
_arg1.addChild(_local2);
}
private static function loadLCBridgeComplete(_arg1:Event):void{
var _local2:Loader = LoaderInfo(_arg1.target).loader;
_mochiLocalConnection = MovieClip(_local2.content);
listen();
}
private static function loadError(_arg1:Object):void{
_clip._mochiad_ctr_failed = true;
trace("MochiServices could not load.");
MochiServices.disconnect();
MochiServices.onError("IOError");
}
public static function connectWait(_arg1:TimerEvent):void{
if (!_connected){
_clip._mochiad_ctr_failed = true;
trace("MochiServices could not load. (timeout)");
MochiServices.disconnect();
MochiServices.onError("IOError");
} else {
_timer.stop();
_timer.removeEventListener(TimerEvent.TIMER, connectWait);
_timer = null;
};
}
private static function listen():void{
_mochiLocalConnection.connect(_listenChannelName);
_clip.handshake = function (_arg1:Object):void{
MochiServices.comChannelName = _arg1.newChannel;
};
trace("Waiting for MochiAds services to connect...");
}
private static function initComChannels():void{
if (!_connected){
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, version:getVersion(), parentURL:_container.loaderInfo.loaderURL});
_clip.onReceive = onReceive;
_clip.onEvent = onEvent;
_clip.onError = function ():void{
MochiServices.onError("IOError");
};
while (_queue.length > 0) {
_mochiLocalConnection.send(_sendChannelName, "onReceive", _queue.shift());
};
};
}
private static function onReceive(_arg1:Object):void{
var methodName:String;
var pkg = _arg1;
var cb:String = pkg.callbackID;
var cblst:Object = _callbacks[cb];
if (!cblst){
return;
};
var method:* = cblst.callbackMethod;
methodName = "";
var obj:Object = cblst.callbackObject;
if (((obj) && ((typeof(method) == "string")))){
methodName = method;
if (obj[method] != null){
method = obj[method];
} else {
trace((("Error: Method " + method) + " does not exist."));
};
};
if (method != undefined){
try {
method.apply(obj, pkg.args);
} catch(error:Error) {
trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString()));
};
} else {
if (obj != null){
try {
obj(pkg.args);
} catch(error:Error) {
trace(("Error invoking method on object: " + error.toString()));
};
};
};
delete _callbacks[cb];
}
private static function onEvent(_arg1:Object):void{
var _local2:String = _arg1.target;
var _local3:String = _arg1.event;
switch (_local2){
case "services":
MochiServices.triggerEvent(_arg1.event, _arg1.args);
break;
case "events":
MochiEvents.triggerEvent(_arg1.event, _arg1.args);
break;
case "coins":
MochiCoins.triggerEvent(_arg1.event, _arg1.args);
break;
case "social":
MochiSocial.triggerEvent(_arg1.event, _arg1.args);
break;
};
}
private static function flush(_arg1:Boolean):void{
var _local2:Object;
var _local3:Object;
if (((_clip) && (_queue))){
while (_queue.length > 0) {
_local2 = _queue.shift();
_local3 = null;
if (_local2 != null){
if (_local2.callbackID != null){
_local3 = _callbacks[_local2.callbackID];
};
delete _callbacks[_local2.callbackID];
if (((_arg1) && (!((_local3 == null))))){
handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod);
};
};
};
};
}
private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{
if (_arg1 != null){
if (_arg1.onError != null){
_arg1.onError("NotConnected");
};
if (((!((_arg1.options == null))) && (!((_arg1.options.onError == null))))){
_arg1.options.onError("NotConnected");
};
};
if (_arg3 != null){
_arg1 = {};
_arg1.error = true;
_arg1.errorCode = "NotConnected";
if (((!((_arg2 == null))) && ((_arg3 is String)))){
try {
var _local4 = _arg2;
_local4[_arg3](_arg1);
} catch(error:Error) {
};
} else {
if (_arg3 != null){
try {
_arg3.apply(_arg1);
} catch(error:Error) {
};
};
};
};
}
public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{
if (_connected){
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_nextCallbackID});
} else {
if ((((_clip == null)) || (!(_connecting)))){
trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1));
handleError(_arg2, _arg3, _arg4);
flush(true);
return;
};
_queue.push({methodName:_arg1, args:_arg2, callbackID:_nextCallbackID});
};
if (_clip != null){
if (_callbacks != null){
_callbacks[_nextCallbackID] = {callbackObject:_arg3, callbackMethod:_arg4};
_nextCallbackID++;
};
};
}
private static function urlOptions(_arg1:Object):Object{
var _local3:String;
var _local4:Array;
var _local5:Number;
var _local6:Array;
var _local2:Object = {};
if (_arg1.stage){
_local3 = _arg1.stage.loaderInfo.parameters.mochiad_options;
} else {
_local3 = _arg1.loaderInfo.parameters.mochiad_options;
};
if (_local3){
_local4 = _local3.split("&");
_local5 = 0;
while (_local5 < _local4.length) {
_local6 = _local4[_local5].split("=");
_local2[unescape(_local6[0])] = unescape(_local6[1]);
_local5++;
};
};
return (_local2);
}
public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{
var avm1Click:DisplayObject;
var x:String;
var req:URLRequest;
var loader:Loader;
var setURL:Function;
var err:Function;
var complete:Function;
var url = _arg1;
var burl = _arg2;
var btn = _arg3;
var onClick = _arg4;
var vars:Object = new Object();
vars["mav"] = getVersion();
vars["swfv"] = "9";
vars["swfurl"] = btn.loaderInfo.loaderURL;
vars["fv"] = Capabilities.version;
vars["os"] = Capabilities.os;
vars["lang"] = Capabilities.language;
vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY);
var s = "?";
var i:Number = 0;
for (x in vars) {
if (i != 0){
s = (s + "&");
};
i = (i + 1);
s = (((s + x) + "=") + escape(vars[x]));
};
req = new URLRequest("http://link.mochiads.com/linkping.swf");
loader = new Loader();
setURL = function (_arg1:String):void{
if (avm1Click){
btn.removeChild(avm1Click);
};
avm1Click = clickMovie(_arg1, onClick);
var _local2:Rectangle = btn.getBounds(btn);
btn.addChild(avm1Click);
avm1Click.x = _local2.x;
avm1Click.y = _local2.y;
avm1Click.scaleX = (0.01 * _local2.width);
avm1Click.scaleY = (0.01 * _local2.height);
};
err = function (_arg1:Object):void{
netup = false;
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
setURL(burl);
};
complete = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
if (netup){
setURL((url + s));
} else {
setURL(burl);
};
if (!((netupAttempted) || (_connected))){
netupAttempted = true;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
loader.load(req);
};
}
private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{
var _local4:int;
var _local14:Loader;
var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23];
var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3];
var _local6:Array = [0, 64, 0, 0, 0];
var _local7:MovieClip = new MovieClip();
var _local8:LocalConnection = new LocalConnection();
var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time));
_local8 = new LocalConnection();
_local7.lc = _local8;
_local7.click = _arg2;
_local8.client = _local7;
_local8.connect(_local9);
var _local10:ByteArray = new ByteArray();
var _local11:ByteArray = new ByteArray();
_local11.endian = Endian.LITTLE_ENDIAN;
_local11.writeShort(1);
_local11.writeUTFBytes(((_arg1 + " ") + _local9));
_local11.writeByte(0);
var _local12:uint = ((_local3.length + _local11.length) + 4);
var _local13:uint = (_local12 + 35);
_local10.endian = Endian.LITTLE_ENDIAN;
_local10.writeUTFBytes("FWS");
_local10.writeByte(8);
_local10.writeUnsignedInt(_local13);
for each (_local4 in _local5) {
_local10.writeByte(_local4);
};
_local10.writeUnsignedInt(_local12);
_local10.writeByte(136);
_local10.writeShort(_local11.length);
_local10.writeBytes(_local11);
for each (_local4 in _local3) {
_local10.writeByte(_local4);
};
for each (_local4 in _local6) {
_local10.writeByte(_local4);
};
_local14 = new Loader();
_local14.loadBytes(_local10);
_local7.addChild(_local14);
return (_local7);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
}
}//package mochi.as3
Section 8
//MochiSocial (mochi.as3.MochiSocial)
package mochi.as3 {
public class MochiSocial {
public static const LOGGED_IN:String = "LoggedIn";
public static const LOGGED_OUT:String = "LoggedOut";
public static const LOGIN_SHOW:String = "LoginShow";
public static const LOGIN_HIDE:String = "LoginHide";
public static const LOGIN_SHOWN:String = "LoginShown";
public static const PROFILE_SHOW:String = "ProfileShow";
public static const PROFILE_HIDE:String = "ProfileHide";
public static const PROPERTIES_SAVED:String = "PropertySaved";
public static const WIDGET_LOADED:String = "WidgetLoaded";
public static const FRIEND_LIST:String = "FriendsList";
public static const PROFILE_DATA:String = "ProfileData";
public static const GAMEPLAY_DATA:String = "GameplayData";
public static const ACTION_CANCELED:String = "onCancel";
public static const ACTION_COMPLETE:String = "onComplete";
public static const USER_INFO:String = "UserInfo";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IOError";
public static const NO_USER:String = "NoUser";
public static const PROPERTIES_SIZE:String = "PropertiesSize";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public static var _user_info:Object = null;
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function getAPIURL():String{
if (!_user_info){
return (null);
};
return (_user_info.api_url);
}
public static function getAPIToken():String{
if (!_user_info){
return (null);
};
return (_user_info.api_token);
}
public static function showLoginWidget(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_showLoginWidget", {options:_arg1});
}
public static function hideLoginWidget():void{
MochiServices.send("social_hideLoginWidget");
}
public static function requestLogin(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestLogin", _arg1);
}
public static function showProfile(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.stayOnTop();
MochiServices.send("social_showProfile", _arg1);
}
public static function saveUserProperties(_arg1:Object):void{
MochiServices.send("social_saveUserProperties", _arg1);
}
public static function getFriendsList(_arg1:Object=null):void{
MochiServices.send("social_getFriendsList", _arg1);
}
public static function postToStream(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_postToStream", _arg1);
}
public static function inviteFriends(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_inviteFriends", _arg1);
}
public static function requestFan(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestFan", _arg1);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function get loggedIn():Boolean{
return (!((_user_info == null)));
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{
_user_info = _arg1;
});
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{
_user_info = null;
});
}
}//package mochi.as3
Section 9
//MochiUserData (mochi.as3.MochiUserData)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
import flash.net.*;
public class MochiUserData extends EventDispatcher {
public var _loader:URLLoader;
public var key:String;// = null
public var data;// = null
public var error:Event;// = null
public var operation:String;// = null
public var callback:Function;// = null
public function MochiUserData(_arg1:String="", _arg2:Function=null){
this.key = _arg1;
this.callback = _arg2;
}
public function serialize(_arg1):ByteArray{
var _local2:ByteArray = new ByteArray();
_local2.objectEncoding = ObjectEncoding.AMF3;
_local2.writeObject(_arg1);
_local2.compress();
return (_local2);
}
public function deserialize(_arg1:ByteArray){
_arg1.objectEncoding = ObjectEncoding.AMF3;
_arg1.uncompress();
return (_arg1.readObject());
}
public function request(_arg1:String, _arg2:ByteArray):void{
var _operation = _arg1;
var _data = _arg2;
operation = _operation;
var api_url:String = MochiSocial.getAPIURL();
var api_token:String = MochiSocial.getAPIToken();
if ((((api_url == null)) || ((api_token == null)))){
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in"));
return;
};
_loader = new URLLoader();
var args:URLVariables = new URLVariables();
args.op = _operation;
args.key = key;
var req:URLRequest = new URLRequest((((MochiSocial.getAPIURL() + "/") + "MochiUserData?") + args.toString()));
req.method = URLRequestMethod.POST;
req.contentType = "application/x-mochi-userdata";
req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", MochiServices.getVersion()), new URLRequestHeader("x-mochi-api-token", api_token)];
req.data = _data;
_loader.dataFormat = URLLoaderDataFormat.BINARY;
_loader.addEventListener(Event.COMPLETE, completeHandler);
_loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
_loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
try {
_loader.load(req);
} catch(e:SecurityError) {
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + e.toString())));
};
}
public function completeHandler(_arg1:Event):void{
var event = _arg1;
try {
if (_loader.data.length){
data = deserialize(_loader.data);
} else {
data = null;
};
} catch(e:Error) {
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + e.toString())));
return;
};
if (callback != null){
performCallback();
} else {
dispatchEvent(event);
};
close();
}
public function errorHandler(_arg1:IOErrorEvent):void{
data = null;
error = _arg1;
if (callback != null){
performCallback();
} else {
dispatchEvent(_arg1);
};
close();
}
public function securityErrorHandler(_arg1:SecurityErrorEvent):void{
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString())));
}
public function performCallback():void{
try {
callback(this);
} catch(e:Error) {
trace(("[MochiUserData] exception during callback: " + e));
};
}
public function close():void{
if (_loader){
_loader.removeEventListener(Event.COMPLETE, completeHandler);
_loader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
_loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
_loader.close();
_loader = null;
};
error = null;
callback = null;
}
public function getEvent():void{
request("get", serialize(null));
}
public function putEvent(_arg1):void{
request("put", serialize(_arg1));
}
override public function toString():String{
return ((((((((("[MochiUserData operation=" + operation) + " key=\"") + key) + "\" data=") + data) + " error=\"") + error) + "\"]"));
}
public static function get(_arg1:String, _arg2:Function):void{
var _local3:MochiUserData = new MochiUserData(_arg1, _arg2);
_local3.getEvent();
}
public static function put(_arg1:String, _arg2, _arg3:Function):void{
var _local4:MochiUserData = new MochiUserData(_arg1, _arg3);
_local4.putEvent(_arg2);
}
}
}//package mochi.as3
Section 10
//MainTimeline (WarriorRobotBuilder_fla.MainTimeline)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import mochi.as3.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var shadow_mc:MovieClip;
public var backlegs_mc:MovieClip;
public var quality1_mc:MovieClip;
public var WhiteMc_mc:MovieClip;
public var arrow_mc:MovieClip;
public var moregame_btn:SimpleButton;
public var facetop_mc:MovieClip;
public var random_btn:SimpleButton;
public var replay_btn:SimpleButton;
public var face_mc:MovieClip;
public var snd_mc:MovieClip;
public var playgame_btn:SimpleButton;
public var textbox:TextField;
public var w1_mc:MovieClip;
public var backfly_mc:MovieClip;
public var righthand_mc:MovieClip;
public var righthandweapon_mc:MovieClip;
public var bg_btn:SimpleButton;
public var lefthandweapon_mc:MovieClip;
public var lefthand_mc:MovieClip;
public var ani_mc:MovieClip;
public var FupaBar:MovieClip;
public var bottom_mc:MovieClip;
public var finish_btn:SimpleButton;
public var bg_mc:MovieClip;
public var color_mc:SimpleButton;
public var body_mc:MovieClip;
public var quality_mc:MovieClip;
public var swfname:String;
public var swfheight:String;
public var swfwidth:String;
public var embedcode:String;
public var wfAlreadyLoaded:Boolean;
public var mcWF:MovieClip;
public var ssval:Number;
public var soundstatus:Boolean;
public var fmm01_menu:ContextMenu;
public var item:ContextMenuItem;
public var AD_ID:String;
public var bgsound:bg;
public var bgChannel:SoundChannel;
public var Incval:Number;
public var f1val:Number;
public var f2val:Number;
public var rand1:Number;
public var rand2:Number;
public var rand3:Number;
public var rand4:Number;
public var rand5:Number;
public var rand6:Number;
public var rand7:Number;
public var rand8:Number;
public var rand9:Number;
public var rand10:Number;
public var ival1:Number;
public var ival2:Number;
public var ival3:Number;
public var ival4:Number;
public var ival5:Number;
public var ival6:Number;
public var ival7:Number;
public var ival8:Number;
public var ival9:Number;
public var ival10:Number;
public var sndtrackval:sndtrack1;
public var sndtrackval1:sndtrack2;
public var sndtrackval2:sndtrack3;
public var sndtrackval3:sndtrack4;
public var sndtrackval4:sndtrack5;
public var sndtrackval5:sndtrack6;
public var sndtrackval6:sndtrack7;
public var sndtrackval7:sndtrack8;
public var sndtrackval8:sndtrack9;
public var sndtrackval9:sndtrack10;
public var sndtrackval10:sndtrack11;
public var sndtrackval11:sndtrack12;
public var sndtrackval12:sndtrack13;
public var sndtrackval13:sndtrack14;
public var sndtrackval14:sndtrack15;
public var sndtrackval15:sndtrack16;
public var sndtrackval16:sndtrack17;
public var sndtrackval17:sndtrack18;
public var sndtrackval18:sndtrack19;
public var sndtrackval19:sndtrack20;
public var sndtrackval20:sndtrack21;
public var sndtrackval21:sndtrack22;
public var sndtrackval22:sndtrack23;
public var sndtrackval23:sndtrack24;
public var sndtrackval24:sndtrack25;
public var sndtrackval25:sndtrack26;
public var sndtrackval26:sndtrack27;
public var sndtrackval27:sndtrack28;
public var sndtrackval28:sndtrack29;
public var sndtrackval29:sndtrack30;
public var sndtrackval30:sndtrack31;
public var sndtrackval31:sndtrack32;
public var sndtrackvalChannel:SoundChannel;
public var shadowtimerevent:Timer;
public var shadowtimerevent01:Timer;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function loadWildfire(_arg1:Event):void{
var ldr:Loader;
var evt = _arg1;
if (wfAlreadyLoaded){
mcWF.visible = true;
return;
};
wfAlreadyLoaded = true;
addChild(mcWF).name = "mcWF";
mcWF.x = 15;
mcWF.y = 42;
var ModuleID = "PostModule1";
var cfg:Object = {};
cfg["width"] = "400";
cfg["height"] = "300";
cfg["widgetTitle"] = "Warrior Robot Builder by Fupa.com";
cfg["advancedTracking"] = "true";
cfg["useFacebookMystuff"] = "false";
cfg["partner"] = "228491";
cfg["UIConfig"] = "<config baseTheme=\"v2\"><display showDesktop=\"true\" showEmail=\"true\" showBookmark=\"true\" showCloseButton=\"true\"></display><body><controls><snbuttons iconsOnly=\"true\"></snbuttons></controls></body></config>";
cfg["defaultContent"] = this.embedcode;
ldr = new Loader();
cfg["onClose"] = function (_arg1:Object):void{
mcWF.visible = false;
var _local2 = ldr.content;
_local2["INIT"]();
};
var url:String = ("http://cdn.gigya.com/WildFire/swf/wildfireInAS3.swf?ModuleID=" + ModuleID);
var urlReq:URLRequest = new URLRequest(url);
mcWF[ModuleID] = cfg;
ldr.load(urlReq);
mcWF.addChild(ldr);
}
public function loadEmbed(_arg1:Event):void{
var evt = _arg1;
var url:String = ("http://www.fupa.com/embed/?swf=" + this.swfname);
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
public function loadNext(_arg1:Event):void{
var evt = _arg1;
var url:String = ("http://www.fupa.com/?swf=" + this.swfname);
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
public function loadFupa(_arg1:Event):void{
var evt = _arg1;
var url = "http://games.fupa.com/aw.aspx?A=37";
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
public function rightclick(_arg1:ContextMenuEvent){
var _local2:URLRequest = new URLRequest("http://games.fupa.com/aw.aspx?B=139&A=37&Task=Click");
navigateToURL(_local2, "_blank");
}
public function start():void{
FupaBar.mouseChildren = true;
FupaBar.mouseEnabled = true;
if (snd_mc.currentFrame == 1){
bgChannel = bgsound.play(0, 7000);
};
}
public function playgame(_arg1:MouseEvent){
if (_arg1.target.name == "playgame_btn"){
gotoAndStop(3);
};
}
public function moregame(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://games.fupa.com/aw.aspx?B=139&A=37&Task=Click");
navigateToURL(_local2, "_blank");
}
public function music(_arg1:MouseEvent){
if ((((_arg1.target.name == "snd1_mc")) && ((soundstatus == false)))){
soundstatus = true;
bgChannel.stop();
snd_mc.gotoAndStop(2);
} else {
if ((((_arg1.target.name == "snd1_mc")) && ((soundstatus == true)))){
soundstatus = false;
bgChannel = bgsound.play(0, 7000);
snd_mc.gotoAndStop(1);
};
};
if ((((_arg1.target.name == "quality_mc")) && ((quality1_mc.currentFrame == 1)))){
stage.quality = "medium";
quality1_mc.gotoAndStop(2);
} else {
if ((((_arg1.target.name == "quality_mc")) && ((quality1_mc.currentFrame == 2)))){
stage.quality = "low";
quality1_mc.gotoAndStop(3);
} else {
if ((((_arg1.target.name == "quality_mc")) && ((quality1_mc.currentFrame == 3)))){
stage.quality = "high";
quality1_mc.gotoAndStop(1);
};
};
};
}
public function shadowtimerevent1(_arg1:TimerEvent){
if (Incval <= 15){
Incval = (Incval - 1);
f1val = 1;
f2val = 0;
shadow_mc.width = (shadow_mc.width + 1);
body_mc.y = (body_mc.y - 0.5);
lefthand_mc.y = (lefthand_mc.y - 0.3);
lefthandweapon_mc.y = (lefthandweapon_mc.y - 0.3);
lefthand_mc.rotation = (lefthand_mc.rotation - 0.08);
lefthandweapon_mc.rotation = (lefthandweapon_mc.rotation - 0.08);
righthand_mc.y = (righthand_mc.y - 0.3);
righthandweapon_mc.y = (righthandweapon_mc.y - 0.3);
righthand_mc.rotation = (righthand_mc.rotation - 0.08);
righthandweapon_mc.rotation = (righthandweapon_mc.rotation - 0.08);
backlegs_mc.y = (backlegs_mc.y - 0.3);
backlegs_mc.rotation = (backlegs_mc.rotation - 0.09);
backfly_mc.y = (backfly_mc.y - 0.5);
backfly_mc.rotation = (backfly_mc.rotation - 0.09);
face_mc.y = (face_mc.y - 0.5);
facetop_mc.y = (facetop_mc.y - 0.5);
if (bottom_mc.bottom_mc.currentFrame == 1){
bottom_mc.y = (bottom_mc.y - 0.5);
};
if (bottom_mc.bottom_mc.currentFrame != 1){
bottom_mc.scaleY = (bottom_mc.scaleY + 0.003);
};
if (Incval == 1){
shadowtimerevent.stop();
shadowtimerevent01.start();
};
};
}
public function shadowtimerevent2(_arg1:TimerEvent){
if ((((Incval >= 1)) && ((Incval <= 15)))){
Incval = (Incval + 1);
f2val = 1;
f1val = 0;
shadow_mc.width = (shadow_mc.width - 1);
body_mc.y = (body_mc.y + 0.5);
lefthand_mc.y = (lefthand_mc.y + 0.3);
lefthandweapon_mc.y = (lefthandweapon_mc.y + 0.3);
lefthand_mc.rotation = (lefthand_mc.rotation + 0.08);
lefthandweapon_mc.rotation = (lefthandweapon_mc.rotation + 0.08);
righthand_mc.y = (righthand_mc.y + 0.3);
righthandweapon_mc.y = (righthandweapon_mc.y + 0.3);
righthand_mc.rotation = (righthand_mc.rotation + 0.08);
righthandweapon_mc.rotation = (righthandweapon_mc.rotation + 0.08);
backlegs_mc.y = (backlegs_mc.y + 0.3);
backlegs_mc.rotation = (backlegs_mc.rotation + 0.09);
backfly_mc.y = (backfly_mc.y + 0.5);
backfly_mc.rotation = (backfly_mc.rotation + 0.09);
face_mc.y = (face_mc.y + 0.5);
facetop_mc.y = (facetop_mc.y + 0.5);
if (bottom_mc.bottom_mc.currentFrame == 1){
bottom_mc.y = (bottom_mc.y + 0.5);
};
if (bottom_mc.bottom_mc.currentFrame != 1){
bottom_mc.scaleY = (bottom_mc.scaleY - 0.003);
};
if (Incval == 15){
shadowtimerevent01.stop();
shadowtimerevent.start();
};
};
}
public function mousepress(_arg1:MouseEvent){
trace(_arg1.target.name);
if (_arg1.target.name == "replay_btn"){
bgChannel.stop();
w1_mc.visible = false;
face_mc.visible = false;
facetop_mc.visible = false;
shadowtimerevent.stop();
shadowtimerevent01.stop();
shadowtimerevent01.removeEventListener(TimerEvent.TIMER, shadowtimerevent2);
shadowtimerevent.removeEventListener(TimerEvent.TIMER, shadowtimerevent1);
stage.removeEventListener(MouseEvent.CLICK, mousepress);
gotoAndStop(2);
};
if (_arg1.target.name == "finish_btn"){
valresetall();
arrow_mc.gotoAndStop(11);
color_mc.visible = false;
WhiteMc_mc.gotoAndPlay(5);
random_btn.visible = false;
bg_btn.visible = false;
w1_mc.visible = true;
setChildIndex(w1_mc, (numChildren - 1));
replay_btn.visible = true;
finish_btn.visible = false;
ani_mc.visible = false;
};
if (_arg1.target.name == "random_btn"){
valresetall();
WhiteMc_mc.gotoAndPlay(10);
arrow_mc.gotoAndStop(11);
rand1 = (Math.floor((Math.random() * 10)) + 1);
bottom_mc.bottom_mc.gotoAndStop((rand1 + 1));
rand2 = (Math.floor((Math.random() * 10)) + 1);
body_mc.gotoAndStop((rand2 + 1));
rand3 = (Math.floor((Math.random() * 10)) + 1);
lefthand_mc.gotoAndStop((rand3 + 1));
rand4 = (Math.floor((Math.random() * 10)) + 1);
lefthandweapon_mc.gotoAndStop((rand4 + 2));
rand5 = (Math.floor((Math.random() * 10)) + 1);
righthand_mc.gotoAndStop((rand5 + 1));
rand6 = (Math.floor((Math.random() * 10)) + 1);
righthandweapon_mc.gotoAndStop((rand6 + 2));
rand7 = (Math.floor((Math.random() * 10)) + 1);
backlegs_mc.gotoAndStop((rand7 + 1));
rand8 = (Math.floor((Math.random() * 10)) + 1);
backfly_mc.gotoAndStop((rand8 + 1));
rand9 = (Math.floor((Math.random() * 10)) + 1);
face_mc.gotoAndStop((rand9 + 1));
rand10 = (Math.floor((Math.random() * 10)) + 1);
facetop_mc.gotoAndStop((rand10 + 2));
};
if (_arg1.target.name == "bg_btn"){
if (bg_mc.currentFrame == 1){
bg_mc.gotoAndStop(2);
} else {
if (bg_mc.currentFrame == 2){
bg_mc.gotoAndStop(3);
} else {
if (bg_mc.currentFrame == 3){
bg_mc.gotoAndStop(1);
};
};
};
};
if ((((_arg1.target.name == "ani_mc")) && ((ani_mc.currentFrame == 1)))){
shadowtimerevent01.stop();
shadowtimerevent.stop();
ani_mc.gotoAndStop(2);
} else {
if ((((_arg1.target.name == "ani_mc")) && ((ani_mc.currentFrame == 2)))){
if (f1val == 1){
shadowtimerevent.start();
};
if (f2val == 1){
shadowtimerevent01.start();
};
ani_mc.gotoAndStop(1);
};
};
if (_arg1.target.name == "b10_mc"){
valreset1();
body_mc.gotoAndStop(1);
};
if (_arg1.target.name == "b010_mc"){
valreset2();
bottom_mc.bottom_mc.gotoAndStop(1);
};
if (_arg1.target.name == "lefthandweapon11_mc"){
valreset3();
lefthandweapon_mc.gotoAndStop(2);
};
if (_arg1.target.name == "lefthand11_mc"){
valreset4();
lefthandweapon_mc.gotoAndStop(1);
lefthand_mc.gotoAndStop(1);
};
if (_arg1.target.name == "righthandweapon11_mc"){
valreset5();
righthandweapon_mc.gotoAndStop(2);
};
if (_arg1.target.name == "righthand11_mc"){
valreset6();
righthandweapon_mc.gotoAndStop(1);
righthand_mc.gotoAndStop(1);
};
if (_arg1.target.name == "backlegs11_mc"){
valreset7();
backlegs_mc.gotoAndStop(1);
};
if (_arg1.target.name == "backfly11_mc"){
valreset8();
backfly_mc.gotoAndStop(1);
};
if (_arg1.target.name == "face11_mc"){
valreset9();
facetop_mc.gotoAndStop(1);
face_mc.gotoAndStop(1);
};
if (_arg1.target.name == "facetop11_mc"){
valreset10();
facetop_mc.gotoAndStop(2);
};
var _local2:* = 1;
while (_local2 <= 9) {
if (_arg1.target.name == (("b" + _local2) + "_mc")){
valreset1();
arrow_mc.gotoAndStop(6);
body_mc.gotoAndStop((_local2 + 1));
};
_local2++;
};
var _local3:* = 1;
while (_local3 <= 9) {
if (_arg1.target.name == (("b0" + _local3) + "_mc")){
valreset2();
arrow_mc.gotoAndStop(7);
bottom_mc.bottom_mc.gotoAndStop((_local3 + 1));
};
_local3++;
};
var _local4:* = 1;
while (_local4 <= 10) {
if (_arg1.target.name == (("lefthandweapon" + _local4) + "_mc")){
valreset3();
arrow_mc.gotoAndStop(8);
lefthandweapon_mc.gotoAndStop((_local4 + 2));
};
_local4++;
};
var _local5:* = 1;
while (_local5 <= 10) {
if (_arg1.target.name == (("lefthand" + _local5) + "_mc")){
if (lefthandweapon_mc.currentFrame == 1){
lefthandweapon_mc.gotoAndStop(3);
};
valreset4();
arrow_mc.gotoAndStop(9);
lefthand_mc.gotoAndStop((_local5 + 1));
};
_local5++;
};
var _local6:* = 1;
while (_local6 <= 10) {
if (_arg1.target.name == (("righthandweapon" + _local6) + "_mc")){
valreset5();
arrow_mc.gotoAndStop(5);
righthandweapon_mc.gotoAndStop((_local6 + 2));
};
_local6++;
};
var _local7:* = 1;
while (_local7 <= 10) {
if (_arg1.target.name == (("righthand" + _local7) + "_mc")){
if (righthandweapon_mc.currentFrame == 1){
righthandweapon_mc.gotoAndStop(3);
};
valreset6();
arrow_mc.gotoAndStop(4);
righthand_mc.gotoAndStop((_local7 + 1));
};
_local7++;
};
var _local8:* = 1;
while (_local8 <= 10) {
if (_arg1.target.name == (("backlegs" + _local8) + "_mc")){
valreset7();
arrow_mc.gotoAndStop(10);
backlegs_mc.gotoAndStop((_local8 + 1));
};
_local8++;
};
var _local9:* = 1;
while (_local9 <= 10) {
if (_arg1.target.name == (("backfly" + _local9) + "_mc")){
valreset8();
arrow_mc.gotoAndStop(3);
backfly_mc.gotoAndStop((_local9 + 1));
};
_local9++;
};
var _local10:* = 1;
while (_local10 <= 10) {
if (_arg1.target.name == (("face" + _local10) + "_mc")){
if (facetop_mc.currentFrame == 1){
facetop_mc.gotoAndStop(3);
};
if ((((facetop_mc.currentFrame == 3)) || ((facetop_mc.currentFrame == 4)))){
setChildIndex(facetop_mc, (numChildren - 1));
};
if (((!((facetop_mc.currentFrame == 3))) && (!((facetop_mc.currentFrame == 4))))){
setChildIndex(face_mc, (numChildren - 1));
};
valreset9();
arrow_mc.gotoAndStop(2);
face_mc.gotoAndStop((_local10 + 1));
};
_local10++;
};
var _local11:* = 1;
while (_local11 <= 10) {
if (_arg1.target.name == (("facetop" + _local11) + "_mc")){
if ((((facetop_mc.currentFrame == 3)) || ((facetop_mc.currentFrame == 4)))){
setChildIndex(facetop_mc, (numChildren - 1));
};
if (facetop_mc.currentFrame != 3){
setChildIndex(face_mc, (numChildren - 1));
};
if (_local11 == 1){
setChildIndex(facetop_mc, (numChildren - 1));
};
valreset10();
arrow_mc.gotoAndStop(1);
facetop_mc.gotoAndStop((_local11 + 2));
};
_local11++;
};
if (_arg1.target.name == "color_mc"){
if (ival1 == 1){
arrow_mc.gotoAndStop(6);
if (body_mc.currentFrame == 1){
if (body_mc.b1_mc.currentFrame == 15){
body_mc.b1_mc.gotoAndStop(1);
} else {
body_mc.b1_mc.nextFrame();
};
};
if (body_mc.currentFrame == 2){
if (body_mc.b2_mc.currentFrame == 15){
body_mc.b2_mc.gotoAndStop(1);
} else {
body_mc.b2_mc.nextFrame();
};
};
if (body_mc.currentFrame == 3){
if (body_mc.b3_mc.currentFrame == 15){
body_mc.b3_mc.gotoAndStop(1);
} else {
body_mc.b3_mc.nextFrame();
};
};
if (body_mc.currentFrame == 4){
if (body_mc.b4_mc.currentFrame == 15){
body_mc.b4_mc.gotoAndStop(1);
} else {
body_mc.b4_mc.nextFrame();
};
};
if (body_mc.currentFrame == 5){
if (body_mc.b5_mc.currentFrame == 15){
body_mc.b5_mc.gotoAndStop(1);
} else {
body_mc.b5_mc.nextFrame();
};
};
if (body_mc.currentFrame == 6){
if (body_mc.b6_mc.currentFrame == 15){
body_mc.b6_mc.gotoAndStop(1);
} else {
body_mc.b6_mc.nextFrame();
};
};
if (body_mc.currentFrame == 7){
if (body_mc.b7_mc.currentFrame == 15){
body_mc.b7_mc.gotoAndStop(1);
} else {
body_mc.b7_mc.nextFrame();
};
};
if (body_mc.currentFrame == 8){
if (body_mc.b8_mc.currentFrame == 15){
body_mc.b8_mc.gotoAndStop(1);
} else {
body_mc.b8_mc.nextFrame();
};
};
if (body_mc.currentFrame == 9){
if (body_mc.b9_mc.currentFrame == 15){
body_mc.b9_mc.gotoAndStop(1);
} else {
body_mc.b9_mc.nextFrame();
};
};
if (body_mc.currentFrame == 10){
if (body_mc.b10_mc.currentFrame == 15){
body_mc.b10_mc.gotoAndStop(1);
} else {
body_mc.b10_mc.nextFrame();
};
};
};
if (ival2 == 1){
arrow_mc.gotoAndStop(7);
if (bottom_mc.bottom_mc.currentFrame == 1){
if (bottom_mc.bottom_mc.b01_mc.currentFrame == 15){
bottom_mc.bottom_mc.b01_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b01_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 2){
if (bottom_mc.bottom_mc.b02_mc.currentFrame == 15){
bottom_mc.bottom_mc.b02_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b02_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 3){
if (bottom_mc.bottom_mc.b03_mc.currentFrame == 15){
bottom_mc.bottom_mc.b03_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b03_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 4){
if (bottom_mc.bottom_mc.b04_mc.currentFrame == 15){
bottom_mc.bottom_mc.b04_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b04_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 5){
if (bottom_mc.bottom_mc.b05_mc.currentFrame == 15){
bottom_mc.bottom_mc.b05_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b05_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 6){
if (bottom_mc.bottom_mc.b06_mc.currentFrame == 15){
bottom_mc.bottom_mc.b06_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b06_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 7){
if (bottom_mc.bottom_mc.b07_mc.currentFrame == 15){
bottom_mc.bottom_mc.b07_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b07_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 8){
if (bottom_mc.bottom_mc.b08_mc.currentFrame == 15){
bottom_mc.bottom_mc.b08_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b08_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 9){
if (bottom_mc.bottom_mc.b09_mc.currentFrame == 15){
bottom_mc.bottom_mc.b09_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b09_mc.nextFrame();
};
};
if (bottom_mc.bottom_mc.currentFrame == 10){
if (bottom_mc.bottom_mc.b010_mc.currentFrame == 15){
bottom_mc.bottom_mc.b010_mc.gotoAndStop(1);
} else {
bottom_mc.bottom_mc.b010_mc.nextFrame();
};
};
};
if (ival3 == 1){
arrow_mc.gotoAndStop(8);
if (lefthandweapon_mc.currentFrame == 3){
if (lefthandweapon_mc.lefthandweapon2_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon2_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon2_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 4){
if (lefthandweapon_mc.lefthandweapon3_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon3_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon3_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 5){
if (lefthandweapon_mc.lefthandweapon4_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon4_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon4_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 6){
if (lefthandweapon_mc.lefthandweapon5_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon5_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon5_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 7){
if (lefthandweapon_mc.lefthandweapon6_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon6_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon6_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 8){
if (lefthandweapon_mc.lefthandweapon7_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon7_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon7_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 9){
if (lefthandweapon_mc.lefthandweapon8_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon8_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon8_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 10){
if (lefthandweapon_mc.lefthandweapon9_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon9_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon9_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 11){
if (lefthandweapon_mc.lefthandweapon10_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon10_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon10_mc.nextFrame();
};
};
if (lefthandweapon_mc.currentFrame == 12){
if (lefthandweapon_mc.lefthandweapon11_mc.currentFrame == 15){
lefthandweapon_mc.lefthandweapon11_mc.gotoAndStop(1);
} else {
lefthandweapon_mc.lefthandweapon11_mc.nextFrame();
};
};
};
if (ival4 == 1){
arrow_mc.gotoAndStop(9);
if (lefthand_mc.currentFrame == 2){
if (lefthand_mc.lefthand2_mc.currentFrame == 15){
lefthand_mc.lefthand2_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand2_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 3){
if (lefthand_mc.lefthand3_mc.currentFrame == 15){
lefthand_mc.lefthand3_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand3_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 4){
if (lefthand_mc.lefthand4_mc.currentFrame == 15){
lefthand_mc.lefthand4_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand4_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 5){
if (lefthand_mc.lefthand5_mc.currentFrame == 15){
lefthand_mc.lefthand5_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand5_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 6){
if (lefthand_mc.lefthand6_mc.currentFrame == 15){
lefthand_mc.lefthand6_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand6_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 7){
if (lefthand_mc.lefthand7_mc.currentFrame == 15){
lefthand_mc.lefthand7_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand7_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 8){
if (lefthand_mc.lefthand8_mc.currentFrame == 15){
lefthand_mc.lefthand8_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand8_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 9){
if (lefthand_mc.lefthand9_mc.currentFrame == 15){
lefthand_mc.lefthand9_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand9_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 10){
if (lefthand_mc.lefthand10_mc.currentFrame == 15){
lefthand_mc.lefthand10_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand10_mc.nextFrame();
};
};
if (lefthand_mc.currentFrame == 11){
if (lefthand_mc.lefthand11_mc.currentFrame == 15){
lefthand_mc.lefthand11_mc.gotoAndStop(1);
} else {
lefthand_mc.lefthand11_mc.nextFrame();
};
};
};
if (ival5 == 1){
arrow_mc.gotoAndStop(5);
if (righthandweapon_mc.currentFrame == 3){
if (righthandweapon_mc.righthandweapon2_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon2_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon2_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 4){
if (righthandweapon_mc.righthandweapon3_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon3_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon3_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 5){
if (righthandweapon_mc.righthandweapon4_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon4_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon4_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 6){
if (righthandweapon_mc.righthandweapon5_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon5_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon5_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 7){
if (righthandweapon_mc.righthandweapon6_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon6_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon6_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 8){
if (righthandweapon_mc.righthandweapon7_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon7_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon7_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 9){
if (righthandweapon_mc.righthandweapon8_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon8_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon8_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 10){
if (righthandweapon_mc.righthandweapon9_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon9_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon9_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 11){
if (righthandweapon_mc.righthandweapon10_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon10_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon10_mc.nextFrame();
};
};
if (righthandweapon_mc.currentFrame == 12){
if (righthandweapon_mc.righthandweapon11_mc.currentFrame == 15){
righthandweapon_mc.righthandweapon11_mc.gotoAndStop(1);
} else {
righthandweapon_mc.righthandweapon11_mc.nextFrame();
};
};
};
if (ival6 == 1){
arrow_mc.gotoAndStop(4);
if (righthand_mc.currentFrame == 2){
if (righthand_mc.righthand2_mc.currentFrame == 15){
righthand_mc.righthand2_mc.gotoAndStop(1);
} else {
righthand_mc.righthand2_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 3){
if (righthand_mc.righthand3_mc.currentFrame == 15){
righthand_mc.righthand3_mc.gotoAndStop(1);
} else {
righthand_mc.righthand3_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 4){
if (righthand_mc.righthand4_mc.currentFrame == 15){
righthand_mc.righthand4_mc.gotoAndStop(1);
} else {
righthand_mc.righthand4_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 5){
if (righthand_mc.righthand5_mc.currentFrame == 15){
righthand_mc.righthand5_mc.gotoAndStop(1);
} else {
righthand_mc.righthand5_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 6){
if (righthand_mc.righthand6_mc.currentFrame == 15){
righthand_mc.righthand6_mc.gotoAndStop(1);
} else {
righthand_mc.righthand6_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 7){
if (righthand_mc.righthand7_mc.currentFrame == 15){
righthand_mc.righthand7_mc.gotoAndStop(1);
} else {
righthand_mc.righthand7_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 8){
if (righthand_mc.righthand8_mc.currentFrame == 15){
righthand_mc.righthand8_mc.gotoAndStop(1);
} else {
righthand_mc.righthand8_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 9){
if (righthand_mc.righthand9_mc.currentFrame == 15){
righthand_mc.righthand9_mc.gotoAndStop(1);
} else {
righthand_mc.righthand9_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 10){
if (righthand_mc.righthand10_mc.currentFrame == 15){
righthand_mc.righthand10_mc.gotoAndStop(1);
} else {
righthand_mc.righthand10_mc.nextFrame();
};
};
if (righthand_mc.currentFrame == 11){
if (righthand_mc.righthand11_mc.currentFrame == 15){
righthand_mc.righthand11_mc.gotoAndStop(1);
} else {
righthand_mc.righthand11_mc.nextFrame();
};
};
};
if (ival7 == 1){
arrow_mc.gotoAndStop(10);
if (backlegs_mc.currentFrame == 2){
if (backlegs_mc.backlegs2_mc.currentFrame == 15){
backlegs_mc.backlegs2_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs2_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 3){
if (backlegs_mc.backlegs3_mc.currentFrame == 15){
backlegs_mc.backlegs3_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs3_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 4){
if (backlegs_mc.backlegs4_mc.currentFrame == 15){
backlegs_mc.backlegs4_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs4_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 5){
if (backlegs_mc.backlegs5_mc.currentFrame == 15){
backlegs_mc.backlegs5_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs5_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 6){
if (backlegs_mc.backlegs6_mc.currentFrame == 15){
backlegs_mc.backlegs6_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs6_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 7){
if (backlegs_mc.backlegs7_mc.currentFrame == 15){
backlegs_mc.backlegs7_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs7_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 8){
if (backlegs_mc.backlegs8_mc.currentFrame == 15){
backlegs_mc.backlegs8_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs8_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 9){
if (backlegs_mc.backlegs9_mc.currentFrame == 15){
backlegs_mc.backlegs9_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs9_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 10){
if (backlegs_mc.backlegs10_mc.currentFrame == 15){
backlegs_mc.backlegs10_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs10_mc.nextFrame();
};
};
if (backlegs_mc.currentFrame == 11){
if (backlegs_mc.backlegs11_mc.currentFrame == 15){
backlegs_mc.backlegs11_mc.gotoAndStop(1);
} else {
backlegs_mc.backlegs11_mc.nextFrame();
};
};
};
if (ival8 == 1){
arrow_mc.gotoAndStop(3);
if (backfly_mc.currentFrame == 2){
if (backfly_mc.backfly2_mc.currentFrame == 15){
backfly_mc.backfly2_mc.gotoAndStop(1);
} else {
backfly_mc.backfly2_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 3){
if (backfly_mc.backfly3_mc.currentFrame == 15){
backfly_mc.backfly3_mc.gotoAndStop(1);
} else {
backfly_mc.backfly3_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 4){
if (backfly_mc.backfly4_mc.currentFrame == 15){
backfly_mc.backfly4_mc.gotoAndStop(1);
} else {
backfly_mc.backfly4_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 5){
if (backfly_mc.backfly5_mc.currentFrame == 15){
backfly_mc.backfly5_mc.gotoAndStop(1);
} else {
backfly_mc.backfly5_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 6){
if (backfly_mc.backfly6_mc.currentFrame == 15){
backfly_mc.backfly6_mc.gotoAndStop(1);
} else {
backfly_mc.backfly6_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 7){
if (backfly_mc.backfly7_mc.currentFrame == 15){
backfly_mc.backfly7_mc.gotoAndStop(1);
} else {
backfly_mc.backfly7_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 8){
if (backfly_mc.backfly8_mc.currentFrame == 15){
backfly_mc.backfly8_mc.gotoAndStop(1);
} else {
backfly_mc.backfly8_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 9){
if (backfly_mc.backfly9_mc.currentFrame == 15){
backfly_mc.backfly9_mc.gotoAndStop(1);
} else {
backfly_mc.backfly9_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 10){
if (backfly_mc.backfly10_mc.currentFrame == 15){
backfly_mc.backfly10_mc.gotoAndStop(1);
} else {
backfly_mc.backfly10_mc.nextFrame();
};
};
if (backfly_mc.currentFrame == 11){
if (backfly_mc.backfly11_mc.currentFrame == 15){
backfly_mc.backfly11_mc.gotoAndStop(1);
} else {
backfly_mc.backfly11_mc.nextFrame();
};
};
};
if (ival9 == 1){
arrow_mc.gotoAndStop(2);
if (face_mc.currentFrame == 2){
if (face_mc.face2_mc.currentFrame == 15){
face_mc.face2_mc.gotoAndStop(1);
} else {
face_mc.face2_mc.nextFrame();
};
};
if (face_mc.currentFrame == 3){
if (face_mc.face3_mc.currentFrame == 15){
face_mc.face3_mc.gotoAndStop(1);
} else {
face_mc.face3_mc.nextFrame();
};
};
if (face_mc.currentFrame == 4){
if (face_mc.face4_mc.currentFrame == 15){
face_mc.face4_mc.gotoAndStop(1);
} else {
face_mc.face4_mc.nextFrame();
};
};
if (face_mc.currentFrame == 5){
if (face_mc.face5_mc.currentFrame == 15){
face_mc.face5_mc.gotoAndStop(1);
} else {
face_mc.face5_mc.nextFrame();
};
};
if (face_mc.currentFrame == 6){
if (face_mc.face6_mc.currentFrame == 15){
face_mc.face6_mc.gotoAndStop(1);
} else {
face_mc.face6_mc.nextFrame();
};
};
if (face_mc.currentFrame == 7){
if (face_mc.face7_mc.currentFrame == 15){
face_mc.face7_mc.gotoAndStop(1);
} else {
face_mc.face7_mc.nextFrame();
};
};
if (face_mc.currentFrame == 8){
if (face_mc.face8_mc.currentFrame == 15){
face_mc.face8_mc.gotoAndStop(1);
} else {
face_mc.face8_mc.nextFrame();
};
};
if (face_mc.currentFrame == 9){
if (face_mc.face9_mc.currentFrame == 15){
face_mc.face9_mc.gotoAndStop(1);
} else {
face_mc.face9_mc.nextFrame();
};
};
if (face_mc.currentFrame == 10){
if (face_mc.face10_mc.currentFrame == 15){
face_mc.face10_mc.gotoAndStop(1);
} else {
face_mc.face10_mc.nextFrame();
};
};
if (face_mc.currentFrame == 11){
if (face_mc.face11_mc.currentFrame == 15){
face_mc.face11_mc.gotoAndStop(1);
} else {
face_mc.face11_mc.nextFrame();
};
};
};
if (ival10 == 1){
arrow_mc.gotoAndStop(1);
if (facetop_mc.currentFrame == 3){
if (facetop_mc.facetop2_mc.currentFrame == 15){
facetop_mc.facetop2_mc.gotoAndStop(1);
} else {
facetop_mc.facetop2_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 4){
if (facetop_mc.facetop3_mc.currentFrame == 15){
facetop_mc.facetop3_mc.gotoAndStop(1);
} else {
facetop_mc.facetop3_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 5){
if (facetop_mc.facetop4_mc.currentFrame == 15){
facetop_mc.facetop4_mc.gotoAndStop(1);
} else {
facetop_mc.facetop4_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 6){
if (facetop_mc.facetop5_mc.currentFrame == 15){
facetop_mc.facetop5_mc.gotoAndStop(1);
} else {
facetop_mc.facetop5_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 7){
if (facetop_mc.facetop6_mc.currentFrame == 15){
facetop_mc.facetop6_mc.gotoAndStop(1);
} else {
facetop_mc.facetop6_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 8){
if (facetop_mc.facetop7_mc.currentFrame == 15){
facetop_mc.facetop7_mc.gotoAndStop(1);
} else {
facetop_mc.facetop7_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 9){
if (facetop_mc.facetop8_mc.currentFrame == 15){
facetop_mc.facetop8_mc.gotoAndStop(1);
} else {
facetop_mc.facetop8_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 10){
if (facetop_mc.facetop9_mc.currentFrame == 15){
facetop_mc.facetop9_mc.gotoAndStop(1);
} else {
facetop_mc.facetop9_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 11){
if (facetop_mc.facetop10_mc.currentFrame == 15){
facetop_mc.facetop10_mc.gotoAndStop(1);
} else {
facetop_mc.facetop10_mc.nextFrame();
};
};
if (facetop_mc.currentFrame == 12){
if (facetop_mc.facetop11_mc.currentFrame == 15){
facetop_mc.facetop11_mc.gotoAndStop(1);
} else {
facetop_mc.facetop11_mc.nextFrame();
};
};
};
};
}
public function valreset1(){
ival1 = 1;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 0;
}
public function valreset2(){
ival1 = 0;
ival2 = 1;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 0;
}
public function valreset3(){
ival1 = 0;
ival2 = 0;
ival3 = 1;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 0;
}
public function valreset4(){
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 1;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 0;
}
public function valreset5(){
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 1;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 0;
}
public function valreset6(){
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 1;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 0;
}
public function valreset7(){
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 1;
ival8 = 0;
ival9 = 0;
ival10 = 0;
}
public function valreset8(){
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 1;
ival9 = 0;
ival10 = 0;
}
public function valreset9(){
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 1;
ival10 = 0;
}
public function valreset10(){
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 1;
}
public function valresetall(){
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 0;
}
function frame1(){
MochiBot.track(this, "59fcf377");
swfname = "warriorrobotbuilder.swf";
swfheight = "600";
swfwidth = "800";
embedcode = (((((((((((("<object width=\"" + this.swfwidth) + "\" height=\"") + this.swfheight) + "\"><param name=\"movie\" value=\"http://www.fupa.com/games/") + this.swfname) + "\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.fupa.com/games/") + this.swfname) + "\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"") + this.swfwidth) + "\" height=\"") + this.swfheight) + "\"></embed></object>");
textbox.htmlText = (textbox.htmlText + "<br/><br/><a href=\"http://www.fupa.com/\">Free Online Games</a> - Play over 8000 free games online including flash games , internet games , family friendly games , and all free games.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Puzzles.html\">Free Online Puzzles Games</a> - Play over 2000 free puzzle games online including internet games , flash games, all free games, and family friendly games.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Dress-Up.html\">Free Online Dress Up Games</a> - Play over 1300 free dressup games online where you can dress up with all kinds of clothes, dolls, sunglasses, hats, bags and more in these fun online games!<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Strategy.html\">Free Online Strategy Games</a> - Play over 140 free strategy games online where you can play all kinds of tower defense games and other strategy games to test your metal!<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Word.html\">Free Online Word Games</a> - Play over 40 free word games online for people who love their word and letter games for free online. Get out your dictionary and get your word on!<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Cards.html\">Free Online Cards Games</a> - Play over 50 free card games online including Texas Holdem, Freecell, solitaire, and many more card games.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Action.html\">Free Online Action Games</a> - Play over 1200 free action games online where you can compete against other people for the best action game high score online.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Adventure.html\">Free Online Adventure Games</a> - Play over 200 free adventure games online for fun adventures that the whole family will love playing free games on the internet.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/BoardGame.html\">Free Online Board Games</a> - Play over 60 free board games online like checkers, chess, chinese checkers and other such classic board games for free fun.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Shooting.html\">Free Online Shooting Games</a> - Play over 900 free shooting games online to get your fun time playing flash games online the internet for free.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Driving.html\">Free Online Driving Games</a> - Play over 120 free driving games online where you can play racing games, motocross games, big truck games, and all kinds of car games.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Sports.html\">Free Online Sports Games</a> - Play over 450 free sports games online including football games, basketball games, pool games, baseball games, and other fun sports games.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Memory.html\">Free Online Memory Games</a> - Play over 60 free memory games online to improve your memory and have fun playing flash games for free on the internet.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Casino.html\">Free Online Casino Games</a> - Play over 50 free casino games online where you can play slots, poker, roulette and many more fun free casino games online.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Fighting.html\">Free Online Fighting Games</a> - Play over 100 free fighting games online including fun flash games, two person games, and classic fighting games for free online.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Other.html\">Free Online Other Games</a> - Play over 1200 free other games online where all of the other games that do not fit in other game categories go to live and have fun.<br/><br/>");
textbox.htmlText = (textbox.htmlText + "<a href=\"http://www.fupa.com/flash-games/Multiplayer.html\">Free Online Multiplayer Games</a> - Play over 100 free multiplayer games online to compete against other people in multiplayer flash online games for fun on the internet.");
FupaBar.bar_frame.width = stage.stageWidth;
FupaBar.bar_frame.x = -((FupaBar.bar_frame.width / 2));
FupaBar.logo.x = -(((FupaBar.bar_frame.width / 2) - 10));
FupaBar.control_buttons.x = ((FupaBar.bar_frame.width / 2) - (FupaBar.control_buttons.width + 10));
FupaBar.x = (stage.stageWidth / 2);
FupaBar.y = (stage.stageHeight - (FupaBar.height / 2));
FupaBar.mouseChildren = false;
FupaBar.mouseEnabled = false;
Security.allowDomain("cdn.gigya.com");
Security.allowInsecureDomain("cdn.gigya.com");
wfAlreadyLoaded = false;
mcWF = new MovieClip();
FupaBar.logo.addEventListener(MouseEvent.CLICK, loadFupa);
FupaBar.control_buttons.embed.addEventListener(MouseEvent.CLICK, loadEmbed);
FupaBar.control_buttons.nextbtn.addEventListener(MouseEvent.CLICK, loadNext);
FupaBar.control_buttons.share.addEventListener(MouseEvent.CLICK, loadWildfire);
ssval = 0;
soundstatus = false;
fmm01_menu = new ContextMenu();
fmm01_menu.hideBuiltInItems();
this.contextMenu = fmm01_menu;
item = new ContextMenuItem("http://www.fupa.com");
fmm01_menu.customItems[0] = item;
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, rightclick);
}
function frame2(){
AD_ID = "6f8873cd2733fa6b";
MochiAd.showPreGameAd({id:AD_ID, clip:root, ad_finished:start, res:"800x600"});
bgsound = new bg();
bgChannel = new SoundChannel();
stop();
stop();
quality_mc.buttonMode = true;
playgame_btn.addEventListener(MouseEvent.CLICK, playgame);
moregame_btn.addEventListener(MouseEvent.CLICK, moregame);
Incval = 40;
f1val = 0;
f2val = 0;
ival1 = 0;
ival2 = 0;
ival3 = 0;
ival4 = 0;
ival5 = 0;
ival6 = 0;
ival7 = 0;
ival8 = 0;
ival9 = 0;
ival10 = 0;
sndtrackval = new sndtrack1();
sndtrackval1 = new sndtrack2();
sndtrackval2 = new sndtrack3();
sndtrackval3 = new sndtrack4();
sndtrackval4 = new sndtrack5();
sndtrackval5 = new sndtrack6();
sndtrackval6 = new sndtrack7();
sndtrackval7 = new sndtrack8();
sndtrackval8 = new sndtrack9();
sndtrackval9 = new sndtrack10();
sndtrackval10 = new sndtrack11();
sndtrackval11 = new sndtrack12();
sndtrackval12 = new sndtrack13();
sndtrackval13 = new sndtrack14();
sndtrackval14 = new sndtrack15();
sndtrackval15 = new sndtrack16();
sndtrackval16 = new sndtrack17();
sndtrackval17 = new sndtrack18();
sndtrackval18 = new sndtrack19();
sndtrackval19 = new sndtrack20();
sndtrackval20 = new sndtrack21();
sndtrackval21 = new sndtrack22();
sndtrackval22 = new sndtrack23();
sndtrackval23 = new sndtrack24();
sndtrackval24 = new sndtrack25();
sndtrackval25 = new sndtrack26();
sndtrackval26 = new sndtrack27();
sndtrackval27 = new sndtrack28();
sndtrackval28 = new sndtrack29();
sndtrackval29 = new sndtrack30();
sndtrackval30 = new sndtrack31();
sndtrackval31 = new sndtrack32();
sndtrackvalChannel = new SoundChannel();
snd_mc.buttonMode = true;
addEventListener(MouseEvent.CLICK, music);
}
function frame3(){
stop();
Incval = 15;
f1val = 0;
f2val = 0;
w1_mc.visible = false;
replay_btn.visible = false;
quality_mc.buttonMode = true;
ani_mc.buttonMode = true;
bottom_mc.buttonMode = true;
body_mc.buttonMode = true;
facetop_mc.buttonMode = true;
face_mc.buttonMode = true;
righthand_mc.buttonMode = true;
lefthand_mc.buttonMode = true;
righthandweapon_mc.buttonMode = true;
lefthandweapon_mc.buttonMode = true;
backlegs_mc.buttonMode = true;
backfly_mc.buttonMode = true;
WhiteMc_mc.gotoAndPlay(5);
arrow_mc.gotoAndStop(11);
shadowtimerevent = new Timer(30);
moregame_btn.addEventListener(MouseEvent.CLICK, moregame);
shadowtimerevent.addEventListener(TimerEvent.TIMER, shadowtimerevent1);
shadowtimerevent.start();
shadowtimerevent01 = new Timer(30);
shadowtimerevent01.addEventListener(TimerEvent.TIMER, shadowtimerevent2);
stage.addEventListener(MouseEvent.CLICK, mousepress);
}
}
}//package WarriorRobotBuilder_fla
Section 11
//sdfdsf_339 (WarriorRobotBuilder_fla.sdfdsf_339)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class sdfdsf_339 extends MovieClip {
public function sdfdsf_339(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 12
//Symbol11_152 (WarriorRobotBuilder_fla.Symbol11_152)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol11_152 extends MovieClip {
public var lefthand11_mc:MovieClip;
public var lefthand10_mc:MovieClip;
public var lefthand9_mc:MovieClip;
public var lefthand8_mc:MovieClip;
public var lefthand7_mc:MovieClip;
public var lefthand6_mc:MovieClip;
public var lefthand5_mc:MovieClip;
public var lefthand4_mc:MovieClip;
public var lefthand3_mc:MovieClip;
public var lefthand2_mc:MovieClip;
public var lefthand1_mc:SimpleButton;
public function Symbol11_152(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame1(){
stop();
}
function frame2(){
lefthand2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval16.play();
};
}
function frame3(){
lefthand3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval18.play();
};
}
function frame4(){
lefthand4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval17.play();
};
}
function frame5(){
lefthand5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval16.play();
};
}
function frame6(){
lefthand6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval18.play();
};
}
function frame7(){
lefthand7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval17.play();
};
}
function frame8(){
lefthand8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval18.play();
};
}
function frame9(){
lefthand9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval16.play();
};
}
function frame10(){
lefthand10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval17.play();
};
}
function frame11(){
lefthand11_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval16.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 13
//Symbol13_178 (WarriorRobotBuilder_fla.Symbol13_178)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol13_178 extends MovieClip {
public var lefthandweapon1_mc:SimpleButton;
public var lefthandweapon10_mc:MovieClip;
public var lefthandweapon6_mc:MovieClip;
public var lefthandweapon11_mc:MovieClip;
public var lefthandweapon7_mc:MovieClip;
public var lefthandweapon4_mc:MovieClip;
public var lefthandweapon5_mc:MovieClip;
public var lefthandweapon8_mc:MovieClip;
public var lefthandweapon9_mc:MovieClip;
public var lefthandweapon2_mc:MovieClip;
public var lefthandweapon3_mc:MovieClip;
public function Symbol13_178(){
addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function frame1(){
stop();
}
function frame3(){
lefthandweapon2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval9.play();
};
}
function frame4(){
lefthandweapon3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval11.play();
};
}
function frame5(){
lefthandweapon4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval10.play();
};
}
function frame6(){
lefthandweapon5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval12.play();
};
}
function frame7(){
lefthandweapon6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval15.play();
};
}
function frame8(){
lefthandweapon7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval15.play();
};
}
function frame9(){
lefthandweapon8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval13.play();
};
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval14.play();
};
}
function frame10(){
lefthandweapon9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval9.play();
};
}
function frame11(){
lefthandweapon10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval14.play();
};
}
function frame12(){
lefthandweapon11_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval10.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 14
//Symbol14_35 (WarriorRobotBuilder_fla.Symbol14_35)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol14_35 extends MovieClip {
public var snd1_mc:MovieClip;
public function Symbol14_35(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 15
//Symbol16_258 (WarriorRobotBuilder_fla.Symbol16_258)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol16_258 extends MovieClip {
public var righthand2_mc:MovieClip;
public var righthand3_mc:MovieClip;
public var righthand1_mc:SimpleButton;
public var righthand6_mc:MovieClip;
public var righthand7_mc:MovieClip;
public var righthand4_mc:MovieClip;
public var righthand5_mc:MovieClip;
public var righthand8_mc:MovieClip;
public var righthand9_mc:MovieClip;
public var righthand11_mc:MovieClip;
public var righthand10_mc:MovieClip;
public function Symbol16_258(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame1(){
stop();
}
function frame2(){
righthand2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval18.play();
};
}
function frame3(){
righthand3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval17.play();
};
}
function frame4(){
righthand4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval16.play();
};
}
function frame5(){
righthand5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval17.play();
};
}
function frame6(){
righthand6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval18.play();
};
}
function frame7(){
righthand7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval16.play();
};
}
function frame8(){
righthand8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval17.play();
};
}
function frame9(){
righthand9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval18.play();
};
}
function frame10(){
righthand10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval16.play();
};
}
function frame11(){
righthand11_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval18.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 16
//Symbol167_132 (WarriorRobotBuilder_fla.Symbol167_132)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol167_132 extends MovieClip {
public function Symbol167_132(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 17
//Symbol168_135 (WarriorRobotBuilder_fla.Symbol168_135)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol168_135 extends MovieClip {
public function Symbol168_135(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 18
//Symbol169_137 (WarriorRobotBuilder_fla.Symbol169_137)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol169_137 extends MovieClip {
public function Symbol169_137(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 19
//Symbol170_144 (WarriorRobotBuilder_fla.Symbol170_144)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol170_144 extends MovieClip {
public function Symbol170_144(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 20
//Symbol18_236 (WarriorRobotBuilder_fla.Symbol18_236)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol18_236 extends MovieClip {
public var righthandweapon9_mc:MovieClip;
public var righthandweapon8_mc:MovieClip;
public var righthandweapon5_mc:MovieClip;
public var righthandweapon10_mc:MovieClip;
public var righthandweapon4_mc:MovieClip;
public var righthandweapon11_mc:MovieClip;
public var righthandweapon7_mc:MovieClip;
public var righthandweapon6_mc:MovieClip;
public var righthandweapon1_mc:SimpleButton;
public var righthandweapon3_mc:MovieClip;
public var righthandweapon2_mc:MovieClip;
public function Symbol18_236(){
addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function frame1(){
stop();
}
function frame3(){
righthandweapon2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval13.play();
};
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval14.play();
};
}
function frame4(){
righthandweapon3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval15.play();
};
}
function frame5(){
righthandweapon4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval13.play();
};
}
function frame6(){
righthandweapon5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval9.play();
};
}
function frame7(){
righthandweapon6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval15.play();
};
}
function frame8(){
righthandweapon7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval11.play();
};
}
function frame9(){
righthandweapon8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval9.play();
};
}
function frame10(){
righthandweapon9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval14.play();
};
}
function frame11(){
righthandweapon10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval13.play();
};
}
function frame12(){
righthandweapon11_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval12.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 21
//Symbol20_94 (WarriorRobotBuilder_fla.Symbol20_94)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol20_94 extends MovieClip {
public var backlegs1_mc:SimpleButton;
public var backlegs3_mc:MovieClip;
public var backlegs2_mc:MovieClip;
public var backlegs5_mc:MovieClip;
public var backlegs4_mc:MovieClip;
public var backlegs7_mc:MovieClip;
public var backlegs6_mc:MovieClip;
public var backlegs9_mc:MovieClip;
public var backlegs8_mc:MovieClip;
public var backlegs10_mc:MovieClip;
public var backlegs11_mc:MovieClip;
public function Symbol20_94(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame1(){
stop();
}
function frame2(){
backlegs2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval19.play();
};
}
function frame3(){
backlegs3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval21.play();
};
}
function frame4(){
backlegs4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval20.play();
};
}
function frame5(){
backlegs5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval19.play();
};
}
function frame6(){
backlegs6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval20.play();
};
}
function frame7(){
backlegs7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval21.play();
};
}
function frame8(){
backlegs8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval19.play();
};
}
function frame9(){
backlegs9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval20.play();
};
}
function frame10(){
backlegs10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval21.play();
};
}
function frame11(){
backlegs11_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval19.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 22
//Symbol22_201 (WarriorRobotBuilder_fla.Symbol22_201)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol22_201 extends MovieClip {
public var b8_mc:MovieClip;
public var b9_mc:MovieClip;
public var b10_mc:MovieClip;
public var b2_mc:MovieClip;
public var b3_mc:MovieClip;
public var b1_mc:MovieClip;
public var b6_mc:MovieClip;
public var b7_mc:MovieClip;
public var b4_mc:MovieClip;
public var b5_mc:MovieClip;
public function Symbol22_201(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame1(){
stop();
b1_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval4.play();
};
}
function frame2(){
b2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval8.play();
};
}
function frame3(){
b3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval5.play();
};
}
function frame4(){
b4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval8.play();
};
}
function frame5(){
b5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval7.play();
};
}
function frame6(){
b6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval5.play();
};
}
function frame7(){
b7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval7.play();
};
}
function frame8(){
b8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval6.play();
};
}
function frame9(){
b9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval5.play();
};
}
function frame10(){
b10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval6.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 23
//Symbol230_148 (WarriorRobotBuilder_fla.Symbol230_148)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol230_148 extends MovieClip {
public function Symbol230_148(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 24
//Symbol231_150 (WarriorRobotBuilder_fla.Symbol231_150)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol231_150 extends MovieClip {
public function Symbol231_150(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 25
//Symbol232_202 (WarriorRobotBuilder_fla.Symbol232_202)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol232_202 extends MovieClip {
public function Symbol232_202(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 26
//Symbol233_204 (WarriorRobotBuilder_fla.Symbol233_204)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol233_204 extends MovieClip {
public function Symbol233_204(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 27
//Symbol234_210 (WarriorRobotBuilder_fla.Symbol234_210)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol234_210 extends MovieClip {
public function Symbol234_210(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 28
//Symbol235_213 (WarriorRobotBuilder_fla.Symbol235_213)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol235_213 extends MovieClip {
public function Symbol235_213(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 29
//Symbol236_217 (WarriorRobotBuilder_fla.Symbol236_217)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol236_217 extends MovieClip {
public function Symbol236_217(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 30
//Symbol237_220 (WarriorRobotBuilder_fla.Symbol237_220)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol237_220 extends MovieClip {
public function Symbol237_220(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 31
//Symbol238_223 (WarriorRobotBuilder_fla.Symbol238_223)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol238_223 extends MovieClip {
public function Symbol238_223(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 32
//Symbol239_225 (WarriorRobotBuilder_fla.Symbol239_225)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol239_225 extends MovieClip {
public function Symbol239_225(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 33
//Symbol24_118 (WarriorRobotBuilder_fla.Symbol24_118)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol24_118 extends MovieClip {
public var b02_mc:MovieClip;
public var b03_mc:MovieClip;
public var b01_mc:MovieClip;
public var b06_mc:MovieClip;
public var b010_mc:MovieClip;
public var b07_mc:MovieClip;
public var b04_mc:MovieClip;
public var b05_mc:MovieClip;
public var b08_mc:MovieClip;
public var b09_mc:MovieClip;
public function Symbol24_118(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame1(){
stop();
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval.play();
};
b01_mc.mouseChildren = false;
}
function frame2(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval3.play();
};
b02_mc.mouseChildren = false;
}
function frame3(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval1.play();
};
b03_mc.mouseChildren = false;
}
function frame4(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval3.play();
};
b04_mc.mouseChildren = false;
}
function frame5(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval3.play();
};
b05_mc.mouseChildren = false;
}
function frame6(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval2.play();
};
b06_mc.mouseChildren = false;
}
function frame7(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval2.play();
};
b07_mc.mouseChildren = false;
}
function frame8(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval1.play();
};
b08_mc.mouseChildren = false;
}
function frame9(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval1.play();
};
b09_mc.mouseChildren = false;
}
function frame10(){
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval1.play();
};
b010_mc.mouseChildren = false;
}
}
}//package WarriorRobotBuilder_fla
Section 34
//Symbol240_230 (WarriorRobotBuilder_fla.Symbol240_230)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol240_230 extends MovieClip {
public function Symbol240_230(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 35
//Symbol241_233 (WarriorRobotBuilder_fla.Symbol241_233)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol241_233 extends MovieClip {
public function Symbol241_233(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 36
//Symbol242_286 (WarriorRobotBuilder_fla.Symbol242_286)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol242_286 extends MovieClip {
public function Symbol242_286(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 37
//Symbol243_289 (WarriorRobotBuilder_fla.Symbol243_289)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol243_289 extends MovieClip {
public function Symbol243_289(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 38
//Symbol244_291 (WarriorRobotBuilder_fla.Symbol244_291)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol244_291 extends MovieClip {
public function Symbol244_291(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 39
//Symbol245_293 (WarriorRobotBuilder_fla.Symbol245_293)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol245_293 extends MovieClip {
public function Symbol245_293(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 40
//Symbol246_295 (WarriorRobotBuilder_fla.Symbol246_295)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol246_295 extends MovieClip {
public function Symbol246_295(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 41
//Symbol247_300 (WarriorRobotBuilder_fla.Symbol247_300)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol247_300 extends MovieClip {
public function Symbol247_300(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 42
//Symbol248_303 (WarriorRobotBuilder_fla.Symbol248_303)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol248_303 extends MovieClip {
public function Symbol248_303(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 43
//Symbol249_306 (WarriorRobotBuilder_fla.Symbol249_306)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol249_306 extends MovieClip {
public function Symbol249_306(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 44
//Symbol250_309 (WarriorRobotBuilder_fla.Symbol250_309)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol250_309 extends MovieClip {
public function Symbol250_309(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 45
//Symbol251_311 (WarriorRobotBuilder_fla.Symbol251_311)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol251_311 extends MovieClip {
public function Symbol251_311(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 46
//Symbol252_315 (WarriorRobotBuilder_fla.Symbol252_315)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol252_315 extends MovieClip {
public function Symbol252_315(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 47
//Symbol253_317 (WarriorRobotBuilder_fla.Symbol253_317)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol253_317 extends MovieClip {
public function Symbol253_317(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 48
//Symbol254_319 (WarriorRobotBuilder_fla.Symbol254_319)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol254_319 extends MovieClip {
public function Symbol254_319(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 49
//Symbol255_324 (WarriorRobotBuilder_fla.Symbol255_324)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol255_324 extends MovieClip {
public function Symbol255_324(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 50
//Symbol256_326 (WarriorRobotBuilder_fla.Symbol256_326)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol256_326 extends MovieClip {
public function Symbol256_326(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 51
//Symbol257_328 (WarriorRobotBuilder_fla.Symbol257_328)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol257_328 extends MovieClip {
public function Symbol257_328(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 52
//Symbol258_330 (WarriorRobotBuilder_fla.Symbol258_330)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol258_330 extends MovieClip {
public function Symbol258_330(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 53
//Symbol259_332 (WarriorRobotBuilder_fla.Symbol259_332)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol259_332 extends MovieClip {
public function Symbol259_332(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 54
//Symbol260_334 (WarriorRobotBuilder_fla.Symbol260_334)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol260_334 extends MovieClip {
public function Symbol260_334(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 55
//Symbol261_336 (WarriorRobotBuilder_fla.Symbol261_336)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol261_336 extends MovieClip {
public function Symbol261_336(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 56
//Symbol262_49 (WarriorRobotBuilder_fla.Symbol262_49)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol262_49 extends MovieClip {
public function Symbol262_49(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 57
//Symbol263_51 (WarriorRobotBuilder_fla.Symbol263_51)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol263_51 extends MovieClip {
public function Symbol263_51(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 58
//Symbol264_57 (WarriorRobotBuilder_fla.Symbol264_57)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol264_57 extends MovieClip {
public function Symbol264_57(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 59
//Symbol265_62 (WarriorRobotBuilder_fla.Symbol265_62)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol265_62 extends MovieClip {
public function Symbol265_62(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 60
//Symbol267_65 (WarriorRobotBuilder_fla.Symbol267_65)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol267_65 extends MovieClip {
public function Symbol267_65(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 61
//Symbol268_69 (WarriorRobotBuilder_fla.Symbol268_69)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol268_69 extends MovieClip {
public function Symbol268_69(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 62
//Symbol269_72 (WarriorRobotBuilder_fla.Symbol269_72)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol269_72 extends MovieClip {
public function Symbol269_72(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 63
//Symbol270_76 (WarriorRobotBuilder_fla.Symbol270_76)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol270_76 extends MovieClip {
public function Symbol270_76(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 64
//Symbol271_78 (WarriorRobotBuilder_fla.Symbol271_78)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol271_78 extends MovieClip {
public function Symbol271_78(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 65
//Symbol272_90 (WarriorRobotBuilder_fla.Symbol272_90)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol272_90 extends MovieClip {
public function Symbol272_90(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 66
//Symbol273_260 (WarriorRobotBuilder_fla.Symbol273_260)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol273_260 extends MovieClip {
public function Symbol273_260(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 67
//Symbol274_262 (WarriorRobotBuilder_fla.Symbol274_262)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol274_262 extends MovieClip {
public function Symbol274_262(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 68
//Symbol275_264 (WarriorRobotBuilder_fla.Symbol275_264)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol275_264 extends MovieClip {
public function Symbol275_264(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 69
//Symbol276_267 (WarriorRobotBuilder_fla.Symbol276_267)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol276_267 extends MovieClip {
public function Symbol276_267(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 70
//Symbol278_272 (WarriorRobotBuilder_fla.Symbol278_272)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol278_272 extends MovieClip {
public function Symbol278_272(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 71
//Symbol279_270 (WarriorRobotBuilder_fla.Symbol279_270)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol279_270 extends MovieClip {
public function Symbol279_270(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 72
//Symbol280_276 (WarriorRobotBuilder_fla.Symbol280_276)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol280_276 extends MovieClip {
public function Symbol280_276(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 73
//Symbol281_278 (WarriorRobotBuilder_fla.Symbol281_278)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol281_278 extends MovieClip {
public function Symbol281_278(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 74
//Symbol282_280 (WarriorRobotBuilder_fla.Symbol282_280)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol282_280 extends MovieClip {
public function Symbol282_280(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 75
//Symbol283_282 (WarriorRobotBuilder_fla.Symbol283_282)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol283_282 extends MovieClip {
public function Symbol283_282(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 76
//Symbol284_238 (WarriorRobotBuilder_fla.Symbol284_238)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol284_238 extends MovieClip {
public function Symbol284_238(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 77
//Symbol285_240 (WarriorRobotBuilder_fla.Symbol285_240)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol285_240 extends MovieClip {
public function Symbol285_240(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 78
//Symbol286_242 (WarriorRobotBuilder_fla.Symbol286_242)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol286_242 extends MovieClip {
public function Symbol286_242(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 79
//Symbol287_244 (WarriorRobotBuilder_fla.Symbol287_244)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol287_244 extends MovieClip {
public function Symbol287_244(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 80
//Symbol288_246 (WarriorRobotBuilder_fla.Symbol288_246)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol288_246 extends MovieClip {
public function Symbol288_246(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 81
//Symbol289_248 (WarriorRobotBuilder_fla.Symbol289_248)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol289_248 extends MovieClip {
public function Symbol289_248(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 82
//Symbol290_250 (WarriorRobotBuilder_fla.Symbol290_250)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol290_250 extends MovieClip {
public function Symbol290_250(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 83
//Symbol291_252 (WarriorRobotBuilder_fla.Symbol291_252)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol291_252 extends MovieClip {
public function Symbol291_252(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 84
//Symbol292_254 (WarriorRobotBuilder_fla.Symbol292_254)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol292_254 extends MovieClip {
public function Symbol292_254(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 85
//Symbol293_256 (WarriorRobotBuilder_fla.Symbol293_256)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol293_256 extends MovieClip {
public function Symbol293_256(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 86
//Symbol294_96 (WarriorRobotBuilder_fla.Symbol294_96)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol294_96 extends MovieClip {
public function Symbol294_96(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 87
//Symbol295_98 (WarriorRobotBuilder_fla.Symbol295_98)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol295_98 extends MovieClip {
public function Symbol295_98(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 88
//Symbol296_100 (WarriorRobotBuilder_fla.Symbol296_100)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol296_100 extends MovieClip {
public function Symbol296_100(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 89
//Symbol297_102 (WarriorRobotBuilder_fla.Symbol297_102)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol297_102 extends MovieClip {
public function Symbol297_102(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 90
//Symbol298_104 (WarriorRobotBuilder_fla.Symbol298_104)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol298_104 extends MovieClip {
public function Symbol298_104(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 91
//Symbol299_106 (WarriorRobotBuilder_fla.Symbol299_106)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol299_106 extends MovieClip {
public function Symbol299_106(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 92
//Symbol3_284 (WarriorRobotBuilder_fla.Symbol3_284)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol3_284 extends MovieClip {
public var facetop10_mc:MovieClip;
public var facetop11_mc:MovieClip;
public var facetop8_mc:MovieClip;
public var facetop9_mc:MovieClip;
public var facetop4_mc:MovieClip;
public var facetop5_mc:MovieClip;
public var facetop6_mc:MovieClip;
public var facetop7_mc:MovieClip;
public var facetop1_mc:SimpleButton;
public var facetop2_mc:MovieClip;
public var facetop3_mc:MovieClip;
public function Symbol3_284(){
addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function frame1(){
stop();
}
function frame3(){
facetop2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval29.play();
};
}
function frame4(){
facetop3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval27.play();
};
}
function frame5(){
facetop4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval30.play();
};
}
function frame6(){
facetop5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval28.play();
};
}
function frame7(){
facetop6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval31.play();
};
}
function frame8(){
facetop7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval30.play();
};
}
function frame9(){
facetop8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval29.play();
};
}
function frame10(){
facetop9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval31.play();
};
}
function frame11(){
facetop10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval27.play();
};
}
function frame12(){
facetop11_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval28.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 93
//Symbol300_108 (WarriorRobotBuilder_fla.Symbol300_108)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol300_108 extends MovieClip {
public function Symbol300_108(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 94
//Symbol301_110 (WarriorRobotBuilder_fla.Symbol301_110)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol301_110 extends MovieClip {
public function Symbol301_110(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 95
//Symbol302_112 (WarriorRobotBuilder_fla.Symbol302_112)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol302_112 extends MovieClip {
public function Symbol302_112(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 96
//Symbol303_114 (WarriorRobotBuilder_fla.Symbol303_114)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol303_114 extends MovieClip {
public function Symbol303_114(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 97
//Symbol304_180 (WarriorRobotBuilder_fla.Symbol304_180)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol304_180 extends MovieClip {
public function Symbol304_180(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 98
//Symbol305_182 (WarriorRobotBuilder_fla.Symbol305_182)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol305_182 extends MovieClip {
public function Symbol305_182(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 99
//Symbol306_184 (WarriorRobotBuilder_fla.Symbol306_184)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol306_184 extends MovieClip {
public function Symbol306_184(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 100
//Symbol307_187 (WarriorRobotBuilder_fla.Symbol307_187)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol307_187 extends MovieClip {
public function Symbol307_187(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 101
//Symbol308_189 (WarriorRobotBuilder_fla.Symbol308_189)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol308_189 extends MovieClip {
public function Symbol308_189(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 102
//Symbol309_191 (WarriorRobotBuilder_fla.Symbol309_191)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol309_191 extends MovieClip {
public function Symbol309_191(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 103
//Symbol310_193 (WarriorRobotBuilder_fla.Symbol310_193)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol310_193 extends MovieClip {
public function Symbol310_193(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 104
//Symbol311_195 (WarriorRobotBuilder_fla.Symbol311_195)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol311_195 extends MovieClip {
public function Symbol311_195(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 105
//Symbol312_197 (WarriorRobotBuilder_fla.Symbol312_197)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol312_197 extends MovieClip {
public function Symbol312_197(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 106
//Symbol313_199 (WarriorRobotBuilder_fla.Symbol313_199)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol313_199 extends MovieClip {
public function Symbol313_199(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 107
//Symbol314_154 (WarriorRobotBuilder_fla.Symbol314_154)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol314_154 extends MovieClip {
public function Symbol314_154(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 108
//Symbol315_156 (WarriorRobotBuilder_fla.Symbol315_156)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol315_156 extends MovieClip {
public function Symbol315_156(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 109
//Symbol316_158 (WarriorRobotBuilder_fla.Symbol316_158)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol316_158 extends MovieClip {
public function Symbol316_158(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 110
//Symbol317_160 (WarriorRobotBuilder_fla.Symbol317_160)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol317_160 extends MovieClip {
public function Symbol317_160(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 111
//Symbol318_164 (WarriorRobotBuilder_fla.Symbol318_164)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol318_164 extends MovieClip {
public function Symbol318_164(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 112
//Symbol319_166 (WarriorRobotBuilder_fla.Symbol319_166)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol319_166 extends MovieClip {
public function Symbol319_166(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 113
//Symbol320_170 (WarriorRobotBuilder_fla.Symbol320_170)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol320_170 extends MovieClip {
public function Symbol320_170(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 114
//Symbol321_172 (WarriorRobotBuilder_fla.Symbol321_172)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol321_172 extends MovieClip {
public function Symbol321_172(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 115
//Symbol322_174 (WarriorRobotBuilder_fla.Symbol322_174)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol322_174 extends MovieClip {
public function Symbol322_174(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 116
//Symbol323_176 (WarriorRobotBuilder_fla.Symbol323_176)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol323_176 extends MovieClip {
public function Symbol323_176(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 117
//Symbol55_119 (WarriorRobotBuilder_fla.Symbol55_119)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol55_119 extends MovieClip {
public function Symbol55_119(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 118
//Symbol57_123 (WarriorRobotBuilder_fla.Symbol57_123)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol57_123 extends MovieClip {
public function Symbol57_123(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 119
//Symbol58copy_44 (WarriorRobotBuilder_fla.Symbol58copy_44)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol58copy_44 extends MovieClip {
public function Symbol58copy_44(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 120
//Symbol59_40 (WarriorRobotBuilder_fla.Symbol59_40)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol59_40 extends MovieClip {
public function Symbol59_40(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 121
//Symbol6_313 (WarriorRobotBuilder_fla.Symbol6_313)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol6_313 extends MovieClip {
public var face2_mc:MovieClip;
public var face10_mc:MovieClip;
public var face3_mc:MovieClip;
public var face11_mc:MovieClip;
public var face1_mc:SimpleButton;
public var face6_mc:MovieClip;
public var face7_mc:MovieClip;
public var face4_mc:MovieClip;
public var face5_mc:MovieClip;
public var face8_mc:MovieClip;
public var face9_mc:MovieClip;
public function Symbol6_313(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame1(){
stop();
}
function frame2(){
face2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval.play();
};
}
function frame3(){
face3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval2.play();
};
}
function frame4(){
face4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval1.play();
};
}
function frame5(){
face5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval4.play();
};
}
function frame6(){
face6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval3.play();
};
}
function frame7(){
face7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval1.play();
};
}
function frame8(){
face8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval4.play();
};
}
function frame9(){
face9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval.play();
};
}
function frame10(){
face10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval3.play();
};
}
function frame11(){
face11_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval2.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 122
//Symbol71_126 (WarriorRobotBuilder_fla.Symbol71_126)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol71_126 extends MovieClip {
public function Symbol71_126(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 123
//Symbol8_47 (WarriorRobotBuilder_fla.Symbol8_47)
package WarriorRobotBuilder_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.system.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Symbol8_47 extends MovieClip {
public var backfly9_mc:MovieClip;
public var backfly4_mc:MovieClip;
public var backfly5_mc:MovieClip;
public var backfly6_mc:MovieClip;
public var backfly7_mc:MovieClip;
public var backfly1_mc:SimpleButton;
public var backfly2_mc:MovieClip;
public var backfly3_mc:MovieClip;
public var backfly11_mc:MovieClip;
public var backfly10_mc:MovieClip;
public var backfly8_mc:MovieClip;
public function Symbol8_47(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame1(){
stop();
}
function frame2(){
backfly2_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval22.play();
};
}
function frame3(){
backfly3_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval24.play();
};
}
function frame4(){
backfly4_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval23.play();
};
}
function frame5(){
backfly5_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval26.play();
};
}
function frame6(){
backfly6_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval22.play();
};
}
function frame7(){
backfly7_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval23.play();
};
}
function frame8(){
backfly8_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval22.play();
};
}
function frame9(){
backfly9_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval25.play();
};
}
function frame10(){
backfly10_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval24.play();
};
}
function frame11(){
backfly11_mc.mouseChildren = false;
if (Object(root).soundstatus == false){
Object(root).sndtrackvalChannel = Object(root).sndtrackval26.play();
};
}
}
}//package WarriorRobotBuilder_fla
Section 124
//Symbol80_128 (WarriorRobotBuilder_fla.Symbol80_128)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol80_128 extends MovieClip {
public function Symbol80_128(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 125
//Symbol92_41 (WarriorRobotBuilder_fla.Symbol92_41)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol92_41 extends MovieClip {
public function Symbol92_41(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 126
//Symbol92copy_8 (WarriorRobotBuilder_fla.Symbol92copy_8)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol92copy_8 extends MovieClip {
public function Symbol92copy_8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 127
//Symbol93_341 (WarriorRobotBuilder_fla.Symbol93_341)
package WarriorRobotBuilder_fla {
import flash.display.*;
public dynamic class Symbol93_341 extends MovieClip {
public function Symbol93_341(){
addFrameScript(0, frame1, 15, frame16);
}
function frame1(){
stop();
}
function frame16(){
stop();
}
}
}//package WarriorRobotBuilder_fla
Section 128
//bg (bg)
package {
import flash.media.*;
public dynamic class bg extends Sound {
}
}//package
Section 129
//MochiBot (MochiBot)
package {
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
Section 130
//sndtrack1 (sndtrack1)
package {
import flash.media.*;
public dynamic class sndtrack1 extends Sound {
}
}//package
Section 131
//sndtrack10 (sndtrack10)
package {
import flash.media.*;
public dynamic class sndtrack10 extends Sound {
}
}//package
Section 132
//sndtrack11 (sndtrack11)
package {
import flash.media.*;
public dynamic class sndtrack11 extends Sound {
}
}//package
Section 133
//sndtrack12 (sndtrack12)
package {
import flash.media.*;
public dynamic class sndtrack12 extends Sound {
}
}//package
Section 134
//sndtrack13 (sndtrack13)
package {
import flash.media.*;
public dynamic class sndtrack13 extends Sound {
}
}//package
Section 135
//sndtrack14 (sndtrack14)
package {
import flash.media.*;
public dynamic class sndtrack14 extends Sound {
}
}//package
Section 136
//sndtrack15 (sndtrack15)
package {
import flash.media.*;
public dynamic class sndtrack15 extends Sound {
}
}//package
Section 137
//sndtrack16 (sndtrack16)
package {
import flash.media.*;
public dynamic class sndtrack16 extends Sound {
}
}//package
Section 138
//sndtrack17 (sndtrack17)
package {
import flash.media.*;
public dynamic class sndtrack17 extends Sound {
}
}//package
Section 139
//sndtrack18 (sndtrack18)
package {
import flash.media.*;
public dynamic class sndtrack18 extends Sound {
}
}//package
Section 140
//sndtrack19 (sndtrack19)
package {
import flash.media.*;
public dynamic class sndtrack19 extends Sound {
}
}//package
Section 141
//sndtrack2 (sndtrack2)
package {
import flash.media.*;
public dynamic class sndtrack2 extends Sound {
}
}//package
Section 142
//sndtrack20 (sndtrack20)
package {
import flash.media.*;
public dynamic class sndtrack20 extends Sound {
}
}//package
Section 143
//sndtrack21 (sndtrack21)
package {
import flash.media.*;
public dynamic class sndtrack21 extends Sound {
}
}//package
Section 144
//sndtrack22 (sndtrack22)
package {
import flash.media.*;
public dynamic class sndtrack22 extends Sound {
}
}//package
Section 145
//sndtrack23 (sndtrack23)
package {
import flash.media.*;
public dynamic class sndtrack23 extends Sound {
}
}//package
Section 146
//sndtrack24 (sndtrack24)
package {
import flash.media.*;
public dynamic class sndtrack24 extends Sound {
}
}//package
Section 147
//sndtrack25 (sndtrack25)
package {
import flash.media.*;
public dynamic class sndtrack25 extends Sound {
}
}//package
Section 148
//sndtrack26 (sndtrack26)
package {
import flash.media.*;
public dynamic class sndtrack26 extends Sound {
}
}//package
Section 149
//sndtrack27 (sndtrack27)
package {
import flash.media.*;
public dynamic class sndtrack27 extends Sound {
}
}//package
Section 150
//sndtrack28 (sndtrack28)
package {
import flash.media.*;
public dynamic class sndtrack28 extends Sound {
}
}//package
Section 151
//sndtrack29 (sndtrack29)
package {
import flash.media.*;
public dynamic class sndtrack29 extends Sound {
}
}//package
Section 152
//sndtrack3 (sndtrack3)
package {
import flash.media.*;
public dynamic class sndtrack3 extends Sound {
}
}//package
Section 153
//sndtrack30 (sndtrack30)
package {
import flash.media.*;
public dynamic class sndtrack30 extends Sound {
}
}//package
Section 154
//sndtrack31 (sndtrack31)
package {
import flash.media.*;
public dynamic class sndtrack31 extends Sound {
}
}//package
Section 155
//sndtrack32 (sndtrack32)
package {
import flash.media.*;
public dynamic class sndtrack32 extends Sound {
}
}//package
Section 156
//sndtrack4 (sndtrack4)
package {
import flash.media.*;
public dynamic class sndtrack4 extends Sound {
}
}//package
Section 157
//sndtrack5 (sndtrack5)
package {
import flash.media.*;
public dynamic class sndtrack5 extends Sound {
}
}//package
Section 158
//sndtrack6 (sndtrack6)
package {
import flash.media.*;
public dynamic class sndtrack6 extends Sound {
}
}//package
Section 159
//sndtrack7 (sndtrack7)
package {
import flash.media.*;
public dynamic class sndtrack7 extends Sound {
}
}//package
Section 160
//sndtrack8 (sndtrack8)
package {
import flash.media.*;
public dynamic class sndtrack8 extends Sound {
}
}//package
Section 161
//sndtrack9 (sndtrack9)
package {
import flash.media.*;
public dynamic class sndtrack9 extends Sound {
}
}//package