Section 1
//firstone_9 (Game_fla.firstone_9)
package Game_fla {
import flash.display.*;
public dynamic class firstone_9 extends MovieClip {
public var helpBtn:SimpleButton;
public var playBtn:SimpleButton;
}
}//package Game_fla
Section 2
//firstone23_11 (Game_fla.firstone23_11)
package Game_fla {
import flash.display.*;
public dynamic class firstone23_11 extends MovieClip {
public function firstone23_11(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package Game_fla
Section 3
//firstone23copy2_16 (Game_fla.firstone23copy2_16)
package Game_fla {
import flash.display.*;
public dynamic class firstone23copy2_16 extends MovieClip {
public function firstone23copy2_16(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package Game_fla
Section 4
//MainTimeline (Game_fla.MainTimeline)
package Game_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var hitsoundChannel:SoundChannel;
public var rightKeyPressed2:Boolean;
public var rightKeyPressed3:Boolean;
public var topV3y:Number;
public var carSpeed2Sign:String;
public var target_mc10:MovieClip;
public var target_mc11:MovieClip;
public var target_mc12:MovieClip;
public var target_mc13:MovieClip;
public var target_mc14:MovieClip;
public var leftKeyPressed:Boolean;
public var topV4y:Number;
public var parksounds2:parksound;
public var parksounds3:parksound;
public var second:Number;
public var humanhitest:Boolean;
public var upKeyCode3:Boolean;
public var upKeyCode2:Boolean;
public var playmore:SimpleButton;
public var globalVolume:Number;
public var thirdcar1:MovieClip;
public var thirdcar2:MovieClip;
public var thirdcar3:MovieClip;
public var thirdcar4:MovieClip;
public var thirdcar5:MovieClip;
public var thirdcar6:MovieClip;
public var thirdcar7:MovieClip;
public var thirdcar8:MovieClip;
public var thirdcar9:MovieClip;
public var carSpeed:Number;
public var car10:MovieClip;
public var secondcar10:MovieClip;
public var secondcar11:MovieClip;
public var secondcar12:MovieClip;
public var hitsoundChannel2:SoundChannel;
public var hitsoundChannel3:SoundChannel;
public var secondtarget_mc2:MovieClip;
public var secondtarget_mc3:MovieClip;
public var secondtarget_mc4:MovieClip;
public var secondtarget_mc5:MovieClip;
public var secondtarget_mc6:MovieClip;
public var secondtarget_mc1:MovieClip;
public var secondtarget_mc9:MovieClip;
public var secondtarget_mc7:MovieClip;
public var secondtarget_mc8:MovieClip;
public var carSpeedSign:String;
public var bgClip:MovieClip;
public var txtBox:TextField;
public var leftKeyPressed2:Boolean;
public var leftKeyPressed3:Boolean;
public var secondcar1:MovieClip;
public var secondcar2:MovieClip;
public var secondcar3:MovieClip;
public var secondcar4:MovieClip;
public var secondcar5:MovieClip;
public var secondcar6:MovieClip;
public var secondcar7:MovieClip;
public var secondcar8:MovieClip;
public var hitcount:Number;
public var hitsound:CarhitSnd;
public var carfirst_Active:Boolean;
public var secondbtn:SimpleButton;
public var secondcar9:MovieClip;
public var hitplacenumber:Number;
public var initVol:SoundTransform;
public var firstbtn:SimpleButton;
public var target_mc1:MovieClip;
public var target_mc2:MovieClip;
public var target_mc3:MovieClip;
public var target_mc4:MovieClip;
public var target_mc5:MovieClip;
public var target_mc6:MovieClip;
public var target_mc7:MovieClip;
public var target_mc8:MovieClip;
public var target_mc9:MovieClip;
public var nextcount2:Number;
public var nextcount3:Number;
public var currentlevel:Number;
public var upKeyPressed:Boolean;
public var carSpeed3:Number;
public var carSpeed2:Number;
public var downKeyPressed2:Boolean;
public var downKeyPressed3:Boolean;
public var bgSoundChannel:SoundChannel;
public var upKeyCode:Boolean;
public var downKeyCode:Boolean;
public var leftKeyCode2:Boolean;
public var leftKeyCode3:Boolean;
public var nextcount:Number;
public var loadLeft:MovieClip;
public var parksoundChannel3:SoundChannel;
public var parksoundChannel2:SoundChannel;
public var upKeyPressed2:Boolean;
public var hitplacenumber2:Number;
public var hitplacenumber3:Number;
public var upKeyPressed3:Boolean;
public var botV2y:Number;
public var globalSndFrame:Number;
public var hitcount3:Number;
public var soundbox:MovieClip;
public var hitcount2:Number;
public var hitsound2:CarhitSnd;
public var hitsound3:CarhitSnd;
public var botV3y:Number;
public var botV4y:Number;
public var nextcarhit2:Boolean;
public var nextcarhit3:Boolean;
public var playBtn:SimpleButton;
public var car1:MovieClip;
public var car2:MovieClip;
public var car3:MovieClip;
public var car4:MovieClip;
public var car5:MovieClip;
public var car6:MovieClip;
public var car8:MovieClip;
public var car9:MovieClip;
public var car7:MovieClip;
public var leftKeyCode:Boolean;
public var rightKeyCode2:Boolean;
public var rightKeyCode3:Boolean;
public var downKeyPressed:Boolean;
public var secondtarget_mc10:MovieClip;
public var secondtarget_mc11:MovieClip;
public var secondtarget_mc12:MovieClip;
public var rightKeyCode:Boolean;
public var timer:Timer;
public var humanhit:Number;
public var downKeyCode3:Boolean;
public var downKeyCode2:Boolean;
public var thirdbtn:SimpleButton;
public var carSpeed3Sign:String;
public var bgSound:bgsound;
public var introClip:MovieClip;
public var topV2y:Number;
public var carfirst_Active2:Boolean;
public var thirdcar10:MovieClip;
public var thirdcar11:MovieClip;
public var thirdcar12:MovieClip;
public var thirdcar13:MovieClip;
public var thirdcar14:MovieClip;
public var carfirst_Active3:Boolean;
public var nextcarhit:Boolean;
public var rightKeyPressed:Boolean;
public function MainTimeline(){
addFrameScript(0, frame1, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14);
}
public function gameoverFnGame(_arg1:Event):void{
this.gotoAndStop("logoanimation");
}
public function customize(_arg1, _arg2){
var _local3:Number;
var _local4:Number;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:SoundTransform;
var _local11:Point;
var _local12:*;
if (upKeyCode == false){
upKeyPressed = false;
} else {
if (upKeyCode == true){
upKeyPressed = true;
};
};
if (downKeyCode == false){
downKeyPressed = false;
} else {
if (downKeyCode == true){
downKeyPressed = true;
};
};
if ((((downKeyPressed == true)) && ((upKeyPressed == false)))){
if (carSpeed < 15){
carSpeed = (carSpeed + 0.22);
if (carSpeed > 15){
carSpeed = 15;
};
};
};
if ((((upKeyPressed == true)) && ((downKeyPressed == false)))){
if (carSpeed > -15){
carSpeed = (carSpeed - 0.22);
if (carSpeed < -15){
carSpeed = -15;
};
};
};
if (rightKeyCode == false){
rightKeyPressed = false;
} else {
if (rightKeyCode == true){
rightKeyPressed = true;
};
};
if (rightKeyPressed == true){
if (carSpeed < 0){
_arg1.rotation = (_arg1.rotation + ((23 - carSpeed) / 8));
} else {
if (carSpeed > 0.5){
_arg1.rotation = (_arg1.rotation - ((23 - carSpeed) / 8));
};
};
};
if (leftKeyCode == false){
leftKeyPressed = false;
} else {
if (leftKeyCode == true){
leftKeyPressed = true;
};
};
if (leftKeyPressed == true){
if (carSpeed > 0){
_arg1.rotation = (_arg1.rotation + ((23 - carSpeed) / 8));
} else {
if (carSpeed < 0){
_arg1.rotation = (_arg1.rotation - ((23 - carSpeed) / 8));
};
};
};
carSpeed = (carSpeed * 0.98);
_arg1.x = (_arg1.x - (carSpeed * Math.sin(((_arg1.rotation * -1) * 0.017453))));
_arg1.y = (_arg1.y - (carSpeed * Math.cos((_arg1.rotation * 0.017453))));
_local3 = 1;
while (_local3 <= hitplacenumber) {
if ((((checkCollision(_arg1, this.bgClip[("hitplace" + _local3)]) == true)) && ((bgClip[("hitplace" + _local3)].playOnce == false)))){
bgClip[("hitplace" + _local3)].playOnce = true;
hitcount = (hitcount + 1);
hitsoundChannel = hitsound.play();
if (upKeyPressed == true){
downKeyPressed = false;
} else {
if (downKeyPressed == true){
upKeyPressed = false;
};
};
carSpeed = (((carSpeed * -2) + carSpeed) / 1.8);
if (carSpeed > 0){
carSpeedSign = "plus";
} else {
if (carSpeed <= 0){
carSpeedSign = "minus";
};
};
if (carSpeedSign == "plus"){
if (carSpeed <= 2){
carSpeed = 2;
};
};
if (carSpeedSign == "minus"){
if (carSpeed >= -2){
carSpeed = -2;
};
};
if (hitcount >= 1){
bgClip.hitplace3[("life" + hitcount)].visible = false;
};
if (hitcount == 3){
timer.stop();
currentlevel = 1;
_local10 = new SoundTransform();
_local10.volume = 0;
bgSoundChannel.soundTransform = _local10;
stage.removeEventListener(Event.ENTER_FRAME, Main);
gotoAndStop("levelfailed");
};
};
if (checkCollision(_arg1, this.bgClip[("hitplace" + _local3)]) == false){
bgClip[("hitplace" + _local3)].playOnce = false;
};
_local3++;
};
_local4 = 0;
_local5 = _arg2.x;
_local6 = (_local5 + _arg2.width);
_local7 = _arg2.y;
_local8 = (_local7 + _arg2.height);
_local9 = 1;
while (_local9 <= 23) {
_local11 = new Point(_arg1[("hit" + _local9)].x, _arg1[("hit" + _local9)].y);
_local12 = _arg1.localToGlobal(_local11);
if ((((((((_local12.x > _local5)) && ((_local12.x < _local6)))) && ((_local12.y > _local7)))) && ((_local12.y < _local8)))){
_local4 = (_local4 + 1);
};
_local9++;
};
if ((((upKeyPressed == false)) && ((downKeyPressed == false)))){
if ((((carSpeed > -0.5)) && ((carSpeed < 0.5)))){
carSpeed = 0;
};
};
if (_local4 == 23){
carSpeed = 0;
second = (second + 2);
_arg2.gotoAndPlay(3);
carfirst_Active = true;
nextcount = (nextcount + 1);
this[("target_mc" + nextcount)].gotoAndStop(2);
_arg1.visible = false;
bgClip[("hitplace" + (5 + nextcount))].gotoAndStop(2);
this.bgClip.hitplace6.gotoAndStop(nextcount);
};
}
function frame11(){
stop();
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
playBtn.addEventListener(MouseEvent.MOUSE_DOWN, playagainFnGame);
}
public function customize3(_arg1, _arg2){
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:SoundTransform;
var _local12:*;
var _local13:SoundTransform;
var _local14:Point;
var _local15:*;
if (upKeyCode3 == false){
upKeyPressed3 = false;
} else {
if (upKeyCode3 == true){
upKeyPressed3 = true;
};
};
if (downKeyCode3 == false){
downKeyPressed3 = false;
} else {
if (downKeyCode3 == true){
downKeyPressed3 = true;
};
};
if ((((downKeyPressed3 == true)) && ((upKeyPressed3 == false)))){
if (carSpeed3 < 15){
carSpeed3 = (carSpeed3 + 0.22);
if (carSpeed3 > 15){
carSpeed3 = 15;
};
};
};
if ((((upKeyPressed3 == true)) && ((downKeyPressed3 == false)))){
if (carSpeed3 > -15){
carSpeed3 = (carSpeed3 - 0.22);
if (carSpeed3 < -15){
carSpeed3 = -15;
};
};
};
if (rightKeyCode3 == false){
rightKeyPressed3 = false;
} else {
if (rightKeyCode3 == true){
rightKeyPressed3 = true;
};
};
if (rightKeyPressed3 == true){
if (carSpeed3 < 0){
_arg1.rotation = (_arg1.rotation + ((23 - carSpeed3) / 8));
} else {
if (carSpeed3 > 0.5){
_arg1.rotation = (_arg1.rotation - ((23 - carSpeed3) / 8));
};
};
};
if (leftKeyCode3 == false){
leftKeyPressed3 = false;
} else {
if (leftKeyCode3 == true){
leftKeyPressed3 = true;
};
};
if (leftKeyPressed3 == true){
if (carSpeed3 > 0){
_arg1.rotation = (_arg1.rotation + ((23 - carSpeed3) / 8));
} else {
if (carSpeed3 < 0){
_arg1.rotation = (_arg1.rotation - ((23 - carSpeed3) / 8));
};
};
};
carSpeed3 = (carSpeed3 * 0.98);
_arg1.x = (_arg1.x - (carSpeed3 * Math.sin(((_arg1.rotation * -1) * 0.017453))));
_arg1.y = (_arg1.y - (carSpeed3 * Math.cos((_arg1.rotation * 0.017453))));
_local3 = 1;
while (_local3 <= hitplacenumber3) {
if ((((checkCollision(_arg1, this.bgClip[("hitplace" + _local3)]) == true)) && ((bgClip[("hitplace" + _local3)].playOnce == false)))){
bgClip[("hitplace" + _local3)].playOnce = true;
if (soundbox.currentFrame == 1){
hitsoundChannel3 = hitsound3.play();
};
hitcount3 = (hitcount3 + 1);
if (upKeyPressed3 == true){
downKeyPressed3 = false;
} else {
if (downKeyPressed3 == true){
upKeyPressed3 = false;
};
};
carSpeed3 = (((carSpeed3 * -2) + carSpeed3) / 1.8);
if (carSpeed3 > 0){
carSpeed3Sign = "plus";
} else {
if (carSpeed3 <= 0){
carSpeed3Sign = "minus";
};
};
if (carSpeed3Sign == "plus"){
if (carSpeed3 <= 2){
carSpeed3 = 2;
};
};
if (carSpeed3Sign == "minus"){
if (carSpeed3 >= -2){
carSpeed3 = -2;
};
};
if (hitcount3 >= 1){
bgClip.hitplace3[("life" + hitcount3)].visible = false;
};
if (hitcount3 == 3){
gotoAndStop("levelfailed");
stage.removeEventListener(Event.ENTER_FRAME, Main3);
timer.stop();
currentlevel = 3;
_local11 = new SoundTransform();
_local11.volume = 0;
bgSoundChannel.soundTransform = _local11;
};
};
if (checkCollision(_arg1, this.bgClip[("hitplace" + _local3)]) == false){
bgClip[("hitplace" + _local3)].playOnce = false;
};
_local3++;
};
_local4 = 2;
while (_local4 <= 4) {
if (((bgClip[("vc" + _local4)].hitTestObject(_arg1)) && ((humanhitest == false)))){
hitcount3 = (hitcount3 + 1);
humanhitest = true;
hitsoundChannel3 = hitsound3.play();
_local12 = bgClip[("vc" + _local4)];
_local12.speedY = 0;
_local12.x = (_local12.x + 20);
_local12.gotoAndPlay(3);
_local12.speedY = 2;
if (hitcount3 >= 1){
bgClip.hitplace3[("life" + hitcount3)].visible = false;
};
if (hitcount3 == 3){
gotoAndStop("levelfailed");
stage.removeEventListener(Event.ENTER_FRAME, Main3);
timer.stop();
currentlevel = 3;
_local13 = new SoundTransform();
_local13.volume = 0;
bgSoundChannel.soundTransform = _local13;
};
};
_local4++;
};
_local5 = 0;
_local6 = _arg2.x;
_local7 = (_local6 + _arg2.width);
_local8 = _arg2.y;
_local9 = (_local8 + _arg2.height);
_local10 = 1;
while (_local10 <= 23) {
_local14 = new Point(_arg1[("hit" + _local10)].x, _arg1[("hit" + _local10)].y);
_local15 = _arg1.localToGlobal(_local14);
if ((((((((_local15.x > _local6)) && ((_local15.x < _local7)))) && ((_local15.y > _local8)))) && ((_local15.y < _local9)))){
_local5 = (_local5 + 1);
};
_local10++;
};
if ((((upKeyPressed3 == false)) && ((downKeyPressed3 == false)))){
if ((((carSpeed3 > -0.5)) && ((carSpeed3 < 0.5)))){
carSpeed3 = 0;
};
};
if (_local5 == 23){
carSpeed3 = 0;
second = (second + 2);
_arg2.gotoAndPlay(3);
_arg1.visible = false;
carfirst_Active3 = true;
nextcount3 = (nextcount3 + 1);
bgClip[("hitplace" + (11 + nextcount3))].gotoAndStop(2);
this[("target_mc" + nextcount3)].gotoAndStop(2);
bgClip.hitplace12.gotoAndStop(nextcount3);
};
customermove();
}
function frame14(){
stop();
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
playBtn.addEventListener(MouseEvent.MOUSE_DOWN, timeoverFnGame);
}
function frame12(){
stop();
trace(("currentlevel" + currentlevel));
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
playBtn.addEventListener(MouseEvent.MOUSE_DOWN, levelagainFnGame);
}
public function customize2(_arg1, _arg2){
var _local3:Number;
var _local4:Number;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:Number;
var _local11:SoundTransform;
var _local12:Point;
var _local13:*;
if (upKeyCode2 == false){
upKeyPressed2 = false;
} else {
if (upKeyCode2 == true){
upKeyPressed2 = true;
};
};
if (downKeyCode2 == false){
downKeyPressed2 = false;
} else {
if (downKeyCode2 == true){
downKeyPressed2 = true;
};
};
if ((((downKeyPressed2 == true)) && ((upKeyPressed2 == false)))){
if (carSpeed2 < 15){
carSpeed2 = (carSpeed2 + 0.22);
if (carSpeed2 > 15){
carSpeed2 = 15;
};
};
};
if ((((upKeyPressed2 == true)) && ((downKeyPressed2 == false)))){
if (carSpeed2 > -15){
carSpeed2 = (carSpeed2 - 0.22);
if (carSpeed2 < -15){
carSpeed2 = -15;
};
};
};
if (rightKeyCode2 == false){
rightKeyPressed2 = false;
} else {
if (rightKeyCode2 == true){
rightKeyPressed2 = true;
};
};
if (rightKeyPressed2 == true){
if (carSpeed2 < 0){
_arg1.rotation = (_arg1.rotation + ((23 - carSpeed2) / 8));
} else {
if (carSpeed2 > 0.5){
_arg1.rotation = (_arg1.rotation - ((23 - carSpeed2) / 8));
};
};
};
if (leftKeyCode2 == false){
leftKeyPressed2 = false;
} else {
if (leftKeyCode2 == true){
leftKeyPressed2 = true;
};
};
if (leftKeyPressed2 == true){
if (carSpeed2 > 0){
_arg1.rotation = (_arg1.rotation + ((23 - carSpeed2) / 8));
} else {
if (carSpeed2 < 0){
_arg1.rotation = (_arg1.rotation - ((23 - carSpeed2) / 8));
};
};
};
carSpeed2 = (carSpeed2 * 0.98);
_arg1.x = (_arg1.x - (carSpeed2 * Math.sin(((_arg1.rotation * -1) * 0.017453))));
_arg1.y = (_arg1.y - (carSpeed2 * Math.cos((_arg1.rotation * 0.017453))));
_local3 = 1;
while (_local3 <= hitplacenumber2) {
if ((((checkCollision(_arg1, this.bgClip[("hitplace" + _local3)]) == true)) && ((bgClip[("hitplace" + _local3)].playOnce == false)))){
bgClip[("hitplace" + _local3)].playOnce = true;
if (soundbox.currentFrame == 1){
hitsoundChannel2 = hitsound2.play();
};
hitcount2 = (hitcount2 + 1);
if (upKeyPressed2 == true){
downKeyPressed2 = false;
} else {
if (downKeyPressed2 == true){
upKeyPressed2 = false;
};
};
carSpeed2 = (((carSpeed2 * -2) + carSpeed2) / 1.8);
if (carSpeed2 > 0){
carSpeed2Sign = "plus";
} else {
if (carSpeed2 <= 0){
carSpeed2Sign = "minus";
};
};
if (carSpeed2Sign == "plus"){
if (carSpeed2 <= 2){
carSpeed2 = 2;
};
};
if (carSpeed2Sign == "minus"){
if (carSpeed2 >= -2){
carSpeed2 = -2;
};
};
if (hitcount2 >= 1){
bgClip.hitplace3[("life" + hitcount2)].visible = false;
};
if (hitcount2 == 3){
gotoAndStop("levelfailed");
timer.stop();
stage.removeEventListener(Event.ENTER_FRAME, Main2);
currentlevel = 2;
_local11 = new SoundTransform();
_local11.volume = 0;
bgSoundChannel.soundTransform = _local11;
};
};
if (checkCollision(_arg1, this.bgClip[("hitplace" + _local3)]) == false){
bgClip[("hitplace" + _local3)].playOnce = false;
};
_local3++;
};
_local4 = 0;
_local5 = _arg2.x;
_local6 = (_local5 + _arg2.width);
_local7 = _arg2.y;
_local8 = (_local7 + _arg2.height);
_local9 = 1;
while (_local9 <= 23) {
_local12 = new Point(_arg1[("hit" + _local9)].x, _arg1[("hit" + _local9)].y);
_local13 = _arg1.localToGlobal(_local12);
if ((((((((_local13.x > _local5)) && ((_local13.x < _local6)))) && ((_local13.y > _local7)))) && ((_local13.y < _local8)))){
_local4 = (_local4 + 1);
};
_local9++;
};
if ((((upKeyPressed2 == false)) && ((downKeyPressed2 == false)))){
if ((((carSpeed2 > -0.5)) && ((carSpeed2 < 0.5)))){
carSpeed2 = 0;
};
};
_local10 = 1;
if (_local4 == 23){
carSpeed2 = 0;
carfirst_Active2 = true;
nextcount2 = (nextcount2 + 1);
this[("secondtarget_mc" + nextcount2)].gotoAndStop(2);
_arg1.visible = false;
bgClip[("hitplace" + (11 + nextcount2))].gotoAndStop(2);
_arg2.gotoAndPlay(3);
bgClip.hitplace12.gotoAndStop(nextcount2);
second = (second + 2);
};
}
function frame6(){
playBtn.addEventListener(MouseEvent.MOUSE_DOWN, playFnGame1);
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
}
function frame1(){
MochiBot.track(this, "95b4b976");
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stop();
addEventListener(Event.ENTER_FRAME, loading);
}
function frame10(){
stop();
playBtn.addEventListener(MouseEvent.MOUSE_DOWN, gameoverFnGame);
}
function frame5(){
stop();
globalVolume = 0.5;
bgSound = new bgsound();
bgSoundChannel = bgSound.play(5, 10000);
initVol = new SoundTransform();
initVol.volume = globalVolume;
bgSoundChannel.soundTransform = initVol;
soundbox.addEventListener(MouseEvent.MOUSE_DOWN, playcontrol);
globalSndFrame = 1;
timer = new Timer(2000);
second = 60;
introClip.playBtn.addEventListener(MouseEvent.MOUSE_DOWN, playFnGame);
introClip.helpBtn.addEventListener(MouseEvent.MOUSE_DOWN, helpFnGame);
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
}
function frame9(){
stop();
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
soundbox.addEventListener(MouseEvent.MOUSE_DOWN, playcontrol);
if (globalSndFrame == 1){
playFn();
} else {
if (globalSndFrame == 2){
pauseFn();
};
};
carSpeed3 = 0;
second = 120;
leftKeyPressed3 = false;
rightKeyPressed3 = false;
downKeyPressed3 = false;
upKeyPressed3 = false;
upKeyCode3 = false;
downKeyCode3 = false;
leftKeyCode3 = false;
rightKeyCode3 = false;
carSpeed3Sign = " ";
hitplacenumber3 = 26;
hitcount3 = 0;
nextcarhit3 = false;
humanhitest = false;
humanhit = 0;
stage.addEventListener(KeyboardEvent.KEY_UP, KeyUP3);
stage.addEventListener(KeyboardEvent.KEY_DOWN, KeyDown3);
stage.addEventListener(Event.ENTER_FRAME, Main3);
carfirst_Active3 = false;
timer.addEventListener(TimerEvent.TIMER, onTimer);
timer.start();
currentlevel = 3;
hitsound3 = new CarhitSnd();
parksounds3 = new parksound();
nextcount3 = 1;
this[("target_mc" + nextcount3)].gotoAndStop(2);
bgClip.vc2.speedY = 1.2;
bgClip.vc3.speedY = 1.2;
bgClip.vc4.speedY = 1.2;
topV2y = -380.3;
botV2y = 400;
bgClip.vc2.y = -50;
topV3y = -230;
botV3y = -50;
bgClip.vc3.y = -210;
topV4y = 40;
botV4y = 276.4;
bgClip.vc4.y = 45;
}
function frame13(){
stop();
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
playBtn.addEventListener(MouseEvent.MOUSE_DOWN, levelcompletedFnGame);
}
function frame8(){
stop();
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
soundbox.addEventListener(MouseEvent.MOUSE_DOWN, playcontrol);
if (globalSndFrame == 1){
playFn();
} else {
if (globalSndFrame == 2){
pauseFn();
};
};
carSpeed2 = 0;
second = 60;
leftKeyPressed2 = false;
rightKeyPressed2 = false;
downKeyPressed2 = false;
upKeyPressed2 = false;
upKeyCode2 = false;
downKeyCode2 = false;
leftKeyCode2 = false;
rightKeyCode2 = false;
carSpeed2Sign = " ";
hitplacenumber2 = 24;
hitcount2 = 0;
nextcarhit2 = false;
stage.addEventListener(KeyboardEvent.KEY_UP, KeyUP2);
stage.addEventListener(KeyboardEvent.KEY_DOWN, KeyDown2);
stage.addEventListener(Event.ENTER_FRAME, Main2);
carfirst_Active2 = false;
timer.addEventListener(TimerEvent.TIMER, onTimer);
timer.start();
currentlevel = 2;
hitsound2 = new CarhitSnd();
parksounds2 = new parksound();
nextcount2 = 1;
this[("secondtarget_mc" + nextcount2)].gotoAndStop(2);
}
function frame7(){
stop();
playmore.addEventListener(MouseEvent.MOUSE_DOWN, playmoregameFn);
carSpeed = 0;
second = 60;
leftKeyPressed = false;
rightKeyPressed = false;
downKeyPressed = false;
upKeyPressed = false;
upKeyCode = false;
downKeyCode = false;
leftKeyCode = false;
rightKeyCode = false;
carSpeedSign = " ";
hitplacenumber = 15;
hitcount = 0;
nextcarhit = false;
carfirst_Active = false;
currentlevel = 1;
stage.addEventListener(KeyboardEvent.KEY_UP, KeyUP);
stage.addEventListener(KeyboardEvent.KEY_DOWN, KeyDown);
stage.addEventListener(Event.ENTER_FRAME, Main);
timer.addEventListener(TimerEvent.TIMER, onTimer);
timer.start();
trace(("currentlevel" + currentlevel));
soundbox.addEventListener(MouseEvent.MOUSE_DOWN, playcontrol);
if (globalSndFrame == 1){
playFn();
} else {
if (globalSndFrame == 2){
pauseFn();
};
};
hitsound = new CarhitSnd();
nextcount = 1;
this[("target_mc" + nextcount)].gotoAndStop(2);
}
public function onTimer(_arg1:TimerEvent):void{
var _local2:SoundTransform;
second--;
bgClip.hitplace3.timer_txt.text = second;
trace(("currentlevel" + currentlevel));
if (second <= 0){
timer.stop();
_local2 = new SoundTransform();
_local2.volume = 0;
bgSoundChannel.soundTransform = _local2;
stage.removeEventListener(Event.ENTER_FRAME, Main);
stage.removeEventListener(Event.ENTER_FRAME, Main2);
stage.removeEventListener(Event.ENTER_FRAME, Main3);
gotoAndStop("timeover");
};
}
public function playagainFnGame(_arg1:Event):void{
this.gotoAndStop("logoanimation");
}
public function customermove(){
bgClip.vc2.x = (bgClip.vc2.x + bgClip.vc2.speedY);
if (bgClip.vc2.x >= botV2y){
bgClip.vc2.speedY = -(bgClip.vc2.speedY);
bgClip.vc2.gotoAndStop(2);
} else {
if (bgClip.vc2.x <= topV2y){
bgClip.vc2.speedY = -(bgClip.vc2.speedY);
bgClip.vc2.gotoAndStop(1);
};
};
bgClip.vc3.y = (bgClip.vc3.y + bgClip.vc3.speedY);
if (bgClip.vc3.y >= botV3y){
bgClip.vc3.speedY = -(bgClip.vc3.speedY);
bgClip.vc3.gotoAndStop(2);
} else {
if (bgClip.vc3.y <= topV3y){
bgClip.vc3.speedY = -(bgClip.vc3.speedY);
bgClip.vc3.gotoAndStop(1);
};
};
bgClip.vc4.y = (bgClip.vc4.y + bgClip.vc4.speedY);
if (bgClip.vc4.y >= botV4y){
bgClip.vc4.speedY = -(bgClip.vc4.speedY);
bgClip.vc4.gotoAndStop(2);
} else {
if (bgClip.vc4.y <= topV4y){
bgClip.vc4.speedY = -(bgClip.vc4.speedY);
bgClip.vc4.gotoAndStop(1);
};
};
}
public function playFnGame1(_arg1:Event):void{
this.gotoAndStop("firstlevel");
}
public function KeyDown2(_arg1:KeyboardEvent){
if (_arg1.keyCode == 40){
downKeyCode2 = true;
};
if (_arg1.keyCode == 37){
leftKeyCode2 = true;
};
if (_arg1.keyCode == 38){
upKeyCode2 = true;
};
if (_arg1.keyCode == 39){
rightKeyCode2 = true;
};
}
public function KeyDown3(_arg1:KeyboardEvent){
if (_arg1.keyCode == 40){
downKeyCode3 = true;
};
if (_arg1.keyCode == 37){
leftKeyCode3 = true;
};
if (_arg1.keyCode == 38){
upKeyCode3 = true;
};
if (_arg1.keyCode == 39){
rightKeyCode3 = true;
};
}
public function KeyUP(_arg1:KeyboardEvent){
if (_arg1.keyCode == 40){
downKeyCode = false;
};
if (_arg1.keyCode == 37){
leftKeyCode = false;
};
if (_arg1.keyCode == 38){
upKeyCode = false;
};
if (_arg1.keyCode == 39){
rightKeyCode = false;
};
}
public function loading(_arg1:Event){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = stage.loaderInfo.bytesTotal;
_local3 = stage.loaderInfo.bytesLoaded;
_local4 = Math.round(((_local3 * 100) / _local2));
txtBox.text = (_local4 + "%");
if (_local3 >= _local2){
gotoAndStop("logoanimation");
removeEventListener(Event.ENTER_FRAME, loading);
};
}
public function playFnGame(_arg1:Event):void{
this.gotoAndStop("firstlevel");
}
public function timeoverFnGame(_arg1:Event):void{
if (currentlevel == 2){
this.gotoAndStop("secondlevel");
};
if (currentlevel == 3){
this.gotoAndStop("thirdlevel");
} else {
if (currentlevel == 1){
this.gotoAndStop("firstlevel");
};
};
}
public function pauseFn(){
var _local1:SoundTransform;
_local1 = new SoundTransform();
_local1.volume = 0;
globalVolume = _local1.volume;
bgSoundChannel.soundTransform = _local1;
soundbox.gotoAndStop(2);
globalSndFrame = 2;
}
public function Main2(_arg1:Event):void{
if (nextcount2 == 13){
currentlevel = 2;
timer.stop();
stage.removeEventListener(Event.ENTER_FRAME, Main2);
gotoAndStop("levelcompleted");
};
customize2(this[("secondcar" + nextcount2)], this[("secondtarget_mc" + nextcount2)]);
}
public function Main3(_arg1:Event):void{
var _local2:SoundTransform;
if (nextcount3 == 15){
currentlevel = 3;
timer.stop();
stage.removeEventListener(Event.ENTER_FRAME, Main3);
_local2 = new SoundTransform();
_local2.volume = 0;
bgSoundChannel.soundTransform = _local2;
gotoAndStop("Congratulations");
};
customize3(this[("thirdcar" + nextcount3)], this[("target_mc" + nextcount3)]);
}
public function checkForCollision(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Boolean=true, _arg4:int=0xFF){
var _local5:Rectangle;
var _local6:Rectangle;
var _local7:Rectangle;
var _local8:BitmapData;
var _local9:Matrix;
var _local10:Rectangle;
_local5 = _arg1.getBounds(_arg1.parent);
_local6 = _arg2.getBounds(_arg2.parent.parent);
_local7 = _local5.intersection(_local6);
_local7.x = Math.floor(_local7.x);
_local7.y = Math.floor(_local7.y);
_local7.width = Math.ceil(_local7.width);
_local7.height = Math.ceil(_local7.height);
if ((((_local7.width < 1)) || ((_local7.height < 1)))){
return (null);
};
if (!_arg3){
return (_local7);
};
_local8 = new BitmapData(_local7.width, _local7.height, false);
_local9 = _arg1.transform.concatenatedMatrix;
_local9.translate(-(_local7.left), -(_local7.top));
_local8.draw(_arg1, _local9, new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, _arg4));
_local9 = _arg2.transform.concatenatedMatrix;
_local9.translate(-(_local7.left), -(_local7.top));
_local8.draw(_arg2, _local9, new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, _arg4), "difference");
_local10 = _local8.getColorBoundsRect(4294967295, 4278255615);
if (_local10.width == 0){
return (null);
};
_local10.offset(_local7.left, _local7.top);
return (_local10);
}
public function Main(_arg1:Event):void{
var _local2:SoundTransform;
if (nextcount == 11){
timer.stop();
currentlevel = 1;
_local2 = new SoundTransform();
_local2.volume = 0;
bgSoundChannel.soundTransform = _local2;
stage.removeEventListener(Event.ENTER_FRAME, Main);
gotoAndStop("levelcompleted");
};
customize(this[("car" + nextcount)], this[("target_mc" + nextcount)]);
}
public function playmoregameFn(_arg1:Event):void{
var url:String;
var request:URLRequest;
var e = _arg1;
url = "http://www.cartitans.com";
request = new URLRequest(url);
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
public function KeyUP2(_arg1:KeyboardEvent){
if (_arg1.keyCode == 40){
downKeyCode2 = false;
};
if (_arg1.keyCode == 37){
leftKeyCode2 = false;
};
if (_arg1.keyCode == 38){
upKeyCode2 = false;
};
if (_arg1.keyCode == 39){
rightKeyCode2 = false;
};
}
public function KeyUP3(_arg1:KeyboardEvent){
if (_arg1.keyCode == 40){
downKeyCode3 = false;
};
if (_arg1.keyCode == 37){
leftKeyCode3 = false;
};
if (_arg1.keyCode == 38){
upKeyCode3 = false;
};
if (_arg1.keyCode == 39){
rightKeyCode3 = false;
};
}
public function levelagainFnGame(_arg1:Event):void{
if (currentlevel == 2){
this.gotoAndStop("secondlevel");
};
if (currentlevel == 3){
this.gotoAndStop("thirdlevel");
} else {
if (currentlevel == 1){
this.gotoAndStop("firstlevel");
};
};
}
public function levelcompletedFnGame(_arg1:Event):void{
if (currentlevel == 1){
this.gotoAndStop("secondlevel");
};
if (currentlevel == 2){
this.gotoAndStop("thirdlevel");
};
}
public function checkCollision(_arg1, _arg2){
var _local3:Rectangle;
_local3 = checkForCollision(_arg1, _arg2);
if (_local3){
return (true);
};
return (false);
}
public function playFn(){
var _local1:SoundTransform;
_local1 = new SoundTransform();
_local1.volume = 0.5;
globalVolume = _local1.volume;
bgSoundChannel.soundTransform = _local1;
soundbox.gotoAndStop(1);
globalSndFrame = 1;
}
public function helpFnGame(_arg1:Event):void{
this.gotoAndStop("help");
}
public function KeyDown(_arg1:KeyboardEvent){
if (_arg1.keyCode == 40){
downKeyCode = true;
};
if (_arg1.keyCode == 37){
leftKeyCode = true;
};
if (_arg1.keyCode == 38){
upKeyCode = true;
};
if (_arg1.keyCode == 39){
rightKeyCode = true;
};
}
public function playcontrol(_arg1:MouseEvent):void{
if (soundbox.currentFrame == 1){
pauseFn();
return;
};
if (soundbox.currentFrame == 2){
playFn();
return;
};
}
}
}//package Game_fla
Section 5
//nextcarhittereee_98 (Game_fla.nextcarhittereee_98)
package Game_fla {
import flash.display.*;
public dynamic class nextcarhittereee_98 extends MovieClip {
public function nextcarhittereee_98(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function frame10(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package Game_fla
Section 6
//nextcarhittfourrrrrrr_130 (Game_fla.nextcarhittfourrrrrrr_130)
package Game_fla {
import flash.display.*;
public dynamic class nextcarhittfourrrrrrr_130 extends MovieClip {
public function nextcarhittfourrrrrrr_130(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame13(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package Game_fla
Section 7
//oponentsonetwelve25_128 (Game_fla.oponentsonetwelve25_128)
package Game_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class oponentsonetwelve25_128 extends MovieClip {
public var grandaddy1:MovieClip;
public function oponentsonetwelve25_128(){
addFrameScript(0, frame1, 1, frame2, 24, frame25);
}
function frame1(){
stop();
grandaddy1 = MovieClip(this.parent.parent);
grandaddy1.humanhitest = false;
}
function frame25(){
gotoAndStop(1);
}
function frame2(){
stop();
}
}
}//package Game_fla
Section 8
//pichmnjbhewr6_26 (Game_fla.pichmnjbhewr6_26)
package Game_fla {
import flash.display.*;
public dynamic class pichmnjbhewr6_26 extends MovieClip {
public function pichmnjbhewr6_26(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package Game_fla
Section 9
//pichmnjbhewr6copy_162 (Game_fla.pichmnjbhewr6copy_162)
package Game_fla {
import flash.display.*;
public dynamic class pichmnjbhewr6copy_162 extends MovieClip {
public function pichmnjbhewr6copy_162(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package Game_fla
Section 10
//pichmnjbhewr6copy1_165 (Game_fla.pichmnjbhewr6copy1_165)
package Game_fla {
import flash.display.*;
public dynamic class pichmnjbhewr6copy1_165 extends MovieClip {
public function pichmnjbhewr6copy1_165(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package Game_fla
Section 11
//pichmnjbhewr6copy2_173 (Game_fla.pichmnjbhewr6copy2_173)
package Game_fla {
import flash.display.*;
public dynamic class pichmnjbhewr6copy2_173 extends MovieClip {
public function pichmnjbhewr6copy2_173(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package Game_fla
Section 12
//pichmnjbhewr6copy3_20 (Game_fla.pichmnjbhewr6copy3_20)
package Game_fla {
import flash.display.*;
public dynamic class pichmnjbhewr6copy3_20 extends MovieClip {
public function pichmnjbhewr6copy3_20(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package Game_fla
Section 13
//pichmnjbhewr6copy4_170 (Game_fla.pichmnjbhewr6copy4_170)
package Game_fla {
import flash.display.*;
public dynamic class pichmnjbhewr6copy4_170 extends MovieClip {
public function pichmnjbhewr6copy4_170(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package Game_fla
Section 14
//secondlevelbgone19copy_59 (Game_fla.secondlevelbgone19copy_59)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy_59 extends MovieClip {
public function secondlevelbgone19copy_59(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 15
//secondlevelbgone19copy10_66 (Game_fla.secondlevelbgone19copy10_66)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy10_66 extends MovieClip {
public function secondlevelbgone19copy10_66(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 16
//secondlevelbgone19copy11_67 (Game_fla.secondlevelbgone19copy11_67)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy11_67 extends MovieClip {
public function secondlevelbgone19copy11_67(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 17
//secondlevelbgone19copy12_68 (Game_fla.secondlevelbgone19copy12_68)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy12_68 extends MovieClip {
public function secondlevelbgone19copy12_68(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 18
//secondlevelbgone19copy13_69 (Game_fla.secondlevelbgone19copy13_69)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy13_69 extends MovieClip {
public function secondlevelbgone19copy13_69(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 19
//secondlevelbgone19copy14_70 (Game_fla.secondlevelbgone19copy14_70)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy14_70 extends MovieClip {
public function secondlevelbgone19copy14_70(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 20
//secondlevelbgone19copy2_60 (Game_fla.secondlevelbgone19copy2_60)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy2_60 extends MovieClip {
public function secondlevelbgone19copy2_60(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 21
//secondlevelbgone19copy3_61 (Game_fla.secondlevelbgone19copy3_61)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy3_61 extends MovieClip {
public function secondlevelbgone19copy3_61(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 22
//secondlevelbgone19copy6_62 (Game_fla.secondlevelbgone19copy6_62)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy6_62 extends MovieClip {
public function secondlevelbgone19copy6_62(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 23
//secondlevelbgone19copy7_63 (Game_fla.secondlevelbgone19copy7_63)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy7_63 extends MovieClip {
public function secondlevelbgone19copy7_63(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 24
//secondlevelbgone19copy8_64 (Game_fla.secondlevelbgone19copy8_64)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy8_64 extends MovieClip {
public function secondlevelbgone19copy8_64(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 25
//secondlevelbgone19copy9_65 (Game_fla.secondlevelbgone19copy9_65)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone19copy9_65 extends MovieClip {
public function secondlevelbgone19copy9_65(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 26
//secondlevelbgone20copy_58 (Game_fla.secondlevelbgone20copy_58)
package Game_fla {
import flash.display.*;
public dynamic class secondlevelbgone20copy_58 extends MovieClip {
public var hitplace1:MovieClip;
public var hitplace3:MovieClip;
public var hitplace7:MovieClip;
public var hitplace6:MovieClip;
public var hitplace8:MovieClip;
public var hitplace2:MovieClip;
public var hitplace5:MovieClip;
public var hitplace12:MovieClip;
public var hitplace13:MovieClip;
public var hitplace14:MovieClip;
public var hitplace18:MovieClip;
public var hitplace19:MovieClip;
public var hitplace15:MovieClip;
public var hitplace11:MovieClip;
public var hitplace9:MovieClip;
public var hitplace16:MovieClip;
public var hitplace23:MovieClip;
public var hitplace4:MovieClip;
public var hitplace21:MovieClip;
public var hitplace24:MovieClip;
public var hitplace20:MovieClip;
public var hitplace17:MovieClip;
public var hitplace22:MovieClip;
public var hitplace10:MovieClip;
}
}//package Game_fla
Section 27
//secondlevelbgone7_74 (Game_fla.secondlevelbgone7_74)
package Game_fla {
import flash.display.*;
import flash.text.*;
public dynamic class secondlevelbgone7_74 extends MovieClip {
public var timer_txt:TextField;
public var life1:MovieClip;
public var life3:MovieClip;
public var life2:MovieClip;
}
}//package Game_fla
Section 28
//secondpeoplesix_124 (Game_fla.secondpeoplesix_124)
package Game_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class secondpeoplesix_124 extends MovieClip {
public var grandaddy2:MovieClip;
public function secondpeoplesix_124(){
addFrameScript(0, frame1, 1, frame2, 24, frame25);
}
function frame1(){
stop();
grandaddy2 = MovieClip(this.parent.parent);
grandaddy2.humanhitest = false;
}
function frame25(){
gotoAndStop(1);
}
function frame2(){
stop();
}
}
}//package Game_fla
Section 29
//sewer_14 (Game_fla.sewer_14)
package Game_fla {
import flash.display.*;
public dynamic class sewer_14 extends MovieClip {
public function sewer_14(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Game_fla
Section 30
//sewer1_168 (Game_fla.sewer1_168)
package Game_fla {
import flash.display.*;
public dynamic class sewer1_168 extends MovieClip {
public function sewer1_168(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Game_fla
Section 31
//soundbox1_6 (Game_fla.soundbox1_6)
package Game_fla {
import flash.display.*;
import flash.events.*;
public dynamic class soundbox1_6 extends MovieClip {
public var stopClip:MovieClip;
public var playClip:MovieClip;
public function soundbox1_6(){
addFrameScript(0, frame1, 1, frame2);
}
public function resetsound(_arg1:MouseEvent):void{
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame2(){
stop();
this.addEventListener(MouseEvent.CLICK, resetsound);
}
}
}//package Game_fla
Section 32
//sprite286asere_99 (Game_fla.sprite286asere_99)
package Game_fla {
import flash.display.*;
public dynamic class sprite286asere_99 extends MovieClip {
public var flag:MovieClip;
}
}//package Game_fla
Section 33
//sprite286aserecopy_102 (Game_fla.sprite286aserecopy_102)
package Game_fla {
import flash.display.*;
public dynamic class sprite286aserecopy_102 extends MovieClip {
public var flag:MovieClip;
}
}//package Game_fla
Section 34
//startsesadfk_13 (Game_fla.startsesadfk_13)
package Game_fla {
import flash.display.*;
public dynamic class startsesadfk_13 extends MovieClip {
public function startsesadfk_13(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Game_fla
Section 35
//startsesadfk1_167 (Game_fla.startsesadfk1_167)
package Game_fla {
import flash.display.*;
public dynamic class startsesadfk1_167 extends MovieClip {
public function startsesadfk1_167(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Game_fla
Section 36
//Symbol1_45 (Game_fla.Symbol1_45)
package Game_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Symbol1_45 extends MovieClip {
public var timer_txt:TextField;
public var life1:MovieClip;
public var life3:MovieClip;
public var life2:MovieClip;
}
}//package Game_fla
Section 37
//Symbol21_44 (Game_fla.Symbol21_44)
package Game_fla {
import flash.display.*;
public dynamic class Symbol21_44 extends MovieClip {
public function Symbol21_44(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package Game_fla
Section 38
//Symbol27copy_28 (Game_fla.Symbol27copy_28)
package Game_fla {
import flash.display.*;
public dynamic class Symbol27copy_28 extends MovieClip {
public var hitplace1:MovieClip;
public var hitplace3:MovieClip;
public var hitplace7:MovieClip;
public var hitplace6:MovieClip;
public var hitplace8:MovieClip;
public var hitplace2:MovieClip;
public var hitplace5:MovieClip;
public var hitplace12:MovieClip;
public var hitplace13:MovieClip;
public var hitplace14:MovieClip;
public var hitplace11:MovieClip;
public var hitplace15:MovieClip;
public var hitplace9:MovieClip;
public var hitplace16:MovieClip;
public var hitplace10:MovieClip;
public var hitplace4:MovieClip;
public var hitplace17:MovieClip;
}
}//package Game_fla
Section 39
//Symbol30_42 (Game_fla.Symbol30_42)
package Game_fla {
import flash.display.*;
public dynamic class Symbol30_42 extends MovieClip {
public function Symbol30_42(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Game_fla
Section 40
//Symbol72_56 (Game_fla.Symbol72_56)
package Game_fla {
import flash.display.*;
public dynamic class Symbol72_56 extends MovieClip {
public var hit3:MovieClip;
public var hit4:MovieClip;
public var hit13:MovieClip;
public var hit1:MovieClip;
public var hit15:MovieClip;
public var hit11:MovieClip;
public var hit16:MovieClip;
public var hit21:MovieClip;
public var hit22:MovieClip;
public var hit23:MovieClip;
public var hit6:MovieClip;
public var hit20:MovieClip;
public var hit12:MovieClip;
public var hit7:MovieClip;
public var hit8:MovieClip;
public var hit5:MovieClip;
public var hit9:MovieClip;
public var hit18:MovieClip;
public var hit10:MovieClip;
public var hit19:MovieClip;
public var hit17:MovieClip;
public var hit14:MovieClip;
public var hit2:MovieClip;
}
}//package Game_fla
Section 41
//tgetmccopy2_49 (Game_fla.tgetmccopy2_49)
package Game_fla {
import flash.display.*;
import flash.media.*;
public dynamic class tgetmccopy2_49 extends MovieClip {
public var parksounds:parksound;
public var parksoundChannel:SoundChannel;
public function tgetmccopy2_49(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 84, frame85);
}
function frame85(){
gotoAndStop(1);
}
function frame3(){
parksounds = new parksound();
parksoundChannel = parksounds.play();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package Game_fla
Section 42
//thirdcarfirst3_157 (Game_fla.thirdcarfirst3_157)
package Game_fla {
import flash.display.*;
public dynamic class thirdcarfirst3_157 extends MovieClip {
public var hit3:MovieClip;
public var hit4:MovieClip;
public var hit13:MovieClip;
public var hit1:MovieClip;
public var hit15:MovieClip;
public var hit11:MovieClip;
public var hit16:MovieClip;
public var hit21:MovieClip;
public var hit22:MovieClip;
public var hit23:MovieClip;
public var hit6:MovieClip;
public var hit20:MovieClip;
public var hit12:MovieClip;
public var hit7:MovieClip;
public var hit8:MovieClip;
public var hit5:MovieClip;
public var hit9:MovieClip;
public var hit18:MovieClip;
public var hit10:MovieClip;
public var hit19:MovieClip;
public var hit17:MovieClip;
public var hit14:MovieClip;
public var hit2:MovieClip;
}
}//package Game_fla
Section 43
//thirdcarfirst6_155 (Game_fla.thirdcarfirst6_155)
package Game_fla {
import flash.display.*;
public dynamic class thirdcarfirst6_155 extends MovieClip {
public var hit3:MovieClip;
public var hit4:MovieClip;
public var hit13:MovieClip;
public var hit1:MovieClip;
public var hit15:MovieClip;
public var hit11:MovieClip;
public var hit16:MovieClip;
public var hit21:MovieClip;
public var hit22:MovieClip;
public var hit23:MovieClip;
public var hit6:MovieClip;
public var hit20:MovieClip;
public var hit12:MovieClip;
public var hit7:MovieClip;
public var hit8:MovieClip;
public var hit5:MovieClip;
public var hit9:MovieClip;
public var hit18:MovieClip;
public var hit10:MovieClip;
public var hit19:MovieClip;
public var hit17:MovieClip;
public var hit14:MovieClip;
public var hit2:MovieClip;
}
}//package Game_fla
Section 44
//thirdlevelone12_151 (Game_fla.thirdlevelone12_151)
package Game_fla {
import flash.display.*;
import flash.text.*;
public dynamic class thirdlevelone12_151 extends MovieClip {
public var timer_txt:TextField;
public var life1:MovieClip;
public var life3:MovieClip;
public var life2:MovieClip;
}
}//package Game_fla
Section 45
//thirdlevelone23copy_105 (Game_fla.thirdlevelone23copy_105)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy_105 extends MovieClip {
public function thirdlevelone23copy_105(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 46
//thirdlevelone23copy10_118 (Game_fla.thirdlevelone23copy10_118)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy10_118 extends MovieClip {
public function thirdlevelone23copy10_118(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 47
//thirdlevelone23copy11_119 (Game_fla.thirdlevelone23copy11_119)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy11_119 extends MovieClip {
public function thirdlevelone23copy11_119(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 48
//thirdlevelone23copy12_120 (Game_fla.thirdlevelone23copy12_120)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy12_120 extends MovieClip {
public function thirdlevelone23copy12_120(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 49
//thirdlevelone23copy13_121 (Game_fla.thirdlevelone23copy13_121)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy13_121 extends MovieClip {
public function thirdlevelone23copy13_121(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 50
//thirdlevelone23copy14_122 (Game_fla.thirdlevelone23copy14_122)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy14_122 extends MovieClip {
public function thirdlevelone23copy14_122(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 51
//thirdlevelone23copy2_108 (Game_fla.thirdlevelone23copy2_108)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy2_108 extends MovieClip {
public function thirdlevelone23copy2_108(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 52
//thirdlevelone23copy3_111 (Game_fla.thirdlevelone23copy3_111)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy3_111 extends MovieClip {
public function thirdlevelone23copy3_111(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 53
//thirdlevelone23copy4_112 (Game_fla.thirdlevelone23copy4_112)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy4_112 extends MovieClip {
public function thirdlevelone23copy4_112(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 54
//thirdlevelone23copy5_113 (Game_fla.thirdlevelone23copy5_113)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy5_113 extends MovieClip {
public function thirdlevelone23copy5_113(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 55
//thirdlevelone23copy6_114 (Game_fla.thirdlevelone23copy6_114)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy6_114 extends MovieClip {
public function thirdlevelone23copy6_114(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 56
//thirdlevelone23copy7_115 (Game_fla.thirdlevelone23copy7_115)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy7_115 extends MovieClip {
public function thirdlevelone23copy7_115(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 57
//thirdlevelone23copy8_116 (Game_fla.thirdlevelone23copy8_116)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy8_116 extends MovieClip {
public function thirdlevelone23copy8_116(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 58
//thirdlevelone23copy9_117 (Game_fla.thirdlevelone23copy9_117)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone23copy9_117 extends MovieClip {
public function thirdlevelone23copy9_117(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
trace("nextcar");
}
}
}//package Game_fla
Section 59
//thirdlevelone24_104 (Game_fla.thirdlevelone24_104)
package Game_fla {
import flash.display.*;
public dynamic class thirdlevelone24_104 extends MovieClip {
public var vc2:MovieClip;
public var vc3:MovieClip;
public var vc4:MovieClip;
public var hitplace1:MovieClip;
public var hitplace3:MovieClip;
public var hitplace7:MovieClip;
public var hitplace6:MovieClip;
public var hitplace8:MovieClip;
public var hitplace2:MovieClip;
public var hitplace5:MovieClip;
public var hitplace12:MovieClip;
public var hitplace13:MovieClip;
public var hitplace18:MovieClip;
public var hitplace19:MovieClip;
public var hitplace15:MovieClip;
public var hitplace11:MovieClip;
public var hitplace9:MovieClip;
public var hitplace16:MovieClip;
public var hitplace23:MovieClip;
public var hitplace25:MovieClip;
public var hitplace26:MovieClip;
public var hitplace4:MovieClip;
public var hitplace21:MovieClip;
public var hitplace24:MovieClip;
public var hitplace20:MovieClip;
public var hitplace17:MovieClip;
public var hitplace22:MovieClip;
public var hitplace14:MovieClip;
public var hitplace10:MovieClip;
}
}//package Game_fla
Section 60
//bgsound (bgsound)
package {
import flash.media.*;
public dynamic class bgsound extends Sound {
}
}//package
Section 61
//CarhitSnd (CarhitSnd)
package {
import flash.media.*;
public dynamic class CarhitSnd extends Sound {
}
}//package
Section 62
//explode_sound (explode_sound)
package {
import flash.media.*;
public dynamic class explode_sound extends Sound {
}
}//package
Section 63
//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{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
trace(("result" + _local5["swfid"]));
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 64
//parksound (parksound)
package {
import flash.media.*;
public dynamic class parksound extends Sound {
}
}//package