Section 1
//animBackgrounds_271 (BunnyBuilderWeb_fla.animBackgrounds_271)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.filters.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class animBackgrounds_271 extends MovieClip {
public var anim1_mc:SimpleButton;
public var selectedBox_mc:MovieClip;
public var anim4_mc:SimpleButton;
public var anim2_mc:SimpleButton;
public var anim3_mc:SimpleButton;
public function animBackgrounds_271(){
addFrameScript(0, frame1);
}
public function a_four(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop("space");
selectedBox_mc.x = anim4_mc.x;
selectedBox_mc.y = anim4_mc.y;
}
function frame1(){
anim1_mc.addEventListener(MouseEvent.CLICK, a_one);
anim2_mc.addEventListener(MouseEvent.CLICK, a_two);
anim3_mc.addEventListener(MouseEvent.CLICK, a_three);
anim4_mc.addEventListener(MouseEvent.CLICK, a_four);
}
public function a_three(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop("graveyard");
selectedBox_mc.x = anim3_mc.x;
selectedBox_mc.y = anim3_mc.y;
}
public function a_two(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop("forest");
selectedBox_mc.x = anim2_mc.x;
selectedBox_mc.y = anim2_mc.y;
}
public function a_one(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop("fantasy");
selectedBox_mc.x = anim1_mc.x;
selectedBox_mc.y = anim1_mc.y;
}
}
}//package BunnyBuilderWeb_fla
Section 2
//backButton_69 (BunnyBuilderWeb_fla.backButton_69)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class backButton_69 extends MovieClip {
public function backButton_69(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 3
//backgrounds_96 (BunnyBuilderWeb_fla.backgrounds_96)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class backgrounds_96 extends MovieClip {
public var space:MovieClip;
public var forest:MovieClip;
public var graveyard:MovieClip;
public function backgrounds_96(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 4
//bat_fly_down_155 (BunnyBuilderWeb_fla.bat_fly_down_155)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bat_fly_down_155 extends MovieClip {
public function bat_fly_down_155(){
addFrameScript(0, frame1, 249, frame250);
}
function frame1(){
stop();
}
function frame250(){
(parent as MovieClip).gotoAndStop(1);
}
}
}//package BunnyBuilderWeb_fla
Section 5
//bgArrow_281 (BunnyBuilderWeb_fla.bgArrow_281)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bgArrow_281 extends MovieClip {
public function bgArrow_281(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 6
//bgProperties_257 (BunnyBuilderWeb_fla.bgProperties_257)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.filters.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class bgProperties_257 extends MovieClip {
public var bg6_mc:SimpleButton;
public var selectedBox_mc:MovieClip;
public var bg1_mc:SimpleButton;
public var bg9_mc:SimpleButton;
public var bg7_mc:SimpleButton;
public var bg12_mc:SimpleButton;
public var bg4_mc:SimpleButton;
public var bg10_mc:SimpleButton;
public var bg2_mc:SimpleButton;
public var bg5_mc:SimpleButton;
public var bg8_mc:SimpleButton;
public var bg3_mc:SimpleButton;
public var bg11_mc:SimpleButton;
public function bgProperties_257(){
addFrameScript(0, frame1);
}
public function seven(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(7);
selectedBox_mc.x = bg7_mc.x;
selectedBox_mc.y = bg7_mc.y;
}
public function four(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(4);
selectedBox_mc.x = bg4_mc.x;
selectedBox_mc.y = bg4_mc.y;
}
public function ten(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(10);
selectedBox_mc.x = bg10_mc.x;
selectedBox_mc.y = bg10_mc.y;
}
public function eleven(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(11);
selectedBox_mc.x = bg11_mc.x;
selectedBox_mc.y = bg11_mc.y;
}
public function two(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(2);
selectedBox_mc.x = bg2_mc.x;
selectedBox_mc.y = bg2_mc.y;
}
public function one(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(1);
selectedBox_mc.x = bg1_mc.x;
selectedBox_mc.y = bg1_mc.y;
}
function frame1(){
bg1_mc.addEventListener(MouseEvent.CLICK, one);
bg2_mc.addEventListener(MouseEvent.CLICK, two);
bg3_mc.addEventListener(MouseEvent.CLICK, three);
bg4_mc.addEventListener(MouseEvent.CLICK, four);
bg5_mc.addEventListener(MouseEvent.CLICK, five);
bg6_mc.addEventListener(MouseEvent.CLICK, six);
bg7_mc.addEventListener(MouseEvent.CLICK, seven);
bg8_mc.addEventListener(MouseEvent.CLICK, eight);
bg9_mc.addEventListener(MouseEvent.CLICK, nine);
bg10_mc.addEventListener(MouseEvent.CLICK, ten);
bg11_mc.addEventListener(MouseEvent.CLICK, eleven);
bg12_mc.addEventListener(MouseEvent.CLICK, twelve);
}
public function twelve(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(12);
selectedBox_mc.x = bg12_mc.x;
selectedBox_mc.y = bg12_mc.y;
}
public function eight(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(8);
selectedBox_mc.x = bg8_mc.x;
selectedBox_mc.y = bg8_mc.y;
}
public function five(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(5);
selectedBox_mc.x = bg5_mc.x;
selectedBox_mc.y = bg5_mc.y;
}
public function nine(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(9);
selectedBox_mc.x = bg9_mc.x;
selectedBox_mc.y = bg9_mc.y;
}
public function three(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(3);
selectedBox_mc.x = bg3_mc.x;
selectedBox_mc.y = bg3_mc.y;
}
public function six(_arg1:MouseEvent):void{
(parent.parent as MovieClip).bg_mc.gotoAndStop(6);
selectedBox_mc.x = bg6_mc.x;
selectedBox_mc.y = bg6_mc.y;
}
}
}//package BunnyBuilderWeb_fla
Section 7
//bgToolbar_251 (BunnyBuilderWeb_fla.bgToolbar_251)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bgToolbar_251 extends MovieClip {
public function bgToolbar_251(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package BunnyBuilderWeb_fla
Section 8
//boyParts_282 (BunnyBuilderWeb_fla.boyParts_282)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class boyParts_282 extends MovieClip {
public var pants:BoyPants;
public var torso:BoyBody;
public var lLeg:BoyLeg1;
public var rPupil:BoyPupil1;
public var lEye:BoyEyewhite2;
public var beard:BoyBeard;
public var glasses:BoyGlasses;
public var rLeg:BoyLeg2;
public var tail:BoyTail;
public var rEye:BoyEyewhite2;
public var lPupil:BoyPupil1;
public var mustache:BoyMustache;
public var lEar:BoyEar1;
public var rEar:BoyEar2;
public var rArm:BoyArm2;
public var lArm:BoyArm1;
public var rBrow:BoyBrow2;
public var mouth:BoyMouth;
public var lBrow:bunnyBrow1;
public var nose:BoyNose;
}
}//package BunnyBuilderWeb_fla
Section 9
//bunny_girl_arm_1_299 (BunnyBuilderWeb_fla.bunny_girl_arm_1_299)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_arm_1_299 extends MovieClip {
public function bunny_girl_arm_1_299(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 10
//bunny_girl_arm_2_292 (BunnyBuilderWeb_fla.bunny_girl_arm_2_292)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_arm_2_292 extends MovieClip {
public function bunny_girl_arm_2_292(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 11
//bunny_girl_body_294 (BunnyBuilderWeb_fla.bunny_girl_body_294)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_body_294 extends MovieClip {
public function bunny_girl_body_294(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 12
//bunny_girl_chest_1_295 (BunnyBuilderWeb_fla.bunny_girl_chest_1_295)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_chest_1_295 extends MovieClip {
public function bunny_girl_chest_1_295(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 13
//bunny_girl_chest_2_296 (BunnyBuilderWeb_fla.bunny_girl_chest_2_296)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_chest_2_296 extends MovieClip {
public function bunny_girl_chest_2_296(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 14
//bunny_girl_ear_1_297 (BunnyBuilderWeb_fla.bunny_girl_ear_1_297)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_ear_1_297 extends MovieClip {
public function bunny_girl_ear_1_297(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 15
//bunny_girl_ear_2_298 (BunnyBuilderWeb_fla.bunny_girl_ear_2_298)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_ear_2_298 extends MovieClip {
public function bunny_girl_ear_2_298(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 16
//bunny_girl_eye_2_304 (BunnyBuilderWeb_fla.bunny_girl_eye_2_304)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_eye_2_304 extends MovieClip {
public function bunny_girl_eye_2_304(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 17
//bunny_girl_eye_305 (BunnyBuilderWeb_fla.bunny_girl_eye_305)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_eye_305 extends MovieClip {
public function bunny_girl_eye_305(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 18
//bunny_girl_eyebrow_306 (BunnyBuilderWeb_fla.bunny_girl_eyebrow_306)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_eyebrow_306 extends MovieClip {
public function bunny_girl_eyebrow_306(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 19
//bunny_girl_eyebrow2_307 (BunnyBuilderWeb_fla.bunny_girl_eyebrow2_307)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_eyebrow2_307 extends MovieClip {
public function bunny_girl_eyebrow2_307(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 20
//bunny_girl_hat_310 (BunnyBuilderWeb_fla.bunny_girl_hat_310)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_hat_310 extends MovieClip {
public function bunny_girl_hat_310(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 21
//bunny_girl_head_300 (BunnyBuilderWeb_fla.bunny_girl_head_300)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_head_300 extends MovieClip {
public function bunny_girl_head_300(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 22
//bunny_girl_leg_1_308 (BunnyBuilderWeb_fla.bunny_girl_leg_1_308)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_leg_1_308 extends MovieClip {
public function bunny_girl_leg_1_308(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 23
//bunny_girl_leg_2_293 (BunnyBuilderWeb_fla.bunny_girl_leg_2_293)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_leg_2_293 extends MovieClip {
public function bunny_girl_leg_2_293(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 24
//bunny_girl_mouth_301 (BunnyBuilderWeb_fla.bunny_girl_mouth_301)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_mouth_301 extends MovieClip {
public function bunny_girl_mouth_301(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 25
//bunny_girl_nose_303 (BunnyBuilderWeb_fla.bunny_girl_nose_303)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_nose_303 extends MovieClip {
public function bunny_girl_nose_303(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 26
//bunny_girl_sunglasses_312 (BunnyBuilderWeb_fla.bunny_girl_sunglasses_312)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_sunglasses_312 extends MovieClip {
public function bunny_girl_sunglasses_312(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 27
//bunny_girl_tail_291 (BunnyBuilderWeb_fla.bunny_girl_tail_291)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_girl_tail_291 extends MovieClip {
public function bunny_girl_tail_291(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 28
//bunny_in_space_180 (BunnyBuilderWeb_fla.bunny_in_space_180)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny_in_space_180 extends MovieClip {
public function bunny_in_space_180(){
addFrameScript(0, frame1, 517, frame518);
}
function frame1(){
stop();
}
function frame518(){
(parent as MovieClip).gotoAndStop(1);
}
}
}//package BunnyBuilderWeb_fla
Section 29
//bunny1_226 (BunnyBuilderWeb_fla.bunny1_226)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class bunny1_226 extends MovieClip {
public var mouth_mc:BoyMouth;
public var arm2_mc:BoyArm1;
public var ear2_mc:BoyEar2;
public var eyeWhite2_mc:BoyEyewhite2;
public var body_mc:BoyBody;
public var head_mc:BoyHead;
public var brow2_mc:BoyBrow2;
public var leg1_mc:BoyLeg1;
public var nose_mc:BoyNose;
public var arm1_mc:BoyArm2;
public var leg2_mc:BoyLeg2;
public var pupil1_mc:BoyPupil1;
public var tail_mc:BoyTail;
}
}//package BunnyBuilderWeb_fla
Section 30
//button_223 (BunnyBuilderWeb_fla.button_223)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class button_223 extends MovieClip {
public function button_223(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
stop();
}
function frame9(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 31
//button_press_arm_11 (BunnyBuilderWeb_fla.button_press_arm_11)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class button_press_arm_11 extends MovieClip {
public var red_button:MovieClip;
public function button_press_arm_11(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 32
//cave_bunny_appear_109 (BunnyBuilderWeb_fla.cave_bunny_appear_109)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class cave_bunny_appear_109 extends MovieClip {
public function cave_bunny_appear_109(){
addFrameScript(0, frame1, 139, frame140);
}
function frame1(){
stop();
}
function frame140(){
(parent as MovieClip).gotoAndStop(1);
}
}
}//package BunnyBuilderWeb_fla
Section 33
//cave_bunny_eye_1_110 (BunnyBuilderWeb_fla.cave_bunny_eye_1_110)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class cave_bunny_eye_1_110 extends MovieClip {
public function cave_bunny_eye_1_110(){
addFrameScript(50, frame51);
}
function frame51(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 34
//clearButton_250 (BunnyBuilderWeb_fla.clearButton_250)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class clearButton_250 extends MovieClip {
public function clearButton_250(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 35
//colorButton_252 (BunnyBuilderWeb_fla.colorButton_252)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class colorButton_252 extends MovieClip {
public function colorButton_252(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 36
//dragOffButton_244 (BunnyBuilderWeb_fla.dragOffButton_244)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class dragOffButton_244 extends MovieClip {
public function dragOffButton_244(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 37
//dragOnButton_242 (BunnyBuilderWeb_fla.dragOnButton_242)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class dragOnButton_242 extends MovieClip {
public function dragOnButton_242(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 38
//extra_images_87 (BunnyBuilderWeb_fla.extra_images_87)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.filters.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class extra_images_87 extends MovieClip {
public var back_btn:SimpleButton;
public var wyattMiles_btn:SimpleButton;
public var next_btn:SimpleButton;
public var jasonKeyser_btn:SimpleButton;
public var koryHubbell_btn:SimpleButton;
public var rachelBennett_btn:SimpleButton;
public var ronJensen_btn:SimpleButton;
public var RosalieLedezma_btn:SimpleButton;
public function extra_images_87(){
addFrameScript(0, frame1, 2, frame3, 4, frame5, 7, frame8, 9, frame10, 10, frame11);
}
public function rlWebsite(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://brushaday.blogspot.com/");
navigateToURL(_local2, "_blank");
}
public function jkWebsite(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://keyserhouse.blogspot.com");
navigateToURL(_local2, "_blank");
}
public function nextPage(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = _arg1.target.parent;
if (_local2.currentFrame == _local2.totalFrames){
_local2.gotoAndStop(1);
} else {
_local2.nextFrame();
};
}
public function rjWebsite(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://alldrawnout.blogspot.com");
navigateToURL(_local2, "_blank");
}
function frame10(){
jasonKeyser_btn.addEventListener(MouseEvent.MOUSE_DOWN, jkWebsite);
}
public function rbWebsite(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://ninjaweasels.blogspot.com");
navigateToURL(_local2, "_blank");
}
function frame3(){
rachelBennett_btn.addEventListener(MouseEvent.MOUSE_DOWN, rbWebsite);
}
public function prevPage(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = _arg1.target.parent;
if (_local2.currentFrame == 1){
_local2.gotoAndStop(_local2.totalFrames);
} else {
_arg1.target.parent.prevFrame();
};
}
function frame1(){
ronJensen_btn.addEventListener(MouseEvent.MOUSE_DOWN, rjWebsite);
stop();
back_btn.addEventListener(MouseEvent.MOUSE_DOWN, prevPage);
next_btn.addEventListener(MouseEvent.MOUSE_DOWN, nextPage);
}
function frame8(){
koryHubbell_btn.addEventListener(MouseEvent.MOUSE_DOWN, khWebsite);
}
function frame5(){
wyattMiles_btn.addEventListener(MouseEvent.MOUSE_DOWN, wmWebsite);
}
function frame11(){
RosalieLedezma_btn.addEventListener(MouseEvent.MOUSE_DOWN, rlWebsite);
}
public function khWebsite(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://koryhubbell.blogspot.com");
navigateToURL(_local2, "_blank");
}
public function wmWebsite(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.wyattsmiles.blogspot.com");
navigateToURL(_local2, "_blank");
}
}
}//package BunnyBuilderWeb_fla
Section 39
//fishAnimation_121 (BunnyBuilderWeb_fla.fishAnimation_121)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class fishAnimation_121 extends MovieClip {
public function fishAnimation_121(){
addFrameScript(0, frame1, 79, frame80);
}
function frame80(){
(parent as MovieClip).gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 40
//FlipHorizontalButton_77 (BunnyBuilderWeb_fla.FlipHorizontalButton_77)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class FlipHorizontalButton_77 extends MovieClip {
public function FlipHorizontalButton_77(){
addFrameScript(0, frame1, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 41
//FlipVerticalButton_76 (BunnyBuilderWeb_fla.FlipVerticalButton_76)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class FlipVerticalButton_76 extends MovieClip {
public function FlipVerticalButton_76(){
addFrameScript(0, frame1, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 42
//forrest_bg_107 (BunnyBuilderWeb_fla.forrest_bg_107)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
public dynamic class forrest_bg_107 extends MovieClip {
public var fish_btn:MovieClip;
public var owl_btn:MovieClip;
public var fish:MovieClip;
public var cave_bunny:MovieClip;
public var owl:MovieClip;
public var deer_btn:MovieClip;
public var bambun:MovieClip;
public var cave_btn:MovieClip;
public function forrest_bg_107(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
owl_btn.buttonMode = true;
fish_btn.buttonMode = true;
deer_btn.buttonMode = true;
cave_btn.buttonMode = true;
owl_btn.addEventListener(MouseEvent.MOUSE_DOWN, playOwl);
fish_btn.addEventListener(MouseEvent.MOUSE_DOWN, playFish);
deer_btn.addEventListener(MouseEvent.MOUSE_DOWN, playDeer);
cave_btn.addEventListener(MouseEvent.MOUSE_DOWN, playCave);
}
function frame2(){
stop();
}
public function playFish(_arg1:MouseEvent):void{
fish.gotoAndPlay(2);
this.gotoAndStop(2);
}
public function playDeer(_arg1:MouseEvent):void{
bambun.gotoAndPlay(2);
this.gotoAndStop(2);
}
public function playOwl(_arg1:MouseEvent):void{
owl.gotoAndPlay(2);
this.gotoAndStop(2);
}
public function playCave(_arg1:MouseEvent):void{
cave_bunny.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}//package BunnyBuilderWeb_fla
Section 43
//forrest_tree_114 (BunnyBuilderWeb_fla.forrest_tree_114)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class forrest_tree_114 extends MovieClip {
public function forrest_tree_114(){
addFrameScript(0, frame1, 333, frame334);
}
function frame334(){
(parent as MovieClip).gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 44
//girlBunny_290 (BunnyBuilderWeb_fla.girlBunny_290)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class girlBunny_290 extends MovieClip {
public var pupil1_mc:BoyPupil1;
}
}//package BunnyBuilderWeb_fla
Section 45
//girlParts_309 (BunnyBuilderWeb_fla.girlParts_309)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class girlParts_309 extends MovieClip {
public var lChest:MovieClip;
public var lLeg:MovieClip;
public var torso:MovieClip;
public var rPupil:BoyPupil1;
public var lEye:MovieClip;
public var glasses:MovieClip;
public var rLeg:MovieClip;
public var tail:MovieClip;
public var lArm:MovieClip;
public var rEye:MovieClip;
public var lPupil:BoyPupil1;
public var lEar:MovieClip;
public var rEar:MovieClip;
public var rArm:MovieClip;
public var rChest:MovieClip;
public var hat:MovieClip;
public var rBrow:MovieClip;
public var mouth:MovieClip;
public var lBrow:MovieClip;
public var nose:MovieClip;
}
}//package BunnyBuilderWeb_fla
Section 46
//graveyard_arm_outta_ground_161 (BunnyBuilderWeb_fla.graveyard_arm_outta_ground_161)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class graveyard_arm_outta_ground_161 extends MovieClip {
public function graveyard_arm_outta_ground_161(){
addFrameScript(0, frame1, 125, frame126);
}
function frame1(){
stop();
}
function frame126(){
(parent as MovieClip).gotoAndStop(1);
}
}
}//package BunnyBuilderWeb_fla
Section 47
//graveyard_BG_123 (BunnyBuilderWeb_fla.graveyard_BG_123)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
public dynamic class graveyard_BG_123 extends MovieClip {
public var tiny:MovieClip;
public var bat:MovieClip;
public var bat_btn:MovieClip;
public var zombie_walk:MovieClip;
public var tiny_btn:MovieClip;
public var lucky_arm:MovieClip;
public var bat_button:MovieClip;
public var lucky_btn:MovieClip;
public var cross_btn:MovieClip;
public function graveyard_BG_123(){
addFrameScript(0, frame1, 1, frame2);
}
public function playLucky(_arg1:MouseEvent):void{
lucky_arm.gotoAndPlay(2);
this.gotoAndStop(2);
}
public function playBat(_arg1:MouseEvent):void{
bat.gotoAndPlay(2);
this.gotoAndStop(2);
}
public function playTiny(_arg1:MouseEvent):void{
tiny.gotoAndPlay(2);
this.gotoAndStop(2);
}
function frame1(){
stop();
lucky_btn.buttonMode = true;
tiny_btn.buttonMode = true;
cross_btn.buttonMode = true;
bat_btn.buttonMode = true;
lucky_btn.addEventListener(MouseEvent.MOUSE_DOWN, playLucky);
tiny_btn.addEventListener(MouseEvent.MOUSE_DOWN, playTiny);
cross_btn.addEventListener(MouseEvent.MOUSE_DOWN, playZombie);
bat_btn.addEventListener(MouseEvent.MOUSE_DOWN, playBat);
}
function frame2(){
stop();
}
public function playZombie(_arg1:MouseEvent):void{
zombie_walk.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}//package BunnyBuilderWeb_fla
Section 48
//hotkeys_316 (BunnyBuilderWeb_fla.hotkeys_316)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.ui.*;
public dynamic class hotkeys_316 extends MovieClip {
public var rotateUpdate:Number;
public var practice_mc:MovieClip;
public var easing:Number;
public var practiceUp_mc:MovieClip;
public var practice_btn:SimpleButton;
public var xMove:Number;
public var hotkeysDown_mc:MovieClip;
public var practiceButtonUp_mc:MovieClip;
public var practiceButtonDown_mc:MovieClip;
public var rotateNumber:Number;
public var glowFilter:GlowFilter;
public var hotkeysUp_mc:MovieClip;
public var yScale:Number;
public var practiceDown_mc:MovieClip;
public var xScale:Number;
public var scaleUpdate:Number;
public var mask_mc:MovieClip;
public var update:Number;
public var glasses_mc:BoyGlasses;
public var hotkeys_mc:MovieClip;
public var centerMarker_mc:MovieClip;
public var yMove:Number;
public function hotkeys_316(){
addFrameScript(0, frame1);
}
public function movementFrom(_arg1:Event):void{
hotkeys_mc.y = (hotkeys_mc.y + ((hotkeysDown_mc.y - hotkeys_mc.y) / easing));
practice_mc.y = (practice_mc.y + ((practiceUp_mc.y - practice_mc.y) / easing));
practice_btn.y = (practice_btn.y + ((practiceButtonDown_mc.y - practice_btn.y) / easing));
glasses_mc.y = (glasses_mc.y + ((practiceUp_mc.y - glasses_mc.y) / easing));
mask_mc.y = (mask_mc.y + ((practiceUp_mc.y - mask_mc.y) / easing));
}
public function rotateLeft(_arg1:Event):void{
rotateNumber = (rotateNumber - rotateUpdate);
glasses_mc.rotation = (glasses_mc.rotation + rotateNumber);
}
public function checkLorR(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 57){
glasses_mc.addEventListener(Event.ENTER_FRAME, rotateLeft);
stage.addEventListener(KeyboardEvent.KEY_UP, stopRotate);
};
if (_arg1.keyCode == 48){
glasses_mc.addEventListener(Event.ENTER_FRAME, rotateRight);
stage.addEventListener(KeyboardEvent.KEY_UP, stopRotate);
};
}
public function rightMove(_arg1:Event):void{
if (xMove < 0){
xMove = 0;
};
xMove = (xMove + update);
glasses_mc.x = (glasses_mc.x + xMove);
}
public function nudge(_arg1:KeyboardEvent):void{
stage.addEventListener(KeyboardEvent.KEY_UP, stopNudge);
if (_arg1.keyCode == Keyboard.LEFT){
glasses_mc.addEventListener(Event.ENTER_FRAME, leftMove);
};
if (_arg1.keyCode == Keyboard.UP){
glasses_mc.addEventListener(Event.ENTER_FRAME, upMove);
};
if (_arg1.keyCode == Keyboard.RIGHT){
glasses_mc.addEventListener(Event.ENTER_FRAME, rightMove);
};
if (_arg1.keyCode == Keyboard.DOWN){
glasses_mc.addEventListener(Event.ENTER_FRAME, downMove);
};
}
public function vertScaleMovementUp(_arg1:Event):void{
glasses_mc.height = (glasses_mc.height + yScale);
yScale = (yScale + scaleUpdate);
}
public function upMove(_arg1:Event):void{
if (yMove > 0){
yMove = 0;
};
yMove = (yMove - update);
glasses_mc.y = (glasses_mc.y + yMove);
}
public function vertScaleMovementDown(_arg1:Event):void{
glasses_mc.height = (glasses_mc.height + yScale);
yScale = (yScale - scaleUpdate);
}
public function practicing(_arg1:MouseEvent):void{
practice_mc.addEventListener(Event.ENTER_FRAME, movementTo);
practice_mc.removeEventListener(Event.ENTER_FRAME, movementFrom);
glasses_mc.filters = [glowFilter];
stage.addEventListener(KeyboardEvent.KEY_DOWN, nudge);
stage.addEventListener(KeyboardEvent.KEY_DOWN, shapeShift);
stage.addEventListener(KeyboardEvent.KEY_DOWN, flip);
stage.addEventListener(KeyboardEvent.KEY_DOWN, checkLorR);
stage.addEventListener(KeyboardEvent.KEY_DOWN, scale);
xScale = 0;
yScale = 0;
}
public function stopNudge(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.LEFT){
glasses_mc.removeEventListener(Event.ENTER_FRAME, leftMove);
xMove = 0;
};
if (_arg1.keyCode == Keyboard.UP){
glasses_mc.removeEventListener(Event.ENTER_FRAME, upMove);
yMove = 0;
};
if (_arg1.keyCode == Keyboard.RIGHT){
glasses_mc.removeEventListener(Event.ENTER_FRAME, rightMove);
xMove = 0;
};
if (_arg1.keyCode == Keyboard.DOWN){
glasses_mc.removeEventListener(Event.ENTER_FRAME, downMove);
yMove = 0;
};
}
public function horizScaleMovementUp(_arg1:Event):void{
glasses_mc.width = (glasses_mc.width + xScale);
xScale = (xScale + scaleUpdate);
}
public function scaleMovementDown(_arg1:Event):void{
glasses_mc.width = (glasses_mc.width + xScale);
glasses_mc.height = (glasses_mc.height + yScale);
xScale = (xScale + scaleUpdate);
yScale = (yScale + scaleUpdate);
}
public function shapeShift(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 188){
if (glasses_mc.currentFrame == 1){
glasses_mc.gotoAndStop(glasses_mc.totalFrames);
} else {
glasses_mc.prevFrame();
};
};
if (_arg1.keyCode == 190){
if (glasses_mc.currentFrame == glasses_mc.totalFrames){
glasses_mc.gotoAndStop(1);
} else {
glasses_mc.nextFrame();
};
};
}
public function scale(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 81){
glasses_mc.addEventListener(Event.ENTER_FRAME, scaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 69){
glasses_mc.addEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 87){
glasses_mc.addEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 83){
glasses_mc.addEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 65){
glasses_mc.addEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 68){
glasses_mc.addEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
}
public function flip(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 219){
glasses_mc.scaleX = (glasses_mc.scaleX * -1);
};
if (_arg1.keyCode == 221){
glasses_mc.scaleY = (glasses_mc.scaleY * -1);
};
}
public function movementTo(_arg1:Event):void{
hotkeys_mc.y = (hotkeys_mc.y + ((hotkeysUp_mc.y - hotkeys_mc.y) / easing));
practice_mc.y = (practice_mc.y + ((practiceDown_mc.y - practice_mc.y) / easing));
practice_btn.y = (practice_btn.y + ((practiceButtonUp_mc.y - practice_btn.y) / easing));
glasses_mc.y = (glasses_mc.y + ((practiceDown_mc.y - glasses_mc.y) / easing));
glasses_mc.x = (glasses_mc.x + ((centerMarker_mc.x - glasses_mc.x) / easing));
mask_mc.y = (mask_mc.y + ((practiceDown_mc.y - mask_mc.y) / easing));
}
public function leftMove(_arg1:Event):void{
if (xMove > 0){
xMove = 0;
};
xMove = (xMove - update);
glasses_mc.x = (glasses_mc.x + xMove);
}
public function stopScale(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 81){
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
xScale = 0;
yScale = 0;
};
if (_arg1.keyCode == 69){
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
xScale = 0;
yScale = 0;
};
if (_arg1.keyCode == 87){
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
yScale = 0;
};
if (_arg1.keyCode == 83){
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
yScale = 0;
};
if (_arg1.keyCode == 65){
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
xScale = 0;
};
if (_arg1.keyCode == 68){
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
glasses_mc.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
glasses_mc.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
xScale = 0;
};
}
public function downMove(_arg1:Event):void{
if (yMove < 0){
yMove = 0;
};
yMove = (yMove + update);
glasses_mc.y = (glasses_mc.y + yMove);
}
public function scaleMovementUp(_arg1:Event):void{
glasses_mc.width = (glasses_mc.width + xScale);
glasses_mc.height = (glasses_mc.height + yScale);
xScale = (xScale - scaleUpdate);
yScale = (yScale - scaleUpdate);
}
public function rotateRight(_arg1:Event):void{
rotateNumber = (rotateNumber + rotateUpdate);
glasses_mc.rotation = (glasses_mc.rotation + rotateNumber);
}
function frame1(){
hotkeys_mc.addEventListener(Event.ENTER_FRAME, checking);
easing = 4;
glowFilter = new GlowFilter(12114403, 1, 10, 10, 3, 3, false, false);
xMove = 0;
yMove = 0;
update = 0.17;
rotateNumber = 0;
rotateUpdate = 0.14;
xScale = 0;
yScale = 0;
scaleUpdate = 0.1;
}
public function checking(_arg1:Event):void{
if (hotkeys_mc.y >= hotkeysDown_mc.y){
practice_btn.addEventListener(MouseEvent.CLICK, practicing);
practice_btn.removeEventListener(MouseEvent.CLICK, stopPracticing);
} else {
practice_btn.addEventListener(MouseEvent.CLICK, stopPracticing);
practice_btn.removeEventListener(MouseEvent.CLICK, practicing);
};
}
public function shiftPress(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.SHIFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, nudge);
stage.addEventListener(KeyboardEvent.KEY_UP, stopRotate);
stage.addEventListener(KeyboardEvent.KEY_DOWN, shapeShift);
};
}
public function stopPracticing(_arg1:MouseEvent):void{
practice_mc.addEventListener(Event.ENTER_FRAME, movementFrom);
practice_mc.removeEventListener(Event.ENTER_FRAME, movementTo);
glasses_mc.filters = null;
stage.removeEventListener(KeyboardEvent.KEY_DOWN, nudge);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, shapeShift);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, flip);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, checkLorR);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, scale);
xScale = 0;
yScale = 0;
}
public function stopRotate(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.SHIFT){
stage.addEventListener(KeyboardEvent.KEY_DOWN, nudge);
xScale = 0;
yScale = 0;
stage.addEventListener(KeyboardEvent.KEY_DOWN, shapeShift);
};
if (_arg1.keyCode == 57){
glasses_mc.removeEventListener(Event.ENTER_FRAME, rotateLeft);
rotateNumber = 0;
};
if (_arg1.keyCode == 48){
glasses_mc.removeEventListener(Event.ENTER_FRAME, rotateRight);
rotateNumber = 0;
};
}
public function horizScaleMovementDown(_arg1:Event):void{
glasses_mc.width = (glasses_mc.width + xScale);
xScale = (xScale - scaleUpdate);
}
}
}//package BunnyBuilderWeb_fla
Section 49
//hotkeysBox_67 (BunnyBuilderWeb_fla.hotkeysBox_67)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class hotkeysBox_67 extends MovieClip {
public var rotateL_mc:MovieClip;
public var plus_mc:MovieClip;
public var next_mc:MovieClip;
public var layerTop_mc:MovieClip;
public var rotateR_mc:MovieClip;
public var layerDown_mc:MovieClip;
public var minus_mc:MovieClip;
public var layerBottom_mc:MovieClip;
public var layerUp_mc:MovieClip;
public var back_mc:MovieClip;
}
}//package BunnyBuilderWeb_fla
Section 50
//layerBottomButton_75 (BunnyBuilderWeb_fla.layerBottomButton_75)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class layerBottomButton_75 extends MovieClip {
public function layerBottomButton_75(){
addFrameScript(0, frame1, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 51
//layerDownButton_73 (BunnyBuilderWeb_fla.layerDownButton_73)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class layerDownButton_73 extends MovieClip {
public function layerDownButton_73(){
addFrameScript(0, frame1, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 52
//layerTopButton_74 (BunnyBuilderWeb_fla.layerTopButton_74)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class layerTopButton_74 extends MovieClip {
public function layerTopButton_74(){
addFrameScript(0, frame1, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 53
//layerUpButton_72 (BunnyBuilderWeb_fla.layerUpButton_72)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class layerUpButton_72 extends MovieClip {
public function layerUpButton_72(){
addFrameScript(0, frame1, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 54
//MainTimeline (BunnyBuilderWeb_fla.MainTimeline)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
import fl.transitions.easing.*;
import fl.transitions.*;
import flash.utils.*;
import flash.media.*;
import flash.filters.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var trash_mc:MovieClip;
public var yScale:Number;
public var mainMenu_btn:SimpleButton;
public var i:uint;
public var plusVert_mc:MovieClip;
public var bunnyNumber:Number;
public var xMove:Number;
public var j:uint;
public var rotateR_mc:MovieClip;
public var rotateNumber:Number;
public var LESS_THAN:uint;
public var selectedClip:MovieClip;
public var yPoint:Number;
public var trashSound;
public var dragOff_mc:MovieClip;
public var dragClick;
public var instructions_btn:SimpleButton;
public var clear_mc:MovieClip;
public var update:Number;
public var toolsDragger_mc:MovieClip;
public var minusVert_mc:MovieClip;
public var toolbar_mc:MovieClip;
public var hotkeys_btn:SimpleButton;
public var square:Sprite;
public var clearBox_mc:MovieClip;
public var credits_btn:SimpleButton;
public var selectedClips:Array;
public var fp_btn:SimpleButton;
public var layerTop_mc:MovieClip;
public var toolbarMarker1_mc:MovieClip;
public var extra_images:MovieClip;
public var flipHoriz_mc:MovieClip;
public var draggingText_mc:MovieClip;
public var LEFT_SQUARE_BRACE;
public var DELETE_KEY:uint;
public var plusHoriz_mc:MovieClip;
public var MINUS_KEY:Number;
public var RIGHT_SQUARE_BRACE;
public var toolbarMarker2_mc:MovieClip;
public var layerBottom_mc:MovieClip;
public var rotateUpdate:Number;
public var PLUS_KEY:Number;
public var flipVert_mc:MovieClip;
public var bunnyNumChildren:Number;
public var rotateL_mc:MovieClip;
public var plus_mc:MovieClip;
public var next_mc:MovieClip;
public var RIGHT_PARENTHESIS;
public var selectionDimensions:Array;
public var tools_mc:MovieClip;
public var extras_btn:SimpleButton;
public var clearNo_mc:MovieClip;
public var minusHoriz_mc:MovieClip;
public var clearYes_mc:MovieClip;
public var dragClip:MovieClip;
public var scaleUpdate:Number;
public var play_btn:SimpleButton;
public var hotkeys_mc:MovieClip;
public var dragArrow_mc:MovieClip;
public var GREATER_THAN:uint;
public var layerUp_mc:MovieClip;
public var bunny_mc:MovieClip;
public var dragOn_mc:MovieClip;
public var SEMI_COLON:Number;
public var ays;
public var glowFilter:GlowFilter;
public var SINGLE_QUOTE:Number;
public var xScale:Number;
public var layerDown_mc:MovieClip;
public var minus_mc:MovieClip;
public var bg_mc:MovieClip;
public var back_mc:MovieClip;
public var selectorHolder_mc:MovieClip;
public var color_mc:MovieClip;
public var xPoint:Number;
public var yMove:Number;
public var LEFT_PARENTHESIS;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
public function rotateLeft(_arg1:Event):void{
rotateNumber = (rotateNumber - rotateUpdate);
setRotation(rotateNumber);
}
public function checkLorR(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == LEFT_PARENTHESIS){
stage.addEventListener(Event.ENTER_FRAME, rotateLeft);
stage.addEventListener(KeyboardEvent.KEY_UP, stopRotate);
};
if (_arg1.keyCode == RIGHT_PARENTHESIS){
stage.addEventListener(Event.ENTER_FRAME, rotateRight);
stage.addEventListener(KeyboardEvent.KEY_UP, stopRotate);
};
}
public function rightMove(_arg1:Event):void{
var _local2:uint;
var _local3:MovieClip;
if (xMove < 0){
xMove = 0;
};
xMove = (xMove + update);
_local2 = 0;
while (_local2 < selectedClips.length) {
_local3 = (selectedClips[_local2] as MovieClip);
_local3.x = (_local3.x + xMove);
_local2++;
};
if (selectedClip != null){
selectedClip.x = (selectedClip.x + xMove);
};
}
public function hideHotkeys(_arg1:MouseEvent):void{
hotkeys_mc.addEventListener(Event.ENTER_FRAME, fadingOut);
hotkeys_mc.removeEventListener(Event.ENTER_FRAME, fadingIn);
hotkeys_mc.visible = true;
hotkeys_mc.alpha = 1;
}
public function scaleBox(_arg1:MouseEvent):void{
square.visible = true;
square.x = mouseX;
square.y = mouseY;
square.graphics.clear();
square.graphics.drawRect(0, 0, (mouseX - square.x), (mouseY - square.y));
addEventListener(Event.ENTER_FRAME, movement);
stage.addEventListener(MouseEvent.MOUSE_UP, stopScaleBox);
}
public function setClipBounds(_arg1:MovieClip):void{
if (_arg1.x > 1000){
_arg1.x = 1000;
};
if (_arg1.x < 0){
_arg1.x = 0;
};
if (_arg1.y > 800){
_arg1.y = 800;
};
if (_arg1.y < 0){
_arg1.y = 0;
};
}
public function shapeBack():void{
var _local1:*;
var _local2:MovieClip;
if (selectedClip != null){
if (selectedClip.currentFrame == 1){
selectedClip.gotoAndStop(selectedClip.totalFrames);
} else {
selectedClip.prevFrame();
};
};
if (selectedClips.length > 0){
_local1 = 0;
while (_local1 < selectedClips.length) {
_local2 = selectedClips[_local1];
if (_local2.currentFrame == 1){
_local2.gotoAndStop(_local2.totalFrames);
} else {
_local2.prevFrame();
};
_local1++;
};
};
}
public function lUp(_arg1:MouseEvent):void{
rotateL_mc.gotoAndStop(1);
rotateL_mc.removeEventListener(MouseEvent.MOUSE_UP, lUp);
rotateL_mc.removeEventListener(MouseEvent.MOUSE_OUT, lUp);
stage.removeEventListener(Event.ENTER_FRAME, rotateLeft);
rotateNumber = 0;
}
public function rDown(_arg1:MouseEvent):void{
rotateR_mc.gotoAndStop(2);
rotateR_mc.addEventListener(MouseEvent.MOUSE_UP, rUp);
rotateR_mc.addEventListener(Event.ENTER_FRAME, rotateRight);
rotateR_mc.addEventListener(MouseEvent.MOUSE_OUT, rUp);
}
public function minusVertUp(_arg1:MouseEvent):void{
minusVert_mc.gotoAndStop(1);
minusVert_mc.removeEventListener(MouseEvent.MOUSE_UP, minusVertUp);
minusVert_mc.removeEventListener(MouseEvent.MOUSE_OUT, minusVertUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
xScale = 0;
yScale = 0;
}
public function shiftDown(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 16){
};
}
public function scaleMovementDown(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:MovieClip;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
if (selectedClip != null){
if ((((selectedClip.height < stage.stageHeight)) && ((selectedClip.width < stage.stageWidth)))){
selectedClip.width = (selectedClip.width + xScale);
selectedClip.height = (selectedClip.height + yScale);
xScale = (xScale + scaleUpdate);
yScale = (yScale + scaleUpdate);
};
};
if (selectedClips.length > 0){
getSelectionDimensions();
_local2 = (selectionDimensions[2] - selectionDimensions[0]);
_local3 = (selectionDimensions[1] - selectionDimensions[3]);
_local4 = (selectionDimensions[3] + (_local3 / 2));
_local5 = (selectionDimensions[0] + (_local2 / 2));
if ((((_local2 < stage.stageHeight)) && ((_local3 < stage.stageWidth)))){
_local6 = 0;
while (_local6 < selectedClips.length) {
_local7 = selectedClips[_local6];
_local8 = (_local7.x - _local4);
_local9 = (_local7.y - _local5);
_local10 = (Math.sqrt(((_local8 * _local8) + (_local9 * _local9))) + xScale);
_local11 = Math.atan2(_local9, _local8);
_local12 = Math.sin(_local11);
_local13 = Math.cos(_local11);
_local7.x = (_local4 + (_local10 * _local13));
_local7.y = (_local5 + (_local10 * _local12));
_local7.width = (_local7.width + xScale);
_local7.height = (_local7.height + yScale);
_local6++;
};
xScale = (xScale + scaleUpdate);
yScale = (yScale + scaleUpdate);
};
};
}
public function fadingOut(_arg1:Event):void{
if (hotkeys_mc.alpha >= 0){
hotkeys_mc.alpha = (hotkeys_mc.alpha - 0.1);
};
if (hotkeys_mc.alpha <= 0){
hotkeys_mc.visible = false;
hotkeys_btn.addEventListener(MouseEvent.CLICK, showHotkeys);
hotkeys_btn.removeEventListener(MouseEvent.CLICK, hideHotkeys);
} else {
hotkeys_btn.removeEventListener(MouseEvent.CLICK, showHotkeys);
hotkeys_btn.removeEventListener(MouseEvent.CLICK, hideHotkeys);
};
}
public function ldUp2(_arg1:MouseEvent):void{
layerDown_mc.gotoAndPlay(4);
}
function frame1(){
stop();
}
function frame2(){
stop();
play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playGame);
instructions_btn.addEventListener(MouseEvent.MOUSE_DOWN, showInstructions);
credits_btn.addEventListener(MouseEvent.MOUSE_DOWN, showCredits);
extras_btn.addEventListener(MouseEvent.MOUSE_DOWN, showExtras);
}
function frame3(){
stop();
mainMenu_btn.addEventListener(MouseEvent.MOUSE_DOWN, showMain);
}
function frame4(){
stop();
mainMenu_btn.addEventListener(MouseEvent.MOUSE_DOWN, showMain);
fp_btn.addEventListener(MouseEvent.MOUSE_DOWN, openSite);
}
function frame5(){
stop();
mainMenu_btn.addEventListener(MouseEvent.MOUSE_DOWN, showMain);
}
public function flip(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == LEFT_SQUARE_BRACE){
flipX();
};
if (_arg1.keyCode == RIGHT_SQUARE_BRACE){
flipY();
};
}
public function leftMove(_arg1:Event):void{
var _local2:uint;
var _local3:MovieClip;
if (xMove > 0){
xMove = 0;
};
xMove = (xMove - update);
_local2 = 0;
while (_local2 < selectedClips.length) {
_local3 = (selectedClips[_local2] as MovieClip);
_local3.x = (_local3.x + xMove);
_local2++;
};
if (selectedClip != null){
selectedClip.x = (selectedClip.x + xMove);
};
}
public function clearDown(_arg1:MouseEvent):void{
clear_mc.gotoAndStop(3);
clear_mc.addEventListener(MouseEvent.MOUSE_UP, clearUp);
}
public function scaleMovementUp(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:MovieClip;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
if (selectedClip != null){
if ((((selectedClip.height > 2)) && ((selectedClip.width > 2)))){
selectedClip.width = (selectedClip.width + xScale);
selectedClip.height = (selectedClip.height + yScale);
xScale = (xScale - scaleUpdate);
yScale = (yScale - scaleUpdate);
};
};
if (selectedClips.length > 0){
getSelectionDimensions();
_local2 = (selectionDimensions[2] - selectionDimensions[0]);
_local3 = (selectionDimensions[1] - selectionDimensions[3]);
_local4 = (selectionDimensions[3] + (_local3 / 2));
_local5 = (selectionDimensions[0] + (_local2 / 2));
if ((((_local2 > 2)) && ((_local3 > 2)))){
_local6 = 0;
while (_local6 < selectedClips.length) {
_local7 = selectedClips[_local6];
_local8 = (_local7.x - _local4);
_local9 = (_local7.y - _local5);
_local10 = (Math.sqrt(((_local8 * _local8) + (_local9 * _local9))) + xScale);
_local11 = Math.atan2(_local9, _local8);
_local12 = Math.sin(_local11);
_local13 = Math.cos(_local11);
_local7.x = (_local4 + (_local10 * _local13));
_local7.y = (_local5 + (_local10 * _local12));
_local7.width = (_local7.width + xScale);
_local7.height = (_local7.height + yScale);
_local6++;
};
xScale = (xScale - scaleUpdate);
yScale = (yScale - scaleUpdate);
};
};
}
public function movement(_arg1:Event):void{
square.graphics.clear();
square.graphics.lineStyle(2, 12369099);
square.graphics.beginFill(9605800, 0.05);
square.graphics.drawRect(0, 0, (mouseX - square.x), (mouseY - square.y));
square.graphics.endFill();
}
public function openSite(_arg1:MouseEvent):void{
var _local2:String;
var _local3:URLRequest;
_local2 = "http://www.flashpotatoes.com";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
public function clearOver(_arg1:MouseEvent):void{
clear_mc.gotoAndStop(2);
}
public function deselect(_arg1:MouseEvent):void{
var _local2:*;
while (selectedClips.length > 0) {
_local2 = (selectedClips.pop() as MovieClip);
dropClip(_local2);
};
if (selectedClip != null){
dropClip(selectedClip);
};
selectionDimensions = new Array();
toolbar_mc.addEventListener(Event.ENTER_FRAME, toolbarIn);
}
function frame6(){
stop();
mainMenu_btn.addEventListener(MouseEvent.MOUSE_DOWN, showMain);
bunnyNumber = bunny_mc.numChildren;
DELETE_KEY = 46;
GREATER_THAN = 190;
LESS_THAN = 188;
LEFT_SQUARE_BRACE = 219;
RIGHT_SQUARE_BRACE = 221;
LEFT_PARENTHESIS = 57;
RIGHT_PARENTHESIS = 48;
MINUS_KEY = 189;
PLUS_KEY = 187;
SEMI_COLON = 186;
SINGLE_QUOTE = 222;
selectionDimensions = new Array();
i = 0;
while (i < bunny_mc.numChildren) {
bunny_mc.getChildAt(i).addEventListener(MouseEvent.MOUSE_DOWN, startMove);
i++;
};
trashSound = new Object();
dragClick = new Object();
stage.addEventListener(KeyboardEvent.KEY_DOWN, dragCheckKey);
dragOn_mc.gotoAndStop(4);
dragOff_mc.addEventListener(MouseEvent.CLICK, dragOff);
glowFilter = new GlowFilter(12114403, 1, 10, 10, 3, 3, false, false);
selectedClips = new Array();
j = 0;
while (j < bunny_mc.numChildren) {
bunny_mc.getChildAt(j).addEventListener(MouseEvent.MOUSE_DOWN, select);
j++;
};
xMove = 0;
yMove = 0;
update = 0.17;
rotateNumber = 0;
rotateUpdate = 0.14;
xScale = 0;
yScale = 0;
scaleUpdate = 0.1;
ays = new Object();
clear_mc.buttonMode = true;
clear_mc.addEventListener(MouseEvent.MOUSE_OVER, clearOver);
clear_mc.addEventListener(MouseEvent.MOUSE_DOWN, clearDown);
clear_mc.addEventListener(MouseEvent.MOUSE_OUT, clearOut);
clearBox_mc.visible = false;
clearBox_mc.alpha = 0;
clearYes_mc.visible = false;
clearYes_mc.alpha = 0;
clearNo_mc.visible = false;
clearNo_mc.alpha = 0;
clearYes_mc.buttonMode = true;
clearNo_mc.buttonMode = true;
clearYes_mc.addEventListener(MouseEvent.MOUSE_OVER, clearOver2);
clearNo_mc.addEventListener(MouseEvent.MOUSE_OVER, clearOver2);
clearYes_mc.addEventListener(MouseEvent.MOUSE_DOWN, clearDown1);
clearNo_mc.addEventListener(MouseEvent.MOUSE_DOWN, clearDown2);
clearYes_mc.addEventListener(MouseEvent.MOUSE_OUT, clearOut2);
clearNo_mc.addEventListener(MouseEvent.MOUSE_OUT, clearOut2);
toolsDragger_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragTools);
rotateR_mc.buttonMode = true;
rotateL_mc.buttonMode = true;
rotateR_mc.addEventListener(MouseEvent.MOUSE_DOWN, rDown);
rotateL_mc.addEventListener(MouseEvent.MOUSE_DOWN, lDown);
layerUp_mc.buttonMode = true;
layerDown_mc.buttonMode = true;
layerTop_mc.buttonMode = true;
layerBottom_mc.buttonMode = true;
layerUp_mc.addEventListener(MouseEvent.MOUSE_DOWN, luDown);
layerDown_mc.addEventListener(MouseEvent.MOUSE_DOWN, ldDown);
layerTop_mc.addEventListener(MouseEvent.MOUSE_DOWN, ltDown);
layerBottom_mc.addEventListener(MouseEvent.MOUSE_DOWN, lbDown);
color_mc.buttonMode = true;
color_mc.addEventListener(MouseEvent.MOUSE_OVER, colorOver);
color_mc.addEventListener(MouseEvent.MOUSE_DOWN, colorDown);
next_mc.buttonMode = true;
next_mc.addEventListener(MouseEvent.MOUSE_DOWN, nextDown);
back_mc.buttonMode = true;
back_mc.addEventListener(MouseEvent.MOUSE_DOWN, backDown);
plus_mc.buttonMode = true;
plus_mc.addEventListener(MouseEvent.MOUSE_DOWN, plusDown);
minus_mc.buttonMode = true;
minus_mc.addEventListener(MouseEvent.MOUSE_DOWN, minusDown);
plusHoriz_mc.buttonMode = true;
plusHoriz_mc.addEventListener(MouseEvent.MOUSE_DOWN, plusHorizDown);
minusHoriz_mc.buttonMode = true;
minusHoriz_mc.addEventListener(MouseEvent.MOUSE_DOWN, minusHorizDown);
plusVert_mc.buttonMode = true;
plusVert_mc.addEventListener(MouseEvent.MOUSE_DOWN, plusVertDown);
minusVert_mc.buttonMode = true;
minusVert_mc.addEventListener(MouseEvent.MOUSE_DOWN, minusVertDown);
flipVert_mc.buttonMode = true;
flipVert_mc.addEventListener(MouseEvent.MOUSE_DOWN, flipVertDown);
flipHoriz_mc.buttonMode = true;
flipHoriz_mc.addEventListener(MouseEvent.MOUSE_DOWN, flipHorizDown);
hotkeys_mc.visible = false;
hotkeys_btn.addEventListener(MouseEvent.CLICK, showHotkeys);
stage.addEventListener(KeyboardEvent.KEY_DOWN, hideAll);
bunnyNumChildren = bunny_mc.numChildren;
bunny_mc.addEventListener(Event.ENTER_FRAME, bunnyCheckNum);
square = new Sprite();
selectorHolder_mc.addChild(square);
square.visible = false;
bg_mc.addEventListener(MouseEvent.MOUSE_DOWN, scaleBox);
}
public function nextUp(_arg1:MouseEvent):void{
next_mc.gotoAndStop(1);
next_mc.removeEventListener(MouseEvent.MOUSE_UP, nextUp);
next_mc.removeEventListener(MouseEvent.MOUSE_OUT, nextUp2);
shapeNext();
}
public function layering(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == MINUS_KEY){
downLayer();
};
if (_arg1.keyCode == PLUS_KEY){
upLayer();
};
if (_arg1.keyCode == SEMI_COLON){
bottomLayer();
};
if (_arg1.keyCode == SINGLE_QUOTE){
topLayer();
};
}
public function plusUp2(_arg1:MouseEvent):void{
plus_mc.gotoAndStop(1);
plus_mc.removeEventListener(MouseEvent.MOUSE_UP, plusUp);
plus_mc.removeEventListener(MouseEvent.MOUSE_OUT, plusUp2);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
xScale = 0;
yScale = 0;
}
public function horizScaleMovementDown(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:MovieClip;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
if (selectedClip != null){
if (selectedClip.width > 2){
selectedClip.width = (selectedClip.width + xScale);
xScale = (xScale - scaleUpdate);
};
};
if (selectedClips.length > 0){
getSelectionDimensions();
_local2 = (selectionDimensions[2] - selectionDimensions[0]);
_local3 = (selectionDimensions[1] - selectionDimensions[3]);
_local4 = (selectionDimensions[3] + (_local3 / 2));
_local5 = (selectionDimensions[0] + (_local2 / 2));
if (_local3 > 2){
_local6 = 0;
while (_local6 < selectedClips.length) {
_local7 = selectedClips[_local6];
_local8 = (_local7.x - _local4);
_local9 = (_local7.y - _local5);
_local10 = (Math.sqrt(((_local8 * _local8) + (_local9 * _local9))) + (xScale / 2));
_local11 = Math.atan2(_local9, _local8);
_local12 = Math.cos(_local11);
_local7.x = (_local4 + (_local10 * _local12));
_local7.width = (_local7.width + xScale);
_local6++;
};
xScale = (xScale - scaleUpdate);
};
};
}
public function nextUp2(_arg1:MouseEvent):void{
next_mc.gotoAndStop(1);
next_mc.removeEventListener(MouseEvent.MOUSE_UP, nextUp);
next_mc.removeEventListener(MouseEvent.MOUSE_OUT, nextUp2);
}
public function hideAll(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 8){
if (draggingText_mc.visible == true){
draggingText_mc.visible = false;
dragOn_mc.visible = false;
dragOff_mc.visible = false;
dragArrow_mc.visible = false;
hotkeys_btn.visible = false;
trash_mc.visible = false;
clearBox_mc.visible = false;
clearNo_mc.visible = false;
clearYes_mc.visible = false;
clear_mc.visible = false;
tools_mc.visible = false;
toolsDragger_mc.visible = false;
hotkeys_mc.visible = false;
} else {
if (draggingText_mc.visible == false){
draggingText_mc.visible = true;
dragOn_mc.visible = true;
dragOff_mc.visible = true;
dragArrow_mc.visible = true;
hotkeys_btn.visible = true;
trash_mc.visible = true;
clear_mc.visible = true;
tools_mc.visible = true;
toolsDragger_mc.visible = true;
};
};
};
}
public function dragTools(_arg1:MouseEvent):void{
toolsDragger_mc.addEventListener(Event.ENTER_FRAME, toolsMovement);
stage.addEventListener(MouseEvent.MOUSE_UP, stopToolsMovement);
}
public function select(_arg1:MouseEvent):void{
var _local2:*;
if (selectedClip != null){
bg_mc.removeEventListener(MouseEvent.CLICK, deselect);
dropClip(selectedClip);
};
while (selectedClips.length) {
_local2 = selectedClips.pop();
_local2.addEventListener(MouseEvent.MOUSE_DOWN, select);
dropClip(_local2);
};
selectedClip = (_arg1.target as MovieClip);
selectClip(selectedClip);
getSelectionDimensions();
}
public function flipVertDown(_arg1:MouseEvent):void{
flipVert_mc.gotoAndStop(2);
flipVert_mc.removeEventListener(MouseEvent.MOUSE_DOWN, flipVertDown);
flipVert_mc.addEventListener(MouseEvent.MOUSE_UP, flipVertUp);
flipVert_mc.addEventListener(MouseEvent.MOUSE_OUT, flipVertUp);
flipY();
}
public function topLayer():void{
var _local1:*;
var _local2:MovieClip;
if (selectedClip != null){
if (bunny_mc.getChildIndex(selectedClip) < (bunny_mc.numChildren - 1)){
bunny_mc.addChild(selectedClip);
};
};
if (selectedClips.length > 0){
_local1 = 0;
while (_local1 < selectedClips.length) {
_local2 = selectedClips[_local1];
bunny_mc.addChild(_local2);
_local1++;
};
};
}
public function nudge(_arg1:KeyboardEvent):void{
stage.addEventListener(KeyboardEvent.KEY_UP, stopNudge);
if (_arg1.keyCode == Keyboard.LEFT){
stage.addEventListener(Event.ENTER_FRAME, leftMove);
addEventListener(Event.ENTER_FRAME, checkSpot);
};
if (_arg1.keyCode == Keyboard.UP){
stage.addEventListener(Event.ENTER_FRAME, upMove);
addEventListener(Event.ENTER_FRAME, checkSpot);
};
if (_arg1.keyCode == Keyboard.RIGHT){
stage.addEventListener(Event.ENTER_FRAME, rightMove);
addEventListener(Event.ENTER_FRAME, checkSpot);
};
if (_arg1.keyCode == Keyboard.DOWN){
stage.addEventListener(Event.ENTER_FRAME, downMove);
addEventListener(Event.ENTER_FRAME, checkSpot);
};
}
public function plusHorizDown(_arg1:MouseEvent):void{
plusHoriz_mc.gotoAndStop(2);
plusHoriz_mc.addEventListener(MouseEvent.MOUSE_UP, plusHorizUp);
plusHoriz_mc.addEventListener(MouseEvent.MOUSE_OUT, plusHorizUp);
stage.addEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
xScale = 0;
yScale = 0;
}
public function bunnyCheckNum(_arg1:Event):void{
var _local2:uint;
var _local3:uint;
var _local4:uint;
if (bunny_mc.numChildren > bunnyNumChildren){
_local2 = 0;
while (_local2 < bunny_mc.numChildren) {
bunny_mc.getChildAt(_local2).addEventListener(MouseEvent.MOUSE_DOWN, startMove);
_local2++;
};
_local3 = 0;
while (_local3 < bunny_mc.numChildren) {
bunny_mc.getChildAt(_local3).addEventListener(MouseEvent.MOUSE_DOWN, select);
_local3++;
};
bunnyNumChildren = bunny_mc.numChildren;
if (dragArrow_mc.y >= 43){
_local4 = 0;
while (_local4 < bunny_mc.numChildren) {
bunny_mc.getChildAt(_local4).removeEventListener(MouseEvent.MOUSE_DOWN, startMove);
_local4++;
};
};
if (selectedClip != null){
dropClip(selectedClip);
bg_mc.removeEventListener(MouseEvent.CLICK, deselect);
};
selectedClip = (bunny_mc.getChildAt((bunny_mc.numChildren - 1)) as MovieClip);
selectClip(selectedClip);
};
}
public function plusVertDown(_arg1:MouseEvent):void{
plusVert_mc.gotoAndStop(2);
plusVert_mc.addEventListener(MouseEvent.MOUSE_UP, plusVertUp);
plusVert_mc.addEventListener(MouseEvent.MOUSE_OUT, plusVertUp);
stage.addEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
xScale = 0;
yScale = 0;
}
public function minusDown(_arg1:MouseEvent):void{
minus_mc.gotoAndStop(2);
minus_mc.addEventListener(MouseEvent.MOUSE_UP, minusUp);
minus_mc.addEventListener(MouseEvent.MOUSE_OUT, minusUp2);
stage.addEventListener(Event.ENTER_FRAME, scaleMovementUp);
xScale = 0;
yScale = 0;
}
public function drag(_arg1:Event):void{
_arg1.target.x = (_arg1.target.x + (((mouseX - _arg1.target.xPoint) - _arg1.target.x) / 2.5));
_arg1.target.y = (_arg1.target.y + (((mouseY - _arg1.target.yPoint) - _arg1.target.y) / 2.5));
}
public function upMove(_arg1:Event):void{
var _local2:uint;
var _local3:MovieClip;
if (yMove > 0){
yMove = 0;
};
yMove = (yMove - update);
_local2 = 0;
while (_local2 < selectedClips.length) {
_local3 = (selectedClips[_local2] as MovieClip);
_local3.y = (_local3.y + yMove);
_local2++;
};
if (selectedClip != null){
selectedClip.y = (selectedClip.y + yMove);
};
}
public function showInstructions(_arg1:MouseEvent):void{
gotoAndStop(3);
}
public function playGame(_arg1:MouseEvent):void{
gotoAndStop(6);
}
public function scale(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 81){
stage.addEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 69){
stage.addEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 87){
stage.addEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 83){
stage.addEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 65){
stage.addEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
if (_arg1.keyCode == 68){
stage.addEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.addEventListener(KeyboardEvent.KEY_UP, stopScale);
};
}
public function flipHorizUp(_arg1:MouseEvent):void{
flipHoriz_mc.gotoAndStop(1);
flipHoriz_mc.addEventListener(MouseEvent.MOUSE_DOWN, flipHorizDown);
flipHoriz_mc.removeEventListener(MouseEvent.MOUSE_UP, flipHorizUp);
flipHoriz_mc.removeEventListener(MouseEvent.MOUSE_OUT, flipHorizUp);
}
public function plusDown(_arg1:MouseEvent):void{
plus_mc.gotoAndStop(2);
plus_mc.addEventListener(MouseEvent.MOUSE_UP, plusUp);
plus_mc.addEventListener(MouseEvent.MOUSE_OUT, plusUp2);
stage.addEventListener(Event.ENTER_FRAME, scaleMovementDown);
xScale = 0;
yScale = 0;
}
public function shapeShift(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == LESS_THAN){
shapeBack();
};
if (_arg1.keyCode == GREATER_THAN){
shapeNext();
};
}
public function colorUp(_arg1:MouseEvent):void{
color_mc.gotoAndStop(2);
}
public function rotateRight(_arg1:Event):void{
rotateNumber = (rotateNumber + rotateUpdate);
setRotation(rotateNumber);
}
public function clearDown1(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop(3);
clearYes_mc.addEventListener(MouseEvent.MOUSE_UP, clearUpYes);
}
public function clearDown2(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop(3);
clearNo_mc.addEventListener(MouseEvent.MOUSE_UP, clearUpNo);
}
public function dragCheckKey(_arg1:KeyboardEvent):void{
var _local2:uint;
var _local3:uint;
if ((((_arg1.keyCode == Keyboard.SPACE)) && ((dragArrow_mc.y >= 43)))){
_local2 = 0;
while (_local2 < bunny_mc.numChildren) {
bunny_mc.getChildAt(_local2).addEventListener(MouseEvent.MOUSE_DOWN, startMove);
_local2++;
};
dragOn_mc.gotoAndPlay(2);
dragOff_mc.gotoAndPlay(5);
new Tween(dragArrow_mc, "y", Regular.easeInOut, dragArrow_mc.y, 18, 10);
dragClick.play();
dragOff_mc.addEventListener(MouseEvent.CLICK, dragOff);
dragOn_mc.removeEventListener(MouseEvent.CLICK, dragOn);
} else {
if ((((_arg1.keyCode == Keyboard.SPACE)) && ((dragArrow_mc.y <= 18)))){
_local3 = 0;
while (_local3 < bunny_mc.numChildren) {
bunny_mc.getChildAt(_local3).removeEventListener(MouseEvent.MOUSE_DOWN, startMove);
_local3++;
};
dragOn_mc.gotoAndPlay(5);
dragOff_mc.gotoAndPlay(2);
new Tween(dragArrow_mc, "y", Regular.easeInOut, dragArrow_mc.y, 43, 10);
dragClick.play();
dragOn_mc.addEventListener(MouseEvent.CLICK, dragOn);
dragOff_mc.removeEventListener(MouseEvent.CLICK, dragOff);
};
};
}
public function flipX():void{
var _local1:*;
var _local2:uint;
var _local3:MovieClip;
var _local4:Number;
var _local5:Number;
if (selectedClips.length > 0){
getSelectionDimensions();
_local1 = (selectionDimensions[3] + ((selectionDimensions[1] - selectionDimensions[3]) / 2));
_local2 = 0;
while (_local2 < selectedClips.length) {
_local3 = selectedClips[_local2];
_local4 = _local3.x;
_local5 = (_local4 - _local1);
_local3.x = (_local1 - _local5);
_local3.scaleX = (_local3.scaleX * -1);
_local2++;
};
} else {
selectedClip.scaleX = (selectedClip.scaleX * -1);
};
}
public function flipY():void{
var _local1:*;
var _local2:uint;
var _local3:MovieClip;
var _local4:Number;
var _local5:Number;
if (selectedClips.length > 0){
getSelectionDimensions();
_local1 = (selectionDimensions[0] + ((selectionDimensions[2] - selectionDimensions[0]) / 2));
_local2 = 0;
while (_local2 < selectedClips.length) {
_local3 = selectedClips[_local2];
_local4 = _local3.y;
_local5 = (_local4 - _local1);
_local3.y = (_local1 - _local5);
_local3.scaleY = (_local3.scaleY * -1);
_local2++;
};
} else {
selectedClip.scaleY = (selectedClip.scaleY * -1);
};
}
public function trashClose(_arg1:MouseEvent):void{
var _local2:MovieClip;
trash_mc.gotoAndPlay(8);
if (_arg1.target.hitTestObject == trash_mc.hitTestObject){
while (selectedClips.length > 0) {
_local2 = selectedClips.pop();
bunny_mc.removeChild(_local2);
};
if (bunny_mc.contains(dragClip)){
bunny_mc.removeChild(dragClip);
};
deleteResetScreen();
};
}
public function clearUpNo(_arg1:MouseEvent):void{
clearYes_mc.removeEventListener(MouseEvent.MOUSE_UP, clearUpYes);
_arg1.target.gotoAndStop(2);
clearBox_mc.removeEventListener(Event.ENTER_FRAME, boxesFade);
clearBox_mc.visible = false;
clearYes_mc.visible = false;
clearNo_mc.visible = false;
clearBox_mc.alpha = 0;
clearYes_mc.alpha = 0;
clearNo_mc.alpha = 0;
}
public function trashOpen(_arg1:MouseEvent):void{
trash_mc.gotoAndPlay(2);
}
public function clearOut(_arg1:MouseEvent):void{
clear_mc.gotoAndStop(1);
}
public function clearUp(_arg1:MouseEvent):void{
clear_mc.gotoAndStop(2);
clearBox_mc.addEventListener(Event.ENTER_FRAME, boxesFade);
clearBox_mc.visible = true;
clearYes_mc.visible = true;
clearNo_mc.visible = true;
ays.play();
}
public function downLayer():void{
var _local1:*;
var _local2:MovieClip;
if (selectedClip != null){
if (bunny_mc.getChildIndex(selectedClip) > 0){
bunny_mc.setChildIndex(selectedClip, (bunny_mc.getChildIndex(selectedClip) - 1));
};
};
if (selectedClips.length > 0){
_local1 = 0;
while (_local1 < selectedClips.length) {
_local2 = selectedClips[_local1];
if (bunny_mc.getChildIndex(_local2) > 0){
bunny_mc.setChildIndex(_local2, (bunny_mc.getChildIndex(_local2) - 1));
};
_local1++;
};
};
}
public function toolbarOut(_arg1:Event):void{
toolbar_mc.x = (toolbar_mc.x + ((toolbarMarker2_mc.x - toolbar_mc.x) / 4));
rotateR_mc.x = (rotateR_mc.x + ((toolbarMarker2_mc.x - rotateR_mc.x) / 4));
rotateL_mc.x = (rotateL_mc.x + ((toolbarMarker2_mc.x - rotateL_mc.x) / 4));
layerUp_mc.x = (layerUp_mc.x + ((toolbarMarker2_mc.x - layerUp_mc.x) / 4));
layerDown_mc.x = (layerDown_mc.x + ((toolbarMarker2_mc.x - layerDown_mc.x) / 4));
layerTop_mc.x = (layerTop_mc.x + ((toolbarMarker2_mc.x - layerTop_mc.x) / 4));
layerBottom_mc.x = (layerBottom_mc.x + ((toolbarMarker2_mc.x - layerBottom_mc.x) / 4));
next_mc.x = (next_mc.x + ((toolbarMarker2_mc.x - next_mc.x) / 4));
back_mc.x = (back_mc.x + ((toolbarMarker2_mc.x - back_mc.x) / 4));
plus_mc.x = (plus_mc.x + ((toolbarMarker2_mc.x - plus_mc.x) / 4));
minus_mc.x = (minus_mc.x + ((toolbarMarker2_mc.x - minus_mc.x) / 4));
plusHoriz_mc.x = (plusHoriz_mc.x + ((toolbarMarker2_mc.x - plusHoriz_mc.x) / 4));
minusHoriz_mc.x = (minusHoriz_mc.x + ((toolbarMarker2_mc.x - minusHoriz_mc.x) / 4));
plusVert_mc.x = (plusVert_mc.x + ((toolbarMarker2_mc.x - plusVert_mc.x) / 4));
minusVert_mc.x = (minusVert_mc.x + ((toolbarMarker2_mc.x - minusVert_mc.x) / 4));
flipVert_mc.x = (flipVert_mc.x + ((toolbarMarker2_mc.x - flipVert_mc.x) / 4));
flipHoriz_mc.x = (flipHoriz_mc.x + ((toolbarMarker2_mc.x - flipHoriz_mc.x) / 4));
}
public function plusUp(_arg1:MouseEvent):void{
plus_mc.gotoAndStop(1);
plus_mc.removeEventListener(MouseEvent.MOUSE_UP, plusUp);
plus_mc.removeEventListener(MouseEvent.MOUSE_OUT, plusUp2);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
xScale = 0;
yScale = 0;
}
public function luDown(_arg1:MouseEvent):void{
layerUp_mc.gotoAndPlay(2);
layerUp_mc.addEventListener(MouseEvent.MOUSE_UP, luUp);
layerUp_mc.addEventListener(MouseEvent.MOUSE_OUT, luUp2);
}
public function boxesFade(_arg1:Event):void{
if (clearBox_mc.alpha < 1){
clearBox_mc.alpha = (clearBox_mc.alpha + 0.1);
clearYes_mc.alpha = (clearYes_mc.alpha + 0.1);
clearNo_mc.alpha = (clearNo_mc.alpha + 0.1);
};
}
public function backUp(_arg1:MouseEvent):void{
back_mc.gotoAndStop(1);
back_mc.removeEventListener(MouseEvent.MOUSE_UP, backUp);
back_mc.removeEventListener(MouseEvent.MOUSE_OUT, backUp2);
shapeBack();
}
public function plusVertUp(_arg1:MouseEvent):void{
plusVert_mc.gotoAndStop(1);
plusVert_mc.removeEventListener(MouseEvent.MOUSE_UP, plusVertUp);
plusVert_mc.removeEventListener(MouseEvent.MOUSE_OUT, plusVertUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
xScale = 0;
yScale = 0;
}
public function bottomLayer():void{
var _local1:*;
var _local2:*;
var _local3:MovieClip;
if (selectedClip != null){
if (bunny_mc.getChildIndex(selectedClip) > 0){
bunny_mc.setChildIndex(selectedClip, 0);
};
};
if (selectedClips.length > 0){
_local1 = (selectedClips.length - 1);
_local2 = _local1;
while (_local2 >= 0) {
_local3 = selectedClips[_local2];
bunny_mc.setChildIndex(_local3, 0);
_local2--;
};
};
}
public function setRotation(_arg1:Number):void{
var _local2:*;
var _local3:*;
var _local4:uint;
var _local5:MovieClip;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
if (selectedClips.length > 0){
getSelectionDimensions();
_local2 = (selectionDimensions[3] + ((selectionDimensions[1] - selectionDimensions[3]) / 2));
_local3 = (selectionDimensions[0] + ((selectionDimensions[2] - selectionDimensions[0]) / 2));
_local4 = 0;
while (_local4 < selectedClips.length) {
_local5 = selectedClips[_local4];
_local6 = _local5.x;
_local7 = _local5.y;
_local8 = ((_arg1 * Math.PI) / 180);
_local9 = (_local6 - _local2);
_local10 = (_local7 - _local3);
_local11 = Math.sin(_local8);
_local12 = Math.cos(_local8);
_local5.x = ((_local2 + (_local9 * _local12)) - (_local10 * _local11));
_local5.y = ((_local3 + (_local10 * _local12)) + (_local9 * _local11));
_local5.rotation = (_local5.rotation + _arg1);
_local4++;
};
} else {
selectedClip.rotation = (selectedClip.rotation + _arg1);
};
}
public function minusVertDown(_arg1:MouseEvent):void{
minusVert_mc.gotoAndStop(2);
minusVert_mc.addEventListener(MouseEvent.MOUSE_UP, minusVertUp);
minusVert_mc.addEventListener(MouseEvent.MOUSE_OUT, minusVertUp);
stage.addEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
xScale = 0;
yScale = 0;
}
public function toolbarIn(_arg1:Event):void{
toolbar_mc.x = (toolbar_mc.x + ((toolbarMarker1_mc.x - toolbar_mc.x) / 4));
rotateR_mc.x = (rotateR_mc.x + ((toolbarMarker1_mc.x - rotateR_mc.x) / 4));
rotateL_mc.x = (rotateL_mc.x + ((toolbarMarker1_mc.x - rotateL_mc.x) / 4));
layerUp_mc.x = (layerUp_mc.x + ((toolbarMarker1_mc.x - layerUp_mc.x) / 4));
layerDown_mc.x = (layerDown_mc.x + ((toolbarMarker1_mc.x - layerDown_mc.x) / 4));
layerTop_mc.x = (layerTop_mc.x + ((toolbarMarker1_mc.x - layerTop_mc.x) / 4));
layerBottom_mc.x = (layerBottom_mc.x + ((toolbarMarker1_mc.x - layerBottom_mc.x) / 4));
next_mc.x = (next_mc.x + ((toolbarMarker1_mc.x - next_mc.x) / 4));
back_mc.x = (back_mc.x + ((toolbarMarker1_mc.x - back_mc.x) / 4));
plus_mc.x = (plus_mc.x + ((toolbarMarker1_mc.x - plus_mc.x) / 4));
minus_mc.x = (minus_mc.x + ((toolbarMarker1_mc.x - minus_mc.x) / 4));
plusHoriz_mc.x = (plusHoriz_mc.x + ((toolbarMarker1_mc.x - plusHoriz_mc.x) / 4));
minusHoriz_mc.x = (minusHoriz_mc.x + ((toolbarMarker1_mc.x - minusHoriz_mc.x) / 4));
plusVert_mc.x = (plusVert_mc.x + ((toolbarMarker1_mc.x - plusVert_mc.x) / 4));
minusVert_mc.x = (minusVert_mc.x + ((toolbarMarker1_mc.x - minusVert_mc.x) / 4));
flipVert_mc.x = (flipVert_mc.x + ((toolbarMarker1_mc.x - flipVert_mc.x) / 4));
flipHoriz_mc.x = (flipHoriz_mc.x + ((toolbarMarker1_mc.x - flipHoriz_mc.x) / 4));
}
public function luUp(_arg1:MouseEvent):void{
layerUp_mc.gotoAndPlay(4);
layerUp_mc.removeEventListener(MouseEvent.MOUSE_UP, luUp);
layerUp_mc.removeEventListener(MouseEvent.MOUSE_OUT, luUp2);
upLayer();
}
public function showHotkeys(_arg1:MouseEvent):void{
hotkeys_mc.addEventListener(Event.ENTER_FRAME, fadingIn);
hotkeys_mc.removeEventListener(Event.ENTER_FRAME, fadingOut);
hotkeys_mc.visible = true;
hotkeys_mc.alpha = 0;
}
public function backSpaceTrash(_arg1:KeyboardEvent):void{
var _local2:MovieClip;
if (_arg1.keyCode == DELETE_KEY){
while (selectedClips.length > 0) {
_local2 = selectedClips.pop();
bunny_mc.removeChild(_local2);
};
if (((!((selectedClip == null))) && (bunny_mc.contains(selectedClip)))){
bunny_mc.removeChild(selectedClip);
};
deleteResetScreen();
};
}
public function backDown(_arg1:MouseEvent):void{
back_mc.gotoAndStop(2);
back_mc.addEventListener(MouseEvent.MOUSE_UP, backUp);
back_mc.addEventListener(MouseEvent.MOUSE_OUT, backUp2);
}
public function checkSpot(_arg1:Event):void{
if (selectedClip != null){
if (selectedClip.x <= -100){
selectedClip.x = 1090;
};
if (selectedClip.y <= -100){
selectedClip.y = 890;
};
if (selectedClip.x >= 1100){
selectedClip.x = -90;
};
if (selectedClip.y >= 900){
selectedClip.y = -90;
};
};
}
public function dragOn(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = 0;
while (_local2 < bunny_mc.numChildren) {
bunny_mc.getChildAt(_local2).addEventListener(MouseEvent.MOUSE_DOWN, startMove);
_local2++;
};
dragOn_mc.gotoAndPlay(2);
dragOff_mc.gotoAndPlay(5);
new Tween(dragArrow_mc, "y", Regular.easeInOut, dragArrow_mc.y, 18, 10);
dragClick.play();
dragOff_mc.addEventListener(MouseEvent.CLICK, dragOff);
dragOn_mc.removeEventListener(MouseEvent.CLICK, dragOn);
}
public function shapeNext():void{
var _local1:*;
var _local2:MovieClip;
if (selectedClip != null){
if (selectedClip.currentFrame == selectedClip.totalFrames){
selectedClip.gotoAndStop(1);
} else {
selectedClip.nextFrame();
};
};
if (selectedClips.length > 0){
_local1 = 0;
while (_local1 < selectedClips.length) {
_local2 = selectedClips[_local1];
if (_local2.currentFrame == _local2.totalFrames){
_local2.gotoAndStop(1);
} else {
_local2.nextFrame();
};
_local1++;
};
};
}
public function nextDown(_arg1:MouseEvent):void{
next_mc.gotoAndStop(2);
next_mc.addEventListener(MouseEvent.MOUSE_UP, nextUp);
next_mc.addEventListener(MouseEvent.MOUSE_OUT, nextUp2);
}
public function horizScaleMovementUp(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:MovieClip;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
if (selectedClip != null){
if (selectedClip.width < stage.stageWidth){
selectedClip.width = (selectedClip.width + xScale);
xScale = (xScale + scaleUpdate);
};
};
if (selectedClips.length > 0){
getSelectionDimensions();
_local2 = (selectionDimensions[2] - selectionDimensions[0]);
_local3 = (selectionDimensions[1] - selectionDimensions[3]);
_local4 = (selectionDimensions[3] + (_local3 / 2));
_local5 = (selectionDimensions[0] + (_local2 / 2));
if (_local3 < stage.stageWidth){
_local6 = 0;
while (_local6 < selectedClips.length) {
_local7 = selectedClips[_local6];
_local8 = (_local7.x - _local4);
_local9 = (_local7.y - _local5);
_local10 = (Math.sqrt(((_local8 * _local8) + (_local9 * _local9))) + (xScale / 2));
_local11 = Math.atan2(_local9, _local8);
_local12 = Math.cos(_local11);
_local7.x = (_local4 + (_local10 * _local12));
_local7.width = (_local7.width + xScale);
_local6++;
};
xScale = (xScale + scaleUpdate);
};
};
}
public function ltUp(_arg1:MouseEvent):void{
layerTop_mc.gotoAndPlay(4);
layerTop_mc.removeEventListener(MouseEvent.MOUSE_UP, ltUp);
layerTop_mc.removeEventListener(MouseEvent.MOUSE_OUT, ltUp2);
topLayer();
}
public function stopNudge(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(Event.ENTER_FRAME, leftMove);
xMove = 0;
removeEventListener(Event.ENTER_FRAME, checkSpot);
};
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(Event.ENTER_FRAME, upMove);
yMove = 0;
removeEventListener(Event.ENTER_FRAME, checkSpot);
};
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(Event.ENTER_FRAME, rightMove);
xMove = 0;
removeEventListener(Event.ENTER_FRAME, checkSpot);
};
if (_arg1.keyCode == Keyboard.DOWN){
stage.removeEventListener(Event.ENTER_FRAME, downMove);
yMove = 0;
removeEventListener(Event.ENTER_FRAME, checkSpot);
};
getSelectionDimensions();
}
public function ldDown(_arg1:MouseEvent):void{
layerDown_mc.gotoAndPlay(2);
layerDown_mc.addEventListener(MouseEvent.MOUSE_UP, ldUp);
layerDown_mc.addEventListener(MouseEvent.MOUSE_OUT, ldUp2);
}
public function ltDown(_arg1:MouseEvent):void{
layerTop_mc.gotoAndPlay(2);
layerTop_mc.addEventListener(MouseEvent.MOUSE_UP, ltUp);
layerTop_mc.addEventListener(MouseEvent.MOUSE_OUT, ltUp2);
}
public function ldUp(_arg1:MouseEvent):void{
layerDown_mc.gotoAndPlay(4);
layerDown_mc.removeEventListener(MouseEvent.MOUSE_UP, ldUp);
layerDown_mc.removeEventListener(MouseEvent.MOUSE_OUT, ldUp2);
downLayer();
}
public function ltUp2(_arg1:MouseEvent):void{
layerTop_mc.gotoAndPlay(4);
}
public function stopScaleBox(_arg1:MouseEvent):void{
var _local2:uint;
var _local3:*;
var _local4:*;
square.visible = false;
removeEventListener(Event.ENTER_FRAME, movement);
stage.removeEventListener(MouseEvent.MOUSE_UP, stopScaleBox);
if (selectedClip != null){
selectedClip.filters = null;
dropClip(selectedClip);
selectedClip = null;
};
while (selectedClips.length > 0) {
_local3 = selectedClips.pop();
_local3.addEventListener(MouseEvent.MOUSE_DOWN, select);
dropClip(_local3);
};
_local2 = 0;
while (_local2 < bunny_mc.numChildren) {
if (square.hitTestObject(bunny_mc.getChildAt(_local2))){
_local4 = (bunny_mc.getChildAt(_local2) as MovieClip);
_local4.removeEventListener(MouseEvent.MOUSE_DOWN, select);
selectClip(_local4);
selectedClips.push(_local4);
};
_local2++;
};
getSelectionDimensions();
}
public function showMain(_arg1:MouseEvent):void{
gotoAndStop(2);
}
public function stopScale(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 81){
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
xScale = 0;
yScale = 0;
};
if (_arg1.keyCode == 69){
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
xScale = 0;
yScale = 0;
};
if (_arg1.keyCode == 87){
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
yScale = 0;
};
if (_arg1.keyCode == 83){
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, vertScaleMovementDown);
yScale = 0;
};
if (_arg1.keyCode == 65){
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
xScale = 0;
};
if (_arg1.keyCode == 68){
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
xScale = 0;
};
}
public function selectClip(_arg1:MovieClip):void{
_arg1.filters = [glowFilter];
bg_mc.addEventListener(MouseEvent.CLICK, deselect);
trash_mc.addEventListener(MouseEvent.MOUSE_OVER, trashOpen2);
trash_mc.addEventListener(MouseEvent.CLICK, throwAway);
trash_mc.addEventListener(MouseEvent.MOUSE_OUT, trashClose3);
toolbar_mc.addEventListener(Event.ENTER_FRAME, toolbarOut);
toolbar_mc.removeEventListener(Event.ENTER_FRAME, toolbarIn);
stage.addEventListener(KeyboardEvent.KEY_DOWN, nudge);
stage.addEventListener(KeyboardEvent.KEY_DOWN, shapeShift);
stage.addEventListener(KeyboardEvent.KEY_DOWN, flip);
stage.addEventListener(KeyboardEvent.KEY_DOWN, backSpaceTrash);
stage.addEventListener(KeyboardEvent.KEY_DOWN, checkLorR);
stage.addEventListener(KeyboardEvent.KEY_DOWN, scale);
stage.addEventListener(KeyboardEvent.KEY_DOWN, layering);
stage.addEventListener(KeyboardEvent.KEY_DOWN, shiftDown);
xScale = 0;
yScale = 0;
}
public function minusUp2(_arg1:MouseEvent):void{
minus_mc.gotoAndStop(1);
minus_mc.removeEventListener(MouseEvent.MOUSE_UP, minusUp);
minus_mc.removeEventListener(MouseEvent.MOUSE_OUT, minusUp2);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
xScale = 0;
yScale = 0;
}
public function clearOut2(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop(1);
}
public function colorUp2(_arg1:MouseEvent):void{
color_mc.gotoAndStop(1);
color_mc.removeEventListener(MouseEvent.MOUSE_UP, colorUp);
color_mc.removeEventListener(MouseEvent.MOUSE_OUT, colorUp2);
}
public function trashClose2(_arg1:MouseEvent):void{
trash_mc.gotoAndPlay(8);
}
public function trashClose3(_arg1:MouseEvent):void{
trash_mc.gotoAndPlay(8);
}
public function backUp2(_arg1:MouseEvent):void{
back_mc.gotoAndStop(1);
back_mc.removeEventListener(MouseEvent.MOUSE_UP, backUp);
back_mc.removeEventListener(MouseEvent.MOUSE_OUT, backUp2);
}
public function colorDown(_arg1:MouseEvent):void{
color_mc.gotoAndStop(3);
color_mc.addEventListener(MouseEvent.MOUSE_UP, colorUp);
color_mc.addEventListener(MouseEvent.MOUSE_OUT, colorUp2);
}
public function flipVertUp(_arg1:MouseEvent):void{
flipVert_mc.gotoAndStop(1);
flipVert_mc.addEventListener(MouseEvent.MOUSE_DOWN, flipVertDown);
flipVert_mc.removeEventListener(MouseEvent.MOUSE_UP, flipVertUp);
flipVert_mc.removeEventListener(MouseEvent.MOUSE_OUT, flipVertUp);
}
public function rUp(_arg1:MouseEvent):void{
rotateR_mc.gotoAndStop(1);
rotateR_mc.removeEventListener(MouseEvent.MOUSE_UP, rUp);
rotateR_mc.removeEventListener(MouseEvent.MOUSE_OUT, rUp);
rotateR_mc.removeEventListener(Event.ENTER_FRAME, rotateRight);
rotateNumber = 0;
}
public function luUp2(_arg1:MouseEvent):void{
layerUp_mc.gotoAndPlay(4);
}
public function lbUp(_arg1:MouseEvent):void{
layerBottom_mc.gotoAndPlay(4);
layerBottom_mc.removeEventListener(MouseEvent.MOUSE_UP, lbUp);
layerBottom_mc.removeEventListener(MouseEvent.MOUSE_OUT, lbUp2);
bottomLayer();
}
public function stopToolsMovement(_arg1:MouseEvent):void{
toolsDragger_mc.removeEventListener(Event.ENTER_FRAME, toolsMovement);
stage.removeEventListener(MouseEvent.MOUSE_UP, stopToolsMovement);
}
public function trashOpen2(_arg1:MouseEvent):void{
trash_mc.gotoAndPlay(2);
}
public function colorOver(_arg1:MouseEvent):void{
color_mc.gotoAndStop(2);
color_mc.addEventListener(MouseEvent.MOUSE_OUT, colorUp2);
}
public function showCredits(_arg1:MouseEvent):void{
gotoAndStop(4);
}
public function dropClip(_arg1:MovieClip):void{
_arg1.filters = null;
_arg1.removeEventListener(Event.ENTER_FRAME, leftMove);
_arg1.removeEventListener(Event.ENTER_FRAME, upMove);
_arg1.removeEventListener(Event.ENTER_FRAME, rightMove);
_arg1.removeEventListener(Event.ENTER_FRAME, downMove);
_arg1.removeEventListener(Event.ENTER_FRAME, rotateRight);
stage.removeEventListener(Event.ENTER_FRAME, rotateLeft);
_arg1.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
_arg1.removeEventListener(Event.ENTER_FRAME, scaleMovementDown);
xMove = 0;
yMove = 0;
trash_mc.removeEventListener(MouseEvent.MOUSE_OVER, trashOpen2);
trash_mc.removeEventListener(MouseEvent.CLICK, throwAway);
trash_mc.removeEventListener(MouseEvent.MOUSE_OUT, trashClose3);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, nudge);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, checkLorR);
stage.removeEventListener(KeyboardEvent.KEY_UP, stopRotate);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, shapeShift);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, flip);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, backSpaceTrash);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, layering);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, shiftDown);
toolbar_mc.removeEventListener(Event.ENTER_FRAME, toolbarOut);
rotateNumber = 0;
setClipBounds(_arg1);
}
public function stopMove(_arg1:MouseEvent):void{
var _local2:uint;
var _local3:MovieClip;
if (selectedClips.indexOf(dragClip) != -1){
_local2 = 0;
while (_local2 < selectedClips.length) {
_local3 = selectedClips[_local2];
_local3.removeEventListener(Event.ENTER_FRAME, drag);
_local3.x = (mouseX - _local3.xPoint);
_local3.y = (mouseY - _local3.yPoint);
_local2++;
};
} else {
dragClip.removeEventListener(Event.ENTER_FRAME, drag);
dragClip.x = (mouseX - dragClip.xPoint);
dragClip.y = (mouseY - dragClip.yPoint);
};
stage.removeEventListener(MouseEvent.MOUSE_UP, stopMove);
trash_mc.removeEventListener(MouseEvent.MOUSE_UP, trashClose);
trash_mc.removeEventListener(MouseEvent.MOUSE_OUT, trashClose2);
trash_mc.removeEventListener(MouseEvent.MOUSE_OVER, trashOpen);
getSelectionDimensions();
}
public function throwAway(_arg1:MouseEvent):void{
var _local2:MovieClip;
trash_mc.gotoAndPlay(8);
if (selectedClip != null){
bunny_mc.removeChild(selectedClip);
};
while (selectedClips.length > 0) {
_local2 = selectedClips.pop();
bunny_mc.removeChild(_local2);
};
deleteResetScreen();
}
public function minusHorizDown(_arg1:MouseEvent):void{
minusHoriz_mc.gotoAndStop(2);
minusHoriz_mc.addEventListener(MouseEvent.MOUSE_UP, minusHorizUp);
minusHoriz_mc.addEventListener(MouseEvent.MOUSE_OUT, minusHorizUp);
stage.addEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
xScale = 0;
yScale = 0;
}
public function vertScaleMovementUp(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:MovieClip;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
if (selectedClip != null){
if (selectedClip.height < stage.stageHeight){
selectedClip.height = (selectedClip.height + yScale);
yScale = (yScale + scaleUpdate);
};
};
if (selectedClips.length > 0){
getSelectionDimensions();
_local2 = (selectionDimensions[2] - selectionDimensions[0]);
_local3 = (selectionDimensions[1] - selectionDimensions[3]);
_local4 = (selectionDimensions[3] + (_local3 / 2));
_local5 = (selectionDimensions[0] + (_local2 / 2));
if (_local2 < stage.stageHeight){
_local6 = 0;
while (_local6 < selectedClips.length) {
_local7 = selectedClips[_local6];
_local8 = (_local7.x - _local4);
_local9 = (_local7.y - _local5);
_local10 = (Math.sqrt(((_local8 * _local8) + (_local9 * _local9))) + (yScale / 2));
_local11 = Math.atan2(_local9, _local8);
_local12 = Math.sin(_local11);
_local7.y = (_local5 + (_local10 * _local12));
_local7.height = (_local7.height + yScale);
_local6++;
};
yScale = (yScale + scaleUpdate);
};
};
}
public function vertScaleMovementDown(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:MovieClip;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
if (selectedClip != null){
if (selectedClip.height > 2){
selectedClip.height = (selectedClip.height + yScale);
yScale = (yScale - scaleUpdate);
};
};
if (selectedClips.length > 0){
getSelectionDimensions();
_local2 = (selectionDimensions[2] - selectionDimensions[0]);
_local3 = (selectionDimensions[1] - selectionDimensions[3]);
_local4 = (selectionDimensions[3] + (_local3 / 2));
_local5 = (selectionDimensions[0] + (_local2 / 2));
if (_local2 > 2){
_local6 = 0;
while (_local6 < selectedClips.length) {
_local7 = selectedClips[_local6];
_local8 = (_local7.x - _local4);
_local9 = (_local7.y - _local5);
_local10 = (Math.sqrt(((_local8 * _local8) + (_local9 * _local9))) + (yScale / 2));
_local11 = Math.atan2(_local9, _local8);
_local12 = Math.sin(_local11);
_local7.y = (_local5 + (_local10 * _local12));
_local7.height = (_local7.height + yScale);
_local6++;
};
yScale = (yScale - scaleUpdate);
};
};
}
public function minusUp(_arg1:MouseEvent):void{
minus_mc.gotoAndStop(1);
minus_mc.removeEventListener(MouseEvent.MOUSE_UP, minusUp);
minus_mc.removeEventListener(MouseEvent.MOUSE_OUT, minusUp2);
stage.removeEventListener(Event.ENTER_FRAME, scaleMovementUp);
xScale = 0;
yScale = 0;
}
public function lDown(_arg1:MouseEvent):void{
rotateL_mc.gotoAndStop(2);
rotateL_mc.addEventListener(MouseEvent.MOUSE_UP, lUp);
rotateL_mc.addEventListener(MouseEvent.MOUSE_OUT, lUp);
stage.addEventListener(Event.ENTER_FRAME, rotateLeft);
}
public function lbDown(_arg1:MouseEvent):void{
layerBottom_mc.gotoAndPlay(2);
layerBottom_mc.addEventListener(MouseEvent.MOUSE_UP, lbUp);
layerBottom_mc.addEventListener(MouseEvent.MOUSE_OUT, lbUp2);
}
public function fadingIn(_arg1:Event):void{
if (hotkeys_mc.alpha <= 1){
hotkeys_mc.alpha = (hotkeys_mc.alpha + 0.1);
};
if (hotkeys_mc.alpha >= 1){
hotkeys_btn.addEventListener(MouseEvent.CLICK, hideHotkeys);
} else {
hotkeys_btn.removeEventListener(MouseEvent.CLICK, showHotkeys);
hotkeys_btn.removeEventListener(MouseEvent.CLICK, hideHotkeys);
};
}
public function getSelectionDimensions():void{
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:uint;
var _local10:MovieClip;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
if (selectedClips.length > 0){
_local9 = 0;
while (_local9 < selectedClips.length) {
_local10 = selectedClips[_local9];
_local11 = (_local10.y - (_local10.height / 2));
_local12 = (_local10.x + (_local10.width / 2));
_local13 = (_local10.y + (_local10.height / 2));
_local14 = (_local10.x - (_local10.width / 2));
if ((((_local11 < _local1)) || ((_local1 == undefined)))){
_local1 = _local11;
};
if ((((_local13 > _local3)) || ((_local3 == undefined)))){
_local3 = _local13;
};
if ((((_local14 < _local4)) || ((_local4 == undefined)))){
_local4 = _local14;
};
if ((((_local12 > _local2)) || ((_local2 == undefined)))){
_local2 = _local12;
};
_local9++;
};
} else {
if (selectedClip != null){
_local1 = (selectedClip.y - (selectedClip.height / 2));
_local2 = (selectedClip.x + (selectedClip.width / 2));
_local3 = (selectedClip.y + (selectedClip.height / 2));
_local4 = (selectedClip.x - (selectedClip.width / 2));
};
};
selectionDimensions = new Array(_local1, _local2, _local3, _local4);
_local5 = (_local2 - _local4);
_local6 = (_local3 - _local1);
_local7 = (_local4 + (_local5 / 2));
_local8 = (_local1 + (_local6 / 2));
}
public function startMove(_arg1:MouseEvent):void{
var _local2:uint;
var _local3:MovieClip;
var _local4:Point;
dragClip = (_arg1.target as MovieClip);
if (selectedClips.indexOf(dragClip) != -1){
_local2 = 0;
while (_local2 < selectedClips.length) {
_local3 = selectedClips[_local2];
_local3.addEventListener(Event.ENTER_FRAME, drag);
_local3.loc = _local3.localToGlobal(new Point());
_local3.xPoint = (_arg1.stageX - _local3.loc.x);
_local3.yPoint = (_arg1.stageY - _local3.loc.y);
_local2++;
};
} else {
dragClip.addEventListener(Event.ENTER_FRAME, drag);
_local4 = dragClip.localToGlobal(new Point());
dragClip.xPoint = (_arg1.stageX - _local4.x);
dragClip.yPoint = (_arg1.stageY - _local4.y);
};
stage.addEventListener(MouseEvent.MOUSE_UP, stopMove);
trash_mc.addEventListener(MouseEvent.MOUSE_UP, trashClose);
trash_mc.addEventListener(MouseEvent.MOUSE_OUT, trashClose2);
trash_mc.addEventListener(MouseEvent.MOUSE_OVER, trashOpen);
}
public function upLayer():void{
var _local1:*;
var _local2:MovieClip;
if (selectedClip != null){
if (bunny_mc.getChildIndex(selectedClip) < (bunny_mc.numChildren - 1)){
bunny_mc.setChildIndex(selectedClip, (bunny_mc.getChildIndex(selectedClip) + 1));
};
};
if (selectedClips.length > 0){
_local1 = 0;
while (_local1 < selectedClips.length) {
_local2 = selectedClips[_local1];
if (bunny_mc.getChildIndex(_local2) < (bunny_mc.numChildren - 1)){
bunny_mc.setChildIndex(_local2, (bunny_mc.getChildIndex(_local2) + 1));
};
_local1++;
};
};
}
public function plusHorizUp(_arg1:MouseEvent):void{
plusHoriz_mc.gotoAndStop(1);
plusHoriz_mc.removeEventListener(MouseEvent.MOUSE_UP, plusHorizUp);
plusHoriz_mc.removeEventListener(MouseEvent.MOUSE_OUT, plusHorizUp);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementUp);
xScale = 0;
yScale = 0;
}
public function clearOver2(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop(2);
}
public function downMove(_arg1:Event):void{
var _local2:uint;
var _local3:MovieClip;
if (yMove < 0){
yMove = 0;
};
yMove = (yMove + update);
_local2 = 0;
while (_local2 < selectedClips.length) {
_local3 = (selectedClips[_local2] as MovieClip);
_local3.y = (_local3.y + yMove);
_local2++;
};
if (selectedClip != null){
selectedClip.y = (selectedClip.y + yMove);
};
}
public function flipHorizDown(_arg1:MouseEvent):void{
flipHoriz_mc.gotoAndStop(2);
flipHoriz_mc.removeEventListener(MouseEvent.MOUSE_DOWN, flipHorizDown);
flipHoriz_mc.addEventListener(MouseEvent.MOUSE_UP, flipHorizUp);
flipHoriz_mc.addEventListener(MouseEvent.MOUSE_OUT, flipHorizUp);
flipX();
}
public function dragOff(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = 0;
while (_local2 < bunny_mc.numChildren) {
bunny_mc.getChildAt(_local2).removeEventListener(MouseEvent.MOUSE_DOWN, startMove);
_local2++;
};
dragOn_mc.gotoAndPlay(5);
dragOff_mc.gotoAndPlay(2);
new Tween(dragArrow_mc, "y", Regular.easeInOut, dragArrow_mc.y, 43, 10);
dragClick.play();
dragOn_mc.addEventListener(MouseEvent.CLICK, dragOn);
dragOff_mc.removeEventListener(MouseEvent.CLICK, dragOff);
}
public function lbUp2(_arg1:MouseEvent):void{
layerBottom_mc.gotoAndPlay(4);
}
public function toolsMovement(_arg1:Event):void{
toolsDragger_mc.x = (toolsDragger_mc.x + ((mouseX - toolsDragger_mc.x) / 8));
tools_mc.x = (tools_mc.x + (((mouseX + 121) - tools_mc.x) / 8));
if (tools_mc.x < 875){
tools_mc.x = 875;
};
if (tools_mc.x > 1111){
tools_mc.x = 1111;
};
if (toolsDragger_mc.x < 754){
toolsDragger_mc.x = 754;
};
if (toolsDragger_mc.x > 990){
toolsDragger_mc.x = 990;
};
}
public function showExtras(_arg1:MouseEvent):void{
gotoAndStop(5);
}
public function minusHorizUp(_arg1:MouseEvent):void{
minusHoriz_mc.gotoAndStop(1);
minusHoriz_mc.removeEventListener(MouseEvent.MOUSE_UP, minusHorizUp);
minusHoriz_mc.removeEventListener(MouseEvent.MOUSE_OUT, minusHorizUp);
stage.removeEventListener(Event.ENTER_FRAME, horizScaleMovementDown);
xScale = 0;
yScale = 0;
}
public function deleteResetScreen():void{
trashSound.play();
trash_mc.removeEventListener(MouseEvent.MOUSE_OVER, trashOpen2);
trash_mc.removeEventListener(MouseEvent.CLICK, throwAway);
trash_mc.removeEventListener(MouseEvent.MOUSE_OUT, trashClose3);
toolbar_mc.addEventListener(Event.ENTER_FRAME, toolbarIn);
toolbar_mc.removeEventListener(Event.ENTER_FRAME, toolbarOut);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, backSpaceTrash);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, layering);
bunnyNumChildren = bunny_mc.numChildren;
selectionDimensions = new Array();
}
public function stopRotate(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.SHIFT){
stage.addEventListener(KeyboardEvent.KEY_DOWN, nudge);
xScale = 0;
yScale = 0;
stage.addEventListener(KeyboardEvent.KEY_DOWN, shapeShift);
};
if (_arg1.keyCode == 57){
stage.removeEventListener(Event.ENTER_FRAME, rotateLeft);
rotateNumber = 0;
};
if (_arg1.keyCode == 48){
stage.removeEventListener(Event.ENTER_FRAME, rotateRight);
rotateNumber = 0;
};
}
public function clearUpYes(_arg1:MouseEvent):void{
clearYes_mc.removeEventListener(MouseEvent.MOUSE_UP, clearUpYes);
_arg1.target.gotoAndStop(2);
clearBox_mc.removeEventListener(Event.ENTER_FRAME, boxesFade);
clearBox_mc.visible = false;
clearYes_mc.visible = false;
clearNo_mc.visible = false;
clearBox_mc.alpha = 0;
clearYes_mc.alpha = 0;
clearNo_mc.alpha = 0;
while (bunny_mc.numChildren > 0) {
bunny_mc.removeChildAt(0);
};
deleteResetScreen();
}
}
}//package BunnyBuilderWeb_fla
Section 55
//minus_horz_Button_79 (BunnyBuilderWeb_fla.minus_horz_Button_79)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class minus_horz_Button_79 extends MovieClip {
public function minus_horz_Button_79(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 56
//minus_vert_Button_81 (BunnyBuilderWeb_fla.minus_vert_Button_81)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class minus_vert_Button_81 extends MovieClip {
public function minus_vert_Button_81(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 57
//minusButton_71 (BunnyBuilderWeb_fla.minusButton_71)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class minusButton_71 extends MovieClip {
public function minusButton_71(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 58
//NewgroundsButton_4 (BunnyBuilderWeb_fla.NewgroundsButton_4)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class NewgroundsButton_4 extends MovieClip {
public var tank:MovieClip;
}
}//package BunnyBuilderWeb_fla
Section 59
//NewgroundsLogo_5 (BunnyBuilderWeb_fla.NewgroundsLogo_5)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class NewgroundsLogo_5 extends MovieClip {
public var tank:MovieClip;
}
}//package BunnyBuilderWeb_fla
Section 60
//NewgroundsPreLoader_2 (BunnyBuilderWeb_fla.NewgroundsPreLoader_2)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.filters.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class NewgroundsPreLoader_2 extends MovieClip {
public var bar:MovieClip;
public var play_btn:SimpleButton;
public var tank:MovieClip;
public function NewgroundsPreLoader_2(){
addFrameScript(0, frame1, 1, frame2);
}
public function jumpMain(_arg1:MouseEvent):void{
_arg1.target.parent.parent.play();
}
function frame1(){
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
}
function frame2(){
stop();
play_btn.addEventListener(MouseEvent.MOUSE_UP, jumpMain);
}
public function PL_LOADING(_arg1:ProgressEvent):void{
var _local2:Number;
_local2 = ((_arg1.bytesLoaded / _arg1.bytesTotal) * 100);
bar.scaleX = (_local2 / 173);
if (_local2 == 100){
this.gotoAndStop(2);
};
}
}
}//package BunnyBuilderWeb_fla
Section 61
//NewgroundsTank_6 (BunnyBuilderWeb_fla.NewgroundsTank_6)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class NewgroundsTank_6 extends MovieClip {
public var tank:MovieClip;
}
}//package BunnyBuilderWeb_fla
Section 62
//nextButton_68 (BunnyBuilderWeb_fla.nextButton_68)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class nextButton_68 extends MovieClip {
public function nextButton_68(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 63
//noButton_248 (BunnyBuilderWeb_fla.noButton_248)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class noButton_248 extends MovieClip {
public function noButton_248(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 64
//owel_119 (BunnyBuilderWeb_fla.owel_119)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class owel_119 extends MovieClip {
public function owel_119(){
addFrameScript(0, frame1, 69, frame70);
}
function frame70(){
(parent as MovieClip).gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 65
//piecesArrow_280 (BunnyBuilderWeb_fla.piecesArrow_280)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class piecesArrow_280 extends MovieClip {
public function piecesArrow_280(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 66
//plus_horz_Button_78 (BunnyBuilderWeb_fla.plus_horz_Button_78)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class plus_horz_Button_78 extends MovieClip {
public function plus_horz_Button_78(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 67
//plus_vert_Button_80 (BunnyBuilderWeb_fla.plus_vert_Button_80)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class plus_vert_Button_80 extends MovieClip {
public function plus_vert_Button_80(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 68
//plusButton_70 (BunnyBuilderWeb_fla.plusButton_70)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class plusButton_70 extends MovieClip {
public function plusButton_70(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 69
//robot_wave_214 (BunnyBuilderWeb_fla.robot_wave_214)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class robot_wave_214 extends MovieClip {
public function robot_wave_214(){
addFrameScript(0, frame1, 115, frame116);
}
function frame1(){
stop();
}
function frame116(){
(parent.parent as MovieClip).gotoAndStop(1);
}
}
}//package BunnyBuilderWeb_fla
Section 70
//rotateLArrowButton_82 (BunnyBuilderWeb_fla.rotateLArrowButton_82)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class rotateLArrowButton_82 extends MovieClip {
public function rotateLArrowButton_82(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 71
//rotateRArrowButton_83 (BunnyBuilderWeb_fla.rotateRArrowButton_83)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class rotateRArrowButton_83 extends MovieClip {
public function rotateRArrowButton_83(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 72
//space_background_178 (BunnyBuilderWeb_fla.space_background_178)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.filters.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class space_background_178 extends MovieClip {
public var space_bunny:MovieClip;
public var robot_btn:MovieClip;
public var button:MovieClip;
public var space_deck_bunny:MovieClip;
public var door_btn:MovieClip;
public var robot:MovieClip;
public var chair:MovieClip;
public var wall:MovieClip;
public var button_btn:MovieClip;
public var chair_btn:MovieClip;
public function space_background_178(){
addFrameScript(0, frame1, 1, frame2);
}
public function playDoor(_arg1:MouseEvent):void{
wall.door.gotoAndPlay(2);
this.gotoAndStop(2);
}
public function playSpace(_arg1:MouseEvent):void{
space_bunny.gotoAndPlay("exit");
button.gotoAndPlay(2);
this.gotoAndStop(2);
}
function frame1(){
stop();
button_btn.buttonMode = true;
chair_btn.buttonMode = true;
robot_btn.buttonMode = true;
door_btn.buttonMode = true;
button_btn.addEventListener(MouseEvent.MOUSE_DOWN, playSpace);
chair_btn.addEventListener(MouseEvent.MOUSE_DOWN, playChair);
robot_btn.addEventListener(MouseEvent.MOUSE_DOWN, playRobot);
door_btn.addEventListener(MouseEvent.MOUSE_DOWN, playDoor);
}
function frame2(){
stop();
}
public function playRobot(_arg1:MouseEvent):void{
robot.robot_voice.gotoAndPlay(2);
this.gotoAndStop(2);
}
public function playChair(_arg1:MouseEvent):void{
space_deck_bunny.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}//package BunnyBuilderWeb_fla
Section 73
//space_bunny_contoller_210 (BunnyBuilderWeb_fla.space_bunny_contoller_210)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class space_bunny_contoller_210 extends MovieClip {
public function space_bunny_contoller_210(){
addFrameScript(0, frame1, 181, frame182);
}
function frame1(){
stop();
}
function frame182(){
(parent as MovieClip).gotoAndStop(1);
}
}
}//package BunnyBuilderWeb_fla
Section 74
//space_doors_188 (BunnyBuilderWeb_fla.space_doors_188)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class space_doors_188 extends MovieClip {
public function space_doors_188(){
addFrameScript(0, frame1, 129, frame130);
}
function frame1(){
stop();
}
function frame130(){
(parent.parent as MovieClip).gotoAndStop(1);
}
}
}//package BunnyBuilderWeb_fla
Section 75
//space_robot_bunny_213 (BunnyBuilderWeb_fla.space_robot_bunny_213)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class space_robot_bunny_213 extends MovieClip {
public var robot_voice:MovieClip;
}
}//package BunnyBuilderWeb_fla
Section 76
//space_wall_187 (BunnyBuilderWeb_fla.space_wall_187)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class space_wall_187 extends MovieClip {
public var door:MovieClip;
}
}//package BunnyBuilderWeb_fla
Section 77
//spacebunnydeflate_186 (BunnyBuilderWeb_fla.spacebunnydeflate_186)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class spacebunnydeflate_186 extends MovieClip {
public function spacebunnydeflate_186(){
addFrameScript(59, frame60);
}
function frame60(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 78
//spacebunnyinflate_182 (BunnyBuilderWeb_fla.spacebunnyinflate_182)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class spacebunnyinflate_182 extends MovieClip {
public function spacebunnyinflate_182(){
addFrameScript(75, frame76);
}
function frame76(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 79
//tank_7 (BunnyBuilderWeb_fla.tank_7)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class tank_7 extends MovieClip {
public var tank:MovieClip;
}
}//package BunnyBuilderWeb_fla
Section 80
//tank_gun_24 (BunnyBuilderWeb_fla.tank_gun_24)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class tank_gun_24 extends MovieClip {
public function tank_gun_24(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 81
//tank_jostle_8 (BunnyBuilderWeb_fla.tank_jostle_8)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
public dynamic class tank_jostle_8 extends MovieClip {
public var explosion:Explosion;
public var button:MovieClip;
public var pop:Pop;
public var tank_top:MovieClip;
public var clicker_mc:MovieClip;
public var blast:MovieClip;
public function tank_jostle_8(){
addFrameScript(0, frame1);
}
public function shoot(_arg1:MouseEvent):void{
blast.gotoAndPlay(2);
button.gotoAndPlay(2);
pop.play();
if (blast.currentFrame == 2){
explosion.play();
};
}
function frame1(){
explosion = new Explosion();
pop = new Pop();
clicker_mc.buttonMode = true;
clicker_mc.addEventListener(MouseEvent.MOUSE_DOWN, shoot);
}
}
}//package BunnyBuilderWeb_fla
Section 82
//toolBar_253 (BunnyBuilderWeb_fla.toolBar_253)
package BunnyBuilderWeb_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.filters.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class toolBar_253 extends MovieClip {
public var girl_mc:MovieClip;
public var scaleXNum:Number;
public var i:uint;
public var j:uint;
public var toolLeftArrow_mc:MovieClip;
public var l:uint;
public var testNumber:Number;
public var k:uint;
public var anim_mc:MovieClip;
public var gWholeBunnyStart_mc:MovieClip;
public var selectedClipStart:MovieClip;
public var right_mc:MovieClip;
public var selectedClip:MovieClip;
public var gWholeBunny_mc:MovieClip;
public var clipShadow:DropShadowFilter;
public var scaleYNum:Number;
public var left_mc:MovieClip;
public var gParts_mc:MovieClip;
public var piecesText_mc:MovieClip;
public var boy_mc:MovieClip;
public var piece:Object;
public var toolRightArrow_mc:MovieClip;
public var easing:Number;
public var marker_mc:MovieClip;
public var center_mc:MovieClip;
public var wholeBunnyStart_mc:MovieClip;
public var wholeBunny_mc:BoyBunny;
public var bParts_mc:MovieClip;
public var bgText_mc:MovieClip;
public var bg_mc:MovieClip;
public var marker2_mc:MovieClip;
public function toolBar_253(){
addFrameScript(0, frame1);
}
public function bgAnim(_arg1:Event):void{
if (anim_mc.alpha <= 1){
anim_mc.alpha = (anim_mc.alpha + 0.1);
};
if (bg_mc.alpha >= 0){
bg_mc.alpha = (bg_mc.alpha - 0.1);
toolRightArrow_mc.alpha = (toolRightArrow_mc.alpha - 0.1);
};
if ((((bg_mc.alpha <= 0)) && ((bg_mc.visible == true)))){
bg_mc.visible = false;
toolRightArrow_mc.visible = false;
};
anim_mc.x = (anim_mc.x + ((center_mc.x - anim_mc.x) / 4));
bg_mc.x = (bg_mc.x + ((left_mc.x - bg_mc.x) / 4));
}
public function gWholeMouseChanges(_arg1:Event):void{
gWholeBunny_mc.alpha = (gWholeBunny_mc.alpha + 0.2);
gWholeBunny_mc.scaleX = (gWholeBunny_mc.scaleX + ((1 - gWholeBunny_mc.scaleX) / easing));
gWholeBunny_mc.scaleY = (gWholeBunny_mc.scaleY + ((1 - gWholeBunny_mc.scaleY) / easing));
}
public function gShowPart(_arg1:MouseEvent):void{
}
public function toolRightDown(_arg1:MouseEvent):void{
toolRightArrow_mc.gotoAndStop(2);
stage.addEventListener(MouseEvent.MOUSE_UP, toolRightUp);
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_OUT, up2);
}
public function checkPosition(_arg1:Event):void{
if (selectedClip.x < -160){
selectedClip.alpha = 0;
selectedClip.x = selectedClipStart.x;
selectedClip.y = selectedClipStart.y;
piece = new selectedClip.constructor();
piece.x = parent.mouseX;
piece.y = parent.mouseY;
(root as MovieClip).bunny_mc.addChild((piece as DisplayObject));
} else {
selectedClip.x = (selectedClip.x + ((selectedClipStart.x - selectedClip.x) / easing));
selectedClip.y = (selectedClip.y + ((selectedClipStart.y - selectedClip.y) / easing));
};
if (selectedClip.alpha < 1){
selectedClip.alpha = (selectedClip.alpha + 0.1);
};
selectedClip.scaleX = (selectedClip.scaleX + ((scaleXNum - selectedClip.scaleX) / 1.5));
selectedClip.scaleY = (selectedClip.scaleY + ((scaleYNum - selectedClip.scaleY) / 1.5));
}
public function mouseChanges(_arg1:Event):void{
selectedClip.alpha = (selectedClip.alpha + 0.2);
selectedClip.scaleX = (selectedClip.scaleX + ((1 - selectedClip.scaleX) / easing));
selectedClip.scaleY = (selectedClip.scaleY + ((1 - selectedClip.scaleY) / easing));
}
public function bPieces(_arg1:Event):void{
if ((((boy_mc.alpha <= 1)) && ((toolLeftArrow_mc.visible == true)))){
boy_mc.alpha = (boy_mc.alpha + 0.1);
bParts_mc.alpha = (bParts_mc.alpha + 0.1);
wholeBunny_mc.alpha = (wholeBunny_mc.alpha + 0.1);
toolLeftArrow_mc.alpha = (toolLeftArrow_mc.alpha - 0.1);
};
if (girl_mc.alpha >= 0){
girl_mc.alpha = (girl_mc.alpha - 0.1);
gParts_mc.alpha = (gParts_mc.alpha - 0.1);
gWholeBunny_mc.alpha = (gWholeBunny_mc.alpha - 0.1);
};
if ((((girl_mc.alpha <= 0)) && ((girl_mc.visible == true)))){
girl_mc.visible = false;
gParts_mc.visible = false;
gWholeBunny_mc.visible = false;
toolLeftArrow_mc.visible = false;
};
boy_mc.x = (boy_mc.x + ((center_mc.x - boy_mc.x) / 4));
bParts_mc.x = (bParts_mc.x + ((center_mc.x - bParts_mc.x) / 4));
wholeBunny_mc.x = (wholeBunny_mc.x + ((center_mc.x - wholeBunny_mc.x) / 4));
girl_mc.x = (girl_mc.x + ((right_mc.x - girl_mc.x) / 4));
gParts_mc.x = (gParts_mc.x + ((right_mc.x - gParts_mc.x) / 4));
gWholeBunny_mc.x = (gWholeBunny_mc.x + ((right_mc.x - gWholeBunny_mc.x) / 4));
if (bParts_mc.x >= -30){
marker_mc.addChild(bParts_mc);
marker_mc.addChild(wholeBunny_mc);
};
}
function frame1(){
j = 0;
while (j < bParts_mc.numChildren) {
bParts_mc.getChildAt(j).addEventListener(MouseEvent.MOUSE_OVER, bShowPart);
j++;
};
l = 0;
while (l < gParts_mc.numChildren) {
gParts_mc.getChildAt(l).addEventListener(MouseEvent.MOUSE_OVER, gShowPart);
l++;
};
easing = 3;
selectedClipStart = new MovieClip();
clipShadow = new DropShadowFilter(8, 90, 0, 0.5, 3, 3, 1, 3);
testNumber = 1;
i = 0;
while (i < bParts_mc.numChildren) {
bParts_mc.getChildAt(i).addEventListener(MouseEvent.MOUSE_DOWN, bMovePart);
i++;
};
k = 0;
while (k < gParts_mc.numChildren) {
gParts_mc.getChildAt(k).addEventListener(MouseEvent.MOUSE_DOWN, gMovePart);
k++;
};
wholeBunny_mc.addEventListener(MouseEvent.MOUSE_DOWN, bWholeMovePart);
gWholeBunny_mc.addEventListener(MouseEvent.MOUSE_DOWN, gWholeMovePart);
bg_mc.visible = false;
girl_mc.visible = false;
gWholeBunny_mc.visible = false;
gParts_mc.visible = false;
bgText_mc.visible = false;
anim_mc.visible = false;
toolLeftArrow_mc.visible = false;
toolLeftArrow_mc.buttonMode = true;
toolRightArrow_mc.buttonMode = true;
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolRightDown);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown);
}
public function bWholeStopMovePart(_arg1:MouseEvent):void{
wholeBunny_mc.stopDrag();
wholeBunny_mc.addEventListener(Event.ENTER_FRAME, bWholeCheckPosition);
stage.removeEventListener(MouseEvent.MOUSE_UP, bWholeStopMovePart);
wholeBunny_mc.removeEventListener(Event.ENTER_FRAME, wholeMouseChanges);
}
public function gWholeCheckPosition(_arg1:Event):void{
var _local2:uint;
var _local3:MovieClip;
if (gWholeBunny_mc.x < -160){
gWholeBunny_mc.alpha = 0;
gWholeBunny_mc.x = gWholeBunnyStart_mc.x;
gWholeBunny_mc.y = gWholeBunnyStart_mc.y;
_local2 = 0;
while (_local2 < gWholeBunny_mc.numChildren) {
_local3 = (gWholeBunny_mc.getChildAt(_local2) as MovieClip);
piece = new _local3.constructor();
piece.transform = _local3.transform;
piece.x = (parent.mouseX + _local3.x);
piece.y = (parent.mouseY + _local3.y);
(root as MovieClip).bunny_mc.addChild((piece as DisplayObject));
_local2++;
};
} else {
gWholeBunny_mc.x = (gWholeBunny_mc.x + ((gWholeBunnyStart_mc.x - gWholeBunny_mc.x) / easing));
gWholeBunny_mc.y = (gWholeBunny_mc.y + ((gWholeBunnyStart_mc.y - gWholeBunny_mc.y) / easing));
};
if (gWholeBunny_mc.alpha < 1){
gWholeBunny_mc.alpha = (gWholeBunny_mc.alpha + 0.05);
};
gWholeBunny_mc.scaleX = (gWholeBunny_mc.scaleX + ((0.42 - gWholeBunny_mc.scaleX) / easing));
gWholeBunny_mc.scaleY = (gWholeBunny_mc.scaleY + ((0.42 - gWholeBunny_mc.scaleY) / easing));
}
public function gPiecesLeft(_arg1:Event):void{
if (girl_mc.alpha <= 1){
girl_mc.alpha = (girl_mc.alpha + 0.1);
gParts_mc.alpha = (gParts_mc.alpha + 0.1);
gWholeBunny_mc.alpha = (gWholeBunny_mc.alpha + 0.1);
toolLeftArrow_mc.alpha = (toolLeftArrow_mc.alpha + 0.1);
};
if (boy_mc.alpha >= 0){
boy_mc.alpha = (boy_mc.alpha - 0.1);
bParts_mc.alpha = (bParts_mc.alpha - 0.1);
wholeBunny_mc.alpha = (wholeBunny_mc.alpha - 0.1);
};
if ((((boy_mc.alpha <= 0)) && ((boy_mc.visible == true)))){
boy_mc.visible = false;
bParts_mc.visible = false;
wholeBunny_mc.visible = false;
};
girl_mc.x = (girl_mc.x + ((center_mc.x - girl_mc.x) / 4));
gParts_mc.x = (gParts_mc.x + ((center_mc.x - gParts_mc.x) / 4));
gWholeBunny_mc.x = (gWholeBunny_mc.x + ((center_mc.x - gWholeBunny_mc.x) / 4));
boy_mc.x = (boy_mc.x + ((left_mc.x - boy_mc.x) / 4));
bParts_mc.x = (bParts_mc.x + ((left_mc.x - bParts_mc.x) / 4));
wholeBunny_mc.x = (wholeBunny_mc.x + ((left_mc.x - wholeBunny_mc.x) / 4));
if (gParts_mc.x <= 30){
marker_mc.addChild(gParts_mc);
marker_mc.addChild(gWholeBunny_mc);
};
}
public function toolLeftUp2(_arg1:MouseEvent):void{
toolLeftArrow_mc.gotoAndStop(1);
piecesText_mc.alpha = 0.1;
toolRightArrow_mc.alpha = 0.1;
girl_mc.alpha = 0.1;
gParts_mc.alpha = 0.1;
gWholeBunny_mc.alpha = 0.1;
toolRightArrow_mc.visible = true;
girl_mc.visible = true;
piecesText_mc.visible = true;
gParts_mc.visible = true;
gWholeBunny_mc.visible = true;
girl_mc.addEventListener(Event.ENTER_FRAME, gPiecesRight);
toolRightArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolRightDown3);
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolRightDown2);
toolLeftArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown2);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown);
bg_mc.removeEventListener(Event.ENTER_FRAME, bgLeft);
bg_mc.removeEventListener(Event.ENTER_FRAME, bgRight);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolLeftUp2);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolRightUp2);
gWholeBunny_mc.removeEventListener(Event.ENTER_FRAME, gWholeCheckPosition);
}
public function toolLeftUp3(_arg1:MouseEvent):void{
toolLeftArrow_mc.gotoAndStop(1);
toolRightArrow_mc.alpha = 0.1;
bg_mc.alpha = 0.1;
toolRightArrow_mc.visible = true;
bg_mc.visible = true;
bg_mc.addEventListener(Event.ENTER_FRAME, bgRight);
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolRightDown3);
toolLeftArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown3);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown2);
anim_mc.removeEventListener(Event.ENTER_FRAME, bgAnim);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolLeftUp3);
}
public function toolLeftUp(_arg1:MouseEvent):void{
toolLeftArrow_mc.gotoAndStop(1);
boy_mc.alpha = 0.1;
bParts_mc.alpha = 0.1;
wholeBunny_mc.alpha = 0.1;
toolRightArrow_mc.visible = true;
boy_mc.visible = true;
piecesText_mc.visible = true;
bParts_mc.visible = true;
wholeBunny_mc.visible = true;
boy_mc.addEventListener(Event.ENTER_FRAME, bPieces);
toolRightArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolRightDown2);
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolRightDown);
girl_mc.removeEventListener(Event.ENTER_FRAME, gPiecesRight);
girl_mc.removeEventListener(Event.ENTER_FRAME, gPiecesLeft);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolLeftUp);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolRightUp);
toolLeftArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown);
marker2_mc.addChild(gParts_mc);
marker2_mc.addChild(gWholeBunny_mc);
wholeBunny_mc.removeEventListener(Event.ENTER_FRAME, bWholeCheckPosition);
}
public function toolRightDown2(_arg1:MouseEvent):void{
toolRightArrow_mc.gotoAndStop(2);
stage.addEventListener(MouseEvent.MOUSE_UP, toolRightUp2);
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_OUT, up2);
}
public function toolRightDown3(_arg1:MouseEvent):void{
toolRightArrow_mc.gotoAndStop(2);
stage.addEventListener(MouseEvent.MOUSE_UP, toolRightUp3);
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_OUT, up2);
}
public function bgRight(_arg1:Event):void{
if (bg_mc.alpha <= 1){
bg_mc.alpha = (bg_mc.alpha + 0.1);
toolRightArrow_mc.alpha = (toolRightArrow_mc.alpha + 0.1);
};
if (anim_mc.alpha >= 0){
anim_mc.alpha = (anim_mc.alpha - 0.1);
};
if (anim_mc.alpha <= 0){
anim_mc.visible = false;
};
bg_mc.x = (bg_mc.x + ((center_mc.x - bg_mc.x) / 4));
anim_mc.x = (anim_mc.x + ((right_mc.x - anim_mc.x) / 4));
}
public function gMovePart(_arg1:MouseEvent):void{
if (selectedClip){
selectedClip.removeEventListener(Event.ENTER_FRAME, checkPosition);
};
selectedClip = (_arg1.target as MovieClip);
selectedClip.startDrag();
selectedClipStart.x = selectedClip.x;
selectedClipStart.y = selectedClip.y;
stage.addEventListener(MouseEvent.MOUSE_UP, gStopMovePart);
selectedClip.removeEventListener(Event.ENTER_FRAME, checkPosition);
gParts_mc.swapChildren(selectedClip, gParts_mc.getChildAt((gParts_mc.numChildren - 1)));
scaleXNum = selectedClip.scaleX;
scaleYNum = selectedClip.scaleY;
selectedClip.addEventListener(Event.ENTER_FRAME, mouseChanges);
gWholeBunny_mc.removeEventListener(Event.ENTER_FRAME, gWholeCheckPosition);
selectedClip.removeEventListener(MouseEvent.MOUSE_DOWN, gMovePart);
}
public function toolRightUp2(_arg1:MouseEvent):void{
toolRightArrow_mc.gotoAndStop(1);
bg_mc.alpha = 0.1;
bgText_mc.alpha = 0.1;
toolLeftArrow_mc.alpha = 0.1;
bg_mc.visible = true;
bgText_mc.visible = true;
toolLeftArrow_mc.visible = true;
bg_mc.x = right_mc.x;
bg_mc.addEventListener(Event.ENTER_FRAME, bgLeft);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown2);
toolLeftArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown);
girl_mc.removeEventListener(Event.ENTER_FRAME, gPiecesRight);
girl_mc.removeEventListener(Event.ENTER_FRAME, gPiecesLeft);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolLeftUp);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolRightUp2);
toolRightArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolRightDown2);
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolRightDown3);
marker2_mc.addChild(gParts_mc);
marker2_mc.addChild(gWholeBunny_mc);
gWholeBunny_mc.removeEventListener(Event.ENTER_FRAME, gWholeCheckPosition);
}
public function up2(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop(1);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolLeftUp);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolRightUp);
}
public function bWholeMovePart(_arg1:MouseEvent):void{
wholeBunny_mc.startDrag();
stage.addEventListener(MouseEvent.MOUSE_UP, bWholeStopMovePart);
wholeBunny_mc.removeEventListener(Event.ENTER_FRAME, bWholeCheckPosition);
wholeBunny_mc.addEventListener(Event.ENTER_FRAME, wholeMouseChanges);
boy_mc.removeEventListener(Event.ENTER_FRAME, bPieces);
}
public function gPiecesRight(_arg1:Event):void{
if (girl_mc.alpha <= 1){
girl_mc.alpha = (girl_mc.alpha + 0.1);
piecesText_mc.alpha = (piecesText_mc.alpha + 0.1);
toolRightArrow_mc.alpha = (toolRightArrow_mc.alpha + 0.1);
gParts_mc.alpha = (gParts_mc.alpha + 0.1);
gWholeBunny_mc.alpha = (gWholeBunny_mc.alpha + 0.1);
};
if (bg_mc.alpha >= 0){
bg_mc.alpha = (bg_mc.alpha - 0.1);
bgText_mc.alpha = (bgText_mc.alpha - 0.1);
};
if (bg_mc.alpha <= 0){
bg_mc.visible = false;
bgText_mc.visible = false;
};
girl_mc.x = (girl_mc.x + ((center_mc.x - girl_mc.x) / 4));
gParts_mc.x = (gParts_mc.x + ((center_mc.x - gParts_mc.x) / 4));
gWholeBunny_mc.x = (gWholeBunny_mc.x + ((center_mc.x - gWholeBunny_mc.x) / 4));
bg_mc.x = (bg_mc.x + ((right_mc.x - bg_mc.x) / 4));
if (gParts_mc.x >= -30){
marker_mc.addChild(gParts_mc);
marker_mc.addChild(gWholeBunny_mc);
};
}
public function toolLeftDown(_arg1:MouseEvent):void{
toolLeftArrow_mc.gotoAndStop(2);
stage.addEventListener(MouseEvent.MOUSE_UP, toolLeftUp);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_OUT, up2);
}
public function gWholeMovePart(_arg1:MouseEvent):void{
gWholeBunny_mc.startDrag();
stage.addEventListener(MouseEvent.MOUSE_UP, gWholeStopMovePart);
gWholeBunny_mc.removeEventListener(Event.ENTER_FRAME, gWholeCheckPosition);
gWholeBunny_mc.addEventListener(Event.ENTER_FRAME, gWholeMouseChanges);
girl_mc.removeEventListener(Event.ENTER_FRAME, gPiecesLeft);
girl_mc.removeEventListener(Event.ENTER_FRAME, gPiecesRight);
}
public function bStopMovePart(_arg1:MouseEvent):void{
selectedClip.stopDrag();
selectedClip.addEventListener(Event.ENTER_FRAME, checkPosition);
stage.removeEventListener(MouseEvent.MOUSE_UP, bStopMovePart);
selectedClip.removeEventListener(Event.ENTER_FRAME, mouseChanges);
selectedClip.addEventListener(MouseEvent.MOUSE_DOWN, bMovePart);
}
public function bShowPart(_arg1:MouseEvent):void{
}
public function toolRightUp(_arg1:MouseEvent):void{
toolRightArrow_mc.gotoAndStop(1);
girl_mc.alpha = 0.1;
toolLeftArrow_mc.alpha = 0.1;
gParts_mc.alpha = 0.1;
gWholeBunny_mc.alpha = 0.1;
girl_mc.visible = true;
gParts_mc.visible = true;
gWholeBunny_mc.visible = true;
toolLeftArrow_mc.visible = true;
toolRightArrow_mc.visible = true;
girl_mc.x = right_mc.x;
gParts_mc.x = right_mc.x;
gWholeBunny_mc.x = right_mc.x;
girl_mc.addEventListener(Event.ENTER_FRAME, gPiecesLeft);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown);
boy_mc.removeEventListener(Event.ENTER_FRAME, bPieces);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolLeftUp);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolRightUp);
toolRightArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolRightDown);
toolRightArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolRightDown2);
marker2_mc.addChild(bParts_mc);
marker2_mc.addChild(wholeBunny_mc);
wholeBunny_mc.removeEventListener(Event.ENTER_FRAME, bWholeCheckPosition);
}
public function toolRightUp3(_arg1:MouseEvent):void{
toolRightArrow_mc.gotoAndStop(1);
anim_mc.alpha = 0.1;
anim_mc.visible = true;
anim_mc.x = right_mc.x;
anim_mc.addEventListener(Event.ENTER_FRAME, bgAnim);
toolLeftArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown2);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_DOWN, toolLeftDown3);
bg_mc.removeEventListener(Event.ENTER_FRAME, bgLeft);
bg_mc.removeEventListener(Event.ENTER_FRAME, bgRight);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolLeftUp2);
stage.removeEventListener(MouseEvent.MOUSE_UP, toolRightUp3);
toolRightArrow_mc.removeEventListener(MouseEvent.MOUSE_DOWN, toolRightDown3);
}
public function gWholeStopMovePart(_arg1:MouseEvent):void{
gWholeBunny_mc.stopDrag();
gWholeBunny_mc.addEventListener(Event.ENTER_FRAME, gWholeCheckPosition);
stage.removeEventListener(MouseEvent.MOUSE_UP, gWholeStopMovePart);
gWholeBunny_mc.removeEventListener(Event.ENTER_FRAME, gWholeMouseChanges);
}
public function toolLeftDown3(_arg1:MouseEvent):void{
toolLeftArrow_mc.gotoAndStop(2);
stage.addEventListener(MouseEvent.MOUSE_UP, toolLeftUp3);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_OUT, up2);
}
public function toolLeftDown2(_arg1:MouseEvent):void{
toolLeftArrow_mc.gotoAndStop(2);
stage.addEventListener(MouseEvent.MOUSE_UP, toolLeftUp2);
toolLeftArrow_mc.addEventListener(MouseEvent.MOUSE_OUT, up2);
}
public function gStopMovePart(_arg1:MouseEvent):void{
selectedClip.stopDrag();
selectedClip.addEventListener(Event.ENTER_FRAME, checkPosition);
stage.removeEventListener(MouseEvent.MOUSE_UP, gStopMovePart);
selectedClip.removeEventListener(Event.ENTER_FRAME, mouseChanges);
selectedClip.addEventListener(MouseEvent.MOUSE_DOWN, gMovePart);
}
public function wholeMouseChanges(_arg1:Event):void{
wholeBunny_mc.alpha = (wholeBunny_mc.alpha + 0.2);
wholeBunny_mc.scaleX = (wholeBunny_mc.scaleX + ((1 - wholeBunny_mc.scaleX) / easing));
wholeBunny_mc.scaleY = (wholeBunny_mc.scaleY + ((1 - wholeBunny_mc.scaleY) / easing));
}
public function bMovePart(_arg1:MouseEvent):void{
if (selectedClip){
selectedClip.removeEventListener(Event.ENTER_FRAME, checkPosition);
};
selectedClip = (_arg1.target as MovieClip);
selectedClip.startDrag();
selectedClipStart.x = selectedClip.x;
selectedClipStart.y = selectedClip.y;
stage.addEventListener(MouseEvent.MOUSE_UP, bStopMovePart);
selectedClip.removeEventListener(Event.ENTER_FRAME, checkPosition);
bParts_mc.swapChildren(selectedClip, bParts_mc.getChildAt((bParts_mc.numChildren - 1)));
scaleXNum = selectedClip.scaleX;
scaleYNum = selectedClip.scaleY;
selectedClip.addEventListener(Event.ENTER_FRAME, mouseChanges);
wholeBunny_mc.removeEventListener(Event.ENTER_FRAME, bWholeCheckPosition);
selectedClip.removeEventListener(MouseEvent.MOUSE_DOWN, bMovePart);
}
public function bWholeCheckPosition(_arg1:Event):void{
var _local2:uint;
var _local3:MovieClip;
if (wholeBunny_mc.x < -160){
wholeBunny_mc.alpha = 0;
wholeBunny_mc.x = wholeBunnyStart_mc.x;
wholeBunny_mc.y = wholeBunnyStart_mc.y;
_local2 = 0;
while (_local2 < wholeBunny_mc.numChildren) {
_local3 = (wholeBunny_mc.getChildAt(_local2) as MovieClip);
piece = new _local3.constructor();
piece.transform = _local3.transform;
piece.x = (parent.mouseX + _local3.x);
piece.y = (parent.mouseY + _local3.y);
(root as MovieClip).bunny_mc.addChild((piece as DisplayObject));
_local2++;
};
} else {
wholeBunny_mc.x = (wholeBunny_mc.x + ((wholeBunnyStart_mc.x - wholeBunny_mc.x) / easing));
wholeBunny_mc.y = (wholeBunny_mc.y + ((wholeBunnyStart_mc.y - wholeBunny_mc.y) / easing));
};
if (wholeBunny_mc.alpha < 1){
wholeBunny_mc.alpha = (wholeBunny_mc.alpha + 0.05);
};
wholeBunny_mc.scaleX = (wholeBunny_mc.scaleX + ((0.42 - wholeBunny_mc.scaleX) / easing));
wholeBunny_mc.scaleY = (wholeBunny_mc.scaleY + ((0.42 - wholeBunny_mc.scaleY) / easing));
}
public function bgLeft(_arg1:Event):void{
if (bg_mc.alpha <= 1){
bg_mc.alpha = (bg_mc.alpha + 0.1);
bgText_mc.alpha = (bgText_mc.alpha + 0.1);
toolLeftArrow_mc.alpha = (toolLeftArrow_mc.alpha + 0.1);
};
if (girl_mc.alpha >= 0){
girl_mc.alpha = (girl_mc.alpha - 0.1);
piecesText_mc.alpha = (piecesText_mc.alpha - 0.1);
gParts_mc.alpha = (gParts_mc.alpha - 0.1);
gWholeBunny_mc.alpha = (gWholeBunny_mc.alpha - 0.1);
};
if ((((girl_mc.alpha <= 0)) && ((girl_mc.visible == true)))){
girl_mc.visible = false;
piecesText_mc.visible = false;
gParts_mc.visible = false;
gWholeBunny_mc.visible = false;
};
bg_mc.x = (bg_mc.x + ((center_mc.x - bg_mc.x) / 4));
girl_mc.x = (girl_mc.x + ((left_mc.x - girl_mc.x) / 4));
gParts_mc.x = (gParts_mc.x + ((left_mc.x - gParts_mc.x) / 4));
gWholeBunny_mc.x = (gWholeBunny_mc.x + ((left_mc.x - gWholeBunny_mc.x) / 4));
}
}
}//package BunnyBuilderWeb_fla
Section 83
//trash_246 (BunnyBuilderWeb_fla.trash_246)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class trash_246 extends MovieClip {
public function trash_246(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
stop();
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 84
//yesButton_249 (BunnyBuilderWeb_fla.yesButton_249)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class yesButton_249 extends MovieClip {
public function yesButton_249(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 85
//zombie_bunny_150 (BunnyBuilderWeb_fla.zombie_bunny_150)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class zombie_bunny_150 extends MovieClip {
public function zombie_bunny_150(){
addFrameScript(0, frame1, 102, frame103);
}
function frame1(){
stop();
}
function frame103(){
(parent as MovieClip).gotoAndStop(1);
}
}
}//package BunnyBuilderWeb_fla
Section 86
//zombie_walk_move_140 (BunnyBuilderWeb_fla.zombie_walk_move_140)
package BunnyBuilderWeb_fla {
import flash.display.*;
public dynamic class zombie_walk_move_140 extends MovieClip {
public function zombie_walk_move_140(){
addFrameScript(0, frame1, 734, frame735);
}
function frame735(){
(parent as MovieClip).gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package BunnyBuilderWeb_fla
Section 87
//Regular (fl.transitions.easing.Regular)
package fl.transitions.easing {
public class Regular {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
}
}//package fl.transitions.easing
Section 88
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Tween extends EventDispatcher {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
public var begin:Number;// = NAN
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var change:Number;// = NAN
private var _finish:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
isPlaying = false;
obj = null;
prop = "";
func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
begin = NaN;
change = NaN;
useSeconds = false;
prevTime = NaN;
prevPos = NaN;
looping = false;
_duration = NaN;
_time = NaN;
_fps = NaN;
_position = NaN;
_startTime = NaN;
_intervalID = 0;
_finish = NaN;
_timer = null;
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean;
_local2 = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//package fl.transitions
Section 89
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
time = NaN;
position = NaN;
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 90
//BoyArm1 (BoyArm1)
package {
import flash.display.*;
public dynamic class BoyArm1 extends MovieClip {
public function BoyArm1(){
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
Section 91
//BoyArm2 (BoyArm2)
package {
import flash.display.*;
public dynamic class BoyArm2 extends MovieClip {
public function BoyArm2(){
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
Section 92
//BoyBeard (BoyBeard)
package {
import flash.display.*;
public dynamic class BoyBeard extends MovieClip {
public function BoyBeard(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 93
//BoyBody (BoyBody)
package {
import flash.display.*;
public dynamic class BoyBody extends MovieClip {
public function BoyBody(){
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
Section 94
//BoyBrow2 (BoyBrow2)
package {
import flash.display.*;
public dynamic class BoyBrow2 extends MovieClip {
public function BoyBrow2(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 95
//BoyBunny (BoyBunny)
package {
import flash.display.*;
public dynamic class BoyBunny extends MovieClip {
public var mouth_mc:BoyMouth;
public var arm2_mc:BoyArm1;
public var ear2_mc:BoyEar2;
public var eyeWhite2_mc:BoyEyewhite2;
public var body_mc:BoyBody;
public var head_mc:BoyHead;
public var brow2_mc:BoyBrow2;
public var leg1_mc:BoyLeg1;
public var nose_mc:BoyNose;
public var arm1_mc:BoyArm2;
public var leg2_mc:BoyLeg2;
public var pupil1_mc:BoyPupil1;
public var tail_mc:BoyTail;
}
}//package
Section 96
//BoyEar1 (BoyEar1)
package {
import flash.display.*;
public dynamic class BoyEar1 extends MovieClip {
public function BoyEar1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 97
//BoyEar2 (BoyEar2)
package {
import flash.display.*;
public dynamic class BoyEar2 extends MovieClip {
public function BoyEar2(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
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();
}
function frame11(){
stop();
}
}
}//package
Section 98
//BoyEyewhite1 (BoyEyewhite1)
package {
import flash.display.*;
public dynamic class BoyEyewhite1 extends MovieClip {
public function BoyEyewhite1(){
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, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame20(){
stop();
}
function frame11(){
stop();
}
}
}//package
Section 99
//BoyEyewhite2 (BoyEyewhite2)
package {
import flash.display.*;
public dynamic class BoyEyewhite2 extends MovieClip {
public function BoyEyewhite2(){
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, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame20(){
stop();
}
function frame11(){
stop();
}
}
}//package
Section 100
//BoyGlasses (BoyGlasses)
package {
import flash.display.*;
public dynamic class BoyGlasses extends MovieClip {
public function BoyGlasses(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 101
//BoyHead (BoyHead)
package {
import flash.display.*;
public dynamic class BoyHead extends MovieClip {
public function BoyHead(){
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
Section 102
//BoyLeg1 (BoyLeg1)
package {
import flash.display.*;
public dynamic class BoyLeg1 extends MovieClip {
public function BoyLeg1(){
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
Section 103
//BoyLeg2 (BoyLeg2)
package {
import flash.display.*;
public dynamic class BoyLeg2 extends MovieClip {
public function BoyLeg2(){
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
Section 104
//BoyMouth (BoyMouth)
package {
import flash.display.*;
public dynamic class BoyMouth extends MovieClip {
public function BoyMouth(){
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, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame25(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame22(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame21(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame23(){
stop();
}
function frame24(){
stop();
}
function frame28(){
stop();
}
function frame36(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
function frame31(){
stop();
}
function frame34(){
stop();
}
function frame27(){
stop();
}
function frame11(){
stop();
}
function frame35(){
stop();
}
function frame37(){
stop();
}
function frame43(){
stop();
}
function frame29(){
stop();
}
function frame33(){
stop();
}
function frame40(){
stop();
}
function frame41(){
stop();
}
function frame39(){
stop();
}
function frame26(){
stop();
}
function frame32(){
stop();
}
function frame42(){
stop();
}
function frame45(){
stop();
}
function frame46(){
stop();
}
function frame44(){
stop();
}
function frame47(){
stop();
}
function frame38(){
stop();
}
}
}//package
Section 105
//BoyMustache (BoyMustache)
package {
import flash.display.*;
public dynamic class BoyMustache extends MovieClip {
public function BoyMustache(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 106
//BoyNose (BoyNose)
package {
import flash.display.*;
public dynamic class BoyNose extends MovieClip {
public function BoyNose(){
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);
}
function frame10(){
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
Section 107
//BoyPants (BoyPants)
package {
import flash.display.*;
public dynamic class BoyPants extends MovieClip {
public function BoyPants(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 108
//BoyPupil1 (BoyPupil1)
package {
import flash.display.*;
public dynamic class BoyPupil1 extends MovieClip {
public function BoyPupil1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 109
//BoyTail (BoyTail)
package {
import flash.display.*;
public dynamic class BoyTail extends MovieClip {
public function BoyTail(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
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();
}
function frame11(){
stop();
}
}
}//package
Section 110
//bunnyBrow1 (bunnyBrow1)
package {
import flash.display.*;
public dynamic class bunnyBrow1 extends MovieClip {
public function bunnyBrow1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 111
//Explosion (Explosion)
package {
import flash.media.*;
public dynamic class Explosion extends Sound {
}
}//package
Section 112
//Pop (Pop)
package {
import flash.media.*;
public dynamic class Pop extends Sound {
}
}//package