Section 1
//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 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
//brush_65 (Pokemon_fla.brush_65)
package Pokemon_fla {
import flash.display.*;
public dynamic class brush_65 extends MovieClip {
public var tip:MovieClip;
}
}//package Pokemon_fla
Section 14
//bvcdrcghccopy4_64 (Pokemon_fla.bvcdrcghccopy4_64)
package Pokemon_fla {
import flash.display.*;
public dynamic class bvcdrcghccopy4_64 extends MovieClip {
public function bvcdrcghccopy4_64(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package Pokemon_fla
Section 15
//cghccopy_106 (Pokemon_fla.cghccopy_106)
package Pokemon_fla {
import flash.display.*;
public dynamic class cghccopy_106 extends MovieClip {
public function cghccopy_106(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package Pokemon_fla
Section 16
//cghccopy3_110 (Pokemon_fla.cghccopy3_110)
package Pokemon_fla {
import flash.display.*;
public dynamic class cghccopy3_110 extends MovieClip {
public function cghccopy3_110(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package Pokemon_fla
Section 17
//cghccopy5_105 (Pokemon_fla.cghccopy5_105)
package Pokemon_fla {
import flash.display.*;
public dynamic class cghccopy5_105 extends MovieClip {
public function cghccopy5_105(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package Pokemon_fla
Section 18
//cghccopy7_109 (Pokemon_fla.cghccopy7_109)
package Pokemon_fla {
import flash.display.*;
public dynamic class cghccopy7_109 extends MovieClip {
public function cghccopy7_109(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package Pokemon_fla
Section 19
//cghccopy8_107 (Pokemon_fla.cghccopy8_107)
package Pokemon_fla {
import flash.display.*;
public dynamic class cghccopy8_107 extends MovieClip {
public function cghccopy8_107(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Pokemon_fla
Section 20
//cpfull_73 (Pokemon_fla.cpfull_73)
package Pokemon_fla {
import flash.display.*;
public dynamic class cpfull_73 extends MovieClip {
public var a4:MovieClip;
public var a6:MovieClip;
public var a9:MovieClip;
public var a5:MovieClip;
public var a8:MovieClip;
public var a13:MovieClip;
public var a14:MovieClip;
public var a15:MovieClip;
public var a18:MovieClip;
public var a19:MovieClip;
public var a17:MovieClip;
public var a11:MovieClip;
public var a27:MovieClip;
public var a23:MovieClip;
public var a24:MovieClip;
public var a25:MovieClip;
public var a10:MovieClip;
public var a22:MovieClip;
public var a28:MovieClip;
public var a29:MovieClip;
public var a12:MovieClip;
public var a16:MovieClip;
public var a35:MovieClip;
public var a36:MovieClip;
public var a26:MovieClip;
public var a34:MovieClip;
public var a31:MovieClip;
public var a21:MovieClip;
public var a32:MovieClip;
public var a20:MovieClip;
public var a30:MovieClip;
public var a33:MovieClip;
public var a2:MovieClip;
public var a3:MovieClip;
public var a7:MovieClip;
public var a1:MovieClip;
}
}//package Pokemon_fla
Section 21
//design_93 (Pokemon_fla.design_93)
package Pokemon_fla {
import flash.display.*;
import flash.text.*;
public dynamic class design_93 extends MovieClip {
public var t1:TextField;
public var Painted:MovieClip;
}
}//package Pokemon_fla
Section 22
//FGDFG_76 (Pokemon_fla.FGDFG_76)
package Pokemon_fla {
import flash.display.*;
public dynamic class FGDFG_76 extends MovieClip {
public var prin:MovieClip;
public var design:MovieClip;
}
}//package Pokemon_fla
Section 23
//image_78 (Pokemon_fla.image_78)
package Pokemon_fla {
import flash.display.*;
public dynamic class image_78 extends MovieClip {
public var z7:MovieClip;
public var z8:MovieClip;
public var z9:MovieClip;
public var z4:MovieClip;
public var z6:MovieClip;
public var z11:MovieClip;
public var z12:MovieClip;
public var z1:MovieClip;
public var z10:MovieClip;
public var z5:MovieClip;
public var z3:MovieClip;
public var z2:MovieClip;
}
}//package Pokemon_fla
Section 24
//MainTimeline (Pokemon_fla.MainTimeline)
package Pokemon_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 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 namenext:SimpleButton;
public var colorArr:Array;
public var namebg:MovieClip;
public var printButton:SimpleButton;
public var strength:Number;
public var imagecolor1:ColorTransform;
public var inner:Boolean;
public var arr:Array;
public var c:ColorTransform;
public var cp:MovieClip;
public var p;
public var q:Number;
public var w;
public var r;
public var printbtn:SimpleButton;
public var contestMenu:ContextMenu;
public var percentage:Number;
public var alpha1:Number;
public var playagain:SimpleButton;
public var logo_mc:MovieClip;
public var colArr:Array;
public var blurX:Number;
public var blurY:Number;
public var imagecolor:ColorTransform;
public var nextenabled:Number;
public var total_txt:TextField;
public var start_btn:SimpleButton;
public var colorss:Number;
public var imageArr:Array;
public var next_btn:SimpleButton;
public var quality:Number;
public var brush:MovieClip;
public var colornum:Number;
public var more:SimpleButton;
public var frame:MovieClip;
public var reset_btn:SimpleButton;
public var colors:Number;
public var preloadMc:MovieClip;
public var knockout1:Boolean;
public var load_txt:TextField;
public var glowArr:Array;
public var contextmenuItem:ContextMenuItem;
public var colorpalette:MovieClip;
public var knockout:Boolean;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame2(){
stop();
start_btn.addEventListener(MouseEvent.CLICK, dkie);
Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE, setmouse1);
}
public function takePrint(_arg1:MouseEvent):void{
var _local2:PrintJobOptions;
var _local3:PrintJob;
_local2 = new PrintJobOptions();
_local2.printAsBitmap = false;
_local3 = new PrintJob();
_local3.start();
_local3.addPage(frame, null, _local2);
_local3.send();
}
function frame4(){
stop();
frame.visible = false;
namebg.t2.text = "";
namenext.visible = false;
namenext.addEventListener(MouseEvent.CLICK, namtxt);
stage.addEventListener(Event.ENTER_FRAME, res);
Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE, setmouse2);
}
function frame5(){
stop();
trace("called");
frame.visible = true;
frame.prin.image.mouseChildren = false;
frame.design.t1.text = Globe.tex;
frame.design.visible = true;
more.addEventListener(MouseEvent.CLICK, link4);
playagain.addEventListener(MouseEvent.CLICK, pagain);
Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE, setmouse3);
printButton.addEventListener(MouseEvent.CLICK, takePrint);
}
function frame1(){
stop();
preloadMc.logoload.addEventListener(MouseEvent.CLICK, logofnload);
contestMenu = new ContextMenu();
contestMenu.hideBuiltInItems();
contextmenuItem = new ContextMenuItem("www.123chase.com");
contextmenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Site);
contestMenu.customItems.push(contextmenuItem);
this.contextMenu = contestMenu;
percentage = 0;
total_txt.text = (String(100) + "%");
stage.addEventListener(Event.ENTER_FRAME, BeeMoving);
}
function frame3(){
stop();
printbtn.visible = true;
frame.prin.image1.mouseChildren = false;
frame.prin.image2.mouseChildren = false;
frame.prin.image1.mouseEnabled = false;
frame.prin.image2.mouseEnabled = false;
arr = new Array("0x1D4C9C", "0xDBA00A", "0xE9E211", "0xEA6205", "0xBA0808", "0x746ACD", "0x00FF99", "0x009933", "0x00CCFF", "0xFFE73D", "0x663300", "0xC9AC60", "0xC9AC80", "0xFF0000", "0x00CCFF", "0x33CCCC", "0xFFF2C4", "0xFFF8DD", "0xC62AA8", "0xEAEAEA", "0x333333", "0x0000FF", "0xFF99FF", "0x663366", "0x3333CC", "0x016436", "0xCCFF33", "0x4C1E01", "0x3C1E00", "0xCCCCFF", "0x3333FF", "0xE185FA", "0xD8F8D3", "0xFBE6D0", "0xFFFFCC", "0x6699FF", "0xFED3AB");
frame.design.visible = false;
c = colorpalette.transform.colorTransform;
imagecolor = frame.prin.image.transform.colorTransform;
imagecolor1 = frame.prin.image1.transform.colorTransform;
imagecolor1.color = 0xFFFFFF;
colornum = 0;
colors = 0;
imageArr = new Array();
colorArr = new Array();
nextenabled = 0;
stage.addEventListener(MouseEvent.MOUSE_MOVE, setmouse);
alpha1 = 1;
blurX = 15;
blurY = 15;
strength = 2;
inner = true;
knockout = false;
quality = 1;
knockout1 = true;
colArr = new Array();
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link5);
};
next_btn.addEventListener(MouseEvent.CLICK, nex);
p = 0;
while (p <= (frame.prin.image.numChildren - 1)) {
imagecolor.color = 0xFFFFFF;
frame.prin.image1.getChildAt(p).transform.colorTransform = imagecolor;
frame.prin.image2.getChildAt(p).transform.colorTransform = imagecolor;
brush.tip.transform.colorTransform = imagecolor;
p++;
};
w = 0;
while (w <= (colorpalette.numChildren - 1)) {
c.color = arr[w];
trace(((w + "") + arr[w]));
colorpalette.getChildAt(w).transform.colorTransform = c;
w++;
};
r = 0;
while (r <= (frame.prin.image.numChildren - 1)) {
imageArr.push(frame.prin.image.getChildAt(r));
imageArr[r].transform.colorTransform = imagecolor;
colArr[r] = "0xFFFFFF";
r++;
};
Mouse.hide();
q = 0;
while (q <= (colorpalette.numChildren - 1)) {
colorpalette.getChildAt(q).addEventListener(MouseEvent.CLICK, tipcolor);
q++;
};
r = 0;
while (r <= (frame.prin.image.numChildren - 1)) {
frame.prin.image.getChildAt(r).addEventListener(MouseEvent.ROLL_OVER, givevalue);
frame.prin.image.getChildAt(r).addEventListener(MouseEvent.ROLL_OUT, withoutvalue);
frame.prin.image.getChildAt(r).addEventListener(MouseEvent.CLICK, givecolor);
r++;
};
frame.prin.bw.mouseChildren = false;
frame.prin.image1.mouseEnabled = false;
frame.prin.image1.mouseChildren = false;
frame.prin.bw.mouseEnabled = false;
frame.prin.movie.mouseEnabled = false;
frame.prin.movie.mouseChildren = false;
reset_btn.addEventListener(MouseEvent.CLICK, reset);
printbtn.addEventListener(MouseEvent.CLICK, takePrint1);
}
public function takePrint1(_arg1:MouseEvent):void{
var _local2:PrintJobOptions;
var _local3:PrintJob;
_local2 = new PrintJobOptions();
_local2.printAsBitmap = false;
_local3 = new PrintJob();
_local3.start();
_local3.addPage(frame, null, _local2);
_local3.send();
}
public function res(_arg1:Event):void{
if (namebg.t2.text == ""){
namenext.visible = false;
} else {
namenext.visible = true;
};
}
public function rollover(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 1, {scaleX:0.8, scaleY:0.8, ease:Sine.easeInOut});
}
public function pagain(_arg1:MouseEvent):void{
stage.removeEventListener(MouseEvent.MOUSE_MOVE, setmouse3);
gotoAndStop(2);
}
public function givecolor(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
trace(_local3);
frame.prin.image1[("z" + _local3)].visible = false;
_local2.transform.colorTransform = imagecolor;
trace(imagecolor);
colArr[(_local3 - 1)] = imagecolor;
trace(colArr);
printbtn.visible = false;
}
public function givevalue(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
var _local4:GlowFilter;
var _local5:GlowFilter;
var _local6:Array;
var _local7:Array;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
frame.prin.image1[("z" + _local3)].transform.colorTransform = imagecolor;
_local4 = new GlowFilter(colorss, alpha1, blurX, blurY, strength, quality, inner, false);
_local5 = new GlowFilter(colorss, alpha1, blurX, blurY, strength, quality, inner, knockout1);
_local6 = new Array();
_local7 = new Array();
_local6.push(_local4);
_local7.push(_local5);
frame.prin.image1[("z" + _local3)].visible = true;
frame.prin.image2[("z" + _local3)].filters = _local6;
frame.prin.image1[("z" + _local3)].filters = _local7;
}
public function setmouse1(_arg1:MouseEvent):void{
brush.x = mouseX;
brush.y = mouseY;
_arg1.updateAfterEvent();
}
public function logofnload(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.123chase.com"), "_blank");
}
public function namtxt(_arg1:MouseEvent):void{
Globe.tex = namebg.t2.text;
stage.removeEventListener(MouseEvent.MOUSE_MOVE, setmouse2);
stage.removeEventListener(Event.ENTER_FRAME, res);
nextFrame();
}
public function setmouse2(_arg1:MouseEvent):void{
brush.x = mouseX;
brush.y = mouseY;
_arg1.updateAfterEvent();
}
public function setmouse3(_arg1:MouseEvent):void{
brush.x = mouseX;
brush.y = mouseY;
_arg1.updateAfterEvent();
}
public function reset(_arg1:MouseEvent):void{
var _local2:*;
frame.prin.image.mouseChildren = true;
printbtn.visible = true;
frame.prin.image.mouseEnabled = true;
colorpalette.mouseChildren = true;
colorpalette.mouseEnabled = true;
printbtn.visible = true;
_local2 = 0;
while (_local2 <= (frame.prin.image.numChildren - 1)) {
imagecolor.color = 0xFFFFFF;
imageArr.push(frame.prin.image.getChildAt(_local2));
imageArr[_local2].transform.colorTransform = imagecolor;
frame.prin.image1.getChildAt(_local2).transform.colorTransform = imagecolor;
frame.prin.image1.getChildAt(_local2).visible = true;
colArr[_local2] = "0xFFFFFF";
_local2++;
};
}
public function BeeMoving(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
_local2 = loaderInfo.bytesLoaded;
_local3 = loaderInfo.bytesTotal;
percentage = Math.round(((_local2 / _local3) * 100));
load_txt.text = (String(percentage) + "%");
preloadMc.preloadCar.gotoAndStop((percentage * 3));
if (_local2 == _local3){
gotoAndStop(2);
stage.removeEventListener(Event.ENTER_FRAME, BeeMoving);
};
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123chase.com");
navigateToURL(_local2, "_blank");
}
public function link4(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123chase.com");
navigateToURL(_local2, "_blank");
}
public function link5(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123chase.com");
navigateToURL(_local2, "_blank");
}
public function setmouse(_arg1:MouseEvent):void{
brush.x = mouseX;
brush.y = mouseY;
_arg1.updateAfterEvent();
Mouse.hide();
}
public function nex(_arg1:MouseEvent):void{
stage.addEventListener(MouseEvent.MOUSE_MOVE, setmouse);
nextFrame();
}
public function tipcolor(_arg1:MouseEvent):void{
var _local2:*;
_local2 = _arg1.currentTarget.name.substr(1);
colornum = parseInt(_local2);
c.color = arr[(parseInt(_local2) - 1)];
brush.tip.transform.colorTransform = c;
imagecolor.color = c.color;
trace(c);
colorss = parseInt(arr[(parseInt(_local2) - 1)]);
trace(("color" + colorss));
trace(imagecolor.color);
}
public function withoutvalue(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Number;
_arg1.currentTarget.filters = null;
_local2 = _arg1.currentTarget;
_local3 = parseInt(_local2.name.substr(1));
frame.prin.image1[("z" + _local3)].filters = null;
frame.prin.image1[("z" + _local3)].visible = false;
frame.prin.image1[("z" + _local3)].transform.colorTransform = imagecolor1;
}
public function rollout(_arg1:MouseEvent):void{
TweenLite.to(_arg1.currentTarget, 1, {scaleX:0.7, scaleY:0.7, ease:Sine.easeInOut});
}
public function dkie(_arg1:MouseEvent):void{
this.gotoAndStop(3);
}
}
}//package Pokemon_fla
Section 25
//namebg_111 (Pokemon_fla.namebg_111)
package Pokemon_fla {
import flash.display.*;
import flash.text.*;
public dynamic class namebg_111 extends MovieClip {
public var t2:TextField;
}
}//package Pokemon_fla
Section 26
//preload__23 (Pokemon_fla.preload__23)
package Pokemon_fla {
import flash.display.*;
public dynamic class preload__23 extends MovieClip {
public function preload__23(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Pokemon_fla
Section 27
//preload_preloadMc_1 (Pokemon_fla.preload_preloadMc_1)
package Pokemon_fla {
import flash.display.*;
public dynamic class preload_preloadMc_1 extends MovieClip {
public var preloadCar:MovieClip;
public var logoload:SimpleButton;
}
}//package Pokemon_fla
Section 28
//prin_77 (Pokemon_fla.prin_77)
package Pokemon_fla {
import flash.display.*;
public dynamic class prin_77 extends MovieClip {
public var movie:MovieClip;
public var image1:MovieClip;
public var image2:MovieClip;
public var image:MovieClip;
public var bw:MovieClip;
}
}//package Pokemon_fla
Section 29
//Timeline_116 (Pokemon_fla.Timeline_116)
package Pokemon_fla {
import flash.display.*;
public dynamic class Timeline_116 extends MovieClip {
public function Timeline_116(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package Pokemon_fla
Section 30
//Timeline_117 (Pokemon_fla.Timeline_117)
package Pokemon_fla {
import flash.display.*;
public dynamic class Timeline_117 extends MovieClip {
public function Timeline_117(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package Pokemon_fla
Section 31
//Timeline_118 (Pokemon_fla.Timeline_118)
package Pokemon_fla {
import flash.display.*;
public dynamic class Timeline_118 extends MovieClip {
public function Timeline_118(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Pokemon_fla
Section 32
//Timeline_120 (Pokemon_fla.Timeline_120)
package Pokemon_fla {
import flash.display.*;
public dynamic class Timeline_120 extends MovieClip {
public function Timeline_120(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package Pokemon_fla
Section 33
//Timeline_121 (Pokemon_fla.Timeline_121)
package Pokemon_fla {
import flash.display.*;
public dynamic class Timeline_121 extends MovieClip {
public function Timeline_121(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package Pokemon_fla
Section 34
//Timeline_70 (Pokemon_fla.Timeline_70)
package Pokemon_fla {
import flash.display.*;
public dynamic class Timeline_70 extends MovieClip {
public function Timeline_70(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package Pokemon_fla
Section 35
//Timeline_71 (Pokemon_fla.Timeline_71)
package Pokemon_fla {
import flash.display.*;
public dynamic class Timeline_71 extends MovieClip {
public function Timeline_71(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package Pokemon_fla
Section 36
//Globe (Globe)
package {
public class Globe {
public static var chain:Number = 0;
public static var tops:Number = 0;
public static var earring:Number = 0;
public static var temp:Number = 0;
public static var playback:Boolean = false;
public static var hair:Number = 0;
public static var bgss:Number = 0;
public static var tex:String = "";
public static var shoes:Number = 0;
public static var bags:Number = 0;
public static var bottoms:Number = 0;
public static var glass:Number = 0;
public static var dress:Number = 0;
}
}//package