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
//Sine (gs.easing.Sine)
package gs.easing {
public class Sine {
private static const _HALF_PI:Number = 1.5707963267949;
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (((_arg3 * Math.sin(((_arg1 / _arg4) * _HALF_PI))) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * _HALF_PI))) + _arg3) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2));
}
}
}//package gs.easing
Section 3
//Strong (gs.easing.Strong)
package gs.easing {
public class Strong {
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
//BlurFilterPlugin (gs.plugins.BlurFilterPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.filters.*;
public class BlurFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BlurFilterPlugin(){
this.propName = "blurFilter";
this.overwriteProps = ["blurFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BlurFilter;
initFilter(_arg2, new BlurFilter(0, 0, ((_arg2.quality) || (2))));
return (true);
}
}
}//package gs.plugins
Section 6
//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 7
//FilterPlugin (gs.plugins.FilterPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.filters.*;
import gs.utils.tween.*;
public class FilterPlugin extends TweenPlugin {
protected var _index:int;
protected var _filter:BitmapFilter;
protected var _type:Class;
protected var _remove:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Array;
_local4 = _target.filters;
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
if (!(_local4[_index] is _type)){
_index = (_local4.length - 1);
_local2 = (_local4.length - 1);
while (_local2 > -1) {
if ((_local4[_local2] is _type)){
_index = _local2;
break;
};
_local2--;
};
};
_local4[_index] = _filter;
_target.filters = _local4;
}
public function onCompleteTween():void{
var _local1:int;
var _local2:Array;
if (_remove){
_local2 = _target.filters;
if (!(_local2[_index] is _type)){
_local1 = (_local2.length - 1);
while (_local1 > -1) {
if ((_local2[_local1] is _type)){
_local2.splice(_local1, 1);
break;
};
_local1--;
};
} else {
_local2.splice(_index, 1);
};
_target.filters = _local2;
};
}
protected function initFilter(_arg1:Object, _arg2:BitmapFilter):void{
var _local3:Array;
var _local4:String;
var _local5:int;
var _local6:HexColorsPlugin;
var _local7:Object;
_local3 = _target.filters;
_index = -1;
if (_arg1.index != null){
_index = _arg1.index;
} else {
_local5 = (_local3.length - 1);
while (_local5 > -1) {
if ((_local3[_local5] is _type)){
_index = _local5;
break;
};
_local5--;
};
};
if ((((((_index == -1)) || ((_local3[_index] == null)))) || ((_arg1.addFilter == true)))){
_index = ((_arg1.index)!=null) ? _arg1.index : _local3.length;
_local3[_index] = _arg2;
_target.filters = _local3;
};
_filter = _local3[_index];
_remove = Boolean((_arg1.remove == true));
if (_remove){
this.onComplete = onCompleteTween;
};
_local7 = ((_arg1.isTV)==true) ? _arg1.exposedVars : _arg1;
for (_local4 in _local7) {
if (((((((((!((_local4 in _filter))) || ((_filter[_local4] == _local7[_local4])))) || ((_local4 == "remove")))) || ((_local4 == "index")))) || ((_local4 == "addFilter")))){
} else {
if ((((((_local4 == "color")) || ((_local4 == "highlightColor")))) || ((_local4 == "shadowColor")))){
_local6 = new HexColorsPlugin();
_local6.initColor(_filter, _local4, _filter[_local4], _local7[_local4]);
_tweens[_tweens.length] = new TweenInfo(_local6, "changeFactor", 0, 1, _local4, false);
} else {
if ((((((((_local4 == "quality")) || ((_local4 == "inner")))) || ((_local4 == "knockout")))) || ((_local4 == "hideObject")))){
_filter[_local4] = _local7[_local4];
} else {
addTween(_filter, _local4, _filter[_local4], _local7[_local4], _local4);
};
};
};
};
}
}
}//package gs.plugins
Section 8
//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 9
//HexColorsPlugin (gs.plugins.HexColorsPlugin)
package gs.plugins {
import gs.*;
public class HexColorsPlugin extends TweenPlugin {
protected var _colors:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function HexColorsPlugin(){
this.propName = "hexColors";
this.overwriteProps = [];
_colors = [];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:Array;
_local2 = (_colors.length - 1);
while (_local2 > -1) {
_local3 = _colors[_local2];
_local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7])));
_local2--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
for (_local4 in _arg2) {
initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4]));
};
return (true);
}
override public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (_colors.length - 1);
while (_local2 > -1) {
if (_arg1[_colors[_local2][1]] != undefined){
_colors.splice(_local2, 1);
};
_local2--;
};
super.killProps(_arg1);
}
public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
if (_arg3 != _arg4){
_local5 = (_arg3 >> 16);
_local6 = ((_arg3 >> 8) & 0xFF);
_local7 = (_arg3 & 0xFF);
_colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)];
this.overwriteProps[this.overwriteProps.length] = _arg2;
};
}
}
}//package gs.plugins
Section 10
//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 11
//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 12
//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 13
//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 14
//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 15
//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 16
//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 17
//TweenLite (gs.TweenLite)
package gs {
import flash.events.*;
import flash.display.*;
import gs.plugins.*;
import gs.utils.tween.*;
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 18
//908089v_259 (OprahWinfrey_fla.908089v_259)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class 908089v_259 extends MovieClip {
public var l:MovieClip;
}
}//package OprahWinfrey_fla
Section 19
//aaaaRainbowDressUpBtn_223 (OprahWinfrey_fla.aaaaRainbowDressUpBtn_223)
package OprahWinfrey_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class aaaaRainbowDressUpBtn_223 extends MovieClip {
public var btn:MovieClip;
public function aaaaRainbowDressUpBtn_223(){
addFrameScript(0, frame1);
}
public function goto(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.rainbowdressup.com"));
}
function frame1(){
btn.addEventListener(MouseEvent.CLICK, goto);
}
}
}//package OprahWinfrey_fla
Section 20
//AAhdhdfhf_emaikl_284 (OprahWinfrey_fla.AAhdhdfhf_emaikl_284)
package OprahWinfrey_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public dynamic class AAhdhdfhf_emaikl_284 extends MovieClip {
public var friendMail:TextField;
public var close:SimpleButton;
public function AAhdhdfhf_emaikl_284(){
addFrameScript(0, frame1);
}
public function hideAdd(_arg1:MouseEvent):void{
this.visible = false;
}
function frame1(){
this.visible = false;
close.addEventListener(MouseEvent.CLICK, hideAdd);
}
}
}//package OprahWinfrey_fla
Section 21
//AAjgjyiy9_emaikl_265 (OprahWinfrey_fla.AAjgjyiy9_emaikl_265)
package OprahWinfrey_fla {
import flash.display.*;
import flash.text.*;
public dynamic class AAjgjyiy9_emaikl_265 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 OprahWinfrey_fla
Section 22
//aalo_258 (OprahWinfrey_fla.aalo_258)
package OprahWinfrey_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class aalo_258 extends MovieClip {
public function aalo_258(){
addFrameScript(0, frame1);
}
function frame1(){
buttonMode = true;
addEventListener(MouseEvent.CLICK, Links);
}
public function Links(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.noelia.com");
navigateToURL(_local2, "_blank");
}
}
}//package OprahWinfrey_fla
Section 23
//aanhg_252 (OprahWinfrey_fla.aanhg_252)
package OprahWinfrey_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class aanhg_252 extends MovieClip {
public function aanhg_252(){
addFrameScript(0, frame1);
}
function frame1(){
buttonMode = true;
addEventListener(MouseEvent.CLICK, Links);
}
public function Links(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.girlgames4u.com");
navigateToURL(_local2, "_blank");
}
}
}//package OprahWinfrey_fla
Section 24
//aaothermclogo123_222 (OprahWinfrey_fla.aaothermclogo123_222)
package OprahWinfrey_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class aaothermclogo123_222 extends MovieClip {
public function aaothermclogo123_222(){
addFrameScript(0, frame1);
}
function frame1(){
buttonMode = true;
addEventListener(MouseEvent.CLICK, Links);
}
public function Links(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.kibagames.com");
navigateToURL(_local2, "_blank");
}
}
}//package OprahWinfrey_fla
Section 25
//aaothermcSymbol1_247 (OprahWinfrey_fla.aaothermcSymbol1_247)
package OprahWinfrey_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class aaothermcSymbol1_247 extends MovieClip {
public function aaothermcSymbol1_247(){
addFrameScript(0, frame1);
}
function frame1(){
buttonMode = true;
addEventListener(MouseEvent.CLICK, Links);
}
public function Links(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.didigames.com");
navigateToURL(_local2, "_blank");
}
}
}//package OprahWinfrey_fla
Section 26
//bnmbnmbnbody_30 (OprahWinfrey_fla.bnmbnmbnbody_30)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnbody_30 extends MovieClip {
public function bnmbnmbnbody_30(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 27
//bnmbnmbnchain_33 (OprahWinfrey_fla.bnmbnmbnchain_33)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnchain_33 extends MovieClip {
public function bnmbnmbnchain_33(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 28
//bnmbnmbndoll_76 (OprahWinfrey_fla.bnmbnmbndoll_76)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbndoll_76 extends MovieClip {
public var mascara:MovieClip;
public var extra2:MovieClip;
public var extra3:MovieClip;
public var dresses:MovieClip;
public var extra1:MovieClip;
public var eyeshades:MovieClip;
public var face1:MovieClip;
public var rouges:MovieClip;
public var eyelens:MovieClip;
public var chains:MovieClip;
public var lips:MovieClip;
public var hair:MovieClip;
}
}//package OprahWinfrey_fla
Section 29
//bnmbnmbndollcopy_29 (OprahWinfrey_fla.bnmbnmbndollcopy_29)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbndollcopy_29 extends MovieClip {
public var mascara:MovieClip;
public var extra2:MovieClip;
public var extra3:MovieClip;
public var dresses:MovieClip;
public var extra1:MovieClip;
public var eyeshades:MovieClip;
public var face1:MovieClip;
public var rouges:MovieClip;
public var eyelens:MovieClip;
public var chains:MovieClip;
public var lips:MovieClip;
public var hair:MovieClip;
}
}//package OprahWinfrey_fla
Section 30
//bnmbnmbndressan_32 (OprahWinfrey_fla.bnmbnmbndressan_32)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbndressan_32 extends MovieClip {
public function bnmbnmbndressan_32(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 31
//bnmbnmbnhairan_70 (OprahWinfrey_fla.bnmbnmbnhairan_70)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnhairan_70 extends MovieClip {
public function bnmbnmbnhairan_70(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
gotoAndStop(1);
}
}
}//package OprahWinfrey_fla
Section 32
//bnmbnmbnlen_55 (OprahWinfrey_fla.bnmbnmbnlen_55)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnlen_55 extends MovieClip {
public function bnmbnmbnlen_55(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 33
//bnmbnmbnxcb90890_57 (OprahWinfrey_fla.bnmbnmbnxcb90890_57)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnxcb90890_57 extends MovieClip {
public function bnmbnmbnxcb90890_57(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 34
//bnmbnmbnxcb90890890890890_47 (OprahWinfrey_fla.bnmbnmbnxcb90890890890890_47)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnxcb90890890890890_47 extends MovieClip {
public function bnmbnmbnxcb90890890890890_47(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
stop();
}
function frame9(){
gotoAndStop(1);
}
}
}//package OprahWinfrey_fla
Section 35
//bnmbnmbnxcbdoll_42 (OprahWinfrey_fla.bnmbnmbnxcbdoll_42)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnxcbdoll_42 extends MovieClip {
public function bnmbnmbnxcbdoll_42(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndPlay(Math.round((Math.random() * 10)));
}
}
}//package OprahWinfrey_fla
Section 36
//bnmbnmbnxcbdollbbbbselena_59 (OprahWinfrey_fla.bnmbnmbnxcbdollbbbbselena_59)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnxcbdollbbbbselena_59 extends MovieClip {
public function bnmbnmbnxcbdollbbbbselena_59(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 37
//bnmbnmbnxcbdollbbbbselenacopy_64 (OprahWinfrey_fla.bnmbnmbnxcbdollbbbbselenacopy_64)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnxcbdollbbbbselenacopy_64 extends MovieClip {
public function bnmbnmbnxcbdollbbbbselenacopy_64(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
gotoAndStop(1);
}
}
}//package OprahWinfrey_fla
Section 38
//bnmbnmbnxcbdollSymbol18_62 (OprahWinfrey_fla.bnmbnmbnxcbdollSymbol18_62)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnxcbdollSymbol18_62 extends MovieClip {
public function bnmbnmbnxcbdollSymbol18_62(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndPlay(Math.round((Math.random() * 10)));
}
}
}//package OprahWinfrey_fla
Section 39
//bnmbnmbnxcbdollSymbol23_65 (OprahWinfrey_fla.bnmbnmbnxcbdollSymbol23_65)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnxcbdollSymbol23_65 extends MovieClip {
public function bnmbnmbnxcbdollSymbol23_65(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 40
//bnmbnmbnxcbvcvcvcvcvcv_40 (OprahWinfrey_fla.bnmbnmbnxcbvcvcvcvcvcv_40)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class bnmbnmbnxcbvcvcvcvcvcv_40 extends MovieClip {
public function bnmbnmbnxcbvcvcvcvcvcv_40(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(1);
}
function frame1(){
stop();
stop();
}
}
}//package OprahWinfrey_fla
Section 41
//cbvdsfdsf_7 (OprahWinfrey_fla.cbvdsfdsf_7)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class cbvdsfdsf_7 extends MovieClip {
public var masker:MovieClip;
}
}//package OprahWinfrey_fla
Section 42
//cvbcvbcvbvcy_78_1_20 (OprahWinfrey_fla.cvbcvbcvbvcy_78_1_20)
package OprahWinfrey_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 OprahWinfrey_fla
Section 43
//enteryournameczXvxcv_193 (OprahWinfrey_fla.enteryournameczXvxcv_193)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class enteryournameczXvxcv_193 extends MovieClip {
public function enteryournameczXvxcv_193(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 44
//hhhvxcv_208 (OprahWinfrey_fla.hhhvxcv_208)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class hhhvxcv_208 extends MovieClip {
public function hhhvxcv_208(){
addFrameScript(0, frame1, 7, frame8);
}
function frame1(){
stop();
}
function frame8(){
gotoAndStop(1);
}
}
}//package OprahWinfrey_fla
Section 45
//hhhvxcvcopy_209 (OprahWinfrey_fla.hhhvxcvcopy_209)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class hhhvxcvcopy_209 extends MovieClip {
public function hhhvxcvcopy_209(){
addFrameScript(0, frame1, 7, frame8);
}
function frame1(){
stop();
}
function frame8(){
gotoAndStop(1);
}
}
}//package OprahWinfrey_fla
Section 46
//hjmkvzxcvzx_207 (OprahWinfrey_fla.hjmkvzxcvzx_207)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class hjmkvzxcvzx_207 extends MovieClip {
public function hjmkvzxcvzx_207(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 47
//MainTimeline (OprahWinfrey_fla.MainTimeline)
package OprahWinfrey_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
import gs.easing.*;
import gs.plugins.*;
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.printing.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var entname:MovieClip;
public var girlDoll:String;
public var eyeshade_alpha:Number;
public var rouge_sect:Number;
public var prev:Number;
public var bg:MovieClip;
public var mascara_alpha:Number;
public var i:Number;
public var j:Number;
public var preloader:MovieClip;
public var hair_sect:Number;
public var ds:MovieClip;
public var dolls:Array;
public var percentage:Number;
public var pat:MovieClip;
public var butposx:Array;
public var butposy:Array;
public var playbtn:MovieClip;
public var contestMenu:ContextMenu;
public var popup:MovieClip;
public var rouge_alpha:Number;
public var tool_box:Array;
public var logo_mc:SimpleButton;
public var lip_alpha:Number;
public var girldollArray:Array;
public var BitsLoaded:TextField;
public var queCount:uint;
public var cur_sect:Number;
public var mailArray:Array;
public var kiba_mc:MovieClip;
public var bullet:backscore;
public var objects:Array;
public var sndon:MovieClip;
public var allbtn:MovieClip;
public var oth:MovieClip;
public var donetest:Boolean;
public var brush:MovieClip;
public var site:MovieClip;
public var names:MovieClip;
public var doll:MovieClip;
public var more:MovieClip;
public var sndoff:MovieClip;
public var again:MovieClip;
public var buttons:Array;
public var animation:MovieClip;
public var email:MovieClip;
public var bulletChannel:SoundChannel;
public var contextmenuItem:ContextMenuItem;
public var tools:Number;
public var ins:Number;
public var ball:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function colseclk(_arg1:MouseEvent):void{
popup.visible = false;
}
public function reset_doll(){
Globe.i = 1;
while (Globe.i <= (dolls.length - 1)) {
dolls[Globe.i].gotoAndStop(1);
Globe.i++;
};
doll.mascara.alpha = 0.1;
doll.extra2.gotoAndStop(1);
doll.extra3.gotoAndStop(1);
lip_alpha = 0;
eyeshade_alpha = 0;
rouge_alpha = 0;
}
public function but_mod(_arg1:MouseEvent):void{
_arg1.currentTarget.buttonMode = true;
}
public function doneclk(_arg1:MouseEvent):void{
var t:Number;
var nextpage:Function;
var next_page:Function;
var e = _arg1;
tools = 0;
t = e.currentTarget.name.substr(1);
if (t == 1){
if (donetest){
nextpage = function (){
names.visible = false;
pat.visible = false;
allbtn.visible = false;
oth.t2.visible = false;
entname.x = 486.4;
entname.y = 206.3;
TweenLite.to(entname, 0.7, {blurFilter:{blurX:0, bluarY:0}, alpha:1});
};
donetest = false;
Globe.i = 1;
while (Globe.i <= allbtn.numChildren) {
buttons[Globe.i].removeEventListener(MouseEvent.CLICK, but_clk);
buttons[Globe.i].removeEventListener(MouseEvent.ROLL_OVER, but_over);
buttons[Globe.i].removeEventListener(MouseEvent.ROLL_OUT, but_out);
Globe.i++;
};
oth.t2.removeEventListener(MouseEvent.CLICK, doneclk);
oth.t2.removeEventListener(MouseEvent.ROLL_OVER, d_over);
oth.t2.removeEventListener(MouseEvent.ROLL_OUT, d_out);
TweenLite.to(pat, 0.4, {alpha:0, ease:Sine.easeOut});
TweenLite.to(names, 0.4, {alpha:0, ease:Sine.easeOut});
TweenLite.to(allbtn, 0.5, {alpha:0, ease:Strong.easeOut});
TweenLite.to(oth.t2, 0.5, {alpha:0, ease:Strong.easeOut, onComplete:nextpage});
} else {
if (entname.ii.text != ""){
next_page = function (){
Globe.entername = entname.ii.text;
Globe.lips_alpha = ((lip_alpha)!=1) ? Math.round((lip_alpha * 10)) : lip_alpha;
Globe.eyeshades_alpha = ((eyeshade_alpha)!=1) ? Math.round((eyeshade_alpha * 10)) : eyeshade_alpha;
Globe.rouges_alpha = ((rouge_alpha)!=1) ? Math.round((rouge_alpha * 10)) : rouge_alpha;
Globe.mascara_alpha = ((mascara_alpha)!=1) ? Math.round((mascara_alpha * 10)) : mascara_alpha;
nextFrame();
};
Globe.i = 1;
while (Globe.i <= 2) {
oth.getChildByName(("t" + Globe.i)).removeEventListener(MouseEvent.CLICK, doneclk);
oth.getChildByName(("t" + Globe.i)).removeEventListener(MouseEvent.ROLL_OVER, d_over);
oth.getChildByName(("t" + Globe.i)).removeEventListener(MouseEvent.ROLL_OUT, d_out);
Globe.i++;
};
TweenLite.to(entname, 0.4, {alpha:0, ease:Sine.easeOut, onComplete:next_page});
};
};
} else {
if (t == 2){
reset_doll();
};
};
}
function frame2(){
stop();
Globe.playback = true;
Globe.temp = 1;
if (bulletChannel){
bulletChannel.stop();
};
playbtn.buttonMode = true;
playbtn.addEventListener(MouseEvent.CLICK, page);
playbtn.addEventListener(MouseEvent.ROLL_OUT, out2);
playbtn.addEventListener(MouseEvent.ROLL_OVER, over2);
}
function frame4(){
if (((this.loaderInfo.parameters.bg) && ((Globe.playback == false)))){
ds.oo.text = this.loaderInfo.parameters.name;
girldollArray = this.loaderInfo.parameters.girldoll.split("");
again.addEventListener(MouseEvent.ROLL_OVER, over1);
again.addEventListener(MouseEvent.ROLL_OUT, out);
again.addEventListener(MouseEvent.CLICK, again_clk);
email.addEventListener(MouseEvent.ROLL_OVER, over1);
email.addEventListener(MouseEvent.ROLL_OUT, out);
more.addEventListener(MouseEvent.ROLL_OVER, over1);
more.addEventListener(MouseEvent.ROLL_OUT, out);
more.addEventListener(MouseEvent.CLICK, link);
email.addEventListener(MouseEvent.CLICK, showMailBox);
doll.dresses.gotoAndStop(Number(girldollArray[0].toString()));
doll.chains.gotoAndStop(Number(girldollArray[1].toString()));
doll.rouges.gotoAndStop(Number(girldollArray[2].toString()));
doll.eyeshades.gotoAndStop(Number(girldollArray[3].toString()));
doll.eyelens.gotoAndStop(Number(girldollArray[4].toString()));
doll.lips.gotoAndStop(Number(girldollArray[5].toString()));
doll.face1.gotoAndStop(Number(girldollArray[6].toString()));
doll.mascara.gotoAndStop(Number(girldollArray[7].toString()));
doll.hair.gotoAndStop(Number(girldollArray[8].toString()));
doll.extra1.gotoAndStop(Number(girldollArray[9].toString()));
if (Number(girldollArray[10].toString()) != 1){
doll.rouges.alpha = (Number(girldollArray[10].toString()) / 10);
} else {
doll.rouges.alpha = Number(girldollArray[10].toString());
};
if (Number(girldollArray[11].toString()) != 1){
doll.eyeshades.alpha = (Number(girldollArray[11].toString()) / 10);
} else {
doll.eyeshades.alpha = Number(girldollArray[11].toString());
};
if (Number(girldollArray[12].toString()) != 1){
doll.mascara.alpha = (Number(girldollArray[12].toString()) / 10);
} else {
doll.mascara.alpha = Number(girldollArray[12].toString());
};
bg.gotoAndStop(Number(girldollArray[13].toString()));
} else {
if (Globe.playback == true){
ds.oo.text = Globe.entername;
again.addEventListener(MouseEvent.ROLL_OVER, over1);
again.addEventListener(MouseEvent.ROLL_OUT, out1);
again.addEventListener(MouseEvent.CLICK, again_clk);
email.addEventListener(MouseEvent.ROLL_OVER, over1);
email.addEventListener(MouseEvent.ROLL_OUT, out1);
more.addEventListener(MouseEvent.ROLL_OVER, over1);
more.addEventListener(MouseEvent.ROLL_OUT, out1);
more.addEventListener(MouseEvent.CLICK, link);
email.addEventListener(MouseEvent.CLICK, showMailBox);
};
};
popup.close.addEventListener(MouseEvent.CLICK, colseclk);
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 = (((((((((((((doll.dresses.currentFrame.toString() + doll.chains.currentFrame.toString()) + doll.rouges.currentFrame.toString()) + doll.eyeshades.currentFrame.toString()) + doll.eyelens.currentFrame.toString()) + doll.lips.currentFrame.toString()) + doll.face1.currentFrame.toString()) + doll.mascara.currentFrame.toString()) + doll.hair.currentFrame.toString()) + doll.extra1.currentFrame.toString()) + Globe.rouges_alpha.toString()) + Globe.eyeshades_alpha.toString()) + Globe.mascara_alpha.toString()) + bg.currentFrame.toString());
trace(girlDoll);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
more.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link);
more.visible = true;
};
}
public function but_clk(_arg1:MouseEvent):void{
var start_add:Function;
var e = _arg1;
tools = 0;
ins = e.currentTarget.name.substr(1);
buttons[ins].removeEventListener(MouseEvent.ROLL_OVER, but_over);
buttons[ins].removeEventListener(MouseEvent.ROLL_OUT, but_out);
buttons[ins].removeEventListener(MouseEvent.CLICK, but_clk);
if (prev != 0){
start_add = function (){
buttons[prev].addEventListener(MouseEvent.ROLL_OVER, but_over);
buttons[prev].addEventListener(MouseEvent.ROLL_OUT, but_out);
buttons[prev].addEventListener(MouseEvent.CLICK, but_clk);
prev = ins;
};
objects[prev].visible = false;
objects[prev].alpha = 0;
TweenLite.to(buttons[prev], 0.2, {x:butposx[prev], y:butposy[prev], scaleX:1, scaleY:1, ease:Sine.easeOut});
};
names.gotoAndStop(ins);
objects[ins].visible = true;
TweenLite.to(objects[ins], 0.2, {alpha:1, ease:Sine.easeOut, onComplete:start_add});
allbtn.setChildIndex(buttons[ins], (allbtn.numChildren - 1));
TweenLite.to(e.currentTarget, 0.1, {x:-92.5, y:100.8, scaleX:1, scaleY:1, ease:Sine.easeOut});
if (prev == 0){
TweenLite.to(names, 0.6, {blurFilter:{blurX:0}, alpha:1, x:529.5});
TweenLite.to(pat, 0.6, {blurFilter:{blurX:0, blurY:0}, alpha:1, x:500.1});
prev = ins;
};
}
function frame3(){
MochiBot.track(this, "53c22a1a");
stop();
TweenPlugin.activate([BlurFilterPlugin]);
buttons = new Array();
butposx = new Array();
butposy = new Array();
objects = new Array();
rouge_sect = 0;
rouge_alpha = 0;
eyeshade_alpha = 0;
lip_alpha = 0;
mascara_alpha = 0;
donetest = true;
ins = 0;
prev = 0;
tools = 0;
cur_sect = 0;
entname.ii.text = "";
entname.ii.restrict = "A-Z0-9";
dolls = new Array("", doll.dresses, doll.chains, doll.rouges, doll.eyeshades, doll.eyelens, doll.lips, doll.face1, doll.mascara, doll.hair, bg, doll.extra1);
tool_box = new Array(brush.hit, brush.rouge, brush.eyeshade, brush.lips, brush.mascara);
names.alpha = 0;
TweenLite.to(names, 0, {blurFilter:{blurX:50}, alpha:0.5, x:-400});
TweenLite.to(pat, 0, {blurFilter:{blurX:50, bluarY:50}, alpha:0.5, x:-400});
TweenLite.to(entname, 0, {blurFilter:{blurX:80, bluarY:80}, alpha:0.7, x:-400});
allbtn.alpha = 0;
TweenLite.to(allbtn, 0.6, {alpha:1, ease:Sine.easeOut});
Globe.i = 1;
while (Globe.i <= allbtn.numChildren) {
buttons[Globe.i] = allbtn.getChildByName(("b" + Globe.i));
objects[Globe.i] = pat.getChildByName(("b" + Globe.i));
butposx[Globe.i] = buttons[Globe.i].x;
butposy[Globe.i] = buttons[Globe.i].y;
buttons[Globe.i].addEventListener(MouseEvent.ROLL_OVER, but_over);
buttons[Globe.i].addEventListener(MouseEvent.ROLL_OUT, but_out);
buttons[Globe.i].addEventListener(MouseEvent.CLICK, but_clk);
if (Globe.i <= 2){
oth.getChildByName(("t" + Globe.i)).addEventListener(MouseEvent.CLICK, doneclk);
oth.getChildByName(("t" + Globe.i)).addEventListener(MouseEvent.ROLL_OVER, d_over);
oth.getChildByName(("t" + Globe.i)).addEventListener(MouseEvent.ROLL_OUT, d_out);
};
Globe.i++;
};
i = 1;
while (i <= pat.numChildren) {
j = 0;
while (j < objects[i].numChildren) {
objects[i].getChildAt(j).addEventListener(MouseEvent.ROLL_OVER, over);
objects[i].getChildAt(j).addEventListener(MouseEvent.ROLL_OUT, out);
objects[i].getChildAt(j).addEventListener(MouseEvent.CLICK, obj_clk);
j++;
};
i++;
};
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link1);
};
bullet = new backscore();
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.addEventListener(MouseEvent.CLICK, sndop);
sndoff.addEventListener(MouseEvent.ROLL_OVER, but_mod);
sndon.addEventListener(MouseEvent.CLICK, sndst);
sndon.addEventListener(MouseEvent.ROLL_OVER, but_mod);
doll.mascara.alpha = 0;
}
function frame1(){
stop();
contestMenu = new ContextMenu();
contestMenu.hideBuiltInItems();
contextmenuItem = new ContextMenuItem("www.123peppy.com");
contextmenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Site);
contestMenu.customItems.push(contextmenuItem);
this.contextMenu = contestMenu;
percentage = 0;
stage.addEventListener(Event.ENTER_FRAME, BeeMoving);
site.buttonMode = true;
site.addEventListener(MouseEvent.CLICK, sitefun);
}
public function but_out(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 0.5, {scaleX:1, scaleY:1, ease:Sine.easeOut});
}
public function out2(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 0.3, {scaleX:1, scaleY:1, ease:Sine.easeOut});
}
public function page(_arg1:MouseEvent):void{
playbtn.removeEventListener(MouseEvent.CLICK, page);
playbtn.removeEventListener(MouseEvent.ROLL_OUT, out2);
playbtn.removeEventListener(MouseEvent.ROLL_OVER, over2);
nextFrame();
}
public function out1(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 0.6, {scaleX:1, scaleY:1, ease:Sine.easeOut});
}
public function tools_clk(_arg1:MouseEvent):void{
switch (tools){
case 3:
if (doll.rouges.hitTestObject(brush.hit)){
doll.rouges.alpha = (doll.rouges.alpha + 0.2);
if (doll.rouges.alpha < 1){
rouge_alpha = (rouge_alpha + 0.2);
};
animation.rouge_star.gotoAndPlay(2);
doll.rouges.gotoAndStop(cur_sect);
};
break;
case 4:
if (doll.eyeshades.hitTestObject(brush.hit)){
doll.eyeshades.alpha = (doll.eyeshades.alpha + 0.2);
if (doll.eyeshades.alpha < 1){
eyeshade_alpha = (eyeshade_alpha + 0.2);
};
animation.eyeshade_star.gotoAndPlay(2);
doll.eyeshades.gotoAndStop(cur_sect);
};
break;
case 6:
if (doll.lips.hitTestObject(brush.hit)){
doll.lips.alpha = (doll.lips.alpha + 0.2);
if (doll.lips.alpha < 1){
lip_alpha = (lip_alpha + 0.2);
};
animation.lip_star.gotoAndPlay(2);
doll.lips.gotoAndStop(cur_sect);
};
break;
case 8:
if (doll.eyeshades.hitTestObject(brush.hit)){
doll.mascara.alpha = (doll.mascara.alpha + 0.1);
if (doll.mascara.alpha < 1){
mascara_alpha = (mascara_alpha + 0.1);
};
};
break;
};
}
public function showMailBox(_arg1:MouseEvent):void{
trace("email");
popup.visible = true;
email.mouseEnabled = false;
TweenLite.to(popup, 0.5, {y:279.8, 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 sitefun(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function over(_arg1:MouseEvent):void{
_arg1.currentTarget.buttonMode = true;
TweenLite.to(_arg1.currentTarget, 0.3, {scaleX:1.2, scaleY:1.2, ease:Sine.easeOut});
}
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 d_out(_arg1:MouseEvent):void{
var _local2:Number;
_local2 = _arg1.currentTarget.name.substr(1);
TweenLite.to(_arg1.currentTarget, 0.8, {scaleX:1, scaleY:1, ease:Sine.easeOut});
}
public function sndop(_arg1:MouseEvent):void{
bulletChannel.stop();
sndon.visible = true;
sndoff.visible = false;
}
public function showExtra(_arg1:MouseEvent):void{
if (queCount < 4){
mailArray[queCount].visible = true;
queCount++;
} else {
queCount = 0;
};
}
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.gamename = "Oprah Winfrey Makeup";
variables.girldoll = girlDoll;
switch (this.loaderInfo.parameters.lang){
case "fr":
variables.path = "http://www.123peppy.com/fr/play/oprah-winfrey-peau-neuve";
break;
case "de":
variables.path = "http://www.123peppy.com/de/play/oprah-winfrey-makeover";
break;
case "it":
variables.path = "http://www.123peppy.com/it/play/oprah-winfrey-makeover";
break;
case "pl":
variables.path = "http://www.123peppy.com/pl/play/oprah-winfrey-makeover";
break;
case "ru":
variables.path = "http://www.123peppy.com/ru/play/опра-уинфри-преобразования";
break;
case "tr":
variables.path = "http://www.123peppy.com/tr/play/oprah-winfrey-makeover";
break;
case "sv":
variables.path = "http://www.123peppy.com/sv/play/oprah-winfrey-makeover";
break;
case "pt-br":
variables.path = "http://www.123peppy.com/pt-br/play/oprah-winfrey-makeover";
break;
case "es":
variables.path = "http://www.123peppy.com/es/play/oprah-winfrey-cambio-de-imagen";
break;
case "nl":
variables.path = "http://www.123peppy.com/nl/play/oprah-winfrey-makeover";
break;
default:
variables.path = "http://www.123peppy.com/play/oprah-winfrey-makeover";
break;
};
variables.name = ds.oo.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 out(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 0.6, {scaleX:1, scaleY:1, ease:Sine.easeOut});
}
public function BeeMoving(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (mouseX - ball.x);
_local3 = (mouseY - ball.y);
ball.x = (ball.x + (_local2 * 0.2));
ball.y = (ball.y + (_local3 * 0.2));
_local4 = loaderInfo.bytesLoaded;
_local5 = loaderInfo.bytesTotal;
percentage = Math.round(((_local4 / _local5) * 100));
BitsLoaded.text = (((Math.round((_local4 / 0x0400)) + "kBs /") + Math.round((_local5 / 0x0400))) + "kBs");
if (_local4 == _local5){
stage.removeEventListener(Event.ENTER_FRAME, BeeMoving);
if (this.loaderInfo.parameters.bg){
gotoAndStop(4);
} else {
gotoAndStop(2);
};
};
}
public function attach_tool(_arg1:MouseEvent):void{
switch (tools){
case 0:
Mouse.show();
brush.x = 1500;
stage.removeEventListener(MouseEvent.CLICK, tools_clk);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, attach_tool);
break;
case 3:
Mouse.hide();
brush.x = mouseX;
brush.y = mouseY;
box_reset();
tool_box[1].visible = true;
tool_box[1].tips.gotoAndStop(cur_sect);
_arg1.updateAfterEvent();
break;
case 4:
Mouse.hide();
brush.x = mouseX;
brush.y = mouseY;
box_reset();
tool_box[2].visible = true;
tool_box[2].tips.gotoAndStop(cur_sect);
_arg1.updateAfterEvent();
break;
case 6:
Mouse.hide();
brush.x = mouseX;
brush.y = mouseY;
box_reset();
tool_box[3].visible = true;
tool_box[3].tips.gotoAndStop(cur_sect);
_arg1.updateAfterEvent();
break;
case 8:
Mouse.hide();
brush.x = mouseX;
brush.y = mouseY;
box_reset();
tool_box[4].visible = true;
_arg1.updateAfterEvent();
break;
};
if (((((HitTest.complexHitTestObject(tool_box[0], allbtn, 1)) || (HitTest.complexHitTestObject(tool_box[0], pat, 1)))) || (HitTest.complexHitTestObject(tool_box[0], oth, 1)))){
Mouse.show();
brush.x = 1500;
};
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function hair_animation(_arg1:Event):void{
if (animation.hair_cut.currentFrame == animation.hair_cut.totalFrames){
doll.hair.gotoAndStop(hair_sect);
doll.removeEventListener(Event.ENTER_FRAME, hair_animation);
};
}
public function link1(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function sndst(_arg1:MouseEvent):void{
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.visible = true;
sndon.visible = false;
}
public function again_clk(_arg1:MouseEvent):void{
gotoAndStop(2);
}
public function d_over(_arg1:MouseEvent):void{
var _local2:Number;
_arg1.currentTarget.buttonMode = true;
_local2 = _arg1.currentTarget.name.substr(1);
TweenLite.to(_arg1.currentTarget, 0.2, {scaleX:1.1, scaleY:1.1, ease:Sine.easeOut});
}
public function but_over(_arg1:MouseEvent):void{
_arg1.currentTarget.buttonMode = true;
TweenLite.to(_arg1.currentTarget, 0.3, {scaleX:1.1, scaleY:1.1, ease:Sine.easeOut});
}
public function obj_clk(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:*;
tools = 0;
_local2 = _arg1.currentTarget.name.substr(1);
_local3 = _arg1.currentTarget.parent.name.substr(1);
switch (_local3){
case 1:
case 2:
case 5:
case 7:
case 10:
dolls[_local3].gotoAndStop(_local2);
break;
case 3:
case 4:
case 6:
case 8:
tools = _local3;
cur_sect = _local2;
if (_local2 == 1){
tools = 0;
};
dolls[_local3].alpha = 0.1;
stage.addEventListener(MouseEvent.MOUSE_MOVE, attach_tool);
stage.addEventListener(MouseEvent.CLICK, tools_clk);
break;
case 9:
hair_sect = _local2;
animation.hair_cut.gotoAndPlay(2);
doll.addEventListener(Event.ENTER_FRAME, hair_animation);
break;
case 11:
_local4 = _arg1.currentTarget.name.substr(1, 1);
_local5 = _arg1.currentTarget.name.substr(2, 1);
_local6 = doll.getChildByName(("extra" + _local4));
_local6.gotoAndStop(_local5);
break;
};
}
public function over1(_arg1:MouseEvent):void{
_arg1.currentTarget.buttonMode = true;
TweenLite.to(_arg1.currentTarget, 0.3, {scaleX:1.2, scaleY:1.2, ease:Sine.easeOut});
}
public function over2(_arg1:MouseEvent):void{
_arg1.currentTarget.buttonMode = true;
TweenLite.to(_arg1.currentTarget, 0.3, {scaleX:0.8, scaleY:0.8, ease:Sine.easeOut});
}
public function box_reset(){
brush.eyeshade.visible = false;
brush.rouge.visible = false;
brush.lips.visible = false;
brush.mascara.visible = false;
}
public function link(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
}
}//package OprahWinfrey_fla
Section 48
//peppydfgfsds_19 (OprahWinfrey_fla.peppydfgfsds_19)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class peppydfgfsds_19 extends MovieClip {
public function peppydfgfsds_19(){
addFrameScript(46, frame47);
}
function frame47(){
stop();
}
}
}//package OprahWinfrey_fla
Section 49
//sathish_197 (OprahWinfrey_fla.sathish_197)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathish_197 extends MovieClip {
public function sathish_197(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package OprahWinfrey_fla
Section 50
//sathish_198 (OprahWinfrey_fla.sathish_198)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathish_198 extends MovieClip {
public function sathish_198(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndPlay(Math.round((Math.random() * 10)));
}
}
}//package OprahWinfrey_fla
Section 51
//sathishbxcvSymbol17_122 (OprahWinfrey_fla.sathishbxcvSymbol17_122)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishbxcvSymbol17_122 extends MovieClip {
public function sathishbxcvSymbol17_122(){
addFrameScript(0, frame1);
}
function frame1(){
visible = false;
}
}
}//package OprahWinfrey_fla
Section 52
//sathishbxcvSymbol24_115 (OprahWinfrey_fla.sathishbxcvSymbol24_115)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishbxcvSymbol24_115 extends MovieClip {
public var s5:MovieClip;
public var s6:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
public var lines:MovieClip;
}
}//package OprahWinfrey_fla
Section 53
//sathishbxcvSymbol24copy_123 (OprahWinfrey_fla.sathishbxcvSymbol24copy_123)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishbxcvSymbol24copy_123 extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
public var lines:MovieClip;
}
}//package OprahWinfrey_fla
Section 54
//sathishlip1tool_202 (OprahWinfrey_fla.sathishlip1tool_202)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishlip1tool_202 extends MovieClip {
public function sathishlip1tool_202(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 55
//sathishSymbol109_157 (OprahWinfrey_fla.sathishSymbol109_157)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol109_157 extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
public var lines:MovieClip;
}
}//package OprahWinfrey_fla
Section 56
//sathishSymbol38_114 (OprahWinfrey_fla.sathishSymbol38_114)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol38_114 extends MovieClip {
public var b10: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;
public var b11:MovieClip;
public function sathishSymbol38_114(){
addFrameScript(0, frame1);
}
function frame1(){
Globe.i = 1;
while (Globe.i <= 11) {
getChildByName(("b" + Globe.i)).visible = false;
getChildByName(("b" + Globe.i)).alpha = 0;
Globe.i++;
};
}
}
}//package OprahWinfrey_fla
Section 57
//sathishSymbol46_129 (OprahWinfrey_fla.sathishSymbol46_129)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol46_129 extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s6:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
public var lines:MovieClip;
}
}//package OprahWinfrey_fla
Section 58
//sathishSymbol56_136 (OprahWinfrey_fla.sathishSymbol56_136)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol56_136 extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s6:MovieClip;
public var s8:MovieClip;
public var s7:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
public var lines:MovieClip;
}
}//package OprahWinfrey_fla
Section 59
//sathishSymbol58tool_201 (OprahWinfrey_fla.sathishSymbol58tool_201)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol58tool_201 extends MovieClip {
public var tips:MovieClip;
}
}//package OprahWinfrey_fla
Section 60
//sathishSymbol66_144 (OprahWinfrey_fla.sathishSymbol66_144)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol66_144 extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s6:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
}
}//package OprahWinfrey_fla
Section 61
//sathishSymbol70_151 (OprahWinfrey_fla.sathishSymbol70_151)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol70_151 extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s6:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
}
}//package OprahWinfrey_fla
Section 62
//sathishSymbol72_168 (OprahWinfrey_fla.sathishSymbol72_168)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol72_168 extends MovieClip {
public var s1:MovieClip;
public var s2:MovieClip;
public var lines:MovieClip;
}
}//package OprahWinfrey_fla
Section 63
//sathishSymbol73_171 (OprahWinfrey_fla.sathishSymbol73_171)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol73_171 extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
public var lines:MovieClip;
}
}//package OprahWinfrey_fla
Section 64
//sathishSymbol73copy2_170 (OprahWinfrey_fla.sathishSymbol73copy2_170)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol73copy2_170 extends MovieClip {
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
public var lines:MovieClip;
}
}//package OprahWinfrey_fla
Section 65
//sathishSymbol78_174 (OprahWinfrey_fla.sathishSymbol78_174)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol78_174 extends MovieClip {
public var s24:MovieClip;
public var s22:MovieClip;
public var s32:MovieClip;
public var s33:MovieClip;
public var s31:MovieClip;
public var s23:MovieClip;
public var s11:MovieClip;
public var s12:MovieClip;
public var s13:MovieClip;
public var s21:MovieClip;
public var s25:MovieClip;
}
}//package OprahWinfrey_fla
Section 66
//sathishSymbol83_196 (OprahWinfrey_fla.sathishSymbol83_196)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol83_196 extends MovieClip {
public var tips:MovieClip;
}
}//package OprahWinfrey_fla
Section 67
//sathishSymbol84_199 (OprahWinfrey_fla.sathishSymbol84_199)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol84_199 extends MovieClip {
public var tips:MovieClip;
}
}//package OprahWinfrey_fla
Section 68
//sathishSymbol85_200 (OprahWinfrey_fla.sathishSymbol85_200)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sathishSymbol85_200 extends MovieClip {
public function sathishSymbol85_200(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 69
//sathishSymbol86_195 (OprahWinfrey_fla.sathishSymbol86_195)
package OprahWinfrey_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
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.printing.*;
import flash.xml.*;
public dynamic class sathishSymbol86_195 extends MovieClip {
public var mascara:MovieClip;
public var lips:MovieClip;
public var hit:MovieClip;
public var mc;
public var rouge:MovieClip;
public var eyeshade:MovieClip;
public function sathishSymbol86_195(){
addFrameScript(0, frame1);
}
function frame1(){
Globe.i = 0;
while (Globe.i < numChildren) {
mc = getChildAt(Globe.i);
mc.visible = false;
Globe.i++;
};
}
}
}//package OprahWinfrey_fla
Section 70
//sissorvcvc_210 (OprahWinfrey_fla.sissorvcvc_210)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class sissorvcvc_210 extends MovieClip {
public function sissorvcvc_210(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package OprahWinfrey_fla
Section 71
//soundon_212 (OprahWinfrey_fla.soundon_212)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class soundon_212 extends MovieClip {
public function soundon_212(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 72
//Symbol1copy2bcvb_216 (OprahWinfrey_fla.Symbol1copy2bcvb_216)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Symbol1copy2bcvb_216 extends MovieClip {
public function Symbol1copy2bcvb_216(){
addFrameScript(0, frame1, 24, frame25);
}
function frame1(){
gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50)));
}
function frame25(){
gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50)));
}
}
}//package OprahWinfrey_fla
Section 73
//Symbol1copy3bcvbcb_217 (OprahWinfrey_fla.Symbol1copy3bcvbcb_217)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Symbol1copy3bcvbcb_217 extends MovieClip {
public function Symbol1copy3bcvbcb_217(){
addFrameScript(0, frame1, 25, frame26);
}
function frame1(){
gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50)));
}
function frame26(){
gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50)));
}
}
}//package OprahWinfrey_fla
Section 74
//Symbol1copybvcb_215 (OprahWinfrey_fla.Symbol1copybvcb_215)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Symbol1copybvcb_215 extends MovieClip {
public function Symbol1copybvcb_215(){
addFrameScript(0, frame1, 34, frame35);
}
function frame1(){
gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50)));
}
function frame35(){
gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50)));
}
}
}//package OprahWinfrey_fla
Section 75
//Symbol1xcvzxcv_214 (OprahWinfrey_fla.Symbol1xcvzxcv_214)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Symbol1xcvzxcv_214 extends MovieClip {
public function Symbol1xcvzxcv_214(){
addFrameScript(0, frame1, 26, frame27);
}
function frame1(){
gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50)));
}
function frame27(){
gotoAndPlay(Math.round((((Math.random() * Math.random()) * Math.random()) * 20)));
}
}
}//package OprahWinfrey_fla
Section 76
//Symbol64_192 (OprahWinfrey_fla.Symbol64_192)
package OprahWinfrey_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Symbol64_192 extends MovieClip {
public var ii:TextField;
public var l:MovieClip;
}
}//package OprahWinfrey_fla
Section 77
//Symbol64star_206 (OprahWinfrey_fla.Symbol64star_206)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Symbol64star_206 extends MovieClip {
public var eyeshade_star:MovieClip;
public var rouge_star:MovieClip;
public var hair_cut:MovieClip;
public var lip_star:MovieClip;
}
}//package OprahWinfrey_fla
Section 78
//Symbol70_218 (OprahWinfrey_fla.Symbol70_218)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Symbol70_218 extends MovieClip {
public function Symbol70_218(){
addFrameScript(0, frame1);
}
function frame1(){
visible = false;
}
}
}//package OprahWinfrey_fla
Section 79
//Timeline_103 (OprahWinfrey_fla.Timeline_103)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_103 extends MovieClip {
public var l1:MovieClip;
public var l4:MovieClip;
public var l8:MovieClip;
public var l5:MovieClip;
public var l3:MovieClip;
public var l7:MovieClip;
public var o:MovieClip;
public var l6:MovieClip;
public var l9:MovieClip;
public function Timeline_103(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 80
//Timeline_104 (OprahWinfrey_fla.Timeline_104)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_104 extends MovieClip {
public function Timeline_104(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 81
//Timeline_105 (OprahWinfrey_fla.Timeline_105)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_105 extends MovieClip {
public function Timeline_105(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 82
//Timeline_106 (OprahWinfrey_fla.Timeline_106)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_106 extends MovieClip {
public function Timeline_106(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 83
//Timeline_107 (OprahWinfrey_fla.Timeline_107)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_107 extends MovieClip {
public function Timeline_107(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 84
//Timeline_108 (OprahWinfrey_fla.Timeline_108)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_108 extends MovieClip {
public function Timeline_108(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 85
//Timeline_109 (OprahWinfrey_fla.Timeline_109)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_109 extends MovieClip {
public function Timeline_109(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 86
//Timeline_110 (OprahWinfrey_fla.Timeline_110)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_110 extends MovieClip {
public function Timeline_110(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 87
//Timeline_111 (OprahWinfrey_fla.Timeline_111)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_111 extends MovieClip {
public function Timeline_111(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 88
//Timeline_112 (OprahWinfrey_fla.Timeline_112)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_112 extends MovieClip {
public function Timeline_112(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 89
//Timeline_113 (OprahWinfrey_fla.Timeline_113)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_113 extends MovieClip {
public function Timeline_113(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 90
//Timeline_186 (OprahWinfrey_fla.Timeline_186)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_186 extends MovieClip {
public var t2:MovieClip;
public var t1:MovieClip;
}
}//package OprahWinfrey_fla
Section 91
//Timeline_261 (OprahWinfrey_fla.Timeline_261)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_261 extends MovieClip {
public function Timeline_261(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 92
//Timeline_285 (OprahWinfrey_fla.Timeline_285)
package OprahWinfrey_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Timeline_285 extends MovieClip {
public var l:MovieClip;
public var oo:TextField;
}
}//package OprahWinfrey_fla
Section 93
//Timeline_286 (OprahWinfrey_fla.Timeline_286)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_286 extends MovieClip {
public function Timeline_286(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Globe.temp);
}
}
}//package OprahWinfrey_fla
Section 94
//Timeline_78 (OprahWinfrey_fla.Timeline_78)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class Timeline_78 extends MovieClip {
public var b10: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;
public var b11:MovieClip;
}
}//package OprahWinfrey_fla
Section 95
//YKHGKGK_75 (OprahWinfrey_fla.YKHGKGK_75)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class YKHGKGK_75 extends MovieClip {
public function YKHGKGK_75(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 96
//YKHGKGKcopy_22 (OprahWinfrey_fla.YKHGKGKcopy_22)
package OprahWinfrey_fla {
import flash.display.*;
public dynamic class YKHGKGKcopy_22 extends MovieClip {
public function YKHGKGKcopy_22(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package OprahWinfrey_fla
Section 97
//backscore (backscore)
package {
import flash.media.*;
public dynamic class backscore extends Sound {
}
}//package
Section 98
//Globe (Globe)
package {
public class Globe {
public static var entername:String;
public static var mod:Number;
public static var mascara_alpha:Number = 0;
public static var i:Number;
public static var temp:Number = 1;
public static var eyeshades_alpha:Number = 0;
public static var hairdy:Number = 1;
public static var muskat_alpha:Number = 1;
public static var playback:Boolean = false;
public static var rouges_alpha:Number = 0;
public static var lips_alpha:Number = 0;
}
}//package
Section 99
//HitTest (HitTest)
package {
import flash.display.*;
import flash.geom.*;
public class HitTest {
protected static function getDrawMatrix(_arg1:DisplayObject, _arg2:Rectangle, _arg3:Number):Matrix{
var _local4:Point;
var _local5:Matrix;
var _local6:Matrix;
_local6 = _arg1.root.transform.concatenatedMatrix;
_local4 = _arg1.localToGlobal(new Point());
_local5 = _arg1.transform.concatenatedMatrix;
_local5.tx = (_local4.x - _arg2.x);
_local5.ty = (_local4.y - _arg2.y);
_local5.a = (_local5.a / _local6.a);
_local5.d = (_local5.d / _local6.d);
if (_arg3 != 1){
_local5.scale(_arg3, _arg3);
};
return (_local5);
}
public static function complexHitTestObject(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Boolean{
return (!((complexIntersectionRectangle(_arg1, _arg2, _arg3).width == 0)));
}
public static function complexIntersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Rectangle{
var _local4:Rectangle;
var _local5:BitmapData;
var _local6:Rectangle;
if (_arg3 <= 0){
throw (new Error("ArgumentError: Error #5001: Invalid value for accurracy", 5001));
};
if (!_arg1.hitTestObject(_arg2)){
return (new Rectangle());
};
_local4 = intersectionRectangle(_arg1, _arg2);
if (((((_local4.width * _arg3) < 1)) || (((_local4.height * _arg3) < 1)))){
return (new Rectangle());
};
_local5 = new BitmapData((_local4.width * _arg3), (_local4.height * _arg3), false, 0);
_local5.draw(_arg1, HitTest.getDrawMatrix(_arg1, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, 0xFF));
_local5.draw(_arg2, HitTest.getDrawMatrix(_arg2, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0xFF), BlendMode.DIFFERENCE);
_local6 = _local5.getColorBoundsRect(4294967295, 4278255615);
_local5.dispose();
if (_arg3 != 1){
_local6.x = (_local6.x / _arg3);
_local6.y = (_local6.y / _arg3);
_local6.width = (_local6.width / _arg3);
_local6.height = (_local6.height / _arg3);
};
_local6.x = (_local6.x + _local4.x);
_local6.y = (_local6.y + _local4.y);
return (_local6);
}
public static function intersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject):Rectangle{
var _local3:Rectangle;
var _local4:Rectangle;
var _local5:Rectangle;
if (((((!(_arg1.root)) || (!(_arg2.root)))) || (!(_arg1.hitTestObject(_arg2))))){
return (new Rectangle());
};
_local3 = _arg1.getBounds(_arg1.root);
_local4 = _arg2.getBounds(_arg2.root);
_local5 = new Rectangle();
_local5.x = Math.max(_local3.x, _local4.x);
_local5.y = Math.max(_local3.y, _local4.y);
_local5.width = Math.min(((_local3.x + _local3.width) - _local5.x), ((_local4.x + _local4.width) - _local5.x));
_local5.height = Math.min(((_local3.y + _local3.height) - _local5.y), ((_local4.y + _local4.height) - _local5.y));
return (_local5);
}
}
}//package
Section 100
//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