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 = (Math.PI / 2);
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
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _tweenVisible:Boolean;
protected var _tween:TweenLite;
protected var _visible:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
this.onComplete = onCompleteTween;
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
if (((!((_target.visible == true))) && (_tweenVisible))){
_target.visible = true;
};
}
public function onCompleteTween():void{
if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(!((_arg2 == 0)));
_tweenVisible = true;
addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha");
return (true);
}
override public function killProps(_arg1:Object):void{
super.killProps(_arg1);
_tweenVisible = !(Boolean(("visible" in _arg1)));
}
}
}//package gs.plugins
Section 4
//EndArrayPlugin (gs.plugins.EndArrayPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _info:Array;
protected var _a:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:ArrayTweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_a[_local3.index] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function init(_arg1:Array, _arg2:Array):void{
var _local3:int;
_a = _arg1;
_local3 = (_arg2.length - 1);
while (_local3 > -1) {
if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){
_info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3]));
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (false);
};
init((_arg1 as Array), _arg2);
return (true);
}
}
}//package gs.plugins
Section 5
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class FramePlugin extends TweenPlugin {
public var frame:int;
protected var _target:MovieClip;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function FramePlugin(){
this.propName = "frame";
this.overwriteProps = ["frame"];
this.round = true;
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.gotoAndStop(this.frame);
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){
return (false);
};
_target = (_arg1 as MovieClip);
this.frame = _target.currentFrame;
addTween(this, "frame", this.frame, _arg2, "frame");
return (true);
}
}
}//package gs.plugins
Section 6
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin)
package gs.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function RemoveTintPlugin(){
this.propName = "removeTint";
}
}
}//package gs.plugins
Section 7
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.geom.*;
import gs.utils.tween.*;
public class TintPlugin extends TweenPlugin {
protected var _ct:ColorTransform;
protected var _ignoreAlpha:Boolean;
protected var _target:DisplayObject;
public static const VERSION:Number = 1.1;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
this.propName = "tint";
this.overwriteProps = ["tint"];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:ColorTransform;
updateTweens(_arg1);
if (_ignoreAlpha){
_local2 = _target.transform.colorTransform;
_ct.alphaMultiplier = _local2.alphaMultiplier;
_ct.alphaOffset = _local2.alphaOffset;
};
_target.transform.colorTransform = _ct;
}
public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{
var _local3:int;
var _local4:String;
_target = _arg1;
_ct = _target.transform.colorTransform;
_local3 = (_props.length - 1);
while (_local3 > -1) {
_local4 = _props[_local3];
if (_ct[_local4] != _arg2[_local4]){
_tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false);
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:ColorTransform;
if (!(_arg1 is DisplayObject)){
return (false);
};
_local4 = new ColorTransform();
if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){
_local4.color = uint(_arg2);
};
_ignoreAlpha = true;
init((_arg1 as DisplayObject), _local4);
return (true);
}
}
}//package gs.plugins
Section 8
//TweenPlugin (gs.plugins.TweenPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class TweenPlugin {
public var overwriteProps:Array;
protected var _tweens:Array;
public var round:Boolean;
public var onComplete:Function;
public var propName:String;
protected var _changeFactor:Number;// = 0
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
_changeFactor = 0;
super();
}
protected function updateTweens(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_changeFactor = _arg1;
}
protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{
var _local6:Number;
if (_arg4 != null){
_local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4);
if (_local6 != 0){
_tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false);
};
};
}
public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (this.overwriteProps.length - 1);
while (_local2 > -1) {
if ((this.overwriteProps[_local2] in _arg1)){
this.overwriteProps.splice(_local2, 1);
};
_local2--;
};
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if ((_tweens[_local2].name in _arg1)){
_tweens.splice(_local2, 1);
};
_local2--;
};
}
public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName);
return (true);
}
public function get changeFactor():Number{
return (_changeFactor);
}
public static function activate(_arg1:Array):Boolean{
var _local2:int;
var _local3:Object;
_local2 = (_arg1.length - 1);
while (_local2 > -1) {
_local3 = new (_arg1[_local2]);
TweenLite.plugins[_local3.propName] = _arg1[_local2];
_local2--;
};
return (true);
}
}
}//package gs.plugins
Section 9
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class VisiblePlugin extends TweenPlugin {
protected var _tween:TweenLite;
protected var _visible:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VisiblePlugin(){
this.propName = "visible";
this.overwriteProps = ["visible"];
this.onComplete = onCompleteTween;
}
override public function set changeFactor(_arg1:Number):void{
if (_target.visible != true){
_target.visible = true;
};
}
public function onCompleteTween():void{
if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(_arg2);
return (true);
}
}
}//package gs.plugins
Section 10
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.media.*;
public class VolumePlugin extends TweenPlugin {
protected var _st:SoundTransform;
protected var _target:Object;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function VolumePlugin(){
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.soundTransform = _st;
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = _arg1;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, _arg2, "volume");
return (true);
}
}
}//package gs.plugins
Section 11
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo)
package gs.utils.tween {
public class ArrayTweenInfo {
public var change:Number;
public var index:uint;
public var start:Number;
public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){
this.index = _arg1;
this.start = _arg2;
this.change = _arg3;
}
}
}//package gs.utils.tween
Section 12
//TweenInfo (gs.utils.tween.TweenInfo)
package gs.utils.tween {
public class TweenInfo {
public var start:Number;
public var name:String;
public var change:Number;
public var target:Object;
public var property:String;
public var isPlugin:Boolean;
public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
}
}
}//package gs.utils.tween
Section 13
//TweenLite (gs.TweenLite)
package gs {
import flash.events.*;
import flash.display.*;
import gs.utils.tween.*;
import gs.plugins.*;
import flash.utils.*;
public class TweenLite {
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _hasPlugins:Boolean;
public var started:Boolean;
public var initted:Boolean;
public var active:Boolean;
public var startTime:Number;
public var target:Object;
public var duration:Number;
public var gc:Boolean;
public var vars:Object;
public var ease:Function;
public var tweens:Array;
public var exposedVars:Object;
public var combinedTimeScale:Number;
public var initTime:Number;
public static const version:Number = 10.09;
private static var _timer:Timer = new Timer(2000);
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var currentTime:uint;
public static var masterList:Dictionary = new Dictionary(false);
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1};
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var timingSprite:Sprite = new Sprite();
public static var overwriteManager:Object;
private static var _tlInitted:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local4:int;
super();
if (_arg1 == null){
return;
};
if (!_tlInitted){
TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]);
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_tlInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
this.combinedTimeScale = ((_arg3.timeScale) || (1));
this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0))));
this.target = _arg1;
if (typeof(this.vars.ease) != "function"){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars;
this.tweens = [];
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
_local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if (((!((_arg1 in masterList))) || ((_local4 == 1)))){
masterList[_arg1] = [this];
} else {
masterList[_arg1].push(this);
};
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){
this.target.visible = this.exposedVars.visible;
};
};
}
public function set enabled(_arg1:Boolean):void{
var _local2:Array;
var _local3:Boolean;
var _local4:int;
if (_arg1){
if (!(this.target in masterList)){
masterList[this.target] = [this];
} else {
_local2 = masterList[this.target];
_local4 = (_local2.length - 1);
while (_local4 > -1) {
if (_local2[_local4] == this){
_local3 = true;
break;
};
_local4--;
};
if (!_local3){
_local2[_local2.length] = this;
};
};
};
this.gc = (_arg1) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public function clear():void{
this.tweens = [];
this.vars = (this.exposedVars = {ease:this.vars.ease});
_hasUpdate = false;
}
public function render(_arg1:uint):void{
var _local2:Number;
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
_local2 = ((_arg1 - this.startTime) * 0.001);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function initTweenVals():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:TweenInfo;
if (((!((this.exposedVars.timeScale == undefined))) && ((this.target is TweenLite)))){
this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false);
};
for (_local1 in this.exposedVars) {
if ((_local1 in _reservedProps)){
} else {
if ((_local1 in plugins)){
_local3 = new (plugins[_local1]);
if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
} else {
this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true);
_hasPlugins = true;
};
} else {
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
};
};
};
if (this.vars.runBackwards == true){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local4 = this.tweens[_local2];
this.tweens[_local2].start = (_local4.start + _local4.change);
_local4.change = -(_local4.change);
_local2--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.exposedVars, this.tweens);
};
}
public function complete(_arg1:Boolean=false):void{
var _local2:int;
if (!_arg1){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (_hasPlugins){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){
this.tweens[_local2].target.onComplete();
};
_local2--;
};
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function updateAll(_arg1:Event=null):void{
var _local2:uint;
var _local3:Dictionary;
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
_local2 = (currentTime = getTimer());
_local3 = masterList;
for each (_local4 in _local3) {
_local5 = (_local4.length - 1);
while (_local5 > -1) {
_local6 = _local4[_local5];
if (_local6.active){
_local6.render(_local2);
} else {
if (_local6.gc){
_local4.splice(_local5, 1);
} else {
if (_local2 >= _local6.startTime){
_local6.activate();
_local6.render(_local2);
};
};
};
_local5--;
};
};
}
public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{
if (_arg1 != null){
if (_arg2){
_arg1.clear();
};
_arg1.enabled = false;
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
if (((!((_arg1 == null))) && ((_arg1 in masterList)))){
_local3 = masterList[_arg1];
_local4 = (_local3.length - 1);
while (_local4 > -1) {
_local5 = _local3[_local4];
if (((_arg2) && (!(_local5.gc)))){
_local5.complete(false);
};
_local5.clear();
_local4--;
};
delete masterList[_arg1];
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
protected static function killGarbage(_arg1:TimerEvent):void{
var _local2:Dictionary;
var _local3:Object;
_local2 = masterList;
for (_local3 in _local2) {
if (_local2[_local3].length == 0){
delete _local2[_local3];
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 14
//animation89890890copy2_64 (MouseMaze_fla.animation89890890copy2_64)
package MouseMaze_fla {
import flash.display.*;
public dynamic class animation89890890copy2_64 extends MovieClip {
public function animation89890890copy2_64(){
addFrameScript(12, frame13);
}
function frame13(){
stop();
Var.crawlAni = false;
gotoAndStop(1);
}
}
}//package MouseMaze_fla
Section 15
//cont_43 (MouseMaze_fla.cont_43)
package MouseMaze_fla {
import flash.display.*;
public dynamic class cont_43 extends MovieClip {
public var cur:MovieClip;
public function cont_43(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MouseMaze_fla
Section 16
//continuecopy_16 (MouseMaze_fla.continuecopy_16)
package MouseMaze_fla {
import flash.display.*;
public dynamic class continuecopy_16 extends MovieClip {
public function continuecopy_16(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package MouseMaze_fla
Section 17
//cur_68 (MouseMaze_fla.cur_68)
package MouseMaze_fla {
import flash.display.*;
public dynamic class cur_68 extends MovieClip {
public var d:MovieClip;
public function cur_68(){
addFrameScript(0, frame1, 15, frame16, 70, frame71, 71, frame72, 142, frame143, 165, frame166, 193, frame194, 202, frame203, 203, frame204, 235, frame236, 261, frame262, 266, frame267, 267, frame268, 268, frame269, 274, frame275, 303, frame304, 304, frame305, 312, frame313, 318, frame319, 320, frame321, 337, frame338, 360, frame361, 361, frame362, 373, frame374, 378, frame379, 379, frame380, 380, frame381, 393, frame394, 407, frame408, 414, frame415, 415, frame416, 421, frame422, 445, frame446, 452, frame453, 453, frame454, 468, frame469, 469, frame470, 481, frame482, 498, frame499);
}
function frame381(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame143(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame72(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame305(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame71(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame394(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame275(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame313(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame321(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame204(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame166(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame319(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame446(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame453(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame338(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame16(){
stop();
Var.needStu = "Roll";
Var.cheak(this, true);
}
function frame469(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame1(){
Var.walkAni = true;
}
function frame194(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame470(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame236(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame454(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame361(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame482(){
Var.timeStart = false;
}
function frame362(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame203(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame408(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame374(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame416(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame499(){
stop();
Var.game_stu = "Next";
}
function frame415(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame379(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame380(){
Var.needStu = "v";
}
function frame262(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame267(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame269(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame268(){
Var.needStu = "b";
}
function frame304(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame422(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
}
}//package MouseMaze_fla
Section 18
//load_playSymbol53_12547_4 (MouseMaze_fla.load_playSymbol53_12547_4)
package MouseMaze_fla {
import flash.display.*;
public dynamic class load_playSymbol53_12547_4 extends MovieClip {
public function load_playSymbol53_12547_4(){
addFrameScript(149, frame150);
}
function frame150(){
gotoAndPlay(1);
}
}
}//package MouseMaze_fla
Section 19
//loadDogjump_12547_6 (MouseMaze_fla.loadDogjump_12547_6)
package MouseMaze_fla {
import flash.display.*;
public dynamic class loadDogjump_12547_6 extends MovieClip {
public function loadDogjump_12547_6(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package MouseMaze_fla
Section 20
//MainTimeline (MouseMaze_fla.MainTimeline)
package MouseMaze_fla {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import gs.easing.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var trys:SimpleButton;
public var Path:String;
public var userId:int;
public var push$:PushS;
public var sco_txt:TextField;
public var sec:int;
public var i:Number;
public var j:Number;
public var m:Number;
public var lodingper:TextField;
public var finalscore_txt:TextField;
public var roll_mc:Roll;
public var contestMenu:ContextMenu;
public var crawl_mc:MovieClip;
public var logo_mc:SimpleButton;
public var voiceTakes:Array;
public var BitsLoaded:TextField;
public var time:Timer;
public var push_mc:MovieClip;
public var crawl$:CrawlS;
public var myVoice:MovieClip;
public var back:SimpleButton;
public var sndon:MovieClip;
public var bullet:backscore;
public var lod1:MovieClip;
public var peppyMc:MovieClip;
public var RelativePath:String;
public var pets:MovieClip;
public var jump_mc:MovieClip;
public var lev_txt:TextField;
public var more:SimpleButton;
public var roll$:RollS;
public var sndoff:MovieClip;
public var myService:NetConnection;
public var msg:MovieClip;
public var sec_txt:TextField;
public var snow:MovieClip;
public var world:MovieClip;
public var nex:SimpleButton;
public var bulletChannel:SoundChannel;
public var Submit_Btn:SimpleButton;
public var jump$:JumpS;
public var contextmenuItem:ContextMenuItem;
public var gid:int;
public var myResponder:Responder;
public var cont_btn:SimpleButton;
public var user:TextField;
public var ins:SimpleButton;
public var ply:SimpleButton;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
public function link(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.pets2play.com");
navigateToURL(_local2, "_blank");
}
public function l51(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.pets2play.com");
navigateToURL(_local2, "_blank");
}
public function go_ins(_arg1:MouseEvent):void{
gotoAndStop("ins");
}
public function enfun(_arg1:Event):void{
sco_txt.text = Var.lev_sco.toString();
if (Var.game_stu != ""){
TweenLite.killTweensOf(myVoice);
stage.removeEventListener(Event.ENTER_FRAME, enfun);
time.removeEventListener(TimerEvent.TIMER, counter);
time.stop();
stage.removeEventListener(MouseEvent.MOUSE_UP, upFun);
i = 0;
while (i < voiceTakes.length) {
voiceTakes[i].removeEventListener(MouseEvent.MOUSE_DOWN, downFun);
voiceTakes[i].removeEventListener(MouseEvent.MOUSE_OVER, overbtn);
voiceTakes[i].removeEventListener(MouseEvent.MOUSE_OUT, outbtn);
voiceTakes[i].buttonMode = false;
i++;
};
if (Var.game_stu == "Next"){
gotoAndStop("Next");
} else {
gotoAndStop("Over");
};
};
}
public function outbtn(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 0.6, {scaleX:1, scaleY:1, ease:Back.easeOut});
}
public function msgHide(_arg1:MouseEvent){
msg.visible = false;
}
function frame2(){
stop();
ply.addEventListener(MouseEvent.CLICK, go_game);
ins.addEventListener(MouseEvent.CLICK, go_ins);
}
function frame3(){
stop();
sec = 120;
time = new Timer(900);
time.addEventListener(TimerEvent.TIMER, counter);
time.start();
Var.game_stu = "";
Var.lev_sco = 0;
world.gotoAndStop(Var.lev_up);
Var.timeStart = true;
jump$ = new JumpS();
roll$ = new RollS();
push$ = new PushS();
crawl$ = new CrawlS();
voiceTakes = new Array(jump_mc, roll_mc, push_mc, crawl_mc);
i = 0;
while (i < voiceTakes.length) {
voiceTakes[i].addEventListener(MouseEvent.MOUSE_DOWN, downFun);
voiceTakes[i].addEventListener(MouseEvent.MOUSE_OVER, overbtn);
voiceTakes[i].addEventListener(MouseEvent.MOUSE_OUT, outbtn);
voiceTakes[i].buttonMode = true;
i++;
};
stage.addEventListener(MouseEvent.MOUSE_UP, upFun);
stage.addEventListener(Event.ENTER_FRAME, enfun);
if (bulletChannel){
bulletChannel.stop();
};
bullet = new backscore();
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.addEventListener(MouseEvent.CLICK, sndop);
sndon.addEventListener(MouseEvent.CLICK, sndst);
logo_mc.addEventListener(MouseEvent.CLICK, link);
}
function frame4(){
sco_txt.text = (Var.game_sco + Var.lev_sco).toString();
lev_txt.text = Var.lev_up.toString();
nex.addEventListener(MouseEvent.CLICK, nex_level);
}
function frame1(){
stop();
cont_btn.visible = false;
stage.addEventListener(Event.ENTER_FRAME, loaderfun);
cont_btn.addEventListener(MouseEvent.CLICK, playgame);
contestMenu = new ContextMenu();
contestMenu.hideBuiltInItems();
contextmenuItem = new ContextMenuItem("www.pets2play.com");
contextmenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Site);
contestMenu.customItems.push(contextmenuItem);
this.contextMenu = contestMenu;
pets.addEventListener(MouseEvent.CLICK, l51);
}
function frame5(){
stop();
gid = 803;
RelativePath = root.loaderInfo.url;
Path = RelativePath.slice(0, (RelativePath.indexOf("com") + 3));
trace(("Path:" + Path));
myService = new NetConnection();
myService.objectEncoding = ObjectEncoding.AMF0;
myService.connect("http://www.pets2play.com/services/amfphp");
if (Path == "http://games.pets2play.com"){
msg.visible = false;
myResponder = new Responder(getSessID, onFault);
myService.call("system.connect", myResponder);
} else {
msg.visible = true;
gid = 803;
userId = 0;
};
finalscore_txt.text = (Var.game_sco + Var.lev_sco).toString();
user.text = "";
trys.addEventListener(MouseEvent.CLICK, trys_ply);
more.addEventListener(MouseEvent.CLICK, lin);
Security.allowDomain("*.123peppy.com");
Security.allowInsecureDomain("*.123peppy.com");
Security.allowDomain("*.123bee.com");
Security.allowInsecureDomain("*.123bee.com");
m = 0;
Submit_Btn.addEventListener(MouseEvent.CLICK, sendScore);
msg.okBtn.addEventListener(MouseEvent.CLICK, msgHide);
}
function frame6(){
back.addEventListener(MouseEvent.CLICK, backfun);
}
public function loaderfun(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local2 = loaderInfo.bytesLoaded;
_local3 = loaderInfo.bytesTotal;
_local4 = Math.round(((_local2 / _local3) * 100));
lod1.gotoAndStop(_local4);
lodingper.text = (_local4.toString() + "%");
if ((((_local4 == 100)) && ((peppyMc.currentFrame == 100)))){
stage.removeEventListener(Event.ENTER_FRAME, loaderfun);
cont_btn.visible = true;
};
}
public function lin(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.pets2play.com");
navigateToURL(_local2, "_blank");
}
public function go_game(_arg1:MouseEvent):void{
Var.lev_up = 1;
Var.game_sco = 0;
gotoAndStop("game");
}
public function upFun(_arg1:MouseEvent):void{
var scaleFun:Function;
var e = _arg1;
scaleFun = function (){
myVoice.stopDrag();
myVoice.x = 1500;
myVoice.scaleX = 1;
myVoice.scaleY = 1;
myVoice.alpha = 1;
};
if (world.cur.d.hitTestObject(myVoice)){
switch (myVoice.currentLabel){
case "Jump":
Var.jumpAni = true;
Var.sendStu = "Jump";
jump$.play(0, 1);
break;
case "Roll":
Var.rollAni = true;
Var.sendStu = "Roll";
roll$.play(0, 1);
break;
case "Push":
Var.pushAni = true;
Var.sendStu = "Push";
push$.play(0, 1);
break;
case "Crawl":
Var.crawlAni = true;
Var.sendStu = "Crawl";
crawl$.play(0, 1);
break;
};
};
TweenLite.to(myVoice, 0.4, {scaleX:0, scaleY:0, alpha:0.2, ease:Sine.easeOut, onComplete:scaleFun});
}
public function SaveHighScore(_arg1):void{
trace("Scoredsaved");
navigateToURL(new URLRequest(("http://www.pets2play.com/highscore-games.html?gameid=" + gid)), "_blank");
gotoAndStop("front");
}
public function overbtn(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 0.6, {scaleX:1.2, scaleY:1.2, ease:Back.easeOut});
}
public function sndop(_arg1:MouseEvent):void{
bulletChannel.stop();
sndon.visible = true;
sndoff.visible = false;
}
public function playgame(_arg1:MouseEvent):void{
gotoAndStop(2);
}
public function backfun(_arg1:MouseEvent):void{
gotoAndStop("front");
}
public function trys_ply(_arg1:MouseEvent):void{
if (Var.game_stu == "Cong"){
gotoAndStop("front");
} else {
if (Var.game_stu == "Over"){
gotoAndStop("game");
};
};
}
public function nex_level(_arg1:MouseEvent):void{
Var.game_sco = (Var.game_sco + Var.lev_sco);
Var.lev_up++;
gotoAndStop("game");
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.pets2play.com");
navigateToURL(_local2, "_blank");
}
public function downFun(_arg1:MouseEvent):void{
myVoice.startDrag(true);
switch (_arg1.currentTarget.name){
case "jump_mc":
myVoice.gotoAndStop("Jump");
break;
case "roll_mc":
myVoice.gotoAndStop("Roll");
break;
case "push_mc":
myVoice.gotoAndStop("Push");
break;
case "crawl_mc":
myVoice.gotoAndStop("Crawl");
break;
};
}
public function sndst(_arg1:MouseEvent):void{
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.visible = true;
sndon.visible = false;
}
public function onFault(_arg1){
var _local2:*;
trace(("Error" + _arg1));
for (_local2 in _arg1) {
trace(((_local2 + ": ") + _arg1[_local2]));
};
}
public function getSessID(_arg1){
if (_arg1.user.userid != 0){
user.text = _arg1.user.name;
userId = _arg1.user.userid;
trace(userId);
} else {
user.text = "Guest";
userId = 0;
trace(userId);
};
}
public function sendScore(_arg1:MouseEvent){
var _local2:Object;
var _local3:Responder;
_local2 = new Object();
_local2.gid = gid;
_local2.userid = userId;
_local2.player = user.text;
_local2.Score = (Var.lev_sco + Var.game_sco).toString();
_local2.Level = Var.lev_up.toString();
_local3 = new Responder(SaveHighScore, onFault);
trace(("level" + _local2.Score));
myService.call("highscore.set", _local3, _local2.gid, _local2.userid, _local2.player, _local2.Score, _local2.Level);
}
public function counter(_arg1:TimerEvent):void{
if (Var.timeStart){
sec--;
if (sec < 10){
sec_txt.text = ("0" + sec.toString());
} else {
sec_txt.text = sec.toString();
};
if (sec < 1){
Var.game_stu = "Over";
};
};
}
}
}//package MouseMaze_fla
Section 21
//soundon_80 (MouseMaze_fla.soundon_80)
package MouseMaze_fla {
import flash.display.*;
public dynamic class soundon_80 extends MovieClip {
public function soundon_80(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MouseMaze_fla
Section 22
//Symbol1_54 (MouseMaze_fla.Symbol1_54)
package MouseMaze_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Symbol1_54 extends MovieClip {
public var d5:MovieClip;
public var d3:MovieClip;
public function Symbol1_54(){
addFrameScript(0, frame1, 14, frame15, 20, frame21, 26, frame27, 34, frame35, 44, frame45);
}
public function enFun(_arg1:Event):void{
if (Var.walkAni){
if (currentFrame == 1){
gotoAndPlay("walk");
};
} else {
if (Var.jumpAni){
if (currentFrame == 1){
gotoAndPlay("Jump");
};
} else {
if (Var.pushAni){
if (currentFrame == 1){
gotoAndPlay("Push");
};
} else {
if (Var.rollAni){
if (currentFrame == 1){
gotoAndPlay("Roll");
};
} else {
if (Var.crawlAni){
if (currentFrame == 1){
gotoAndPlay("Crawl");
};
} else {
gotoAndStop(1);
};
};
};
};
};
}
function frame1(){
stop();
stage.addEventListener(Event.ENTER_FRAME, enFun);
}
function frame21(){
Var.pushAni = false;
gotoAndStop(1);
}
function frame15(){
gotoAndStop(1);
}
function frame27(){
Var.jumpAni = false;
gotoAndStop(1);
}
function frame35(){
gotoAndStop(1);
Var.rollAni = false;
}
function frame45(){
Var.crawlAni = false;
gotoAndStop(1);
}
}
}//package MouseMaze_fla
Section 23
//Symbol10_96 (MouseMaze_fla.Symbol10_96)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol10_96 extends MovieClip {
public var okBtn:SimpleButton;
}
}//package MouseMaze_fla
Section 24
//Symbol11_66 (MouseMaze_fla.Symbol11_66)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol11_66 extends MovieClip {
public var d:MovieClip;
public function Symbol11_66(){
addFrameScript(0, frame1, 14, frame15, 60, frame61, 61, frame62, 141, frame142, 165, frame166, 181, frame182, 198, frame199, 199, frame200, 239, frame240, 250, frame251, 268, frame269, 277, frame278, 279, frame280, 293, frame294, 308, frame309, 325, frame326, 326, frame327, 338, frame339, 347, frame348, 349, frame350, 374, frame375, 389, frame390, 395, frame396, 396, frame397, 420, frame421, 430, frame431, 432, frame433, 452, frame453, 471, frame472, 484, frame485, 485, frame486, 487, frame488, 513, frame514, 523, frame524, 524, frame525, 540, frame541, 541, frame542, 571, frame572, 599, frame600);
}
function frame397(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame431(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame278(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame433(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame396(){
Var.walkAni = false;
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame309(){
Var.walkAni = true;
}
function frame200(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame600(){
stop();
Var.game_stu = "Next";
}
function frame166(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame280(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame326(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame327(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame572(){
Var.timeStart = false;
}
function frame453(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame339(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame15(){
stop();
Var.needStu = "Roll";
Var.cheak(this, true);
}
function frame348(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame182(){
Var.walkAni = true;
}
function frame1(){
Var.walkAni = true;
}
function frame199(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame350(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame472(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame514(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame240(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame488(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame486(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame524(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame294(){
Var.walkAni = false;
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame525(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame251(){
Var.walkAni = true;
}
function frame485(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame375(){
stop();
Var.needStu = "Roll";
Var.cheak(this, true);
}
function frame541(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame421(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame61(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame62(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame542(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame269(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame142(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame390(){
Var.walkAni = true;
}
}
}//package MouseMaze_fla
Section 25
//Symbol12_72 (MouseMaze_fla.Symbol12_72)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol12_72 extends MovieClip {
public var d:MovieClip;
public function Symbol12_72(){
addFrameScript(0, frame1, 10, frame11, 11, frame12, 30, frame31, 37, frame38, 39, frame40, 40, frame41, 46, frame47, 65, frame66, 72, frame73, 73, frame74, 75, frame76, 96, frame97, 97, frame98, 104, frame105, 123, frame124, 196, frame197, 203, frame204, 204, frame205, 214, frame215, 215, frame216, 216, frame217, 217, frame218, 218, frame219, 219, frame220, 220, frame221, 235, frame236, 244, frame245, 245, frame246, 249, frame250, 268, frame269, 291, frame292, 293, frame294, 311, frame312, 317, frame318, 318, frame319, 352, frame353, 353, frame354, 389, frame390, 463, frame464);
}
function frame73(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame318(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame312(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame76(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame74(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame204(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame319(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame205(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame292(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame98(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame215(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame218(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame12(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame97(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame105(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame220(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame217(){
Var.needStu = "bvc";
}
function frame216(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame1(){
Var.walkAni = true;
}
function frame353(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame464(){
stop();
Var.game_stu = "Cong";
}
function frame197(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame236(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame38(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame31(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame221(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame11(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame124(){
stop();
Var.needStu = "Roll";
Var.cheak(this, true);
}
function frame246(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame40(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame245(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame47(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame41(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame294(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame354(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame219(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame269(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame66(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame250(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame390(){
Var.timeStart = false;
}
}
}//package MouseMaze_fla
Section 26
//Symbol17_95 (MouseMaze_fla.Symbol17_95)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol17_95 extends MovieClip {
public function Symbol17_95(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Var.game_stu);
}
}
}//package MouseMaze_fla
Section 27
//Symbol1copy2bcvb_84 (MouseMaze_fla.Symbol1copy2bcvb_84)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol1copy2bcvb_84 extends MovieClip {
public function Symbol1copy2bcvb_84(){
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 MouseMaze_fla
Section 28
//Symbol1copy3bcvbcb_85 (MouseMaze_fla.Symbol1copy3bcvbcb_85)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol1copy3bcvbcb_85 extends MovieClip {
public function Symbol1copy3bcvbcb_85(){
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 MouseMaze_fla
Section 29
//Symbol1copybvcb_83 (MouseMaze_fla.Symbol1copybvcb_83)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol1copybvcb_83 extends MovieClip {
public function Symbol1copybvcb_83(){
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 MouseMaze_fla
Section 30
//Symbol1xcvzxcv_82 (MouseMaze_fla.Symbol1xcvzxcv_82)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol1xcvzxcv_82 extends MovieClip {
public function Symbol1xcvzxcv_82(){
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 MouseMaze_fla
Section 31
//Symbol4_44 (MouseMaze_fla.Symbol4_44)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol4_44 extends MovieClip {
public var d:MovieClip;
public var guliter$:Guilter;
public function Symbol4_44(){
addFrameScript(0, frame1, 20, frame21, 26, frame27, 46, frame47, 51, frame52, 52, frame53, 65, frame66, 68, frame69, 81, frame82, 88, frame89, 89, frame90, 90, frame91, 112, frame113, 113, frame114, 126, frame127, 141, frame142, 153, frame154, 252, frame253, 260, frame261, 261, frame262, 279, frame280, 280, frame281, 281, frame282, 282, frame283, 283, frame284, 289, frame290, 307, frame308, 320, frame321, 321, frame322, 322, frame323, 335, frame336, 352, frame353, 363, frame364, 369, frame370, 371, frame372, 397, frame398, 404, frame405, 405, frame406, 445, frame446, 446, frame447, 493, frame494, 521, frame522);
}
function frame398(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame154(){
Var.walkAni = true;
}
function frame281(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame321(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame446(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame280(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame322(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame82(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame284(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame447(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame89(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame323(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame283(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame290(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame90(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame91(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame282(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame336(){
Var.walkAni = true;
}
function frame21(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame1(){
Var.walkAni = true;
}
function frame353(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame114(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame27(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame113(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame127(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, true);
}
function frame405(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame406(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame522(){
stop();
Var.game_stu = "Next";
}
function frame47(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame364(){
Var.walkAni = true;
}
function frame372(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame494(){
Var.timeStart = false;
guliter$ = new Guilter();
guliter$.play(0, 1);
}
function frame253(){
stop();
Var.needStu = "Push";
Var.cheak(this, true);
}
function frame52(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame370(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame53(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame261(){
stop();
Var.needStu = "Jump";
Var.cheak(this, false);
}
function frame262(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame142(){
stop();
Var.needStu = "Roll";
Var.cheak(this, true);
}
function frame66(){
stop();
Var.needStu = "Jump";
Var.cheak(this, true);
}
function frame308(){
stop();
Var.needStu = "Push";
Var.cheak(this, false);
}
function frame69(){
stop();
Var.needStu = "Crawl";
Var.cheak(this, false);
}
}
}//package MouseMaze_fla
Section 32
//Symbol5_77 (MouseMaze_fla.Symbol5_77)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol5_77 extends MovieClip {
public var jump_mc:MovieClip;
public var roll_mc:Roll;
public var push_mc:MovieClip;
public function Symbol5_77(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
mouseEnabled = false;
}
}
}//package MouseMaze_fla
Section 33
//Symbol70_86 (MouseMaze_fla.Symbol70_86)
package MouseMaze_fla {
import flash.display.*;
public dynamic class Symbol70_86 extends MovieClip {
public function Symbol70_86(){
addFrameScript(0, frame1);
}
function frame1(){
visible = false;
}
}
}//package MouseMaze_fla
Section 34
//backscore (backscore)
package {
import flash.media.*;
public dynamic class backscore extends Sound {
}
}//package
Section 35
//CrawlS (CrawlS)
package {
import flash.media.*;
public dynamic class CrawlS extends Sound {
}
}//package
Section 36
//Guilter (Guilter)
package {
import flash.media.*;
public dynamic class Guilter extends Sound {
}
}//package
Section 37
//JumpS (JumpS)
package {
import flash.media.*;
public dynamic class JumpS extends Sound {
}
}//package
Section 38
//PushS (PushS)
package {
import flash.media.*;
public dynamic class PushS extends Sound {
}
}//package
Section 39
//Roll (Roll)
package {
import flash.display.*;
public dynamic class Roll extends MovieClip {
}
}//package
Section 40
//RollS (RollS)
package {
import flash.media.*;
public dynamic class RollS extends Sound {
}
}//package
Section 41
//Var (Var)
package {
import flash.events.*;
import flash.display.*;
public class Var extends MovieClip {
public static var sendStu:String = "";
public static var jumpAni:Boolean = false;
public static var game_sco:Number = 0;
public static var walkAni:Boolean = true;
public static var timeStart:Boolean = true;
public static var lev_up:Number = 1;
public static var game_stu:String = "";
public static var pushAni:Boolean = false;
public static var rollAni:Boolean = false;
public static var crawlAni:Boolean = false;
public static var lev_sco:Number = 0;
public static var needStu:String = "walk";
public static function cheak(_arg1:MovieClip, _arg2:Boolean){
var enfun:Function;
var mc = _arg1;
var walkTest = _arg2;
enfun = function (_arg1:Event):void{
var _local2:int;
if (needStu == sendStu){
_local2 = mc.currentFrame;
mc.gotoAndPlay((_local2 + 1));
sendStu = "";
needStu = "1";
lev_sco = (lev_sco + 60);
if (walkTest){
walkAni = true;
};
mc.removeEventListener(Event.ENTER_FRAME, enfun);
} else {
mc.stop();
};
if ((((Var.game_stu == "Over")) || ((Var.game_stu == "Next")))){
sendStu = "";
needStu = "1";
mc.removeEventListener(Event.ENTER_FRAME, enfun);
};
};
walkAni = false;
mc.addEventListener(Event.ENTER_FRAME, enfun);
}
}
}//package