Section 1
//Bounce (gs.easing.Bounce)
package gs.easing {
public class Bounce {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
if (_arg1 < (1 / 2.75)){
return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2));
};
if (_arg1 < (2 / 2.75)){
_arg1 = (_arg1 - (1.5 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2));
};
if (_arg1 < (2.5 / 2.75)){
_arg1 = (_arg1 - (2.25 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2));
};
_arg1 = (_arg1 - (2.625 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (((_arg3 - easeOut((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
if (_arg1 < (_arg4 / 2)){
return (((easeIn((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2));
};
return ((((easeOut(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _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
//allimage_38 (patches5_fla.allimage_38)
package patches5_fla {
import flash.display.*;
public dynamic class allimage_38 extends MovieClip {
public var z7:f7;
public var z8:f8;
public var z9:f9;
public var z4:f4;
public var z6:f6;
public var z11:f11;
public var z12:f12;
public var z13:f13;
public var z15:f15;
public var z19:f19;
public var z14:f14;
public var z16:f16;
public var z18:f18;
public var z10:f10;
public var z20:f20;
public var z24:f24;
public var z25:f25;
public var z26:f26;
public var z21:f21;
public var z29:f29;
public var z30:f30;
public var z34:f34;
public var z23:f23;
public var z31:f31;
public var z35:f35;
public var z17:f17;
public var z33:f33;
public var z1:f1;
public var z32:f32;
public var z36:f36;
public var z5:f5;
public var z22:f22;
public var z28:f28;
public var z27:f27;
public var z3:f3;
public var z2:f2;
}
}//package patches5_fla
Section 14
//allimage2_75 (patches5_fla.allimage2_75)
package patches5_fla {
import flash.display.*;
public dynamic class allimage2_75 extends MovieClip {
public var z11:s11;
public var z12:s12;
public var z13:s13;
public var z14:s14;
public var z15:s15;
public var z10:s10;
public var z18:s18;
public var z19:s19;
public var z16:s16;
public var z17:s17;
public var z20:s20;
public var z23:s23;
public var z24:s24;
public var z25:s25;
public var z26:s26;
public var z27:s27;
public var z21:s21;
public var z22:s22;
public var z29:s29;
public var z30:s30;
public var z31:s31;
public var z32:s32;
public var z34:s34;
public var z35:s35;
public var z36:s36;
public var z33:s33;
public var z37:s37;
public var z28:s28;
public var z1:s1;
public var z3:s3;
public var z4:s4;
public var z6:s6;
public var z7:s7;
public var z8:s8;
public var z9:s9;
public var z5:s5;
public var z2:s2;
}
}//package patches5_fla
Section 15
//allimage3_113 (patches5_fla.allimage3_113)
package patches5_fla {
import flash.display.*;
public dynamic class allimage3_113 extends MovieClip {
public var z7:a7;
public var z8:a8;
public var z9:a9;
public var z4:a4;
public var z6:a6;
public var z11:a11;
public var z12:a12;
public var z13:a13;
public var z15:a15;
public var z19:a19;
public var z14:a14;
public var z16:a16;
public var z18:a18;
public var z10:a10;
public var z20:a20;
public var z24:a24;
public var z25:a25;
public var z26:a26;
public var z21:a21;
public var z27:a27;
public var z23:a23;
public var z17:a17;
public var z1:a1;
public var z5:a5;
public var z22:a22;
public var z28:a28;
public var z3:a3;
public var z2:a2;
}
}//package patches5_fla
Section 16
//allimage4_142 (patches5_fla.allimage4_142)
package patches5_fla {
import flash.display.*;
public dynamic class allimage4_142 extends MovieClip {
public var z11:d11;
public var z12:d12;
public var z13:d13;
public var z14:d14;
public var z15:d15;
public var z10:d10;
public var z18:d18;
public var z19:d19;
public var z16:d16;
public var z17:d17;
public var z20:d20;
public var z23:d23;
public var z24:d24;
public var z25:d25;
public var z26:d26;
public var z27:d27;
public var z21:d21;
public var z22:d22;
public var z29:d29;
public var z30:d30;
public var z31:d31;
public var z32:d32;
public var z34:d34;
public var z35:d35;
public var z36:d36;
public var z38:d38;
public var z39:d39;
public var z33:d33;
public var z37:d37;
public var z41:d41;
public var z45:d45;
public var z46:d46;
public var z48:d48;
public var z47:d47;
public var z49:d49;
public var z42:d42;
public var z28:d28;
public var z50:d50;
public var z40:d40;
public var z43:d43;
public var z44:d44;
public var z3:d3;
public var z7:d7;
public var z9:d9;
public var z4:d4;
public var z5:d5;
public var z6:d6;
public var z8:d8;
public var z1:d1;
public var z2:d2;
}
}//package patches5_fla
Section 17
//but1_195 (patches5_fla.but1_195)
package patches5_fla {
import flash.display.*;
public dynamic class but1_195 extends MovieClip {
public var l1:MovieClip;
public var l4:MovieClip;
public var l3:MovieClip;
public var l2:MovieClip;
}
}//package patches5_fla
Section 18
//cbvdsfdsf_7 (patches5_fla.cbvdsfdsf_7)
package patches5_fla {
import flash.display.*;
public dynamic class cbvdsfdsf_7 extends MovieClip {
public var masker:MovieClip;
}
}//package patches5_fla
Section 19
//level1_203 (patches5_fla.level1_203)
package patches5_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import gs.easing.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class level1_203 extends MovieClip {
public var next_btn:MovieClip;
public var wArray:Array;
public var totalObjects:Number;
public var hiddenobjects:Number;
public var ax;
public var ay:Number;
public var c:Array;
public var boxesArray:Array;
public var allimage:MovieClip;
public var sett:Boolean;
public var a:Array;
public var simageArray:Array;
public var clickCount:Number;
public var obje:Object;
public var b:Array;
public var container:MovieClip;
public var dummyArray:Array;
public var hitboxCount:Number;
public var yArray:Array;
public var masked:MovieClip;
public var isallign:Boolean;
public var tempCount:Number;
public var isClick:Boolean;
public var i:Number;
public var imageArray:Array;
public var xArray:Array;
public var pallete:MovieClip;
public var isdown:Boolean;
public var hArray:Array;
public var temp:Number;
public var box:Class;
public var boxes:Object;
public var piece:Class;
public function level1_203(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
dummyArray = new Array();
imageArray = new Array("");
boxesArray = new Array("");
simageArray = new Array("");
xArray = new Array("");
yArray = new Array("");
hArray = new Array("");
wArray = new Array("");
next_btn.visible = false;
container.mask = masked;
a = new Array("");
b = new Array("");
c = new Array("");
isClick = true;
isallign = true;
isdown = false;
sett = false;
totalObjects = 36;
if (Globe.mod == 1){
hiddenobjects = 15;
} else {
if (Globe.mod == 2){
hiddenobjects = 28;
};
};
i = 0;
while (i < allimage.numChildren) {
dummyArray[i] = allimage.getChildAt(i);
temp = dummyArray[i].name.substr(1);
imageArray[temp] = dummyArray[i];
i++;
};
main();
ax = 700;
ay = 0;
i = 1;
while (i < c.length) {
box = (getDefinitionByName("box") as Class);
boxes = new box();
boxes.y = ay;
boxes.name = ("i" + c[i]);
boxesArray.push(boxes);
container.addChild(DisplayObject(boxes));
ay = (ay + 100);
i++;
};
i = 1;
while (i < c.length) {
piece = (getDefinitionByName(("f" + c[i])) as Class);
obje = new piece();
obje.width = boxesArray[2].width;
obje.height = boxesArray[2].height;
boxesArray[i].addChild(DisplayObject(obje));
simageArray.push(boxesArray[i].addChild(DisplayObject(obje)));
i++;
};
i = 1;
while (i < c.length) {
boxesArray[i].addEventListener(MouseEvent.MOUSE_DOWN, down);
boxesArray[i].addEventListener(MouseEvent.MOUSE_UP, up);
i++;
};
values();
i = 1;
while (i < boxesArray.length) {
xArray[i] = boxesArray[i].x;
hArray[i] = boxesArray[i].height;
wArray[i] = boxesArray[i].width;
i++;
};
next_btn.addEventListener(MouseEvent.CLICK, moved);
}
public function values():void{
i = 1;
while (i < boxesArray.length) {
yArray[i] = boxesArray[i].y;
i++;
};
}
public function down(_arg1:MouseEvent):void{
var _local2:Number;
if (isClick){
_arg1.currentTarget.startDrag(true);
_local2 = _arg1.currentTarget.name.substr(1);
_arg1.currentTarget.width = imageArray[_local2].width;
_arg1.currentTarget.height = imageArray[_local2].height;
isdown = true;
hitboxCount = boxesArray.indexOf(_arg1.currentTarget);
tempCount = hitboxCount;
i = (hitboxCount + 1);
while (i < boxesArray.length) {
boxesArray[i].y = yArray[tempCount];
tempCount = (tempCount + 1);
i++;
};
container.setChildIndex((_arg1.currentTarget as DisplayObject), (container.numChildren - 1));
values();
isClick = false;
isallign = true;
} else {
if (hitboxCount == boxesArray.indexOf(_arg1.currentTarget)){
boxesArray[hitboxCount].startDrag(true);
};
};
if (!_arg1.currentTarget.hitTestObject(pallete)){
clickCount = boxesArray.indexOf(_arg1.currentTarget);
trace(("c:" + clickCount));
sett = true;
};
}
public function main(){
var _local1:Number;
i = 1;
while (i < totalObjects) {
a[i] = i;
i++;
};
i = 1;
while (i < hiddenobjects) {
_local1 = (a.length - 1);
b[i] = Math.floor(((Math.random() * _local1) + 1));
c[i] = a.splice(b[i], 1);
i++;
};
i = 1;
while (i < c.length) {
imageArray[c[i]].alpha = 0;
i++;
};
}
public function moved(_arg1:MouseEvent):void{
_arg1.target.parent.parent.nextFrame();
}
public function up(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
var _local4:Class;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
stopDrag();
_local2 = _arg1.currentTarget.name.substr(1);
if (_arg1.currentTarget.hitTestObject(imageArray[_local2])){
imageArray[_local2].alpha = 1;
_local3 = boxesArray.indexOf(_arg1.currentTarget);
boxesArray.splice(_local3, 1);
if (boxesArray.length == 1){
next_btn.visible = true;
};
_arg1.currentTarget.visible = false;
_arg1.currentTarget.mouseEnabled = false;
isClick = true;
sett = false;
values();
};
if (isdown){
if (_arg1.currentTarget.hitTestObject(allimage)){
_local4 = (getDefinitionByName(("f" + _arg1.currentTarget.name.substr(1))) as Class);
_local5 = new (_local4);
};
isdown = false;
};
if (sett){
if (boxesArray[clickCount].hitTestObject(pallete)){
_local6 = boxesArray.indexOf(_arg1.currentTarget);
_local7 = (_local6 + 1);
i = _local6;
while (i < boxesArray.length) {
if (isallign){
boxesArray[clickCount].y = yArray[_local7];
_local8 = yArray[_local7];
isallign = false;
} else {
_local8 = (_local8 + 100);
boxesArray[i].y = _local8;
isClick = true;
};
i++;
};
i = _local6;
while (i < boxesArray.length) {
TweenLite.to(boxesArray[i], 1, {x:xArray[i], ease:Bounce.easeOut});
boxesArray[i].width = wArray[i];
boxesArray[i].height = hArray[i];
i++;
};
values();
sett = false;
};
};
}
}
}//package patches5_fla
Section 20
//level2_210 (patches5_fla.level2_210)
package patches5_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import gs.easing.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class level2_210 extends MovieClip {
public var next_btn:MovieClip;
public var wArray:Array;
public var totalObjects:Number;
public var hiddenobjects;
public var ax;
public var ay:Number;
public var c:Array;
public var boxesArray:Array;
public var allimage:MovieClip;
public var sett:Boolean;
public var a:Array;
public var simageArray:Array;
public var clickCount:Number;
public var obje:Object;
public var b:Array;
public var container:MovieClip;
public var dummyArray:Array;
public var hitboxCount:Number;
public var yArray:Array;
public var masked:MovieClip;
public var isallign:Boolean;
public var tempCount:Number;
public var isClick:Boolean;
public var i:Number;
public var imageArray:Array;
public var xArray:Array;
public var pallete:MovieClip;
public var isdown:Boolean;
public var hArray:Array;
public var temp:Number;
public var box:Class;
public var boxes:Object;
public var piece:Class;
public function level2_210(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
dummyArray = new Array();
imageArray = new Array();
boxesArray = new Array("");
simageArray = new Array("");
xArray = new Array("");
yArray = new Array("");
hArray = new Array("");
wArray = new Array("");
a = new Array("");
b = new Array("");
c = new Array("");
container.mask = masked;
next_btn.visible = false;
isClick = true;
isallign = true;
isdown = false;
sett = false;
totalObjects = 37;
if (Globe.mod == 1){
hiddenobjects = 18;
} else {
if (Globe.mod == 2){
hiddenobjects = 28;
};
};
i = 0;
while (i < allimage.numChildren) {
dummyArray[i] = allimage.getChildAt(i);
temp = dummyArray[i].name.substr(1);
imageArray[temp] = dummyArray[i];
i++;
};
main();
ax = 700;
ay = 0;
i = 1;
while (i < c.length) {
box = (getDefinitionByName("box") as Class);
boxes = new box();
boxes.y = ay;
boxes.name = ("i" + c[i]);
boxesArray.push(boxes);
container.addChild(DisplayObject(boxes));
ay = (ay + 100);
i++;
};
i = 1;
while (i < c.length) {
piece = (getDefinitionByName(("s" + c[i])) as Class);
obje = new piece();
obje.width = boxesArray[2].width;
obje.height = boxesArray[2].height;
boxesArray[i].addChild(DisplayObject(obje));
simageArray.push(boxesArray[i].addChild(DisplayObject(obje)));
i++;
};
i = 1;
while (i < c.length) {
boxesArray[i].addEventListener(MouseEvent.MOUSE_DOWN, down);
boxesArray[i].addEventListener(MouseEvent.MOUSE_UP, up);
i++;
};
values();
i = 1;
while (i < boxesArray.length) {
xArray[i] = boxesArray[i].x;
hArray[i] = boxesArray[i].height;
wArray[i] = boxesArray[i].width;
i++;
};
next_btn.addEventListener(MouseEvent.CLICK, moved);
}
public function values():void{
i = 1;
while (i < boxesArray.length) {
yArray[i] = boxesArray[i].y;
i++;
};
}
public function down(_arg1:MouseEvent):void{
var _local2:Number;
if (isClick){
_arg1.currentTarget.startDrag(true);
_local2 = _arg1.currentTarget.name.substr(1);
_arg1.currentTarget.width = imageArray[_local2].width;
_arg1.currentTarget.height = imageArray[_local2].height;
isdown = true;
hitboxCount = boxesArray.indexOf(_arg1.currentTarget);
tempCount = hitboxCount;
i = (hitboxCount + 1);
while (i < boxesArray.length) {
boxesArray[i].y = yArray[tempCount];
tempCount = (tempCount + 1);
i++;
};
container.setChildIndex((_arg1.currentTarget as DisplayObject), (container.numChildren - 1));
values();
isClick = false;
isallign = true;
} else {
if (hitboxCount == boxesArray.indexOf(_arg1.currentTarget)){
boxesArray[hitboxCount].startDrag(true);
};
};
if (!_arg1.currentTarget.hitTestObject(pallete)){
clickCount = boxesArray.indexOf(_arg1.currentTarget);
trace(("c:" + clickCount));
sett = true;
};
}
public function main(){
var _local1:Number;
i = 1;
while (i < totalObjects) {
a[i] = i;
i++;
};
i = 1;
while (i < hiddenobjects) {
_local1 = (a.length - 1);
b[i] = Math.floor(((Math.random() * _local1) + 1));
c[i] = a.splice(b[i], 1);
i++;
};
i = 1;
while (i < c.length) {
imageArray[c[i]].alpha = 0;
i++;
};
}
public function moved(_arg1:MouseEvent):void{
_arg1.target.parent.parent.nextFrame();
}
public function up(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
var _local4:Class;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
stopDrag();
_local2 = _arg1.currentTarget.name.substr(1);
if (_arg1.currentTarget.hitTestObject(imageArray[_local2])){
imageArray[_local2].alpha = 1;
_local3 = boxesArray.indexOf(_arg1.currentTarget);
boxesArray.splice(_local3, 1);
if (boxesArray.length == 1){
next_btn.visible = true;
};
_arg1.currentTarget.visible = false;
_arg1.currentTarget.mouseEnabled = false;
isClick = true;
sett = false;
values();
};
if (isdown){
if (_arg1.currentTarget.hitTestObject(allimage)){
_local4 = (getDefinitionByName(("s" + _arg1.currentTarget.name.substr(1))) as Class);
_local5 = new (_local4);
};
isdown = false;
};
if (sett){
if (boxesArray[clickCount].hitTestObject(pallete)){
_local6 = boxesArray.indexOf(_arg1.currentTarget);
_local7 = (_local6 + 1);
i = _local6;
while (i < boxesArray.length) {
if (isallign){
boxesArray[clickCount].y = yArray[_local7];
_local8 = yArray[_local7];
isallign = false;
} else {
_local8 = (_local8 + 100);
boxesArray[i].y = _local8;
isClick = true;
};
i++;
};
i = _local6;
while (i < boxesArray.length) {
TweenLite.to(boxesArray[i], 1, {x:xArray[i], ease:Bounce.easeOut});
boxesArray[i].width = wArray[i];
boxesArray[i].height = hArray[i];
i++;
};
values();
sett = false;
};
};
}
}
}//package patches5_fla
Section 21
//level3_211 (patches5_fla.level3_211)
package patches5_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import gs.easing.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class level3_211 extends MovieClip {
public var next_btn:MovieClip;
public var wArray:Array;
public var totalObjects:Number;
public var hiddenobjects;
public var ax;
public var ay:Number;
public var c:Array;
public var boxesArray:Array;
public var allimage:MovieClip;
public var sett:Boolean;
public var a:Array;
public var simageArray:Array;
public var clickCount:Number;
public var obje:Object;
public var b:Array;
public var container:MovieClip;
public var dummyArray:Array;
public var hitboxCount:Number;
public var yArray:Array;
public var masked:MovieClip;
public var isallign:Boolean;
public var tempCount:Number;
public var isClick:Boolean;
public var i:Number;
public var imageArray:Array;
public var xArray:Array;
public var pallete:MovieClip;
public var isdown:Boolean;
public var hArray:Array;
public var temp:Number;
public var box:Class;
public var boxes:Object;
public var piece:Class;
public function level3_211(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
dummyArray = new Array();
imageArray = new Array();
boxesArray = new Array("");
simageArray = new Array("");
xArray = new Array("");
yArray = new Array("");
hArray = new Array("");
wArray = new Array("");
next_btn.visible = false;
a = new Array("");
b = new Array("");
c = new Array("");
isClick = true;
isallign = true;
isdown = false;
sett = false;
totalObjects = 28;
container.mask = masked;
if (Globe.mod == 1){
hiddenobjects = 10;
} else {
if (Globe.mod == 2){
hiddenobjects = 18;
};
};
i = 0;
while (i < allimage.numChildren) {
dummyArray[i] = allimage.getChildAt(i);
temp = dummyArray[i].name.substr(1);
imageArray[temp] = dummyArray[i];
i++;
};
main();
ax = 700;
ay = 0;
i = 1;
while (i < c.length) {
box = (getDefinitionByName("box") as Class);
boxes = new box();
boxes.y = ay;
boxes.name = ("i" + c[i]);
boxesArray.push(boxes);
container.addChild(DisplayObject(boxes));
ay = (ay + 100);
i++;
};
i = 1;
while (i < c.length) {
piece = (getDefinitionByName(("a" + c[i])) as Class);
obje = new piece();
obje.width = boxesArray[2].width;
obje.height = boxesArray[2].height;
boxesArray[i].addChild(DisplayObject(obje));
simageArray.push(boxesArray[i].addChild(DisplayObject(obje)));
i++;
};
i = 1;
while (i < c.length) {
boxesArray[i].addEventListener(MouseEvent.MOUSE_DOWN, down);
boxesArray[i].addEventListener(MouseEvent.MOUSE_UP, up);
i++;
};
values();
i = 1;
while (i < boxesArray.length) {
xArray[i] = boxesArray[i].x;
hArray[i] = boxesArray[i].height;
wArray[i] = boxesArray[i].width;
i++;
};
next_btn.addEventListener(MouseEvent.CLICK, moved);
}
public function values():void{
i = 1;
while (i < boxesArray.length) {
yArray[i] = boxesArray[i].y;
i++;
};
}
public function down(_arg1:MouseEvent):void{
var _local2:Number;
if (isClick){
_arg1.currentTarget.startDrag(true);
_local2 = _arg1.currentTarget.name.substr(1);
_arg1.currentTarget.width = imageArray[_local2].width;
_arg1.currentTarget.height = imageArray[_local2].height;
isdown = true;
hitboxCount = boxesArray.indexOf(_arg1.currentTarget);
tempCount = hitboxCount;
i = (hitboxCount + 1);
while (i < boxesArray.length) {
boxesArray[i].y = yArray[tempCount];
tempCount = (tempCount + 1);
i++;
};
container.setChildIndex((_arg1.currentTarget as DisplayObject), (container.numChildren - 1));
values();
isClick = false;
isallign = true;
} else {
if (hitboxCount == boxesArray.indexOf(_arg1.currentTarget)){
boxesArray[hitboxCount].startDrag(true);
};
};
if (!_arg1.currentTarget.hitTestObject(pallete)){
clickCount = boxesArray.indexOf(_arg1.currentTarget);
trace(("c:" + clickCount));
sett = true;
};
}
public function main(){
var _local1:Number;
i = 1;
while (i < totalObjects) {
a[i] = i;
i++;
};
i = 1;
while (i < hiddenobjects) {
_local1 = (a.length - 1);
b[i] = Math.floor(((Math.random() * _local1) + 1));
c[i] = a.splice(b[i], 1);
i++;
};
i = 1;
while (i < c.length) {
imageArray[c[i]].alpha = 0;
i++;
};
}
public function moved(_arg1:MouseEvent):void{
_arg1.target.parent.parent.nextFrame();
}
public function up(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
var _local4:Class;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
stopDrag();
_local2 = _arg1.currentTarget.name.substr(1);
if (_arg1.currentTarget.hitTestObject(imageArray[_local2])){
imageArray[_local2].alpha = 1;
_local3 = boxesArray.indexOf(_arg1.currentTarget);
boxesArray.splice(_local3, 1);
if (boxesArray.length == 1){
next_btn.visible = true;
};
_arg1.currentTarget.visible = false;
_arg1.currentTarget.mouseEnabled = false;
isClick = true;
sett = false;
values();
};
if (isdown){
if (_arg1.currentTarget.hitTestObject(allimage)){
_local4 = (getDefinitionByName(("a" + _arg1.currentTarget.name.substr(1))) as Class);
_local5 = new (_local4);
};
isdown = false;
};
if (sett){
if (boxesArray[clickCount].hitTestObject(pallete)){
_local6 = boxesArray.indexOf(_arg1.currentTarget);
_local7 = (_local6 + 1);
i = _local6;
while (i < boxesArray.length) {
if (isallign){
boxesArray[clickCount].y = yArray[_local7];
_local8 = yArray[_local7];
isallign = false;
} else {
_local8 = (_local8 + 100);
boxesArray[i].y = _local8;
isClick = true;
};
i++;
};
i = _local6;
while (i < boxesArray.length) {
TweenLite.to(boxesArray[i], 1, {x:xArray[i], ease:Bounce.easeOut});
boxesArray[i].width = wArray[i];
boxesArray[i].height = hArray[i];
i++;
};
values();
sett = false;
};
};
}
}
}//package patches5_fla
Section 22
//level4_212 (patches5_fla.level4_212)
package patches5_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import gs.easing.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class level4_212 extends MovieClip {
public var wArray:Array;
public var boxesArray:Array;
public var hiddenobjects;
public var ax;
public var ay:Number;
public var sett:Boolean;
public var obje:Object;
public var allimage:MovieClip;
public var b:Array;
public var c:Array;
public var clickCount:Number;
public var a:Array;
public var i:Number;
public var simageArray:Array;
public var isClick:Boolean;
public var container:MovieClip;
public var dummyArray:Array;
public var hitboxCount:Number;
public var masked:MovieClip;
public var playagain:MovieClip;
public var xArray:Array;
public var pallete:MovieClip;
public var isdown:Boolean;
public var hArray:Array;
public var piece:Class;
public var next_btn:MovieClip;
public var totalObjects:Number;
public var yArray:Array;
public var isallign:Boolean;
public var tempCount:Number;
public var imageArray:Array;
public var boxes:Object;
public var box:Class;
public var temp:Number;
public function level4_212(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
dummyArray = new Array();
imageArray = new Array();
boxesArray = new Array("");
simageArray = new Array("");
xArray = new Array("");
yArray = new Array("");
hArray = new Array("");
wArray = new Array("");
playagain.visible = false;
next_btn.visible = false;
a = new Array("");
b = new Array("");
c = new Array("");
container.mask = masked;
isClick = true;
isallign = true;
isdown = false;
sett = false;
totalObjects = 50;
if (Globe.mod == 1){
hiddenobjects = 20;
} else {
if (Globe.mod == 2){
hiddenobjects = 30;
};
};
i = 0;
while (i < allimage.numChildren) {
dummyArray[i] = allimage.getChildAt(i);
temp = dummyArray[i].name.substr(1);
imageArray[temp] = dummyArray[i];
i++;
};
main();
ax = 700;
ay = 0;
i = 1;
while (i < c.length) {
box = (getDefinitionByName("box") as Class);
boxes = new box();
boxes.y = ay;
boxes.name = ("i" + c[i]);
boxesArray.push(boxes);
container.addChild(DisplayObject(boxes));
ay = (ay + 100);
i++;
};
i = 1;
while (i < c.length) {
piece = (getDefinitionByName(("d" + c[i])) as Class);
obje = new piece();
obje.width = boxesArray[2].width;
obje.height = boxesArray[2].height;
boxesArray[i].addChild(DisplayObject(obje));
simageArray.push(boxesArray[i].addChild(DisplayObject(obje)));
i++;
};
i = 1;
while (i < c.length) {
boxesArray[i].addEventListener(MouseEvent.MOUSE_DOWN, down);
boxesArray[i].addEventListener(MouseEvent.MOUSE_UP, up);
i++;
};
values();
i = 1;
while (i < boxesArray.length) {
xArray[i] = boxesArray[i].x;
hArray[i] = boxesArray[i].height;
wArray[i] = boxesArray[i].width;
i++;
};
next_btn.addEventListener(MouseEvent.CLICK, moved);
playagain.buttonMode = true;
playagain.addEventListener(MouseEvent.CLICK, playmore);
}
public function playmore(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function up(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
var _local4:Class;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
stopDrag();
_local2 = _arg1.currentTarget.name.substr(1);
if (_arg1.currentTarget.hitTestObject(imageArray[_local2])){
imageArray[_local2].alpha = 1;
_local3 = boxesArray.indexOf(_arg1.currentTarget);
boxesArray.splice(_local3, 1);
if (boxesArray.length == 1){
playagain.visible = true;
};
_arg1.currentTarget.visible = false;
_arg1.currentTarget.mouseEnabled = false;
isClick = true;
sett = false;
values();
};
if (isdown){
if (_arg1.currentTarget.hitTestObject(allimage)){
_local4 = (getDefinitionByName(("d" + _arg1.currentTarget.name.substr(1))) as Class);
_local5 = new (_local4);
};
isdown = false;
};
if (sett){
if (boxesArray[clickCount].hitTestObject(pallete)){
_local6 = boxesArray.indexOf(_arg1.currentTarget);
_local7 = (_local6 + 1);
i = _local6;
while (i < boxesArray.length) {
if (isallign){
boxesArray[clickCount].y = yArray[_local7];
_local8 = yArray[_local7];
isallign = false;
} else {
_local8 = (_local8 + 100);
boxesArray[i].y = _local8;
isClick = true;
};
i++;
};
i = _local6;
while (i < boxesArray.length) {
TweenLite.to(boxesArray[i], 1, {x:xArray[i], ease:Bounce.easeOut});
boxesArray[i].width = wArray[i];
boxesArray[i].height = hArray[i];
i++;
};
values();
sett = false;
};
};
}
public function down(_arg1:MouseEvent):void{
var _local2:Number;
if (isClick){
_arg1.currentTarget.startDrag(true);
_local2 = _arg1.currentTarget.name.substr(1);
_arg1.currentTarget.width = imageArray[_local2].width;
_arg1.currentTarget.height = imageArray[_local2].height;
isdown = true;
hitboxCount = boxesArray.indexOf(_arg1.currentTarget);
tempCount = hitboxCount;
i = (hitboxCount + 1);
while (i < boxesArray.length) {
boxesArray[i].y = yArray[tempCount];
tempCount = (tempCount + 1);
i++;
};
container.setChildIndex((_arg1.currentTarget as DisplayObject), (container.numChildren - 1));
values();
isClick = false;
isallign = true;
} else {
if (hitboxCount == boxesArray.indexOf(_arg1.currentTarget)){
boxesArray[hitboxCount].startDrag(true);
};
};
if (!_arg1.currentTarget.hitTestObject(pallete)){
clickCount = boxesArray.indexOf(_arg1.currentTarget);
trace(("c:" + clickCount));
sett = true;
};
}
public function moved(_arg1:MouseEvent):void{
_arg1.target.parent.parent.nextFrame();
}
public function values():void{
i = 1;
while (i < boxesArray.length) {
yArray[i] = boxesArray[i].y;
i++;
};
}
public function main(){
var _local1:Number;
i = 1;
while (i < totalObjects) {
a[i] = i;
i++;
};
i = 1;
while (i < hiddenobjects) {
_local1 = (a.length - 1);
b[i] = Math.floor(((Math.random() * _local1) + 1));
c[i] = a.splice(b[i], 1);
i++;
};
i = 1;
while (i < c.length) {
imageArray[c[i]].alpha = 0;
i++;
};
}
}
}//package patches5_fla
Section 23
//mainimage_37 (patches5_fla.mainimage_37)
package patches5_fla {
import flash.display.*;
public dynamic class mainimage_37 extends MovieClip {
public var i4:MovieClip;
public var i1:MovieClip;
public var i2:MovieClip;
public var i3:MovieClip;
}
}//package patches5_fla
Section 24
//MainTimeline (patches5_fla.MainTimeline)
package patches5_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var back_btn:MovieClip;
public var lev:Number;
public var level1:MovieClip;
public var level2:MovieClip;
public var level4:MovieClip;
public var alllevels:MovieClip;
public var c:Array;
public var a:Array;
public var contexture:MovieClip;
public var preloader:MovieClip;
public var mainimage:MovieClip;
public var starts:MovieClip;
public var contestMenu:ContextMenu;
public var percentage:Number;
public var dummy:Array;
public var logo_mc:SimpleButton;
public var insbtn:MovieClip;
public var notes:MovieClip;
public var b:Array;
public var contextmenuItem:ContextMenuItem;
public var play_btn:MovieClip;
public var BitsLoaded:TextField;
public var temp:Number;
public var ball:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
public function back(_arg1:MouseEvent):void{
notes.visible = false;
notes.instructions.visible = false;
contexture.visible = true;
insbtn.visible = true;
play_btn.visible = true;
}
public function go4(_arg1:MouseEvent):void{
gotoAndStop(3);
}
public function two(_arg1:MouseEvent):void{
Globe.mod = _arg1.currentTarget.name.substr(1);
starts.visible = false;
main();
}
public function BeeMoving(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (mouseX - ball.x);
_local3 = (mouseY - ball.y);
ball.x = (ball.x + (_local2 * 0.2));
ball.y = (ball.y + (_local3 * 0.2));
_local4 = loaderInfo.bytesLoaded;
_local5 = loaderInfo.bytesTotal;
percentage = Math.round(((_local4 / _local5) * 100));
BitsLoaded.text = (((_local4 + "kbs /") + _local5) + "kbs");
if (_local4 == _local5){
stage.removeEventListener(Event.ENTER_FRAME, BeeMoving);
gotoAndStop(2);
};
}
public function out(_arg1:MouseEvent):void{
c[_arg1.currentTarget.name.substr(1)].visible = false;
}
public function one(_arg1:MouseEvent):void{
var _local2:Number;
Globe.i = 1;
while (Globe.i <= alllevels.numChildren) {
a[Globe.i].removeEventListener(MouseEvent.ROLL_OUT, out);
a[Globe.i].removeEventListener(MouseEvent.ROLL_OVER, over);
Globe.i++;
};
alllevels.visible = false;
_local2 = _arg1.currentTarget.name.substr(1);
trace(("image:" + _local2));
c[_local2].visible = true;
if (_local2 == 4){
c[4].visible = true;
mainimage.visible = true;
};
lev = _arg1.currentTarget.name.substr(1);
main();
}
public function go3(_arg1:MouseEvent):void{
gotoAndStop(3);
}
function frame3(){
MochiBot.track(this, "230ec527");
stop();
dummy = new Array();
a = new Array();
b = new Array();
c = new Array();
lev = 0;
Globe.mod = 0;
Globe.i = 0;
while (Globe.i < alllevels.numChildren) {
dummy[Globe.i] = alllevels.getChildAt(Globe.i);
temp = dummy[Globe.i].name.substr(1);
a[temp] = dummy[Globe.i];
Globe.i++;
};
Globe.i = 1;
while (Globe.i <= alllevels.numChildren) {
a[Globe.i].buttonMode = true;
a[Globe.i].addEventListener(MouseEvent.CLICK, one);
a[Globe.i].addEventListener(MouseEvent.ROLL_OUT, out);
a[Globe.i].addEventListener(MouseEvent.ROLL_OVER, over);
Globe.i++;
};
Globe.i = 0;
while (Globe.i < starts.numChildren) {
b.push(starts.getChildAt(Globe.i));
b[Globe.i].addEventListener(MouseEvent.CLICK, two);
Globe.i++;
};
Globe.i = 0;
while (Globe.i < mainimage.numChildren) {
dummy[Globe.i] = mainimage.getChildAt(Globe.i);
temp = dummy[Globe.i].name.substr(1);
c[temp] = dummy[Globe.i];
Globe.i++;
};
Globe.i = 1;
while (Globe.i <= mainimage.numChildren) {
c[Globe.i].visible = false;
Globe.i++;
};
}
public function go2(_arg1:MouseEvent):void{
gotoAndStop(3);
}
function frame1(){
stop();
contestMenu = new ContextMenu();
contestMenu.hideBuiltInItems();
contextmenuItem = new ContextMenuItem("www.123peppy.com");
contextmenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Site);
contestMenu.customItems.push(contextmenuItem);
this.contextMenu = contestMenu;
percentage = 0;
stage.addEventListener(Event.ENTER_FRAME, BeeMoving);
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function link2(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
function frame5(){
back_btn.addEventListener(MouseEvent.CLICK, go2);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link3);
};
}
function frame7(){
back_btn.addEventListener(MouseEvent.CLICK, go4);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link5);
};
}
public function link3(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function go1(_arg1:MouseEvent):void{
gotoAndStop(3);
}
public function link4(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
function frame4(){
back_btn.addEventListener(MouseEvent.CLICK, go1);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link2);
};
}
function frame6(){
back_btn.addEventListener(MouseEvent.CLICK, go3);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link4);
};
}
public function plays(_arg1:MouseEvent):void{
nextFrame();
}
public function link5(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function over(_arg1:MouseEvent):void{
c[_arg1.currentTarget.name.substr(1)].visible = true;
}
public function main(){
if ((((Globe.mod > 0)) && ((lev == 1)))){
gotoAndStop(4);
};
if ((((Globe.mod > 0)) && ((lev == 2)))){
gotoAndStop(5);
};
if ((((Globe.mod > 0)) && ((lev == 3)))){
gotoAndStop(6);
};
if ((((Globe.mod > 0)) && ((lev == 4)))){
gotoAndStop(7);
};
}
function frame2(){
stop();
notes.visible = false;
play_btn.buttonMode = true;
insbtn.buttonMode = true;
notes.back_btn.buttonMode = true;
play_btn.addEventListener(MouseEvent.CLICK, plays);
insbtn.addEventListener(MouseEvent.CLICK, ins);
notes.back_btn.addEventListener(MouseEvent.CLICK, back);
}
public function ins(_arg1:MouseEvent):void{
notes.visible = true;
notes.instructions.visible = true;
contexture.visible = false;
insbtn.visible = false;
play_btn.visible = false;
}
}
}//package patches5_fla
Section 25
//notes_28 (patches5_fla.notes_28)
package patches5_fla {
import flash.display.*;
public dynamic class notes_28 extends MovieClip {
public var back_btn:MovieClip;
public var instructions:MovieClip;
}
}//package patches5_fla
Section 26
//one_31 (patches5_fla.one_31)
package patches5_fla {
import flash.display.*;
public dynamic class one_31 extends MovieClip {
public var t2:MovieClip;
public var t1:MovieClip;
}
}//package patches5_fla
Section 27
//peppydfgfsds_18 (patches5_fla.peppydfgfsds_18)
package patches5_fla {
import flash.display.*;
public dynamic class peppydfgfsds_18 extends MovieClip {
public function peppydfgfsds_18(){
addFrameScript(46, frame47);
}
function frame47(){
stop();
}
}
}//package patches5_fla
Section 28
//a1 (a1)
package {
import flash.display.*;
public dynamic class a1 extends MovieClip {
}
}//package
Section 29
//a10 (a10)
package {
import flash.display.*;
public dynamic class a10 extends MovieClip {
}
}//package
Section 30
//a11 (a11)
package {
import flash.display.*;
public dynamic class a11 extends MovieClip {
}
}//package
Section 31
//a12 (a12)
package {
import flash.display.*;
public dynamic class a12 extends MovieClip {
}
}//package
Section 32
//a13 (a13)
package {
import flash.display.*;
public dynamic class a13 extends MovieClip {
}
}//package
Section 33
//a14 (a14)
package {
import flash.display.*;
public dynamic class a14 extends MovieClip {
}
}//package
Section 34
//a15 (a15)
package {
import flash.display.*;
public dynamic class a15 extends MovieClip {
}
}//package
Section 35
//a16 (a16)
package {
import flash.display.*;
public dynamic class a16 extends MovieClip {
}
}//package
Section 36
//a17 (a17)
package {
import flash.display.*;
public dynamic class a17 extends MovieClip {
}
}//package
Section 37
//a18 (a18)
package {
import flash.display.*;
public dynamic class a18 extends MovieClip {
}
}//package
Section 38
//a19 (a19)
package {
import flash.display.*;
public dynamic class a19 extends MovieClip {
}
}//package
Section 39
//a2 (a2)
package {
import flash.display.*;
public dynamic class a2 extends MovieClip {
}
}//package
Section 40
//a20 (a20)
package {
import flash.display.*;
public dynamic class a20 extends MovieClip {
}
}//package
Section 41
//a21 (a21)
package {
import flash.display.*;
public dynamic class a21 extends MovieClip {
}
}//package
Section 42
//a22 (a22)
package {
import flash.display.*;
public dynamic class a22 extends MovieClip {
}
}//package
Section 43
//a23 (a23)
package {
import flash.display.*;
public dynamic class a23 extends MovieClip {
}
}//package
Section 44
//a24 (a24)
package {
import flash.display.*;
public dynamic class a24 extends MovieClip {
}
}//package
Section 45
//a25 (a25)
package {
import flash.display.*;
public dynamic class a25 extends MovieClip {
}
}//package
Section 46
//a26 (a26)
package {
import flash.display.*;
public dynamic class a26 extends MovieClip {
}
}//package
Section 47
//a27 (a27)
package {
import flash.display.*;
public dynamic class a27 extends MovieClip {
}
}//package
Section 48
//a28 (a28)
package {
import flash.display.*;
public dynamic class a28 extends MovieClip {
}
}//package
Section 49
//a3 (a3)
package {
import flash.display.*;
public dynamic class a3 extends MovieClip {
}
}//package
Section 50
//a4 (a4)
package {
import flash.display.*;
public dynamic class a4 extends MovieClip {
}
}//package
Section 51
//a5 (a5)
package {
import flash.display.*;
public dynamic class a5 extends MovieClip {
}
}//package
Section 52
//a6 (a6)
package {
import flash.display.*;
public dynamic class a6 extends MovieClip {
}
}//package
Section 53
//a7 (a7)
package {
import flash.display.*;
public dynamic class a7 extends MovieClip {
}
}//package
Section 54
//a8 (a8)
package {
import flash.display.*;
public dynamic class a8 extends MovieClip {
}
}//package
Section 55
//a9 (a9)
package {
import flash.display.*;
public dynamic class a9 extends MovieClip {
}
}//package
Section 56
//box (box)
package {
import flash.display.*;
public dynamic class box extends MovieClip {
}
}//package
Section 57
//d1 (d1)
package {
import flash.display.*;
public dynamic class d1 extends MovieClip {
}
}//package
Section 58
//d10 (d10)
package {
import flash.display.*;
public dynamic class d10 extends MovieClip {
}
}//package
Section 59
//d11 (d11)
package {
import flash.display.*;
public dynamic class d11 extends MovieClip {
}
}//package
Section 60
//d12 (d12)
package {
import flash.display.*;
public dynamic class d12 extends MovieClip {
}
}//package
Section 61
//d13 (d13)
package {
import flash.display.*;
public dynamic class d13 extends MovieClip {
}
}//package
Section 62
//d14 (d14)
package {
import flash.display.*;
public dynamic class d14 extends MovieClip {
}
}//package
Section 63
//d15 (d15)
package {
import flash.display.*;
public dynamic class d15 extends MovieClip {
}
}//package
Section 64
//d16 (d16)
package {
import flash.display.*;
public dynamic class d16 extends MovieClip {
}
}//package
Section 65
//d17 (d17)
package {
import flash.display.*;
public dynamic class d17 extends MovieClip {
}
}//package
Section 66
//d18 (d18)
package {
import flash.display.*;
public dynamic class d18 extends MovieClip {
}
}//package
Section 67
//d19 (d19)
package {
import flash.display.*;
public dynamic class d19 extends MovieClip {
}
}//package
Section 68
//d2 (d2)
package {
import flash.display.*;
public dynamic class d2 extends MovieClip {
}
}//package
Section 69
//d20 (d20)
package {
import flash.display.*;
public dynamic class d20 extends MovieClip {
}
}//package
Section 70
//d21 (d21)
package {
import flash.display.*;
public dynamic class d21 extends MovieClip {
}
}//package
Section 71
//d22 (d22)
package {
import flash.display.*;
public dynamic class d22 extends MovieClip {
}
}//package
Section 72
//d23 (d23)
package {
import flash.display.*;
public dynamic class d23 extends MovieClip {
}
}//package
Section 73
//d24 (d24)
package {
import flash.display.*;
public dynamic class d24 extends MovieClip {
}
}//package
Section 74
//d25 (d25)
package {
import flash.display.*;
public dynamic class d25 extends MovieClip {
}
}//package
Section 75
//d26 (d26)
package {
import flash.display.*;
public dynamic class d26 extends MovieClip {
}
}//package
Section 76
//d27 (d27)
package {
import flash.display.*;
public dynamic class d27 extends MovieClip {
}
}//package
Section 77
//d28 (d28)
package {
import flash.display.*;
public dynamic class d28 extends MovieClip {
}
}//package
Section 78
//d29 (d29)
package {
import flash.display.*;
public dynamic class d29 extends MovieClip {
}
}//package
Section 79
//d3 (d3)
package {
import flash.display.*;
public dynamic class d3 extends MovieClip {
}
}//package
Section 80
//d30 (d30)
package {
import flash.display.*;
public dynamic class d30 extends MovieClip {
}
}//package
Section 81
//d31 (d31)
package {
import flash.display.*;
public dynamic class d31 extends MovieClip {
}
}//package
Section 82
//d32 (d32)
package {
import flash.display.*;
public dynamic class d32 extends MovieClip {
}
}//package
Section 83
//d33 (d33)
package {
import flash.display.*;
public dynamic class d33 extends MovieClip {
}
}//package
Section 84
//d34 (d34)
package {
import flash.display.*;
public dynamic class d34 extends MovieClip {
}
}//package
Section 85
//d35 (d35)
package {
import flash.display.*;
public dynamic class d35 extends MovieClip {
}
}//package
Section 86
//d36 (d36)
package {
import flash.display.*;
public dynamic class d36 extends MovieClip {
}
}//package
Section 87
//d37 (d37)
package {
import flash.display.*;
public dynamic class d37 extends MovieClip {
}
}//package
Section 88
//d38 (d38)
package {
import flash.display.*;
public dynamic class d38 extends MovieClip {
}
}//package
Section 89
//d39 (d39)
package {
import flash.display.*;
public dynamic class d39 extends MovieClip {
}
}//package
Section 90
//d4 (d4)
package {
import flash.display.*;
public dynamic class d4 extends MovieClip {
}
}//package
Section 91
//d40 (d40)
package {
import flash.display.*;
public dynamic class d40 extends MovieClip {
}
}//package
Section 92
//d41 (d41)
package {
import flash.display.*;
public dynamic class d41 extends MovieClip {
}
}//package
Section 93
//d42 (d42)
package {
import flash.display.*;
public dynamic class d42 extends MovieClip {
}
}//package
Section 94
//d43 (d43)
package {
import flash.display.*;
public dynamic class d43 extends MovieClip {
}
}//package
Section 95
//d44 (d44)
package {
import flash.display.*;
public dynamic class d44 extends MovieClip {
}
}//package
Section 96
//d45 (d45)
package {
import flash.display.*;
public dynamic class d45 extends MovieClip {
}
}//package
Section 97
//d46 (d46)
package {
import flash.display.*;
public dynamic class d46 extends MovieClip {
}
}//package
Section 98
//d47 (d47)
package {
import flash.display.*;
public dynamic class d47 extends MovieClip {
}
}//package
Section 99
//d48 (d48)
package {
import flash.display.*;
public dynamic class d48 extends MovieClip {
}
}//package
Section 100
//d49 (d49)
package {
import flash.display.*;
public dynamic class d49 extends MovieClip {
}
}//package
Section 101
//d5 (d5)
package {
import flash.display.*;
public dynamic class d5 extends MovieClip {
}
}//package
Section 102
//d50 (d50)
package {
import flash.display.*;
public dynamic class d50 extends MovieClip {
}
}//package
Section 103
//d6 (d6)
package {
import flash.display.*;
public dynamic class d6 extends MovieClip {
}
}//package
Section 104
//d7 (d7)
package {
import flash.display.*;
public dynamic class d7 extends MovieClip {
}
}//package
Section 105
//d8 (d8)
package {
import flash.display.*;
public dynamic class d8 extends MovieClip {
}
}//package
Section 106
//d9 (d9)
package {
import flash.display.*;
public dynamic class d9 extends MovieClip {
}
}//package
Section 107
//f1 (f1)
package {
import flash.display.*;
public dynamic class f1 extends MovieClip {
}
}//package
Section 108
//f10 (f10)
package {
import flash.display.*;
public dynamic class f10 extends MovieClip {
}
}//package
Section 109
//f11 (f11)
package {
import flash.display.*;
public dynamic class f11 extends MovieClip {
}
}//package
Section 110
//f12 (f12)
package {
import flash.display.*;
public dynamic class f12 extends MovieClip {
}
}//package
Section 111
//f13 (f13)
package {
import flash.display.*;
public dynamic class f13 extends MovieClip {
}
}//package
Section 112
//f14 (f14)
package {
import flash.display.*;
public dynamic class f14 extends MovieClip {
}
}//package
Section 113
//f15 (f15)
package {
import flash.display.*;
public dynamic class f15 extends MovieClip {
}
}//package
Section 114
//f16 (f16)
package {
import flash.display.*;
public dynamic class f16 extends MovieClip {
}
}//package
Section 115
//f17 (f17)
package {
import flash.display.*;
public dynamic class f17 extends MovieClip {
}
}//package
Section 116
//f18 (f18)
package {
import flash.display.*;
public dynamic class f18 extends MovieClip {
}
}//package
Section 117
//f19 (f19)
package {
import flash.display.*;
public dynamic class f19 extends MovieClip {
}
}//package
Section 118
//f2 (f2)
package {
import flash.display.*;
public dynamic class f2 extends MovieClip {
}
}//package
Section 119
//f20 (f20)
package {
import flash.display.*;
public dynamic class f20 extends MovieClip {
}
}//package
Section 120
//f21 (f21)
package {
import flash.display.*;
public dynamic class f21 extends MovieClip {
}
}//package
Section 121
//f22 (f22)
package {
import flash.display.*;
public dynamic class f22 extends MovieClip {
}
}//package
Section 122
//f23 (f23)
package {
import flash.display.*;
public dynamic class f23 extends MovieClip {
}
}//package
Section 123
//f24 (f24)
package {
import flash.display.*;
public dynamic class f24 extends MovieClip {
}
}//package
Section 124
//f25 (f25)
package {
import flash.display.*;
public dynamic class f25 extends MovieClip {
}
}//package
Section 125
//f26 (f26)
package {
import flash.display.*;
public dynamic class f26 extends MovieClip {
}
}//package
Section 126
//f27 (f27)
package {
import flash.display.*;
public dynamic class f27 extends MovieClip {
}
}//package
Section 127
//f28 (f28)
package {
import flash.display.*;
public dynamic class f28 extends MovieClip {
}
}//package
Section 128
//f29 (f29)
package {
import flash.display.*;
public dynamic class f29 extends MovieClip {
}
}//package
Section 129
//f3 (f3)
package {
import flash.display.*;
public dynamic class f3 extends MovieClip {
}
}//package
Section 130
//f30 (f30)
package {
import flash.display.*;
public dynamic class f30 extends MovieClip {
}
}//package
Section 131
//f31 (f31)
package {
import flash.display.*;
public dynamic class f31 extends MovieClip {
}
}//package
Section 132
//f32 (f32)
package {
import flash.display.*;
public dynamic class f32 extends MovieClip {
}
}//package
Section 133
//f33 (f33)
package {
import flash.display.*;
public dynamic class f33 extends MovieClip {
}
}//package
Section 134
//f34 (f34)
package {
import flash.display.*;
public dynamic class f34 extends MovieClip {
}
}//package
Section 135
//f35 (f35)
package {
import flash.display.*;
public dynamic class f35 extends MovieClip {
}
}//package
Section 136
//f36 (f36)
package {
import flash.display.*;
public dynamic class f36 extends MovieClip {
}
}//package
Section 137
//f4 (f4)
package {
import flash.display.*;
public dynamic class f4 extends MovieClip {
}
}//package
Section 138
//f5 (f5)
package {
import flash.display.*;
public dynamic class f5 extends MovieClip {
}
}//package
Section 139
//f6 (f6)
package {
import flash.display.*;
public dynamic class f6 extends MovieClip {
}
}//package
Section 140
//f7 (f7)
package {
import flash.display.*;
public dynamic class f7 extends MovieClip {
}
}//package
Section 141
//f8 (f8)
package {
import flash.display.*;
public dynamic class f8 extends MovieClip {
}
}//package
Section 142
//f9 (f9)
package {
import flash.display.*;
public dynamic class f9 extends MovieClip {
}
}//package
Section 143
//Globe (Globe)
package {
public class Globe {
public static var i:Number;
public static var mod:Number = 0;
}
}//package
Section 144
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 145
//s1 (s1)
package {
import flash.display.*;
public dynamic class s1 extends MovieClip {
}
}//package
Section 146
//s10 (s10)
package {
import flash.display.*;
public dynamic class s10 extends MovieClip {
}
}//package
Section 147
//s11 (s11)
package {
import flash.display.*;
public dynamic class s11 extends MovieClip {
}
}//package
Section 148
//s12 (s12)
package {
import flash.display.*;
public dynamic class s12 extends MovieClip {
}
}//package
Section 149
//s13 (s13)
package {
import flash.display.*;
public dynamic class s13 extends MovieClip {
}
}//package
Section 150
//s14 (s14)
package {
import flash.display.*;
public dynamic class s14 extends MovieClip {
}
}//package
Section 151
//s15 (s15)
package {
import flash.display.*;
public dynamic class s15 extends MovieClip {
}
}//package
Section 152
//s16 (s16)
package {
import flash.display.*;
public dynamic class s16 extends MovieClip {
}
}//package
Section 153
//s17 (s17)
package {
import flash.display.*;
public dynamic class s17 extends MovieClip {
}
}//package
Section 154
//s18 (s18)
package {
import flash.display.*;
public dynamic class s18 extends MovieClip {
}
}//package
Section 155
//s19 (s19)
package {
import flash.display.*;
public dynamic class s19 extends MovieClip {
}
}//package
Section 156
//s2 (s2)
package {
import flash.display.*;
public dynamic class s2 extends MovieClip {
}
}//package
Section 157
//s20 (s20)
package {
import flash.display.*;
public dynamic class s20 extends MovieClip {
}
}//package
Section 158
//s21 (s21)
package {
import flash.display.*;
public dynamic class s21 extends MovieClip {
}
}//package
Section 159
//s22 (s22)
package {
import flash.display.*;
public dynamic class s22 extends MovieClip {
}
}//package
Section 160
//s23 (s23)
package {
import flash.display.*;
public dynamic class s23 extends MovieClip {
}
}//package
Section 161
//s24 (s24)
package {
import flash.display.*;
public dynamic class s24 extends MovieClip {
}
}//package
Section 162
//s25 (s25)
package {
import flash.display.*;
public dynamic class s25 extends MovieClip {
}
}//package
Section 163
//s26 (s26)
package {
import flash.display.*;
public dynamic class s26 extends MovieClip {
}
}//package
Section 164
//s27 (s27)
package {
import flash.display.*;
public dynamic class s27 extends MovieClip {
}
}//package
Section 165
//s28 (s28)
package {
import flash.display.*;
public dynamic class s28 extends MovieClip {
}
}//package
Section 166
//s29 (s29)
package {
import flash.display.*;
public dynamic class s29 extends MovieClip {
}
}//package
Section 167
//s3 (s3)
package {
import flash.display.*;
public dynamic class s3 extends MovieClip {
}
}//package
Section 168
//s30 (s30)
package {
import flash.display.*;
public dynamic class s30 extends MovieClip {
}
}//package
Section 169
//s31 (s31)
package {
import flash.display.*;
public dynamic class s31 extends MovieClip {
}
}//package
Section 170
//s32 (s32)
package {
import flash.display.*;
public dynamic class s32 extends MovieClip {
}
}//package
Section 171
//s33 (s33)
package {
import flash.display.*;
public dynamic class s33 extends MovieClip {
}
}//package
Section 172
//s34 (s34)
package {
import flash.display.*;
public dynamic class s34 extends MovieClip {
}
}//package
Section 173
//s35 (s35)
package {
import flash.display.*;
public dynamic class s35 extends MovieClip {
}
}//package
Section 174
//s36 (s36)
package {
import flash.display.*;
public dynamic class s36 extends MovieClip {
}
}//package
Section 175
//s37 (s37)
package {
import flash.display.*;
public dynamic class s37 extends MovieClip {
}
}//package
Section 176
//s4 (s4)
package {
import flash.display.*;
public dynamic class s4 extends MovieClip {
}
}//package
Section 177
//s5 (s5)
package {
import flash.display.*;
public dynamic class s5 extends MovieClip {
}
}//package
Section 178
//s6 (s6)
package {
import flash.display.*;
public dynamic class s6 extends MovieClip {
}
}//package
Section 179
//s7 (s7)
package {
import flash.display.*;
public dynamic class s7 extends MovieClip {
}
}//package
Section 180
//s8 (s8)
package {
import flash.display.*;
public dynamic class s8 extends MovieClip {
}
}//package
Section 181
//s9 (s9)
package {
import flash.display.*;
public dynamic class s9 extends MovieClip {
}
}//package