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
//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 3
//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 4
//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 5
//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 6
//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 7
//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 8
//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 9
//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 10
//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 11
//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 12
//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 13
//allthings_133 (Nathaliekelley_fla.allthings_133)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class allthings_133 extends MovieClip {
public var b2:MovieClip;
public var b4:MovieClip;
public var b9:MovieClip;
public var b5:MovieClip;
public var b6:MovieClip;
public var b7:MovieClip;
public var b1:MovieClip;
public var b3:MovieClip;
public var b8:MovieClip;
}
}//package Nathaliekelley_fla
Section 14
//asasasasa_239 (Nathaliekelley_fla.asasasasa_239)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class asasasasa_239 extends MovieClip {
public var l:MovieClip;
public function asasasasa_239(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 15
//asasasasacopy_46 (Nathaliekelley_fla.asasasasacopy_46)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class asasasasacopy_46 extends MovieClip {
public function asasasasacopy_46(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 16
//asasasasacopy2_250 (Nathaliekelley_fla.asasasasacopy2_250)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class asasasasacopy2_250 extends MovieClip {
public var l:MovieClip;
public function asasasasacopy2_250(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 17
//asasasasacopy3_253 (Nathaliekelley_fla.asasasasacopy3_253)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class asasasasacopy3_253 extends MovieClip {
public var l:MovieClip;
public function asasasasacopy3_253(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 18
//ButtonHolder_22 (Nathaliekelley_fla.ButtonHolder_22)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class ButtonHolder_22 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 Nathaliekelley_fla
Section 19
//cbvdsfdsf_7 (Nathaliekelley_fla.cbvdsfdsf_7)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class cbvdsfdsf_7 extends MovieClip {
public var masker:MovieClip;
}
}//package Nathaliekelley_fla
Section 20
//chainpalette_210 (Nathaliekelley_fla.chainpalette_210)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class chainpalette_210 extends MovieClip {
public var n1:MovieClip;
public var n2:MovieClip;
public var n5:MovieClip;
public var n4:MovieClip;
public var n3:MovieClip;
}
}//package Nathaliekelley_fla
Section 21
//cvbcvbcvbvcy_78_1_20 (Nathaliekelley_fla.cvbcvbcvbvcy_78_1_20)
package Nathaliekelley_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 Nathaliekelley_fla
Section 22
//cvnhg_236 (Nathaliekelley_fla.cvnhg_236)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class cvnhg_236 extends MovieClip {
public function cvnhg_236(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 23
//desiby_248 (Nathaliekelley_fla.desiby_248)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class desiby_248 extends MovieClip {
public var l:MovieClip;
}
}//package Nathaliekelley_fla
Section 24
//designedby_249 (Nathaliekelley_fla.designedby_249)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class designedby_249 extends MovieClip {
public function designedby_249(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 25
//doll_51 (Nathaliekelley_fla.doll_51)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class doll_51 extends MovieClip {
public var extra2:MovieClip;
public var extra3:MovieClip;
public var extra1:MovieClip;
public var dress:MovieClip;
public var hairdye:MovieClip;
public var lips:MovieClip;
public var earring:MovieClip;
public var rouge:MovieClip;
public var chain:MovieClip;
public var eyeshade:MovieClip;
public var tint:MovieClip;
}
}//package Nathaliekelley_fla
Section 26
//doll2_52 (Nathaliekelley_fla.doll2_52)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class doll2_52 extends MovieClip {
public function doll2_52(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
stop();
}
function frame5(){
gotoAndPlay(1);
}
}
}//package Nathaliekelley_fla
Section 27
//dress_54 (Nathaliekelley_fla.dress_54)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class dress_54 extends MovieClip {
public function dress_54(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndPlay(1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 28
//dresspalette_223 (Nathaliekelley_fla.dresspalette_223)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class dresspalette_223 extends MovieClip {
public var d4:MovieClip;
public var d2:MovieClip;
public var d5:MovieClip;
public var d3:MovieClip;
public var d1:MovieClip;
}
}//package Nathaliekelley_fla
Section 29
//eadada_89 (Nathaliekelley_fla.eadada_89)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class eadada_89 extends MovieClip {
public function eadada_89(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndPlay(1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 30
//earringpalette_199 (Nathaliekelley_fla.earringpalette_199)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class earringpalette_199 extends MovieClip {
public var e2:MovieClip;
public var e5:MovieClip;
public var e3:MovieClip;
public var e4:MovieClip;
public var e1:MovieClip;
}
}//package Nathaliekelley_fla
Section 31
//email_251 (Nathaliekelley_fla.email_251)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class email_251 extends MovieClip {
public function email_251(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 32
//enteryournameczX_247 (Nathaliekelley_fla.enteryournameczX_247)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class enteryournameczX_247 extends MovieClip {
public function enteryournameczX_247(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 33
//ex_106 (Nathaliekelley_fla.ex_106)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class ex_106 extends MovieClip {
public function ex_106(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
stop();
}
function frame5(){
gotoAndPlay(1);
}
}
}//package Nathaliekelley_fla
Section 34
//extrabtn_154 (Nathaliekelley_fla.extrabtn_154)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class extrabtn_154 extends MovieClip {
public var ex1:MovieClip;
public var ex3:MovieClip;
public var ex2:MovieClip;
}
}//package Nathaliekelley_fla
Section 35
//exz_111 (Nathaliekelley_fla.exz_111)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class exz_111 extends MovieClip {
public function exz_111(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
stop();
}
function frame5(){
gotoAndStop(1);
}
}
}//package Nathaliekelley_fla
Section 36
//eyeshade_233 (Nathaliekelley_fla.eyeshade_233)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class eyeshade_233 extends MovieClip {
public function eyeshade_233(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 37
//eyeshadepalette_158 (Nathaliekelley_fla.eyeshadepalette_158)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class eyeshadepalette_158 extends MovieClip {
public var e2:MovieClip;
public var e5:MovieClip;
public var e6:MovieClip;
public var e3:MovieClip;
public var e4:MovieClip;
public var e1:MovieClip;
}
}//package Nathaliekelley_fla
Section 38
//ghghgh12111_237 (Nathaliekelley_fla.ghghgh12111_237)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class ghghgh12111_237 extends MovieClip {
public function ghghgh12111_237(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 39
//ghghghghghghghghg_238 (Nathaliekelley_fla.ghghghghghghghghg_238)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class ghghghghghghghghg_238 extends MovieClip {
public function ghghghghghghghghg_238(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 40
//hairdayd_119 (Nathaliekelley_fla.hairdayd_119)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class hairdayd_119 extends MovieClip {
public function hairdayd_119(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndPlay(1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 41
//HAIRDAYN_230 (Nathaliekelley_fla.HAIRDAYN_230)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class HAIRDAYN_230 extends MovieClip {
public function HAIRDAYN_230(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 42
//hairpalette_134 (Nathaliekelley_fla.hairpalette_134)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class hairpalette_134 extends MovieClip {
public var h1:MovieClip;
public var h2:MovieClip;
public var h4:MovieClip;
public var h5:MovieClip;
public var h6:MovieClip;
public var h3:MovieClip;
}
}//package Nathaliekelley_fla
Section 43
//hdhdfhf_emaikl_256 (Nathaliekelley_fla.hdhdfhf_emaikl_256)
package Nathaliekelley_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public dynamic class hdhdfhf_emaikl_256 extends MovieClip {
public var friendMail:TextField;
public var close:SimpleButton;
public function hdhdfhf_emaikl_256(){
addFrameScript(0, frame1);
}
public function hideAdd(_arg1:MouseEvent):void{
this.visible = false;
}
function frame1(){
this.visible = false;
close.addEventListener(MouseEvent.CLICK, hideAdd);
}
}
}//package Nathaliekelley_fla
Section 44
//jgjyiy9_emaikl_255 (Nathaliekelley_fla.jgjyiy9_emaikl_255)
package Nathaliekelley_fla {
import flash.display.*;
import flash.text.*;
public dynamic class jgjyiy9_emaikl_255 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 Nathaliekelley_fla
Section 45
//lips1_235 (Nathaliekelley_fla.lips1_235)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class lips1_235 extends MovieClip {
public function lips1_235(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 46
//lips1copy_231 (Nathaliekelley_fla.lips1copy_231)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class lips1copy_231 extends MovieClip {
public function lips1copy_231(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 47
//lips1copy3_232 (Nathaliekelley_fla.lips1copy3_232)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class lips1copy3_232 extends MovieClip {
public function lips1copy3_232(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 48
//lipsh_102 (Nathaliekelley_fla.lipsh_102)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class lipsh_102 extends MovieClip {
public function lipsh_102(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndPlay(1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 49
//lipspalette_183 (Nathaliekelley_fla.lipspalette_183)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class lipspalette_183 extends MovieClip {
public var l1:MovieClip;
public var l4:MovieClip;
public var l5:MovieClip;
public var l3:MovieClip;
public var l2:MovieClip;
}
}//package Nathaliekelley_fla
Section 50
//m_48 (Nathaliekelley_fla.m_48)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class m_48 extends MovieClip {
public function m_48(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 51
//MainTimeline (Nathaliekelley_fla.MainTimeline)
package Nathaliekelley_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 framesCount:Number;
public var t2:TextField;
public var t1:TextField;
public var i;
public var preloader:MovieClip;
public var palette:MovieClip;
public var palArray:Array;
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 BitsLoaded:TextField;
public var queCount:uint;
public var nextbtn1:MovieClip;
public var mailArray:Array;
public var ent:MovieClip;
public var next:MovieClip;
public var previous:MovieClip;
public var titles:MovieClip;
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 contextmenuItem:ContextMenuItem;
public var pl:MovieClip;
public var ball:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
public function lipsfunction(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
doll.lips.gotoAndStop(_local3);
Globe.lips = doll.lips.currentFrame;
}
public function prev(_arg1:MouseEvent):void{
buttons.prevFrame();
framesCount = buttons.currentFrame;
}
public function sets(_arg1:Event){
switch (framesCount){
case 1:
i = 0;
while (i <= 8) {
if (i == 0){
palArray[0].visible = true;
} else {
if (i != 0){
palArray[i].visible = false;
};
};
i++;
};
break;
case 2:
i = 0;
while (i <= 8) {
if (i == 1){
palArray[1].visible = true;
} else {
if (i != 1){
palArray[i].visible = false;
};
};
i++;
};
break;
case 3:
i = 0;
while (i <= 8) {
if (i == 2){
palArray[2].visible = true;
} else {
if (i != 2){
palArray[i].visible = false;
};
};
i++;
};
break;
case 4:
i = 0;
while (i <= 8) {
if (i == 3){
palArray[3].visible = true;
} else {
if (i != 3){
palArray[i].visible = false;
};
};
i++;
};
break;
case 5:
i = 0;
while (i <= 8) {
if (i == 4){
palArray[4].visible = true;
} else {
if (i != 4){
palArray[i].visible = false;
};
};
i++;
};
break;
case 6:
i = 0;
while (i <= 8) {
if (i == 5){
palArray[5].visible = true;
} else {
if (i != 5){
palArray[i].visible = false;
};
};
i++;
};
break;
case 7:
i = 0;
while (i <= 8) {
if (i == 6){
palArray[6].visible = true;
} else {
if (i != 6){
palArray[i].visible = false;
};
};
i++;
};
break;
case 8:
i = 0;
while (i <= 8) {
if (i == 7){
palArray[7].visible = true;
} else {
if (i != 7){
palArray[i].visible = false;
};
};
i++;
};
break;
case 9:
i = 0;
while (i <= 8) {
if (i == 8){
palArray[8].visible = true;
} else {
if (i != 8){
palArray[i].visible = false;
};
};
i++;
};
break;
};
}
public function earringfunction(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
doll.earring.gotoAndStop((_local3 + 1));
Globe.earring = doll.earring.currentFrame;
}
function frame3(){
MochiBot.track(this, "0ed40a50");
stop();
framesCount = 1;
palArray = new Array();
i = 0;
while (i <= (palette.numChildren - 1)) {
palette.getChildAt(i).visible = false;
palArray.push(palette.getChildAt(i));
i++;
};
next.addEventListener(MouseEvent.CLICK, nexts);
previous.addEventListener(MouseEvent.CLICK, prev);
stage.addEventListener(Event.ENTER_FRAME, sets);
i = 0;
while (i <= (palette.b9.numChildren - 1)) {
palette.b9.getChildAt(i).addEventListener(MouseEvent.CLICK, dressfunction);
i++;
};
i = 0;
while (i <= (palette.b2.numChildren - 1)) {
palette.b2.getChildAt(i).addEventListener(MouseEvent.CLICK, tintfunction1);
i++;
};
i = 0;
while (i <= (palette.b1.numChildren - 1)) {
palette.b1.getChildAt(i).addEventListener(MouseEvent.CLICK, hairfunction);
i++;
};
i = 0;
while (i <= (palette.b4.numChildren - 1)) {
palette.b4.getChildAt(i).addEventListener(MouseEvent.CLICK, eyeshadefunction);
i++;
};
i = 0;
while (i <= (palette.b5.numChildren - 1)) {
palette.b5.getChildAt(i).addEventListener(MouseEvent.CLICK, rougefunction);
i++;
};
i = 0;
while (i <= (palette.b6.numChildren - 1)) {
palette.b6.getChildAt(i).addEventListener(MouseEvent.CLICK, lipsfunction);
i++;
};
i = 0;
while (i <= (palette.b7.numChildren - 1)) {
palette.b7.getChildAt(i).addEventListener(MouseEvent.CLICK, earringfunction);
i++;
};
i = 0;
while (i <= (palette.b8.numChildren - 1)) {
palette.b8.getChildAt(i).addEventListener(MouseEvent.CLICK, chainfunction);
i++;
};
i = 0;
while (i <= (palette.b3.numChildren - 1)) {
palette.b3.getChildAt(i).addEventListener(MouseEvent.CLICK, extrafunction);
i++;
};
nextbtn.addEventListener(MouseEvent.CLICK, nex1);
}
public function nextbtns1(_arg1:MouseEvent):void{
Globe.tex = t1.text;
nextFrame();
stage.removeEventListener(Event.ENTER_FRAME, results);
}
function frame5(){
stop();
email.gotoAndStop(Globe.temp);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} 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("");
dolls.hairdye.gotoAndStop(Number(girldollArray[0]).toString());
dolls.tint.gotoAndStop(Number(girldollArray[1]));
dolls.extra1.gotoAndStop(Number(girldollArray[2]));
dolls.extra2.gotoAndStop(Number(girldollArray[3]));
dolls.extra3.gotoAndStop(Number(girldollArray[4]));
dolls.eyeshade.gotoAndStop(Number(girldollArray[5]));
dolls.rouge.gotoAndStop(Number(girldollArray[6]));
dolls.lips.gotoAndStop(Number(girldollArray[7]));
dolls.earring.gotoAndStop(Number(girldollArray[8]));
dolls.chain.gotoAndStop(Number(girldollArray[9]));
dolls.dress.gotoAndStop(Number(girldollArray[10]));
nex.playagain.addEventListener(MouseEvent.CLICK, plas1);
email.addEventListener(MouseEvent.ROLL_OVER, rollover3);
email.addEventListener(MouseEvent.ROLL_OUT, rollout3);
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.hairdye.gotoAndStop(Globe.hair);
dolls.tint.gotoAndStop(Globe.tint);
dolls.extra1.gotoAndStop(Globe.extra1);
dolls.extra2.gotoAndStop(Globe.extra2);
dolls.extra3.gotoAndStop(Globe.extra3);
dolls.eyeshade.gotoAndStop(Globe.eyeshade);
dolls.rouge.gotoAndStop(Globe.rouge);
dolls.lips.gotoAndStop(Globe.lips);
dolls.earring.gotoAndStop(Globe.earring);
dolls.chain.gotoAndStop(Globe.chain);
dolls.dress.gotoAndStop(Globe.dress);
nex.playagain.addEventListener(MouseEvent.CLICK, plas);
nex.playagain.addEventListener(MouseEvent.ROLL_OVER, rollover2);
nex.playagain.addEventListener(MouseEvent.ROLL_OUT, rollout2);
email.addEventListener(MouseEvent.ROLL_OVER, rollover2);
email.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.hairdye.currentFrame.toString() + dolls.tint.currentFrame.toString()) + dolls.extra1.currentFrame.toString()) + dolls.extra2.currentFrame.toString()) + dolls.extra3.currentFrame.toString()) + dolls.eyeshade.currentFrame.toString()) + dolls.rouge.currentFrame.toString()) + dolls.lips.currentFrame.toString()) + dolls.earring.currentFrame.toString()) + dolls.chain.currentFrame.toString()) + dolls.dress.currentFrame.toString());
trace(girlDoll);
stop();
}
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);
}
function frame4(){
stop();
t1.text = "";
t1.restrict = "A-Z0-9";
nextbtn1.gotoAndStop(Globe.temp);
nextbtn1.buttonMode = true;
ent.gotoAndStop(Globe.temp);
stage.addEventListener(Event.ENTER_FRAME, results);
nextbtn1.addEventListener(MouseEvent.CLICK, nextbtns1);
if (loaderInfo.url.match("123peppy")){
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link1);
};
}
public function eyeshadefunction(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
doll.eyeshade.gotoAndStop(_local3);
Globe.eyeshade = doll.eyeshade.currentFrame;
}
function frame2(){
stop();
stop();
Globe.playback = true;
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, rollover);
pl.addEventListener(MouseEvent.ROLL_OUT, rollout);
}
public function rougefunction(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
doll.rouge.gotoAndStop(_local3);
Globe.rouge = doll.rouge.currentFrame;
}
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 nex1(_arg1:MouseEvent):void{
nextFrame();
}
public function tintfunction1(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
doll.tint.gotoAndStop(_local3);
Globe.tint = doll.tint.currentFrame;
}
public function plas1(_arg1:MouseEvent){
gotoAndStop(2);
}
public function rollover(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.6;
_arg1.currentTarget.scaleY = 0.6;
}
public function starter(_arg1:MouseEvent):void{
var _local2:*;
_local2 = _arg1.target;
pl.gotoAndStop(_local2.name.substr(1));
Globe.temp = _local2.name.substr(1);
titles.gotoAndStop(Globe.temp);
}
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 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 showExtra(_arg1:MouseEvent):void{
if (queCount < 4){
mailArray[queCount].visible = true;
queCount++;
};
}
public function dressfunction(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
doll.dress.gotoAndStop(_local3);
Globe.dress = doll.dress.currentFrame;
}
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/nathalie-kelley-makeover";
variables.name = t2.text;
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 = (((_local4 + "kbs /") + _local5) + "kbs");
if (_local4 == _local5){
stage.removeEventListener(Event.ENTER_FRAME, BeeMoving);
if (this.loaderInfo.parameters.bg){
gotoAndStop(3);
} else {
gotoAndStop(2);
};
};
}
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 rollover3(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.1;
_arg1.currentTarget.scaleY = 1.1;
}
public function chainfunction(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
doll.chain.gotoAndStop((_local3 + 1));
Globe.chain = doll.chain.currentFrame;
}
public function rollout(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.5;
_arg1.currentTarget.scaleY = 0.5;
}
public function hairfunction(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
doll.hairdye.gotoAndStop(_local3);
Globe.hair = doll.hairdye.currentFrame;
}
public function plays(_arg1:MouseEvent):void{
nextFrame();
}
public function rollover2(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.1;
_arg1.currentTarget.scaleY = 1.1;
}
public function nexts(_arg1:MouseEvent):void{
buttons.nextFrame();
framesCount = buttons.currentFrame;
}
public function extrafunction(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(2));
switch (_local3){
case 1:
doll.extra1.nextFrame();
Globe.extra1 = doll.extra1.currentFrame;
break;
case 2:
doll.extra2.nextFrame();
Globe.extra2 = doll.extra2.currentFrame;
break;
case 3:
doll.extra3.nextFrame();
Globe.extra3 = doll.extra3.currentFrame;
break;
};
}
public function results(_arg1:Event):void{
if (t1.text == ""){
nextbtn1.visible = false;
} else {
nextbtn1.visible = true;
};
}
}
}//package Nathaliekelley_fla
Section 52
//mnmbnv_254 (Nathaliekelley_fla.mnmbnv_254)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class mnmbnv_254 extends MovieClip {
public function mnmbnv_254(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 53
//neck_60 (Nathaliekelley_fla.neck_60)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class neck_60 extends MovieClip {
public function neck_60(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndPlay(1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 54
//neckcopy2_121 (Nathaliekelley_fla.neckcopy2_121)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class neckcopy2_121 extends MovieClip {
public function neckcopy2_121(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndPlay(1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 55
//nex_252 (Nathaliekelley_fla.nex_252)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class nex_252 extends MovieClip {
public var playagain:MovieClip;
}
}//package Nathaliekelley_fla
Section 56
//peppydfgfsds_19 (Nathaliekelley_fla.peppydfgfsds_19)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class peppydfgfsds_19 extends MovieClip {
public function peppydfgfsds_19(){
addFrameScript(46, frame47);
}
function frame47(){
stop();
}
}
}//package Nathaliekelley_fla
Section 57
//rouge_234 (Nathaliekelley_fla.rouge_234)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class rouge_234 extends MovieClip {
public function rouge_234(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 58
//rougepalette_171 (Nathaliekelley_fla.rougepalette_171)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class rougepalette_171 extends MovieClip {
public var r2:MovieClip;
public var r3:MovieClip;
public var r6:MovieClip;
public var r5:MovieClip;
public var r4:MovieClip;
public var r1:MovieClip;
}
}//package Nathaliekelley_fla
Section 59
//sdasasasasasa_155 (Nathaliekelley_fla.sdasasasasasa_155)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class sdasasasasasa_155 extends MovieClip {
public var extra2:MovieClip;
}
}//package Nathaliekelley_fla
Section 60
//sdfghjk_229 (Nathaliekelley_fla.sdfghjk_229)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class sdfghjk_229 extends MovieClip {
public var l1:MovieClip;
public var l6:MovieClip;
public var l:MovieClip;
public var l2:MovieClip;
public function sdfghjk_229(){
addFrameScript(0, frame1);
}
function frame1(){
l.gotoAndStop(Globe.temp);
stop();
}
}
}//package Nathaliekelley_fla
Section 61
//tintpalette_144 (Nathaliekelley_fla.tintpalette_144)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class tintpalette_144 extends MovieClip {
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
public var t4:MovieClip;
}
}//package Nathaliekelley_fla
Section 62
//vcvcv_78 (Nathaliekelley_fla.vcvcv_78)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class vcvcv_78 extends MovieClip {
public function vcvcv_78(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndPlay(1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 63
//vzxcv_116 (Nathaliekelley_fla.vzxcv_116)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class vzxcv_116 extends MovieClip {
public function vzxcv_116(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
gotoAndStop(1);
}
}
}//package Nathaliekelley_fla
Section 64
//vzxcvxc_240 (Nathaliekelley_fla.vzxcvxc_240)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class vzxcvxc_240 extends MovieClip {
public function vzxcvxc_240(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 65
//xcxcxcxcxcxcx_50 (Nathaliekelley_fla.xcxcxcxcxcxcx_50)
package Nathaliekelley_fla {
import flash.display.*;
public dynamic class xcxcxcxcxcxcx_50 extends MovieClip {
public function xcxcxcxcxcxcx_50(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Nathaliekelley_fla
Section 66
//Globe (Globe)
package {
public class Globe {
public static var lips:Number = 0;
public static var chain:Number = 0;
public static var earring:Number = 0;
public static var temp:Number = 0;
public static var playback:Boolean = false;
public static var eyeshade:Number = 0;
public static var extra1:Number = 0;
public static var extra3:Number = 0;
public static var tex:String = "";
public static var extra2:Number = 0;
public static var hair:Number = 0;
public static var dress:Number = 0;
public static var tint:Number = 0;
public static var rouge:Number = 0;
}
}//package
Section 67
//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