Section 1
//Baggy_11 (gators_fla.Baggy_11)
package gators_fla {
import flash.display.*;
public dynamic class Baggy_11 extends MovieClip {
public var audioBaggy:baggyFeet;
public function Baggy_11(){
addFrameScript(0, frame1, 9, frame10, 16, frame17, 22, frame23, 28, frame29);
}
function frame17(){
this.gotoAndPlay(10);
}
function frame1(){
this.stop();
}
function frame29(){
this.gotoAndPlay(26);
}
function frame10(){
audioBaggy = new baggyFeet();
audioBaggy.play();
}
function frame23(){
this.gotoAndPlay(20);
}
}
}//package gators_fla
Section 2
//Granny_10 (gators_fla.Granny_10)
package gators_fla {
import flash.display.*;
public dynamic class Granny_10 extends MovieClip {
public var audioGranny:grannyFeet;
public function Granny_10(){
addFrameScript(0, frame1, 9, frame10, 16, frame17, 21, frame22, 28, frame29);
}
function frame17(){
this.gotoAndPlay(10);
}
function frame1(){
this.stop();
}
function frame29(){
this.gotoAndPlay(26);
}
function frame10(){
audioGranny = new grannyFeet();
audioGranny.play();
}
function frame22(){
this.gotoAndPlay(20);
}
}
}//package gators_fla
Section 3
//Lila_12 (gators_fla.Lila_12)
package gators_fla {
import flash.display.*;
public dynamic class Lila_12 extends MovieClip {
public function Lila_12(){
addFrameScript(17, frame18, 34, frame35);
}
function frame18(){
this.gotoAndPlay(1);
}
function frame35(){
this.stop();
}
}
}//package gators_fla
Section 4
//MainTimeline (gators_fla.MainTimeline)
package gators_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var lila_mc:MovieClip;
public var banner_mc:MovieClip;
public var a:int;
public var char4_mc:MovieClip;
public var char2_mc:MovieClip;
public var temp:Number;
public var racetrack_mc:MovieClip;
public var pos:int;
public var chk:int;
public var i;
public var arrPosition:Array;
public var restart_btn:SimpleButton;
public var lowest:int;
public var char3_mc:MovieClip;
public var char1_mc:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 23, frame24, 35, frame36, 47, frame48, 59, frame60, 71, frame72, 83, frame84, 99, frame100, 104, frame105, 119, frame120);
}
function frame84(){
temp = (Math.random() * 4);
temp = Math.ceil(temp);
this[(("char" + temp) + "_mc")].x = (this[(("char" + temp) + "_mc")].x - 50);
}
function frame120(){
this.stop();
}
function frame24(){
temp = (Math.random() * 4);
temp = Math.ceil(temp);
this[(("char" + temp) + "_mc")].x = (this[(("char" + temp) + "_mc")].x - 50);
}
function frame72(){
temp = (Math.random() * 4);
temp = Math.ceil(temp);
this[(("char" + temp) + "_mc")].x = (this[(("char" + temp) + "_mc")].x - 50);
}
function frame105(){
this.restart_btn.visible = true;
}
function frame36(){
temp = (Math.random() * 4);
temp = Math.ceil(temp);
this[(("char" + temp) + "_mc")].x = (this[(("char" + temp) + "_mc")].x - 50);
}
public function raceStart(_arg1:MouseEvent):void{
this.gotoAndPlay(2);
this.lila_mc.gotoAndPlay(21);
this.racetrack_mc.gotoAndPlay(2);
this.char1_mc.gotoAndPlay(5);
this.char2_mc.gotoAndPlay(5);
this.char3_mc.gotoAndPlay(5);
this.char4_mc.gotoAndPlay(5);
this.banner_mc.visible = false;
var _local2:shot = new shot();
_local2.play();
}
function frame60(){
temp = (Math.random() * 4);
temp = Math.ceil(temp);
this[(("char" + temp) + "_mc")].x = (this[(("char" + temp) + "_mc")].x - 50);
}
function frame1(){
this.lila_mc.buttonMode = true;
this.lila_mc.addEventListener(MouseEvent.CLICK, raceStart);
this.restart_btn.addEventListener(MouseEvent.CLICK, raceReset);
this.restart_btn.visible = false;
this.stop();
}
function frame48(){
temp = (Math.random() * 4);
temp = Math.ceil(temp);
this[(("char" + temp) + "_mc")].x = (this[(("char" + temp) + "_mc")].x - 50);
}
function frame100(){
arrPosition = new Array(4);
arrPosition[0] = this.char1_mc.x;
arrPosition[1] = this.char2_mc.x;
arrPosition[2] = this.char3_mc.x;
arrPosition[3] = this.char4_mc.x;
lowest = arrPosition[0];
pos = 0;
for (i in arrPosition) {
if (arrPosition[i] < lowest){
lowest = arrPosition[i];
pos = i;
};
};
chk = (pos + 1);
a = 1;
while (a <= 4) {
if (a == chk){
this[(("char" + a) + "_mc")].gotoAndPlay(26);
} else {
this[(("char" + a) + "_mc")].gotoAndPlay(20);
};
a++;
};
}
public function raceReset(_arg1:MouseEvent):void{
this.banner_mc.visible = true;
this.gotoAndStop(1);
this.racetrack_mc.gotoAndStop(1);
this.lila_mc.gotoAndPlay(1);
this.char1_mc.gotoAndStop(1);
this.char2_mc.gotoAndStop(1);
this.char3_mc.gotoAndStop(1);
this.char4_mc.gotoAndStop(1);
this.char1_mc.x = 780;
this.char2_mc.x = 780;
this.char3_mc.x = 780;
this.char4_mc.x = 780;
}
}
}//package gators_fla
Section 5
//Navi_9 (gators_fla.Navi_9)
package gators_fla {
import flash.display.*;
public dynamic class Navi_9 extends MovieClip {
public var audioNavi:naviFeet;
public function Navi_9(){
addFrameScript(0, frame1, 9, frame10, 16, frame17, 22, frame23, 28, frame29);
}
function frame17(){
this.gotoAndPlay(10);
}
function frame1(){
this.stop();
}
function frame29(){
this.gotoAndPlay(26);
}
function frame10(){
audioNavi = new naviFeet();
audioNavi.play();
}
function frame23(){
this.gotoAndPlay(20);
}
}
}//package gators_fla
Section 6
//Nipper_8 (gators_fla.Nipper_8)
package gators_fla {
import flash.display.*;
public dynamic class Nipper_8 extends MovieClip {
public var audioNipper:nipperFeet;
public function Nipper_8(){
addFrameScript(0, frame1, 9, frame10, 16, frame17, 22, frame23, 28, frame29);
}
function frame17(){
this.gotoAndPlay(10);
}
function frame1(){
this.stop();
}
function frame29(){
this.gotoAndPlay(26);
}
function frame10(){
audioNipper = new nipperFeet();
audioNipper.play();
}
function frame23(){
this.gotoAndPlay(20);
}
}
}//package gators_fla
Section 7
//Racetrack_1 (gators_fla.Racetrack_1)
package gators_fla {
import flash.display.*;
public dynamic class Racetrack_1 extends MovieClip {
public var audioCrowd:cheer;
public function Racetrack_1(){
addFrameScript(0, frame1, 1, frame2, 73, frame74, 119, frame120);
}
function frame120(){
this.stop();
}
function frame1(){
this.stop();
}
function frame2(){
audioCrowd = new cheer();
audioCrowd.play();
}
function frame74(){
audioCrowd.play();
}
}
}//package gators_fla
Section 8
//baggyFeet (baggyFeet)
package {
import flash.media.*;
public dynamic class baggyFeet extends Sound {
}
}//package
Section 9
//cheer (cheer)
package {
import flash.media.*;
public dynamic class cheer extends Sound {
}
}//package
Section 10
//grannyFeet (grannyFeet)
package {
import flash.media.*;
public dynamic class grannyFeet extends Sound {
}
}//package
Section 11
//naviFeet (naviFeet)
package {
import flash.media.*;
public dynamic class naviFeet extends Sound {
}
}//package
Section 12
//nipperFeet (nipperFeet)
package {
import flash.media.*;
public dynamic class nipperFeet extends Sound {
}
}//package
Section 13
//shot (shot)
package {
import flash.media.*;
public dynamic class shot extends Sound {
}
}//package