Section 1
//PNGEncoder (com.adobe.images.PNGEncoder)
package com.adobe.images {
import flash.utils.*;
import flash.display.*;
public class PNGEncoder {
private static var crcTableComputed:Boolean = false;
private static var crcTable:Array;
private static function writeChunk(_arg1:ByteArray, _arg2:uint, _arg3:ByteArray):void{
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:int;
var _local8:uint;
var _local9:uint;
var _local10:uint;
if (!crcTableComputed){
crcTableComputed = true;
crcTable = [];
_local9 = 0;
while (_local9 < 0x0100) {
_local8 = _local9;
_local10 = 0;
while (_local10 < 8) {
if ((_local8 & 1)){
_local8 = uint((uint(3988292384) ^ uint((_local8 >>> 1))));
} else {
_local8 = uint((_local8 >>> 1));
};
_local10++;
};
crcTable[_local9] = _local8;
_local9++;
};
};
_local4 = 0;
if (_arg3 != null){
_local4 = _arg3.length;
};
_arg1.writeUnsignedInt(_local4);
_local5 = _arg1.position;
_arg1.writeUnsignedInt(_arg2);
if (_arg3 != null){
_arg1.writeBytes(_arg3);
};
_local6 = _arg1.position;
_arg1.position = _local5;
_local8 = 4294967295;
_local7 = 0;
while (_local7 < (_local6 - _local5)) {
_local8 = uint((crcTable[((_local8 ^ _arg1.readUnsignedByte()) & uint(0xFF))] ^ uint((_local8 >>> 8))));
_local7++;
};
_local8 = uint((_local8 ^ uint(4294967295)));
_arg1.position = _local6;
_arg1.writeUnsignedInt(_local8);
}
public static function encode(_arg1:BitmapData):ByteArray{
var _local2:ByteArray;
var _local3:ByteArray;
var _local4:ByteArray;
var _local5:int;
var _local6:uint;
var _local7:int;
_local2 = new ByteArray();
_local2.writeUnsignedInt(2303741511);
_local2.writeUnsignedInt(218765834);
_local3 = new ByteArray();
_local3.writeInt(_arg1.width);
_local3.writeInt(_arg1.height);
_local3.writeUnsignedInt(134610944);
_local3.writeByte(0);
writeChunk(_local2, 1229472850, _local3);
_local4 = new ByteArray();
_local5 = 0;
while (_local5 < _arg1.height) {
_local4.writeByte(0);
if (!_arg1.transparent){
_local7 = 0;
while (_local7 < _arg1.width) {
_local6 = _arg1.getPixel(_local7, _local5);
_local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | 0xFF)));
_local7++;
};
} else {
_local7 = 0;
while (_local7 < _arg1.width) {
_local6 = _arg1.getPixel32(_local7, _local5);
_local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | (_local6 >>> 24))));
_local7++;
};
};
_local5++;
};
_local4.compress();
writeChunk(_local2, 1229209940, _local4);
writeChunk(_local2, 1229278788, null);
return (_local2);
}
}
}//package com.adobe.images
Section 2
//Base64 (com.dynamicflash.util.Base64)
package com.dynamicflash.util {
import flash.utils.*;
public class Base64 {
public static const version:String = "1.0.0";
private static const BASE64_CHARS:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
public function Base64(){
throw (new Error("Base64 class is static container only"));
}
public static function encode(_arg1:String):String{
var _local2:ByteArray;
_local2 = new ByteArray();
_local2.writeUTFBytes(_arg1);
return (encodeByteArray(_local2));
}
public static function encodeByteArray(_arg1:ByteArray):String{
var _local2:String;
var _local3:Array;
var _local4:Array;
var _local5:uint;
var _local6:uint;
var _local7:uint;
_local2 = "";
_local4 = new Array(4);
_arg1.position = 0;
while (_arg1.bytesAvailable > 0) {
_local3 = new Array();
_local5 = 0;
while ((((_local5 < 3)) && ((_arg1.bytesAvailable > 0)))) {
_local3[_local5] = _arg1.readUnsignedByte();
_local5++;
};
_local4[0] = ((_local3[0] & 252) >> 2);
_local4[1] = (((_local3[0] & 3) << 4) | (_local3[1] >> 4));
_local4[2] = (((_local3[1] & 15) << 2) | (_local3[2] >> 6));
_local4[3] = (_local3[2] & 63);
_local6 = _local3.length;
while (_local6 < 3) {
_local4[(_local6 + 1)] = 64;
_local6++;
};
_local7 = 0;
while (_local7 < _local4.length) {
_local2 = (_local2 + BASE64_CHARS.charAt(_local4[_local7]));
_local7++;
};
};
return (_local2);
}
public static function decode(_arg1:String):String{
var _local2:ByteArray;
_local2 = decodeToByteArray(_arg1);
return (_local2.readUTFBytes(_local2.length));
}
public static function decodeToByteArray(_arg1:String):ByteArray{
var _local2:ByteArray;
var _local3:Array;
var _local4:Array;
var _local5:uint;
var _local6:uint;
var _local7:uint;
_local2 = new ByteArray();
_local3 = new Array(4);
_local4 = new Array(3);
_local5 = 0;
while (_local5 < _arg1.length) {
_local6 = 0;
while ((((_local6 < 4)) && (((_local5 + _local6) < _arg1.length)))) {
_local3[_local6] = BASE64_CHARS.indexOf(_arg1.charAt((_local5 + _local6)));
_local6++;
};
_local4[0] = ((_local3[0] << 2) + ((_local3[1] & 48) >> 4));
_local4[1] = (((_local3[1] & 15) << 4) + ((_local3[2] & 60) >> 2));
_local4[2] = (((_local3[2] & 3) << 6) + _local3[3]);
_local7 = 0;
while (_local7 < _local4.length) {
if (_local3[(_local7 + 1)] == 64){
break;
};
_local2.writeByte(_local4[_local7]);
_local7++;
};
_local5 = (_local5 + 4);
};
_local2.position = 0;
return (_local2);
}
}
}//package com.dynamicflash.util
Section 3
//bags_108 (dolldress_fla.bags_108)
package dolldress_fla {
import flash.display.*;
public dynamic class bags_108 extends MovieClip {
public function bags_108(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 4
//bottoms_97 (dolldress_fla.bottoms_97)
package dolldress_fla {
import flash.display.*;
public dynamic class bottoms_97 extends MovieClip {
public function bottoms_97(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
gotoAndStop(2);
}
}
}//package dolldress_fla
Section 5
//buto_155 (dolldress_fla.buto_155)
package dolldress_fla {
import flash.display.*;
public dynamic class buto_155 extends MovieClip {
public function buto_155(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 6
//butocopy_158 (dolldress_fla.butocopy_158)
package dolldress_fla {
import flash.display.*;
public dynamic class butocopy_158 extends MovieClip {
public function butocopy_158(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 7
//butocopy2_163 (dolldress_fla.butocopy2_163)
package dolldress_fla {
import flash.display.*;
public dynamic class butocopy2_163 extends MovieClip {
public function butocopy2_163(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 8
//butocopy3_159 (dolldress_fla.butocopy3_159)
package dolldress_fla {
import flash.display.*;
public dynamic class butocopy3_159 extends MovieClip {
public function butocopy3_159(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 9
//butocopy4_162 (dolldress_fla.butocopy4_162)
package dolldress_fla {
import flash.display.*;
public dynamic class butocopy4_162 extends MovieClip {
public function butocopy4_162(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 10
//butocopy5_164 (dolldress_fla.butocopy5_164)
package dolldress_fla {
import flash.display.*;
public dynamic class butocopy5_164 extends MovieClip {
public function butocopy5_164(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 11
//butocopy6_161 (dolldress_fla.butocopy6_161)
package dolldress_fla {
import flash.display.*;
public dynamic class butocopy6_161 extends MovieClip {
public function butocopy6_161(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 12
//butocopy7_160 (dolldress_fla.butocopy7_160)
package dolldress_fla {
import flash.display.*;
public dynamic class butocopy7_160 extends MovieClip {
public function butocopy7_160(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 13
//ButtonHolder_46 (dolldress_fla.ButtonHolder_46)
package dolldress_fla {
import flash.display.*;
public dynamic class ButtonHolder_46 extends MovieClip {
public var b10:SimpleButton;
public var b2:SimpleButton;
public var b4:SimpleButton;
public var b9:SimpleButton;
public var b5:SimpleButton;
public var b6:SimpleButton;
public var b7:SimpleButton;
public var b1:SimpleButton;
public var b3:SimpleButton;
public var b8:SimpleButton;
public var b11:SimpleButton;
}
}//package dolldress_fla
Section 14
//buttons2_165 (dolldress_fla.buttons2_165)
package dolldress_fla {
import flash.display.*;
public dynamic class buttons2_165 extends MovieClip {
public var resetbtn:MovieClip;
public var nextbtn1:MovieClip;
}
}//package dolldress_fla
Section 15
//caps_147 (dolldress_fla.caps_147)
package dolldress_fla {
import flash.display.*;
public dynamic class caps_147 extends MovieClip {
public function caps_147(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 16
//cbvdsfdsf_loader_7 (dolldress_fla.cbvdsfdsf_loader_7)
package dolldress_fla {
import flash.display.*;
public dynamic class cbvdsfdsf_loader_7 extends MovieClip {
public var masker:MovieClip;
}
}//package dolldress_fla
Section 17
//chains_124 (dolldress_fla.chains_124)
package dolldress_fla {
import flash.display.*;
public dynamic class chains_124 extends MovieClip {
public function chains_124(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 18
//cvbcvbcvbvcy_78_1_loader_20 (dolldress_fla.cvbcvbcvbvcy_78_1_loader_20)
package dolldress_fla {
import flash.display.*;
public dynamic class cvbcvbcvbvcy_78_1_loader_20 extends MovieClip {
public function cvbcvbcvbvcy_78_1_loader_20(){
addFrameScript(56, frame57);
}
function frame57(){
stop();
}
}
}//package dolldress_fla
Section 19
//doll_70 (dolldress_fla.doll_70)
package dolldress_fla {
import flash.display.*;
public dynamic class doll_70 extends MovieClip {
public var dresses:MovieClip;
public var bags:MovieClip;
public var glass:MovieClip;
public var earring:MovieClip;
public var bottoms:MovieClip;
public var tops:MovieClip;
public var chain:MovieClip;
public var shoes:MovieClip;
public var hair:MovieClip;
}
}//package dolldress_fla
Section 20
//dress_82 (dolldress_fla.dress_82)
package dolldress_fla {
import flash.display.*;
public dynamic class dress_82 extends MovieClip {
public function dress_82(){
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 21
//ear_142 (dolldress_fla.ear_142)
package dolldress_fla {
import flash.display.*;
public dynamic class ear_142 extends MovieClip {
public function ear_142(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 22
//enteryourname_186 (dolldress_fla.enteryourname_186)
package dolldress_fla {
import flash.display.*;
public dynamic class enteryourname_186 extends MovieClip {
public function enteryourname_186(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 23
//fhvjcopy3_192 (dolldress_fla.fhvjcopy3_192)
package dolldress_fla {
import flash.display.*;
public dynamic class fhvjcopy3_192 extends MovieClip {
public function fhvjcopy3_192(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 24
//full_193 (dolldress_fla.full_193)
package dolldress_fla {
import flash.display.*;
import flash.text.*;
public dynamic class full_193 extends MovieClip {
public var t2:TextField;
public var dolls:MovieClip;
}
}//package dolldress_fla
Section 25
//gals_137 (dolldress_fla.gals_137)
package dolldress_fla {
import flash.display.*;
public dynamic class gals_137 extends MovieClip {
public function gals_137(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 26
//hdhdfhf_emaikl_197 (dolldress_fla.hdhdfhf_emaikl_197)
package dolldress_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public dynamic class hdhdfhf_emaikl_197 extends MovieClip {
public var friendMail:TextField;
public var close:SimpleButton;
public function hdhdfhf_emaikl_197(){
addFrameScript(0, frame1);
}
public function hideAdd(_arg1:MouseEvent):void{
this.visible = false;
}
function frame1(){
this.visible = false;
close.addEventListener(MouseEvent.CLICK, hideAdd);
}
}
}//package dolldress_fla
Section 27
//HOE_190 (dolldress_fla.HOE_190)
package dolldress_fla {
import flash.display.*;
public dynamic class HOE_190 extends MovieClip {
public var playagain:MovieClip;
}
}//package dolldress_fla
Section 28
//jgjyiy9_emaikl_196 (dolldress_fla.jgjyiy9_emaikl_196)
package dolldress_fla {
import flash.display.*;
import flash.text.*;
public dynamic class jgjyiy9_emaikl_196 extends MovieClip {
public var addition:SimpleButton;
public var close:SimpleButton;
public var submit:SimpleButton;
public var messageDetail:TextField;
public var friendName:TextField;
public var friend2:MovieClip;
public var friend4:MovieClip;
public var friend1:MovieClip;
public var friend3:MovieClip;
public var friendMail:TextField;
public var nameDetail:TextField;
public var mailDetail:TextField;
}
}//package dolldress_fla
Section 29
//MainTimeline (dolldress_fla.MainTimeline)
package dolldress_fla {
import flash.utils.*;
import flash.display.*;
import gs.*;
import flash.events.*;
import flash.geom.*;
import com.adobe.images.*;
import fl.transitions.easing.*;
import com.dynamicflash.util.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
import gs.easing.*;
public dynamic class MainTimeline extends MovieClip {
public var girlDoll:String;
public var t1:TextField;
public var dress_btn:MovieClip;
public var tops_btn:MovieClip;
public var preloader:MovieClip;
public var hair_btn:MovieClip;
public var shoes_btn:MovieClip;
public var nextbtn:MovieClip;
public var full:MovieClip;
public var contestMenu:ContextMenu;
public var percentage:Number;
public var popup:MovieClip;
public var logo_mc:SimpleButton;
public var girldollArray:Array;
public var BitsLoaded:TextField;
public var queCount:uint;
public var buttons2:MovieClip;
public var dress1;
public var mailArray:Array;
public var ent:MovieClip;
public var sndon:SimpleButton;
public var bullet:backscore;
public var glass_btn:MovieClip;
public var bottoms_btn:MovieClip;
public var doll:MovieClip;
public var top;
public var sndoff:SimpleButton;
public var dulogo_btn:SimpleButton;
public var save:MovieClip;
public var buttonHolder:MovieClip;
public var play_more:MovieClip;
public var bags_btn:MovieClip;
public var tempCount:Number;
public var email:MovieClip;
public var nex:MovieClip;
public var bulletChannel:SoundChannel;
public var contextmenuItem:ContextMenuItem;
public var chain_btn:MovieClip;
public var studs_btn:MovieClip;
public var bot;
public var pl:MovieClip;
public var ball:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
public function result(_arg1:Event):void{
if (t1.text == ""){
nextbtn.visible = false;
} else {
nextbtn.visible = true;
};
}
public function dress(_arg1:MouseEvent):void{
doll.dresses.nextFrame();
Globe.dress = doll.dresses.currentFrame;
Globe.tops = 0;
Globe.bottoms = 0;
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
dress1 = 1;
top = 0;
bot = 0;
}
public function ser(_arg1:Event){
if (dress1 == 1){
buttons2.nextbtn1.visible = true;
} else {
if ((((top == 1)) && ((bot == 1)))){
buttons2.nextbtn1.visible = true;
} else {
buttons2.nextbtn1.visible = false;
};
};
}
function frame2(){
stop();
Globe.playback = true;
if (bulletChannel){
bulletChannel.stop();
};
pl.buttonMode = true;
pl.addEventListener(MouseEvent.CLICK, plays);
Globe.temp = 1;
tempCount = 0;
while (tempCount <= (buttonHolder.numChildren - 1)) {
buttonHolder.getChildAt(tempCount).addEventListener(MouseEvent.CLICK, starter);
tempCount++;
};
pl.addEventListener(MouseEvent.ROLL_OVER, rollover1);
pl.addEventListener(MouseEvent.ROLL_OUT, rollout1);
}
function frame3(){
stop();
dress1 = 0;
top = 0;
bot = 0;
doll.hair.gotoAndStop(1);
doll.glass.gotoAndStop(1);
doll.dresses.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.chain.gotoAndStop(1);
doll.earring.gotoAndStop(1);
doll.bags.gotoAndStop(1);
stage.addEventListener(Event.ENTER_FRAME, ser);
bullet = new backscore();
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.addEventListener(MouseEvent.CLICK, sndop);
sndon.addEventListener(MouseEvent.CLICK, sndst);
dress_btn.addEventListener(MouseEvent.CLICK, dress);
hair_btn.addEventListener(MouseEvent.CLICK, hair);
tops_btn.addEventListener(MouseEvent.CLICK, tops);
bottoms_btn.addEventListener(MouseEvent.CLICK, bottoms);
shoes_btn.addEventListener(MouseEvent.CLICK, shoe);
chain_btn.addEventListener(MouseEvent.CLICK, chain);
studs_btn.addEventListener(MouseEvent.CLICK, earring);
bags_btn.addEventListener(MouseEvent.CLICK, bags);
glass_btn.addEventListener(MouseEvent.CLICK, glass);
buttons2.resetbtn.addEventListener(MouseEvent.CLICK, rese);
buttons2.nextbtn1.addEventListener(MouseEvent.CLICK, nx);
buttons2.resetbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons2.nextbtn1.addEventListener(MouseEvent.ROLL_OVER, rollover);
dress_btn.buttonMode = true;
hair_btn.buttonMode = true;
tops_btn.buttonMode = true;
bottoms_btn.buttonMode = true;
shoes_btn.buttonMode = true;
chain_btn.buttonMode = true;
studs_btn.buttonMode = true;
bags_btn.buttonMode = true;
glass_btn.buttonMode = true;
dress_btn.gotoAndStop(Globe.temp);
hair_btn.gotoAndStop(Globe.temp);
tops_btn.gotoAndStop(Globe.temp);
bottoms_btn.gotoAndStop(Globe.temp);
shoes_btn.gotoAndStop(Globe.temp);
chain_btn.gotoAndStop(Globe.temp);
studs_btn.gotoAndStop(Globe.temp);
bags_btn.gotoAndStop(Globe.temp);
glass_btn.gotoAndStop(Globe.temp);
buttons2.resetbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons2.nextbtn1.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons2.resetbtn.buttonMode = true;
buttons2.nextbtn1.buttonMode = true;
buttons2.resetbtn.gotoAndStop(Globe.temp);
buttons2.nextbtn1.gotoAndStop(Globe.temp);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
sndoff.x = 27.9;
sndoff.y = 571.6;
sndon.x = 24.6;
sndon.y = 570.3;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link);
};
dulogo_btn.addEventListener(MouseEvent.CLICK, link6);
}
function frame4(){
stop();
t1.text = "";
ent.gotoAndStop(Globe.temp);
nextbtn.gotoAndStop(Globe.temp);
stage.addEventListener(Event.ENTER_FRAME, result);
nextbtn.addEventListener(MouseEvent.CLICK, nextbtns);
nextbtn.addEventListener(MouseEvent.ROLL_OVER, rollover2);
nextbtn.addEventListener(MouseEvent.ROLL_OUT, rollout2);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
sndoff.x = 27.9;
sndoff.y = 571.6;
sndon.x = 24.6;
sndon.y = 570.3;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link2);
};
dulogo_btn.addEventListener(MouseEvent.CLICK, link3);
}
function frame5(){
stop();
email.gotoAndStop(Globe.temp);
play_more.gotoAndStop(Globe.temp);
play_more.buttonMode = true;
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
sndoff.x = 27.9;
sndoff.y = 571.6;
sndon.x = 24.6;
sndon.y = 570.3;
save.visible = false;
} else {
logo_mc.visible = true;
logo_mc.addEventListener(MouseEvent.CLICK, link5);
save.addEventListener(MouseEvent.CLICK, checkLogin);
};
dulogo_btn.addEventListener(MouseEvent.CLICK, link4);
play_more.addEventListener(MouseEvent.CLICK, link7);
if (((this.loaderInfo.parameters.bg) && ((Globe.playback == false)))){
email.visible = true;
nex.playagain.tabEnabled = false;
email.buttonMode = true;
email.tabEnabled = false;
email.addEventListener(MouseEvent.CLICK, showMailBox);
popup.close.addEventListener(MouseEvent.CLICK, hideMailBox);
popup.addition.addEventListener(MouseEvent.CLICK, showExtra);
popup.submit.addEventListener(MouseEvent.CLICK, callMail);
full.t2.text = this.loaderInfo.parameters.name;
girldollArray = this.loaderInfo.parameters.girldoll.split("");
if (this.loaderInfo.parameters.bg == 2){
full.dolls.dresses.gotoAndStop((Number(girldollArray[0]).toString() + Number(girldollArray[1]).toString()));
full.dolls.tops.gotoAndStop(Number(girldollArray[2]));
full.dolls.bottoms.gotoAndStop(Number(girldollArray[3]));
full.dolls.chain.gotoAndStop(Number(girldollArray[4]));
full.dolls.shoes.gotoAndStop(Number(girldollArray[5]));
full.dolls.earring.gotoAndStop(Number(girldollArray[6]));
full.dolls.bags.gotoAndStop(Number(girldollArray[7]));
full.dolls.hair.gotoAndStop(Number(girldollArray[8]));
full.dolls.glass.gotoAndStop(Number(girldollArray[9]));
} else {
full.dolls.dresses.gotoAndStop(Number(girldollArray[0]).toString());
full.dolls.tops.gotoAndStop(Number(girldollArray[1]));
full.dolls.bottoms.gotoAndStop(Number(girldollArray[2]));
full.dolls.chain.gotoAndStop(Number(girldollArray[3]));
full.dolls.shoes.gotoAndStop(Number(girldollArray[4]));
full.dolls.earring.gotoAndStop(Number(girldollArray[5]));
full.dolls.bags.gotoAndStop(Number(girldollArray[6]));
full.dolls.hair.gotoAndStop(Number(girldollArray[7]));
full.dolls.glass.gotoAndStop(Number(girldollArray[8]));
};
nex.playagain.addEventListener(MouseEvent.CLICK, plas1);
nex.playagain.addEventListener(MouseEvent.ROLL_OVER, rollover3);
nex.playagain.addEventListener(MouseEvent.ROLL_OUT, rollout3);
nex.tabEnabled = false;
nex.playagain.buttonMode = true;
nex.playagain.gotoAndStop(Globe.temp);
} else {
if (Globe.playback == true){
full.t2.text = Globe.tex;
nex.playagain.tabEnabled = false;
email.visible = true;
email.buttonMode = true;
email.tabEnabled = false;
full.dolls.chain.gotoAndStop(Globe.chain);
full.dolls.hair.gotoAndStop(Globe.hair);
full.dolls.shoes.gotoAndStop(Globe.shoes);
full.dolls.bags.gotoAndStop(Globe.bags);
full.dolls.dresses.gotoAndStop(Globe.dress);
full.dolls.tops.gotoAndStop(Globe.tops);
full.dolls.bottoms.gotoAndStop(Globe.bottoms);
full.dolls.earring.gotoAndStop(Globe.earring);
full.dolls.glass.gotoAndStop(Globe.glass);
nex.playagain.addEventListener(MouseEvent.CLICK, plas);
nex.playagain.addEventListener(MouseEvent.ROLL_OVER, rollover5);
nex.playagain.addEventListener(MouseEvent.ROLL_OUT, rollout5);
nex.playagain.buttonMode = true;
nex.playagain.gotoAndStop(Globe.temp);
email.addEventListener(MouseEvent.CLICK, showMailBox);
popup.close.addEventListener(MouseEvent.CLICK, hideMailBox);
popup.addition.addEventListener(MouseEvent.CLICK, showExtra);
popup.submit.addEventListener(MouseEvent.CLICK, callMail);
};
};
queCount = 0;
mailArray = new Array(popup.friend1, popup.friend2, popup.friend3, popup.friend4);
girlDoll = ((((((((full.dolls.dresses.currentFrame.toString() + full.dolls.tops.currentFrame.toString()) + full.dolls.bottoms.currentFrame.toString()) + full.dolls.chain.currentFrame.toString()) + full.dolls.shoes.currentFrame.toString()) + full.dolls.earring.currentFrame.toString()) + full.dolls.bags.currentFrame.toString()) + full.dolls.hair.currentFrame.toString()) + full.dolls.glass.currentFrame.toString());
trace(girlDoll);
}
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);
}
public function earring(_arg1:MouseEvent):void{
doll.earring.nextFrame();
Globe.earring = doll.earring.currentFrame;
}
public function starter(_arg1:MouseEvent):void{
var _local2:*;
_local2 = _arg1.target;
pl.gotoAndStop(_local2.name.substr(1));
Globe.temp = _local2.name.substr(1);
}
public function rollout5(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.8;
_arg1.currentTarget.scaleY = 0.8;
}
public function rollout3(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.8;
_arg1.currentTarget.scaleY = 0.8;
}
public function rollout1(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.6;
_arg1.currentTarget.scaleY = 0.6;
}
public function rollout2(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.6;
_arg1.currentTarget.scaleY = 0.6;
}
public function chain(_arg1:MouseEvent):void{
doll.chain.nextFrame();
Globe.chain = doll.chain.currentFrame;
}
public function plas1(_arg1:MouseEvent){
gotoAndStop(2);
}
public function showMailBox(_arg1:MouseEvent):void{
email.mouseEnabled = false;
TweenLite.to(popup, 0.5, {y:(600 - popup.height), ease:Back.easeOut});
popup.nameDetail.text = "";
popup.mailDetail.text = "";
popup.messageDetail.text = "";
popup.friendName.text = "";
popup.friendMail.text = "";
popup.friend1.friendMail.text = "";
popup.friend2.friendMail.text = "";
popup.friend3.friendMail.text = "";
popup.friend4.friendMail.text = "";
}
public function rollover(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.1;
_arg1.currentTarget.scaleY = 1.1;
}
public function hideMailBox(_arg1:MouseEvent):void{
var event = _arg1;
email.mouseEnabled = true;
TweenLite.to(popup, 0.5, {y:(600 + popup.height), ease:Back.easeIn});
var _local3 = popup;
with (_local3) {
friend1.visible = (friend2.visible = (friend3.visible = (friend4.visible = false)));
};
queCount = 0;
popup.nameDetail.text = "";
popup.mailDetail.text = "";
popup.messageDetail.text = "";
popup.friendName.text = "";
popup.friendMail.text = "";
popup.friend1.friendMail.text = "";
popup.friend2.friendMail.text = "";
popup.friend3.friendMail.text = "";
popup.friend4.friendMail.text = "";
}
public function shoe(_arg1:MouseEvent):void{
doll.shoes.nextFrame();
Globe.shoes = doll.shoes.currentFrame;
}
public function showExtra(_arg1:MouseEvent):void{
if (queCount < 4){
mailArray[queCount].visible = true;
queCount++;
};
}
public function sndop(_arg1:MouseEvent):void{
bulletChannel.stop();
sndon.visible = true;
sndoff.visible = false;
}
public function nextbtns(_arg1:MouseEvent):void{
Globe.tex = t1.text;
trace(Globe.tex);
nextFrame();
stage.removeEventListener(Event.ENTER_FRAME, result);
}
public function plas(_arg1:MouseEvent){
gotoAndStop(2);
}
public function callMail(_arg1:MouseEvent):void{
var countRequest:URLRequest;
var countVariables:URLVariables;
var loadG:URLLoader;
var ups:Function;
var request:URLRequest;
var variables:URLVariables;
var event = _arg1;
ups = function (_arg1:Event):void{
trace(_arg1.target.data);
};
countRequest = new URLRequest("http://www.123peppy.com/gamecount");
countVariables = new URLVariables();
countVariables.gameid = this.loaderInfo.parameters.gameid;
countRequest.data = countVariables;
loadG = new URLLoader();
loadG.load(countRequest);
loadG.addEventListener(Event.COMPLETE, ups);
email.mouseEnabled = true;
request = new URLRequest("http://facefun.123peppy.com/gamemail.php");
request.method = URLRequestMethod.POST;
variables = new URLVariables();
variables.nameDetail = popup.nameDetail.text;
variables.mailDetail = popup.mailDetail.text;
variables.messageDetail = popup.messageDetail.text;
variables.friendName = popup.friendName.text;
variables.friendMail = popup.friendMail.text;
variables.gamename = "Natalya";
variables.friendMail1 = popup.friend1.friendMail.text;
variables.friendMail2 = popup.friend2.friendMail.text;
variables.friendMail3 = popup.friend3.friendMail.text;
variables.friendMail4 = popup.friend4.friendMail.text;
variables.girldoll = girlDoll;
variables.path = "http://123peppy.com/play/natalya";
variables.name = full.t2.text;
if (full.dolls.dresses.currentFrame > 9){
variables.bg = 2;
} else {
variables.bg = 1;
};
request.data = variables;
sendToURL(request);
TweenLite.to(popup, 0.5, {y:(600 + popup.height), ease:Back.easeIn});
var _local3 = popup;
with (_local3) {
friend1.visible = (friend2.visible = (friend3.visible = (friend4.visible = false)));
};
queCount = 0;
}
public function checkLogin(_arg1:MouseEvent):void{
var bitmap_data:BitmapData;
var byte_array:ByteArray;
var encoding:PNGEncoder;
var sendPNG:Function;
var addLoaderListeners:Function;
var inizio:Function;
var inProgresso:Function;
var completato:Function;
var securityError:Function;
var event = _arg1;
sendPNG = function ():void{
var encoded:String;
var variables:URLVariables;
var richiesta:URLRequest;
var loader:URLLoader;
encoded = Base64.encodeByteArray(byte_array);
variables = new URLVariables();
variables.png = encoded;
richiesta = new URLRequest();
richiesta.url = "http://www.123peppy.com/as3games/prova2.php";
richiesta.method = URLRequestMethod.POST;
richiesta.data = variables;
loader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.BINARY;
addLoaderListeners(loader);
try {
loader.load(richiesta);
} catch(error:Error) {
trace("Unable to load the document.");
};
};
addLoaderListeners = function (_arg1:IEventDispatcher):void{
_arg1.addEventListener(Event.OPEN, inizio);
_arg1.addEventListener(ProgressEvent.PROGRESS, inProgresso);
_arg1.addEventListener(Event.COMPLETE, completato);
_arg1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityError);
};
inizio = function (_arg1:Event):void{
trace("start");
};
inProgresso = function (_arg1:ProgressEvent):void{
trace((((("Bytes Loaded: " + _arg1.bytesLoaded) + " Bytes Total: ") + _arg1.bytesTotal) + "\n"));
};
completato = function (_arg1:Event):void{
var _local2:URLVariables;
_local2 = new URLVariables(_arg1.target.data);
navigateToURL(new URLRequest("http://www.123peppy.com/as3games/imagesave.php"));
};
securityError = function (_arg1:SecurityErrorEvent):void{
trace((("errore sicurezza: " + _arg1) + "\n"));
};
bitmap_data = new BitmapData(full.width, full.height, false);
bitmap_data.draw(full);
byte_array = PNGEncoder.encode(bitmap_data);
sendPNG();
}
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);
};
};
}
public function bags(_arg1:MouseEvent):void{
doll.bags.nextFrame();
Globe.bags = doll.bags.currentFrame;
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function link2(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function link3(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.games2girls.com");
navigateToURL(_local2, "_blank");
}
public function link4(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.games2girls.com");
navigateToURL(_local2, "_blank");
}
public function link5(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function glass(_arg1:MouseEvent):void{
doll.glass.nextFrame();
Globe.glass = doll.glass.currentFrame;
}
public function rollover2(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.7;
_arg1.currentTarget.scaleY = 0.7;
}
public function link6(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.games2girls.com");
navigateToURL(_local2, "_blank");
}
public function link7(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function rollover3(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.1;
_arg1.currentTarget.scaleY = 1.1;
}
public function sndst(_arg1:MouseEvent):void{
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.visible = true;
sndon.visible = false;
}
public function rollover5(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.1;
_arg1.currentTarget.scaleY = 1.1;
}
public function rollover1(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.7;
_arg1.currentTarget.scaleY = 0.7;
}
public function bottoms(_arg1:MouseEvent):void{
doll.bottoms.nextFrame();
Globe.bottoms = doll.bottoms.currentFrame;
Globe.dress = 0;
doll.dresses.gotoAndStop(1);
dress1 = 0;
bot = 1;
}
public function rollout(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1;
_arg1.currentTarget.scaleY = 1;
}
public function tops(_arg1:MouseEvent):void{
doll.tops.nextFrame();
Globe.tops = doll.tops.currentFrame;
Globe.dress = 0;
doll.dresses.gotoAndStop(1);
dress1 = 0;
top = 1;
}
public function rese(_arg1:MouseEvent):void{
doll.hair.gotoAndStop(1);
doll.glass.gotoAndStop(1);
doll.dresses.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.chain.gotoAndStop(1);
doll.earring.gotoAndStop(1);
doll.bags.gotoAndStop(1);
dress1 = 0;
top = 0;
bot = 0;
Globe.dress = 0;
Globe.tops = 0;
Globe.bottoms = 0;
Globe.chain = 0;
Globe.earring = 0;
Globe.shoes = 0;
Globe.bags = 0;
Globe.hair = 0;
}
public function nx(_arg1:MouseEvent):void{
stage.removeEventListener(Event.ENTER_FRAME, ser);
nextFrame();
}
public function plays(_arg1:MouseEvent):void{
nextFrame();
}
public function hair(_arg1:MouseEvent):void{
doll.hair.nextFrame();
Globe.hair = doll.hair.currentFrame;
}
public function link(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
}
}//package dolldress_fla
Section 30
//peppydfgfsds_loader_19 (dolldress_fla.peppydfgfsds_loader_19)
package dolldress_fla {
import flash.display.*;
public dynamic class peppydfgfsds_loader_19 extends MovieClip {
public function peppydfgfsds_loader_19(){
addFrameScript(46, frame47);
}
function frame47(){
stop();
}
}
}//package dolldress_fla
Section 31
//REPLAYBTN2_191 (dolldress_fla.REPLAYBTN2_191)
package dolldress_fla {
import flash.display.*;
public dynamic class REPLAYBTN2_191 extends MovieClip {
public function REPLAYBTN2_191(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 32
//REPLAYBTN2copy_195 (dolldress_fla.REPLAYBTN2copy_195)
package dolldress_fla {
import flash.display.*;
public dynamic class REPLAYBTN2copy_195 extends MovieClip {
public function REPLAYBTN2copy_195(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 33
//SAVETOPC_187 (dolldress_fla.SAVETOPC_187)
package dolldress_fla {
import flash.display.*;
public dynamic class SAVETOPC_187 extends MovieClip {
public var save:SimpleButton;
}
}//package dolldress_fla
Section 34
//shoes_71 (dolldress_fla.shoes_71)
package dolldress_fla {
import flash.display.*;
public dynamic class shoes_71 extends MovieClip {
public function shoes_71(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 35
//Symbol2DFASFcopy6_166 (dolldress_fla.Symbol2DFASFcopy6_166)
package dolldress_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy6_166 extends MovieClip {
public function Symbol2DFASFcopy6_166(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 36
//Symbol2DFASFcopy7_173 (dolldress_fla.Symbol2DFASFcopy7_173)
package dolldress_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy7_173 extends MovieClip {
public function Symbol2DFASFcopy7_173(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 37
//Symbol3123_189 (dolldress_fla.Symbol3123_189)
package dolldress_fla {
import flash.display.*;
public dynamic class Symbol3123_189 extends MovieClip {
public function Symbol3123_189(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package dolldress_fla
Section 38
//tops_114 (dolldress_fla.tops_114)
package dolldress_fla {
import flash.display.*;
public dynamic class tops_114 extends MovieClip {
public function tops_114(){
addFrameScript(0, frame1, 11, frame12);
}
function frame12(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 39
//vhj_45 (dolldress_fla.vhj_45)
package dolldress_fla {
import flash.display.*;
public dynamic class vhj_45 extends MovieClip {
public function vhj_45(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package dolldress_fla
Section 40
//Back (fl.transitions.easing.Back)
package fl.transitions.easing {
public class Back {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0):Number{
if (!_arg5){
_arg5 = 1.70158;
};
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0):Number{
if (!_arg5){
_arg5 = 1.70158;
};
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0):Number{
if (!_arg5){
_arg5 = 1.70158;
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2));
};
_arg1 = (_arg1 - 2);
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2));
}
}
}//package fl.transitions.easing
Section 41
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _tweenVisible:Boolean;
protected var _tween:TweenLite;
protected var _visible:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
this.onComplete = onCompleteTween;
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
if (((!((_target.visible == true))) && (_tweenVisible))){
_target.visible = true;
};
}
public function onCompleteTween():void{
if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(!((_arg2 == 0)));
_tweenVisible = true;
addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha");
return (true);
}
override public function killProps(_arg1:Object):void{
super.killProps(_arg1);
_tweenVisible = !(Boolean(("visible" in _arg1)));
}
}
}//package gs.plugins
Section 42
//EndArrayPlugin (gs.plugins.EndArrayPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _info:Array;
protected var _a:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:ArrayTweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_a[_local3.index] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function init(_arg1:Array, _arg2:Array):void{
var _local3:int;
_a = _arg1;
_local3 = (_arg2.length - 1);
while (_local3 > -1) {
if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){
_info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3]));
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (false);
};
init((_arg1 as Array), _arg2);
return (true);
}
}
}//package gs.plugins
Section 43
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class FramePlugin extends TweenPlugin {
public var frame:int;
protected var _target:MovieClip;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function FramePlugin(){
this.propName = "frame";
this.overwriteProps = ["frame"];
this.round = true;
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.gotoAndStop(this.frame);
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){
return (false);
};
_target = (_arg1 as MovieClip);
this.frame = _target.currentFrame;
addTween(this, "frame", this.frame, _arg2, "frame");
return (true);
}
}
}//package gs.plugins
Section 44
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin)
package gs.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function RemoveTintPlugin(){
this.propName = "removeTint";
}
}
}//package gs.plugins
Section 45
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.geom.*;
import gs.utils.tween.*;
public class TintPlugin extends TweenPlugin {
protected var _ct:ColorTransform;
protected var _ignoreAlpha:Boolean;
protected var _target:DisplayObject;
public static const VERSION:Number = 1.1;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
this.propName = "tint";
this.overwriteProps = ["tint"];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:ColorTransform;
updateTweens(_arg1);
if (_ignoreAlpha){
_local2 = _target.transform.colorTransform;
_ct.alphaMultiplier = _local2.alphaMultiplier;
_ct.alphaOffset = _local2.alphaOffset;
};
_target.transform.colorTransform = _ct;
}
public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{
var _local3:int;
var _local4:String;
_target = _arg1;
_ct = _target.transform.colorTransform;
_local3 = (_props.length - 1);
while (_local3 > -1) {
_local4 = _props[_local3];
if (_ct[_local4] != _arg2[_local4]){
_tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false);
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:ColorTransform;
if (!(_arg1 is DisplayObject)){
return (false);
};
_local4 = new ColorTransform();
if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){
_local4.color = uint(_arg2);
};
_ignoreAlpha = true;
init((_arg1 as DisplayObject), _local4);
return (true);
}
}
}//package gs.plugins
Section 46
//TweenPlugin (gs.plugins.TweenPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class TweenPlugin {
public var overwriteProps:Array;
protected var _tweens:Array;
public var round:Boolean;
public var onComplete:Function;
public var propName:String;
protected var _changeFactor:Number;// = 0
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
_changeFactor = 0;
super();
}
protected function updateTweens(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_changeFactor = _arg1;
}
protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{
var _local6:Number;
if (_arg4 != null){
_local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4);
if (_local6 != 0){
_tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false);
};
};
}
public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (this.overwriteProps.length - 1);
while (_local2 > -1) {
if ((this.overwriteProps[_local2] in _arg1)){
this.overwriteProps.splice(_local2, 1);
};
_local2--;
};
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if ((_tweens[_local2].name in _arg1)){
_tweens.splice(_local2, 1);
};
_local2--;
};
}
public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName);
return (true);
}
public function get changeFactor():Number{
return (_changeFactor);
}
public static function activate(_arg1:Array):Boolean{
var _local2:int;
var _local3:Object;
_local2 = (_arg1.length - 1);
while (_local2 > -1) {
_local3 = new (_arg1[_local2]);
TweenLite.plugins[_local3.propName] = _arg1[_local2];
_local2--;
};
return (true);
}
}
}//package gs.plugins
Section 47
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class VisiblePlugin extends TweenPlugin {
protected var _tween:TweenLite;
protected var _visible:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VisiblePlugin(){
this.propName = "visible";
this.overwriteProps = ["visible"];
this.onComplete = onCompleteTween;
}
override public function set changeFactor(_arg1:Number):void{
if (_target.visible != true){
_target.visible = true;
};
}
public function onCompleteTween():void{
if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(_arg2);
return (true);
}
}
}//package gs.plugins
Section 48
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.media.*;
public class VolumePlugin extends TweenPlugin {
protected var _st:SoundTransform;
protected var _target:Object;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function VolumePlugin(){
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.soundTransform = _st;
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = _arg1;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, _arg2, "volume");
return (true);
}
}
}//package gs.plugins
Section 49
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo)
package gs.utils.tween {
public class ArrayTweenInfo {
public var change:Number;
public var index:uint;
public var start:Number;
public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){
this.index = _arg1;
this.start = _arg2;
this.change = _arg3;
}
}
}//package gs.utils.tween
Section 50
//TweenInfo (gs.utils.tween.TweenInfo)
package gs.utils.tween {
public class TweenInfo {
public var start:Number;
public var name:String;
public var change:Number;
public var target:Object;
public var property:String;
public var isPlugin:Boolean;
public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
}
}
}//package gs.utils.tween
Section 51
//TweenLite (gs.TweenLite)
package gs {
import flash.utils.*;
import flash.display.*;
import flash.events.*;
import gs.utils.tween.*;
import gs.plugins.*;
public class TweenLite {
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _hasPlugins:Boolean;
public var started:Boolean;
public var initted:Boolean;
public var active:Boolean;
public var startTime:Number;
public var target:Object;
public var duration:Number;
public var gc:Boolean;
public var vars:Object;
public var ease:Function;
public var tweens:Array;
public var exposedVars:Object;
public var combinedTimeScale:Number;
public var initTime:Number;
public static const version:Number = 10.09;
private static var _timer:Timer = new Timer(2000);
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var currentTime:uint;
public static var masterList:Dictionary = new Dictionary(false);
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1};
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var timingSprite:Sprite = new Sprite();
public static var overwriteManager:Object;
private static var _tlInitted:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local4:int;
super();
if (_arg1 == null){
return;
};
if (!_tlInitted){
TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]);
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_tlInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
this.combinedTimeScale = ((_arg3.timeScale) || (1));
this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0))));
this.target = _arg1;
if (typeof(this.vars.ease) != "function"){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars;
this.tweens = [];
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
_local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if (((!((_arg1 in masterList))) || ((_local4 == 1)))){
masterList[_arg1] = [this];
} else {
masterList[_arg1].push(this);
};
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){
this.target.visible = this.exposedVars.visible;
};
};
}
public function set enabled(_arg1:Boolean):void{
var _local2:Array;
var _local3:Boolean;
var _local4:int;
if (_arg1){
if (!(this.target in masterList)){
masterList[this.target] = [this];
} else {
_local2 = masterList[this.target];
_local4 = (_local2.length - 1);
while (_local4 > -1) {
if (_local2[_local4] == this){
_local3 = true;
break;
};
_local4--;
};
if (!_local3){
_local2[_local2.length] = this;
};
};
};
this.gc = (_arg1) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public function clear():void{
this.tweens = [];
this.vars = (this.exposedVars = {ease:this.vars.ease});
_hasUpdate = false;
}
public function render(_arg1:uint):void{
var _local2:Number;
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
_local2 = ((_arg1 - this.startTime) * 0.001);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function initTweenVals():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:TweenInfo;
if (((!((this.exposedVars.timeScale == undefined))) && ((this.target is TweenLite)))){
this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false);
};
for (_local1 in this.exposedVars) {
if ((_local1 in _reservedProps)){
} else {
if ((_local1 in plugins)){
_local3 = new (plugins[_local1]);
if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
} else {
this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true);
_hasPlugins = true;
};
} else {
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
};
};
};
if (this.vars.runBackwards == true){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local4 = this.tweens[_local2];
this.tweens[_local2].start = (_local4.start + _local4.change);
_local4.change = -(_local4.change);
_local2--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.exposedVars, this.tweens);
};
}
public function complete(_arg1:Boolean=false):void{
var _local2:int;
if (!_arg1){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (_hasPlugins){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){
this.tweens[_local2].target.onComplete();
};
_local2--;
};
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function updateAll(_arg1:Event=null):void{
var _local2:uint;
var _local3:Dictionary;
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
_local2 = (currentTime = getTimer());
_local3 = masterList;
for each (_local4 in _local3) {
_local5 = (_local4.length - 1);
while (_local5 > -1) {
_local6 = _local4[_local5];
if (_local6.active){
_local6.render(_local2);
} else {
if (_local6.gc){
_local4.splice(_local5, 1);
} else {
if (_local2 >= _local6.startTime){
_local6.activate();
_local6.render(_local2);
};
};
};
_local5--;
};
};
}
public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{
if (_arg1 != null){
if (_arg2){
_arg1.clear();
};
_arg1.enabled = false;
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
if (((!((_arg1 == null))) && ((_arg1 in masterList)))){
_local3 = masterList[_arg1];
_local4 = (_local3.length - 1);
while (_local4 > -1) {
_local5 = _local3[_local4];
if (((_arg2) && (!(_local5.gc)))){
_local5.complete(false);
};
_local5.clear();
_local4--;
};
delete masterList[_arg1];
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
protected static function killGarbage(_arg1:TimerEvent):void{
var _local2:Dictionary;
var _local3:Object;
_local2 = masterList;
for (_local3 in _local2) {
if (_local2[_local3].length == 0){
delete _local2[_local3];
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 52
//backscore (backscore)
package {
import flash.media.*;
public dynamic class backscore extends Sound {
}
}//package
Section 53
//Globe (Globe)
package {
public class Globe {
public static var shoes:Number = 0;
public static var chain:Number = 0;
public static var hair:Number = 0;
public static var glass:Number = 0;
public static var earring:Number = 0;
public static var tex:String = "";
public static var bags:Number = 0;
public static var bottoms:Number = 0;
public static var temp:Number = 0;
public static var dress:Number = 0;
public static var playback:Boolean = false;
public static var tops:Number = 0;
}
}//package