Section 1
//Cubic (gs.easing.Cubic)
package gs.easing {
public class Cubic {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package gs.easing
Section 2
//Expo (gs.easing.Expo)
package gs.easing {
public class Expo {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (((_arg1)==_arg4) ? (_arg2 + _arg3) : ((_arg3 * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001)));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
if (_arg1 == 0){
return (_arg2);
};
if (_arg1 == _arg4){
return ((_arg2 + _arg3));
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2));
};
--_arg1;
return ((((_arg3 / 2) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2));
}
}
}//package gs.easing
Section 3
//Quint (gs.easing.Quint)
package gs.easing {
public class Quint {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package gs.easing
Section 4
//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 5
//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 6
//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 7
//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 8
//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 9
//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 10
//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 11
//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 12
//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 13
//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 14
//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 15
//bag_119 (NEWDOLL_fla.bag_119)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class bag_119 extends MovieClip {
public function bag_119(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 16
//bags_217 (NEWDOLL_fla.bags_217)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class bags_217 extends MovieClip {
public var bg5:bag5;
public var bg3:bag3;
public var bg4:bag4;
public var bg2:bag2;
public var bg1:bag1;
}
}//package NEWDOLL_fla
Section 17
//BGS_100 (NEWDOLL_fla.BGS_100)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class BGS_100 extends MovieClip {
public function BGS_100(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
gotoAndStop(1);
}
}
}//package NEWDOLL_fla
Section 18
//bottoms_143 (NEWDOLL_fla.bottoms_143)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class bottoms_143 extends MovieClip {
public function bottoms_143(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
stop();
}
function frame5(){
gotoAndStop(2);
}
}
}//package NEWDOLL_fla
Section 19
//bottoms123_216 (NEWDOLL_fla.bottoms123_216)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class bottoms123_216 extends MovieClip {
public var b2:bottoms2;
public var b1:bottoms1;
public var b3:bottoms3;
}
}//package NEWDOLL_fla
Section 20
//ButtonHolder_77 (NEWDOLL_fla.ButtonHolder_77)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class ButtonHolder_77 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 NEWDOLL_fla
Section 21
//cbvdsfdsf_7 (NEWDOLL_fla.cbvdsfdsf_7)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class cbvdsfdsf_7 extends MovieClip {
public var masker:MovieClip;
}
}//package NEWDOLL_fla
Section 22
//chainpalette_220 (NEWDOLL_fla.chainpalette_220)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class chainpalette_220 extends MovieClip {
public var c1:MovieClip;
public var c3:chain3;
public var c4:chain4;
public var c5:chain5;
public var c2:MovieClip;
}
}//package NEWDOLL_fla
Section 23
//chains_116 (NEWDOLL_fla.chains_116)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class chains_116 extends MovieClip {
public function chains_116(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 24
//chainscopy_32 (NEWDOLL_fla.chainscopy_32)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class chainscopy_32 extends MovieClip {
public function chainscopy_32(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 25
//cvbcvbcvbvcy_78_1_20 (NEWDOLL_fla.cvbcvbcvbvcy_78_1_20)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class cvbcvbcvbvcy_78_1_20 extends MovieClip {
public function cvbcvbcvbvcy_78_1_20(){
addFrameScript(56, frame57);
}
function frame57(){
stop();
}
}
}//package NEWDOLL_fla
Section 26
//doll_115 (NEWDOLL_fla.doll_115)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class doll_115 extends MovieClip {
public var dress: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 NEWDOLL_fla
Section 27
//dress_149 (NEWDOLL_fla.dress_149)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class dress_149 extends MovieClip {
public function dress_149(){
addFrameScript(0, frame1, 13, frame14);
}
function frame14(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 28
//dressbtn_196 (NEWDOLL_fla.dressbtn_196)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class dressbtn_196 extends MovieClip {
public var d4:dress4;
public var d8:dress8;
public var d2:dress2;
public var d5:dress5;
public var d6:dress6;
public var d7:dress7;
public var d9:dress9;
public var d3:dress3;
public var d10:dress10;
public var d11:dress11;
public var d12:dress12;
public var d1:dress1;
}
}//package NEWDOLL_fla
Section 29
//earringpalette_221 (NEWDOLL_fla.earringpalette_221)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class earringpalette_221 extends MovieClip {
public var e2:earring2;
public var e5:earring5;
public var e3:earring3;
public var e4:earring4;
public var e1:earring1;
}
}//package NEWDOLL_fla
Section 30
//glass_136 (NEWDOLL_fla.glass_136)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class glass_136 extends MovieClip {
public function glass_136(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 31
//glasspalette_219 (NEWDOLL_fla.glasspalette_219)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class glasspalette_219 extends MovieClip {
public var g3:glass3;
public var g4:glass4;
public var g1:glass1;
public var g5:glass5;
public var g2:glass2;
}
}//package NEWDOLL_fla
Section 32
//hairs_64 (NEWDOLL_fla.hairs_64)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class hairs_64 extends MovieClip {
public function hairs_64(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
gotoAndStop(1);
}
}
}//package NEWDOLL_fla
Section 33
//hairspalette_218 (NEWDOLL_fla.hairspalette_218)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class hairspalette_218 extends MovieClip {
public var h1:hair1;
public var h2:hair2;
public var h3:hair3;
}
}//package NEWDOLL_fla
Section 34
//kam_188 (NEWDOLL_fla.kam_188)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class kam_188 extends MovieClip {
public function kam_188(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 35
//MainTimeline (NEWDOLL_fla.MainTimeline)
package NEWDOLL_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import gs.easing.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
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 bag:Number;
public var gls:Number;
public var t1:MovieClip;
public var bg:MovieClip;
public var hairpalette:MovieClip;
public var d1:MovieClip;
public var preloader:MovieClip;
public var sh:Number;
public var palette:MovieClip;
public var ch:Number;
public var playmore:MovieClip;
public var nextbtn:MovieClip;
public var har:Number;
public var shoespalette:MovieClip;
public var ea:Number;
public var chainpalette:MovieClip;
public var contestMenu:ContextMenu;
public var playagain:MovieClip;
public var resetbtn:MovieClip;
public var bagspalette:MovieClip;
public var logo_mc:SimpleButton;
public var percentage:Number;
public var BitsLoaded:TextField;
public var bullet:backscore;
public var sndon:SimpleButton;
public var dresses:MovieClip;
public var earringpalette:MovieClip;
public var botnext:Number;
public var doll:MovieClip;
public var top:Number;
public var sndoff:SimpleButton;
public var glasspalette:MovieClip;
public var buttonHolder:MovieClip;
public var dre:Number;
public var tempCount:Number;
public var bulletChannel:SoundChannel;
public var dressnext:Number;
public var tops:MovieClip;
public var contextmenuItem:ContextMenuItem;
public var topnext:Number;
public var bottomspalette:MovieClip;
public var bot:Number;
public var bgbtn:MovieClip;
public var pl:MovieClip;
public var ball:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function bagsfunction(_arg1:MouseEvent):void{
var bg:*;
var u:Number;
var bags:Class;
var bag:Object;
var putbags:Function;
var bg1 = _arg1;
putbags = function (_arg1:MouseEvent){
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
trace(_local3);
removeChild(DisplayObject(bag));
if (bag.hitTestObject(doll)){
doll.bags.gotoAndStop((_local3 + 1));
};
};
bg = bg1.currentTarget;
u = parseInt(bg.name.substr(2));
bags = (getDefinitionByName(("bag" + u)) as Class);
bag = new (bags);
bag.name = ("b" + bg1.currentTarget.name.substr(2));
addChild(DisplayObject(bag));
bag.x = mouseX;
bag.y = mouseY;
bag.startDrag(true);
bag.addEventListener(MouseEvent.MOUSE_UP, putbags);
}
public function sets(_arg1:Event):void{
if (dressnext == 1){
nextbtn.visible = true;
} else {
if ((((topnext == 1)) && ((botnext == 1)))){
nextbtn.visible = true;
} else {
nextbtn.visible = false;
};
};
}
function frame3(){
MochiBot.track(this, "c868f2d8");
stop();
nextbtn.visible = false;
TweenLite.to(doll, 1, {x:505.6, y:317.3, ease:Expo.easeInOut});
bullet = new backscore();
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.addEventListener(MouseEvent.CLICK, sndop);
sndon.addEventListener(MouseEvent.CLICK, sndst);
dressnext = 0;
topnext = 0;
botnext = 0;
bgbtn.visible = false;
playagain.visible = false;
playmore.visible = false;
this.addEventListener(Event.ENTER_FRAME, sets);
top = 0;
while (top <= (tops.numChildren - 1)) {
tops.getChildAt(top).addEventListener(MouseEvent.ROLL_OVER, enabl);
tops.getChildAt(top).addEventListener(MouseEvent.MOUSE_DOWN, topsfunction);
top++;
};
dre = 0;
while (dre <= (dresses.numChildren - 1)) {
dresses.getChildAt(dre).addEventListener(MouseEvent.ROLL_OVER, enabl);
dresses.getChildAt(dre).addEventListener(MouseEvent.MOUSE_DOWN, dressfunction);
dre++;
};
bot = 0;
while (bot <= (bottomspalette.numChildren - 1)) {
bottomspalette.getChildAt(bot).addEventListener(MouseEvent.ROLL_OVER, enabl);
bottomspalette.getChildAt(bot).addEventListener(MouseEvent.MOUSE_DOWN, bottomsfunction);
bot++;
};
bag = 0;
while (bag <= (bagspalette.numChildren - 1)) {
bagspalette.getChildAt(bag).addEventListener(MouseEvent.ROLL_OVER, enabl);
bagspalette.getChildAt(bag).addEventListener(MouseEvent.MOUSE_DOWN, bagsfunction);
bag++;
};
har = 0;
while (har <= (hairpalette.numChildren - 1)) {
hairpalette.getChildAt(har).addEventListener(MouseEvent.ROLL_OVER, enabl);
hairpalette.getChildAt(har).addEventListener(MouseEvent.MOUSE_DOWN, hairfunction);
har++;
};
gls = 0;
while (gls <= (glasspalette.numChildren - 1)) {
glasspalette.getChildAt(gls).addEventListener(MouseEvent.ROLL_OVER, enabl);
glasspalette.getChildAt(gls).addEventListener(MouseEvent.MOUSE_DOWN, glassfunction);
gls++;
};
ch = 0;
while (ch <= (chainpalette.numChildren - 1)) {
chainpalette.getChildAt(ch).addEventListener(MouseEvent.ROLL_OVER, enabl);
chainpalette.getChildAt(ch).addEventListener(MouseEvent.MOUSE_DOWN, chainfunction);
ch++;
};
ea = 0;
while (ea <= (earringpalette.numChildren - 1)) {
earringpalette.getChildAt(ea).addEventListener(MouseEvent.ROLL_OVER, enabl);
earringpalette.getChildAt(ea).addEventListener(MouseEvent.MOUSE_DOWN, earringfunction);
ea++;
};
sh = 0;
while (sh <= (shoespalette.numChildren - 1)) {
shoespalette.getChildAt(sh).addEventListener(MouseEvent.ROLL_OVER, enabl);
shoespalette.getChildAt(sh).addEventListener(MouseEvent.MOUSE_DOWN, shoesfunction);
sh++;
};
resetbtn.buttonMode = true;
resetbtn.addEventListener(MouseEvent.CLICK, res);
nextbtn.buttonMode = true;
nextbtn.addEventListener(MouseEvent.CLICK, nex);
bgbtn.buttonMode = true;
bgbtn.addEventListener(MouseEvent.CLICK, bgs);
playagain.buttonMode = true;
playmore.buttonMode = true;
playagain.addEventListener(MouseEvent.CLICK, res);
bgbtn.gotoAndStop(Globe.temp);
resetbtn.gotoAndStop(Globe.temp);
nextbtn.gotoAndStop(Globe.temp);
playagain.gotoAndStop(Globe.temp);
playmore.gotoAndStop(Globe.temp);
bgbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
bgbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
resetbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
resetbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
nextbtn.addEventListener(MouseEvent.ROLL_OVER, rollover);
nextbtn.addEventListener(MouseEvent.ROLL_OUT, rollout);
playagain.addEventListener(MouseEvent.ROLL_OVER, rollover);
playagain.addEventListener(MouseEvent.ROLL_OUT, rollout);
playmore.addEventListener(MouseEvent.ROLL_OVER, rollover);
playmore.addEventListener(MouseEvent.ROLL_OUT, rollout);
logo_mc.addEventListener(MouseEvent.CLICK, link);
playmore.addEventListener(MouseEvent.CLICK, link);
}
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 earringfunction(_arg1:MouseEvent):void{
var ea:*;
var u:Number;
var earrings:Class;
var earring:Object;
var putearring:Function;
var ea1 = _arg1;
putearring = function (_arg1:MouseEvent){
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
trace(_local3);
removeChild(DisplayObject(earring));
if (earring.hitTestObject(doll)){
doll.earring.gotoAndStop((_local3 + 1));
};
};
ea = ea1.currentTarget;
u = parseInt(ea.name.substr(1));
earrings = (getDefinitionByName(("earring" + u)) as Class);
earring = new (earrings);
earring.name = ("e" + ea1.currentTarget.name.substr(1));
addChild(DisplayObject(earring));
earring.x = mouseX;
earring.y = mouseY;
earring.startDrag(true);
earring.addEventListener(MouseEvent.MOUSE_UP, putearring);
}
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 rollout1(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 1, {scaleX:0.8, scaleY:0.8, ease:Cubic.easeInOut});
}
public function res(_arg1:MouseEvent):void{
TweenLite.to(doll, 1, {x:505.6, y:317.3, ease:Expo.easeInOut});
doll.dress.gotoAndStop(1);
doll.earring.gotoAndStop(1);
doll.chain.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
doll.bags.gotoAndStop(1);
doll.hair.gotoAndStop(1);
doll.glass.gotoAndStop(1);
bg.gotoAndStop(1);
tops.visible = true;
dresses.visible = true;
bottomspalette.visible = true;
earringpalette.visible = true;
chainpalette.visible = true;
bagspalette.visible = true;
hairpalette.visible = true;
shoespalette.visible = true;
glasspalette.visible = true;
palette.visible = true;
bgbtn.visible = false;
playagain.visible = false;
playmore.visible = false;
resetbtn.visible = true;
dressnext = 0;
topnext = 0;
botnext = 0;
}
public function bgs(_arg1:MouseEvent){
bg.nextFrame();
}
public function shoesfunction(_arg1:MouseEvent):void{
var sh:*;
var u:Number;
var shoes1:Class;
var shoes:Object;
var putshoes:Function;
var sh1 = _arg1;
putshoes = function (_arg1:MouseEvent){
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
trace(_local3);
removeChild(DisplayObject(shoes));
if (shoes.hitTestObject(doll)){
doll.shoes.gotoAndStop((_local3 + 1));
};
};
sh = sh1.currentTarget;
u = parseInt(sh.name.substr(1));
shoes1 = (getDefinitionByName(("shoe" + u)) as Class);
shoes = new (shoes1);
shoes.name = ("s" + sh1.currentTarget.name.substr(1));
addChild(DisplayObject(shoes));
shoes.x = mouseX;
shoes.y = mouseY;
shoes.startDrag(true);
shoes.addEventListener(MouseEvent.MOUSE_UP, putshoes);
}
public function rollover(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 1, {scaleX:1.2, scaleY:1.2, ease:Quint.easeInOut});
}
function frame2(){
stop();
d1.x = -196.6;
d1.y = 292.1;
t1.x = 553;
t1.y = -183.4;
pl.x = 980.5;
pl.y = 546.9;
TweenLite.to(d1, 1, {x:203.4, y:292.1, ease:Quint.easeInOut});
TweenLite.to(t1, 1, {x:553.4, y:396.6, ease:Quint.easeInOut});
TweenLite.to(pl, 1, {x:580.5, y:546.9, ease:Quint.easeInOut});
pl.buttonMode = true;
pl.addEventListener(MouseEvent.CLICK, plays);
pl.addEventListener(MouseEvent.ROLL_OVER, rollover1);
pl.addEventListener(MouseEvent.ROLL_OUT, rollout1);
Globe.temp = 1;
tempCount = 0;
while (tempCount <= (buttonHolder.numChildren - 1)) {
buttonHolder.getChildAt(tempCount).addEventListener(MouseEvent.CLICK, starter);
tempCount++;
};
}
public function sndop(_arg1:MouseEvent):void{
bulletChannel.stop();
sndon.visible = true;
sndoff.visible = false;
}
public function dressfunction(_arg1:MouseEvent):void{
var d:*;
var se:Number;
var dress:Class;
var drest:Object;
var putdress:Function;
var d1 = _arg1;
putdress = function (_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
removeChild(DisplayObject(drest));
if (drest.hitTestObject(doll)){
doll.dress.gotoAndStop((_local3 + 1));
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
dressnext = 1;
topnext = 0;
botnext = 0;
};
};
d = d1.currentTarget;
se = parseInt(d.name.substr(1));
dress = (getDefinitionByName(("dress" + se)) as Class);
drest = new (dress);
drest.name = ("e" + d1.currentTarget.name.substr(1));
addChild(DisplayObject(drest));
drest.x = mouseX;
drest.y = mouseY;
drest.startDrag(true);
drest.addEventListener(MouseEvent.MOUSE_UP, putdress);
}
public function enabl(_arg1:MouseEvent):void{
_arg1.currentTarget.buttonMode = true;
}
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 = (((_local4 + "kbs /") + _local5) + "kbs");
if (_local4 == _local5){
stage.removeEventListener(Event.ENTER_FRAME, BeeMoving);
gotoAndStop(2);
};
}
public function glassfunction(_arg1:MouseEvent):void{
var g:*;
var u:Number;
var glass:Class;
var gl:Object;
var putglass:Function;
var g1 = _arg1;
putglass = function (_arg1:MouseEvent){
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
trace(_local3);
removeChild(DisplayObject(gl));
if (gl.hitTestObject(doll)){
doll.glass.gotoAndStop((_local3 + 1));
};
};
g = g1.currentTarget;
u = parseInt(g.name.substr(1));
glass = (getDefinitionByName(("glass" + u)) as Class);
gl = new (glass);
gl.name = ("g" + g1.currentTarget.name.substr(1));
addChild(DisplayObject(gl));
gl.x = mouseX;
gl.y = mouseY;
gl.startDrag(true);
gl.addEventListener(MouseEvent.MOUSE_UP, putglass);
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.12peppy.com");
navigateToURL(_local2, "_blank");
}
public function rollover1(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 1, {scaleX:1.2, scaleY:1.2, ease:Cubic.easeInOut});
}
public function sndst(_arg1:MouseEvent):void{
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.visible = true;
sndon.visible = false;
}
public function bottomsfunction(_arg1:MouseEvent):void{
var b:*;
var r:Number;
var bottoms1:Class;
var bottom:Object;
var putbottoms:Function;
var b1 = _arg1;
putbottoms = function (_arg1:MouseEvent){
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
removeChild(DisplayObject(bottom));
if (bottom.hitTestObject(doll)){
doll.bottoms.gotoAndStop((_local3 + 1));
doll.dress.gotoAndStop(1);
dressnext = 0;
botnext = 1;
};
};
b = b1.currentTarget;
r = parseInt(b.name.substr(1));
bottoms1 = (getDefinitionByName(("bottoms" + r)) as Class);
bottom = new (bottoms1);
bottom.name = ("b" + b1.currentTarget.name.substr(1));
addChild(DisplayObject(bottom));
bottom.x = mouseX;
bottom.y = mouseY;
bottom.startDrag(true);
bottom.addEventListener(MouseEvent.MOUSE_UP, putbottoms);
}
public function chainfunction(_arg1:MouseEvent):void{
var ch:*;
var u:Number;
var chains:Class;
var chain:Object;
var putchain:Function;
var ch1 = _arg1;
putchain = function (_arg1:MouseEvent){
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
trace(_local3);
removeChild(DisplayObject(chain));
if (chain.hitTestObject(doll)){
doll.chain.gotoAndStop((_local3 + 1));
};
};
ch = ch1.currentTarget;
u = parseInt(ch.name.substr(1));
chains = (getDefinitionByName(("chain" + u)) as Class);
chain = new (chains);
chain.name = ("c" + ch1.currentTarget.name.substr(1));
addChild(DisplayObject(chain));
chain.x = mouseX;
chain.y = mouseY;
chain.startDrag(true);
chain.addEventListener(MouseEvent.MOUSE_UP, putchain);
}
public function nex(_arg1:MouseEvent):void{
TweenLite.to(doll, 1, {x:405.6, y:317.3, ease:Expo.easeInOut});
tops.visible = false;
dresses.visible = false;
bottomspalette.visible = false;
earringpalette.visible = false;
chainpalette.visible = false;
bagspalette.visible = false;
hairpalette.visible = false;
shoespalette.visible = false;
glasspalette.visible = false;
palette.visible = false;
bgbtn.visible = true;
playagain.visible = true;
playmore.visible = true;
resetbtn.visible = false;
dressnext = 0;
topnext = 0;
botnext = 0;
}
public function rollout(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 1, {scaleX:0.8, scaleY:0.8, ease:Quint.easeInOut});
}
public function hairfunction(_arg1:MouseEvent):void{
var h:*;
var u:Number;
var hairs:Class;
var hair:Object;
var puthairs:Function;
var h1 = _arg1;
puthairs = function (_arg1:MouseEvent){
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
trace(_local3);
removeChild(DisplayObject(hair));
if (hair.hitTestObject(doll)){
doll.hair.gotoAndStop(_local3);
};
};
h = h1.currentTarget;
u = parseInt(h.name.substr(1));
hairs = (getDefinitionByName(("hair" + u)) as Class);
hair = new (hairs);
hair.name = ("h" + h1.currentTarget.name.substr(1));
addChild(DisplayObject(hair));
hair.x = mouseX;
hair.y = mouseY;
hair.startDrag(true);
hair.addEventListener(MouseEvent.MOUSE_UP, puthairs);
}
public function topsfunction(_arg1:MouseEvent):void{
var e:*;
var t:Number;
var tops:Class;
var top:Object;
var puttops:Function;
var e1 = _arg1;
puttops = function (_arg1:MouseEvent){
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
trace(_local3);
removeChild(DisplayObject(top));
if (top.hitTestObject(doll)){
doll.tops.gotoAndStop((_local3 + 1));
doll.dress.gotoAndStop(1);
dressnext = 0;
topnext = 1;
};
};
e = e1.currentTarget;
t = parseInt(e.name.substr(1));
tops = (getDefinitionByName(("tops" + t)) as Class);
top = new (tops);
top.name = ("t" + e1.currentTarget.name.substr(1));
trace(top.name);
addChild(DisplayObject(top));
top.x = mouseX;
top.y = mouseY;
top.startDrag(true);
top.addEventListener(MouseEvent.MOUSE_UP, puttops);
}
public function plays(_arg1:MouseEvent):void{
nextFrame();
}
public function link(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
}
}//package NEWDOLL_fla
Section 36
//MOREBTN2_211 (NEWDOLL_fla.MOREBTN2_211)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class MOREBTN2_211 extends MovieClip {
public function MOREBTN2_211(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 37
//MOREBTN2copy_223 (NEWDOLL_fla.MOREBTN2copy_223)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class MOREBTN2copy_223 extends MovieClip {
public function MOREBTN2copy_223(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 38
//MOREBTN2copy2_224 (NEWDOLL_fla.MOREBTN2copy2_224)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class MOREBTN2copy2_224 extends MovieClip {
public function MOREBTN2copy2_224(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 39
//MOREBTN2copy3_225 (NEWDOLL_fla.MOREBTN2copy3_225)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class MOREBTN2copy3_225 extends MovieClip {
public function MOREBTN2copy3_225(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 40
//NEXTBTN2copy_213 (NEWDOLL_fla.NEXTBTN2copy_213)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class NEXTBTN2copy_213 extends MovieClip {
public function NEXTBTN2copy_213(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 41
//peppydfgfsds_19 (NEWDOLL_fla.peppydfgfsds_19)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class peppydfgfsds_19 extends MovieClip {
public function peppydfgfsds_19(){
addFrameScript(46, frame47);
}
function frame47(){
stop();
}
}
}//package NEWDOLL_fla
Section 42
//REPLAYBTN2_209 (NEWDOLL_fla.REPLAYBTN2_209)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class REPLAYBTN2_209 extends MovieClip {
public function REPLAYBTN2_209(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 43
//shoes_128 (NEWDOLL_fla.shoes_128)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class shoes_128 extends MovieClip {
public function shoes_128(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 44
//shoespalette_222 (NEWDOLL_fla.shoespalette_222)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class shoespalette_222 extends MovieClip {
public var s1:shoe1;
public var s5:shoe5;
public var s2:shoe2;
public var s4:shoe4;
public var s3:shoe3;
}
}//package NEWDOLL_fla
Section 45
//tops_49 (NEWDOLL_fla.tops_49)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class tops_49 extends MovieClip {
public function tops_49(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
stop();
}
function frame5(){
gotoAndStop(2);
}
}
}//package NEWDOLL_fla
Section 46
//tops123_215 (NEWDOLL_fla.tops123_215)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class tops123_215 extends MovieClip {
public var t2:tops2;
public var t3:tops3;
public var t1:tops1;
}
}//package NEWDOLL_fla
Section 47
//tyerye_71 (NEWDOLL_fla.tyerye_71)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class tyerye_71 extends MovieClip {
public function tyerye_71(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 48
//tyeryeH_197 (NEWDOLL_fla.tyeryeH_197)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class tyeryeH_197 extends MovieClip {
public function tyeryeH_197(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 49
//tyeryeT_203 (NEWDOLL_fla.tyeryeT_203)
package NEWDOLL_fla {
import flash.display.*;
public dynamic class tyeryeT_203 extends MovieClip {
public function tyeryeT_203(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package NEWDOLL_fla
Section 50
//backscore (backscore)
package {
import flash.media.*;
public dynamic class backscore extends Sound {
}
}//package
Section 51
//bag1 (bag1)
package {
import flash.display.*;
public dynamic class bag1 extends MovieClip {
}
}//package
Section 52
//bag2 (bag2)
package {
import flash.display.*;
public dynamic class bag2 extends MovieClip {
}
}//package
Section 53
//bag3 (bag3)
package {
import flash.display.*;
public dynamic class bag3 extends MovieClip {
}
}//package
Section 54
//bag4 (bag4)
package {
import flash.display.*;
public dynamic class bag4 extends MovieClip {
}
}//package
Section 55
//bag5 (bag5)
package {
import flash.display.*;
public dynamic class bag5 extends MovieClip {
}
}//package
Section 56
//bottoms1 (bottoms1)
package {
import flash.display.*;
public dynamic class bottoms1 extends MovieClip {
}
}//package
Section 57
//bottoms2 (bottoms2)
package {
import flash.display.*;
public dynamic class bottoms2 extends MovieClip {
}
}//package
Section 58
//bottoms3 (bottoms3)
package {
import flash.display.*;
public dynamic class bottoms3 extends MovieClip {
}
}//package
Section 59
//chain1 (chain1)
package {
import flash.display.*;
public dynamic class chain1 extends MovieClip {
}
}//package
Section 60
//chain2 (chain2)
package {
import flash.display.*;
public dynamic class chain2 extends MovieClip {
}
}//package
Section 61
//chain3 (chain3)
package {
import flash.display.*;
public dynamic class chain3 extends MovieClip {
}
}//package
Section 62
//chain4 (chain4)
package {
import flash.display.*;
public dynamic class chain4 extends MovieClip {
}
}//package
Section 63
//chain5 (chain5)
package {
import flash.display.*;
public dynamic class chain5 extends MovieClip {
}
}//package
Section 64
//dress1 (dress1)
package {
import flash.display.*;
public dynamic class dress1 extends MovieClip {
}
}//package
Section 65
//dress10 (dress10)
package {
import flash.display.*;
public dynamic class dress10 extends MovieClip {
}
}//package
Section 66
//dress11 (dress11)
package {
import flash.display.*;
public dynamic class dress11 extends MovieClip {
}
}//package
Section 67
//dress12 (dress12)
package {
import flash.display.*;
public dynamic class dress12 extends MovieClip {
}
}//package
Section 68
//dress2 (dress2)
package {
import flash.display.*;
public dynamic class dress2 extends MovieClip {
}
}//package
Section 69
//dress3 (dress3)
package {
import flash.display.*;
public dynamic class dress3 extends MovieClip {
}
}//package
Section 70
//dress4 (dress4)
package {
import flash.display.*;
public dynamic class dress4 extends MovieClip {
}
}//package
Section 71
//dress5 (dress5)
package {
import flash.display.*;
public dynamic class dress5 extends MovieClip {
}
}//package
Section 72
//dress6 (dress6)
package {
import flash.display.*;
public dynamic class dress6 extends MovieClip {
}
}//package
Section 73
//dress7 (dress7)
package {
import flash.display.*;
public dynamic class dress7 extends MovieClip {
}
}//package
Section 74
//dress8 (dress8)
package {
import flash.display.*;
public dynamic class dress8 extends MovieClip {
}
}//package
Section 75
//dress9 (dress9)
package {
import flash.display.*;
public dynamic class dress9 extends MovieClip {
}
}//package
Section 76
//earring1 (earring1)
package {
import flash.display.*;
public dynamic class earring1 extends MovieClip {
}
}//package
Section 77
//earring2 (earring2)
package {
import flash.display.*;
public dynamic class earring2 extends MovieClip {
}
}//package
Section 78
//earring3 (earring3)
package {
import flash.display.*;
public dynamic class earring3 extends MovieClip {
}
}//package
Section 79
//earring4 (earring4)
package {
import flash.display.*;
public dynamic class earring4 extends MovieClip {
}
}//package
Section 80
//earring5 (earring5)
package {
import flash.display.*;
public dynamic class earring5 extends MovieClip {
}
}//package
Section 81
//glass1 (glass1)
package {
import flash.display.*;
public dynamic class glass1 extends MovieClip {
}
}//package
Section 82
//glass2 (glass2)
package {
import flash.display.*;
public dynamic class glass2 extends MovieClip {
}
}//package
Section 83
//glass3 (glass3)
package {
import flash.display.*;
public dynamic class glass3 extends MovieClip {
}
}//package
Section 84
//glass4 (glass4)
package {
import flash.display.*;
public dynamic class glass4 extends MovieClip {
}
}//package
Section 85
//glass5 (glass5)
package {
import flash.display.*;
public dynamic class glass5 extends MovieClip {
}
}//package
Section 86
//Globe (Globe)
package {
public class Globe {
public static var temp:Number = 0;
}
}//package
Section 87
//hair1 (hair1)
package {
import flash.display.*;
public dynamic class hair1 extends MovieClip {
}
}//package
Section 88
//hair2 (hair2)
package {
import flash.display.*;
public dynamic class hair2 extends MovieClip {
}
}//package
Section 89
//hair3 (hair3)
package {
import flash.display.*;
public dynamic class hair3 extends MovieClip {
}
}//package
Section 90
//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
Section 91
//shoe1 (shoe1)
package {
import flash.display.*;
public dynamic class shoe1 extends MovieClip {
}
}//package
Section 92
//shoe2 (shoe2)
package {
import flash.display.*;
public dynamic class shoe2 extends MovieClip {
}
}//package
Section 93
//shoe3 (shoe3)
package {
import flash.display.*;
public dynamic class shoe3 extends MovieClip {
}
}//package
Section 94
//shoe4 (shoe4)
package {
import flash.display.*;
public dynamic class shoe4 extends MovieClip {
}
}//package
Section 95
//shoe5 (shoe5)
package {
import flash.display.*;
public dynamic class shoe5 extends MovieClip {
}
}//package
Section 96
//tops1 (tops1)
package {
import flash.display.*;
public dynamic class tops1 extends MovieClip {
}
}//package
Section 97
//tops2 (tops2)
package {
import flash.display.*;
public dynamic class tops2 extends MovieClip {
}
}//package
Section 98
//tops3 (tops3)
package {
import flash.display.*;
public dynamic class tops3 extends MovieClip {
}
}//package