Section 1
//dgfhgfh_130 (CustomSportsCar_fla.dgfhgfh_130)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class dgfhgfh_130 extends MovieClip {
public function dgfhgfh_130(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 2
//dsaddasdasd_346 (CustomSportsCar_fla.dsaddasdasd_346)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class dsaddasdasd_346 extends MovieClip {
public var i1_mc:MovieClip;
public var i6_mc:MovieClip;
public var i7_mc:MovieClip;
public var i4_mc:MovieClip;
public var i5_mc:MovieClip;
public var i8_mc:MovieClip;
public var i9_mc:MovieClip;
public var i10_mc:MovieClip;
public var i2_mc:MovieClip;
public var i3_mc:MovieClip;
public function dsaddasdasd_346(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 3
//ewrewrewr_114 (CustomSportsCar_fla.ewrewrewr_114)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class ewrewrewr_114 extends MovieClip {
public function ewrewrewr_114(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 4
//fdsfsdfsdf_116 (CustomSportsCar_fla.fdsfsdfsdf_116)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class fdsfsdfsdf_116 extends MovieClip {
public function fdsfsdfsdf_116(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 5
//fgdgdfg_204 (CustomSportsCar_fla.fgdgdfg_204)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class fgdgdfg_204 extends MovieClip {
public var i1_mc:MovieClip;
public var i6_mc:MovieClip;
public var i7_mc:MovieClip;
public var i4_mc:MovieClip;
public var i5_mc:MovieClip;
public var i8_mc:MovieClip;
public var i9_mc:MovieClip;
public var i10_mc:MovieClip;
public var i2_mc:MovieClip;
public var i3_mc:MovieClip;
public function fgdgdfg_204(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 6
//fghgfhfgh_269 (CustomSportsCar_fla.fghgfhfgh_269)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class fghgfhfgh_269 extends MovieClip {
public function fghgfhfgh_269(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 7
//fsdfsdfds_124 (CustomSportsCar_fla.fsdfsdfds_124)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class fsdfsdfds_124 extends MovieClip {
public function fsdfsdfds_124(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 8
//MainTimeline (CustomSportsCar_fla.MainTimeline)
package CustomSportsCar_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 spl_mc:MovieClip;
public var car_mc:MovieClip;
public var menu1_mc:MovieClip;
public var moregame_btn:SimpleButton;
public var item12_btn:SimpleButton;
public var textbox:TextField;
public var snd_mc:MovieClip;
public var playgame_btn:SimpleButton;
public var menu_mc:MovieClip;
public var FupaBar:MovieClip;
public var bg_mc:MovieClip;
public var next_btn:SimpleButton;
public var AD_ID:String;
public var bgsound:bg;
public var bgChannel:SoundChannel;
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 btn1sound:btn1;
public var btn1Channel:SoundChannel;
public var fmm01_menu:ContextMenu;
public var item:ContextMenuItem;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function start():void{
FupaBar.mouseChildren = true;
FupaBar.mouseEnabled = true;
bgChannel = bgsound.play(0, 1000);
}
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"] = "Custom Sports Car 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 music(_arg1:MouseEvent){
if ((((_arg1.target.name == "snd1_mc")) && ((snd_mc.currentFrame == 1)))){
bgChannel.stop();
snd_mc.gotoAndStop(2);
} else {
if ((((_arg1.target.name == "snd1_mc")) && ((snd_mc.currentFrame == 2)))){
bgChannel = bgsound.play(0, 7000);
snd_mc.gotoAndStop(1);
};
};
}
public function sndbtn(_arg1:MouseEvent){
if (snd_mc.currentFrame == 1){
btn1Channel = btn1sound.play();
};
}
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 playgame(_arg1:MouseEvent){
gotoAndStop(2);
}
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 mousepress(_arg1:MouseEvent){
trace(_arg1.target.name);
if (_arg1.target.name == "next_btn"){
spl_mc.gotoAndPlay(2);
car_mc.x = 350;
car_mc.y = 400;
menu1_mc.visible = true;
menu_mc.visible = false;
next_btn.visible = false;
bg_mc.gotoAndStop(2);
};
if (_arg1.target.name == "bg1_btn"){
if (bg_mc.currentFrame != 2){
spl_mc.gotoAndPlay(2);
};
bg_mc.gotoAndStop(2);
};
if (_arg1.target.name == "bg2_btn"){
if (bg_mc.currentFrame != 3){
spl_mc.gotoAndPlay(2);
};
bg_mc.gotoAndStop(3);
};
if (_arg1.target.name == "bg3_btn"){
if (bg_mc.currentFrame != 4){
spl_mc.gotoAndPlay(2);
};
bg_mc.gotoAndStop(4);
};
if (_arg1.target.name == "design_btn"){
spl_mc.gotoAndPlay(2);
car_mc.x = 350;
car_mc.y = 300;
menu1_mc.visible = false;
menu_mc.visible = true;
next_btn.visible = true;
bg_mc.gotoAndStop(1);
};
if (_arg1.target.name == "item1_btn"){
if (car_mc.item01_mc.currentFrame == 10){
car_mc.item01_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.nextFrame();
};
};
if (_arg1.target.name == "c1_btn"){
if (car_mc.item01_mc.currentFrame == 1){
if (car_mc.item01_mc.i1_mc.currentFrame == 20){
car_mc.item01_mc.i1_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i1_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 2){
if (car_mc.item01_mc.i2_mc.currentFrame == 20){
car_mc.item01_mc.i2_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i2_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 3){
if (car_mc.item01_mc.i3_mc.currentFrame == 20){
car_mc.item01_mc.i3_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i3_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 4){
if (car_mc.item01_mc.i4_mc.currentFrame == 20){
car_mc.item01_mc.i4_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i4_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 5){
if (car_mc.item01_mc.i5_mc.currentFrame == 20){
car_mc.item01_mc.i5_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i5_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 6){
if (car_mc.item01_mc.i6_mc.currentFrame == 20){
car_mc.item01_mc.i6_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i6_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 7){
if (car_mc.item01_mc.i7_mc.currentFrame == 20){
car_mc.item01_mc.i7_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i7_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 8){
if (car_mc.item01_mc.i8_mc.currentFrame == 20){
car_mc.item01_mc.i8_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i8_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 9){
if (car_mc.item01_mc.i9_mc.currentFrame == 20){
car_mc.item01_mc.i9_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i9_mc.nextFrame();
};
};
if (car_mc.item01_mc.currentFrame == 10){
if (car_mc.item01_mc.i10_mc.currentFrame == 20){
car_mc.item01_mc.i10_mc.gotoAndStop(1);
} else {
car_mc.item01_mc.i10_mc.nextFrame();
};
};
};
if (_arg1.target.name == "item2_btn"){
if (car_mc.item02_mc.currentFrame == 10){
car_mc.item02_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.nextFrame();
};
};
if (_arg1.target.name == "c2_btn"){
if (car_mc.item02_mc.currentFrame == 1){
if (car_mc.item02_mc.i1_mc.currentFrame == 20){
car_mc.item02_mc.i1_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i1_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 2){
if (car_mc.item02_mc.i2_mc.currentFrame == 20){
car_mc.item02_mc.i2_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i2_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 3){
if (car_mc.item02_mc.i3_mc.currentFrame == 20){
car_mc.item02_mc.i3_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i3_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 4){
if (car_mc.item02_mc.i4_mc.currentFrame == 20){
car_mc.item02_mc.i4_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i4_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 5){
if (car_mc.item02_mc.i5_mc.currentFrame == 20){
car_mc.item02_mc.i5_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i5_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 6){
if (car_mc.item02_mc.i6_mc.currentFrame == 20){
car_mc.item02_mc.i6_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i6_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 7){
if (car_mc.item02_mc.i7_mc.currentFrame == 20){
car_mc.item02_mc.i7_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i7_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 8){
if (car_mc.item02_mc.i8_mc.currentFrame == 20){
car_mc.item02_mc.i8_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i8_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 9){
if (car_mc.item02_mc.i9_mc.currentFrame == 20){
car_mc.item02_mc.i9_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i9_mc.nextFrame();
};
};
if (car_mc.item02_mc.currentFrame == 10){
if (car_mc.item02_mc.i10_mc.currentFrame == 20){
car_mc.item02_mc.i10_mc.gotoAndStop(1);
} else {
car_mc.item02_mc.i10_mc.nextFrame();
};
};
};
if (_arg1.target.name == "item3_btn"){
if (car_mc.item03_mc.currentFrame == 10){
car_mc.item03_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.nextFrame();
};
};
if (_arg1.target.name == "c3_btn"){
if (car_mc.item03_mc.currentFrame == 1){
if (car_mc.item03_mc.i1_mc.currentFrame == 20){
car_mc.item03_mc.i1_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i1_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 2){
if (car_mc.item03_mc.i2_mc.currentFrame == 20){
car_mc.item03_mc.i2_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i2_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 3){
if (car_mc.item03_mc.i3_mc.currentFrame == 20){
car_mc.item03_mc.i3_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i3_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 4){
if (car_mc.item03_mc.i4_mc.currentFrame == 20){
car_mc.item03_mc.i4_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i4_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 5){
if (car_mc.item03_mc.i5_mc.currentFrame == 20){
car_mc.item03_mc.i5_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i5_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 6){
if (car_mc.item03_mc.i6_mc.currentFrame == 20){
car_mc.item03_mc.i6_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i6_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 7){
if (car_mc.item03_mc.i7_mc.currentFrame == 20){
car_mc.item03_mc.i7_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i7_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 8){
if (car_mc.item03_mc.i8_mc.currentFrame == 20){
car_mc.item03_mc.i8_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i8_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 9){
if (car_mc.item03_mc.i9_mc.currentFrame == 20){
car_mc.item03_mc.i9_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i9_mc.nextFrame();
};
};
if (car_mc.item03_mc.currentFrame == 10){
if (car_mc.item03_mc.i10_mc.currentFrame == 20){
car_mc.item03_mc.i10_mc.gotoAndStop(1);
} else {
car_mc.item03_mc.i10_mc.nextFrame();
};
};
};
if (_arg1.target.name == "item4_btn"){
if (car_mc.item04_mc.currentFrame == 10){
car_mc.item04_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.nextFrame();
};
};
if (_arg1.target.name == "c4_btn"){
if (car_mc.item04_mc.currentFrame == 1){
if (car_mc.item04_mc.i1_mc.currentFrame == 20){
car_mc.item04_mc.i1_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i1_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 2){
if (car_mc.item04_mc.i2_mc.currentFrame == 20){
car_mc.item04_mc.i2_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i2_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 3){
if (car_mc.item04_mc.i3_mc.currentFrame == 20){
car_mc.item04_mc.i3_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i3_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 4){
if (car_mc.item04_mc.i4_mc.currentFrame == 20){
car_mc.item04_mc.i4_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i4_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 5){
if (car_mc.item04_mc.i5_mc.currentFrame == 20){
car_mc.item04_mc.i5_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i5_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 6){
if (car_mc.item04_mc.i6_mc.currentFrame == 20){
car_mc.item04_mc.i6_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i6_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 7){
if (car_mc.item04_mc.i7_mc.currentFrame == 20){
car_mc.item04_mc.i7_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i7_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 8){
if (car_mc.item04_mc.i8_mc.currentFrame == 20){
car_mc.item04_mc.i8_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i8_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 9){
if (car_mc.item04_mc.i9_mc.currentFrame == 20){
car_mc.item04_mc.i9_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i9_mc.nextFrame();
};
};
if (car_mc.item04_mc.currentFrame == 10){
if (car_mc.item04_mc.i10_mc.currentFrame == 20){
car_mc.item04_mc.i10_mc.gotoAndStop(1);
} else {
car_mc.item04_mc.i10_mc.nextFrame();
};
};
};
if (_arg1.target.name == "item5_btn"){
if (car_mc.item05_mc.currentFrame == 10){
car_mc.item05_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.nextFrame();
};
};
if (_arg1.target.name == "c5_btn"){
if (car_mc.item05_mc.currentFrame == 1){
if (car_mc.item05_mc.i1_mc.currentFrame == 20){
car_mc.item05_mc.i1_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i1_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 2){
if (car_mc.item05_mc.i2_mc.currentFrame == 20){
car_mc.item05_mc.i2_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i2_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 3){
if (car_mc.item05_mc.i3_mc.currentFrame == 20){
car_mc.item05_mc.i3_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i3_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 4){
if (car_mc.item05_mc.i4_mc.currentFrame == 20){
car_mc.item05_mc.i4_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i4_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 5){
if (car_mc.item05_mc.i5_mc.currentFrame == 20){
car_mc.item05_mc.i5_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i5_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 6){
if (car_mc.item05_mc.i6_mc.currentFrame == 20){
car_mc.item05_mc.i6_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i6_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 7){
if (car_mc.item05_mc.i7_mc.currentFrame == 20){
car_mc.item05_mc.i7_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i7_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 8){
if (car_mc.item05_mc.i8_mc.currentFrame == 20){
car_mc.item05_mc.i8_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i8_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 9){
if (car_mc.item05_mc.i9_mc.currentFrame == 20){
car_mc.item05_mc.i9_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i9_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 10){
if (car_mc.item05_mc.i10_mc.currentFrame == 20){
car_mc.item05_mc.i10_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i10_mc.nextFrame();
};
};
};
if (_arg1.target.name == "item6_btn"){
if (car_mc.item06_mc.currentFrame == 10){
car_mc.item06_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.nextFrame();
};
};
if (_arg1.target.name == "c6_btn"){
if (car_mc.item06_mc.currentFrame == 1){
if (car_mc.item06_mc.i1_mc.currentFrame == 20){
car_mc.item06_mc.i1_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i1_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 2){
if (car_mc.item06_mc.i2_mc.currentFrame == 20){
car_mc.item06_mc.i2_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i2_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 3){
if (car_mc.item06_mc.i3_mc.currentFrame == 20){
car_mc.item06_mc.i3_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i3_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 4){
if (car_mc.item06_mc.i4_mc.currentFrame == 20){
car_mc.item06_mc.i4_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i4_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 5){
if (car_mc.item06_mc.i5_mc.currentFrame == 20){
car_mc.item06_mc.i5_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i5_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 6){
if (car_mc.item06_mc.i6_mc.currentFrame == 20){
car_mc.item06_mc.i6_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i6_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 7){
if (car_mc.item06_mc.i7_mc.currentFrame == 20){
car_mc.item06_mc.i7_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i7_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 8){
if (car_mc.item06_mc.i8_mc.currentFrame == 20){
car_mc.item06_mc.i8_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i8_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 9){
if (car_mc.item06_mc.i9_mc.currentFrame == 20){
car_mc.item06_mc.i9_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i9_mc.nextFrame();
};
};
if (car_mc.item06_mc.currentFrame == 10){
if (car_mc.item06_mc.i10_mc.currentFrame == 20){
car_mc.item06_mc.i10_mc.gotoAndStop(1);
} else {
car_mc.item06_mc.i10_mc.nextFrame();
};
};
};
if (_arg1.target.name == "item7_btn"){
if (car_mc.item07_mc.currentFrame == 10){
car_mc.item07_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.nextFrame();
};
};
if (_arg1.target.name == "c7_btn"){
if (car_mc.item07_mc.currentFrame == 1){
if (car_mc.item07_mc.i1_mc.currentFrame == 20){
car_mc.item07_mc.i1_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i1_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 2){
if (car_mc.item07_mc.i2_mc.currentFrame == 20){
car_mc.item07_mc.i2_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i2_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 3){
if (car_mc.item07_mc.i3_mc.currentFrame == 20){
car_mc.item07_mc.i3_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i3_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 4){
if (car_mc.item07_mc.i4_mc.currentFrame == 20){
car_mc.item07_mc.i4_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i4_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 5){
if (car_mc.item07_mc.i5_mc.currentFrame == 20){
car_mc.item07_mc.i5_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i5_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 6){
if (car_mc.item07_mc.i6_mc.currentFrame == 20){
car_mc.item07_mc.i6_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i6_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 7){
if (car_mc.item07_mc.i7_mc.currentFrame == 20){
car_mc.item07_mc.i7_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i7_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 8){
if (car_mc.item07_mc.i8_mc.currentFrame == 20){
car_mc.item07_mc.i8_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i8_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 9){
if (car_mc.item07_mc.i9_mc.currentFrame == 20){
car_mc.item07_mc.i9_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i9_mc.nextFrame();
};
};
if (car_mc.item07_mc.currentFrame == 10){
if (car_mc.item07_mc.i10_mc.currentFrame == 20){
car_mc.item07_mc.i10_mc.gotoAndStop(1);
} else {
car_mc.item07_mc.i10_mc.nextFrame();
};
};
};
if (_arg1.target.name == "c8_btn"){
if (car_mc.item05_mc.currentFrame == 1){
if (car_mc.item05_mc.i01_mc.currentFrame == 20){
car_mc.item05_mc.i01_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i01_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 2){
if (car_mc.item05_mc.i02_mc.currentFrame == 20){
car_mc.item05_mc.i02_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i02_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 3){
if (car_mc.item05_mc.i03_mc.currentFrame == 20){
car_mc.item05_mc.i03_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i03_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 4){
if (car_mc.item05_mc.i04_mc.currentFrame == 20){
car_mc.item05_mc.i04_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i04_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 5){
if (car_mc.item05_mc.i05_mc.currentFrame == 20){
car_mc.item05_mc.i05_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i05_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 6){
if (car_mc.item05_mc.i06_mc.currentFrame == 20){
car_mc.item05_mc.i06_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i06_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 7){
if (car_mc.item05_mc.i07_mc.currentFrame == 20){
car_mc.item05_mc.i07_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i07_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 8){
if (car_mc.item05_mc.i08_mc.currentFrame == 20){
car_mc.item05_mc.i08_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i08_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 9){
if (car_mc.item05_mc.i09_mc.currentFrame == 20){
car_mc.item05_mc.i09_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i09_mc.nextFrame();
};
};
if (car_mc.item05_mc.currentFrame == 10){
if (car_mc.item05_mc.i010_mc.currentFrame == 20){
car_mc.item05_mc.i010_mc.gotoAndStop(1);
} else {
car_mc.item05_mc.i010_mc.nextFrame();
};
};
};
if (_arg1.target.name == "item9_btn"){
if (car_mc.item09_mc.currentFrame == 10){
car_mc.item09_mc.gotoAndStop(1);
} else {
car_mc.item09_mc.nextFrame();
};
};
if (_arg1.target.name == "item10_btn"){
if (car_mc.item010_mc.currentFrame == 10){
car_mc.item010_mc.gotoAndStop(1);
} else {
car_mc.item010_mc.nextFrame();
};
};
if (_arg1.target.name == "item11_btn"){
if (car_mc.item011_mc.currentFrame == 10){
car_mc.item011_mc.gotoAndStop(1);
} else {
car_mc.item011_mc.nextFrame();
};
};
}
function frame1(){
AD_ID = "bfa9e2e0570d9343";
MochiAd.showPreGameAd({id:AD_ID, clip:root, ad_finished:start, res:"800x600"});
bgsound = new bg();
bgChannel = new SoundChannel();
MochiBot.track(this, "f9397fad");
stop();
swfname = "customsportscar.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);
snd_mc.buttonMode = true;
addEventListener(MouseEvent.MOUSE_DOWN, music);
btn1sound = new btn1();
btn1Channel = new SoundChannel();
playgame_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
moregame_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
stop();
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);
playgame_btn.addEventListener(MouseEvent.CLICK, playgame);
moregame_btn.addEventListener(MouseEvent.CLICK, moregame);
}
function frame2(){
stop();
menu1_mc.visible = false;
moregame_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
next_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu1_mc.bg1_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu1_mc.bg2_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu1_mc.bg3_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu1_mc.design_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item1_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item2_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item3_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item4_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item5_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item6_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item7_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item9_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item10_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.item11_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.c1_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.c2_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.c3_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.c4_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.c5_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.c6_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.c7_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
menu_mc.c8_btn.addEventListener(MouseEvent.ROLL_OVER, sndbtn);
moregame_btn.addEventListener(MouseEvent.CLICK, moregame);
stage.addEventListener(MouseEvent.CLICK, mousepress);
}
}
}//package CustomSportsCar_fla
Section 9
//rewrer_317 (CustomSportsCar_fla.rewrer_317)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class rewrer_317 extends MovieClip {
public var i1_mc:MovieClip;
public var i6_mc:MovieClip;
public var i7_mc:MovieClip;
public var i4_mc:MovieClip;
public var i5_mc:MovieClip;
public var i8_mc:MovieClip;
public var i9_mc:MovieClip;
public var i10_mc:MovieClip;
public var i2_mc:MovieClip;
public var i3_mc:MovieClip;
public function rewrer_317(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 10
//rewrwer_367 (CustomSportsCar_fla.rewrwer_367)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class rewrwer_367 extends MovieClip {
public function rewrwer_367(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 11
//rgdfgdfg_183 (CustomSportsCar_fla.rgdfgdfg_183)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class rgdfgdfg_183 extends MovieClip {
public var i1_mc:MovieClip;
public var i6_mc:MovieClip;
public var i7_mc:MovieClip;
public var i4_mc:MovieClip;
public var i5_mc:MovieClip;
public var i8_mc:MovieClip;
public var i9_mc:MovieClip;
public var i10_mc:MovieClip;
public var i2_mc:MovieClip;
public var i3_mc:MovieClip;
public function rgdfgdfg_183(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 12
//rtetert_111 (CustomSportsCar_fla.rtetert_111)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class rtetert_111 extends MovieClip {
public var i05_mc:MovieClip;
public var i1_mc:MovieClip;
public var i6_mc:MovieClip;
public var i7_mc:MovieClip;
public var i08_mc:MovieClip;
public var i4_mc:MovieClip;
public var i09_mc:MovieClip;
public var i5_mc:MovieClip;
public var i8_mc:MovieClip;
public var i9_mc:MovieClip;
public var i02_mc:MovieClip;
public var i10_mc:MovieClip;
public var i03_mc:MovieClip;
public var i01_mc:MovieClip;
public var i06_mc:MovieClip;
public var i07_mc:MovieClip;
public var i2_mc:MovieClip;
public var i010_mc:MovieClip;
public var i04_mc:MovieClip;
public var i3_mc:MovieClip;
public function rtetert_111(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 13
//Symbol1_112 (CustomSportsCar_fla.Symbol1_112)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol1_112 extends MovieClip {
public function Symbol1_112(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 14
//Symbol10_136 (CustomSportsCar_fla.Symbol10_136)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol10_136 extends MovieClip {
public function Symbol10_136(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 15
//Symbol11_134 (CustomSportsCar_fla.Symbol11_134)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol11_134 extends MovieClip {
public function Symbol11_134(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 16
//Symbol116_353 (CustomSportsCar_fla.Symbol116_353)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol116_353 extends MovieClip {
public function Symbol116_353(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 17
//Symbol117_355 (CustomSportsCar_fla.Symbol117_355)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol117_355 extends MovieClip {
public function Symbol117_355(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 18
//Symbol118_357 (CustomSportsCar_fla.Symbol118_357)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol118_357 extends MovieClip {
public function Symbol118_357(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 19
//Symbol119_359 (CustomSportsCar_fla.Symbol119_359)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol119_359 extends MovieClip {
public function Symbol119_359(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 20
//Symbol12_128 (CustomSportsCar_fla.Symbol12_128)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol12_128 extends MovieClip {
public function Symbol12_128(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 21
//Symbol120_361 (CustomSportsCar_fla.Symbol120_361)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol120_361 extends MovieClip {
public function Symbol120_361(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 22
//Symbol121_363 (CustomSportsCar_fla.Symbol121_363)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol121_363 extends MovieClip {
public function Symbol121_363(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 23
//Symbol122_365 (CustomSportsCar_fla.Symbol122_365)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol122_365 extends MovieClip {
public function Symbol122_365(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 24
//Symbol13_126 (CustomSportsCar_fla.Symbol13_126)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol13_126 extends MovieClip {
public function Symbol13_126(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 25
//Symbol132_271 (CustomSportsCar_fla.Symbol132_271)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol132_271 extends MovieClip {
public function Symbol132_271(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 26
//Symbol14_122 (CustomSportsCar_fla.Symbol14_122)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol14_122 extends MovieClip {
public function Symbol14_122(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 27
//Symbol15_120 (CustomSportsCar_fla.Symbol15_120)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol15_120 extends MovieClip {
public function Symbol15_120(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 28
//Symbol16_118 (CustomSportsCar_fla.Symbol16_118)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol16_118 extends MovieClip {
public function Symbol16_118(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 29
//Symbol17_184 (CustomSportsCar_fla.Symbol17_184)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol17_184 extends MovieClip {
public function Symbol17_184(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 30
//Symbol18_186 (CustomSportsCar_fla.Symbol18_186)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol18_186 extends MovieClip {
public function Symbol18_186(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 31
//Symbol184_370 (CustomSportsCar_fla.Symbol184_370)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol184_370 extends MovieClip {
public function Symbol184_370(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package CustomSportsCar_fla
Section 32
//Symbol19_188 (CustomSportsCar_fla.Symbol19_188)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol19_188 extends MovieClip {
public function Symbol19_188(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 33
//Symbol2_132 (CustomSportsCar_fla.Symbol2_132)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol2_132 extends MovieClip {
public function Symbol2_132(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 34
//Symbol20_190 (CustomSportsCar_fla.Symbol20_190)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol20_190 extends MovieClip {
public function Symbol20_190(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 35
//Symbol21_192 (CustomSportsCar_fla.Symbol21_192)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol21_192 extends MovieClip {
public function Symbol21_192(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 36
//Symbol22_194 (CustomSportsCar_fla.Symbol22_194)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol22_194 extends MovieClip {
public function Symbol22_194(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 37
//Symbol23_196 (CustomSportsCar_fla.Symbol23_196)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol23_196 extends MovieClip {
public function Symbol23_196(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 38
//Symbol24_198 (CustomSportsCar_fla.Symbol24_198)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol24_198 extends MovieClip {
public function Symbol24_198(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 39
//Symbol25_200 (CustomSportsCar_fla.Symbol25_200)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol25_200 extends MovieClip {
public function Symbol25_200(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 40
//Symbol26_202 (CustomSportsCar_fla.Symbol26_202)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol26_202 extends MovieClip {
public function Symbol26_202(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 41
//Symbol27_318 (CustomSportsCar_fla.Symbol27_318)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol27_318 extends MovieClip {
public function Symbol27_318(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 42
//Symbol28_319 (CustomSportsCar_fla.Symbol28_319)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol28_319 extends MovieClip {
public function Symbol28_319(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 43
//Symbol29_322 (CustomSportsCar_fla.Symbol29_322)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol29_322 extends MovieClip {
public function Symbol29_322(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 44
//Symbol3_140 (CustomSportsCar_fla.Symbol3_140)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol3_140 extends MovieClip {
public function Symbol3_140(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 45
//Symbol30_325 (CustomSportsCar_fla.Symbol30_325)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol30_325 extends MovieClip {
public function Symbol30_325(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 46
//Symbol31_328 (CustomSportsCar_fla.Symbol31_328)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol31_328 extends MovieClip {
public function Symbol31_328(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 47
//Symbol32_331 (CustomSportsCar_fla.Symbol32_331)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol32_331 extends MovieClip {
public function Symbol32_331(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 48
//Symbol33_334 (CustomSportsCar_fla.Symbol33_334)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol33_334 extends MovieClip {
public function Symbol33_334(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 49
//Symbol34_337 (CustomSportsCar_fla.Symbol34_337)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol34_337 extends MovieClip {
public function Symbol34_337(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 50
//Symbol35_340 (CustomSportsCar_fla.Symbol35_340)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol35_340 extends MovieClip {
public function Symbol35_340(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 51
//Symbol36_343 (CustomSportsCar_fla.Symbol36_343)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol36_343 extends MovieClip {
public function Symbol36_343(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 52
//Symbol37_153 (CustomSportsCar_fla.Symbol37_153)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol37_153 extends MovieClip {
public function Symbol37_153(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 53
//Symbol38_156 (CustomSportsCar_fla.Symbol38_156)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol38_156 extends MovieClip {
public function Symbol38_156(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 54
//Symbol39_159 (CustomSportsCar_fla.Symbol39_159)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol39_159 extends MovieClip {
public function Symbol39_159(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 55
//Symbol4_146 (CustomSportsCar_fla.Symbol4_146)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol4_146 extends MovieClip {
public function Symbol4_146(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 56
//Symbol40_162 (CustomSportsCar_fla.Symbol40_162)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol40_162 extends MovieClip {
public function Symbol40_162(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 57
//Symbol41_165 (CustomSportsCar_fla.Symbol41_165)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol41_165 extends MovieClip {
public function Symbol41_165(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 58
//Symbol42_168 (CustomSportsCar_fla.Symbol42_168)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol42_168 extends MovieClip {
public function Symbol42_168(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 59
//Symbol43_171 (CustomSportsCar_fla.Symbol43_171)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol43_171 extends MovieClip {
public function Symbol43_171(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 60
//Symbol44_174 (CustomSportsCar_fla.Symbol44_174)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol44_174 extends MovieClip {
public function Symbol44_174(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 61
//Symbol45_177 (CustomSportsCar_fla.Symbol45_177)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol45_177 extends MovieClip {
public function Symbol45_177(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 62
//Symbol46_180 (CustomSportsCar_fla.Symbol46_180)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol46_180 extends MovieClip {
public function Symbol46_180(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 63
//Symbol49_205 (CustomSportsCar_fla.Symbol49_205)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol49_205 extends MovieClip {
public function Symbol49_205(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 64
//Symbol5_150 (CustomSportsCar_fla.Symbol5_150)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol5_150 extends MovieClip {
public function Symbol5_150(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 65
//Symbol50_213 (CustomSportsCar_fla.Symbol50_213)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol50_213 extends MovieClip {
public function Symbol50_213(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 66
//Symbol51_217 (CustomSportsCar_fla.Symbol51_217)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol51_217 extends MovieClip {
public function Symbol51_217(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 67
//Symbol52_221 (CustomSportsCar_fla.Symbol52_221)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol52_221 extends MovieClip {
public function Symbol52_221(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 68
//Symbol53_229 (CustomSportsCar_fla.Symbol53_229)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol53_229 extends MovieClip {
public function Symbol53_229(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 69
//Symbol54_237 (CustomSportsCar_fla.Symbol54_237)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol54_237 extends MovieClip {
public function Symbol54_237(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 70
//Symbol55_243 (CustomSportsCar_fla.Symbol55_243)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol55_243 extends MovieClip {
public function Symbol55_243(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 71
//Symbol56_247 (CustomSportsCar_fla.Symbol56_247)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol56_247 extends MovieClip {
public function Symbol56_247(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 72
//Symbol57_257 (CustomSportsCar_fla.Symbol57_257)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol57_257 extends MovieClip {
public function Symbol57_257(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 73
//Symbol58_265 (CustomSportsCar_fla.Symbol58_265)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol58_265 extends MovieClip {
public function Symbol58_265(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 74
//Symbol59_270 (CustomSportsCar_fla.Symbol59_270)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol59_270 extends MovieClip {
public var i1_mc:MovieClip;
public var i6_mc:MovieClip;
public var i7_mc:MovieClip;
public var i4_mc:MovieClip;
public var i5_mc:MovieClip;
public var i8_mc:MovieClip;
public var i9_mc:MovieClip;
public var i10_mc:MovieClip;
public var i2_mc:MovieClip;
public var i3_mc:MovieClip;
public function Symbol59_270(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 75
//Symbol6_148 (CustomSportsCar_fla.Symbol6_148)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol6_148 extends MovieClip {
public function Symbol6_148(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 76
//Symbol61_277 (CustomSportsCar_fla.Symbol61_277)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol61_277 extends MovieClip {
public function Symbol61_277(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 77
//Symbol62_281 (CustomSportsCar_fla.Symbol62_281)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol62_281 extends MovieClip {
public function Symbol62_281(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 78
//Symbol63_285 (CustomSportsCar_fla.Symbol63_285)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol63_285 extends MovieClip {
public function Symbol63_285(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 79
//Symbol64_291 (CustomSportsCar_fla.Symbol64_291)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol64_291 extends MovieClip {
public function Symbol64_291(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 80
//Symbol65_295 (CustomSportsCar_fla.Symbol65_295)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol65_295 extends MovieClip {
public function Symbol65_295(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 81
//Symbol66_299 (CustomSportsCar_fla.Symbol66_299)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol66_299 extends MovieClip {
public function Symbol66_299(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 82
//Symbol67_303 (CustomSportsCar_fla.Symbol67_303)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol67_303 extends MovieClip {
public function Symbol67_303(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 83
//Symbol68_309 (CustomSportsCar_fla.Symbol68_309)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol68_309 extends MovieClip {
public function Symbol68_309(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 84
//Symbol69_313 (CustomSportsCar_fla.Symbol69_313)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol69_313 extends MovieClip {
public function Symbol69_313(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 85
//Symbol7_144 (CustomSportsCar_fla.Symbol7_144)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol7_144 extends MovieClip {
public function Symbol7_144(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 86
//Symbol75_347 (CustomSportsCar_fla.Symbol75_347)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol75_347 extends MovieClip {
public function Symbol75_347(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 87
//Symbol78_349 (CustomSportsCar_fla.Symbol78_349)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol78_349 extends MovieClip {
public function Symbol78_349(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 88
//Symbol8_142 (CustomSportsCar_fla.Symbol8_142)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol8_142 extends MovieClip {
public function Symbol8_142(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 89
//Symbol81_351 (CustomSportsCar_fla.Symbol81_351)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol81_351 extends MovieClip {
public function Symbol81_351(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 90
//Symbol9_138 (CustomSportsCar_fla.Symbol9_138)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class Symbol9_138 extends MovieClip {
public function Symbol9_138(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 91
//tertret_152 (CustomSportsCar_fla.tertret_152)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class tertret_152 extends MovieClip {
public var i1_mc:MovieClip;
public var i6_mc:MovieClip;
public var i7_mc:MovieClip;
public var i4_mc:MovieClip;
public var i5_mc:MovieClip;
public var i8_mc:MovieClip;
public var i9_mc:MovieClip;
public var i10_mc:MovieClip;
public var i2_mc:MovieClip;
public var i3_mc:MovieClip;
public function tertret_152(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 92
//wer030_13 (CustomSportsCar_fla.wer030_13)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class wer030_13 extends MovieClip {
public var snd1_mc:MovieClip;
public function wer030_13(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
}
}
}//package CustomSportsCar_fla
Section 93
//werdfds_22 (CustomSportsCar_fla.werdfds_22)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class werdfds_22 extends MovieClip {
public function werdfds_22(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 94
//wheels_369 (CustomSportsCar_fla.wheels_369)
package CustomSportsCar_fla {
import flash.display.*;
public dynamic class wheels_369 extends MovieClip {
public function wheels_369(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package CustomSportsCar_fla
Section 95
//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 96
//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 97
//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 98
//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 99
//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 100
//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 101
//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 102
//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 103
//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 104
//bg (bg)
package {
import flash.media.*;
public dynamic class bg extends Sound {
}
}//package
Section 105
//btn (btn)
package {
import flash.media.*;
public dynamic class btn extends Sound {
}
}//package
Section 106
//btn1 (btn1)
package {
import flash.media.*;
public dynamic class btn1 extends Sound {
}
}//package
Section 107
//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