Section 1
//MainTimeline (tbitw_cs3_fla.MainTimeline)
package tbitw_cs3_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
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 bird:MovieClip;
public var bg:MovieClip;
public var questions_mc:MovieClip;
public var btn_send:SimpleButton;
public var waves_mc:MovieClip;
public var users_name;
public var logo:MovieClip;
public var spin_mc:MovieClip;
public var send_friend:MovieClip;
public var waves_mc2:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1);
}
function frame1(){
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, resizeHandler);
users_name = (root.loaderInfo.parameters.your_name + ",");
questions_mc.question_box.question_name.text = users_name;
logo.addEventListener(MouseEvent.CLICK, callLink);
logo.buttonMode = true;
btn_send.addEventListener(MouseEvent.CLICK, openSend);
resizeHandler(null);
send_friend.visible = false;
stop();
}
public function resizeHandler(_arg1:Event):void{
btn_send.x = 0;
btn_send.y = stage.stageHeight;
send_friend.x = (send_friend.y = 0);
send_friend.bg.width = stage.stageWidth;
send_friend.bg.height = stage.stageHeight;
send_friend.send_box.x = (stage.stageWidth * 0.5);
send_friend.send_box.y = (stage.stageHeight * 0.5);
logo.x = stage.stageWidth;
logo.y = stage.stageHeight;
questions_mc.x = 0;
questions_mc.y = 0;
questions_mc.questions_bg.width = stage.stageWidth;
questions_mc.questions_bg.height = stage.stageHeight;
questions_mc.questions_bg.x = (questions_mc.questions_bg.y = 0);
questions_mc.question_box.x = (stage.stageWidth * 0.5);
questions_mc.question_box.y = (stage.stageHeight * 0.5);
bg.width = stage.stageWidth;
bg.height = stage.stageHeight;
bg.x = (bg.y = 0);
bird.x = (stage.stageWidth * 0.5);
bird.y = (stage.stageHeight - 80);
waves_mc.x = (stage.stageWidth * 0.5);
waves_mc.y = (stage.stageHeight - 75);
waves_mc2.x = (stage.stageWidth * 0.5);
waves_mc2.y = (stage.stageHeight - 160);
spin_mc.width = (stage.stageWidth + 2000);
spin_mc.height = (stage.stageHeight + 2000);
spin_mc.x = (stage.stageWidth * 0.5);
spin_mc.y = (stage.stageHeight - 100);
}
public function callLink(_arg1:MouseEvent):void{
var e = _arg1;
var url = "http://www.lolzllc.com";
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, "_self");
} catch(e:Error) {
trace("Error occurred!");
};
}
public function openSend(_arg1:MouseEvent){
send_friend.visible = true;
}
}
}//package tbitw_cs3_fla
Section 2
//question_text_22 (tbitw_cs3_fla.question_text_22)
package tbitw_cs3_fla {
import flash.display.*;
public dynamic class question_text_22 extends MovieClip {
public function question_text_22(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame3(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
}
}//package tbitw_cs3_fla
Section 3
//Questions_17 (tbitw_cs3_fla.Questions_17)
package tbitw_cs3_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Questions_17 extends MovieClip {
public var no_button:SimpleButton;
public var question_name:TextField;
public var yes_button:SimpleButton;
public var questions_text:MovieClip;
public function Questions_17(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package tbitw_cs3_fla
Section 4
//questions_bg_15 (tbitw_cs3_fla.questions_bg_15)
package tbitw_cs3_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class questions_bg_15 extends MovieClip {
public var question_box:MovieClip;
public var frame_num:Number;
public var questions_bg:MovieClip;
public function questions_bg_15(){
addFrameScript(0, frame1);
}
public function yesClicked(_arg1:MouseEvent){
frame_num = (frame_num + 1);
question_box.questions_text.gotoAndStop(frame_num);
}
function frame1(){
question_box.yes_button.addEventListener(MouseEvent.CLICK, yesClicked);
question_box.no_button.addEventListener(MouseEvent.CLICK, noClicked);
frame_num = 1;
}
public function noClicked(_arg1:MouseEvent){
questions_bg.visible = false;
question_box.visible = false;
playSound();
}
public function playSound():void{
var _local2:SoundChannel;
var _local1:birdSound = new birdSound();
_local2 = _local1.play(0, 100000);
var _local3:SoundTransform = new SoundTransform();
_local3.volume = 3;
}
}
}//package tbitw_cs3_fla
Section 5
//send_to_friend_23 (tbitw_cs3_fla.send_to_friend_23)
package tbitw_cs3_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class send_to_friend_23 extends MovieClip {
public var send_box:MovieClip;
public var bg:MovieClip;
public function send_to_friend_23(){
addFrameScript(0, frame1);
}
public function checkBoxes(_arg1:Event){
var _local2:String = send_box.their_name.text;
_local2 = strReplace(_local2, " ", "_");
send_box.their_url.text = ("http://www.tbitw.com/" + _local2);
}
public function strReplace(_arg1:String, _arg2:String, _arg3:String):String{
return (_arg1.split(_arg2).join(_arg3));
}
function frame1(){
this.addEventListener(Event.ENTER_FRAME, checkBoxes);
send_box.btn_close.addEventListener(MouseEvent.CLICK, closeMovie);
}
public function closeMovie(_arg1:MouseEvent){
this.visible = false;
}
}
}//package tbitw_cs3_fla
Section 6
//spinnymc_2 (tbitw_cs3_fla.spinnymc_2)
package tbitw_cs3_fla {
import flash.events.*;
import flash.display.*;
public dynamic class spinnymc_2 extends MovieClip {
public var spinny:MovieClip;
public function spinnymc_2(){
addFrameScript(0, frame1);
}
function frame1(){
spinny.addEventListener(Event.ENTER_FRAME, spinIt);
}
public function spinIt(_arg1:Event){
spinny.rotation = (spinny.rotation + 1);
}
}
}//package tbitw_cs3_fla
Section 7
//birdSound (birdSound)
package {
import flash.media.*;
public dynamic class birdSound extends Sound {
}
}//package