Section 1
//Back (gs.easing.Back)
package gs.easing {
public class Back {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_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=1.70158):Number{
_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=1.70158):Number{
_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 gs.easing
Section 2
//Elastic (gs.easing.Elastic)
package gs.easing {
public class Elastic {
private static const _2PI:Number = 6.28318530717959;
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
--_arg1;
return ((-(((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6)))) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * (0.3 * 1.5));
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6)))) + _arg2));
};
--_arg1;
return ((((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6))) * 0.5) + _arg3) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
return (((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6))) + _arg3) + _arg2));
}
}
}//package gs.easing
Section 3
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
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 4
//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 5
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
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 6
//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 7
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
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 8
//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 9
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
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 10
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
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 11
//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 12
//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 13
//TweenLite (gs.TweenLite)
package gs {
import flash.events.*;
import flash.display.*;
import gs.utils.tween.*;
import gs.plugins.*;
import flash.utils.*;
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 14
//bag_185 (newdolldresses_fla.bag_185)
package newdolldresses_fla {
import flash.display.*;
public dynamic class bag_185 extends MovieClip {
public function bag_185(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 15
//bottomes_106 (newdolldresses_fla.bottomes_106)
package newdolldresses_fla {
import flash.display.*;
public dynamic class bottomes_106 extends MovieClip {
public function bottomes_106(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
gotoAndStop(2);
}
}
}//package newdolldresses_fla
Section 16
//ButtonHolder_69 (newdolldresses_fla.ButtonHolder_69)
package newdolldresses_fla {
import flash.display.*;
public dynamic class ButtonHolder_69 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 newdolldresses_fla
Section 17
//buttons_205 (newdolldresses_fla.buttons_205)
package newdolldresses_fla {
import flash.display.*;
public dynamic class buttons_205 extends MovieClip {
public var hairsbtn:MovieClip;
public var bagsbtn:MovieClip;
public var shoesbtn:MovieClip;
public var chainbtn:MovieClip;
public var bottomsbtn:MovieClip;
public var dressbtn:MovieClip;
public var topsbtn:MovieClip;
}
}//package newdolldresses_fla
Section 18
//buttons2_224 (newdolldresses_fla.buttons2_224)
package newdolldresses_fla {
import flash.display.*;
public dynamic class buttons2_224 extends MovieClip {
public var nextbtn:MovieClip;
public var resetbtn:MovieClip;
}
}//package newdolldresses_fla
Section 19
//cbvdsfdsf_loader_7 (newdolldresses_fla.cbvdsfdsf_loader_7)
package newdolldresses_fla {
import flash.display.*;
public dynamic class cbvdsfdsf_loader_7 extends MovieClip {
public var masker:MovieClip;
}
}//package newdolldresses_fla
Section 20
//chain_175 (newdolldresses_fla.chain_175)
package newdolldresses_fla {
import flash.display.*;
public dynamic class chain_175 extends MovieClip {
public function chain_175(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 21
//cvbcvbcvbvcy_78_1_loader_20 (newdolldresses_fla.cvbcvbcvbvcy_78_1_loader_20)
package newdolldresses_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 newdolldresses_fla
Section 22
//design_270 (newdolldresses_fla.design_270)
package newdolldresses_fla {
import flash.display.*;
public dynamic class design_270 extends MovieClip {
public function design_270(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 23
//doll_99 (newdolldresses_fla.doll_99)
package newdolldresses_fla {
import flash.display.*;
public dynamic class doll_99 extends MovieClip {
public var dress:MovieClip;
public var bags:MovieClip;
public var bottoms:MovieClip;
public var tops:MovieClip;
public var chain:MovieClip;
public var hairs:MovieClip;
public var shoes:MovieClip;
}
}//package newdolldresses_fla
Section 24
//dress4_59 (newdolldresses_fla.dress4_59)
package newdolldresses_fla {
import flash.display.*;
public dynamic class dress4_59 extends MovieClip {
public var obj11:MovieClip;
}
}//package newdolldresses_fla
Section 25
//enteryourname_263 (newdolldresses_fla.enteryourname_263)
package newdolldresses_fla {
import flash.display.*;
public dynamic class enteryourname_263 extends MovieClip {
public function enteryourname_263(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 26
//fhvjcopy3_266 (newdolldresses_fla.fhvjcopy3_266)
package newdolldresses_fla {
import flash.display.*;
public dynamic class fhvjcopy3_266 extends MovieClip {
public function fhvjcopy3_266(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 27
//fulldresses_148 (newdolldresses_fla.fulldresses_148)
package newdolldresses_fla {
import flash.display.*;
public dynamic class fulldresses_148 extends MovieClip {
public function fulldresses_148(){
addFrameScript(0, frame1, 18, frame19);
}
function frame1(){
stop();
}
function frame19(){
gotoAndStop(2);
}
}
}//package newdolldresses_fla
Section 28
//hairs_193 (newdolldresses_fla.hairs_193)
package newdolldresses_fla {
import flash.display.*;
public dynamic class hairs_193 extends MovieClip {
public function hairs_193(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 29
//hairscopy_65 (newdolldresses_fla.hairscopy_65)
package newdolldresses_fla {
import flash.display.*;
public dynamic class hairscopy_65 extends MovieClip {
public function hairscopy_65(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 30
//hdhdfhf_emaikl_272 (newdolldresses_fla.hdhdfhf_emaikl_272)
package newdolldresses_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public dynamic class hdhdfhf_emaikl_272 extends MovieClip {
public var friendMail:TextField;
public var close:SimpleButton;
public function hdhdfhf_emaikl_272(){
addFrameScript(0, frame1);
}
public function hideAdd(_arg1:MouseEvent):void{
this.visible = false;
}
function frame1(){
this.visible = false;
close.addEventListener(MouseEvent.CLICK, hideAdd);
}
}
}//package newdolldresses_fla
Section 31
//hints_227 (newdolldresses_fla.hints_227)
package newdolldresses_fla {
import flash.display.*;
public dynamic class hints_227 extends MovieClip {
public var closebtn:MovieClip;
public var h1:MovieClip;
public var h2:MovieClip;
public var h4:MovieClip;
public var h3:MovieClip;
}
}//package newdolldresses_fla
Section 32
//HOE_267 (newdolldresses_fla.HOE_267)
package newdolldresses_fla {
import flash.display.*;
public dynamic class HOE_267 extends MovieClip {
public var playagain:MovieClip;
}
}//package newdolldresses_fla
Section 33
//jgjyiy9_emaikl_271 (newdolldresses_fla.jgjyiy9_emaikl_271)
package newdolldresses_fla {
import flash.display.*;
import flash.text.*;
public dynamic class jgjyiy9_emaikl_271 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 newdolldresses_fla
Section 34
//MainTimeline (newdolldresses_fla.MainTimeline)
package newdolldresses_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import gs.easing.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
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.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var girlDoll:String;
public var dress:Number;
public var t2:TextField;
public var t1:TextField;
public var s:Number;
public var hintbtn:MovieClip;
public var preloader:MovieClip;
public var dolls:MovieClip;
public var nextbtn:MovieClip;
public var contestMenu:ContextMenu;
public var percentage:Number;
public var popup:MovieClip;
public var logo_mc:SimpleButton;
public var girldollArray:Array;
public var depth:Number;
public var BitsLoaded:TextField;
public var hints:MovieClip;
public var queCount:uint;
public var buttons2:MovieClip;
public var ent:MovieClip;
public var mailArray:Array;
public var sndon:SimpleButton;
public var bullet:backscore;
public var doll:MovieClip;
public var sndoff:SimpleButton;
public var buttons:MovieClip;
public var buttonHolder:MovieClip;
public var tempCount:Number;
public var email:MovieClip;
public var nex:MovieClip;
public var bulletChannel:SoundChannel;
public var bottoms:Number;
public var design:MovieClip;
public var contextmenuItem:ContextMenuItem;
public var tops:Number;
public var pl:MovieClip;
public var ball:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
public function hintvisible(_arg1:MouseEvent):void{
hints.visible = true;
}
public function result(_arg1:Event):void{
if (t1.text == ""){
nextbtn.visible = false;
} else {
nextbtn.visible = true;
};
}
public function sets(_arg1:Event):void{
if (dress == 1){
buttons2.nextbtn.visible = true;
} else {
if ((((tops == 1)) && ((bottoms == 1)))){
buttons2.nextbtn.visible = true;
} else {
buttons2.nextbtn.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();
doll.dress.gotoAndStop(1);
doll.hairs.gotoAndStop(1);
doll.bags.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.chain.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
hints.visible = false;
bullet = new backscore();
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.addEventListener(MouseEvent.CLICK, sndop);
sndon.addEventListener(MouseEvent.CLICK, sndst);
dress = 0;
tops = 0;
bottoms = 0;
depth = 0;
stage.addEventListener(Event.ENTER_FRAME, sets);
buttons.chainbtn.addEventListener(MouseEvent.CLICK, chain);
buttons.dressbtn.addEventListener(MouseEvent.CLICK, dress1);
buttons.topsbtn.addEventListener(MouseEvent.CLICK, topsf);
buttons.bottomsbtn.addEventListener(MouseEvent.CLICK, bottomsf);
buttons.shoesbtn.addEventListener(MouseEvent.CLICK, shoes);
buttons.hairsbtn.addEventListener(MouseEvent.CLICK, hairs);
buttons.bagsbtn.addEventListener(MouseEvent.CLICK, bags);
buttons.chainbtn.buttonMode = true;
buttons.dressbtn.buttonMode = true;
buttons.topsbtn.buttonMode = true;
buttons.bottomsbtn.buttonMode = true;
buttons.shoesbtn.buttonMode = true;
buttons.hairsbtn.buttonMode = true;
buttons.bagsbtn.buttonMode = true;
hintbtn.buttonMode = true;
buttons.chainbtn.gotoAndStop(Globe.temp);
buttons.dressbtn.gotoAndStop(Globe.temp);
buttons.topsbtn.gotoAndStop(Globe.temp);
buttons.bottomsbtn.gotoAndStop(Globe.temp);
buttons.shoesbtn.gotoAndStop(Globe.temp);
buttons.hairsbtn.gotoAndStop(Globe.temp);
buttons.bagsbtn.gotoAndStop(Globe.temp);
buttons2.resetbtn.gotoAndStop(Globe.temp);
buttons2.nextbtn.gotoAndStop(Globe.temp);
hintbtn.gotoAndStop(Globe.temp);
buttons2.nextbtn.addEventListener(MouseEvent.CLICK, nexts);
buttons2.resetbtn.addEventListener(MouseEvent.CLICK, res);
buttons2.resetbtn.buttonMode = true;
buttons2.nextbtn.buttonMode = true;
buttons.chainbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons.chainbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons.dressbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons.dressbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons.topsbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons.topsbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons.bottomsbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons.bottomsbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons.shoesbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons.shoesbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons.bagsbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons.bagsbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons.hairsbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons.hairsbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons2.resetbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons2.resetbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
buttons2.nextbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
buttons2.nextbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
hintbtn.addEventListener(MouseEvent.CLICK, hintvisible);
hints.closebtn.addEventListener(MouseEvent.CLICK, hintvisible1);
s = 0;
while (s <= (hints.numChildren - 1)) {
hints.getChildAt(s).addEventListener(MouseEvent.ROLL_OVER, rollover6);
hints.getChildAt(s).addEventListener(MouseEvent.ROLL_OUT, rollout6);
s++;
};
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.visible = true;
logo_mc.addEventListener(MouseEvent.CLICK, link8);
};
}
function frame4(){
stop();
t1.text = "";
t1.restrict = "A-Z0-9";
nextbtn.gotoAndStop(Globe.temp);
nextbtn.buttonMode = true;
ent.gotoAndStop(Globe.temp);
stage.addEventListener(Event.ENTER_FRAME, result);
nextbtn.addEventListener(MouseEvent.CLICK, nextbtns);
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.visible = true;
logo_mc.addEventListener(MouseEvent.CLICK, link1);
};
}
public function topsf(_arg1:MouseEvent):void{
doll.tops.nextFrame();
doll.dress.gotoAndStop(1);
Globe.tops = 0;
tops = 1;
dress = 0;
Globe.tops = doll.tops.currentFrame;
}
function frame1(){
MochiBot.track(this, "aa4187cb");
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);
}
function frame5(){
stop();
design.gotoAndStop(Globe.temp);
email.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, link5);
};
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);
t2.text = this.loaderInfo.parameters.name;
girldollArray = this.loaderInfo.parameters.girldoll.split("");
if (this.loaderInfo.parameters.bg == 1){
dolls.dress.gotoAndStop(Number(girldollArray[0]).toString());
dolls.tops.gotoAndStop(Number(girldollArray[1]));
dolls.bottoms.gotoAndStop(Number(girldollArray[2]));
dolls.chain.gotoAndStop(Number(girldollArray[3]));
dolls.shoes.gotoAndStop(Number(girldollArray[4]));
dolls.bags.gotoAndStop(Number(girldollArray[5]));
dolls.hairs.gotoAndStop(Number(girldollArray[6]));
} else {
if (this.loaderInfo.parameters.bg == 2){
dolls.dress.gotoAndStop(Number(girldollArray[0]).toString());
dolls.tops.gotoAndStop((Number(girldollArray[1]).toString() + Number(girldollArray[2]).toString()));
dolls.bottoms.gotoAndStop((Number(girldollArray[3]).toString() + Number(girldollArray[4]).toString()));
dolls.chain.gotoAndStop(Number(girldollArray[5]));
dolls.shoes.gotoAndStop(Number(girldollArray[6]));
dolls.bags.gotoAndStop(Number(girldollArray[7]));
dolls.hairs.gotoAndStop(Number(girldollArray[8]));
} else {
if (this.loaderInfo.parameters.bg == 3){
dolls.dress.gotoAndStop(Number(girldollArray[0]).toString());
dolls.tops.gotoAndStop(Number(girldollArray[1]));
dolls.bottoms.gotoAndStop((Number(girldollArray[2]).toString() + Number(girldollArray[3]).toString()));
dolls.chain.gotoAndStop(Number(girldollArray[4]));
dolls.shoes.gotoAndStop(Number(girldollArray[5]));
dolls.bags.gotoAndStop(Number(girldollArray[6]));
dolls.hairs.gotoAndStop(Number(girldollArray[7]));
} else {
if (this.loaderInfo.parameters.bg == 4){
dolls.dress.gotoAndStop(Number(girldollArray[0]).toString());
dolls.tops.gotoAndStop((Number(girldollArray[1]).toString() + Number(girldollArray[2]).toString()));
dolls.bottoms.gotoAndStop(Number(girldollArray[3]));
dolls.chain.gotoAndStop(Number(girldollArray[4]));
dolls.shoes.gotoAndStop(Number(girldollArray[5]));
dolls.bags.gotoAndStop(Number(girldollArray[6]));
dolls.hairs.gotoAndStop(Number(girldollArray[7]));
} else {
if (this.loaderInfo.parameters.bg == 5){
dolls.dress.gotoAndStop((Number(girldollArray[0]).toString() + Number(girldollArray[1]).toString()));
dolls.tops.gotoAndStop(Number(girldollArray[2]).toString());
dolls.bottoms.gotoAndStop(Number(girldollArray[3]));
dolls.chain.gotoAndStop(Number(girldollArray[4]));
dolls.shoes.gotoAndStop(Number(girldollArray[5]));
dolls.bags.gotoAndStop(Number(girldollArray[6]));
dolls.hairs.gotoAndStop(Number(girldollArray[7]));
};
};
};
};
};
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){
t2.text = Globe.tex;
nex.playagain.tabEnabled = false;
email.visible = true;
email.buttonMode = true;
email.tabEnabled = false;
dolls.chain.gotoAndStop(Globe.chain);
dolls.shoes.gotoAndStop(Globe.shoes);
dolls.bags.gotoAndStop(Globe.bags);
dolls.dress.gotoAndStop(Globe.dress);
dolls.tops.gotoAndStop(Globe.tops);
dolls.bottoms.gotoAndStop(Globe.bottoms);
dolls.hairs.gotoAndStop(Globe.hairs);
nex.playagain.addEventListener(MouseEvent.CLICK, plas);
nex.playagain.addEventListener(MouseEvent.ROLL_OVER, rollover2);
nex.playagain.addEventListener(MouseEvent.ROLL_OUT, rollout2);
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 = ((((((dolls.dress.currentFrame.toString() + dolls.tops.currentFrame.toString()) + dolls.bottoms.currentFrame.toString()) + dolls.chain.currentFrame.toString()) + dolls.shoes.currentFrame.toString()) + dolls.bags.currentFrame.toString()) + dolls.hairs.currentFrame.toString());
trace(girlDoll);
email.addEventListener(MouseEvent.ROLL_OVER, rollover5);
email.addEventListener(MouseEvent.ROLL_OUT, rollout5);
}
public function rollout5(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.3;
_arg1.currentTarget.scaleY = 0.3;
}
public function rollout6(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 1, {scaleX:1, scaleY:1, ease:Elastic.easeOut});
}
public function rollout2(_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.8;
_arg1.currentTarget.scaleY = 0.8;
}
public function res(_arg1:MouseEvent):void{
doll.dress.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.chain.gotoAndStop(1);
doll.hairs.gotoAndStop(1);
doll.bags.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
dress = 0;
tops = 0;
bottoms = 0;
Globe.dress = 0;
Globe.tops = 0;
Globe.bottoms = 0;
Globe.chain = 0;
Globe.hairs = 0;
Globe.bags = 0;
Globe.shoes = 0;
}
public function chain(_arg1:MouseEvent):void{
doll.chain.nextFrame();
Globe.chain = doll.chain.currentFrame;
}
public function plas1(_arg1:MouseEvent){
gotoAndStop(2);
}
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 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 dress1(_arg1:MouseEvent):void{
doll.dress.nextFrame();
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
Globe.dress = doll.dress.currentFrame;
Globe.tops = 0;
Globe.bottoms = 0;
dress = 1;
tops = 0;
bottoms = 0;
}
public function hairs(_arg1:MouseEvent):void{
doll.hairs.nextFrame();
Globe.hairs = doll.hairs.currentFrame;
}
public function shoes(_arg1:MouseEvent):void{
doll.shoes.nextFrame();
Globe.shoes = doll.shoes.currentFrame;
}
public function rollover(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1;
_arg1.currentTarget.scaleY = 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 sndop(_arg1:MouseEvent):void{
bulletChannel.stop();
sndon.visible = true;
sndoff.visible = false;
}
public function showExtra(_arg1:MouseEvent):void{
if (queCount < 4){
mailArray[queCount].visible = true;
queCount++;
};
}
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 request:URLRequest;
var variables:URLVariables;
var event = _arg1;
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.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://www.123peppy.com/play/robyn";
variables.name = t2.text;
if (dolls.dress.currentFrame > 9){
variables.bg = 5;
} else {
if ((((dolls.tops.currentFrame > 9)) && ((dolls.bottoms.currentFrame < 9)))){
variables.bg = 4;
} else {
if ((((dolls.bottoms.currentFrame > 9)) && ((dolls.tops.currentFrame < 9)))){
variables.bg = 3;
} else {
if ((((dolls.tops.currentFrame > 9)) && ((dolls.bottoms.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 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.bottoms.currentFrame;
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function link1(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function link5(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function rollover5(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.4;
_arg1.currentTarget.scaleY = 0.4;
}
public function rollover1(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1;
_arg1.currentTarget.scaleY = 1;
}
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 rollover2(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.1;
_arg1.currentTarget.scaleY = 1.1;
}
public function hintvisible1(_arg1:MouseEvent):void{
hints.visible = false;
}
public function link8(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function rollover6(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 1, {scaleX:2, scaleY:2, ease:Elastic.easeOut});
}
public function rollout(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.8;
_arg1.currentTarget.scaleY = 0.8;
}
public function bottomsf(_arg1:MouseEvent):void{
doll.bottoms.nextFrame();
doll.dress.gotoAndStop(1);
Globe.bottoms = 0;
bottoms = 1;
dress = 0;
Globe.bottoms = doll.bottoms.currentFrame;
}
public function plays(_arg1:MouseEvent):void{
nextFrame();
}
public function nexts(_arg1:MouseEvent):void{
stage.removeEventListener(Event.ENTER_FRAME, sets);
nextFrame();
}
}
}//package newdolldresses_fla
Section 35
//peppydfgfsds_loader_19 (newdolldresses_fla.peppydfgfsds_loader_19)
package newdolldresses_fla {
import flash.display.*;
public dynamic class peppydfgfsds_loader_19 extends MovieClip {
public function peppydfgfsds_loader_19(){
addFrameScript(46, frame47);
}
function frame47(){
stop();
}
}
}//package newdolldresses_fla
Section 36
//REPLAYBTN2_268 (newdolldresses_fla.REPLAYBTN2_268)
package newdolldresses_fla {
import flash.display.*;
public dynamic class REPLAYBTN2_268 extends MovieClip {
public function REPLAYBTN2_268(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 37
//shoes_100 (newdolldresses_fla.shoes_100)
package newdolldresses_fla {
import flash.display.*;
public dynamic class shoes_100 extends MovieClip {
public function shoes_100(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 38
//Symbol2DFASF_206 (newdolldresses_fla.Symbol2DFASF_206)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASF_206 extends MovieClip {
public function Symbol2DFASF_206(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 39
//Symbol2DFASFcopy_212 (newdolldresses_fla.Symbol2DFASFcopy_212)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy_212 extends MovieClip {
public function Symbol2DFASFcopy_212(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 40
//Symbol2DFASFcopy2_213 (newdolldresses_fla.Symbol2DFASFcopy2_213)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy2_213 extends MovieClip {
public function Symbol2DFASFcopy2_213(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 41
//Symbol2DFASFcopy3_214 (newdolldresses_fla.Symbol2DFASFcopy3_214)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy3_214 extends MovieClip {
public function Symbol2DFASFcopy3_214(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 42
//Symbol2DFASFcopy4_216 (newdolldresses_fla.Symbol2DFASFcopy4_216)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy4_216 extends MovieClip {
public function Symbol2DFASFcopy4_216(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 43
//Symbol2DFASFcopy4y_218 (newdolldresses_fla.Symbol2DFASFcopy4y_218)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy4y_218 extends MovieClip {
public function Symbol2DFASFcopy4y_218(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 44
//Symbol2DFASFcopy5_215 (newdolldresses_fla.Symbol2DFASFcopy5_215)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy5_215 extends MovieClip {
public function Symbol2DFASFcopy5_215(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 45
//Symbol2DFASFcopy6_225 (newdolldresses_fla.Symbol2DFASFcopy6_225)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy6_225 extends MovieClip {
public function Symbol2DFASFcopy6_225(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 46
//Symbol2DFASFcopy7_226 (newdolldresses_fla.Symbol2DFASFcopy7_226)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy7_226 extends MovieClip {
public function Symbol2DFASFcopy7_226(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 47
//Symbol2DFASFcopy8_217 (newdolldresses_fla.Symbol2DFASFcopy8_217)
package newdolldresses_fla {
import flash.display.*;
public dynamic class Symbol2DFASFcopy8_217 extends MovieClip {
public function Symbol2DFASFcopy8_217(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 48
//topes_123 (newdolldresses_fla.topes_123)
package newdolldresses_fla {
import flash.display.*;
public dynamic class topes_123 extends MovieClip {
public function topes_123(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
gotoAndStop(2);
}
}
}//package newdolldresses_fla
Section 49
//tyerye_92 (newdolldresses_fla.tyerye_92)
package newdolldresses_fla {
import flash.display.*;
public dynamic class tyerye_92 extends MovieClip {
public function tyerye_92(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package newdolldresses_fla
Section 50
//backscore (backscore)
package {
import flash.media.*;
public dynamic class backscore extends Sound {
}
}//package
Section 51
//Globe (Globe)
package {
public class Globe {
public static var shoes:Number = 0;
public static var chain:Number = 0;
public static var tex:String = "";
public static var bottoms:Number = 0;
public static var bags:Number = 0;
public static var hairs: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
Section 52
//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