Section 1
//ft1_3 (tl_fla.ft1_3)
package tl_fla {
import flash.display.*;
public dynamic class ft1_3 extends MovieClip {
public function ft1_3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package tl_fla
Section 2
//laugh_4 (tl_fla.laugh_4)
package tl_fla {
import flash.display.*;
public dynamic class laugh_4 extends MovieClip {
public function laugh_4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package tl_fla
Section 3
//MainTimeline (tl_fla.MainTimeline)
package tl_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var txt:MovieClip;
public var btnIntroStart:introStartButton;
public var loader_mc:movie_mc;
public var loaded_txt:TextField;
public var laugh:MovieClip;
public var feather:MovieClip;
public var foot:MovieClip;
public var myInterval:uint;
public var bFeather;
public var tkArea;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function onProgress(_arg1:ProgressEvent):void{
var _local2:Number = _arg1.target.bytesLoaded;
var _local3:Number = _arg1.target.bytesTotal;
var _local4:Number = (_local2 / _local3);
loader_mc.scaleX = _local4;
loaded_txt.text = (("Loading... " + Math.round((_local4 * 100))) + "%");
}
public function onComplete(_arg1:Event):void{
loaded_txt.text = "Finished loading.";
btnIntroStart.alpha = 1;
btnIntroStart.addEventListener(MouseEvent.CLICK, startGame);
}
public function startGame(_arg1:MouseEvent):void{
gotoAndStop(2);
}
public function myTimer():void{
var _local1:*;
var _local2:*;
if (bFeather == true){
tkArea = 0;
_local1 = stage.mouseX;
_local2 = stage.mouseY;
if ((((((((_local1 > 328)) && ((_local2 > 233)))) && ((_local1 < 469)))) && ((_local2 < 319)))){
tkArea = 1;
} else {
if ((((((((_local1 > 269)) && ((_local2 > 223)))) && ((_local1 < 317)))) && ((_local2 < 284)))){
tkArea = 1;
} else {
if ((((((((_local1 > 600)) && ((_local2 > 44)))) && ((_local1 < 724)))) && ((_local2 < 243)))){
tkArea = 2;
} else {
if ((((((((_local1 > 556)) && ((_local2 > 519)))) && ((_local1 < 697)))) && ((_local2 < 630)))){
tkArea = 2;
} else {
if ((((((((_local1 > 808)) && ((_local2 > 358)))) && ((_local1 < 899)))) && ((_local2 < 448)))){
tkArea = 2;
};
};
};
};
};
if (tkArea > 0){
if (tkArea == 2){
foot.rotation = (Math.floor((Math.random() * 61)) - 31);
foot.gotoAndStop((Math.ceil((Math.random() * 4)) + 1));
} else {
foot.rotation = (Math.floor((Math.random() * 21)) - 11);
foot.gotoAndStop(1);
};
laugh.alpha = 1;
laugh.gotoAndStop(Math.ceil((Math.random() * 4)));
if (Math.floor((Math.random() * 2)) == 0){
laugh.scaleX = 1;
} else {
laugh.scaleX = -1;
};
feather.rotation = (Math.floor((Math.random() * 11)) - 5);
} else {
laugh.alpha = 0;
foot.gotoAndStop(1);
};
} else {
laugh.alpha = 0;
foot.gotoAndStop(1);
};
}
public function mouseClicked(_arg1:MouseEvent):void{
if ((((((((stage.mouseX > 122)) && ((stage.mouseY > 472)))) && ((stage.mouseX < 201)))) && ((stage.mouseY < 504)))){
stage.removeEventListener(MouseEvent.CLICK, mouseClicked);
bFeather = true;
feather.mouseEnabled = false;
feather.addEventListener(Event.ENTER_FRAME, customMouse);
Mouse.hide();
txt.alpha = 0;
};
}
public function customMouse(_arg1:Event):void{
feather.x = stage.mouseX;
feather.y = stage.mouseY;
}
function frame1(){
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
}
function frame2(){
myInterval = setInterval(myTimer, 330);
bFeather = false;
tkArea = 0;
stage.addEventListener(MouseEvent.CLICK, mouseClicked);
stop();
}
}
}//package tl_fla
Section 4
//introStartButton (introStartButton)
package {
import flash.display.*;
public dynamic class introStartButton extends MovieClip {
}
}//package
Section 5
//movie_mc (movie_mc)
package {
import flash.display.*;
public dynamic class movie_mc extends MovieClip {
}
}//package