Section 1
//cbvdsfdsf_loader_7 (DRESSUPGAMEBG10ROOMDECOR_fla.cbvdsfdsf_loader_7)
package DRESSUPGAMEBG10ROOMDECOR_fla {
import flash.display.*;
public dynamic class cbvdsfdsf_loader_7 extends MovieClip {
public var masker:MovieClip;
}
}//package DRESSUPGAMEBG10ROOMDECOR_fla
Section 2
//MainTimeline (DRESSUPGAMEBG10ROOMDECOR_fla.MainTimeline)
package DRESSUPGAMEBG10ROOMDECOR_fla {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var sndon:SimpleButton;
public var againBtn:MovieClip;
public var Sticks:Array;
public var plyBtn:MovieClip;
public var count:int;
public var preBg:MovieClip;
public var site:MovieClip;
public var sndoff:SimpleButton;
public var nextBtn:MovieClip;
public var j:int;
public var i:int;
public var bullet:backscore;
public var preloader:MovieClip;
public var th;
public var Things:Array;
public var stick:MovieClip;
public var contestMenu:ContextMenu;
public var percentage:Number;
public var st;
public var bulletChannel:SoundChannel;
public var resetBtn:MovieClip;
public var logo_mc:SimpleButton;
public var preBtn:MovieClip;
public var contextmenuItem:ContextMenuItem;
public var moreBtn:MovieClip;
public var BitsLoaded:TextField;
public var thing:MovieClip;
public var ball:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function hidePre(_arg1:MouseEvent):void{
preBg.visible = false;
}
public function againFun(_arg1:MouseEvent):void{
var _local2:*;
count = thing.numChildren;
preBg.visible = false;
nextBtn.visible = false;
resetBtn.visible = false;
preBtn.visible = true;
moreBtn.visible = false;
againBtn.visible = false;
resetFun(_arg1);
i = 0;
while (i < Things.length) {
_local2 = Things[i];
_local2.mouseEnabled = true;
_local2.mouseChildren = true;
_local2.addEventListener(MouseEvent.MOUSE_DOWN, dragFun);
_local2.addEventListener(MouseEvent.MOUSE_UP, dropFun);
_local2.buttonMode = true;
i++;
};
}
public function dropFun(_arg1:MouseEvent):void{
var _local2:*;
var _local3:int;
var _local4:*;
_local2 = _arg1.currentTarget;
_local3 = _local2.I;
_local4 = stick.getChildAt(_local3);
if (HitTest.complexHitTestObject(_local2, _local4, 1)){
_local2.x = _local4.x;
_local2.y = _local4.y;
_local2.buttonMode = true;
_local2.mouseChildren = false;
_local2.mouseEnabled = false;
_local2.removeEventListener(MouseEvent.MOUSE_DOWN, dragFun);
_local2.removeEventListener(MouseEvent.MOUSE_UP, dropFun);
count--;
if (count < 1){
nextBtn.visible = true;
};
};
thing.setChildIndex(_local2, _local2.I);
_local2.stopDrag();
}
public function sitefun(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function sndop(_arg1:MouseEvent):void{
if (bulletChannel){
bulletChannel.stop();
};
sndon.visible = true;
sndoff.visible = false;
}
public function BeeMoving(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (mouseX - ball.x);
_local3 = (mouseY - ball.y);
ball.x = (ball.x + (_local2 * 0.2));
ball.y = (ball.y + (_local3 * 0.2));
_local4 = loaderInfo.bytesLoaded;
_local5 = loaderInfo.bytesTotal;
percentage = Math.round(((_local4 / _local5) * 100));
BitsLoaded.text = (((Math.round((_local4 / 0x0400)) + "kBs /") + Math.round((_local5 / 0x0400))) + "kBs");
if (_local4 == _local5){
stage.removeEventListener(Event.ENTER_FRAME, BeeMoving);
if (this.loaderInfo.parameters.bg){
gotoAndStop(5);
} else {
gotoAndStop(2);
};
};
}
function frame1(){
stop();
contestMenu = new ContextMenu();
contestMenu.hideBuiltInItems();
contextmenuItem = new ContextMenuItem("www.123peppy.com");
contextmenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Site);
contestMenu.customItems.push(contextmenuItem);
this.contextMenu = contestMenu;
percentage = 0;
stage.addEventListener(Event.ENTER_FRAME, BeeMoving);
site.buttonMode = true;
site.addEventListener(MouseEvent.CLICK, sitefun);
}
public function showPre(_arg1:MouseEvent):void{
preBg.visible = true;
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function sndst(_arg1:MouseEvent):void{
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.visible = true;
sndon.visible = false;
}
function frame3(){
MochiBot.track(this, "8205f5ef");
stop();
if (bulletChannel){
bulletChannel.stop();
};
bullet = new backscore();
Things = new Array();
Sticks = new Array();
count = thing.numChildren;
preBg.visible = false;
moreBtn.visible = false;
againBtn.visible = false;
resetBtn.visible = false;
nextBtn.visible = false;
stick.alpha = 0;
againBtn.buttonMode = true;
moreBtn.buttonMode = true;
preBtn.buttonMode = true;
nextBtn.buttonMode = true;
resetBtn.buttonMode = true;
i = 0;
while (i < thing.numChildren) {
th = thing.getChildAt(i);
st = stick.getChildAt(i);
th.X = th.x;
th.Y = th.y;
th.gotoAndStop(1);
th.I = thing.getChildIndex(th);
th.Set = false;
th.addEventListener(MouseEvent.MOUSE_DOWN, dragFun);
th.addEventListener(MouseEvent.MOUSE_UP, dropFun);
th.buttonMode = true;
Things.push(th);
Sticks.push(st);
i++;
};
bulletChannel = bullet.play(0, int.MAX_VALUE);
preBtn.addEventListener(MouseEvent.MOUSE_OVER, showPre);
preBtn.addEventListener(MouseEvent.MOUSE_OUT, hidePre);
resetBtn.addEventListener(MouseEvent.CLICK, resetFun);
nextBtn.addEventListener(MouseEvent.CLICK, nexPage);
againBtn.addEventListener(MouseEvent.CLICK, againFun);
moreBtn.addEventListener(MouseEvent.CLICK, linkPage);
logo_mc.addEventListener(MouseEvent.CLICK, linkPage);
sndoff.addEventListener(MouseEvent.CLICK, sndop);
sndon.addEventListener(MouseEvent.CLICK, sndst);
}
public function playGame(_arg1:MouseEvent):void{
nextFrame();
}
public function resetFun(_arg1:MouseEvent):void{
var _local2:*;
resetBtn.visible = false;
count = thing.numChildren;
i = 0;
while (i < Things.length) {
_local2 = Things[i];
_local2.x = _local2.X;
_local2.y = _local2.Y;
_local2.Set = false;
_local2.gotoAndStop(1);
_local2.mouseEnabled = true;
_local2.mouseChildren = true;
_local2.addEventListener(MouseEvent.MOUSE_DOWN, dragFun);
_local2.addEventListener(MouseEvent.MOUSE_UP, dropFun);
_local2.buttonMode = true;
i++;
};
}
public function dragFun(_arg1:MouseEvent):void{
var _local2:*;
_local2 = _arg1.currentTarget;
thing.setChildIndex(_local2, (thing.numChildren - 1));
_local2.startDrag();
resetBtn.visible = true;
}
public function linkPage(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function nexPage(_arg1:MouseEvent):void{
var _local2:*;
preBg.visible = false;
nextBtn.visible = false;
resetBtn.visible = false;
preBtn.visible = false;
moreBtn.visible = true;
againBtn.visible = true;
i = 0;
while (i < Things.length) {
_local2 = Things[i];
_local2.removeEventListener(MouseEvent.MOUSE_DOWN, dragFun);
_local2.removeEventListener(MouseEvent.MOUSE_UP, dropFun);
_local2.buttonMode = false;
i++;
};
}
function frame2(){
stop();
plyBtn.buttonMode = true;
plyBtn.addEventListener(MouseEvent.CLICK, playGame);
}
}
}//package DRESSUPGAMEBG10ROOMDECOR_fla
Section 3
//peppydfgfsds_loader_19 (DRESSUPGAMEBG10ROOMDECOR_fla.peppydfgfsds_loader_19)
package DRESSUPGAMEBG10ROOMDECOR_fla {
import flash.display.*;
public dynamic class peppydfgfsds_loader_19 extends MovieClip {
public function peppydfgfsds_loader_19(){
addFrameScript(46, frame47);
}
function frame47(){
stop();
}
}
}//package DRESSUPGAMEBG10ROOMDECOR_fla
Section 4
//xcvSymbol23_98 (DRESSUPGAMEBG10ROOMDECOR_fla.xcvSymbol23_98)
package DRESSUPGAMEBG10ROOMDECOR_fla {
import flash.display.*;
public dynamic class xcvSymbol23_98 extends MovieClip {
public var c:MovieClip;
}
}//package DRESSUPGAMEBG10ROOMDECOR_fla
Section 5
//backscore (backscore)
package {
import flash.media.*;
public dynamic class backscore extends Sound {
}
}//package
Section 6
//HitTest (HitTest)
package {
import flash.display.*;
import flash.geom.*;
public class HitTest {
protected static function getDrawMatrix(_arg1:DisplayObject, _arg2:Rectangle, _arg3:Number):Matrix{
var _local4:Point;
var _local5:Matrix;
var _local6:Matrix;
_local6 = _arg1.root.transform.concatenatedMatrix;
_local4 = _arg1.localToGlobal(new Point());
_local5 = _arg1.transform.concatenatedMatrix;
_local5.tx = (_local4.x - _arg2.x);
_local5.ty = (_local4.y - _arg2.y);
_local5.a = (_local5.a / _local6.a);
_local5.d = (_local5.d / _local6.d);
if (_arg3 != 1){
_local5.scale(_arg3, _arg3);
};
return (_local5);
}
public static function complexHitTestObject(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Boolean{
return (!((complexIntersectionRectangle(_arg1, _arg2, _arg3).width == 0)));
}
public static function complexIntersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Rectangle{
var _local4:Rectangle;
var _local5:BitmapData;
var _local6:Rectangle;
if (_arg3 <= 0){
throw (new Error("ArgumentError: Error #5001: Invalid value for accurracy", 5001));
};
if (!_arg1.hitTestObject(_arg2)){
return (new Rectangle());
};
_local4 = intersectionRectangle(_arg1, _arg2);
if (((((_local4.width * _arg3) < 1)) || (((_local4.height * _arg3) < 1)))){
return (new Rectangle());
};
_local5 = new BitmapData((_local4.width * _arg3), (_local4.height * _arg3), false, 0);
_local5.draw(_arg1, HitTest.getDrawMatrix(_arg1, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, 0xFF));
_local5.draw(_arg2, HitTest.getDrawMatrix(_arg2, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0xFF), BlendMode.DIFFERENCE);
_local6 = _local5.getColorBoundsRect(4294967295, 4278255615);
_local5.dispose();
if (_arg3 != 1){
_local6.x = (_local6.x / _arg3);
_local6.y = (_local6.y / _arg3);
_local6.width = (_local6.width / _arg3);
_local6.height = (_local6.height / _arg3);
};
_local6.x = (_local6.x + _local4.x);
_local6.y = (_local6.y + _local4.y);
return (_local6);
}
public static function intersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject):Rectangle{
var _local3:Rectangle;
var _local4:Rectangle;
var _local5:Rectangle;
if (((((!(_arg1.root)) || (!(_arg2.root)))) || (!(_arg1.hitTestObject(_arg2))))){
return (new Rectangle());
};
_local3 = _arg1.getBounds(_arg1.root);
_local4 = _arg2.getBounds(_arg2.root);
_local5 = new Rectangle();
_local5.x = Math.max(_local3.x, _local4.x);
_local5.y = Math.max(_local3.y, _local4.y);
_local5.width = Math.min(((_local3.x + _local3.width) - _local5.x), ((_local4.x + _local4.width) - _local5.x));
_local5.height = Math.min(((_local3.y + _local3.height) - _local5.y), ((_local4.y + _local4.height) - _local5.y));
return (_local5);
}
}
}//package
Section 7
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package