STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228060
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/84028496?noj=FRM84028496-26DC" width="1" height="1"></div>

Modder.swf

This is the info page for
Flash #82586

(Click the ID number above for more basic data on this flash file.)


Text
<p align="left"><font face="_sans" size="1" color="#999999" letterSpacing="0.000000" kerning="1"><a href="http://www.bannersnack.com">Created with BannerSnack.com - the free flash banner maker</a></font></p>

<p align="left"><font face="_sans" size="1" color="#999999" letterSpacing="0.000000" kerning="0"><a href="http://www.flasheff.com">FlashEff.com, flash animation tool component</a></font></p>

<p align="left"><font face="_sans" size="1" color="#999999" letterSpacing="0.000000" kerning="0"><a href="http://www.jumpeyecomponents.com">flash components</a></font></p>

<p align="left"><font face="_sans" size="1" color="#000000" letterSpacing="0.000000" kerning="0">JMP-181-V3 AS3</font></p>

ActionScript [AS3]

Section 1
//JUIComponent (com.jumpeye.core.JUIComponent) package com.jumpeye.core { import flash.display.*; import flash.events.*; import flash.utils.*; public dynamic class JUIComponent extends Sprite { protected var callLaterMethods:Dictionary; protected var invalidateFlag:Boolean;// = false protected var _inspector:Boolean;// = false protected var invalidHash:Object; protected var isLivePreview:Boolean;// = false public var version:String;// = "3.0.0.15" public static var inCallLaterPhase:Boolean = false; public function JUIComponent(){ version = "3.0.0.15"; invalidateFlag = false; _inspector = false; isLivePreview = false; super(); invalidHash = {}; callLaterMethods = new Dictionary(); configUI(); invalidate("all"); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } private function callLaterDispatcher(_arg1:Event):void{ var _local2:Dictionary; var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; _local2 = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } protected function validate():void{ invalidHash = {}; } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } protected function draw():void{ validate(); } protected function configUI():void{ isLivePreview = checkLivePreview(); if (numChildren > 0){ removeChildAt(0); }; } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash["all"]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } public function validateNow():void{ invalidate("all", false); draw(); } public function drawNow():void{ draw(); } } }//package com.jumpeye.core
Section 2
//FLASHEFFEvents (com.jumpeye.Events.FLASHEFFEvents) package com.jumpeye.Events { import flash.events.*; public dynamic class FLASHEFFEvents extends Event { public static const ROLL_OUT:String = "onRollOut"; public static const INIT:String = "init"; public static const TRANSITION_END:String = "onTransitionEnd"; public static const MOUSE_UP:String = "onMouseUp"; public static const ROLL_OVER:String = "onRollOver"; public static const TRANSITION_START:String = "onTransitionStart"; public static const COMPLETE:String = "complete"; public static const DOUBLE_CLICK:String = "onDoubleClick"; public static const MOUSE_DOWN:String = "onMouseDown"; public function FLASHEFFEvents(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("FLASHEFFEvents", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new FLASHEFFEvents(type, bubbles, cancelable)); } } }//package com.jumpeye.Events
Section 3
//FEBColorMatrixFilterPlugin (com.jumpeye.flashEff2.buttonEffect.FEBColorMatrixFilterPlugin) package com.jumpeye.flashEff2.buttonEffect { import flash.display.*; import com.jumpeye.transitions.plugins.*; public class FEBColorMatrixFilterPlugin extends Sprite { public function FEBColorMatrixFilterPlugin(){ TweenPlugin.activate([ColorMatrixFilterPlugin]); } } }//package com.jumpeye.flashEff2.buttonEffect
Section 4
//FEBCustomTintPlugin (com.jumpeye.flashEff2.buttonEffect.FEBCustomTintPlugin) package com.jumpeye.flashEff2.buttonEffect { import flash.display.*; import com.jumpeye.transitions.plugins.*; public class FEBCustomTintPlugin extends Sprite { public function FEBCustomTintPlugin(){ TweenPlugin.activate([CustomTintPlugin]); } } }//package com.jumpeye.flashEff2.buttonEffect
Section 5
//FEBEffect (com.jumpeye.flashEff2.buttonEffect.FEBEffect) package com.jumpeye.flashEff2.buttonEffect { import flash.display.*; import flash.events.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import flash.geom.*; import com.jumpeye.transitions.*; import com.jumpeye.utils.*; import flash.utils.*; public class FEBEffect extends IFlashEffButtonEffect { protected var selectedUpProps:Object; private var _transition:Boolean;// = true protected var weakEase:Boolean;// = false protected var tweenObject:Object; private var _downState:XML; protected var selectedDownProps:Object; protected var upProps:Object; protected var dynamicRegistration:JDynamicRegistrationPoint; private var _overState:XML; protected var currentState:Function; protected var selectedOverProps:Object; protected var effectProperties:Object; protected var isFirst:Boolean;// = true protected var originalX:Number;// = 0 protected var originalY:Number;// = 0 protected var dynamicPointProperties:Object; private var _selectedDownState:XML; private var _registrationY:Number;// = 0 private var _selectedOverState:XML; protected var aliasFilterNames:Object; private var _registrationX:Number;// = 0 protected var emptyProperties:Object; private var _selectedUpState:XML; protected var downProps:Object; protected var backupState:Sprite; private var _upState:XML; private var _selected:Boolean;// = false protected var overProps:Object; private var _buttonAlignMode:String;// = "C" public static var LEFT = "L"; public static var TOP_LEFT = "TL"; public static var CENTER = "C"; public static var BOTTOM_LEFT = "BL"; public static var BOTTOM_RIGHT = "BR"; public static var BOTTOM = "B"; protected static var emptyMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; protected static var filtersInstance:Object; public static var CUSTOM = "CUSTOM"; public static var TOP_RIGHT = "TR"; public static var TOP = "T"; public static var RIGHT = "R"; protected static var emptyCT:ColorTransform; public function FEBEffect(_arg1:JUIComponent=null){ this.component = _arg1; this.init(); } override public function remove():void{ if (this.target){ TweenLite.killTweensOf(this.target, false); this.target.transform = this.backupState.transform; this.target.filters = this.backupState.filters; this.target.removeEventListener(Event.ADDED_TO_STAGE, targetAdded); }; if (this.dynamicRegistration != null){ TweenLite.killTweensOf(this.dynamicRegistration, false); this.dynamicRegistration = null; }; } public function set registrationX(_arg1:Number):void{ _registrationX = _arg1; this.setRegistration(_registrationX, registrationY); } protected function cloneObject(_arg1:Object):Object{ var _local3:*; var _local4:*; var _local2:Object = {}; for (_local3 in _arg1) { _local4 = _arg1[_local3]; if (_local4.constructor == Object){ _local2[_local3] = cloneObject(_local4); } else { if (((((!((_local3 == "tweenDuration"))) && (!((_local3 == "easeType"))))) && (!((_local3 == "tweenType"))))){ _local2[_local3] = _local4; }; }; }; return (_local2); } public function get selected():Boolean{ return (_selected); } public function get downState():XML{ return (_downState); } protected function init():void{ this.scaleX = 0; this.scaleY = 0; this.visible = false; this.backupState = new Sprite(); this.upProps = {}; this.effectProperties = {alpha:1, scaleX:1, scaleY:1, rotation:0, x:0, y:0}; this.emptyProperties = {alpha:0, scaleX:0, scaleY:0, rotation:0, x:0, y:0}; this.dynamicPointProperties = {x:"x", y:"y", scaleX:"scalex", scaleY:"scaley", rotation:"rotation"}; this.aliasFilterNames = {blurFilter:"[object BlurFilter]", glowFilter:"[object GlowFilter]", colorMatrixFilter:"[object ColorMatrixFilter]", bevelFilter:"[object BevelFilter]", dropShadowFilter:"[object DropShadowFilter]"}; emptyCT = new ColorTransform(); OverwriteManager.init(); if (filtersInstance == null){ filtersInstance = {}; }; } public function set selected(_arg1:Boolean):void{ _selected = _arg1; } override public function apply():void{ this.setRegistration(this.registrationX, this.registrationY); } public function set selectedOverState(_arg1:XML):void{ _selectedOverState = _arg1; this.selectedOverProps = {}; this.setProp(_arg1.children(), this.selectedOverProps); } public function get overState():XML{ return (_overState); } override public function buttonRelease():void{ this.currentState = buttonRelease; if ((((this.selected == true)) && (!((this.selectedOverProps == null))))){ this.startMotion(this.selectedOverProps); } else { if (this.overProps != null){ this.startMotion(this.overProps); }; }; } public function set downState(_arg1:XML):void{ _downState = _arg1; this.downProps = {}; this.setProp(_arg1.children(), this.downProps); } override public function set target(_arg1:DisplayObject):void{ var _local2:Boolean; this._target = _arg1; if (_arg1 != null){ this.backupState.transform = _arg1.transform; this.backupState.filters = _arg1.filters; this.originalX = this.target.x; this.originalY = this.target.y; }; if (this.target.stage != null){ if (this.target.hitTestPoint(this.target.stage.mouseX, this.target.stage.mouseY) == false){ _local2 = this.transition; this.transition = false; weakEase = true; this.buttonRollOut(); this.transition = _local2; }; this.buttonAlignMode = this._buttonAlignMode; } else { this.target.addEventListener(Event.ADDED_TO_STAGE, targetAdded, false, 0, true); }; } protected function takeOutFilter(_arg1:Array, _arg2:uint):void{ _arg1.splice(_arg2, 1); this.target.filters = _arg1; } override public function buttonPress():void{ this.currentState = buttonPress; if ((((this.selected == true)) && (!((this.selectedDownProps == null))))){ this.startMotion(this.selectedDownProps); } else { if (this.downProps != null){ this.startMotion(this.downProps); }; }; } public function get selectedDownState():XML{ return (_selectedDownState); } public function get upState():XML{ return (_upState); } public function set transition(_arg1:Boolean):void{ _transition = _arg1; } public function set overState(_arg1:XML):void{ _overState = _arg1; this.overProps = {}; this.setProp(_arg1.children(), this.overProps); } protected function setRegistration(_arg1:Number, _arg2:Number){ if (this.target != null){ dynamicRegistration = new JDynamicRegistrationPoint(this.target); dynamicRegistration.setRegistration(_arg1, _arg2); this.emptyProperties.x = _arg1; this.emptyProperties.y = _arg2; }; } public function get buttonAlignMode():String{ return (_buttonAlignMode); } protected function startMotion(_arg1:Object):void{ var e:*; var filter:Object; var fName:String; var propValue:Number; var t:Boolean; var ct:ColorTransform; var s = _arg1; activatePlugins(); if (this.dynamicRegistration != null){ TweenLite.killTweensOf(this.dynamicRegistration, false); }; if (this.target != null){ TweenLite.killTweensOf(this.target, false); }; var state:Object = cloneObject(s); var f:Array = this.target.filters; var len:uint = f.length; var i:uint; while (i < len) { filter = f[i]; fName = String(filter); switch (fName){ case "[object BlurFilter]": if (state.blurFilter == undefined){ if (((!((filter.blurX == 0))) || (!((filter.blurY == 0))))){ state.blurFilter = {blurX:0, blurY:0}; } else { takeOutFilter(f, i); i = (i - 1); len = f.length; }; }; break; case "[object BevelFilter]": if (state.bevelFilter == undefined){ if (filter.strength != 0){ state.bevelFilter = {strength:0}; } else { takeOutFilter(f, i); i = (i - 1); len = f.length; }; } else { if (state.bevelFilter.strength == undefined){ state.bevelFilter.strength = 1; }; }; break; case "[object GlowFilter]": if (state.glowFilter == undefined){ if (filter.alpha != 0){ state.glowFilter = {alpha:0}; } else { takeOutFilter(f, i); i = (i - 1); len = f.length; }; } else { if (state.glowFilter.strength == undefined){ state.glowFilter.strength = 1; }; }; break; case "[object ColorMatrixFilter]": if (state.colorMatrixFilter == undefined){ if (this.compareMatrix(filter.matrix, _slot1.emptyMatrix)){ state.colorMatrixFilter = {amount:0}; } else { takeOutFilter(f, i); i = (i - 1); len = f.length; }; } else { if (state.colorMatrixFilter.amount == undefined){ state.colorMatrixFilter.amount = 1; }; }; break; case "[object DropShadowFilter]": if (state.dropShadowFilter == undefined){ if (filter.strength != 0){ state.dropShadowFilter = {strength:0, distance:0}; } else { takeOutFilter(f, i); i = (i - 1); len = f.length; }; } else { if (state.dropShadowFilter.strength == undefined){ state.dropShadowFilter.strength = 1; }; }; break; }; i = (i + 1); }; for (e in effectProperties) { if (state[e] == undefined){ propValue = this.target[e]; if (propValue != effectProperties[e]){ state[e] = effectProperties[e]; }; }; }; if (state.tint == undefined){ t = false; ct = this.target.transform.colorTransform; if (ct.color != _slot1.emptyCT.color){ t = true; } else { if (((!((ct.alphaMultiplier == _slot1.emptyCT.alphaMultiplier))) || (!((ct.alphaOffset == _slot1.emptyCT.alphaOffset))))){ t = true; }; }; if (t == true){ state.customTint = {amount:0}; }; } else { state.customTint = {tintColor:state.tint.tintColor, amount:state.tint.amount}; delete state.tint; }; if (s.easeType != undefined){ this._easeType = s.easeType; }; if (s.tweenType != undefined){ this._tweenType = s.tweenType; }; if (s.tweenDuration != undefined){ this._tweenDuration = s.tweenDuration; }; try { state.ease = this.easeFunc; } catch(e) { if (this.weakEase == false){ throw (e); }; }; var tweenParams:Object = {ease:state.ease, onComplete:completeHandler}; for (e in dynamicPointProperties) { if (state[e] != undefined){ tweenParams[dynamicPointProperties[e]] = (this.emptyProperties[e] + state[e]); delete state[e]; }; }; TweenLite.to(this.dynamicRegistration, this.getTweenDuration(), tweenParams); TweenLite.to(this.target, this.getTweenDuration(), state); this.weakEase = false; } public function set selectedUpState(_arg1:XML):void{ var _local2:Boolean; _selectedUpState = _arg1; this.selectedUpProps = {}; this.setProp(_arg1.children(), this.selectedUpProps); if (this.target != null){ if (this.target.stage != null){ if (this.target.hitTestPoint(this.target.stage.mouseX, this.target.stage.mouseY) == false){ _local2 = this.transition; this.transition = false; this.buttonRollOut(); this.transition = _local2; }; } else { this.target.addEventListener(Event.ADDED_TO_STAGE, targetAdded, false, 0, true); }; }; } public function get registrationX():Number{ return (_registrationX); } public function get selectedOverState():XML{ return (_selectedOverState); } override public function buttonRollOver():void{ this.currentState = buttonRollOver; if ((((this.selected == true)) && (!((this.selectedOverProps == null))))){ this.startMotion(this.selectedOverProps); } else { if (this.overProps != null){ this.startMotion(this.overProps); }; }; } public function set selectedDownState(_arg1:XML):void{ _selectedDownState = _arg1; this.selectedDownProps = {}; this.setProp(_arg1.children(), this.selectedDownProps); } protected function completeHandler():void{ } public function set registrationY(_arg1:Number):void{ _registrationY = _arg1; this.setRegistration(_registrationX, registrationY); } public function get transition():Boolean{ return (_transition); } protected function compareMatrix(_arg1:Array, _arg2:Array):Boolean{ var _local3:*; for (_local3 in _arg1) { if (_arg1[_local3] != _arg2[_local3]){ return (true); }; }; return (false); } public function get selectedUpState():XML{ return (_selectedUpState); } public function get registrationY():Number{ return (_registrationY); } protected function setProp(_arg1:XMLList, _arg2:Object):void{ var child:XML; var propType:String; var propValue:String; var propName:String; var arg = _arg1; var refObj = _arg2; for each (child in arg) { propType = child.type; propValue = child.value; propName = child.name().localName; try { switch (propType){ case "String": refObj[propName] = String(propValue); break; case "Number": refObj[propName] = Number(String(propValue)); break; case "uint": refObj[propName] = uint(String(propValue)); break; case "Boolean": refObj[propName] = (String(propValue) == "true"); break; case "Object": if (XML(propValue).children().length() > 0){ refObj[propName] = {}; this.setProp(XML(propValue).children(), refObj[propName]); }; break; }; } catch(e:Error) { trace(((((("FLASHEFF ERROR: While trying to set the " + propName) + " on ") + refObj) + ",this error came:") + e.message)); }; }; } public function getTweenDuration():Number{ if (this.transition == false){ return (0); }; return (this._tweenDuration); } public function set upState(_arg1:XML):void{ var _local2:Boolean; _upState = _arg1; this.upProps = {}; this.setProp(_arg1.children(), this.upProps); if (this.target != null){ if (this.target.stage != null){ if (this.target.hitTestPoint(this.target.stage.mouseX, this.target.stage.mouseY) == false){ _local2 = this.transition; this.transition = false; this.buttonRollOut(); this.transition = _local2; }; } else { this.target.addEventListener(Event.ADDED_TO_STAGE, targetAdded, false, 0, true); }; }; } public function set buttonAlignMode(_arg1:String):void{ var _local2:Number; var _local3:Number; var _local4:Rectangle; var _local5:Boolean; _buttonAlignMode = _arg1; if (this.target != null){ this.remove(); _local2 = this.target.width; _local3 = this.target.height; _local4 = this.target.getBounds(this.target); switch (_buttonAlignMode){ case _slot1.LEFT: this.registrationX = _local4.x; this.registrationY = ((_local3 / 2) + _local4.y); break; case _slot1.TOP: this.registrationX = ((_local2 / 2) + _local4.x); this.registrationY = _local4.y; break; case _slot1.RIGHT: this.registrationX = (_local2 + _local4.x); this.registrationY = ((_local3 / 2) + _local4.y); break; case _slot1.BOTTOM: this.registrationX = ((_local2 / 2) + _local4.x); this.registrationY = (_local3 + _local4.y); break; case _slot1.TOP_LEFT: this.registrationX = _local4.x; this.registrationY = _local4.y; break; case _slot1.TOP_RIGHT: this.registrationX = (_local2 + _local4.x); this.registrationY = _local4.y; break; case _slot1.BOTTOM_RIGHT: this.registrationX = (_local2 + _local4.x); this.registrationY = (_local3 + _local4.y); break; case _slot1.BOTTOM_LEFT: this.registrationX = _local4.x; this.registrationY = (_local3 + _local4.y); break; case _slot1.CUSTOM: this.registrationX = 0; this.registrationY = 0; break; default: this.registrationX = ((_local2 / 2) + _local4.x); this.registrationY = ((_local3 / 2) + _local4.y); break; }; if (this.currentState != null){ _local5 = this.transition; this.transition = false; this.weakEase = true; this.currentState(); this.transition = _local5; }; }; } private function targetAdded(_arg1:Event):void{ var _local2:Boolean; if (this.target.hitTestPoint(this.target.stage.mouseX, this.target.stage.mouseY) == false){ _local2 = this.transition; this.transition = false; weakEase = true; this.buttonRollOut(); this.transition = _local2; }; this.buttonAlignMode = this._buttonAlignMode; this.target.removeEventListener(Event.ADDED_TO_STAGE, this.targetAdded); } override public function buttonRollOut():void{ this.currentState = buttonRollOut; if ((((this.selected == true)) && (!((this.selectedUpProps == null))))){ this.startMotion(this.selectedUpProps); } else { if (this.upProps != null){ this.startMotion(this.upProps); }; }; } protected static function activatePlugins():void{ var cl:Class; if (filtersInstance.filter == null){ try { cl = (getDefinitionByName("com.jumpeye.flashEff2.buttonEffect.FEBFilterPlugins") as Class); filtersInstance.filter = new (cl); } catch(e:Error) { }; }; if (filtersInstance.tint == null){ try { cl = (getDefinitionByName("com.jumpeye.flashEff2.buttonEffect.FEBCustomTintPlugin") as Class); filtersInstance.tint = new (cl); } catch(e:Error) { }; }; if (filtersInstance.color == null){ try { cl = (getDefinitionByName("com.jumpeye.flashEff2.buttonEffect.FEBColorMatrixFilterPlugin") as Class); filtersInstance.color = new (cl); } catch(e:Error) { }; }; } } }//package com.jumpeye.flashEff2.buttonEffect
Section 6
//FEBFilterPlugins (com.jumpeye.flashEff2.buttonEffect.FEBFilterPlugins) package com.jumpeye.flashEff2.buttonEffect { import flash.display.*; import com.jumpeye.transitions.plugins.*; public class FEBFilterPlugins extends Sprite { public function FEBFilterPlugins(){ TweenPlugin.activate([BlurFilterPlugin, BevelFilterPlugin, GlowFilterPlugin, DropShadowFilterPlugin]); } } }//package com.jumpeye.flashEff2.buttonEffect
Section 7
//IFlashEffButtonEffect (com.jumpeye.flashEff2.core.interfaces.IFlashEffButtonEffect) package com.jumpeye.flashEff2.core.interfaces { import flash.display.*; import flash.utils.*; public class IFlashEffButtonEffect extends IFlashEffPattern { protected var _tweenDuration:Number;// = 0.3 protected var _tweenType:String;// = "Linear" protected var _target:DisplayObject; protected var _easeType:String;// = "easeOut" public function get tweenDuration():Number{ return (this._tweenDuration); } public function set target(_arg1:DisplayObject):void{ this._target = _arg1; } public function buttonRollOver():void{ } public function remove():void{ } public function get tweenType():String{ return (this._tweenType); } public function get easeType():String{ return (this._easeType); } public function set tweenType(_arg1:String):void{ this._tweenType = _arg1; } public function apply():void{ } public function buttonPress():void{ } protected function get easeFunc():Function{ var easeFunc:*; try { easeFunc = (getDefinitionByName(("com.jumpeye.transitions.easing." + this._tweenType)) as Class); return (easeFunc[this._easeType]); } catch(e:ReferenceError) { throw ((("FlashEff2 WARNING: The selected ease function is not in the Library ! Please drag the " + this.tweenType) + "Ease from the Components panel over the Library panel.")); return (null); }; return (null); } public function set easeType(_arg1:String):void{ this._easeType = _arg1; } public function get target():DisplayObject{ return (this._target); } public function buttonRelease():void{ } public function set tweenDuration(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; }; this._tweenDuration = _arg1; } public function buttonRollOut():void{ } } }//package com.jumpeye.flashEff2.core.interfaces
Section 8
//IFlashEffCommand (com.jumpeye.flashEff2.core.interfaces.IFlashEffCommand) package com.jumpeye.flashEff2.core.interfaces { import flash.display.*; public class IFlashEffCommand extends IFlashEffPattern { protected var _target:DisplayObject; private var _commandEventType:String; public function get target():DisplayObject{ return (_target); } public function set target(_arg1:DisplayObject):void{ _target = _arg1; } public function get commandEventType():String{ return (this._commandEventType); } public function set commandEventType(_arg1:String):void{ _commandEventType = _arg1; } public function run():void{ } } }//package com.jumpeye.flashEff2.core.interfaces
Section 9
//IFlashEffFilter (com.jumpeye.flashEff2.core.interfaces.IFlashEffFilter) package com.jumpeye.flashEff2.core.interfaces { import flash.display.*; public class IFlashEffFilter extends IFlashEffPattern { protected var _target:Sprite; public function get target():Sprite{ return (_target); } public function set target(_arg1:Sprite):void{ _target = _arg1; } public function remove():void{ } public function apply():void{ } } }//package com.jumpeye.flashEff2.core.interfaces
Section 10
//IFlashEffPattern (com.jumpeye.flashEff2.core.interfaces.IFlashEffPattern) package com.jumpeye.flashEff2.core.interfaces { import flash.display.*; import com.jumpeye.core.*; public class IFlashEffPattern extends Sprite { protected var _component:JUIComponent; public function IFlashEffPattern(){ if (this.numChildren > 0){ this.removeChildAt(0); }; scaleX = (scaleY = 0); visible = false; } public function set component(_arg1:JUIComponent):void{ this._component = _arg1; } public function get component():JUIComponent{ return (this._component); } } }//package com.jumpeye.flashEff2.core.interfaces
Section 11
//IFlashEffSymbol (com.jumpeye.flashEff2.core.interfaces.IFlashEffSymbol) package com.jumpeye.flashEff2.core.interfaces { import flash.display.*; public class IFlashEffSymbol extends IFlashEffSymbolText { protected var _target:DisplayObject; public function get target():DisplayObject{ return (_target); } public function set target(_arg1:DisplayObject):void{ _target = _arg1; } } }//package com.jumpeye.flashEff2.core.interfaces
Section 12
//IFlashEffSymbolText (com.jumpeye.flashEff2.core.interfaces.IFlashEffSymbolText) package com.jumpeye.flashEff2.core.interfaces { import flash.utils.*; public class IFlashEffSymbolText extends IFlashEffPattern { protected var _tweenDuration:Number;// = 1.7 protected var _easeType:String;// = "easeInOut" protected var _tweenType:String;// = "Strong" public function IFlashEffSymbolText(){ _tweenDuration = 1.7; _tweenType = "Strong"; _easeType = "easeInOut"; super(); } public function show():void{ } public function get tweenDuration():Number{ return (this._tweenDuration); } public function set tweenDuration(_arg1:Number):void{ if (_arg1 < 0.001){ _arg1 = 0.001; }; this._tweenDuration = _arg1; } public function get tweenType():String{ return (this._tweenType); } public function get easeType():String{ return (this._easeType); } public function hide():void{ } public function remove():void{ } public function set tweenType(_arg1:String):void{ this._tweenType = _arg1; } public function set easeType(_arg1:String):void{ this._easeType = _arg1; } public function get easeFunc():Function{ var easeFunc:*; try { easeFunc = (getDefinitionByName(("com.jumpeye.transitions.easing." + this.tweenType)) as Class); return (easeFunc[this.easeType]); } catch(e:ReferenceError) { throw ((("FlashEff2 WARNING: The selected ease function is not in the Library ! Please drag the " + this.tweenType) + "Ease from the Components panel over the Library panel.")); return (null); }; return (null); } } }//package com.jumpeye.flashEff2.core.interfaces
Section 13
//IFlashEffText (com.jumpeye.flashEff2.core.interfaces.IFlashEffText) package com.jumpeye.flashEff2.core.interfaces { import flash.text.*; public class IFlashEffText extends IFlashEffSymbolText { protected var _selectedStrings:Array; protected var _partialGroup:String;// = "letters" protected var _partialBlurAmount:Number;// = 0 protected var _target:TextField; protected var _partialStart:Number;// = 50 protected var _partialPercent:Number;// = 100 public function IFlashEffText(){ _partialGroup = "letters"; _partialPercent = 100; _partialBlurAmount = 0; _partialStart = 50; super(); } public function set partialBlurAmount(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; }; this._partialBlurAmount = _arg1; } public function set partialPercent(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; } else { if (_arg1 > 100){ _arg1 = 100; }; }; this._partialPercent = _arg1; } public function set partialGroup(_arg1:String):void{ this._partialGroup = _arg1; } public function set target(_arg1:TextField):void{ this._target = _arg1; } public function get partialBlurAmount():Number{ return (this._partialBlurAmount); } public function get selectedStrings():Array{ return (this._selectedStrings); } public function get partialStart():Number{ return (this._partialStart); } public function get target():TextField{ return (this._target); } public function get partialPercent():Number{ return (this._partialPercent); } public function get partialGroup():String{ return (this._partialGroup); } public function set partialStart(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; } else { if (_arg1 > 100){ _arg1 = 100; }; }; this._partialStart = _arg1; } public function set selectedStrings(_arg1:Array):void{ this._selectedStrings = _arg1; } } }//package com.jumpeye.flashEff2.core.interfaces
Section 14
//FEFAdjustColor (com.jumpeye.flashEff2.filter.adjustColor.FEFAdjustColor) package com.jumpeye.flashEff2.filter.adjustColor { import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import flash.filters.*; import com.jumpeye.transitions.*; import com.jumpeye.transitions.plugins.*; public class FEFAdjustColor extends IFlashEffFilter { protected var initialFilters:Array; private var _hue:Number;// = 0 private var DELTA_INDEX:Array; private var _contrast:Number;// = 0 private var _saturation:Number;// = 20 protected var adjustContrast:ColorMatrixFilter; protected var adjustBrightness:ColorMatrixFilter; protected var adjustSaturation:ColorMatrixFilter; protected var isFilterApplied:Boolean;// = false private var _brightness:Number;// = 0 public function FEFAdjustColor(_arg1:JUIComponent=null){ _brightness = 0; _contrast = 0; _saturation = 20; _hue = 0; DELTA_INDEX = [0, 0.01, 0.02, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.11, 0.12, 0.14, 0.15, 0.16, 0.17, 0.18, 0.2, 0.21, 0.22, 0.24, 0.25, 0.27, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.53, 0.56, 0.59, 0.62, 0.65, 0.68, 0.71, 0.74, 0.77, 0.8, 0.83, 0.86, 0.89, 0.92, 0.95, 0.98, 1, 1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6, 1.66, 1.72, 1.78, 1.84, 1.9, 1.96, 2, 2.12, 2.25, 2.37, 2.5, 2.62, 2.75, 2.87, 3, 3.2, 3.4, 3.6, 3.8, 4, 4.3, 4.7, 4.9, 5, 5.5, 6, 6.5, 6.8, 7, 7.3, 7.5, 7.8, 8, 8.4, 8.7, 9, 9.4, 9.6, 9.8, 10]; isFilterApplied = false; super(); this.component = _arg1; this.init(); } public function set contrast(_arg1:Number):void{ this._contrast = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function get contrast():Number{ return (this._contrast); } public function get hue():Number{ return (this._hue); } protected function init():void{ TweenPlugin.activate([ColorMatrixFilterPlugin]); } public function get brightness():Number{ return (this._brightness); } private function setBrightness():ColorMatrixFilter{ var _local1:*; if (brightness == 0){ brightness = 0; }; _local1 = new ColorMatrixFilter([1, 0, 0, 0, brightness, 0, 1, 0, 0, brightness, 0, 0, 1, 0, brightness, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); return (_local1); } override public function apply():void{ TweenLite.to(this.target, 0, {colorMatrixFilter:{amount:1, hue:hue}}); this.initialFilters = this.target.filters; adjustContrast = new ColorMatrixFilter(setContrast().matrix); adjustBrightness = new ColorMatrixFilter(setBrightness().matrix); adjustSaturation = new ColorMatrixFilter(setSaturation().matrix); this.initialFilters.push(adjustBrightness); this.initialFilters.push(adjustSaturation); this.initialFilters.push(adjustContrast); this.target.filters = this.initialFilters; isFilterApplied = true; } override public function remove():void{ var _local1:*; for (_local1 in this.initialFilters) { if ((((((this.initialFilters[_local1] == this.adjustBrightness)) || ((this.initialFilters[_local1] == this.adjustContrast)))) || ((this.initialFilters[_local1] == this.adjustSaturation)))){ this.initialFilters.splice(_local1, 1); this.target.filters = this.initialFilters; }; }; TweenLite.killTweensOf(this.target, false); this.adjustBrightness = null; this.adjustContrast = null; this.adjustSaturation = null; isFilterApplied = false; } public function set saturation(_arg1:Number):void{ this._saturation = _arg1; if (isFilterApplied){ remove(); apply(); }; } private function setContrast():ColorMatrixFilter{ var _local1:Number; var _local2:*; if (contrast < 0){ _local1 = (127 + ((contrast / 100) * 127)); } else { _local1 = (contrast % 1); if (_local1 == 0){ _local1 = DELTA_INDEX[contrast]; } else { _local1 = DELTA_INDEX[(contrast << 0)]; _local1 = ((DELTA_INDEX[(contrast << 0)] * (1 - _local1)) + (DELTA_INDEX[((contrast << 0) + 1)] * _local1)); }; _local1 = ((_local1 * 127) + 127); }; _local2 = new ColorMatrixFilter([(_local1 / 127), 0, 0, 0, (0.5 * (127 - _local1)), 0, (_local1 / 127), 0, 0, (0.5 * (127 - _local1)), 0, 0, (_local1 / 127), 0, (0.5 * (127 - _local1)), 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); return (_local2); } public function set brightness(_arg1:Number):void{ this._brightness = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function get saturation():Number{ return (this._saturation); } private function setSaturation():ColorMatrixFilter{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:*; if (isNaN(saturation)){ saturation = 0; }; _local1 = (1 + ((saturation)>0) ? ((3 * saturation) / 100) : (saturation / 100)); _local2 = 0.3086; _local3 = 0.6094; _local4 = 0.082; _local5 = new ColorMatrixFilter([((_local2 * (1 - _local1)) + _local1), (_local3 * (1 - _local1)), (_local4 * (1 - _local1)), 0, 0, (_local2 * (1 - _local1)), ((_local3 * (1 - _local1)) + _local1), (_local4 * (1 - _local1)), 0, 0, (_local2 * (1 - _local1)), (_local3 * (1 - _local1)), ((_local4 * (1 - _local1)) + _local1), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); return (_local5); } public function set hue(_arg1:Number):void{ this._hue = _arg1; if (isFilterApplied){ remove(); apply(); }; } } }//package com.jumpeye.flashEff2.filter.adjustColor
Section 15
//FEFAura (com.jumpeye.flashEff2.filter.aura.FEFAura) package com.jumpeye.flashEff2.filter.aura { import flash.events.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import flash.filters.*; public class FEFAura extends IFlashEffFilter { protected var isFilterApplied:Boolean;// = false protected var initialFilters:Array; private var _speed:Number;// = 10 private var _glowColor:Number;// = 0xFFFFFF private var _shadowDistance:Number;// = 2 private var _shadowColor:Number;// = 52479 protected var filter:GlowFilter; protected var filterDropShadow:DropShadowFilter; private var _shadowStrength:Number;// = 1 private var _glowBlurX:Number;// = 3 private var _quality:int;// = 2 private var _glowBlurY:Number;// = 3 private var _shadowBlurX:Number;// = 6 private var _shadowBlurY:Number;// = 6 private var _glowStrength:Number;// = 3 private var _shadowAngle:Number;// = 45 private var _alphaPercent:Number;// = 100 public function FEFAura(_arg1:JUIComponent=null){ _speed = 10; _alphaPercent = 100; _glowColor = 0xFFFFFF; _glowBlurX = 3; _glowBlurY = 3; _glowStrength = 3; _shadowDistance = 2; _shadowAngle = 45; _shadowColor = 52479; _shadowBlurX = 6; _shadowBlurY = 6; _shadowStrength = 1; _quality = 2; isFilterApplied = false; super(); this.component = _arg1; } public function set quality(_arg1:uint):void{ this._quality = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function set shadowStrength(_arg1:Number):void{ this._shadowStrength = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function get shadowColor():uint{ return (this._shadowColor); } public function set alphaPercent(_arg1:Number):void{ this._alphaPercent = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function set shadowBlurX(_arg1:Number):void{ this._shadowBlurX = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function set shadowBlurY(_arg1:Number):void{ this._shadowBlurY = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function get alphaPercent():Number{ return (this._alphaPercent); } public function get shadowDistance():Number{ return (this._shadowDistance); } public function set shadowAngle(_arg1:Number):void{ this._shadowAngle = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function get glowBlurX():Number{ return (this._glowBlurX); } public function get glowBlurY():Number{ return (this._glowBlurY); } public function get speed():Number{ return (this._speed); } public function set shadowDistance(_arg1:Number):void{ this._shadowDistance = _arg1; if (isFilterApplied){ remove(); apply(); }; } override public function apply():void{ this.filter = new GlowFilter(this.glowColor, (this.alphaPercent / 100), this.glowBlurX, this.glowBlurY, this.glowStrength, this.quality); this.filterDropShadow = new DropShadowFilter(this.shadowDistance, this.shadowAngle, this.shadowColor, (this.alphaPercent / 100), this.shadowBlurX, this.shadowBlurY, this.shadowStrength, this.quality); this.initialFilters = this.target.filters; this.initialFilters.push(this.filter); this.initialFilters.push(this.filterDropShadow); this.target.filters = this.initialFilters; isFilterApplied = true; this.addEventListener(Event.ENTER_FRAME, enterframe); } override public function remove():void{ var _local1:*; for (_local1 in this.initialFilters) { if (this.initialFilters[_local1] == this.filter){ this.initialFilters.splice(_local1, 2); this.target.filters = this.initialFilters; break; }; }; this.filter = null; this.filterDropShadow = null; isFilterApplied = false; this.removeEventListener(Event.ENTER_FRAME, enterframe); } public function set speed(_arg1:Number):void{ this._speed = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function set glowBlurX(_arg1:Number):void{ this._glowBlurX = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function get shadowBlurX():Number{ return (this._shadowBlurX); } public function get shadowBlurY():Number{ return (this._shadowBlurY); } public function set shadowColor(_arg1:uint):void{ this._shadowColor = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function set glowBlurY(_arg1:Number):void{ this._glowBlurY = _arg1; if (isFilterApplied){ remove(); apply(); }; } private function enterframe(_arg1:Event){ this.shadowAngle = (this.shadowAngle + this.speed); if (this.shadowAngle > 360){ this.shadowAngle = 0; }; if (this.shadowAngle < 0){ this.shadowAngle = 360; }; } public function get shadowStrength():Number{ return (this._shadowStrength); } public function set glowColor(_arg1:uint):void{ this._glowColor = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function get glowColor():uint{ return (this._glowColor); } public function get shadowAngle():Number{ return (this._shadowAngle); } public function set glowStrength(_arg1:Number):void{ this._glowStrength = _arg1; if (isFilterApplied){ remove(); apply(); }; } public function get glowStrength():Number{ return (this._glowStrength); } public function get quality():uint{ return (this._quality); } } }//package com.jumpeye.flashEff2.filter.aura
Section 16
//FEFReflection (com.jumpeye.flashEff2.filter.reflection.FEFReflection) package com.jumpeye.flashEff2.filter.reflection { import flash.display.*; import flash.events.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import flash.geom.*; import flash.filters.*; import flash.utils.*; public class FEFReflection extends IFlashEffFilter { protected var reflectionBitmapData:BitmapData; protected var updateTimer:Timer; protected var initialFilters:Array; protected var yMin:Number;// = 0 protected var drawMatrix:Matrix; protected var bitmapHeight:Number;// = 0 protected var isTransitionEnd:Boolean;// = false protected var reflectionBitmap:Bitmap; protected var targetHeight:Number;// = 0 protected var matrixHeight:Number;// = 0 private var _reflectionMargins:Number;// = 10 private var isApply:Boolean;// = false private var _reflectionRatio:Number;// = 0xFF protected var filter:BlurFilter; private var _reflectionDropOffPercent:Number;// = 100 private var _refreshPerSecond:Number;// = 30 protected var reflectionMask:Sprite; protected var xMin:Number;// = 0 private var _reflectionAlpha:Number;// = 0.5 protected var reflectionContainer:Sprite; private var _refresh:Boolean;// = true private var _reflection:Boolean;// = true private var _smooth:Boolean;// = false protected var isReflectionApplied:Boolean;// = false private var _isMobile:Boolean;// = false private var bounds:Rectangle; protected var bitmapWidth:Number;// = 0 private var _reflectionDistance:Number;// = 5 protected var targetWidth:Number;// = 0 public function FEFReflection(_arg1:JUIComponent=null){ isApply = false; _reflectionDistance = 5; _reflectionAlpha = 0.5; _reflectionMargins = 10; _reflectionDropOffPercent = 100; _reflectionRatio = 0xFF; _smooth = false; _refresh = true; _refreshPerSecond = 30; _isMobile = false; _reflection = true; reflectionBitmap = new Bitmap(); isReflectionApplied = false; isTransitionEnd = false; targetWidth = 0; targetHeight = 0; bitmapWidth = 0; bitmapHeight = 0; xMin = 0; yMin = 0; matrixHeight = 0; super(); this.component = _arg1; } public function set isMobile(_arg1:Boolean):void{ this._isMobile = _arg1; } public function get reflectionDropOffPercentPercent():Number{ return (this._reflectionDropOffPercent); } public function get reflectionAlpha():Number{ return (this._reflectionAlpha); } public function get reflection():Boolean{ return (this._reflection); } public function get smooth():Boolean{ return (this._smooth); } public function set reflection(_arg1:Boolean):void{ this._reflection = _arg1; } public function set smooth(_arg1:Boolean):void{ this._smooth = _arg1; if (isApply){ remove(); apply(); }; } protected function applyReflection():void{ if (this.isReflectionApplied){ removeReflection(); }; bounds = this.component.target.getBounds(this.component.target); this.reflectionContainer = new Sprite(); this.target.parent.addChildAt(this.reflectionContainer, 0); this.xMin = bounds.x; this.yMin = bounds.y; if (isMobile){ bounds = this.target.getBounds(this.target); drawMatrix.tx = Math.round(((-(bounds.x) * this.target.scaleX) + this.reflectionMargins)); drawMatrix.ty = Math.round(((-(bounds.y) * this.target.scaleY) + this.reflectionMargins)); this.targetWidth = Math.round((bounds.width * this.target.scaleX)); this.targetHeight = Math.round((bounds.height * this.target.scaleY)); } else { this.targetWidth = Math.round((bounds.width * this.component.initialTargetTransform.matrix.a)); this.targetHeight = Math.round((bounds.height * this.component.initialTargetTransform.matrix.d)); drawMatrix.tx = Math.round(((-(this.xMin) * this.component.initialTargetTransform.matrix.a) + this.reflectionMargins)); drawMatrix.ty = Math.round(((-(this.yMin) * this.component.initialTargetTransform.matrix.d) + this.reflectionMargins)); }; this.bitmapWidth = (this.targetWidth + (2 * this.reflectionMargins)); this.bitmapHeight = (this.targetHeight + (2 * this.reflectionMargins)); this.bitmapWidth = Math.min(this.bitmapWidth, 2880); this.bitmapHeight = Math.min(this.bitmapHeight, 2880); this.matrixHeight = ((100 * this._reflectionDropOffPercent) / 100); this.drawReflection(); this.updateTimer.addEventListener(TimerEvent.TIMER, onUpdateTimer); if ((((this.isTransitionEnd == false)) && (refresh))){ this.updateTimer.start(); }; this.isReflectionApplied = true; } override public function apply():void{ this.reflectionBitmap = new Bitmap(); isApply = true; if (this.updateTimer != null){ this.updateTimer.stop(); }; this.updateTimer = new Timer(this.refreshPerSecond); this.drawMatrix = new Matrix(); this.isTransitionEnd = false; if (target){ applyReflection(); }; } override public function remove():void{ isApply = false; if (target){ removeReflection(); }; } public function set reflectionDistance(_arg1:Number):void{ this._reflectionDistance = _arg1; if (isApply){ remove(); apply(); }; } public function get isMobile():Boolean{ return (this._isMobile); } protected function onUpdateTimer(_arg1:Event=null):void{ var _local2:Number; if ((this.reflectionBitmapData is BitmapData)){ this.reflectionBitmapData.dispose(); }; if (isMobile){ bounds = this.target.getBounds(this.target); drawMatrix.tx = Math.round(((-(bounds.x) * this.target.scaleX) + this.reflectionMargins)); drawMatrix.ty = Math.round(((-(bounds.y) * this.target.scaleY) + this.reflectionMargins)); this.targetWidth = Math.round((bounds.width * this.target.scaleX)); this.targetHeight = Math.round((bounds.height * this.target.scaleY)); } else { this.targetWidth = Math.round((bounds.width * this.component.initialTargetTransform.matrix.a)); this.targetHeight = Math.round((bounds.height * this.component.initialTargetTransform.matrix.d)); }; this.bitmapWidth = (this.targetWidth + (2 * this.reflectionMargins)); this.bitmapHeight = (this.targetHeight + (2 * this.reflectionMargins)); this.bitmapWidth = Math.min(this.bitmapWidth, 2880); this.bitmapHeight = Math.min(this.bitmapHeight, 2880); this.reflectionBitmapData = new BitmapData(this.bitmapWidth, this.bitmapHeight, true, 987135); this.reflectionBitmapData.draw(target, drawMatrix); if ((this.reflectionBitmap.bitmapData is BitmapData)){ this.reflectionBitmap.bitmapData = this.reflectionBitmapData; }; this.reflectionMask.width = Math.ceil(this.bitmapWidth); this.reflectionMask.height = Math.ceil(this.bitmapHeight); if (isMobile){ this.reflectionBitmap.y = ((((-(this.reflectionMargins) + (bounds.y * this.target.scaleY)) + targetHeight) + this.reflectionBitmap.height) + reflectionDistance); _local2 = (-(this.reflectionMargins) + ((int((bounds.x * 10)) / 10) * this.target.scaleX)); this.reflectionBitmap.x = _local2; this.reflectionBitmap.x = Math.round(this.reflectionBitmap.x); this.reflectionMask.y = (((-(this.reflectionMargins) + (bounds.y * this.target.scaleY)) + targetHeight) + reflectionDistance); this.reflectionMask.x = _local2; }; } public function set reflectionDropOffPercent(_arg1:Number):void{ if (isNaN(_arg1)){ _arg1 = 100; } else { if (_arg1 < 0.1){ _arg1 = 0.1; } else { if (_arg1 > 100){ _arg1 = 100; }; }; }; this._reflectionDropOffPercent = _arg1; if (isApply){ remove(); apply(); }; } public function get reflectionRatio():Number{ return (this._reflectionRatio); } protected function drawReflection():void{ var _local1:String; var _local2:Array; var _local3:Array; var _local4:Array; var _local5:Matrix; var _local6:String; var _local7:Number; this.reflectionBitmapData = new BitmapData(this.bitmapWidth, this.bitmapHeight, true, 987135); this.reflectionBitmapData.draw(target, drawMatrix); this.reflectionBitmap.bitmapData = this.reflectionBitmapData; this.reflectionBitmap.smoothing = smooth; this.reflectionContainer.addChild(this.reflectionBitmap); this.reflectionContainer.mouseEnabled = false; _local1 = GradientType.LINEAR; _local2 = [0xFFFFFF, 0xFFFFFF]; _local3 = [this.reflectionAlpha, 0]; _local4 = [0, this.reflectionRatio]; _local5 = new Matrix(); _local6 = SpreadMethod.PAD; _local5.createGradientBox(100, this.matrixHeight, (Math.PI / 2)); this.reflectionMask = new Sprite(); this.reflectionMask.graphics.beginGradientFill(_local1, _local2, _local3, _local4, _local5, _local6); this.reflectionMask.graphics.drawRect(0, 0, 100, 100); this.reflectionMask.width = this.bitmapWidth; this.reflectionMask.height = this.bitmapHeight; this.reflectionContainer.addChild(this.reflectionMask); this.reflectionBitmap.cacheAsBitmap = true; this.reflectionMask.cacheAsBitmap = true; this.reflectionBitmap.mask = this.reflectionMask; this.reflectionBitmap.scaleY = -1; if (isMobile){ this.reflectionBitmap.y = ((((-(this.reflectionMargins) + (bounds.y * this.target.scaleY)) + targetHeight) + this.reflectionBitmap.height) + reflectionDistance); _local7 = (-(this.reflectionMargins) + ((int((bounds.x * 10)) / 10) * this.target.scaleX)); this.reflectionBitmap.x = _local7; this.reflectionBitmap.x = Math.round(this.reflectionBitmap.x); this.reflectionMask.y = (((-(this.reflectionMargins) + (bounds.y * this.target.scaleY)) + targetHeight) + reflectionDistance); this.reflectionMask.x = _local7; } else { this.reflectionBitmap.y = ((((-(this.reflectionMargins) + (this.yMin * this.component.initialTargetTransform.matrix.d)) + (this.bounds.height * this.component.initialTargetTransform.matrix.d)) + this.reflectionBitmap.height) + reflectionDistance); _local7 = (-(this.reflectionMargins) + ((int((this.xMin * 10)) / 10) * this.component.initialTargetTransform.matrix.a)); this.reflectionBitmap.x = _local7; this.reflectionBitmap.x = _local7; this.reflectionBitmap.x = Math.round(this.reflectionBitmap.x); this.reflectionMask.y = (((-(this.reflectionMargins) + (this.yMin * this.component.initialTargetTransform.matrix.d)) + (this.bounds.height * this.component.initialTargetTransform.matrix.d)) + reflectionDistance); this.reflectionMask.x = _local7; }; } public function get reflectionDistance():Number{ return (this._reflectionDistance); } public function get refreshPerSecond():Number{ return (this._refreshPerSecond); } public function set refresh(_arg1:Boolean):void{ this._refresh = _arg1; if (isApply){ remove(); apply(); }; } public function set reflectionMargins(_arg1:Number):void{ if (_arg1 <= 0){ _arg1 = 0.01; }; this._reflectionMargins = _arg1; if (isApply){ remove(); apply(); }; } public function set refreshPerSecond(_arg1:Number):void{ if (_arg1 <= 0){ _arg1 = 1; } else { if (_arg1 > 120){ _arg1 = 120; }; }; this._refreshPerSecond = (1000 / _arg1); if (isApply){ remove(); apply(); }; } public function set reflectionRatio(_arg1:Number):void{ if (isNaN(_arg1)){ _arg1 = 0xFF; } else { if (_arg1 > 0xFF){ _arg1 = 0xFF; } else { if (_arg1 < 0){ _arg1 = 0; }; }; }; this._reflectionRatio = _arg1; if (isApply){ remove(); apply(); }; } public function get reflectionMargins():Number{ return (this._reflectionMargins); } public function get refresh():Boolean{ return (this._refresh); } public function set reflectionAlpha(_arg1:Number):void{ this._reflectionAlpha = _arg1; if (isApply){ remove(); apply(); }; } protected function removeReflection():void{ if (this.updateTimer != null){ this.updateTimer.stop(); this.updateTimer.removeEventListener(TimerEvent.TIMER, onUpdateTimer); }; this.isReflectionApplied = false; if ((this.reflectionBitmapData is BitmapData)){ this.reflectionBitmapData.dispose(); }; if ((this.reflectionContainer is Sprite)){ if (this.target.parent.contains(this.reflectionContainer)){ this.target.parent.removeChild(this.reflectionContainer); }; }; this.reflectionContainer = null; this.reflectionBitmap = null; this.reflectionBitmapData = null; } } }//package com.jumpeye.flashEff2.filter.reflection
Section 17
//CustomMotion (com.jumpeye.flashEff2.symbol.badTransmission.CustomMotion) package com.jumpeye.flashEff2.symbol.badTransmission { public class CustomMotion { protected var _points:Array; protected var pLen:uint; public function CustomMotion(){ var _local1:*; super(); _points = []; _local1 = 0; while (_local1 < 30) { _points[_local1] = 1; _local1++; }; } public function get points():Array{ return (this._points); } public function set points(_arg1:Array):void{ if ((_arg1 is Array)){ this._points = _arg1; pLen = (_arg1.length - 1); }; } public function getValue(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:*; var _local6:uint; if (_arg4 <= 0){ return (NaN); }; _local5 = (_arg1 / _arg4); _local6 = Math.floor((this.pLen * _local5)); return ((_arg2 + (this._points[_local6] * _arg3))); } } }//package com.jumpeye.flashEff2.symbol.badTransmission
Section 18
//FESBadTransmission (com.jumpeye.flashEff2.symbol.badTransmission.FESBadTransmission) package com.jumpeye.flashEff2.symbol.badTransmission { import flash.display.*; import flash.events.*; import com.jumpeye.Events.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import flash.geom.*; import flash.filters.*; import com.jumpeye.transitions.*; public class FESBadTransmission extends IFlashEffSymbol { protected var noiseBmp:Bitmap; protected var backBmp:Bitmap; private var _disturbance:Number;// = 50 protected var targetBmp:Bitmap; protected var isShow:Boolean;// = false private var _maxNoise:Number;// = 0.5 protected var overlayNoiseBmp:Bitmap; protected var screenNoiseBmp:Bitmap; protected var tweenObject:Object; protected var targetBD:BitmapData; protected var perlinBD:BitmapData; protected var effectOwner:Sprite; private var updateParams:Array; protected var noiseBD:BitmapData; protected var outputEffect:Sprite; public function FESBadTransmission(_arg1:JUIComponent=null){ isShow = false; _disturbance = 50; _maxNoise = 0.5; super(); this.component = _arg1; this.init(); } override public function show():void{ this.remove(); this.startMotion(true); } protected function motionChange(... _args):void{ var _local2:*; var _local3:Object; for (_local2 in _args) { _local3 = (_args[_local2] as Object); _local3.target[_local3.prop] = _local3.getValue(this.tweenObject.pos, _local3.begin, _local3.change, this._tweenDuration); }; if ((Math.floor((this.tweenObject.pos * 100)) % 3) == 0){ this.outputEffect.filters = [this.createDisplacementMap()]; } else { if (((Math.floor((this.tweenObject.pos * 100)) + 1) % 3) == 0){ this.overlayNoiseBmp.bitmapData.noise((Math.random() * int.MAX_VALUE), 0, 0xFF, 7, true); }; }; } protected function init():void{ _tweenDuration = 2; _tweenType = "Quadratic"; _easeType = "easeOut"; } protected function createDisplacementMap():BitmapFilter{ var _local1:BitmapData; var _local2:Point; var _local3:uint; var _local4:uint; var _local5:uint; var _local6:Number; var _local7:Number; var _local8:String; var _local9:uint; var _local10:Number; _local1 = this.createPerlinBD(); _local2 = new Point(); _local3 = 1; _local4 = _local3; _local5 = _local3; _local6 = ((this.disturbance / 2) + ((Math.random() * this.disturbance) / 2)); _local7 = 0.5; _local8 = DisplacementMapFilterMode.CLAMP; _local9 = 0; _local10 = 0; return (new DisplacementMapFilter(_local1, _local2, _local4, _local5, _local6, _local7, _local8, _local9, _local10)); } public function set maxNoise(_arg1:Number):void{ if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < 0){ _arg1 = 0; }; }; _maxNoise = _arg1; } public function get maxNoise():Number{ return (_maxNoise); } override public function hide():void{ this.remove(); this.startMotion(false); } protected function waitAFrame(_arg1:Event){ this.component.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); TweenLite.to(this.tweenObject, this.tweenDuration, {pos:(this.tweenDuration * Number(isShow)), onUpdate:this.motionChange, onUpdateParams:updateParams, onComplete:this.motionFinish}); this.motionChange.apply(this, updateParams); this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); } override public function remove():void{ if (this.tweenObject != null){ TweenLite.killTweensOf(this.tweenObject, false); this.tweenObject = null; }; if (this.component != null){ if (this.effectOwner != null){ if (this.component.targetOwner.contains(this.effectOwner)){ this.component.targetOwner.removeChild(this.effectOwner); }; this.effectOwner = null; }; this.component.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); }; if (this.target != null){ this.target.alpha = 1; }; if (perlinBD != null){ perlinBD.dispose(); }; perlinBD = null; if (targetBD != null){ targetBD.dispose(); }; targetBD = null; if (noiseBD != null){ noiseBD.dispose(); }; noiseBD = null; targetBmp = null; backBmp = null; noiseBmp = null; screenNoiseBmp = null; overlayNoiseBmp = null; updateParams = null; } protected function createPerlinBD():BitmapData{ var _local1:BitmapData; _local1 = new BitmapData(this.component.width, this.component.height, true, 0xFF0000); _local1.perlinNoise(10, 1.5, 1, (Math.random() * 1000), true, true, 3); return (_local1); } public function set disturbance(_arg1:Number):void{ _disturbance = _arg1; } public function get disturbance():Number{ return (_disturbance); } protected function startMotion(_arg1:Boolean):void{ var _local2:Rectangle; var _local3:Matrix; var _local4:Sprite; var _local5:Sprite; var _local6:Sprite; var _local7:CustomMotion; var _local8:CustomMotion; var _local9:CustomMotion; var _local10:CustomMotion; var _local11:CustomMotion; var _local12:CustomMotion; var _local13:CustomMotion; var _local14:CustomMotion; var _local15:CustomMotion; _local2 = this.target.getBounds(this.target); _local3 = new Matrix(); this.isShow = _arg1; this.outputEffect = new Sprite(); this.effectOwner = new Sprite(); this.component.targetOwner.addChild(this.effectOwner); this.effectOwner.addChild(this.outputEffect); this.effectOwner.x = (_local2.x * this.target.scaleX); this.effectOwner.y = (_local2.y * this.target.scaleY); _local3.translate(-(_local2.x), -(_local2.y)); _local3.scale(this.target.scaleX, this.target.scaleY); this.targetBD = new BitmapData(this.target.width, this.target.height, true, 0xFF0000); this.targetBD.draw(this.target, _local3); this.targetBmp = new Bitmap(this.targetBD); this.backBmp = new Bitmap(this.targetBD.clone()); this.backBmp.alpha = 0.34; this.outputEffect.addChild(this.backBmp); this.outputEffect.addChild(this.targetBmp); this.noiseBD = new BitmapData(this.target.width, this.target.height, false); this.noiseBD.noise((Math.random() * int.MAX_VALUE), 0, 0xFF, 7, true); this.noiseBmp = new Bitmap(this.noiseBD); this.noiseBmp.alpha = (0.15 * this.maxNoise); this.outputEffect.addChild(this.noiseBmp); this.outputEffect.filters = [this.createDisplacementMap()]; this.overlayNoiseBmp = new Bitmap(this.noiseBD.clone()); this.overlayNoiseBmp.alpha = 0; this.effectOwner.addChild(this.overlayNoiseBmp); this.screenNoiseBmp = new Bitmap(this.noiseBD.clone()); this.screenNoiseBmp.bitmapData.noise((Math.random() * int.MAX_VALUE), 0, 0xFF, 7, true); this.screenNoiseBmp.blendMode = BlendMode.SCREEN; this.screenNoiseBmp.alpha = (0.1 * this.maxNoise); this.screenNoiseBmp.cacheAsBitmap = true; this.effectOwner.addChild(this.screenNoiseBmp); _local4 = new Sprite(); _local4.graphics.beginFill(0x999999, 0.32); _local4.graphics.drawRect(0, 0, this.target.width, 1); _local4.alpha = 0; _local5 = new Sprite(); _local5.graphics.beginFill(0x999999, 0.32); _local5.graphics.drawRect(0, 0, this.target.width, 1); _local6 = new Sprite(); _local6.graphics.beginFill(0x999999); _local6.graphics.drawRect(0, 0, this.target.width, (this.target.height / 10)); _local6.cacheAsBitmap = true; this.screenNoiseBmp.mask = _local6; this.effectOwner.addChild(_local4); this.effectOwner.addChild(_local5); this.effectOwner.addChild(_local6); this.tweenObject = {pos:(this.tweenDuration * Number(!(_arg1)))}; this.outputEffect.alpha = 0; this.effectOwner.alpha = 0; this.target.alpha = 0; _local7 = new CustomMotion(); _local7.points = [0.07, 0.14, 0.21, 0.29, 0.36, 0.43, 0.5, 0.57, 0.64, 0.71, 0.79, 0.86, 0.93, 1, 0.12, 0.95, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.45, 0, 0, 0, 0, 0, 0.57, 1, 1, 0.66, 0.23, 0, 0.45, 0.84, 0.42, 0, 0.01, 0.01, 0.01, 0.36, 0.62, 0.57, 0.52, 0.48, 0.37, 0.29, 0.24, 0.19, 0.15, 0.12, 0.09, 0.07, 0.05, 0.04, 0.03, 0.02, 0.01, 0, 0]; _local8 = new CustomMotion(); _local8.points = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.01, 0.01, 0.02, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.12, 0.14, 0.16, 0.18, 0.21, 0.23, 0.26, 0.3, 0.34, 0.38, 0.43, 0.48, 0.54, 0.62, 0.7, 0.81, 1]; _local9 = new CustomMotion(); _local9.points = [0, 0.01, 0.02, 0.03, 0.04, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.18, 0.19, 0.2, 0.21, 0.22, 0.24, 0.25, 0.26, 0.27, 0.29, 0.3, 0.32, 0.33, 0.35, 0.37, 0.39, 0.41, 0.04, 0.04, 0.04, 0.04, 0.04, 0.04, 0.04, 0.04, 0.3, 0.09, 0.06, 0, 0.04, 0.11, 0.18, 0.2, 0.2, 0.2, 0.19, 0.19, 0.18, 0.17, 0.16, 0.15, 0.14, 0.13, 0.11, 0.1, 0.09, 0.07, 0.06, 0.05, 0.03, 0.02, 0]; _local10 = new CustomMotion(); _local10.points = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.8, 0.8, 0, 0, 1, 0.95, 0.8, 0.58, 0.35, 0.16, 0.05, 0, 0, 0, 0, 0, 0, 0, 0, -0.4, -0.4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local11 = new CustomMotion(); _local11.points = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.8, 0.8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0.95, 0.8, 0.58, 0.35, 0.16, 0.05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local12 = new CustomMotion(); _local12.points = [0, 0, 0, 0, 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.2, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.3, 0.31, 0.32, 0.34, 0.35, 0.36, 0.38, 0.39, 0.41, 0.42, 0.44, 0.46, 0.47, 0.49, 0.51, 0.53, 0.55, 0.57, 0.59, 0.61, 0.64, 0.66, 0.69, 0.71, 0.74, 0.77, 0.8, 0.84, 0.87, 0.91, 0.95, 1, 1, 0.45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local13 = new CustomMotion(); _local13.points = [0.9, 0.88, 0.84, 0.76, 0.68, 0.61, 0.54, 0.47, 0.41, 0.36, 0.3, 0.26, 0.21, 0.17, 0.14, 0.1, 0.08, 0.05, 0.03, 0.02, 0.01, 0, 0, 0.03, 0.07, 0.1, 0.13, 0.16, 0.19, 0.22, 0.25, 0.27, 0.29, 0.31, 0.33, 0.34, 0.35, 0.36, 0.36, 0.36, 0.35, 0.34, 0.32, 0.3, 0.28, 0.25, 0.23, 0.2, 0.17, 0.14, 0.11, 0.07, 0.04, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local14 = new CustomMotion(); _local14.points = [0, 0, 0, 0, 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.2, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.3, 0.31, 0.32, 0.34, 0.35, 0.36, 0.38, 0.39, 0.41, 0.42, 0.44, 0.46, 0.47, 0.49, 0.51, 0.53, 0.55, 0.57, 0.59, 0.61, 0.64, 0.66, 0.69, 0.71, 0.74, 0.77, 0.8, 0.84, 0.87, 0.91, 0.95, 1, 0.81, 0.45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local15 = new CustomMotion(); _local15.points = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.01, 0.03, 0.06, 0.11, 0.16, 0.22, 0.28, 0.34, 0.41, 0.48, 0.55, 0.61, 0.68, 0.74, 0.8, 0.85, 0.9, 0.94, 0.97, 0.99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; updateParams = []; updateParams.push({target:this.outputEffect, prop:"alpha", getValue:_local7.getValue, begin:0, change:1}); updateParams.push({target:this.overlayNoiseBmp, prop:"alpha", getValue:_local9.getValue, begin:0, change:this.maxNoise}); updateParams.push({target:this.backBmp, prop:"x", getValue:_local10.getValue, begin:this.outputEffect.x, change:-((((Math.random() * this.disturbance) / 2) + (this.disturbance / 2)))}); updateParams.push({target:this.outputEffect, prop:"x", getValue:_local11.getValue, begin:this.outputEffect.x, change:(this.disturbance / 5)}); updateParams.push({target:_local4, prop:"y", getValue:_local12.getValue, begin:_local4.y, change:(this.target.height * 0.8)}); updateParams.push({target:_local4, prop:"alpha", getValue:_local14.getValue, begin:0, change:1}); updateParams.push({target:_local5, prop:"y", getValue:_local13.getValue, begin:_local5.y, change:this.target.height}); updateParams.push({target:_local5, prop:"alpha", getValue:_local13.getValue, begin:0, change:1}); updateParams.push({target:_local6, prop:"y", getValue:_local15.getValue, begin:(-2 * _local6.height), change:(this.target.height + (2 * _local6.height))}); updateParams.push({target:this.target, prop:"alpha", getValue:_local8.getValue, begin:0, change:1}); updateParams.push({target:this.effectOwner, prop:"alpha", getValue:this.easeFunc, begin:0, change:1}); this.component.addEventListener(Event.ENTER_FRAME, this.waitAFrame, false, 0, true); } protected function motionFinish():void{ this.remove(); if (this.target != null){ this.target.visible = this.isShow; }; this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); } } }//package com.jumpeye.flashEff2.symbol.badTransmission
Section 19
//FES3DCamSquareFocus (com.jumpeye.flashEff2.symbol.fe3D.camSquareFocus.FES3DCamSquareFocus) package com.jumpeye.flashEff2.symbol.fe3D.camSquareFocus { import flash.display.*; import flash.events.*; import com.jumpeye.Events.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import flash.geom.*; import flash.text.*; import com.jumpeye.transitions.*; import com.jumpeye.flashEff2.symbol.fe3D.objects.*; import com.jumpeye.flashEff2.symbol.fe3D.spaces.*; import com.jumpeye.flashEff2.text.fe3D.*; public class FES3DCamSquareFocus extends IFlashEffSymbol { private var _frontSpace:Number;// = 250 protected var targetObject:JFE3DDisplayObject; protected var anchorX:Number;// = 300 protected var anchorY:Number;// = -300 private var _alphaPercentage:Number;// = 50 protected var showTr:Boolean;// = true private var _blurCoef:Number;// = 3 private var _focusIndex:Number;// = 0 private var _squareHeight:Number;// = 40 protected var scene:JFE3DScene; protected var lin:Number; private var startPos:uint; protected var allItems:Array; protected var finishedTweens:Number;// = 0 private var finishPos:uint; protected var teorecticSpace:Number; private var _blurQuality:Number;// = 2 private var _backSpace:Number;// = 250 private var _squareWidth:Number;// = 35 protected var middlePoint:Number3D; protected var getZPosition:Function; protected var camera:JFE3DCamera; protected var cameraFinalX:Number;// = 0 protected var cameraFinalY:Number;// = 0 protected var cameraFinalZ:Number;// = 0 protected var finalSquareHeight:Number;// = 40 protected var ail:Number;// = 0 private var _partialStart:Number;// = 50 protected var finalSquareWidth:Number;// = 35 protected var squaresOwner:Sprite; private var _partialGroup:String;// = "letters" private var _partialBlurAmount:Number;// = 0 protected var col:Number; protected var tweenObject:Object; protected var targetBounds:Rectangle; private var _partialPercent:Number;// = 100 protected var focalLength:Number;// = 300 protected var resultPresetObject:Object; protected var totalTweens:Number;// = 2 protected var cameraInitialX:Number;// = 0 protected var cameraInitialY:Number;// = 0 protected var cameraInitialZ:Number;// = 0 private var _preset:Number;// = 14 public function FES3DCamSquareFocus(_arg1:JUIComponent=null){ focalLength = 300; totalTweens = 2; finishedTweens = 0; ail = 0; finalSquareHeight = 40; finalSquareWidth = 35; showTr = true; cameraInitialX = 0; cameraInitialY = 0; cameraInitialZ = 0; cameraFinalX = 0; cameraFinalY = 0; cameraFinalZ = 0; anchorX = 300; anchorY = -300; _partialPercent = 100; _partialBlurAmount = 0; _partialStart = 50; _partialGroup = "letters"; _preset = 14; _frontSpace = 250; _backSpace = 250; _focusIndex = 0; _blurCoef = 3; _blurQuality = 2; _alphaPercentage = 50; _squareWidth = 35; _squareHeight = 40; super(); this.component = _arg1; init(); } public function set blurCoef(_arg1:Number):void{ if (_arg1 > 20){ _arg1 = 20; } else { if (_arg1 < 0){ _arg1 = 0; }; }; this._blurCoef = _arg1; } public function get backSpace():Number{ return (this._backSpace); } public function get frontSpace():Number{ return (this._frontSpace); } override public function remove():void{ this.clearProperties(); } public function get blurQuality():Number{ return (this._blurQuality); } public function get squareHeight():Number{ return (this._squareHeight); } public function get squareWidth():Number{ return (this._squareWidth); } public function set backSpace(_arg1:Number):void{ this._backSpace = _arg1; } public function get alphaPercentage():Number{ return (this._alphaPercentage); } public function set frontSpace(_arg1:Number):void{ this._frontSpace = _arg1; } public function get focusIndex():Number{ return (this._focusIndex); } public function get preset():Number{ return (this._preset); } override public function show():void{ if (this.component != null){ this.startTransition(true); }; } protected function init():void{ _tweenDuration = 1.5; _easeType = "easeOut"; _tweenType = "Elastic"; } protected function drawSquares(_arg1:Sprite, _arg2:uint):void{ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:Number; var _local10:Rectangle; var _local11:Number; var _local12:Number; var _local13:uint; var _local14:Number; var _local15:uint; var _local16:Number; var _local17:*; var _local18:JFE3DDisplayObject; var _local19:Matrix; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Array; _local3 = Math.floor(this.finalSquareHeight); _local4 = Math.floor(this.finalSquareWidth); _local5 = (this.frontSpace + this.backSpace); _local10 = this.component.targetOwner.getBounds(this.component.targetOwner); _local11 = (this.scene.middleX - _local10.x); _local12 = (this.scene.middleY - _local10.y); _local7 = 0; _local9 = 0; _local13 = 0; while (_local13 < this.lin) { _local6 = 0; _local8 = 0; _local14 = Math.floor(_local9); if (_local13 == (this.lin - 1)){ _local14 = Math.ceil(((_local9 + this.finalSquareHeight) - _local3)); }; _local15 = 0; while (_local15 < this.col) { _local16 = Math.floor(_local8); if (_local15 == (this.col - 1)){ _local16 = Math.ceil(((_local8 + this.finalSquareWidth) - _local4)); }; _local17 = new Sprite(); _local18 = new JFE3DDisplayObject(_local17, this.camera); _local18.x = _local6; _local18.y = _local7; _local19 = new Matrix(); _local19.translate(((-(_local6) / this.target.scaleX) - this.targetBounds.x), ((-(_local7) / this.target.scaleY) - this.targetBounds.y)); _local19.scale(this.target.scaleX, this.target.scaleY); _local18.texture = new BitmapData((_local4 + _local16), (_local3 + _local14), true, 0xFF00FF); _local18.texture.draw(this.target, _local19); _local18.blurQuality = this.blurQuality; _arg1.addChild(_local17); this.scene.pushItem(_local18); _local20 = _local17.width; _local21 = _local17.height; _local22 = _local18.x; _local23 = _local18.y; _local24 = (((this.getZPosition((_local22 + (_local20 / 2)), (_local23 + (_local21 / 2)), _local11, _local12, 0) * _local5) / teorecticSpace) + this.frontSpace); _local25 = [[_local22, _local23, _local24], [(_local22 + _local20), _local23, _local24], [(_local22 + _local20), (_local23 + _local21), _local24], [_local22, (_local23 + _local21), _local24]]; _local18.corners = _local18.reverseRender(_local25); _local6 = (_local6 + (_local4 + _local16)); _local8 = ((_local8 + this.finalSquareWidth) - (_local4 + _local16)); _local15++; }; _local7 = (_local7 + (_local3 + _local14)); _local9 = (((_local9 + this.finalSquareHeight) - _local3) - _local14); _local13++; }; } protected function motionChange():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:*; var _local9:JFE3DDisplayObject; var _local10:Array; var _local11:Number; var _local12:Number; var _local13:Number; _local1 = this.tweenObject.prop; _local2 = (this.camera.x = this.getBezier(_local1, this.cameraInitialX, (((this.cameraInitialX + this.cameraFinalX) / 2) + this.anchorX), this.cameraFinalX)); _local3 = (this.camera.y = this.getBezier(_local1, this.cameraInitialY, (((this.cameraInitialY + this.cameraFinalY) / 2) + this.anchorY), this.cameraFinalY)); _local4 = (this.camera.z = (this.cameraInitialZ + ((this.cameraFinalZ - this.cameraInitialZ) * _local1))); _local5 = this.getBezier(_local1, this.middlePoint.x, (((this.middlePoint.x + this.targetObject.x) / 2) + this.anchorX), this.targetObject.x); _local6 = this.getBezier(_local1, this.middlePoint.y, (((this.middlePoint.y + this.targetObject.y) / 2) - this.anchorY), this.targetObject.y); _local7 = (this.middlePoint.z + ((this.targetObject.z - this.middlePoint.z) * _local1)); _local8 = 0; while (_local8 < this.ail) { _local9 = this.allItems[_local8]; _local10 = _local9.corners[0]; _local11 = (_local2 - _local10[0]); _local12 = (_local3 - _local10[1]); _local13 = (_local4 - _local10[2]); _local9.blurAmount = Math.abs((((Math.sqrt((((_local11 * _local11) + (_local12 * _local12)) + (_local13 * _local13))) / 40) * _local1) * this.blurCoef)); _local8++; }; this.camera.lookAt(new Number3D(_local5, _local6, _local7)); this.scene.renderCamera(); } public function get blurCoef():Number{ return (this._blurCoef); } public function set blurQuality(_arg1:Number):void{ if (_arg1 > 10){ _arg1 = 10; } else { if (_arg1 < 0){ _arg1 = 0; }; }; this._blurQuality = _arg1; } public function set alphaPercentage(_arg1:Number):void{ if (_arg1 < 0.001){ _arg1 = 0.001; } else { if (_arg1 > 100){ _arg1 = 100; }; }; this._alphaPercentage = _arg1; } override public function hide():void{ if (this.component != null){ this.startTransition(false); }; } public function set squareHeight(_arg1:Number){ if (_arg1 < 1){ _arg1 = 1; }; this._squareHeight = _arg1; this.finalSquareHeight = _arg1; } public function set squareWidth(_arg1:Number){ if (_arg1 < 1){ _arg1 = 1; }; this._squareWidth = _arg1; this.finalSquareWidth = _arg1; } protected function startTransition(_arg1:Boolean):void{ var _local2:Array; var _local3:uint; var _local4:Array; var _local5:Object; var _local6:*; var _local7:uint; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:*; var _local14:Number; var _local15:Number; var _local16:Rectangle; var _local17:Number; var _local18:Array; var _local19:Number; _local8 = 0; _local9 = 0; _local10 = 0; _local11 = 0; _local12 = (this.frontSpace + this.backSpace); showTr = _arg1; resultPresetObject = {}; this.targetBounds = this.target.getBounds(this.target); this.squaresOwner = new Sprite(); if ((this.target is TextField)){ _local19 = 2; } else { _local19 = 0; }; this.component.targetOwner.addChild(this.squaresOwner); this.squaresOwner.x = ((this.targetBounds.x * this.target.scaleX) + _local19); this.squaresOwner.y = ((this.targetBounds.y * this.target.scaleY) + _local19); if (this.squareHeight > (this.targetBounds.height * this.target.scaleY)){ this.finalSquareHeight = (this.targetBounds.height * this.target.scaleY); }; if (this.squareWidth > (this.targetBounds.width * this.target.scaleX)){ this.finalSquareWidth = (this.targetBounds.width * this.target.scaleX); }; this.lin = Math.floor(((this.targetBounds.height / this.finalSquareHeight) * this.target.scaleY)); this.col = Math.floor(((this.targetBounds.width / this.finalSquareWidth) * this.target.scaleX)); JFE3DPresets.writePresetFunction(((this.preset) || (1)), resultPresetObject, this.component.targetOwner); _local13 = _arg1; this.finalSquareHeight = ((this.targetBounds.height / this.lin) * this.target.scaleY); this.finalSquareWidth = ((this.targetBounds.width / this.col) * this.target.scaleX); startPos = 0; finishPos = 1; if (_arg1 == true){ startPos = 1; finishPos = 0; }; this.focalLength = Math.max(this.focalLength, Math.abs(this.frontSpace)); this.focalLength = Math.max(this.focalLength, Math.abs(this.backSpace)); this.scene = new JFE3DScene(); this.camera = new JFE3DCamera(); this.camera.focalLength = this.focalLength; _local14 = this.component.target.width; _local15 = this.component.target.height; _local16 = this.component.targetOwner.getBounds(this.component.targetOwner); _local8 = ((_local14 / 2) + _local16.x); this.cameraInitialX = (this.camera.x = _local8); _local9 = ((_local15 / 2) + _local16.y); this.cameraInitialY = (this.camera.y = _local9); this.cameraInitialZ = (this.camera.z = this.focalLength); this.middlePoint = new Number3D(_local8, _local9, ((_local12 - this.frontSpace) / 2)); this.scene.middleX = _local8; this.scene.middleY = _local9; this.scene.middleZ = ((_local12 - this.frontSpace) / 2); this.getZPosition = resultPresetObject.getZPosition; this.teorecticSpace = resultPresetObject.teorecticSpace; this.drawSquares(this.squaresOwner, startPos); _local17 = this.focusIndex; this.allItems = this.scene.childrens; this.ail = allItems.length; if (this.focusIndex > this.ail){ _local17 = (this.ail - 1); }; if (allItems[_local17] != null){ targetObject = allItems[_local17]; _local18 = targetObject.corners[0]; } else { if (allItems[0] != null){ targetObject = allItems[0]; _local18 = targetObject.corners[0]; } else { targetObject = new JFE3DDisplayObject(null, null); targetObject.x = this.middlePoint.x; targetObject.y = this.middlePoint.y; targetObject.z = this.middlePoint.z; _local18 = [this.middlePoint.x, this.middlePoint.y, this.middlePoint.z]; }; }; this.cameraFinalX = _local18[0]; this.cameraFinalY = _local18[1]; this.cameraFinalZ = _local18[2]; tweenObject = {}; tweenObject.blurAmount = startPos; tweenObject.prop = startPos; finishedTweens = 0; this.squaresOwner.alpha = finishPos; this.camera.x = (this.cameraInitialX + ((this.cameraFinalX - this.cameraInitialX) * startPos)); this.camera.y = (this.cameraInitialY + ((this.cameraFinalY - this.cameraInitialY) * startPos)); this.camera.z = (this.cameraInitialZ + ((this.cameraFinalZ - this.cameraInitialZ) * startPos)); this.camera.lookAt(this.middlePoint); scene.renderCamera(); this.target.visible = false; this.target.addEventListener(Event.ENTER_FRAME, this.waitAFrame, false, 0, true); } protected function clearProperties():void{ if (this.squaresOwner != null){ TweenLite.killTweensOf(this.squaresOwner, false); this.component.targetOwner.removeChild(this.squaresOwner); this.squaresOwner = null; }; if (tweenObject != null){ TweenLite.killTweensOf(tweenObject, false); tweenObject = null; }; if (this.target != null){ this.target.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); }; this.scene = null; this.camera = null; } protected function waitAFrame(_arg1:Event):void{ this.target.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); TweenLite.to(tweenObject, this.tweenDuration, {prop:finishPos, ease:this.easeFunc, onUpdate:this.motionChange, onComplete:motionFinish}); TweenLite.to(this.squaresOwner, ((this.tweenDuration * this.alphaPercentage) / 100), {alpha:startPos, delay:(finishPos * (this.tweenDuration - ((this.tweenDuration * this.alphaPercentage) / 100))), onComplete:motionFinish}); this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); } public function set preset(_arg1:Number):void{ this._preset = _arg1; } public function set focusIndex(_arg1:Number):void{ this._focusIndex = _arg1; } protected function getBezier(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((((1 - _arg1) * (1 - _arg1)) * _arg2) + (((2 * _arg1) * (1 - _arg1)) * _arg3)) + ((_arg1 * _arg1) * _arg4))); } protected function motionFinish():void{ finishedTweens++; if (finishedTweens == totalTweens){ if (showTr == false){ this.component.textOwnerClip.visible = false; }; this.component.targetOwner.alpha = 1; this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); }; } } }//package com.jumpeye.flashEff2.symbol.fe3D.camSquareFocus
Section 20
//JFE3DCamera (com.jumpeye.flashEff2.symbol.fe3D.objects.JFE3DCamera) package com.jumpeye.flashEff2.symbol.fe3D.objects { import com.jumpeye.flashEff2.text.fe3D.*; public class JFE3DCamera { public var view:Matrix3D; public var focalLength:Number;// = 300 public var transform:Matrix3D; private var __x:Number;// = 0 private var __y:Number;// = 0 private var __z:Number;// = 0 private static var UP:Number3D = new Number3D(0, 1, 0); private static var _flipY:Matrix3D = Matrix3D.scaleMatrix(-1, 1, -1); public function JFE3DCamera(){ __x = 0; __y = 0; __z = 0; focalLength = 300; super(); this.transform = Matrix3D.IDENTITY; this.view = Matrix3D.IDENTITY; } public function get y():Number{ return (this.__y); } public function set y(_arg1:Number){ this.__y = _arg1; } public function get z():Number{ return (this.__z); } public function get x():Number{ return (this.__x); } public function lookAt(_arg1:Number3D){ var _local2:Number3D; var _local3:Number3D; var _local4:Number3D; var _local5:Number3D; var _local6:Matrix3D; _local2 = new Number3D(this.x, this.y, this.z); _local3 = Number3D.sub(_arg1, _local2); _local3.normalize(); if (_local3.modulo > 0.1){ _local4 = Number3D.cross(_local3, new Number3D(0, 1, 0)); _local4.normalize(); _local5 = Number3D.cross(_local3, _local4); _local5.normalize(); _local6 = this.transform; _local6.n11 = _local4.x; _local6.n21 = _local4.y; _local6.n31 = _local4.z; _local6.n12 = -(_local5.x); _local6.n22 = -(_local5.y); _local6.n32 = -(_local5.z); _local6.n13 = _local3.x; _local6.n23 = _local3.y; _local6.n33 = _local3.z; this.view = Matrix3D.inverse(Matrix3D.multiply(_local6, _flipY)); }; } public function set x(_arg1:Number){ this.__x = _arg1; } public function set z(_arg1:Number){ this.__z = _arg1; } } }//package com.jumpeye.flashEff2.symbol.fe3D.objects
Section 21
//JFE3DDisplayObject (com.jumpeye.flashEff2.symbol.fe3D.objects.JFE3DDisplayObject) package com.jumpeye.flashEff2.symbol.fe3D.objects { import com.jumpeye.flashEff2.symbol.fe3D.spaces.*; import com.jumpeye.flashEff2.text.fe3D.*; public class JFE3DDisplayObject extends JFE3DObject { public var blurAmount:Number;// = 0 private var camera:JFE3DCamera; public var blurQuality:Number;// = 1 private var transform:Matrix3D; public function JFE3DDisplayObject(_arg1, _arg2:JFE3DCamera){ blurAmount = 0; blurQuality = 1; camera = _arg2; transform = Matrix3D.IDENTITY; super(_arg1); } public function projectPoint(_arg1:Number3D):Number3D{ return (Number3D.sub(_arg1, new Number3D(this.camera.x, this.camera.y, this.camera.z))); } override public function get x():Number{ return (this.transform.n14); } public function reverseRender(_arg1:Array):Array{ var _local2:Array; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number3D; var _local7:Number; var _local8:Number3D; _local2 = []; _local3 = 0; _local4 = this.camera.focalLength; _local5 = _arg1.length; while (_local3 <= (_local5 - 1)) { _local6 = projectPoint(new Number3D(_arg1[_local3][0], _arg1[_local3][1], _arg1[_local3][2])); _local7 = _local6.z; _local8 = this.unProjectPoint(new Number3D((_local6.x * (1 - (_local7 / _local4))), (_local6.y * (1 - (_local7 / _local4))), _local7)); _local2[_local3] = [_local8.x, _local8.y, _local8.z]; _local3++; }; return (_local2); } public function get visible():Boolean{ return (this.container.visible); } public function render(_arg1:JFE3DScene){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:Number; var _local10:Object; var _local11:Object; var _local12:Object; var _local13:Object; var _local14:Number; var _local15:Number; _local10 = this.calculateCorner(this.corners[0]); _local11 = this.calculateCorner(this.corners[1]); _local12 = this.calculateCorner(this.corners[2]); _local13 = this.calculateCorner(this.corners[3]); _local2 = _local10.x; _local3 = _local10.y; _local4 = _local11.x; _local5 = _local11.y; _local6 = _local12.x; _local7 = _local12.y; _local8 = _local13.x; _local9 = _local13.y; _local14 = _arg1.middleX; _local15 = _arg1.middleY; if (this.visible){ this.updateContent((_local2 + _local14), (_local3 + _local15), (_local4 + _local14), (_local5 + _local15), (_local6 + _local14), (_local7 + _local15), (_local8 + _local14), (_local9 + _local15)); this.applyBlur(this.blurAmount, this.blurQuality); }; } private function transfromView(_arg1:Number3D):Number3D{ Matrix3D.multiplyVector(this.camera.view, _arg1); return (_arg1); } public function unProjectPoint(_arg1:Number3D):Number3D{ return (Number3D.add(_arg1, new Number3D(this.camera.x, this.camera.y, this.camera.z))); } private function calculateCorner(_arg1:Array):Object{ var _local2:Number; var _local3:Number3D; _local2 = this.camera.focalLength; _local3 = this.transfromView(this.projectPoint(new Number3D(_arg1[0], _arg1[1], _arg1[2]))); if ((_local3.z / _local2) >= 0.8){ this.visible = false; } else { this.visible = true; }; return ({x:(_local3.x / (1 - (_local3.z / _local2))), y:(_local3.y / (1 - (_local3.z / _local2)))}); } public function set visible(_arg1:Boolean):void{ this.container.visible = _arg1; } override public function set x(_arg1:Number):void{ this.transform.n14 = _arg1; } override public function set y(_arg1:Number):void{ this.transform.n24 = _arg1; } override public function set z(_arg1:Number):void{ this.transform.n34 = _arg1; } override public function get y():Number{ return (this.transform.n24); } override public function get z():Number{ return (this.transform.n34); } } }//package com.jumpeye.flashEff2.symbol.fe3D.objects
Section 22
//JFE3DObject (com.jumpeye.flashEff2.symbol.fe3D.objects.JFE3DObject) package com.jumpeye.flashEff2.symbol.fe3D.objects { import flash.display.*; import flash.filters.*; import com.jumpeye.flashEff2.utils.distort.*; public class JFE3DObject { protected var renderEngine:JDistortImage; protected var __texture:BitmapData; private var __x:Number; private var __y:Number; private var __z:Number; private var __corners:Array; protected var __container:Sprite; public function JFE3DObject(_arg1:Sprite):void{ this.__container = _arg1; } public function applyBlur(_arg1:Number, _arg2:Number=1){ var _local3:BitmapFilter; var _local4:Array; _local3 = new BlurFilter(_arg1, _arg1, _arg2); if (_arg1 > 0){ _local4 = new Array(); _local4.push(_local3); this.container.filters = _local4; } else { this.container.filters = []; }; } public function get container():Sprite{ return (this.__container); } public function updateContent(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number){ this.renderEngine.setTransform(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function get texture():BitmapData{ return (this.__texture); } public function set y(_arg1:Number):void{ this.__y = _arg1; } public function set z(_arg1:Number):void{ this.__z = _arg1; } private function distance(_arg1:Number, _arg2:Number):Number{ return (Math.sqrt(((_arg1 * _arg1) + (_arg2 * _arg2)))); } public function get x():Number{ return (this.__x); } public function get y():Number{ return (this.__y); } public function get z():Number{ return (this.__z); } public function set corners(_arg1:Array):void{ this.__corners = _arg1; } public function set texture(_arg1:BitmapData):void{ if (_arg1 != null){ this.__texture = _arg1; this.renderEngine = new JDistortImage(this.container, _arg1, 2, 2); }; } public function get corners():Array{ return (this.__corners); } public function set x(_arg1:Number):void{ this.__x = _arg1; } } }//package com.jumpeye.flashEff2.symbol.fe3D.objects
Section 23
//JFE3DScene (com.jumpeye.flashEff2.symbol.fe3D.spaces.JFE3DScene) package com.jumpeye.flashEff2.symbol.fe3D.spaces { import com.jumpeye.flashEff2.symbol.fe3D.objects.*; import com.jumpeye.flashEff2.text.fe3D.*; public class JFE3DScene { protected var items:Array; public var middleX:Number;// = 0 public var middleY:Number;// = 0 public var middleZ:Number;// = 0 protected var totalItems:Number;// = 0 public function JFE3DScene(){ totalItems = 0; middleX = 0; middleY = 0; middleZ = 0; super(); this.items = []; } public function pushItem(_arg1:JFE3DDisplayObject):JFE3DDisplayObject{ this.items.push(_arg1); this.totalItems++; return (this.items[(this.totalItems - 1)]); } public function rotateScene(_arg1:JFE3DCamera, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):void{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Matrix3D; _local5 = Math.sqrt((((_arg2 * _arg2) + (_arg3 * _arg3)) + (_arg4 * _arg4))); if (_local5 > 0.001){ _arg2 = (_arg2 / _local5); _arg3 = (_arg3 / _local5); _arg4 = (_arg4 / _local5); _local6 = Math.cos(_local5); _local7 = Math.sin(_local5); _local8 = (1 - _local6); _local9 = new Matrix3D(); _local9.n11 = (((_local8 * _arg2) * _arg2) + _local6); _local9.n12 = (((_local8 * _arg2) * _arg3) - (_local7 * _arg4)); _local9.n13 = (((_local8 * _arg2) * _arg4) + (_local7 * _arg3)); _local9.n21 = (((_local8 * _arg2) * _arg3) + (_local7 * _arg4)); _local9.n22 = (((_local8 * _arg3) * _arg3) + _local6); _local9.n23 = (((_local8 * _arg3) * _arg4) - (_local7 * _arg2)); _local9.n31 = (((_local8 * _arg2) * _arg4) - (_local7 * _arg3)); _local9.n32 = (((_local8 * _arg3) * _arg4) + (_local7 * _arg2)); _local9.n33 = (((_local8 * _arg4) * _arg4) + _local6); _arg1.transform = Matrix3D.multiply(_arg1.transform, _local9); _arg1.view = Matrix3D.inverse(_arg1.transform); }; } public function get childrens():Array{ return (this.items); } public function renderCamera():void{ this.renderObjects(); } public function renderObjects():void{ var _local1:Array; var _local2:Number; var _local3:JFE3DDisplayObject; _local1 = this.items; _local2 = this.totalItems; while ((_local3 = _local1[--_local2])) { _local3.render(this); }; } public function clearScene():void{ this.items = []; } } }//package com.jumpeye.flashEff2.symbol.fe3D.spaces
Section 24
//FeTDefaultFade (com.jumpeye.flashEff2.text.defaultFade.FeTDefaultFade) package com.jumpeye.flashEff2.text.defaultFade { import flash.events.*; import com.jumpeye.Events.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import flash.filters.*; import flash.utils.*; public class FeTDefaultFade extends IFlashEffSymbol { private var _partialStart:Number;// = 50 private var _partialBlurAmount:Number;// = 0 protected var delay:Number; protected var finishPos:uint; protected var time:Number;// = 0 protected var startPos:uint; protected var duration:Number;// = 1 protected var tweenTimer:Timer; protected var change:int; protected var isTimer:Boolean;// = false public function FeTDefaultFade(_arg1:JUIComponent=null){ this.component = _arg1; _easeType = "easeOut"; _tweenType = "Quadratic"; } override public function remove():void{ if (this.tweenTimer != null){ this.tweenTimer.removeEventListener(TimerEvent.TIMER, timerHandler); }; if (this.component != null){ this.component.removeEventListener(Event.ENTER_FRAME, enterFrame); }; this.tweenTimer = null; if (this.target != null){ this.target.filters = []; }; } protected function timerHandler(_arg1:TimerEvent):void{ this.time = (this.time + this.delay); if (this.time > this.duration){ this.time = this.duration; this.tweenTimer.removeEventListener(TimerEvent.TIMER, timerHandler); this.isTimer = false; }; } public function set partialStart(_arg1:Number):void{ this._partialStart = _arg1; } public function get partialBlurAmount():Number{ return (this._partialBlurAmount); } protected function startTransition(_arg1:Boolean=true):void{ startPos = 1; finishPos = 0; if (_arg1 == true){ startPos = 0; finishPos = 1; }; this.change = (finishPos - startPos); this.target.alpha = startPos; this.duration = ((this.tweenDuration * (1 - (this.partialStart / 100))) * 1000); if (duration <= 0){ duration = 1; }; this.delay = 30; if (duration > (this.delay / 2)){ this.tweenTimer = new Timer(delay); this.tweenTimer.addEventListener(TimerEvent.TIMER, timerHandler); this.time = 0; this.isTimer = true; this.tweenTimer.start(); this.component.addEventListener(Event.ENTER_FRAME, enterFrame); } else { this.time = this.duration; this.enterFrame(); }; } public function set partialBlurAmount(_arg1:Number):void{ this._partialBlurAmount = _arg1; } public function get partialStart():Number{ return (this._partialStart); } override public function hide():void{ if (this.target != null){ this.startTransition(false); }; } protected function enterFrame(_arg1:Event=null):void{ var _local6:FLASHEFFEvents; var _local2:Number = (((this.change * this.time) / this.duration) + this.startPos); this.target.alpha = _local2; var _local3:Number = (this.partialBlurAmount * (1 - _local2)); var _local4:BitmapFilter = new BlurFilter(_local3, _local3, 2); var _local5:Array = new Array(); _local5.push(_local4); this.target.filters = _local5; if (this.isTimer == false){ this.remove(); _local6 = new FLASHEFFEvents("defaultPatternFinish"); this.component.dispatchEvent(_local6); }; } protected function motionFinish(_arg1:Event):void{ } override public function show():void{ if (this.target != null){ this.startTransition(true); }; } } }//package com.jumpeye.flashEff2.text.defaultFade
Section 25
//JFE3DPresets (com.jumpeye.flashEff2.text.fe3D.JFE3DPresets) package com.jumpeye.flashEff2.text.fe3D { import flash.display.*; public class JFE3DPresets { public static function writeLinePresetFunction(_arg1:Number, _arg2:Object, _arg3:Sprite){ var preset = _arg1; var propOwner = _arg2; var textOwnerClip = _arg3; switch (preset){ default: propOwner.teorecticSpace = 0.01; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return (0); }; break; case 30: propOwner.teorecticSpace = (Math.sqrt(((textOwnerClip.width * textOwnerClip.width) + (textOwnerClip.height * textOwnerClip.height))) / 2); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ var _local6:Number; var _local7:Number; _local6 = (_arg1 - _arg3); _local7 = (_arg2 - _arg4); return (-(Math.sqrt(Math.abs((((propOwner.teorecticSpace * propOwner.teorecticSpace) - (_local6 * _local6)) - (_local7 * _local7)))))); }; break; case 31: propOwner.teorecticSpace = (Math.sqrt(((textOwnerClip.width * textOwnerClip.width) + (textOwnerClip.height * textOwnerClip.height))) / 2); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ var _local6:Number; var _local7:Number; _local6 = (_arg1 - _arg3); _local7 = (_arg2 - _arg4); return ((Math.sqrt(Math.abs((((propOwner.teorecticSpace * propOwner.teorecticSpace) - (_local6 * _local6)) - (_local7 * _local7)))) - propOwner.teorecticSpace)); }; break; case 32: propOwner.teorecticSpace = textOwnerClip.height; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return ((_arg2 - propOwner.teorecticSpace)); }; break; case 33: propOwner.teorecticSpace = textOwnerClip.height; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return (-(_arg2)); }; break; case 34: propOwner.teorecticSpace = textOwnerClip.width; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return ((-(Math.random()) * propOwner.teorecticSpace)); }; break; }; } public static function writePresetFunction(_arg1:Number, _arg2:Object, _arg3:Sprite){ var preset = _arg1; var propOwner = _arg2; var textOwnerClip = _arg3; switch (preset){ default: propOwner.teorecticSpace = 0.01; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return (0); }; break; case 2: propOwner.teorecticSpace = (Math.sqrt(((textOwnerClip.width * textOwnerClip.width) + (textOwnerClip.height * textOwnerClip.height))) / 2); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ var _local6:Number; var _local7:Number; _local6 = (_arg1 - _arg3); _local7 = (_arg2 - _arg4); return (-(Math.sqrt(Math.abs((((propOwner.teorecticSpace * propOwner.teorecticSpace) - (_local6 * _local6)) - (_local7 * _local7)))))); }; break; case 3: propOwner.teorecticSpace = (Math.sqrt(((textOwnerClip.width * textOwnerClip.width) + (textOwnerClip.height * textOwnerClip.height))) / 2); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ var _local6:Number; var _local7:Number; _local6 = (_arg1 - _arg3); _local7 = (_arg2 - _arg4); return ((Math.sqrt(Math.abs((((propOwner.teorecticSpace * propOwner.teorecticSpace) - (_local6 * _local6)) - (_local7 * _local7)))) - propOwner.teorecticSpace)); }; break; case 4: propOwner.teorecticSpace = (textOwnerClip.width / 2); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ var _local6:Number; var _local7:Number; var _local8:Number; _local6 = (_arg1 - _arg3); _local7 = (_arg2 - _arg4); _local8 = propOwner.teorecticSpace; return ((Math.sqrt(((_local8 * _local8) - (_local6 * _local6))) - propOwner.teorecticSpace)); }; break; case 5: propOwner.teorecticSpace = (textOwnerClip.width / 2); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ var _local6:Number; var _local7:Number; var _local8:Number; _local6 = (_arg1 - _arg3); _local7 = (_arg2 - _arg4); _local8 = propOwner.teorecticSpace; return (-(Math.sqrt(((_local8 * _local8) - (_local6 * _local6))))); }; break; case 6: propOwner.teorecticSpace = textOwnerClip.width; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return (-(_arg1)); }; break; case 7: propOwner.teorecticSpace = textOwnerClip.width; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return ((_arg1 - propOwner.teorecticSpace)); }; break; case 8: propOwner.teorecticSpace = textOwnerClip.height; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return ((_arg2 - propOwner.teorecticSpace)); }; break; case 9: propOwner.teorecticSpace = textOwnerClip.height; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return (-(_arg2)); }; break; case 10: propOwner.teorecticSpace = (textOwnerClip.width + textOwnerClip.height); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return ((-(_arg1) - _arg2)); }; break; case 11: propOwner.teorecticSpace = (textOwnerClip.width + textOwnerClip.height); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return (-(((textOwnerClip.width - _arg1) + _arg2))); }; break; case 12: propOwner.teorecticSpace = (textOwnerClip.width + textOwnerClip.height); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return (-(((textOwnerClip.height - _arg2) + _arg1))); }; break; case 13: propOwner.teorecticSpace = (textOwnerClip.width + textOwnerClip.height); propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return (-(((propOwner.teorecticSpace + _arg1) + _arg2))); }; break; case 14: propOwner.teorecticSpace = textOwnerClip.width; propOwner.getZPosition = function (_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{ return ((-(Math.random()) * propOwner.teorecticSpace)); }; break; }; } } }//package com.jumpeye.flashEff2.text.fe3D
Section 26
//Matrix3D (com.jumpeye.flashEff2.text.fe3D.Matrix3D) package com.jumpeye.flashEff2.text.fe3D { public class Matrix3D { public var n31:Number; public var n32:Number; public var n11:Number; public var n13:Number; public var n14:Number; public var n33:Number; public var n12:Number; public var n21:Number; public var n22:Number; public var n23:Number; public var n24:Number; public var n34:Number; private static var toRADIANS:Number = 0.0174532925199433; private static var toDEGREES:Number = 57.2957795130823; public function Matrix3D(_arg1:Array=null){ if (((!(_arg1)) || ((_arg1.length < 12)))){ n11 = (n22 = (n33 = 1)); n12 = (n13 = (n14 = (n21 = (n23 = (n24 = (n31 = (n32 = (n34 = 0)))))))); } else { n11 = _arg1[0]; n12 = _arg1[1]; n13 = _arg1[2]; n14 = _arg1[3]; n21 = _arg1[4]; n22 = _arg1[5]; n23 = _arg1[6]; n24 = _arg1[7]; n31 = _arg1[8]; n32 = _arg1[9]; n33 = _arg1[10]; n34 = _arg1[11]; }; } public function get det():Number{ return ((((((this.n11 * this.n22) - (this.n21 * this.n12)) * this.n33) - (((this.n11 * this.n32) - (this.n31 * this.n12)) * this.n23)) + (((this.n21 * this.n32) - (this.n31 * this.n22)) * this.n13))); } public function calculateMultiply(_arg1:Matrix3D, _arg2:Matrix3D):void{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; _local3 = _arg1.n11; _local4 = _arg2.n11; _local5 = _arg1.n21; _local6 = _arg2.n21; _local7 = _arg1.n31; _local8 = _arg2.n31; _local9 = _arg1.n12; _local10 = _arg2.n12; _local11 = _arg1.n22; _local12 = _arg2.n22; _local13 = _arg1.n32; _local14 = _arg2.n32; _local15 = _arg1.n13; _local16 = _arg2.n13; _local17 = _arg1.n23; _local18 = _arg2.n23; _local19 = _arg1.n33; _local20 = _arg2.n33; _local21 = _arg1.n14; _local22 = _arg2.n14; _local23 = _arg1.n24; _local24 = _arg2.n24; _local25 = _arg1.n34; _local26 = _arg2.n34; this.n11 = (((_local3 * _local4) + (_local9 * _local6)) + (_local15 * _local8)); this.n12 = (((_local3 * _local10) + (_local9 * _local12)) + (_local15 * _local14)); this.n13 = (((_local3 * _local16) + (_local9 * _local18)) + (_local15 * _local20)); this.n14 = ((((_local3 * _local22) + (_local9 * _local24)) + (_local15 * _local26)) + _local21); this.n21 = (((_local5 * _local4) + (_local11 * _local6)) + (_local17 * _local8)); this.n22 = (((_local5 * _local10) + (_local11 * _local12)) + (_local17 * _local14)); this.n23 = (((_local5 * _local16) + (_local11 * _local18)) + (_local17 * _local20)); this.n24 = ((((_local5 * _local22) + (_local11 * _local24)) + (_local17 * _local26)) + _local23); this.n31 = (((_local7 * _local4) + (_local13 * _local6)) + (_local19 * _local8)); this.n32 = (((_local7 * _local10) + (_local13 * _local12)) + (_local19 * _local14)); this.n33 = (((_local7 * _local16) + (_local13 * _local18)) + (_local19 * _local20)); this.n34 = ((((_local7 * _local22) + (_local13 * _local24)) + (_local19 * _local26)) + _local25); } public function calculateInverse(_arg1:Matrix3D):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local2 = _arg1.det; if (Math.abs(_local2) > 0.001){ _local2 = (1 / _local2); _local3 = _arg1.n11; _local4 = _arg1.n21; _local5 = _arg1.n31; _local6 = _arg1.n12; _local7 = _arg1.n22; _local8 = _arg1.n32; _local9 = _arg1.n13; _local10 = _arg1.n23; _local11 = _arg1.n33; _local12 = _arg1.n14; _local13 = _arg1.n24; _local14 = _arg1.n34; this.n11 = (_local2 * ((_local7 * _local11) - (_local8 * _local10))); this.n12 = (-(_local2) * ((_local6 * _local11) - (_local8 * _local9))); this.n13 = (_local2 * ((_local6 * _local10) - (_local7 * _local9))); this.n14 = (-(_local2) * (((_local6 * ((_local10 * _local14) - (_local11 * _local13))) - (_local7 * ((_local9 * _local14) - (_local11 * _local12)))) + (_local8 * ((_local9 * _local13) - (_local10 * _local12))))); this.n21 = (-(_local2) * ((_local4 * _local11) - (_local5 * _local10))); this.n22 = (_local2 * ((_local3 * _local11) - (_local5 * _local9))); this.n23 = (-(_local2) * ((_local3 * _local10) - (_local4 * _local9))); this.n24 = (_local2 * (((_local3 * ((_local10 * _local14) - (_local11 * _local13))) - (_local4 * ((_local9 * _local14) - (_local11 * _local12)))) + (_local5 * ((_local9 * _local13) - (_local10 * _local12))))); this.n31 = (_local2 * ((_local4 * _local8) - (_local5 * _local7))); this.n32 = (-(_local2) * ((_local3 * _local8) - (_local5 * _local6))); this.n33 = (_local2 * ((_local3 * _local7) - (_local4 * _local6))); this.n34 = (-(_local2) * (((_local3 * ((_local7 * _local14) - (_local8 * _local13))) - (_local4 * ((_local6 * _local14) - (_local8 * _local12)))) + (_local5 * ((_local6 * _local13) - (_local7 * _local12))))); }; } public static function inverse(_arg1:Matrix3D):Matrix3D{ var _local2:Matrix3D; _local2 = new (Matrix3D); _local2.calculateInverse(_arg1); return (_local2); } public static function multiply(_arg1:Matrix3D, _arg2:Matrix3D):Matrix3D{ var _local3:Matrix3D; _local3 = new (Matrix3D); _local3.calculateMultiply(_arg1, _arg2); return (_local3); } public static function multiplyVector(_arg1:Matrix3D, _arg2:Number3D):void{ var _local3:Number; var _local4:Number; var _local5:Number; _local3 = _arg2.x; _local4 = _arg2.y; _local5 = _arg2.z; _arg2.x = ((((_local3 * _arg1.n11) + (_local4 * _arg1.n12)) + (_local5 * _arg1.n13)) + _arg1.n14); _arg2.y = ((((_local3 * _arg1.n21) + (_local4 * _arg1.n22)) + (_local5 * _arg1.n23)) + _arg1.n24); _arg2.z = ((((_local3 * _arg1.n31) + (_local4 * _arg1.n32)) + (_local5 * _arg1.n33)) + _arg1.n34); } public static function scaleMatrix(_arg1:Number, _arg2:Number, _arg3:Number):Matrix3D{ var _local4:Matrix3D; _local4 = IDENTITY; _local4.n11 = _arg1; _local4.n22 = _arg2; _local4.n33 = _arg3; return (_local4); } public static function clone(_arg1:Matrix3D):Matrix3D{ return (new Matrix3D([_arg1.n11, _arg1.n12, _arg1.n13, _arg1.n14, _arg1.n21, _arg1.n22, _arg1.n23, _arg1.n24, _arg1.n31, _arg1.n32, _arg1.n33, _arg1.n34])); } public static function get IDENTITY():Matrix3D{ return (new Matrix3D([1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0])); } } }//package com.jumpeye.flashEff2.text.fe3D
Section 27
//Number3D (com.jumpeye.flashEff2.text.fe3D.Number3D) package com.jumpeye.flashEff2.text.fe3D { public class Number3D { public var x:Number; public var y:Number; public var z:Number; public function Number3D(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0){ this.x = _arg1; this.y = _arg2; this.z = _arg3; } public function get modulo():Number{ return (Math.sqrt((((this.x * this.x) + (this.y * this.y)) + (this.z * this.z)))); } public function normalize():void{ var _local1:Number; _local1 = this.modulo; if (((!((_local1 == 0))) && (!((_local1 == 1))))){ this.x = (this.x / _local1); this.y = (this.y / _local1); this.z = (this.z / _local1); }; } public static function sub(_arg1:Number3D, _arg2:Number3D):Number3D{ return (new Number3D((_arg1.x - _arg2.x), (_arg1.y - _arg2.y), (_arg1.z - _arg2.z))); } public static function add(_arg1:Number3D, _arg2:Number3D):Number3D{ return (new Number3D((_arg1.x + _arg2.x), (_arg1.y + _arg2.y), (_arg1.z + _arg2.z))); } public static function get ZERO():Number3D{ return (new Number3D(0, 0, 0)); } public static function cross(_arg1:Number3D, _arg2:Number3D):Number3D{ return (new Number3D(((_arg2.y * _arg1.z) - (_arg2.z * _arg1.y)), ((_arg2.z * _arg1.x) - (_arg2.x * _arg1.z)), ((_arg2.x * _arg1.y) - (_arg2.y * _arg1.x)))); } } }//package com.jumpeye.flashEff2.text.fe3D
Section 28
//FeChar (com.jumpeye.flashEff2.text.FeChar) package com.jumpeye.flashEff2.text { import flash.display.*; import flash.text.*; public dynamic class FeChar extends Sprite { private var _id:Number; private var _textField:TextField; private var _properties:Object; private var _bottomPosition:Number; private var _htmlText:String;// = "" private var _type:String;// = "FeChar" public function FeChar(_arg1:Number, _arg2:Number, _arg3:Object){ init(); this.text = ((_arg3.text) || ("")); this.id = _arg3.id; this.x = _arg1; this.y = _arg2; this.properties = _arg3; this.textField.embedFonts = true; } public function get textField():TextField{ return (_textField); } private function init(){ this.textField = new TextField(); this.textField.autoSize = TextFieldAutoSize.LEFT; this.textField.selectable = false; this.addChild(this.textField); } public function set text(_arg1:String):void{ this.textField.text = _arg1; _htmlText = _arg1; } public function get id():Number{ return (this._id); } private function renewPositions(){ this.y = ((this.y + this.bottomPosition) - this.textField.getLineMetrics(0).ascent); } public function set textField(_arg1:TextField):void{ _textField = _arg1; } public function set bottomPosition(_arg1:Number):void{ _bottomPosition = _arg1; } public function applyTextFormat(_arg1:TextFormat):void{ _arg1.leading = 0; _arg1.leftMargin = 0; _arg1.rightMargin = 0; _arg1.letterSpacing = 0; _arg1.indent = 0; _arg1.blockIndent = 0; _arg1.align = "left"; this.textField.setTextFormat(_arg1); if (this.textField.getTextFormat().italic == true){ this.textField.autoSize = TextFieldAutoSize.LEFT; this.textField.width = (this.textField.width + (this.textField.height * 0.2125)); this.textField.autoSize = TextFieldAutoSize.NONE; }; this.renewPositions(); } public function get text():String{ return (this.textField.text); } public function set htmlText(_arg1:String):void{ trace(_arg1); this.textField.htmlText = _arg1; _htmlText = _arg1; } public function get properties():Object{ return (this._properties); } public function get bottomPosition():Number{ return (_bottomPosition); } public function set properties(_arg1:Object):void{ this._properties = _arg1; } public function set id(_arg1:Number):void{ this._id = _arg1; } public function get htmlText():String{ return (_htmlText); } public function get type():String{ return (this._type); } } }//package com.jumpeye.flashEff2.text
Section 29
//FeGroup (com.jumpeye.flashEff2.text.FeGroup) package com.jumpeye.flashEff2.text { import flash.utils.*; public dynamic class FeGroup extends FeTable { private var _type:String;// = "FeGroup" private var _id:Number; private var _text:String; private var _properties:Object; public function FeGroup(_arg1:Number, _arg2:Number, _arg3:Object){ init(); this.x = ((_arg1) || (0)); this.y = ((_arg2) || (0)); this.text = _arg3.text; this.id = _arg3.id; this.properties = _arg3; } public function set properties(_arg1:Object):void{ this._properties = _arg1; } public function set text(_arg1:String):void{ this._text = _arg1; } public function get text():String{ return (this._text); } override public function set childs(_arg1:Array):void{ var className:String; var classInstance:Class; var child:*; var arg = _arg1; var len:uint = arg.length; var i:uint; while (i < len) { className = arg[i].type; try { classInstance = (getDefinitionByName(("com.jumpeye.flashEff2.text." + className)) as Class); child = new classInstance(arg[i].x, arg[i].y, arg[i]); this.addChild(child); this._childs.push(arg); } catch(e) { throw (e); }; i = (i + 1); }; } private function init(){ } public function get properties():Object{ return (this._properties); } public function set id(_arg1:Number):void{ this._id = _arg1; } override public function get childs():Array{ return (super.childs); } override public function get type():String{ return (this._type); } public function get id():Number{ return (this._id); } } }//package com.jumpeye.flashEff2.text
Section 30
//FeTable (com.jumpeye.flashEff2.text.FeTable) package com.jumpeye.flashEff2.text { import flash.display.*; import flash.utils.*; public class FeTable extends Sprite { private var tempChar:FeChar; private var tempGroup:FeGroup; private var _type:String;// = "FeTable" protected var _childs:Array; public function FeTable(){ init(); _childs = []; } public function cleanMe():void{ var _local2:*; var _local1:* = 0; while (_local1 < this._childs.length) { _local2 = this._childs[_local1]; if (_local2.type != "FeChar"){ _local2.cleanMe(); }; if (_local2.numChildren == 0){ this.removeChildAtIndex(_local1); } else { _local1++; }; }; } public function pushChild(_arg1:Object):Object{ var classInstance:Class; var child:*; var arg = _arg1; var className:String = arg.type; try { classInstance = (getDefinitionByName(("com.jumpeye.flashEff2.text." + className)) as Class); child = new classInstance(arg.x, arg.y, arg); this.addChild(child); this._childs.push(child); } catch(e) { throw (e); }; return (child); } public function removeChildAtIndex(_arg1:uint):Object{ this.removeChildAt(_arg1); return (this._childs.splice(_arg1, 1)[0]); } public function set childs(_arg1:Array):void{ var _local2:uint = _arg1.length; this._childs = []; var _local3:uint; while (_local3 < _local2) { this.pushChild(_arg1[_local3]); _local3++; }; } private function init(){ } public function get childs():Array{ return (_childs); } public function get type():String{ return (this._type); } public function removeChilds():void{ var _local1:uint = this._childs.length; var _local2:uint; while (_local2 < _local1) { if (this._childs[_local2].type == "FeGroup"){ this._childs[_local2].removeChilds(); }; this.removeChild(this._childs[_local2]); _local2++; }; this._childs = []; } } }//package com.jumpeye.flashEff2.text
Section 31
//JDistortImage (com.jumpeye.flashEff2.utils.distort.JDistortImage) package com.jumpeye.flashEff2.utils.distort { import flash.display.*; import flash.geom.*; public class JDistortImage { private var _yMax:Number; private var _hsLen:Number; private var _hseg:Number; private var _vsLen:Number; public var texture:BitmapData; private var _xMin:Number; private var _h:Number; private var _xMax:Number; private var _tri:Array; public var smooth:Boolean;// = false private var _p:Array; private var _aMcs:Array; private var _mc:Sprite; private var _w:Number; private var _vseg:Number; private var _yMin:Number; public function JDistortImage(_arg1:Sprite, _arg2, _arg3:Number, _arg4:Number):void{ _mc = _arg1; texture = _arg2; _vseg = _arg3; _hseg = _arg4; _w = texture.width; _h = texture.height; _aMcs = new Array(); _p = new Array(); _tri = new Array(); init(); } public function setTransform(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{ var _local16:Object; var _local17:*; var _local18:*; var _local19:*; var _local20:*; var _local9:Number = _w; var _local10:Number = _h; var _local11:Number = (_arg7 - _arg1); var _local12:Number = (_arg8 - _arg2); var _local13:Number = (_arg5 - _arg3); var _local14:Number = (_arg6 - _arg4); var _local15:Number = _p.length; while (--_local15 > -1) { _local16 = _p[_local15]; _local17 = ((_local16.x - _xMin) / _local9); _local18 = ((_local16.y - _yMin) / _local10); _local19 = (_arg1 + (_local18 * _local11)); _local20 = (_arg2 + (_local18 * _local12)); _local16.sx = (_local19 + (_local17 * ((_arg3 + (_local18 * _local13)) - _local19))); _local16.sy = (_local20 + (_local17 * ((_arg4 + (_local18 * _local14)) - _local20))); }; render(); } private function addTriangle(_arg1:Object, _arg2:Object, _arg3:Object):void{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Object = {}; _local4 = _arg1.x; _local5 = _arg1.y; _local6 = _arg2.x; _local7 = _arg2.y; _local8 = _arg3.x; _local9 = _arg3.y; _local10.tx = (-(_local5) * (_w / (_local7 - _local5))); _local10.ty = (-(_local4) * (_h / (_local8 - _local4))); _local10.a = (_local10.d = 0); _local10.b = (_h / (_local8 - _local4)); _local10.c = (_w / (_local7 - _local5)); _tri.push([_arg1, _arg2, _arg3, _local10]); } private function init():void{ var _local1:Number; var _local2:Number; var _local5:Number; var _local6:Number; var _local7:Object; var _local8:Object; var _local9:Object; _p = new Array(); _tri = new Array(); var _local3:Number = (_w / 2); var _local4:Number = (_h / 2); _xMin = (_yMin = 0); _xMax = _w; _yMax = _h; _hsLen = (_w / (_hseg + 1)); _vsLen = (_h / (_vseg + 1)); _local1 = 0; while (_local1 < (_hseg + 2)) { _local2 = 0; while (_local2 < (_vseg + 2)) { _local5 = (_local1 * _hsLen); _local6 = (_local2 * _vsLen); _p.push({x:_local5, y:_local6, sx:_local5, sy:_local6}); _local2++; }; _local1++; }; _local1 = 0; while (_local1 < (_vseg + 1)) { _local2 = 0; while (_local2 < (_hseg + 1)) { _local7 = _p[(_local2 + (_local1 * (_hseg + 2)))]; _local8 = _p[((_local2 + (_local1 * (_hseg + 2))) + 1)]; _local9 = _p[(_local2 + ((_local1 + 1) * (_hseg + 2)))]; addTriangle(_local7, _local8, _local9); _local7 = _p[((_local2 + ((_local1 + 1) * (_vseg + 2))) + 1)]; _local8 = _p[(_local2 + ((_local1 + 1) * (_vseg + 2)))]; _local9 = _p[((_local2 + (_local1 * (_vseg + 2))) + 1)]; addTriangle(_local7, _local8, _local9); _local2++; }; _local1++; }; render(); } private function concat(_arg1, _arg2):Object{ var _local3:Matrix = new Matrix(); _local3.a = (_arg1.c * _arg2.b); _local3.b = (_arg1.d * _arg2.b); _local3.c = (_arg1.a * _arg2.c); _local3.d = (_arg1.b * _arg2.c); _local3.tx = (((_arg1.a * _arg2.tx) + (_arg1.c * _arg2.ty)) + _arg1.tx); _local3.ty = (((_arg1.b * _arg2.tx) + (_arg1.d * _arg2.ty)) + _arg1.ty); return (_local3); } private function render():void{ var _local1:Array; var _local2:*; var _local3:*; var _local4:Object; var _local5:Number; var _local6:Number; var _local10:Array; var _local7:Number = (1 / _h); var _local8:Number = (1 / _w); var _local9:Sprite = _mc; _local9.graphics.clear(); var _local11:* = new Matrix(); var _local12:* = {}; var _local13:Number = _tri.length; while (--_local13 > -1) { _local10 = _tri[_local13]; _local2 = _local10[0]; _local3 = _local10[1]; _local4 = _local10[2]; _local12 = _local10[3]; _local5 = _local2.sx; _local11.a = ((_local3.sx - _local5) * _local8); _local6 = _local2.sy; _local11.b = ((_local3.sy - _local6) * _local8); _local11.c = ((_local4.sx - _local5) * _local7); _local11.d = ((_local4.sy - _local6) * _local7); _local11.tx = _local5; _local11.ty = _local6; _local11 = this.concat(_local11, _local12); _local9.graphics.beginBitmapFill(texture, _local11, false, this.smooth); _local9.graphics.moveTo(_local5, _local6); _local9.graphics.lineTo(_local3.sx, _local3.sy); _local9.graphics.lineTo(_local4.sx, _local4.sy); _local9.graphics.endFill(); }; } } }//package com.jumpeye.flashEff2.utils.distort
Section 32
//Quadratic (com.jumpeye.transitions.easing.Quadratic) package com.jumpeye.transitions.easing { public class Quadratic { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } } }//package com.jumpeye.transitions.easing
Section 33
//QuadraticEase (com.jumpeye.transitions.easing.QuadraticEase) package com.jumpeye.transitions.easing { import flash.display.*; public class QuadraticEase extends Sprite { public function QuadraticEase(){ var _local1:Quadratic; super(); _local1 = new Quadratic(); } } }//package com.jumpeye.transitions.easing
Section 34
//Strong (com.jumpeye.transitions.easing.Strong) package com.jumpeye.transitions.easing { public class Strong { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } } }//package com.jumpeye.transitions.easing
Section 35
//StrongEase (com.jumpeye.transitions.easing.StrongEase) package com.jumpeye.transitions.easing { import flash.display.*; public class StrongEase extends Sprite { public function StrongEase(){ var _local1:*; super(); _local1 = new Strong(); } } }//package com.jumpeye.transitions.easing
Section 36
//BevelFilterPlugin (com.jumpeye.transitions.plugins.BevelFilterPlugin) package com.jumpeye.transitions.plugins { import flash.display.*; import flash.filters.*; import com.jumpeye.transitions.*; public class BevelFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function BevelFilterPlugin(){ this.propName = "bevelFilter"; this.overwriteProps = ["bevelFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = BevelFilter; initFilter(_arg2, new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_arg2.quality) || (2)))); return (true); } } }//package com.jumpeye.transitions.plugins
Section 37
//BlurFilterPlugin (com.jumpeye.transitions.plugins.BlurFilterPlugin) package com.jumpeye.transitions.plugins { import flash.display.*; import flash.filters.*; import com.jumpeye.transitions.*; public class BlurFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function BlurFilterPlugin(){ this.propName = "blurFilter"; this.overwriteProps = ["blurFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = BlurFilter; initFilter(_arg2, new BlurFilter(0, 0, ((_arg2.quality) || (2)))); return (true); } } }//package com.jumpeye.transitions.plugins
Section 38
//ColorMatrixFilterPlugin (com.jumpeye.transitions.plugins.ColorMatrixFilterPlugin) package com.jumpeye.transitions.plugins { import flash.display.*; import flash.filters.*; import com.jumpeye.transitions.*; public class ColorMatrixFilterPlugin extends FilterPlugin { protected var _matrix:Array; protected var _matrixTween:EndArrayPlugin; public static const API:Number = 1; public static const VERSION:Number = 1.01; protected static var _lumG:Number = 0.71516; protected static var _lumR:Number = 0.212671; protected static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; protected static var _lumB:Number = 0.072169; public function ColorMatrixFilterPlugin(){ this.propName = "colorMatrixFilter"; this.overwriteProps = ["colorMatrixFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:Object; var _local5:Array; _target = _arg1; _type = ColorMatrixFilter; _local4 = _arg2; initFilter({}, new ColorMatrixFilter(_idMatrix.slice())); _matrix = ColorMatrixFilter(_filter).matrix; _local5 = []; if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){ _local5 = _local4.matrix; } else { if (_local4.relative == true){ _local5 = _matrix.slice(); } else { _local5 = _idMatrix.slice(); }; _local5 = setBrightness(_local5, _local4.brightness); _local5 = setContrast(_local5, _local4.contrast); _local5 = setHue(_local5, _local4.hue); _local5 = setSaturation(_local5, _local4.saturation); _local5 = setThreshold(_local5, _local4.threshold); if (!isNaN(_local4.colorize)){ _local5 = colorize(_local5, _local4.colorize, _local4.amount); }; }; _matrixTween = new EndArrayPlugin(); _matrixTween.init(_matrix, _local5); return (true); } override public function set changeFactor(_arg1:Number):void{ _matrixTween.changeFactor = _arg1; ColorMatrixFilter(_filter).matrix = _matrix; super.changeFactor = _arg1; } public static function setSaturation(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Array; if (isNaN(_arg2)){ return (_arg1); }; _local3 = (1 - _arg2); _local4 = (_local3 * _lumR); _local5 = (_local3 * _lumG); _local6 = (_local3 * _lumB); _local7 = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local7, _arg1)); } public static function setHue(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Array; if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 * (Math.PI / 180)); _local3 = Math.cos(_arg2); _local4 = Math.sin(_arg2); _local5 = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; return (applyMatrix(_local5, _arg1)); } public static function setThreshold(_arg1:Array, _arg2:Number):Array{ var _local3:Array; if (isNaN(_arg2)){ return (_arg1); }; _local3 = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function applyMatrix(_arg1:Array, _arg2:Array):Array{ var _local3:Array; var _local4:int; var _local5:int; var _local6:int; var _local7:int; if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (_arg2); }; _local3 = []; _local4 = 0; _local5 = 0; _local6 = 0; while (_local6 < 4) { _local7 = 0; while (_local7 < 5) { if (_local7 == 4){ _local5 = _arg1[(_local4 + 4)]; } else { _local5 = 0; }; _local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5); _local7++; }; _local4 = (_local4 + 5); _local6++; }; return (_local3); } public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Array; if (isNaN(_arg2)){ return (_arg1); }; if (isNaN(_arg3)){ _arg3 = 1; }; _local4 = (((_arg2 >> 16) & 0xFF) / 0xFF); _local5 = (((_arg2 >> 8) & 0xFF) / 0xFF); _local6 = ((_arg2 & 0xFF) / 0xFF); _local7 = (1 - _arg3); _local8 = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local8, _arg1)); } public static function setBrightness(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = ((_arg2 * 100) - 100); return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1)); } public static function setContrast(_arg1:Array, _arg2:Number):Array{ var _local3:Array; if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 + 0.01); _local3 = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } } }//package com.jumpeye.transitions.plugins
Section 39
//CustomTintPlugin (com.jumpeye.transitions.plugins.CustomTintPlugin) package com.jumpeye.transitions.plugins { import flash.display.*; import flash.geom.*; import flash.filters.*; import com.jumpeye.transitions.*; import fl.motion.*; import com.jumpeye.transitions.utils.tween.*; public class CustomTintPlugin extends TweenPlugin { protected var _color:Color; protected var _matrixTween:EndArrayPlugin; protected var _matrix:Array; protected var _target:DisplayObject; protected var _tintMultiplier:Number;// = 0 public static const VERSION:Number = 1; public static const API:Number = 1; protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"]; public function CustomTintPlugin(){ this.propName = "customTint"; this.overwriteProps = ["customTint"]; } public function init(_arg1:DisplayObject, _arg2:Color):void{ var _local3:int; var _local4:String; _target = _arg1; _local3 = (_props.length - 1); while (_local3 > -1) { _local4 = _props[_local3]; if (_color[_local4] != _arg2[_local4]){ _tweens[_tweens.length] = new TweenInfo(_color, _local4, _color[_local4], (_arg2[_local4] - _color[_local4]), "customTint", true); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (!(_arg1 is DisplayObject)){ return (false); }; var _local4:Object = _arg2; var _local5:Color = new Color(); var _local6:ColorTransform = (_arg1 as DisplayObject).transform.colorTransform; _color = new Color(_local6.redMultiplier, _local6.greenMultiplier, _local6.blueMultiplier, _local6.alphaMultiplier, _local6.redOffset, _local6.greenOffset, _local6.blueOffset, _local6.alphaOffset); var _local7:Number = _local4.amount; if (isNaN(_local7)){ _local7 = 1; }; _local5.setTint(((_local4.tintColor) || (_color.tintColor)), _local7); init((_arg1 as DisplayObject), _local5); return (true); } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.transform.colorTransform = _color; } } }//package com.jumpeye.transitions.plugins
Section 40
//DropShadowFilterPlugin (com.jumpeye.transitions.plugins.DropShadowFilterPlugin) package com.jumpeye.transitions.plugins { import flash.display.*; import flash.filters.*; import com.jumpeye.transitions.*; public class DropShadowFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function DropShadowFilterPlugin(){ this.propName = "dropShadowFilter"; this.overwriteProps = ["dropShadowFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = DropShadowFilter; initFilter(_arg2, new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout, _arg2.hideObject)); return (true); } } }//package com.jumpeye.transitions.plugins
Section 41
//EndArrayPlugin (com.jumpeye.transitions.plugins.EndArrayPlugin) package com.jumpeye.transitions.plugins { import com.jumpeye.transitions.*; import com.jumpeye.transitions.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 com.jumpeye.transitions.plugins
Section 42
//FilterPlugin (com.jumpeye.transitions.plugins.FilterPlugin) package com.jumpeye.transitions.plugins { import flash.display.*; import flash.filters.*; import com.jumpeye.transitions.*; import com.jumpeye.transitions.utils.tween.*; public class FilterPlugin extends TweenPlugin { protected var _index:int; protected var _filter:BitmapFilter; protected var _type:Class; protected var _remove:Boolean; protected var _target:Object; public static const VERSION:Number = 1.03; public static const API:Number = 1; override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:TweenInfo; var _local4:Array; _local4 = _target.filters; _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1)); _local2--; }; if (!(_local4[_index] is _type)){ _index = (_local4.length - 1); _local2 = (_local4.length - 1); while (_local2 > -1) { if ((_local4[_local2] is _type)){ _index = _local2; break; }; _local2--; }; }; _local4[_index] = _filter; _target.filters = _local4; } public function onCompleteTween():void{ var _local1:int; var _local2:Array; if (_remove){ _local2 = _target.filters; if (!(_local2[_index] is _type)){ _local1 = (_local2.length - 1); while (_local1 > -1) { if ((_local2[_local1] is _type)){ _local2.splice(_local1, 1); break; }; _local1--; }; } else { _local2.splice(_index, 1); }; _target.filters = _local2; }; } protected function initFilter(_arg1:Object, _arg2:BitmapFilter):void{ var _local3:Array; var _local4:String; var _local5:int; var _local6:HexColorsPlugin; var _local7:Object; _local3 = _target.filters; _index = -1; if (_arg1.index != null){ _index = _arg1.index; } else { _local5 = (_local3.length - 1); while (_local5 > -1) { if ((_local3[_local5] is _type)){ _index = _local5; break; }; _local5--; }; }; if ((((((_index == -1)) || ((_local3[_index] == null)))) || ((_arg1.addFilter == true)))){ _index = ((_arg1.index)!=null) ? _arg1.index : _local3.length; _local3[_index] = _arg2; _target.filters = _local3; }; _filter = _local3[_index]; _remove = Boolean((_arg1.remove == true)); if (_remove){ this.onComplete = onCompleteTween; }; _local7 = ((_arg1.isTV)==true) ? _arg1.exposedVars : _arg1; for (_local4 in _local7) { if (((((((((!((_local4 in _filter))) || ((_filter[_local4] == _local7[_local4])))) || ((_local4 == "remove")))) || ((_local4 == "index")))) || ((_local4 == "addFilter")))){ } else { if ((((((_local4 == "color")) || ((_local4 == "highlightColor")))) || ((_local4 == "shadowColor")))){ _local6 = new HexColorsPlugin(); _local6.initColor(_filter, _local4, _filter[_local4], _local7[_local4]); _tweens[_tweens.length] = new TweenInfo(_local6, "changeFactor", 0, 1, _local4, false); } else { if ((((((((_local4 == "quality")) || ((_local4 == "inner")))) || ((_local4 == "knockout")))) || ((_local4 == "hideObject")))){ _filter[_local4] = _local7[_local4]; } else { addTween(_filter, _local4, _filter[_local4], _local7[_local4], _local4); }; }; }; }; } } }//package com.jumpeye.transitions.plugins
Section 43
//GlowFilterPlugin (com.jumpeye.transitions.plugins.GlowFilterPlugin) package com.jumpeye.transitions.plugins { import flash.display.*; import flash.filters.*; import com.jumpeye.transitions.*; public class GlowFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function GlowFilterPlugin(){ this.propName = "glowFilter"; this.overwriteProps = ["glowFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = GlowFilter; initFilter(_arg2, new GlowFilter(0xFFFFFF, 0, 0, 0, ((_arg2.strength) || (1)), ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout)); return (true); } } }//package com.jumpeye.transitions.plugins
Section 44
//HexColorsPlugin (com.jumpeye.transitions.plugins.HexColorsPlugin) package com.jumpeye.transitions.plugins { import com.jumpeye.transitions.*; public class HexColorsPlugin extends TweenPlugin { protected var _colors:Array; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function HexColorsPlugin(){ this.propName = "hexColors"; this.overwriteProps = []; _colors = []; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:Array; _local2 = (_colors.length - 1); while (_local2 > -1) { _local3 = _colors[_local2]; _local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7]))); _local2--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:String; for (_local4 in _arg2) { initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4])); }; return (true); } override public function killProps(_arg1:Object):void{ var _local2:int; _local2 = (_colors.length - 1); while (_local2 > -1) { if (_arg1[_colors[_local2][1]] != undefined){ _colors.splice(_local2, 1); }; _local2--; }; super.killProps(_arg1); } public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{ var _local5:Number; var _local6:Number; var _local7:Number; if (_arg3 != _arg4){ _local5 = (_arg3 >> 16); _local6 = ((_arg3 >> 8) & 0xFF); _local7 = (_arg3 & 0xFF); _colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)]; this.overwriteProps[this.overwriteProps.length] = _arg2; }; } } }//package com.jumpeye.transitions.plugins
Section 45
//TweenPlugin (com.jumpeye.transitions.plugins.TweenPlugin) package com.jumpeye.transitions.plugins { import com.jumpeye.transitions.*; import com.jumpeye.transitions.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 com.jumpeye.transitions.plugins
Section 46
//ArrayTweenInfo (com.jumpeye.transitions.utils.tween.ArrayTweenInfo) package com.jumpeye.transitions.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 com.jumpeye.transitions.utils.tween
Section 47
//TweenInfo (com.jumpeye.transitions.utils.tween.TweenInfo) package com.jumpeye.transitions.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 com.jumpeye.transitions.utils.tween
Section 48
//OverwriteManager (com.jumpeye.transitions.OverwriteManager) package com.jumpeye.transitions { import flash.utils.*; import com.jumpeye.transitions.utils.tween.*; import flash.errors.*; public class OverwriteManager { public static const ALL:int = 1; public static const NONE:int = 0; public static const AUTO:int = 2; public static const CONCURRENT:int = 3; public static const version:Number = 3.12; public static var mode:int; public static var enabled:Boolean; public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array):void{ var _local4:int; var _local5:String; var _local6:TweenInfo; _local4 = (_arg3.length - 1); while (_local4 > -1) { _local6 = _arg3[_local4]; if ((_local6.name in _arg1)){ _arg3.splice(_local4, 1); } else { if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){ _local6.target.killProps(_arg1); if (_local6.target.overwriteProps.length == 0){ _arg3.splice(_local4, 1); }; }; }; _local4--; }; for (_local5 in _arg1) { delete _arg2[_local5]; }; } public static function manageOverwrites(_arg1:TweenLite, _arg2:Array):void{ var _local7:int; var _local8:TweenLite; var _local10:Array; var _local11:Object; var _local12:int; var _local13:TweenInfo; var _local14:Array; var _local3:Object = _arg1.vars; var _local4:int = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite); if ((((_local4 < 2)) || ((_arg2 == null)))){ return; }; var _local5:Number = _arg1.startTime; var _local6:Array = []; var _local9 = -1; _local7 = (_arg2.length - 1); while (_local7 > -1) { _local8 = _arg2[_local7]; if (_local8 == _arg1){ _local9 = _local7; } else { if ((((((_local7 < _local9)) && ((_local8.startTime <= _local5)))) && (((_local8.startTime + ((_local8.duration * 1000) / _local8.combinedTimeScale)) > _local5)))){ _local6[_local6.length] = _local8; }; }; _local7--; }; if ((((_local6.length == 0)) || ((_arg1.tweens.length == 0)))){ return; }; if (_local4 == AUTO){ _local10 = _arg1.tweens; _local11 = {}; _local7 = (_local10.length - 1); while (_local7 > -1) { _local13 = _local10[_local7]; if (_local13.isPlugin){ if (_local13.name == "_MULTIPLE_"){ _local14 = _local13.target.overwriteProps; _local12 = (_local14.length - 1); while (_local12 > -1) { _local11[_local14[_local12]] = true; _local12--; }; } else { _local11[_local13.name] = true; }; _local11[_local13.target.propName] = true; } else { _local11[_local13.name] = true; }; _local7--; }; _local7 = (_local6.length - 1); while (_local7 > -1) { killVars(_local11, _local6[_local7].exposedVars, _local6[_local7].tweens); _local7--; }; } else { _local7 = (_local6.length - 1); while (_local7 > -1) { _local6[_local7].enabled = false; _local7--; }; }; } public static function init(_arg1:int=2):int{ if (TweenLite.version < 10.09){ trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com."); }; TweenLite.overwriteManager = OverwriteManager; mode = _arg1; enabled = true; return (mode); } } }//package com.jumpeye.transitions
Section 49
//TweenLite (com.jumpeye.transitions.TweenLite) package com.jumpeye.transitions { import flash.display.*; import flash.events.*; import flash.utils.*; import com.jumpeye.transitions.plugins.*; import com.jumpeye.transitions.utils.tween.*; 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 = 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){ 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{ return ((((_arg3 * _arg1) / _arg4) + _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 com.jumpeye.transitions
Section 50
//JDynamicRegistrationPoint (com.jumpeye.utils.JDynamicRegistrationPoint) package com.jumpeye.utils { import flash.display.*; import flash.geom.*; public class JDynamicRegistrationPoint { public var target:DisplayObject; public var rp:Point; public function JDynamicRegistrationPoint(_arg1:DisplayObject){ this.target = _arg1; setRegistration(); } public function set scaley(_arg1:Number):void{ this.setProperty("scaleY", _arg1); } public function set rotation(_arg1:Number):void{ this.setProperty("rotation", _arg1); } public function get rotation():Number{ return (this.target.rotation); } public function get scalex():Number{ return (this.target.scaleX); } public function get scaley():Number{ return (this.target.scaleY); } public function set x(_arg1:Number):void{ var _local2:Point = this.target.parent.globalToLocal(this.target.localToGlobal(rp)); this.target.x = (this.target.x + (_arg1 - _local2.x)); } public function set y(_arg1:Number):void{ var _local2:Point = this.target.parent.globalToLocal(this.target.localToGlobal(rp)); this.target.y = (this.target.y + (_arg1 - _local2.y)); } public function get mousey():Number{ return (Math.round((this.target.mouseY - rp.y))); } public function setProperty(_arg1:String, _arg2:Number):void{ var _local3:Point = this.target.parent.globalToLocal(this.target.localToGlobal(rp)); this.target[_arg1] = _arg2; var _local4:Point = this.target.parent.globalToLocal(this.target.localToGlobal(rp)); this.target.x = (this.target.x - (_local4.x - _local3.x)); this.target.y = (this.target.y - (_local4.y - _local3.y)); } public function get x():Number{ var _local1:Point = this.target.parent.globalToLocal(this.target.localToGlobal(rp)); return (_local1.x); } public function get y():Number{ var _local1:Point = this.target.parent.globalToLocal(this.target.localToGlobal(rp)); return (_local1.y); } public function get mousex():Number{ return (Math.round((this.target.mouseX - rp.x))); } public function setRegistration(_arg1:Number=0, _arg2:Number=0):void{ rp = new Point(_arg1, _arg2); } public function set scalex(_arg1:Number):void{ this.setProperty("scaleX", _arg1); } } }//package com.jumpeye.utils
Section 51
//PreviewEvent (com.zacheu.events.PreviewEvent) package com.zacheu.events { import flash.events.*; public class PreviewEvent extends Event { public var data:Object; public static const INIT:String = "init"; public static const PLAY_COMPLETE:String = "playComplete"; public static const LOAD_ERROR:String = "error"; public function PreviewEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } } }//package com.zacheu.events
Section 52
//BackgroundPreview (com.zacheu.export.BackgroundPreview) package com.zacheu.export { import flash.display.*; public class BackgroundPreview extends MovieClip { private var im:ImageAdder; public function setXML(_arg1:XMLList, _arg2:Number, _arg3:Number):void{ var _local4:Sprite; this.mouseEnabled = false; this.mouseChildren = false; switch (String(_arg1.type)){ case "color": _local4 = new Sprite(); _local4.graphics.beginFill(Number(_arg1.color)); _local4.graphics.drawRect(0, 0, _arg2, _arg3); _local4.graphics.endFill(); this.addChild(_local4); break; case "image": im = new ImageAdder(_arg1.vAlign, _arg1.hAlign, _arg1.scaleMode); im.load(_arg1.url); im.setSize(_arg2, _arg3); im.mouseEnabled = false; this.addChild(im); break; case "none": break; }; } } }//package com.zacheu.export
Section 53
//BaseModelPreview (com.zacheu.export.BaseModelPreview) package com.zacheu.export { import flash.display.*; import flash.events.*; import com.jumpeye.Events.*; import flash.utils.*; public class BaseModelPreview extends MovieClip { protected var vc:MovieClip; protected var _slide:SlidePreview; protected var _t:DisplayObject; protected var _xml:XML; protected var _fe; public function clearAnimation():void{ trace("clear animation ", this); if (_fe){ _fe.removeEffect(); _fe.removeAll(); if (vc.contains(_fe)){ vc.removeChild(_fe); }; }; _fe = null; } private function feRollOver(_arg1:FLASHEFFEvents):void{ trace("Roll Over Event"); } private function over(_arg1:MouseEvent):void{ trace("roll over"); } public function prepareForSwap():void{ var c:Class; var fxml:XML; var l:int; var i:int; trace("prepare for swap ", this); if (_fe){ _fe.removeAll(); if (vc.contains(_fe)){ vc.removeChild(_fe); }; }; try { c = (getDefinitionByName("FlashEff2") as Class); _fe = new (c); vc.addChild(_fe); fxml = new XML(); fxml = <flashEff><patterns></patterns></flashEff> ; if (((!((String(_xml.filters) == ""))) && (!((_xml.filters == null))))){ l = _xml.filters.children().length(); i = 0; while (i < l) { fxml.patterns.appendChild(_xml.filters.children()[i]); i = (i + 1); }; }; if (((!((String(_xml.buildIn) == ""))) && (!((_xml.buildIn == null))))){ _fe.showDelay = Number(_xml.buildIn.delay); _xml.buildIn.type = "show"; fxml.patterns.appendChild(_xml.buildIn); _fe.targetVisibility = false; } else { _fe.targetVisibility = true; }; if (((!((String(_xml.buildOut) == ""))) && (!((_xml.buildOut == null))))){ _fe.hideDelay = Number(_xml.buildOut.delay); _xml.buildOut.type = "hide"; fxml.patterns.appendChild(_xml.buildOut); }; if (((!((String(_xml.buttonXml) == ""))) && (!((_xml.buttonXml == null))))){ _xml.buttonXml.type = "buttonEffect"; fxml.patterns.appendChild(_xml.buttonXml); }; _fe.target = _t; _fe.addEventListener(FLASHEFFEvents.ROLL_OVER, feRollOver, false, 0, true); _fe.hideAutoPlay = false; _fe.showAutoPlay = false; _t.addEventListener(MouseEvent.MOUSE_OVER, over); _fe.setXML(fxml); } catch(e:Error) { }; } public function doPlay():void{ trace("do play ", this); try { _fe.showAutoPlay = true; _fe.hideAutoPlay = true; } catch(e:Error) { trace(e); }; } } }//package com.zacheu.export
Section 54
//ButtonModelPreview (com.zacheu.export.ButtonModelPreview) package com.zacheu.export { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; public class ButtonModelPreview extends BaseModelPreview { public function ButtonModelPreview(_arg1:SlidePreview=null, _arg2:XML=null){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; super(); _slide = _arg1; if (_arg2){ _xml = _arg2; vc = new MovieClip(); _t = new MovieClip(); if (_arg2.backgroundType == "image"){ _local4 = new ImageAdder("top", "left", "exactFit"); var _local7 = _local4; _local7["load"](_arg2.url); _local7 = _local4; _local7["setSize"](Number(_arg2.width), Number(_arg2.height)); MovieClip(_t).addChild(_local4); } else { _local5 = (getDefinitionByName(("Banner_" + _arg2.url)) as Class); _local6 = new (_local5); _local6.width = Number(_arg2.width); _local6.height = Number(_arg2.height); MovieClip(_t).addChild(_local6); }; _local3 = new TextField(); _local3["autoSize"] = "center"; _local3["multiline"] = true; _local3["embedFonts"] = true; _local3["htmlText"] = unescape(_arg2.htmlText); _local3["type"] = TextFieldType.DYNAMIC; _local3["selectable"] = false; _local3["wordWrap"] = true; _local3["antiAliasType"] = AntiAliasType.NORMAL; TextField(_local3).mouseEnabled = false; _local3.width = Number(_arg2.width); _local3.y = (((Number(_arg2.height) - _local3.textHeight) / 2) - 2); MovieClip(_t).addChild(_local3); this.x = Number(_arg2.x); this.y = Number(_arg2.y); vc.rotation = Number(_arg2.rotation); vc.alpha = Number(_arg2.alpha); vc.addChild(_t); addChild(vc); _t.addEventListener(MouseEvent.ROLL_OVER, rollOverButtonHandler, false, 0, true); _t.addEventListener(MouseEvent.ROLL_OUT, rollOutButtonHandler, false, 0, true); _t.addEventListener(MouseEvent.MOUSE_DOWN, pressButtonHandler, false, 0, true); _t.addEventListener(MouseEvent.MOUSE_UP, releaseButtonHandler, false, 0, true); if (_arg2.action.actionType == "gotoSlide"){ this["buttonMode"] = (String(_arg2.action.useHandCursor) == "true"); this["useHandCursor"] = _t["buttonMode"]; } else { if (_slide["doc"].isClickTag){ this["buttonMode"] = Banner.CLICK_TAG_UHC; this["useHandCursor"] = Banner.CLICK_TAG_UHC; } else { if (_arg2.action.actionType == "gotoUrl"){ this["buttonMode"] = (String(_arg2.action.useHandCursor) == "true"); this["useHandCursor"] = _t["buttonMode"]; } else { if (String(_slide["doc"]._xml.url) != ""){ this["buttonMode"] = (String(_slide["doc"]._xml.useHandCursor) == "true"); this["useHandCursor"] = _t["buttonMode"]; }; }; }; }; if (_arg2.action.actionType != "none"){ this.addEventListener(MouseEvent.CLICK, buttonClick, false, 0, true); }; }; } private function mOver(_arg1:MouseEvent):void{ if (_fe){ _fe.buttonRollOver(); }; } private function pressButtonHandler(_arg1:MouseEvent):void{ if (_fe){ _fe.buttonPress(); }; } private function buttonClick(_arg1:MouseEvent):void{ if (_xml.action.actionType == "gotoSlide"){ _slide.doc.playSlide((Number(_xml.action.slideNo) - 1)); } else { if (_slide["doc"].isClickTag){ navigateToURL(new URLRequest(Banner.CLICK_TAG_URL), Banner.CLICK_TAG_TARGET); } else { if (_xml.action.actionType == "gotoUrl"){ navigateToURL(new URLRequest(unescape(_xml.action.url)), _xml.action.target); } else { if (String(_slide["doc"]._xml.url) != ""){ navigateToURL(new URLRequest(unescape(String(_slide["doc"]._xml.url))), String(_slide["doc"]._xml.target)); }; }; }; }; } private function rollOverButtonHandler(_arg1:MouseEvent):void{ if (_fe){ _fe.buttonRollOver(); }; } private function releaseButtonHandler(_arg1:MouseEvent):void{ if (_fe){ _fe.buttonRelease(); }; } private function rollOutButtonHandler(_arg1:MouseEvent):void{ if (_fe){ _fe.buttonRollOut(); }; } } }//package com.zacheu.export
Section 55
//DocumentPreview (com.zacheu.export.DocumentPreview) package com.zacheu.export { import flash.display.*; import flash.events.*; import com.zacheu.events.*; import com.jumpeye.Events.*; import flash.utils.*; import flash.net.*; public class DocumentPreview extends MovieClip { public var isClickTag:Boolean;// = false private var bg:BackgroundPreview; public var _height:Number; public var _width:Number; private var _cp:int;// = -1 private var fp:Boolean;// = false private var _fe; public var _xml:XML; public var isUrl:Boolean;// = false private var _ts:int;// = 0 private var _s:Array; private var _v:MovieClip; private var _nextSlide:Number;// = 0 public function DocumentPreview(){ _s = []; super(); } private function doPlaySlide():void{ if (_cp >= 0){ _s[_cp].visible = false; }; if ((((_nextSlide == 0)) && ((fp == true)))){ fp = false; _s[_nextSlide].prepareSlideForSwap(); }; _s[_nextSlide].visible = true; _s[_nextSlide].doPlay(); _cp = _nextSlide; } private function onEnterFrame(_arg1:Event):void{ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame); this.visible = true; doPlaySlide(); } public function playSlide(_arg1:Number):void{ _nextSlide = _arg1; _s[_cp].forceStop(); if (_s[_cp].xml.transition.patterns.children().length() > 0){ if (((!((_cp == (_ts - 1)))) || ((_xml.loop == "true")))){ setNewSwap(); }; } else { var _local2 = _s[_arg1]; _local2["prepareSlideForSwap"](); doPlaySlide(); }; } private function setNewSwap():void{ var _local2:MovieClip; var _local1:MovieClip = _s[_cp]; _local2 = _s[_nextSlide]; var _local3:Class = (getDefinitionByName("FlashEff2") as Class); _fe = new (_local3); _fe.mouseEnabled = false; _fe.mouseChildren = false; _fe.useSwapInsteadHide = true; _v.addChild(_fe); var _local4:XML = XML(_s[_cp].xml.transition); _fe.swapType = _local4.patterns.swapType; var _local5 = _local2; _local5["prepareSlideForSwap"](); _fe.setXML(_local4); _fe.swapTransition = _fe.showTransition; _fe.target = _local1; _fe.swapTarget = _local2; _fe.addEventListener(FLASHEFFEvents.TRANSITION_END, swapComplete, false, 0, true); _fe.swap(); } private function slideRemovedFormStage(_arg1:Event):void{ _arg1.stopImmediatePropagation(); } private function swapComplete(_arg1:FLASHEFFEvents):void{ if (_fe){ _fe.removeEventListener(FLASHEFFEvents.TRANSITION_END, swapComplete); _fe.removeAll(); if (this._v.contains(_fe)){ this._v.removeChild(_fe); }; _fe = null; }; doPlaySlide(); } public function playDocument(_arg1:Boolean, _arg2:XML=null):void{ var _local3:XMLList; var _local4:int; var _local5:BackgroundPreview; var _local6:int; var _local7:Sprite; var _local8:SlidePreview; isClickTag = _arg1; if (_arg2){ _v = new MovieClip(); _xml = _arg2; this._width = Number(_arg2.width); this._height = Number(_arg2.height); _local3 = _arg2.slides.children(); _local4 = (_ts = _local3.length()); if (!isClickTag){ if (String(_arg2.url) != ""){ isUrl = true; _local7 = new Sprite(); _local7.graphics.beginFill(0xFF0000); _local7.graphics.drawRect(0, 0, _width, _height); _local7.graphics.endFill(); _local7.addEventListener(MouseEvent.CLICK, urlC, false, 0, true); if (_arg2.useHandCursor == false){ _local7.buttonMode = false; _local7.useHandCursor = false; } else { _local7.buttonMode = true; _local7.useHandCursor = true; }; _local7.alpha = 0; addChild(_local7); }; } else { this.mouseEnabled = false; }; addChild(_v); _v.mouseEnabled = false; _local5 = new BackgroundPreview(); _local5.setXML(_arg2.background, _width, _height); _v.addChild(_local5); _local6 = 0; while (_local6 < _local4) { _local8 = new SlidePreview(); this._s.push(_local8); _local8.mouseEnabled = false; _local8.addEventListener(PreviewEvent.PLAY_COMPLETE, slidePlayComplete, false, 0, true); _local8.addEventListener(Event.REMOVED_FROM_STAGE, slideRemovedFormStage, true, 0xFF, false); _v.addChild(_local8); if (_local6 != 0){ _local8.visible = false; } else { fp = true; }; _local8.setXML(_local3[_local6], Number(_arg2.width), Number(_arg2.height), this); _local6++; }; this.addEventListener(Event.ENTER_FRAME, onEnterFrame, false, 0, true); }; } private function slidePlayComplete(_arg1:PreviewEvent):void{ if (_xml.autoplay == "true"){ if (_cp != (_ts - 1)){ playSlide((_cp + 1)); } else { if (_xml.loop == "true"){ playSlide(0); }; }; }; } private function urlC(_arg1:Event):void{ navigateToURL(new URLRequest(unescape(_xml.url)), String(_xml.target)); } } }//package com.zacheu.export
Section 56
//ImageAdder (com.zacheu.export.ImageAdder) package com.zacheu.export { import flash.display.*; import flash.utils.*; public class ImageAdder extends MovieClip { private var _owi:Number; private var _ratio:Number;// = 1 private var _vi:MovieClip; private var _he:Number; private var _h:String; private var _l; private var _wi:Number; private var _s:String; private var _v:String; private var _ohe:Number; public function ImageAdder(_arg1, _arg2, _arg3){ this._v = _arg1; this._h = _arg2; this._s = _arg3; _vi = new MovieClip(); addChild(_vi); } public function setSize(_arg1:Number, _arg2:Number):void{ _wi = _arg1; _he = _arg2; setLayout(); } override public function get width():Number{ return ((_wi * scaleX)); } public function load(_arg1:String):void{ var _local2:Class = (getDefinitionByName(("Banner_" + _arg1)) as Class); _l = new (_local2); addChild(_l); loadComplete(); } override public function get height():Number{ return ((super.height * scaleY)); } public function setLayout():void{ if (_l){ switch (this._s){ case "exactFit": trace(this._wi, this._he, _l.width, _l.height); this._l.width = this._wi; this._l.height = this._he; break; case "maintainAspectRatio": if ((_wi / _he) > _ratio){ _l.height = _he; _l.width = (_l.height * _ratio); } else { _l.width = _wi; _l.height = ((_l.width * 1) / _ratio); }; break; case "noScale": break; case "scaleCrop": if ((_wi / _he) > _ratio){ _l.width = _wi; _l.height = ((_l.width * 1) / _ratio); } else { _l.height = _he; _l.width = (_l.height * _ratio); }; break; case "noScaleCrop": _l.width = _owi; _l.height = _ohe; break; }; if (_s != "noScale"){ switch (_v){ case "top": _vi.y = 0; break; case "bottom": _vi.y = (_he - _l.height); break; case "middle": _vi.y = ((_he - _l.height) / 2); break; }; switch (_h){ case "left": _vi.x = 0; break; case "right": _vi.x = (_wi - _l.width); break; case "center": _vi.x = ((_wi - _l.width) / 2); break; }; } else { _vi.x = 0; _vi.y = 0; }; }; } public function destroy():void{ if (_vi){ if (_l){ if (_vi.contains(_l)){ _vi.removeChild(_l); _l = null; }; }; }; } private function loadComplete():void{ _owi = _l.width; _ohe = _l.height; _wi = _l.width; _he = _l.height; this._ratio = (_l.width / _l.height); this._vi.addChild(_l); } } }//package com.zacheu.export
Section 57
//SlidePreview (com.zacheu.export.SlidePreview) package com.zacheu.export { import flash.display.*; import com.zacheu.events.*; import flash.utils.*; public class SlidePreview extends MovieClip { private var bg:BackgroundPreview; private var interval:Number; private var _l:int;// = 0 private var _m:Array; private var _xml:XML; private var _curentInited:int;// = 0 public var doc:DocumentPreview; public function SlidePreview(){ _m = []; super(); } public function prepareSlideForSwap():void{ var _local1:int; while (_local1 < _l) { _m[_local1].prepareForSwap(); _local1++; }; } private function slideFinish():void{ clearInterval(interval); dispatchEvent(new PreviewEvent(PreviewEvent.PLAY_COMPLETE)); } public function doPlay():void{ var _local1:int; while (_local1 < _l) { this._m[_local1].doPlay(); _local1++; }; this.interval = setInterval(slideFinish, (Number(_xml.duration) * 1000)); } public function clearAnimation():void{ clearInterval(interval); var _local1:int; while (_local1 < _l) { _m[_local1].clearAnimation(); _local1++; }; } public function forceStop():void{ clearInterval(interval); } public function setXML(_arg1:XML, _arg2:Number, _arg3:Number, _arg4:DocumentPreview):void{ var _local7:Class; var _local8:BaseModelPreview; doc = _arg4; _xml = _arg1; var _local5:XMLList = _arg1.models.children(); _l = _local5.length(); bg = new BackgroundPreview(); bg.setXML(_arg1.background, _arg2, _arg3); this.addChild(bg); var _local6:int; while (_local6 < _l) { _local7 = (getDefinitionByName((("com.zacheu.export." + _local5[_local6].modelType) + "Preview")) as Class); _local8 = new _local7(this, _local5[_local6]); this.addChild(_local8); _m.push(_local8); _local6++; }; } public function get xml():XML{ return (_xml); } } }//package com.zacheu.export
Section 58
//Color (fl.motion.Color) package fl.motion { import flash.display.*; import flash.geom.*; public class Color extends ColorTransform { private var _tintColor:Number;// = 0 private var _tintMultiplier:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } private function deriveTintColor():uint{ var _local1:Number = (1 / this.tintMultiplier); var _local2:uint = Math.round((this.redOffset * _local1)); var _local3:uint = Math.round((this.greenOffset * _local1)); var _local4:uint = Math.round((this.blueOffset * _local1)); var _local5:uint = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function set brightness(_arg1:Number):void{ if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; var _local2:Number = (1 - Math.abs(_arg1)); var _local3:Number = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } private function parseXML(_arg1:XML=null):Color{ var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; var _local2:XML = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public function get tintColor():uint{ return (this._tintColor); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function setTint(_arg1:uint, _arg2:Number):void{ this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); var _local3:uint = ((_arg1 >> 16) & 0xFF); var _local4:uint = ((_arg1 >> 8) & 0xFF); var _local5:uint = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number = (1 - _arg3); var _local5:uint = ((_arg1 >> 24) & 0xFF); var _local6:uint = ((_arg1 >> 16) & 0xFF); var _local7:uint = ((_arg1 >> 8) & 0xFF); var _local8:uint = (_arg1 & 0xFF); var _local9:uint = ((_arg2 >> 24) & 0xFF); var _local10:uint = ((_arg2 >> 16) & 0xFF); var _local11:uint = ((_arg2 >> 8) & 0xFF); var _local12:uint = (_arg2 & 0xFF); var _local13:uint = ((_local5 * _local4) + (_local9 * _arg3)); var _local14:uint = ((_local6 * _local4) + (_local10 * _arg3)); var _local15:uint = ((_local7 * _local4) + (_local11 * _arg3)); var _local16:uint = ((_local8 * _local4) + (_local12 * _arg3)); var _local17:uint = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number = (1 - _arg3); var _local5:ColorTransform = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } } }//package fl.motion
Section 59
//EdgeMetrics (mx.core.EdgeMetrics) package mx.core { public class EdgeMetrics { public var top:Number; public var left:Number; public var bottom:Number; public var right:Number; mx_internal static const VERSION:String = "3.0.0.0"; public static const EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0); ; public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){ this.left = _arg1; this.top = _arg2; this.right = _arg3; this.bottom = _arg4; } public function clone():EdgeMetrics{ return (new EdgeMetrics(left, top, right, bottom)); } } }//package mx.core
Section 60
//FlexSprite (mx.core.FlexSprite) package mx.core { import flash.display.*; import mx.utils.*; public class FlexSprite extends Sprite { mx_internal static const VERSION:String = "3.0.0.0"; public function FlexSprite(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 61
//FontAsset (mx.core.FontAsset) package mx.core { import flash.text.*; public class FontAsset extends Font implements IFlexAsset { mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.core
Section 62
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 63
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 64
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.display.*; import flash.events.*; import flash.geom.*; import flash.accessibility.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 65
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 66
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 67
//SpriteAsset (mx.core.SpriteAsset) package mx.core { public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.0.0.0"; public function SpriteAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get borderMetrics():EdgeMetrics{ if (scale9Grid == null){ return (EdgeMetrics.EMPTY); }; return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom)))); } } }//package mx.core
Section 68
//NameUtil (mx.utils.NameUtil) package mx.utils { import flash.display.*; import mx.core.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.0.0.0"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var _local2:String; var _local4:String; var _local5:Array; var _local3:DisplayObject = _arg1; while (_local3 != null) { if (((((_local3.parent) && (_local3.stage))) && ((_local3.parent == _local3.stage)))){ break; }; _local4 = _local3.name; if ((_local3 is IRepeaterClient)){ _local5 = IRepeaterClient(_local3).instanceIndices; if (_local5){ _local4 = (_local4 + (("[" + _local5.join("][")) + "]")); }; }; _local2 = ((_local2 == null)) ? _local4 : ((_local4 + ".") + _local2); _local3 = _local3.parent; }; return (_local2); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 69
//Banner (Banner) package { import flash.display.*; import flash.events.*; import com.zacheu.export.*; import com.jumpeye.transitions.easing.*; import com.jumpeye.flashEff2.buttonEffect.*; import com.jumpeye.flashEff2.filter.reflection.*; import com.jumpeye.flashEff2.filter.aura.*; import com.jumpeye.flashEff2.filter.adjustColor.*; import com.jumpeye.flashEff2.symbol.badTransmission.*; import com.jumpeye.flashEff2.symbol.fe3D.camSquareFocus.*; import flash.system.*; import flash.net.*; public class Banner extends MovieClip { private var bannerXml:XML; private var sym_buttons_green_gray_glass_eff_rounded:Class; private var ArialBSb:Class; public static var CLICK_TAG_URL:String = ""; public static var CLICK_TAG_UHC:Boolean = true; public static var CLICK_TAG_TARGET:String = "_blank"; public function Banner(){ var _local2:*; var _local3:BaseModelPreview; sym_buttons_green_gray_glass_eff_rounded = Banner_sym_buttons_green_gray_glass_eff_rounded; ArialBSb = Banner_ArialBSb; super(); Security.allowInsecureDomain("*"); Security.allowDomain("*"); Security.allowInsecureDomain("*.bannersnack.com"); Security.allowDomain("*.bannersnack.com"); Security.allowInsecureDomain("*.bannersnack.net"); Security.allowDomain("*.bannersnack.net"); var _local1:BannerSnackSEOCode = new BannerSnackSEOCode(); addChild(_local1); setXml(); _local2 = new FES3DCamSquareFocus(); _local2 = new FESBadTransmission(); _local2 = new StrongEase(); _local2 = new QuadraticEase(); _local2 = new FEFAdjustColor(); _local2 = new FEFAura(); _local2 = new FEFReflection(); _local2 = new FlashEff2(); _local2 = new FEBEffect(); _local2 = new FEBFilterPlugins(); _local2 = new FEBColorMatrixFilterPlugin(); _local2 = new FEBCustomTintPlugin(); _local3 = new ButtonModelPreview(); _local3 = null; _local2 = null; var _local4:DocumentPreview = new DocumentPreview(); _local4.playDocument(addClickTag(), bannerXml); _local4.visible = false; this.addChild(_local4); } private function addClickTag():Boolean{ var _local3:*; var _local4:Sprite; var _local1:Boolean; var _local2:* = getLoaderInfo(this); if (_local2){ for (_local3 in _local2.parameters) { if (String(_local3).toLowerCase() == "clicktag"){ if (((!((_local2.parameters[String(_local3)] == "null"))) && (!((_local2.parameters[String(_local3)] == null))))){ CLICK_TAG_URL = _local2.parameters[String(_local3)]; _local4 = new Sprite(); _local4.graphics.beginFill(0xFF00); _local4.graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight); _local4.graphics.endFill(); _local4.addEventListener(MouseEvent.CLICK, gtC, false, 0, true); _local4.alpha = 0; _local1 = true; addChild(_local4); if (_local2.parameters.useHandCursor == "false"){ _local4.buttonMode = false; _local4.useHandCursor = false; CLICK_TAG_UHC = false; } else { _local4.buttonMode = true; _local4.useHandCursor = true; CLICK_TAG_UHC = true; }; }; }; if (String(_local3).toLowerCase() == "clicktarget"){ CLICK_TAG_TARGET = _local2.parameters[String(_local3)]; }; }; }; return (_local1); } public function setXml():void{ bannerXml = <bannerModel> <width>435</width> <height>75</height> <loop>true</loop> <autoplay>true</autoplay> <fps>25</fps> <url>Banner.fustgaming.net</url> <version>3</version> <target>_blank</target> <useHandCursor>true</useHandCursor> <background> <type>color</type> <color>3355443</color> </background> <fonts></fonts> <slides> <slide> <order>0</order> <duration>5</duration> <background> <type>none</type> </background> <models> <model> <action> <actionType>gotoUrl</actionType> <url>Fustgaming.net</url> <target>_self</target> <useHandCursor>true</useHandCursor> </action> <modelType>ButtonModel</modelType> <width>110</width> <height>30</height> <x>218</x> <y>38</y> <rotation>0</rotation> <alpha>1</alpha> <url>sym_buttons_green_gray_glass_eff_rounded</url> <htmlText>%3CP%20ALIGN%3D%22CENTER%22%3E%3CFONT%20FACE%3D%22ArialBS%22%20SIZE%3D%2218%22%20COLOR%3D%22%23FF0000%22%20LETTERSPACING%3D%220%22%20KERNING%3D%220%22%3E%3CB%3EModder%3C/B%3E%3C/FONT%3E%3C/P%3E</htmlText> <backgroundType>clipart</backgroundType> <buildIn> <id>1157</id> <name>com.jumpeye.flashEff2.symbol.fe3D.camSquareFocus.FES3DCamSquareFocus</name> <params> <preset> <type>String</type> <value>14</value> <defaultValue>14</defaultValue> </preset> <squareWidth> <type>Number</type> <value>35</value> <defaultValue>35</defaultValue> </squareWidth> <squareHeight> <type>Number</type> <value>35</value> <defaultValue>35</defaultValue> </squareHeight> <frontSpace> <type>Number</type> <value>250</value> <defaultValue>250</defaultValue> </frontSpace> <backSpace> <type>Number</type> <value>250</value> <defaultValue>250</defaultValue> </backSpace> <focusIndex> <type>Number</type> <value>0</value> <defaultValue>0</defaultValue> </focusIndex> <alphaPercentage> <type>Number</type> <value>50</value> <defaultValue>50</defaultValue> </alphaPercentage> <blurCoef> <type>Number</type> <value>3</value> <defaultValue>3</defaultValue> </blurCoef> <blurQuality> <type>Number</type> <value>2</value> <defaultValue>2</defaultValue> </blurQuality> <tweenDuration> <type>Number</type> <value>1.5</value> <defaultValue>1.5</defaultValue> </tweenDuration> <tweenType> <type>String</type> <value>Strong</value> <defaultValue>Strong</defaultValue> </tweenType> <easeType> <type>String</type> <value>easeInOut</value> <defaultValue>easeInOut</defaultValue> </easeType> </params> <type>show</type> <presetId>Simple</presetId> <title>Simple</title> <presetUserType>pro</presetUserType> <contentType>symbol</contentType> <isFP10></isFP10> <patternCase></patternCase> <location>byCategory</location> <delay>0</delay> <modelType>ButtonModel</modelType> <useCustomTweening>false</useCustomTweening> </buildIn> <buildOut> <id>1199</id> <name>com.jumpeye.flashEff2.symbol.badTransmission.FESBadTransmission</name> <params> <disturbance> <type>Number</type> <value>40</value> </disturbance> <maxNoise> <type>Number</type> <value>1</value> </maxNoise> <tweenDuration> <type>Number</type> <value>1.5</value> <defaultValue>2</defaultValue> </tweenDuration> <tweenType> <type>String</type> <value>Quadratic</value> <defaultValue>Quadratic</defaultValue> </tweenType> <easeType> <type>String</type> <value>easeIn</value> <defaultValue>easeIn</defaultValue> </easeType> </params> <type>hide</type> <presetId>LowSignal2</presetId> <title>LowSignal2</title> <presetUserType>pro</presetUserType> <isFP10></isFP10> <contentType>symbol</contentType> <playerSymbol>symbol_1</playerSymbol> <patternCase></patternCase> <location>byCategory</location> <delay>0</delay> <modelType>ButtonModel</modelType> <useCustomTweening>false</useCustomTweening> </buildOut> <filters> <pattern> <id>1185</id> <name>com.jumpeye.flashEff2.filter.adjustColor.FEFAdjustColor</name> <params> <brightness> <type>Number</type> <value>0</value> <defaultValue>0</defaultValue> </brightness> <contrast> <type>Number</type> <value>20</value> <defaultValue>0</defaultValue> </contrast> <saturation> <type>Number</type> <value>0</value> <defaultValue>20</defaultValue> </saturation> <hue> <type>Number</type> <value>0</value> <defaultValue>0</defaultValue> </hue> </params> <type>filter</type> <presetId>Contrast</presetId> <title>Contrast</title> <filterIndex>FOne</filterIndex> <presetUserType>pro</presetUserType> <isFP10></isFP10> <patternCase></patternCase> <location>byCategory</location> </pattern> <pattern> <id>1322</id> <name>com.jumpeye.flashEff2.filter.aura.FEFAura</name> <params> <speed> <type>Number</type> <value>35</value> </speed> <alphaPercent> <type>Number</type> <value>100</value> </alphaPercent> <glowColor> <type>Number</type> <value>0xFFFFFF</value> </glowColor> <glowBlurX> <type>Number</type> <value>3</value> </glowBlurX> <glowBlurY> <type>Number</type> <value>3</value> </glowBlurY> <glowStrength> <type>Number</type> <value>3</value> </glowStrength> <shadowDistance> <type>Number</type> <value>2</value> </shadowDistance> <shadowAngle> <type>Number</type> <value>45</value> </shadowAngle> <shadowColor> <type>Number</type> <value>16711680</value> </shadowColor> <shadowBlurX> <type>Number</type> <value>8</value> </shadowBlurX> <shadowBlurY> <type>Number</type> <value>8</value> </shadowBlurY> <shadowStrength> <type>Number</type> <value>1</value> </shadowStrength> </params> <type>filter</type> <presetId>Firefighters</presetId> <title>Firefighters</title> <playerSymbol>text_3</playerSymbol> <presetUserType>pro</presetUserType> <isFP10></isFP10> <filterIndex>FTwo</filterIndex> <patternCase></patternCase> <location>byCategory</location> </pattern> <pattern> <id>251</id> <name>com.jumpeye.flashEff2.filter.reflection.FEFReflection</name> <params> <reflectionDistance> <type>Number</type> <value>5</value> </reflectionDistance> <reflectionAlpha> <type>Number</type> <value>1</value> </reflectionAlpha> <reflectionMargins> <type>Number</type> <value>10</value> </reflectionMargins> <reflectionDropOffPercent> <type>Number</type> <value>100</value> </reflectionDropOffPercent> <reflectionRatio> <type>Number</type> <value>255</value> </reflectionRatio> <smooth> <type>Boolean</type> <value>true</value> </smooth> <refresh> <type>Boolean</type> <value>true</value> </refresh> <refreshPerSecond> <type>Number</type> <value>30</value> </refreshPerSecond> <isMobile> <type>Boolean</type> <value>false</value> </isMobile> </params> <type>filter</type> <presetId>HighQualityReflection</presetId> <title>HighQualityReflection</title> <playerSymbol>symbol_3</playerSymbol> <presetUserType>pro</presetUserType> <isFP10></isFP10> <filterIndex>FThree</filterIndex> <isCustom>true</isCustom> <patternCase></patternCase> <location>byCategory</location> </pattern> </filters> <buttonXml> <presetId>YellowSpin</presetId> <title>YellowSpin</title> <type>buttonEffect</type> <name>com.jumpeye.flashEff2.buttonEffect.FEBEffect</name> <params> <downState> <type>XML</type> <value> <tweenDuration> <type>Number</type> <value>0.2</value> <defaultValue>0.2</defaultValue> </tweenDuration> <tweenType> <type>String</type> <value>Strong</value> <defaultValue>Strong</defaultValue> </tweenType> <easeType> <type>String</type> <value>easeOut</value> <defaultValue>easeOut</defaultValue> </easeType> <colorMatrixFilter> <type>Object</type> <value></value> </colorMatrixFilter> <scaleY> <hasCheck>false</hasCheck> <type>Number</type> <value>1.1</value> </scaleY> <scaleX> <hasCheck>false</hasCheck> <type>Number</type> <value>1.1</value> </scaleX> <rotation> <hasCheck>false</hasCheck> <type>Number</type> <value>180</value> </rotation> <blurFilter> <type>Object</type> <value> <blurX> <hasCheck>false</hasCheck> <type>Number</type> <value>5</value> </blurX> <blurY> <hasCheck>false</hasCheck> <type>Number</type> <value>5</value> </blurY> <quality> <hasCheck>false</hasCheck> <type>Number</type> <value>3</value> </quality> </value> </blurFilter> </value> </downState> <upState> <type>XML</type> <value> <blurFilter> <type>Object</type> <value></value> </blurFilter> <glowFilter> <type>Object</type> <value></value> </glowFilter> <tweenDuration> <type>Number</type> <value>0.3</value> <defaultValue>0.3</defaultValue> </tweenDuration> <tweenType> <type>String</type> <value>Strong</value> <defaultValue>Strong</defaultValue> </tweenType> <easeType> <type>String</type> <value>easeOut</value> <defaultValue>easeOut</defaultValue> </easeType> <colorMatrixFilter> <type>Object</type> <value></value> </colorMatrixFilter> </value> </upState> <overState> <type>XML</type> <value> <tweenDuration> <type>Number</type> <value>0.5</value> <defaultValue>0.5</defaultValue> </tweenDuration> <tweenType> <type>String</type> <value>Strong</value> <defaultValue>Strong</defaultValue> </tweenType> <easeType> <type>String</type> <value>easeOut</value> <defaultValue>easeOut</defaultValue> </easeType> <blurFilter> <type>Object</type> <value></value> </blurFilter> <glowFilter> <type>Object</type> <value> <color> <hasCheck>false</hasCheck> <type>uint</type> <value>16776960</value> </color> <alpha> <hasCheck>false</hasCheck> <type>Number</type> <value>1</value> </alpha> <blurX> <hasCheck>false</hasCheck> <type>Number</type> <value>5</value> </blurX> <blurY> <hasCheck>false</hasCheck> <type>Number</type> <value>5</value> </blurY> <strength> <hasCheck>false</hasCheck> <type>Number</type> <value>2</value> </strength> <quality> <hasCheck>false</hasCheck> <type>Number</type> <value>1</value> </quality> <inner> <hasCheck>false</hasCheck> <type>Boolean</type> <value>false</value> </inner> </value> </glowFilter> <rotation> <hasCheck>false</hasCheck> <type>Number</type> <value>360</value> </rotation> <scaleX> <hasCheck>false</hasCheck> <type>Number</type> <value>1.1</value> </scaleX> <scaleY> <hasCheck>false</hasCheck> <type>Number</type> <value>1.1</value> </scaleY> </value> </overState> <buttonAlignMode> <type>String</type> <value>C</value> </buttonAlignMode> </params> <presetUserType>free</presetUserType> <isFP10></isFP10> <patternCase></patternCase> <location>featured</location> <modelType>ButtonModel</modelType> </buttonXml> </model> </models> </slide> </slides> </bannerModel> ; } private function gtC(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(CLICK_TAG_URL), CLICK_TAG_TARGET); } public static function getLoaderInfo(_arg1:DisplayObject):LoaderInfo{ var _local2:DisplayObject = getRootDisplayObject(_arg1); if (_local2 != null){ return (_local2.loaderInfo); }; return (null); } public static function getRootDisplayObject(_arg1:DisplayObject):DisplayObject{ if (_arg1.parent != null){ return (getRootDisplayObject(_arg1.parent)); }; return (_arg1); } } }//package
Section 70
//Banner_ArialBSb (Banner_ArialBSb) package { import mx.core.*; public class Banner_ArialBSb extends FontAsset { } }//package
Section 71
//Banner_sym_buttons_green_gray_glass_eff_rounded (Banner_sym_buttons_green_gray_glass_eff_rounded) package { import mx.core.*; public class Banner_sym_buttons_green_gray_glass_eff_rounded extends SpriteAsset { } }//package
Section 72
//BannerSnackSEOCode (BannerSnackSEOCode) package { import flash.display.*; public dynamic class BannerSnackSEOCode extends MovieClip { public function BannerSnackSEOCode(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 73
//FlashEff2 (FlashEff2) package { import flash.display.*; import flash.events.*; import com.jumpeye.Events.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import flash.geom.*; import flash.text.*; import com.jumpeye.flashEff2.text.*; import flash.utils.*; import com.jumpeye.flashEff2.text.defaultFade.*; import flash.net.*; public dynamic class FlashEff2 extends JUIComponent { private var _hideTransitionName:String; protected var tepA:IFlashEffCommand; protected var bDBT:Sprite; protected var tepF:IFlashEffFilter; protected var tepS:FeTDefaultFade; protected var _initialTargetTransform:Transform; protected var isButtonEffectApplyed:Boolean;// = false private var _useSwapInsteadHide:Boolean;// = false protected var _groupName:String;// = "feGroup" protected var transitionType:String;// = "show" protected var hitAreaClip:Sprite; private var _isTargetVisibleAtEnd:Boolean;// = false private var _firstLevelOwner:Sprite; private var _showTransitionStartCommands:Array; private var _ideDataHolder:String;// = "" private var _drawAfterFilters:Boolean;// = true protected var showTimer:Timer; private var _hideTransitionEndCommands:Array; private var _highestOwner:Sprite; private var _hideTransitionStartCommands:Array; private var _textField:TextField; protected var nextTarget:DisplayObject; protected var _toggle:Boolean;// = false private var _showTransitionName:String; protected var swapPattern:IFlashEffSymbolText; protected var lastTransitionPattern:IFlashEffSymbolText; protected var eventsDispatched:Number;// = 0 private var _swapTransitionName:String; private var _swapTarget:DisplayObject; private var __showDelay:Number;// = 0 protected var swapFlashEff2:FlashEff2; private var _partialTable:FeTable; private var _absWords:Array; private var _target:DisplayObject; private var __partialPattern:String;// = "com.jumpeye.flashEff2.text.defaultFade.FeTDefaultFade" private var __hideAutoPlay:Boolean;// = true protected var partialPattern:IFlashEffSymbol; protected var maxEndEvents:Number;// = 0 private var __targetInstanceName:String;// = "" protected var forceHide:Boolean;// = false protected var _partialTextOwnerClip:Sprite; protected var bDBTO:Sprite; private var _buttonOwner:Sprite; protected var _buttonEffectName:String; protected var isDragOut:Boolean;// = false private var _rollOutCommands:Array; private var __xmlPath:String;// = "" private var _absCustom:Array; private var _rollOverCommands:Array; private var _absLines:Array; protected var setNewTarget:Boolean;// = false private var __swapTargetVisibility:Boolean;// = false protected var filterAsoc:Array; private var _doubleClickCommands:Array; private var _textTable:FeTable; protected var hideTimer:Timer; protected var _isTransitioning:Boolean;// = false private var __xmlString:String;// = "" protected var _buttonEffect:IFlashEffButtonEffect; private var __swapType:String;// = "hideAndShow" protected var _xml:XML; protected var aDBTO:Sprite; private var _isMouseTriggered:Boolean;// = true protected var buttonTarget:Sprite; protected var _cTT:String;// = "" protected var partialInterval:Number; private var _releaseCommands:Array; private var _showTransitionEndCommands:Array; private var _absMatrix:Array; private var __targetVisibility:Boolean;// = true private var __showAutoPlay:Boolean;// = true private var __hideDelay:Number;// = 2 private var _useHandCursor:Boolean;// = false private var forceAutoPlay;// = null private var _clearAfterHide:Boolean;// = true protected var aDBT:Sprite; private var __swapTargetInstanceName:String;// = "" protected var firstInDepth:Sprite; private var __swapDelay:Number;// = 0 protected var showPattern:IFlashEffSymbolText; private var _filterList:Array; protected var drawCalled:Boolean;// = false private var _targetOwner:MovieClip; private var _absChars:Array; private var _pressCommands:Array; protected var hidePattern:IFlashEffSymbolText; protected var tTS:Sprite; protected var _textOwnerClip:Sprite; protected var _selected:Boolean;// = false public static const SWAP_TYPE_SHOW = "show"; public static const SWAP_TYPE_HIDE_AND_SHOW = "hideAndShow"; public static const SWAP_TYPE_HIDE = "hide"; protected static var groupList:Array; protected static var REMOVED_FROM_FLASHEFF:Boolean = false; private static var targetPaths:Array; protected static var eventTypeAsoc:Array = []; public function FlashEff2(){ init(); } protected function wordsSplit(_arg1:String, _arg2:uint):Array{ var _local9:Rectangle; var _local10:Boolean; var _local11:uint; var _local12:*; var _local3:Array = _arg1.split(" "); var _local4:Array = []; var _local5:uint = _local3.length; var _local6:uint; var _local7:uint; var _local8:* = 0; while (_local8 < _local5) { _local9 = this.textField.getCharBoundaries(((_arg2 + _local6) + _local8)); _local10 = false; if (_local9 == null){ _local10 = true; _local11 = _local3[_local8].length; if (_local11 > 0){ _local12 = 0; while (_local12 < _local11) { _local9 = this.textField.getCharBoundaries((((_arg2 + _local6) + _local8) + _local12)); if (_local9 != null){ _local10 = false; break; }; _local12++; }; }; }; if (_local10 == false){ _local4[_local7] = {id:((_arg2 + _local8) + _local6), bounds:_local9, text:_local3[_local8]}; _local6 = (_local6 + String(_local4[_local7].text).length); _local7++; } else { _local6 = (_local6 + _local3[_local8].length); }; _local8++; }; return (_local4); } public function get swapTransitionName():String{ return (_swapTransitionName); } public function set partialPatternName(_arg1:String):void{ var patternReference:Class; var arg = _arg1; if (arg != ""){ try { patternReference = (getDefinitionByName(arg) as Class); } catch(e:ReferenceError) { throw ((("FLASHEFF2 ERROR: The Pattern:" + arg) + " is unavailable.")); }; }; if (patternReference != null){ this.partialPattern = new patternReference(this); this.partialPattern.target = this._partialTextOwnerClip; }; __partialPattern = arg; } public function set swapTarget(_arg1:DisplayObject):void{ if (_arg1 != null){ this._swapTarget = _arg1; _arg1.visible = this.swapTargetVisibility; this._swapTransitionName = _arg1.name; } else { this._swapTarget = null; this._swapTransitionName = ""; }; } public function set xmlString(_arg1:String):void{ var _local2:XML; if (_arg1 != ""){ this.__xmlString = _arg1; _local2 = new XML(_arg1); setProperties(_local2); }; } public function get partialPatternName():String{ return (__partialPattern); } public function get currentTransitionType():String{ return (this._cTT); } public function set isMouseTriggered(_arg1:Boolean):void{ this._isMouseTriggered = _arg1; } public function removeButtonEffect():void{ if (this.buttonEffect != null){ this.buttonEffect.remove(); }; this.highestOwner.mouseChildren = true; this.removeButtonEvents(); this.isButtonEffectApplyed = false; } protected function addToGroupList(_arg1:DisplayObject):void{ if (_arg1 != null){ this.removeFromGroupList(_arg1); }; if (this.toggle == true){ groupList.push(this); }; } public function removeAllCommands():void{ var _local1:*; for (_local1 in _slot1.eventTypeAsoc) { this.removeAllCommandsByEventType(_local1); }; } public function removeCommand(_arg1:IFlashEffCommand):void{ var _local2:*; var _local3:Array; var _local4:uint; for (_local2 in _slot1.eventTypeAsoc) { _local3 = this[(("_" + _local2) + "Commands")]; if (_local3 != null){ _local4 = 0; while (_local4 < _local3.length) { if (_local3[_local4] == _arg1){ _local3.splice(_local4, 1); }; _local4++; }; if (_slot1.eventTypeAsoc[_local2] != ""){ this.setCommands(_local2); }; }; }; } public function buttonPress():void{ pressButtonHandler(null, true); } public function get showTransition():IFlashEffSymbolText{ return (this.showPattern); } protected function pressButtonHandler(_arg1:MouseEvent=null, _arg2:Boolean=false):void{ this.isDragOut = true; if ((((_arg2 == true)) || ((this.isMouseTriggered == true)))){ if (this._isTransitioning == false){ if (this.buttonEffect != null){ this.buttonEffect.buttonPress(); }; }; }; if (_arg1 != null){ this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.MOUSE_DOWN)); }; } public function get filterList():Array{ return (this._filterList); } protected function runCommands(_arg1:Array):void{ var _local2:Number; var _local3:*; if (_arg1 != null){ _local2 = _arg1.length; _local3 = 0; while (_local3 < _local2) { IFlashEffCommand(_arg1[_local3]).run(); _local3++; }; }; } public function get hideTransition():IFlashEffSymbolText{ return (this.hidePattern); } public function buttonRollOver():void{ rollOverButtonHandler(null, true); } protected function customSplit(_arg1:String, _arg2:uint, _arg3):Array{ var _local9:String; var _local10:Rectangle; var _local11:Boolean; var _local12:uint; var _local13:*; var _local4:Array = []; var _local5:uint = _arg3.length; var _local6:uint; var _local7:uint; var _local8:* = 0; while (_local8 < _local5) { _local9 = this.textField.text.substr((_arg2 + _local6), _arg3[_local8]); _local10 = this.textField.getCharBoundaries((_arg2 + _local6)); _local11 = false; if (_local10 == null){ _local11 = true; _local12 = _local9.length; if (_local12 > 0){ _local13 = 0; while (_local13 < _local12) { _local10 = this.textField.getCharBoundaries(((_arg2 + _local6) + _local13)); if (_local10 != null){ _local11 = false; break; }; _local13++; }; }; }; if (_local11 == false){ _local4[_local7] = {id:(_arg2 + _local6), bounds:_local10, text:_local9}; _local6 = (_local6 + _arg3[_local8]); _local7++; } else { _local6 = (_local6 + _arg3[_local8]); }; _local8++; }; return (_local4); } public function addFilterByName(_arg1:String, _arg2:Object=null):IFlashEffFilter{ var filterReference:Class; var i:*; var filterName = _arg1; var initObj = _arg2; try { filterReference = (getDefinitionByName(filterName) as Class); } catch(e:ReferenceError) { trace((("FLASHEFF2 ERROR: The filter pattern '" + filterName) + "' is missing from library.")); return (null); }; var filter:IFlashEffFilter = IFlashEffFilter(new filterReference(this)); if (initObj != null){ for (i in initObj) { filter[i] = initObj[i]; }; }; this.addFilter(filter); return (filter); } public function setXML(_arg1):void{ this.setProperties(_arg1); } protected function rollOverButtonHandler(_arg1:MouseEvent=null, _arg2:Boolean=false):void{ if ((((_arg2 == true)) || ((this.isMouseTriggered == true)))){ if (this._isTransitioning == false){ if (this.buttonEffect != null){ this.buttonEffect.buttonRollOver(); }; }; }; if (_arg1 != null){ this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.ROLL_OVER)); }; } override public function dispatchEvent(_arg1:Event):Boolean{ var _local3:FLASHEFFEvents; var _local4:Boolean; var _local5:Point; var _local6:DisplayObject; var _local7:Timer; var _local8:DisplayObject; var _local9:Boolean; var _local10:Boolean; var _local11:Boolean; var _local12:*; var _local2:Boolean; if ((((_arg1.type == FLASHEFFEvents.TRANSITION_END)) || ((_arg1.type == "defaultPatternFinish")))){ (_arg1 as FLASHEFFEvents).currentTransitionType = this.currentTransitionType; eventsDispatched++; if (eventsDispatched == maxEndEvents){ this.runCommands(this[(("_" + this.currentTransitionType) + "TransitionEndCommands")]); if (isTargetVisibleAtEnd == true){ if (this.transitionType == "show"){ this.target.visible = true; }; this._textOwnerClip.visible = false; this._partialTextOwnerClip.visible = false; }; _local2 = true; _isTransitioning = false; if (this.transitionType == "show"){ if (isButtonEffectApplyed == true){ _local5 = new Point(this.mouseX, this.mouseY); _local5 = this.localToGlobal(_local5); if (this.highestOwner.hitTestPoint(_local5.x, _local5.y, true)){ this.rollOverButtonHandler(null, true); }; }; }; _local3 = new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END); _local3.currentTransitionType = this.currentTransitionType; _local4 = false; if (this.transitionType == "show"){ if (this.hidePattern != null){ if ((((((this.hideAutoPlay == true)) && (!((this.forceAutoPlay == false))))) || ((this.forceAutoPlay == true)))){ this.hideTimer.reset(); this.hideTimer.start(); this.forceAutoPlay = null; this.hideTimer.addEventListener(TimerEvent.TIMER, this.hideCaller); }; }; } else { if (this.setNewTarget == true){ this.hideTimer.stop(); this.showTimer.stop(); _local6 = this.target; this.target = this.nextTarget; if (_local6 != null){ _local6.visible = false; }; this.setNewTarget = false; this.nextTarget = null; _local4 = super.dispatchEvent(_local3); _local7 = new Timer(this.showDelay, 1); if (this.showDelay > 0){ _local7.start(); _local7.addEventListener(TimerEvent.TIMER, this.showCallerWeak); } else { this.show(false); }; return (_local4); }; if (this._cTT == "swap"){ _local8 = this.target; this.removeSwapFlashEff2(); this.target = this.swapTarget; this.target.visible = true; this.swapTarget = null; _local8.visible = this.targetVisibility; _local9 = this.hideAutoPlay; _local10 = this.showAutoPlay; _local11 = this.targetVisibility; this.__hideAutoPlay = false; this.__showAutoPlay = false; this.targetVisibility = true; this.invalidate(); this.drawNow(); this.__hideAutoPlay = _local9; this.__showAutoPlay = _local10; this.targetVisibility = _local11; this.target.visible = true; } else { if (this._cTT == "hide"){ if (this._clearAfterHide == true){ this.removeEffect(true); this.removeButtonEvents(); for (_local12 in this.filterList) { IFlashEffFilter(this.filterList[_local12]).remove(); }; }; }; }; }; _local4 = super.dispatchEvent(_local3); return (_local4); } else { _local2 = false; }; } else { if (_arg1.type == FLASHEFFEvents.TRANSITION_START){ this.runCommands(this[(("_" + this.currentTransitionType) + "TransitionStartCommands")]); (_arg1 as FLASHEFFEvents).currentTransitionType = this.currentTransitionType; }; }; if (_local2 == true){ return (super.dispatchEvent(_arg1)); }; return (true); } public function get firstLevelOwner():Sprite{ return (this._firstLevelOwner); } public function set showTransition(_arg1:IFlashEffSymbolText):void{ if (_arg1 != null){ if (this.showPattern != null){ this.showPattern.remove(); }; this.showPattern = _arg1; this._showTransitionName = String(getQualifiedClassName(_arg1)).replace("::", "."); }; } public function set filterList(_arg1:Array):void{ var _local2:*; this.removeAllFilters(); if (_arg1 != null){ for (_local2 in _arg1) { this.addFilter(_arg1[_local2]); }; }; } public function getFilter(_arg1:String):IFlashEffFilter{ var _local2:*; for (_local2 in this.filterList) { if (String(getQualifiedClassName(this.filterList[_local2])).replace("::", ".") == _arg1){ return (this.filterList[_local2]); }; }; return (null); } public function get highestOwner():Sprite{ return (this._highestOwner); } protected function setButtonEvents():void{ this.highestOwner.addEventListener(MouseEvent.ROLL_OVER, this.rollOverButtonHandler); this.highestOwner.addEventListener(MouseEvent.ROLL_OUT, this.rollOutButtonHandler); this.highestOwner.addEventListener(MouseEvent.MOUSE_DOWN, this.pressButtonHandler); this.highestOwner.addEventListener(MouseEvent.MOUSE_UP, this.releaseButtonHandler); isButtonEffectApplyed = true; } public function buttonRelease():void{ releaseButtonHandler(null, true); } public function get ideDataHolder():String{ return (this._ideDataHolder); } public function set swapTargetVisibility(_arg1:Boolean):void{ __swapTargetVisibility = _arg1; if (this.swapTarget != null){ this.swapTarget.visible = _arg1; }; } protected function showCallerWeak(_arg1:TimerEvent):void{ this.show(false); } public function getNumGroupButtons(_arg1:String=""):uint{ var _local3:*; if (_arg1 == ""){ _arg1 = this._groupName; }; var _local2:uint; for (_local3 in groupList) { if ((groupList[_local3] as _slot1).groupName == _arg1){ _local2++; }; }; return (_local2); } public function get absCustom():Array{ return (this._absCustom.concat()); } protected function removeSwapFlashEff2(){ if (this.swapFlashEff2 != null){ this.swapFlashEff2.removeAll(); this.removeChild(this.swapFlashEff2); this.swapFlashEff2.removeEventListener(FLASHEFFEvents.TRANSITION_END, dispatchEvent); this.swapFlashEff2.removeEventListener(FLASHEFFEvents.DOUBLE_CLICK, dispatchEvent); this.swapFlashEff2.removeEventListener(FLASHEFFEvents.MOUSE_DOWN, dispatchEvent); this.swapFlashEff2.removeEventListener(FLASHEFFEvents.MOUSE_UP, dispatchEvent); this.swapFlashEff2.removeEventListener(FLASHEFFEvents.ROLL_OUT, dispatchEvent); this.swapFlashEff2.removeEventListener(FLASHEFFEvents.ROLL_OVER, dispatchEvent); this.swapFlashEff2 = null; }; } public function set ideDataHolder(_arg1:String){ this._ideDataHolder = _arg1; } public function get commands():Array{ return (this._rollOverCommands.concat(this._rollOutCommands, this._pressCommands, this._releaseCommands, this._doubleClickCommands, this._showTransitionStartCommands, this._showTransitionEndCommands, this._hideTransitionStartCommands, this._hideTransitionEndCommands)); } public function removeCommandByName(_arg1:String):void{ var _local2:*; var _local3:Array; var _local4:uint; for (_local2 in _slot1.eventTypeAsoc) { _local3 = this[(("_" + _local2) + "Commands")]; if (_local3 != null){ _local4 = 0; while (_local4 < _local3.length) { if (String(getQualifiedClassName(_local3[_local4])).replace("::", ".") == _arg1){ _local3.splice(_local4, 1); }; _local4++; }; if (_slot1.eventTypeAsoc[_local2] != ""){ this.setCommands(_local2); }; }; }; } public function removeAll():void{ this.removeEffect(true, this.showPattern); this.removeEffect(true, this.hidePattern); this.removeSwapFlashEff2(); this.removeAllCommands(); this.removeAllFilters(); this.removeButtonEffect(); this.buttonEffect = null; this._buttonEffectName = ""; this.removeShowTransition(); this.removeHideTransition(); this.showTimer.stop(); this.hideTimer.stop(); this.showTimer.removeEventListener(TimerEvent.TIMER, this.showCaller); this.hideTimer.removeEventListener(TimerEvent.TIMER, this.hideCaller); if (this.target != null){ this.removeFromGroupList(this.target); this.target.visible = true; this.resetChildDisplayList(this.target); this.hitAreaClip.width = (this.hitAreaClip.height = 0); }; } public function get showDelay():Number{ return (__showDelay); } public function get buttonEffectName():String{ return (this._buttonEffectName); } public function set swapTransition(_arg1:IFlashEffSymbolText):void{ if (_arg1 != null){ if (this.swapPattern != null){ this.swapPattern.remove(); }; this.swapPattern = _arg1; this._swapTransitionName = String(getQualifiedClassName(_arg1)).replace("::", "."); }; } protected function getPath(_arg1:DisplayObject):String{ var _local2:DisplayObject = _arg1.parent; var _local3:String = _arg1.name; while (((!((_local2 is Stage))) && (!((_local2 == null))))) { _local3 = ((_local2.name + ".") + _local3); _local2 = _local2.parent; }; return (_local3); } public function getShowPattern():IFlashEffSymbolText{ return (this.showPattern); } protected function pressCommandHandler(_arg1:MouseEvent):void{ this.runCommands(this._pressCommands); } public function set hideTransition(_arg1:IFlashEffSymbolText):void{ if (_arg1 != null){ if (this.hidePattern != null){ this.hidePattern.remove(); }; this.hidePattern = _arg1; this._hideTransitionName = String(getQualifiedClassName(_arg1)).replace("::", "."); }; } public function set isTargetVisibleAtEnd(_arg1:Boolean):void{ this._isTargetVisibleAtEnd = _arg1; } public function get absChars():Array{ return (this._absChars.concat()); } function setDrawTime():void{ if ((((this.showAutoPlay == true)) || ((this.hideAutoPlay == true)))){ if ((this.target is DisplayObject)){ if (this.target.stage == null){ this.target.addEventListener(Event.ADDED_TO_STAGE, this.targetOnAdd); } else { if (drawCalled == false){ drawCalled = true; targetOnAdd(new Event(Event.ADDED_TO_STAGE)); }; }; }; }; } public function getHidePattern():IFlashEffSymbolText{ return (this.hidePattern); } public function get textTable():FeTable{ return (this._textTable); } public function set toggle(_arg1:Boolean):void{ var _local2:* = _toggle; _toggle = _arg1; if (_local2 != _arg1){ if (_arg1 == true){ this.addToGroupList(this.target); } else { this.removeFromGroupList(this.target); }; }; } protected function callDraw(_arg1:Event):void{ this.draw(); } public function get buttonOwner():Sprite{ return (this._buttonOwner); } public function set hideTransitionName(_arg1:String):void{ var patternClass:Class; var arg = _arg1; if (arg != ""){ try { patternClass = (getDefinitionByName(arg) as Class); if (this.hidePattern != null){ this.hidePattern.remove(); }; this.hidePattern = new patternClass(this); } catch(e:ReferenceError) { throw ((("FLASHEFF2 ERROR: The pattern '" + arg) + "' is missing from library.")); }; this._hideTransitionName = arg; }; } public function set hideDelay(_arg1:Number):void{ if (isNaN(_arg1)){ _arg1 = 2; } else { if (_arg1 < 0){ _arg1 = 0; }; }; this.__hideDelay = _arg1; if (_arg1 < 1E-6){ _arg1 = 1E-6; }; this.hideTimer.delay = (_arg1 * 1000); } public function get isFree():Boolean{ return (false); } public function get absMatrix():Array{ return (this._absMatrix.concat()); } public function set buttonEffect(_arg1:IFlashEffButtonEffect):void{ if (this.buttonEffect != null){ this.buttonEffect.remove(); }; if (_arg1 != null){ this.setButtonEvents(); this._buttonEffect = _arg1; this.buttonEffect["selected"] = this.selected; this._buttonEffect.target = this.buttonTarget; this._buttonEffect.component = this; this._buttonEffect.apply(); this._buttonEffectName = String(getQualifiedClassName(_arg1).replace("::", ".")); } else { this.removeButtonEvents(); this._buttonEffect = null; }; } public function removeAllFilters():void{ var _local1:*; var _local2:Boolean; if (this.filterList != null){ _local1 = 0; while (_local1 < this.filterList.length) { _local2 = this.removeFilter(this.filterList[_local1]); _local1 = (_local1 - Number(_local2)); _local1++; }; }; this.filterAsoc = []; } public function set swapType(_arg1:String):void{ if ((((((_arg1 == _slot1.SWAP_TYPE_HIDE)) || ((_arg1 == _slot1.SWAP_TYPE_SHOW)))) || ((_arg1 == _slot1.SWAP_TYPE_HIDE_AND_SHOW)))){ this.__swapType = _arg1; }; } public function get xmlPath():String{ return (__xmlPath); } protected function rollOverCommandHandler(_arg1:MouseEvent):void{ this.runCommands(this._rollOverCommands); } public function getXML():XML{ return (_xml); } protected function setProp(_arg1:XMLList, _arg2:Object):void{ var child:XML; var propType:String; var propValue:String; var propName:String; var arg = _arg1; var refObj = _arg2; if (refObj != null){ for each (child in arg.children()) { propType = child.type; propValue = child.value; propName = child.name().localName; try { switch (propType){ case "String": refObj[propName] = String(propValue); break; case "Number": refObj[propName] = Number(String(propValue)); break; case "uint": refObj[propName] = uint(String(propValue)); break; case "int": refObj[propName] = int(String(propValue)); break; case "Boolean": refObj[propName] = (String(propValue) == "true"); break; case "Array": refObj[propName] = String(propValue).split(","); break; case "XML": refObj[propName] = XML(String(propValue)); break; }; } catch(e:Error) { trace(((((("FLASHEFF2 ERROR: While trying to set the " + propName) + " on ") + refObj) + ",this error came:") + e.message)); }; }; }; } protected function getCommandsNumber():Number{ var _local2:*; var _local1:Number = 0; for (_local2 in _slot1.eventTypeAsoc) { _local1 = (_local1 + this[(("_" + _local2) + "Commands")].length); }; return (_local1); } protected function showCaller(_arg1:TimerEvent):void{ this.show(); } public function get hideAutoPlay():Boolean{ return (__hideAutoPlay); } public function get partialTable():FeTable{ return (this._partialTable); } protected function releaseButtonHandler(_arg1:MouseEvent=null, _arg2:Boolean=false):void{ if (this._toggle == true){ if (this.isDragOut == true){ if ((((_arg2 == true)) || ((this.isMouseTriggered == true)))){ if (this._isTransitioning == false){ if (this.selected == false){ this.selected = true; } else { if (this.getNumGroupButtons() < 2){ this.selected = false; } else { clickButtonHandler(_arg1, _arg2); }; }; }; }; }; if (_arg1 != null){ this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.MOUSE_UP)); }; } else { clickButtonHandler(_arg1, _arg2); }; } protected function removedFromStage(_arg1:Event):void{ if (_slot1.REMOVED_FROM_FLASHEFF == false){ this.removeEffect(true); this.removeAllCommands(); this.removeAllFilters(); this.removeButtonEffect(); }; } public function get initialTargetTransform():Transform{ return (this._initialTargetTransform); } public function show(_arg1=null):void{ this.forceAutoPlay = _arg1; this.showTimer.stop(); this.hideTimer.stop(); this.transitionType = "show"; this.transitionEffect(this.transitionType); } public function get selected():Boolean{ return (_selected); } public function removeAllCommandsByEventType(_arg1:String):void{ var _local2:Array = this[(("_" + _arg1) + "Commands")]; if (_local2 != null){ if (_local2.length > 0){ this[(("_" + _arg1) + "Commands")] = []; if (_slot1.eventTypeAsoc[_arg1] != ""){ this.setCommands(_arg1); }; }; }; } public function get isMouseTriggered():Boolean{ return (_isMouseTriggered); } public function set targetVisibility(_arg1:Boolean):void{ __targetVisibility = _arg1; } public function get xmlString():String{ return (__xmlString); } public function get swapTarget():DisplayObject{ return (this._swapTarget); } protected function init():void{ this._targetOwner = new MovieClip(); this._firstLevelOwner = new Sprite(); this._highestOwner = new Sprite(); this.bDBTO = new Sprite(); this.bDBT = new Sprite(); this.aDBT = new Sprite(); this.aDBTO = new Sprite(); this.aDBT.addChild(this.firstLevelOwner); this.aDBTO.addChild(this.aDBT); this.highestOwner.addChild(this.aDBTO); this.addChild(this.highestOwner); this.bDBT.addChild(this.targetOwner); this.bDBTO.addChild(bDBT); this.firstLevelOwner.addChild(this.bDBTO); this.buttonTarget = this.aDBT; this.firstInDepth = this.bDBTO; this.hitAreaClip = new Sprite(); this.addChild(this.hitAreaClip); this.highestOwner.hitArea = this.hitAreaClip; this.hitAreaClip.mouseEnabled = false; this.hitAreaClip.visible = false; this.hitAreaClip.graphics.beginFill(0); this.hitAreaClip.graphics.drawRect(0, 0, 1, 1); this.hitAreaClip.graphics.endFill(); this.hitAreaClip.height = 0; this.hitAreaClip.width = 0; this._textOwnerClip = new Sprite(); this._partialTextOwnerClip = new Sprite(); this.targetOwner.addChild(this._textOwnerClip); this.targetOwner.addChild(this._partialTextOwnerClip); this._textTable = new FeTable(); this._partialTable = new FeTable(); this._textOwnerClip.addChild(DisplayObject(this.textTable)); this._partialTextOwnerClip.addChild(DisplayObject(this.partialTable)); tTS = new Sprite(); this._buttonOwner = new Sprite(); this.aDBTO.addChild(this.buttonOwner); this.resetArrays(); this._filterList = []; this._rollOverCommands = []; this._rollOutCommands = []; this._pressCommands = []; this._releaseCommands = []; this._doubleClickCommands = []; this._showTransitionStartCommands = []; this._showTransitionEndCommands = []; this._hideTransitionStartCommands = []; this._hideTransitionEndCommands = []; this.filterAsoc = []; if (_slot1.targetPaths == null){ _slot1.targetPaths = []; }; if (groupList == null){ groupList = []; }; this.showTimer = new Timer((this.showDelay * 1000), 1); this.hideTimer = new Timer((this.hideDelay * 1000), 1); this.partialPatternName = this.__partialPattern; this.addEventListener(Event.REMOVED_FROM_STAGE, removedFromStage); } protected function setCommands(_arg1:String):void{ var eventType = _arg1; try { if (((!((this[(("_" + eventType) + "Commands")] == null))) && ((this[(("_" + eventType) + "Commands")].length > 0)))){ this.highestOwner.addEventListener(MouseEvent[_slot1.eventTypeAsoc[eventType]], this[(eventType + "CommandHandler")]); } else { this.highestOwner.removeEventListener(MouseEvent[_slot1.eventTypeAsoc[eventType]], this[(eventType + "CommandHandler")]); }; } catch(e:Error) { trace("FLASHEFF2 ERROR: Unknown eventType. Available events are: rollOver, rollOut, press, release, doubleClick, showTransitionStart, showTransitionEnd, hideTransitionStart and hideTransitionEnd."); }; if (this.highestOwner.hasEventListener("doubleClick")){ this.highestOwner.doubleClickEnabled = true; this.highestOwner.mouseChildren = false; } else { this.highestOwner.doubleClickEnabled = false; this.highestOwner.mouseChildren = true; }; } public function set showDelay(_arg1:Number):void{ if (isNaN(_arg1)){ _arg1 = 0; } else { if (_arg1 <= 0){ _arg1 = 0; }; }; this.__showDelay = _arg1; if (_arg1 < 1E-6){ _arg1 = 1E-6; }; this.showTimer.delay = (_arg1 * 1000); } public function set useSwapInsteadHide(_arg1:Boolean):void{ this._useSwapInsteadHide = _arg1; } protected function clickButtonHandler(_arg1:MouseEvent=null, _arg2:Boolean=false):void{ if (this.isDragOut == true){ if ((((_arg2 == true)) || ((this.isMouseTriggered == true)))){ if (this._isTransitioning == false){ if (this.buttonEffect != null){ this.buttonEffect.buttonRelease(); }; }; }; }; if (_arg1 != null){ this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.MOUSE_UP)); }; } override public function set useHandCursor(_arg1:Boolean):void{ var arg = _arg1; this._useHandCursor = arg; this.highestOwner.buttonMode = arg; this.highestOwner.useHandCursor = arg; try { this.target["mouseEnabled"] = !(arg); } catch(e:Error) { }; } public function set clearAfterHide(_arg1:Boolean):void{ _clearAfterHide = _arg1; } public function set target(_arg1:DisplayObject):void{ var point:Point; var bounds:Rectangle; var arg = _arg1; if (this._target != null){ if (this.showPattern != null){ try { this.showPattern.remove(); this.showPattern["target"] = null; } catch(e:Error) { }; }; if (this.hidePattern != null){ try { this.hidePattern.remove(); this.hidePattern["target"] = null; } catch(e:Error) { }; }; this.removeFromGroupList(this.target); this._target.visible = true; this.resetChildDisplayList(this._target); }; if (arg != null){ if (arg.parent != null){ resetChildDisplayList(arg); this.addToGroupList(arg); this._target = arg; if (this._targetInstanceName == ""){ this.invalidate(); this.setDrawTime(); }; this.__targetInstanceName = arg.name; point = new Point(0, 0); bounds = arg.getBounds(arg); if ((arg is TextField)){ point.x = bounds.x; point.y = bounds.y; this._textField = TextField(arg); this.textField.visible = false; this._partialTextOwnerClip.scaleX = (this._textOwnerClip.scaleX = this.textField.scaleX); this._partialTextOwnerClip.scaleY = (this._textOwnerClip.scaleY = this.textField.scaleY); }; this.hitAreaClip.width = (bounds.width * this.target.scaleX); this.hitAreaClip.height = (bounds.height * this.target.scaleY); this.hitAreaClip.x = ((bounds.x * target.scaleX) - point.x); this.hitAreaClip.y = ((bounds.y * target.scaleY) - point.y); point = arg.localToGlobal(point); point = this.parent.globalToLocal(point); _slot1.targetPaths[this.getPath(arg)] = {target:arg, displayList:target.parent, x:arg.x, y:arg.y, rotation:arg.rotation}; _slot1.REMOVED_FROM_FLASHEFF = true; this.targetOwner.addChild(arg); _slot1.REMOVED_FROM_FLASHEFF = false; this.x = (this.x + (point.x - this.x)); this.y = (this.y + (point.y - this.y)); this.rotation = this.target.rotation; this.target.x = 0; this.target.y = 0; this.target.rotation = 0; tTS.transform = arg.transform; this._initialTargetTransform = tTS.transform; } else { trace("FLASHEFF2 ERROR: Please add the target to the display list, before setting the _targetInstanceName|target property on FlashEff2."); }; } else { trace("FLASHEFF2 ERROR: Target must be a non-null DisplayObject."); }; } public function set _targetInstanceName(_arg1:String):void{ var scope:DisplayObjectContainer; var paths:Array; var targName:String; var i:*; var newTarget:DisplayObject; var strPath:String; var existObj:Object; var arg = _arg1; if (arg != ""){ if ((this.parent is DisplayObject)){ scope = this.parent; paths = arg.split("."); targName = paths.pop(); try { i = 0; while (i < paths.length) { scope = (scope[paths[i]] as DisplayObjectContainer); i = (i + 1); }; } catch(e:Error) { trace("FLASHEFF2 ERROR: The _targetInstanceName path is invalid."); return; }; if (scope != null){ newTarget = scope.getChildByName(targName); if (newTarget == null){ strPath = this.getPath(scope); existObj = _slot1.targetPaths[((strPath + ".") + arg)]; if (existObj != null){ newTarget = existObj.target; }; }; this.target = newTarget; }; } else { trace("FLASHEFF2 ERROR: Please add the component to the display list, before setting the _targetInstanceName property."); }; this.__targetInstanceName = arg; }; } protected function startPartialEffect():void{ if (this.partialPattern != null){ try { this.partialPattern["partialBlurAmount"] = IFlashEffText(this.lastTransitionPattern).partialBlurAmount; this.partialPattern["partialStart"] = IFlashEffText(this.lastTransitionPattern).partialStart; this.partialPattern.tweenDuration = this.lastTransitionPattern.tweenDuration; this.partialPattern.tweenType = this.lastTransitionPattern.tweenType; this.partialPattern.easeType = this.lastTransitionPattern.easeType; } catch(e:Error) { trace("FLASHEFF2 ERROR: an error ocured when trying to set partialBlurAmount, partialStart, tweenDuration,tweenType and easeType on the partialPattern."); }; var _local2 = this.partialPattern; _local2[this.transitionType](); }; clearInterval(this.partialInterval); } protected function targetOnAdd(_arg1:Event):void{ if ((this.target.parent is MovieClip)){ if (MovieClip(this.target.parent).currentFrame <= 1){ this.target.visible = false; }; }; this.target.removeEventListener(Event.ADDED_TO_STAGE, this.targetOnAdd); this.target.stage.invalidate(); this.firstLevelOwner.addEventListener(Event.RENDER, callDraw); } public function removeFilter(_arg1:IFlashEffFilter):Boolean{ var _local2:*; var _local3:uint; if (_arg1 != null){ _arg1.remove(); for (_local2 in this.filterList) { if (this.filterList[_local2] == _arg1){ if (_arg1.target == this.firstInDepth){ this.firstInDepth = this.filterAsoc[_arg1.target.name]; }; if (this.filterList.length > (_local2 + 1)){ this.filterAsoc[this.filterList[(_local2 + 1)].target.name] = this.filterAsoc[_arg1.target.name]; }; this.filterList.splice(_local2, 1); _local3 = 0; while (_local2 < _arg1.target.numChildren) { _arg1.target.parent.addChild(_arg1.target.getChildAt(_local3)); _local3++; }; _arg1.target.parent.removeChild(_arg1.target); return (true); }; }; }; return (false); } public function setProperties(_arg1):void{ var child:XML; var command:IFlashEffCommand; var filter:IFlashEffFilter; var me:FlashEff2; var urlLdr:URLLoader; var xmlArg = _arg1; if ((xmlArg is XML)){ this.invalidate(); this._xml = (xmlArg as XML); this.removeEffect(true); this.removeAllCommands(); this.removeAllFilters(); this.removeButtonEffect(); if (xmlArg.params.children().length() > 0){ this.setProp(xmlArg.params, this); }; for each (child in xmlArg.patterns.children()) { switch (String(child.type)){ case "command": command = this.addCommandByName(String(child.name), String(child.event)); this.setProp(child.params, command); break; case "showCommand": command = this.addCommandByName(String(child.name), String(child.event)); this.setProp(child.params, command); break; case "hideCommand": command = this.addCommandByName(String(child.name), String(child.event)); this.setProp(child.params, command); break; case "filter": filter = this.addFilterByName(String(child.name)); this.setProp(child.params, filter); break; case "buttonEffect": this.buttonEffectName = String(child.name); this.setProp(child.params, this.buttonEffect); break; case "hide": this.hideTransitionName = String(child.name); this.setProp(child.params, this.hidePattern); break; case "show": this.showTransitionName = String(child.name); this.setProp(child.params, this.showPattern); break; case "swap": this.swapTransitionName = String(child.name); this.setProp(child.params, this.swapPattern); break; }; }; drawCalled = false; this.setDrawTime(); } else { me = this; urlLdr = new URLLoader(); urlLdr.dataFormat = "text"; urlLdr.addEventListener(Event.COMPLETE, function (_arg1:Event){ var _local2:FLASHEFFEvents = new FLASHEFFEvents(FLASHEFFEvents.COMPLETE); _local2.data = urlLdr.data; me.dispatchEvent(_local2); var _local3:XML = XML(urlLdr.data); if (String(_local3.params.xmlPath.value) == xmlArg){ _local3.params.xmlPath.value = ""; }; me.setProperties(_local3); }); urlLdr.addEventListener("ioError", function (_arg1:Event){ trace("FLASHEFF2 ERROR: There was an IO_ERROR problem loading the xml. Please check the xmlPath."); me.dispatchEvent(_arg1); }); urlLdr.load(new URLRequest(xmlArg)); }; } public function get swapTargetVisibility():Boolean{ return (__swapTargetVisibility); } protected function resetChildDisplayList(_arg1:DisplayObject):void{ var _local3:*; var _local4:Object; var _local2:Array = _slot1.targetPaths; for (_local3 in _local2) { _local4 = _local2[_local3]; if (_local4 != null){ if (_local4.target == _arg1){ if (_local4.displayList.getChildByName(_arg1.name) == null){ _local4.displayList.addChild(_arg1); _arg1.x = _local4.x; _arg1.y = _local4.y; _arg1.rotation = _local4.rotation; }; _slot1.targetPaths[_local3] = null; return; }; }; }; } public function removeEffect(_arg1:Boolean=false, _arg2:IFlashEffSymbolText=null):void{ if (_arg2 == null){ _arg2 = this.lastTransitionPattern; }; if (_arg2 != null){ _arg2.remove(); }; if (this.partialPattern != null){ this.partialPattern.remove(); }; if (this.textTable != null){ this.textTable.removeChilds(); }; if (this.partialTable != null){ this.partialTable.removeChilds(); }; if (_arg1 == false){ if (_isTransitioning == true){ eventsDispatched = 0; maxEndEvents = 1; this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); }; }; if (target != null){ this.target.visible = _isTargetVisibleAtEnd; }; this.maxEndEvents = 0; } public function set selected(_arg1:Boolean):void{ var _local2:*; var _local3:FlashEff2; var _local4:Point; if (!this.isInvalid("all")){ if (_arg1 == true){ for (_local2 in _slot1.groupList) { _local3 = (_slot1.groupList[_local2] as _slot1); if (_local3 != this){ if (_local3.selected == true){ if (_local3.groupName == this.groupName){ _local3.selected = false; }; }; }; }; }; }; _selected = _arg1; if (this.buttonEffect != null){ this.buttonEffect["selected"] = _arg1; }; if (!this.isInvalid("all")){ if (this.buttonEffect != null){ _local4 = new Point(this.mouseX, this.mouseY); _local4 = this.localToGlobal(_local4); if (this.highestOwner.hitTestPoint(_local4.x, _local4.y, true)){ this.buttonRollOver(); } else { this.buttonRollOut(); }; }; }; } public function set buttonEffectName(_arg1:String):void{ var btnEff:Class; var arg = _arg1; if (arg != ""){ try { btnEff = (getDefinitionByName(arg) as Class); this.buttonEffect = IFlashEffButtonEffect(new btnEff(this)); } catch(e:Error) { }; this._buttonEffectName = arg; }; } public function set showAutoPlay(_arg1:Boolean):void{ __showAutoPlay = _arg1; this.invalidate(); setDrawTime(); } public function getFilterAt(_arg1:uint):IFlashEffFilter{ if (_arg1 < this.filterList.length){ return (this.filterList[_arg1]); }; return (null); } override protected function draw():void{ var _local1:Boolean; var _local2:*; var _local3:Timer; var _local4:*; var _local5:FlashEff2; var _local6:Point; if (this.isInvalid("all")){ if (this.target != null){ _local1 = false; if (((!((this.showPattern == null))) && ((this.showAutoPlay == true)))){ this.transitionType = "show"; _local1 = true; } else { if (this.hidePattern != null){ if (this.hideAutoPlay == true){ _local1 = true; this.transitionType = "hide"; }; }; }; if (this.target.parent != this.targetOwner){ if ((((((_local1 == true)) || ((this.filterList.length > 0)))) || ((this.getCommandsNumber() > 0)))){ this.target = this.target; }; }; this.target.visible = this.targetVisibility; if (_local1){ _local3 = this[(this.transitionType + "Timer")]; if (this[(this.transitionType + "Delay")] > 0){ _local3.reset(); _local3.start(); _local3.addEventListener(TimerEvent.TIMER, this[(this.transitionType + "Caller")]); if (this.transitionType == "show"){ if (this.target != null){ this.target.visible = false; }; }; } else { this.transitionEffect(this.transitionType); }; }; if (this.selected == true){ for (_local4 in _slot1.groupList) { _local5 = (_slot1.groupList[_local4] as _slot1); if (_local5 != this){ if (_local5.selected == true){ if (_local5.groupName == this.groupName){ _local5.selected = false; }; }; }; }; }; if (this.buttonEffect != null){ _local6 = new Point(this.mouseX, this.mouseY); _local6 = this.localToGlobal(_local6); if (this.highestOwner.hitTestPoint(_local6.x, _local6.y, true)){ this.buttonRollOver(); } else { this.buttonRollOut(); }; }; for (_local2 in this.filterList) { IFlashEffFilter(this.filterList[_local2]).remove(); IFlashEffFilter(this.filterList[_local2]).apply(); }; }; this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.INIT)); super.draw(); }; } public function get swapTransition():IFlashEffSymbolText{ return (this.swapPattern); } public function hide():void{ this.showTimer.stop(); this.hideTimer.stop(); this.transitionType = "hide"; this.transitionEffect(this.transitionType); } public function get isTargetVisibleAtEnd():Boolean{ return (_isTargetVisibleAtEnd); } public function transitionEffect(_arg1:String="show"):void{ var i:*; var transt = _arg1; if (this.isInvalid("all")){ for (i in this.filterList) { IFlashEffFilter(this.filterList[i]).remove(); IFlashEffFilter(this.filterList[i]).apply(); }; }; this.validate(); this.removeEffect(true); this.maxEndEvents = 1; this._cTT = transt; if (this.target != null){ if (this.targetOwner.getChildByName(this.target.name) != this.target){ this.target = this.target; }; try { eventsDispatched = 0; this.lastTransitionPattern = this[(transt + "Pattern")]; if (transt == "hide"){ if (this.useSwapInsteadHide == true){ if (this.forceHide == false){ if (this.swapTarget != null){ this._cTT = "swap"; switch (this.swapType){ case _slot1.SWAP_TYPE_HIDE: this.addSwapFlashEff2(0); break; case _slot1.SWAP_TYPE_SHOW: this.addSwapFlashEff2(this.numChildren); break; default: this.addSwapFlashEff2(0); break; }; this.swapFlashEff2.target = this.swapTarget; this.swapFlashEff2.showDelay = ((this.swapDelay) || (0.0001)); if (this.swapType != _slot1.SWAP_TYPE_HIDE){ if (this.swapPattern != null){ this.swapFlashEff2.showTransition = this.swapPattern; } else { this.swapFlashEff2.showTransition = (this.clonePattern(this.showPattern) as IFlashEffSymbolText); }; if (this.swapType == _slot1.SWAP_TYPE_SHOW){ this.target.visible = true; this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); return; } else { this.maxEndEvents = 2; }; } else { this.swapTarget.visible = true; }; } else { trace("FLASHEFF2 ERROR: The swapTarget property is null, a hide transition will be applied."); }; }; }; }; if (this.lastTransitionPattern != null){ if (this.target.parent != this.targetOwner){ this.target = this.target; }; this.target.visible = true; this.lastTransitionPattern.component = this; try { this.lastTransitionPattern["target"] = this.target; } catch(e:TypeError) { trace("FLASHEFF2 ERROR: You have placed a text pattern over a symbol. Please use a symbol pattern instead!"); return; }; _isTransitioning = true; var _local3 = this.lastTransitionPattern; _local3[transt](); } else { trace((("FLASHEFF2 WARNING: The " + transt) + "Transition pattern is null. The transition will not be applied.")); }; } catch(e:ReferenceError) { throw (("FLASHEFF2 ERROR: " + e)); }; } else { trace("FLASHEFF2 WARNING: Please set the target or _targetInstanceName property before applying an effect."); }; this.forceHide = false; } public function get absWords():Array{ return (this._absWords.concat()); } public function changeTarget(_arg1:DisplayObject):void{ var _local2:Timer; this.nextTarget = _arg1; if (this.target != null){ this.setNewTarget = true; _local2 = this.hideTimer; this.forceHide = true; if (this.hideDelay > 0){ _local2.reset(); _local2.start(); _local2.addEventListener(TimerEvent.TIMER, this.hideCaller); } else { this.hide(); }; } else { this.target = _arg1; this.show(false); }; } protected function linesSplit():Array{ var _local7:*; var _local8:String; var _local9:Boolean; var _local10:uint; var _local11:*; var _local1:Array = []; var _local2:Array = []; var _local3:uint = this.textField.numLines; var _local4:uint; var _local5:Number = 0; var _local6:uint; while (_local6 < _local3) { _local7 = this.textField.getCharBoundaries(_local4); _local8 = this.textField.getLineText(_local6); _local9 = false; if (_local7 == null){ _local9 = true; _local10 = _local8.length; if (_local10 > 0){ _local11 = 0; while (_local11 < _local10) { _local7 = this.textField.getCharBoundaries((_local4 + _local11)); if (_local7 != null){ _local9 = false; break; }; _local11++; }; }; }; if (_local9 == false){ _local2[(_local6 - _local5)] = {id:_local4, bounds:_local7, lineId:_local6, text:_local8}; _local4 = (_local4 + String(_local8).length); } else { _local5++; _local4 = (_local4 + _local8.length); }; _local6++; }; return (_local2); } public function set swapDelay(_arg1:Number):void{ this.__swapDelay = _arg1; } public function get hideDelay():Number{ return (__hideDelay); } protected function resetArrays():void{ _absChars = []; _absWords = []; _absLines = []; _absMatrix = []; _absCustom = []; } public function addCommand(_arg1:IFlashEffCommand, _arg2:String):IFlashEffCommand{ var command = _arg1; var eventType = _arg2; if (command != null){ try { this[(("_" + eventType) + "Commands")].push(command); command.component = this; command.target = this.target; command.commandEventType = eventType; if (_slot1.eventTypeAsoc[eventType] != ""){ this.setCommands(eventType); }; } catch(e:Error) { trace("FLASHEFF2 ERROR: Unknown eventType. Available events are: rollOver, rollOut, press, release, doubleClick, showTransitionStart, showTransitionEnd, hideTransitionStart and hideTransitionEnd."); }; }; return (command); } protected function charSplit(_arg1:String, _arg2:uint):Array{ var _local8:Rectangle; var _local3:Array = String(_arg1).split(""); var _local4:Array = []; var _local5:uint = _local3.length; var _local6:uint; var _local7:uint; while (_local7 < _local5) { _local8 = this.textField.getCharBoundaries((_arg2 + _local7)); if (_local3[_local7] != " "){ if (!isNaN(String(_local3[_local7]).charCodeAt(0))){ if (_local8 != null){ _local4[(_local7 - _local6)] = {id:(_arg2 + _local7), bounds:_local8, text:_local3[_local7]}; } else { _local6++; }; }; } else { _local6++; }; _local7++; }; return (_local4); } protected function releaseCommandHandler(_arg1:MouseEvent):void{ this.runCommands(this._releaseCommands); } public function get hideTransitionName():String{ return (this._hideTransitionName); } protected function clonePattern(_arg1:Object):Object{ var _local2:XML; var _local3:XMLList; var _local4:String; var _local5:Class; var _local6:*; var _local7:Number; var _local8:*; var _local9:XML; var _local10:String; if (_arg1 != null){ _local2 = describeType(_arg1); _local3 = _local2.elements("accessor"); _local4 = String(_local2.@name); _local5 = (getDefinitionByName(_local4) as Class); _local6 = new (_local5); _local7 = _local3.length(); _local8 = 0; while (_local8 < _local7) { _local9 = _local3[_local8]; if (_local9.@declaredBy == _local4){ if (_local9.@access == "readwrite"){ _local10 = _local9.@name; _local6[_local10] = _arg1[_local10]; }; }; _local8++; }; return (_local6); }; return (null); } protected function hideCaller(_arg1:TimerEvent):void{ this.hide(); } protected function rollOutCommandHandler(_arg1:MouseEvent):void{ this.runCommands(this._rollOutCommands); } public function get clearAfterHide():Boolean{ return (_clearAfterHide); } public function addFilter(_arg1:IFlashEffFilter):void{ var _local2:DisplayObject; var _local3:Boolean; if (_arg1 != null){ _local2 = this.firstInDepth; this.firstInDepth = new Sprite(); this.firstLevelOwner.addChild(this.firstInDepth); this.firstInDepth.addChild(_local2); _arg1.component = this; _arg1.target = this.firstInDepth; this.filterAsoc[_arg1.target.name] = _local2; if (!this.isInvalid("all")){ _local3 = this.target.visible; this.target.visible = true; _arg1.apply(); this.target.visible = _local3; }; this.filterList.push(_arg1); }; } public function get swapType():String{ return (this.__swapType); } public function removeFromGroupList(_arg1:DisplayObject):void{ var _local2:*; for (_local2 in groupList) { if ((groupList[_local2] as _slot1).target == _arg1){ groupList.splice(_local2, 1); }; }; } public function get targetVisibility():Boolean{ return (__targetVisibility); } public function set isFree(_arg1:Boolean):void{ } public function get buttonEffect():IFlashEffButtonEffect{ return (this._buttonEffect); } protected function addSwapFlashEff2(_arg1:uint=0){ var _local2:*; if (this.swapFlashEff2 != null){ this.removeSwapFlashEff2(); }; this.swapFlashEff2 = new FlashEff2(); this.swapFlashEff2.addEventListener(FLASHEFFEvents.TRANSITION_END, dispatchEvent); this.swapFlashEff2.addEventListener(FLASHEFFEvents.DOUBLE_CLICK, dispatchEvent); this.swapFlashEff2.addEventListener(FLASHEFFEvents.MOUSE_DOWN, dispatchEvent); this.swapFlashEff2.addEventListener(FLASHEFFEvents.MOUSE_UP, dispatchEvent); this.swapFlashEff2.addEventListener(FLASHEFFEvents.ROLL_OUT, dispatchEvent); this.swapFlashEff2.addEventListener(FLASHEFFEvents.ROLL_OVER, dispatchEvent); this.addChildAt(this.swapFlashEff2, _arg1); for (_local2 in this.filterList) { this.swapFlashEff2.addFilter((this.clonePattern(this.filterList[_local2]) as IFlashEffFilter)); }; for (_local2 in this.commands) { this.swapFlashEff2.addCommand((this.clonePattern(this.commands[_local2]) as IFlashEffCommand), (this.commands[_local2] as IFlashEffCommand).commandEventType); }; } public function addCommandByName(_arg1:String, _arg2:String, _arg3:Object=null):IFlashEffCommand{ var commandRef:Class; var command:IFlashEffCommand; var i:*; var commandName = _arg1; var eventType = _arg2; var initObj = _arg3; try { commandRef = (getDefinitionByName(commandName) as Class); command = IFlashEffCommand(new commandRef(this)); if (initObj != null){ for (i in initObj) { command[i] = initObj[i]; }; }; } catch(e:ReferenceError) { trace((("FLASHEFF2 ERROR: The command pattern '" + commandName) + "' is missing from library.")); return (null); }; return (this.addCommand(command, eventType)); } protected function removeButtonEvents():void{ this.highestOwner.removeEventListener(MouseEvent.ROLL_OVER, this.rollOverButtonHandler); this.highestOwner.removeEventListener(MouseEvent.ROLL_OUT, this.rollOutButtonHandler); this.highestOwner.removeEventListener(MouseEvent.MOUSE_DOWN, this.pressButtonHandler); this.highestOwner.removeEventListener(MouseEvent.MOUSE_UP, this.releaseButtonHandler); isButtonEffectApplyed = false; } public function get target():DisplayObject{ return (this._target); } public function swap(_arg1:DisplayObject=null, _arg2:String=""):void{ if (_arg1 != null){ this.swapTarget = _arg1; }; if (_arg2 != ""){ this.swapType = _arg2; }; this.useSwapInsteadHide = true; this.hide(); } protected function doubleClickCommandHandler(_arg1:MouseEvent):void{ this.runCommands(this._doubleClickCommands); this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.DOUBLE_CLICK)); } public function get _targetInstanceName():String{ return (this.__targetInstanceName); } public function get useSwapInsteadHide():Boolean{ return (this._useSwapInsteadHide); } override public function get useHandCursor():Boolean{ return (_useHandCursor); } public function get targetOwner():MovieClip{ return (this._targetOwner); } public function get absLines():Array{ return (this._absLines.concat()); } protected function rollOutButtonHandler(_arg1:MouseEvent=null, _arg2:Boolean=false):void{ if ((((_arg2 == true)) || ((this.isMouseTriggered == true)))){ if (this._isTransitioning == false){ if (this.buttonEffect != null){ this.buttonEffect.buttonRollOut(); }; }; }; this.isDragOut = false; if (_arg1 != null){ this.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.ROLL_OUT)); }; } public function get showAutoPlay():Boolean{ return (__showAutoPlay); } public function get swapDelay():Number{ return (this.__swapDelay); } public function get groupName():String{ return (_groupName); } public function get isTransitioning():Boolean{ return (this._isTransitioning); } public function set xmlPath(_arg1:String):void{ if (_arg1 != ""){ this.__xmlPath = _arg1; setProperties(this.__xmlPath); }; } public function set showTransitionName(_arg1:String):void{ var patternClass:Class; var arg = _arg1; if (arg != ""){ try { patternClass = (getDefinitionByName(arg) as Class); if (this.showPattern != null){ this.showPattern.remove(); }; this.showPattern = IFlashEffSymbolText(new patternClass(this)); } catch(e:ReferenceError) { throw ((("FLASHEFF2 ERROR: The pattern '" + arg) + "' is missing from library.")); }; this._showTransitionName = arg; }; } public function drawTextTable(_arg1:String, _arg2:String, _arg3:Number, _arg4:Array, _arg5:Number, _arg6:Number, _arg7:Array=null):Boolean{ var _local9:Array; var _local10:Array; var _local11:Array; var _local14:*; var _local15:*; var _local16:uint; var _local19:uint; var _local28:Number; var _local29:Object; var _local30:*; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; this.textTable.removeChilds(); this.partialTable.removeChilds(); this.resetArrays(); var _local8:Object = this.textTable; var _local12:Boolean; var _local13:Boolean; var _local17:uint = 1; var _local18:uint = 1; var _local20:uint; var _local21:String = _arg1; var _local22:String = _arg1; _local10 = this.linesSplit(); _local17 = _local10.length; var _local23:Array = []; var _local24:Array = []; if (_arg2 == "lines"){ this.filterArray(_local10, _arg2, _arg3, _arg4); }; _local14 = 0; while (_local14 < _local17) { if (_local22 == "custom"){ _local9 = (_local10[_local14].childs = this.customSplit(_local10[_local14].text, _local10[_local14].id, _arg7[_local10[_local14].lineId])); _arg1 = "words"; _local21 = _arg1; } else { _local9 = (_local10[_local14].childs = this.wordsSplit(_local10[_local14].text, _local10[_local14].id)); }; _local10[_local14].owner = this.textTable; _local18 = _local9.length; _local15 = 0; while (_local15 < _local18) { _local23.push(_local9[_local15]); _local9[_local15].passed = _local10[_local14].passed; _local9[_local15].owner = this.textTable; _local11 = (_local9[_local15].childs = this.charSplit(_local9[_local15].text, _local9[_local15].id)); _local19 = _local11.length; _local16 = 0; while (_local16 < _local19) { _local11[_local16].passed = _local9[_local15].passed; _local24.push(_local11[_local16]); _local16++; }; _local15++; }; _local14++; }; if ((((_arg3 < 100)) || ((_arg2 == "selectedStrings")))){ if (_arg2 == "words"){ this.filterArray(_local23, _arg2, _arg3, _arg4); } else { if ((((_arg2 == "letters")) || ((_arg2 == "selectedStrings")))){ this.filterArray(_local24, _arg2, _arg3, _arg4); }; }; _local28 = (_arg5 * 10); if (this.transitionType == "hide"){ _local28 = 0; this._partialTextOwnerClip.alpha = 1; } else { this._partialTextOwnerClip.alpha = 0; }; clearInterval(this.partialInterval); this.partialInterval = setInterval(this.startPartialEffect, (_local28 * ((this.lastTransitionPattern.tweenDuration) || (0)))); maxEndEvents++; }; switch (_arg1.toLocaleLowerCase()){ case "lines": _local17 = _local10.length; _local8 = this.textTable; _local15 = 0; while (_local15 < _local17) { _local29 = _local8; if (_local10[_local15].passed == false){ _local29 = this.partialTable; }; _local30 = _local29.pushChild({type:"FeGroup", x:_local10[_local15].bounds.x, y:_local10[_local15].bounds.y, text:_local10[_local15].text, bounds:_local10[_local15].bounds, id:_local10[_local15].id}); _local10[_local15].owner = _local30; _absLines.push(_local30); _local15++; }; _arg1 = "words"; case "words": _local17 = _local10.length; _local14 = 0; while (_local14 < _local17) { _local31 = _local10[_local14].owner.x; _local32 = _local10[_local14].owner.y; _local8 = _local10[_local14].owner; _local9 = _local10[_local14].childs; _local18 = _local9.length; _local15 = 0; while (_local15 < _local18) { _local29 = _local8; _local33 = _local31; _local34 = _local32; if ((((_local9[_local15].passed == false)) && ((((_local21 == "words")) || ((_arg2 == "words")))))){ _local29 = this.partialTable; _local33 = 0; _local34 = 0; } else { if (_local9[_local15].passed == false){ _local33 = 0; _local34 = 0; }; }; _local30 = _local29.pushChild({type:"FeGroup", x:(_local9[_local15].bounds.x - _local33), y:(_local9[_local15].bounds.y - _local34), text:_local9[_local15].text, bounds:_local9[_local15].bounds, id:_local9[_local15].id}); _local9[_local15].owner = _local30; _absWords.push(_local30); if (_local22 == "custom"){ _absCustom.push(_local30); }; _local15++; }; _local14++; }; _arg1 = "chars"; case "chars": _local14 = 0; while (_local14 < _local17) { _local9 = _local10[_local14].childs; _local18 = _local9.length; _local15 = 0; while (_local15 < _local18) { _local11 = _local9[_local15].childs; _local8 = _local9[_local15].owner; _local31 = (_local8.x + _local10[_local14].owner.x); _local32 = (_local8.y + _local10[_local14].owner.y); _local19 = _local11.length; _local16 = 0; while (_local16 < _local19) { _local29 = _local8; _local33 = _local31; _local34 = _local32; if (_local11[_local16].passed != false){ _local11[_local16].passed = _local9[_local15].passed; }; if (_local11[_local16].passed == false){ if ((((_local21 == "chars")) || ((((_arg2 == "letters")) || ((_arg2 == "selectedStrings")))))){ _local29 = this.partialTable; _local33 = 0; _local34 = 0; } else { if (_arg2 == "words"){ _local33 = _local8.x; _local34 = _local8.y; }; }; }; _local30 = _local29.pushChild({type:"FeChar", x:((_local11[_local16].bounds.x - 2) - _local33), y:((_local11[_local16].bounds.y - 2) - _local34), text:_local11[_local16].text, bounds:_local11[_local16].bounds, id:_local11[_local16].id}); _local20 = this.textField.getLineIndexOfChar(_local30.id); _local30.bottomPosition = this.textField.getLineMetrics(_local20).ascent; _local30.applyTextFormat(this.textField.getTextFormat(_local30.id, (_local30.id + 1))); _absChars.push(_local30); _local16++; }; _local15++; }; _local14++; }; break; }; this.textTable.cleanMe(); var _local25:uint = this.textTable.childs.length; _local20 = 0; var _local26:Number = -1; var _local27:Number = 0; if (_local25 < 1){ maxEndEvents--; } else { _absMatrix[_local20] = []; }; _local14 = 0; while (_local14 < _local25) { _local30 = this.textTable.childs[_local14]; _local20 = this.textField.getLineIndexOfChar(_local30.id); if (_local20 != _local26){ _local26 = _local20; _local27 = _absMatrix.push([]); }; _absMatrix[(_local27 - 1)].push(_local30); _local14++; }; _local14 = 0; while (_local14 < _absMatrix.length) { if (_absMatrix[_local14].length == 0){ _absMatrix.splice(_local14, 1); _local14--; }; _local14++; }; this._textOwnerClip.visible = true; DisplayObject(this.textTable).visible = true; DisplayObject(this._partialTextOwnerClip).visible = true; this.textField.visible = false; return (true); } protected function filterArray(_arg1:Array, _arg2:String, _arg3:Number, _arg4:Array):void{ var _local6:uint; var _local7:Array; var _local8:*; var _local9:uint; var _local10:Number; var _local11:String; var _local12:Object; var _local13:int; var _local14:String; var _local15:int; var _local16:int; var _local17:RegExp; var _local18:String; var _local19:uint; var _local20:*; var _local5:uint = _arg1.length; if (_arg2 != "selectedStrings"){ _local6 = _local5; _local7 = new Array(_local5); _local8 = 0; while (_local8 < _local5) { _local7[_local8] = _local8; _local8++; }; while (((_local6 / _local5) * 100) > _arg3) { _local9 = Math.floor((Math.random() * _local7.length)); _arg1[_local7[_local9]].passed = false; _local6--; _local7.splice(_local9, 1); }; } else { _local10 = _arg4.length; _local11 = this.textField.text; _local12 = {}; _local8 = 0; while (_local8 < _local5) { _arg1[_local8].passed = false; _local12[_arg1[_local8].id] = _local8; _local8++; }; _local8 = 0; while (_local8 < _local10) { _local13 = 0; _local14 = _arg4[_local8]; _local15 = _local11.indexOf(_local14, _local13); _local16 = _local14.length; _local17 = / /g; _local18 = _local14.replace(_local17, ""); _local19 = _local18.length; while (_local15 != -1) { _local20 = _local15; while (_local20 < (_local15 + _local16)) { if (_local12[_local20] != undefined){ _arg1[_local12[_local20]].passed = true; }; _local20++; }; _local13 = (_local15 + _local16); _local15 = _local11.indexOf(_local14, _local13); }; _local8++; }; }; } public function get toggle():Boolean{ return (_toggle); } public function set swapTargetInstanceName(_arg1:String):void{ var scope:DisplayObjectContainer; var paths:Array; var targName:String; var i:*; var newTarget:DisplayObject; var strPath:String; var existObj:Object; var arg = _arg1; if (arg != ""){ if ((this.parent is DisplayObject)){ scope = this.parent; paths = arg.split("."); targName = paths.pop(); try { i = 0; while (i < paths.length) { scope = (scope[paths[i]] as DisplayObjectContainer); i = (i + 1); }; } catch(e:Error) { trace("FLASHEFF2 ERROR: The swapTargetInstanceName path is invalid."); return; }; if (scope != null){ newTarget = scope.getChildByName(targName); if (newTarget == null){ strPath = this.getPath(scope); existObj = _slot1.targetPaths[((strPath + ".") + arg)]; if (existObj != null){ newTarget = existObj.target; }; }; this.swapTarget = newTarget; } else { trace("FLASHEFF2 ERROR: The swapTargetInstanceName path is invalid."); }; }; this.__swapTargetInstanceName = arg; } else { this.swapTarget = null; }; } public function set hideAutoPlay(_arg1:Boolean):void{ __hideAutoPlay = _arg1; this.invalidate(); setDrawTime(); } public function get textField():TextField{ return (this._textField); } public function removeShowTransition():void{ if (this.showPattern != null){ this.showPattern.remove(); this.showPattern = null; this._showTransitionName = ""; }; } public function removeHideTransition():void{ if (this.hidePattern != null){ this.hidePattern.remove(); this.hidePattern = null; this._hideTransitionName = ""; }; } public function get showTransitionName():String{ return (this._showTransitionName); } public function set drawAfterFilters(_arg1:Boolean):void{ if (_arg1 != this.drawAfterFilters){ if (_arg1 == true){ buttonTarget = this.aDBT; aDBTO.addChild(this.buttonOwner); } else { buttonTarget = this.bDBT; this.bDBTO.addChild(this.buttonOwner); }; if (this.buttonEffect != null){ this.buttonEffect.target = this.buttonTarget; }; }; this._drawAfterFilters = _arg1; } public function get swapTargetInstanceName():String{ return (this.__swapTargetInstanceName); } public function set swapTransitionName(_arg1:String):void{ var patternClass:Class; var arg = _arg1; if (arg != ""){ try { patternClass = (getDefinitionByName(arg) as Class); if (this.swapPattern != null){ this.swapPattern.remove(); }; this.swapPattern = new patternClass(this); } catch(e:ReferenceError) { throw ((("FLASHEFF2 ERROR: The pattern '" + arg) + "' is missing from library.")); }; this._swapTransitionName = arg; }; } public function applyButtonEffect():void{ this.setButtonEvents(); this.isButtonEffectApplyed = true; this.highestOwner.mouseChildren = false; } public function get drawAfterFilters():Boolean{ return (this._drawAfterFilters); } public function get textOwnerClip():Sprite{ return (_textOwnerClip); } public function get partialTextOwnerClip():Sprite{ return (_partialTextOwnerClip); } public function set groupName(_arg1:String):void{ _groupName = _arg1; this.addToGroupList(this.target); } public function buttonRollOut():void{ rollOutButtonHandler(null, true); } eventTypeAsoc["rollOver"] = "ROLL_OVER"; eventTypeAsoc["rollOut"] = "ROLL_OUT"; eventTypeAsoc["press"] = "MOUSE_DOWN"; eventTypeAsoc["release"] = "MOUSE_UP"; eventTypeAsoc["doubleClick"] = "DOUBLE_CLICK"; eventTypeAsoc["showTransitionStart"] = ""; eventTypeAsoc["showTransitionEnd"] = ""; eventTypeAsoc["hideTransitionStart"] = ""; eventTypeAsoc["hideTransitionEnd"] = ""; } }//package

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:3 18 20 21 27
Symbol 3 MovieClip {com.jumpeye.transitions.easing.QuadraticEase} [com.jumpeye.transitions.easing.QuadraticEase]Uses:2
Symbol 4 FontUsed by:5 13 14 15
Symbol 5 EditableTextUses:4Used by:6
Symbol 6 MovieClip {BannerSnackSEOCode} [BannerSnackSEOCode]Uses:5
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9 10 19 22 23 24
Symbol 9 MovieClip {com.jumpeye.flashEff2.buttonEffect.FEBEffect} [com.jumpeye.flashEff2.buttonEffect.FEBEffect]Uses:8
Symbol 10 MovieClip {com.jumpeye.flashEff2.filter.reflection.FEFReflection} [com.jumpeye.flashEff2.filter.reflection.FEFReflection]Uses:8
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:17
Symbol 13 EditableTextUses:4Used by:17
Symbol 14 EditableTextUses:4Used by:17
Symbol 15 EditableTextUses:4Used by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip {FlashEff2} [FlashEff2]Uses:12 13 14 15 16
Symbol 18 MovieClip {com.jumpeye.flashEff2.buttonEffect.FEBFilterPlugins} [com.jumpeye.flashEff2.buttonEffect.FEBFilterPlugins]Uses:2
Symbol 19 MovieClip {com.jumpeye.flashEff2.filter.aura.FEFAura} [com.jumpeye.flashEff2.filter.aura.FEFAura]Uses:8
Symbol 20 MovieClip {com.jumpeye.transitions.easing.StrongEase} [com.jumpeye.transitions.easing.StrongEase]Uses:2
Symbol 21 MovieClip {com.jumpeye.flashEff2.buttonEffect.FEBCustomTintPlugin} [com.jumpeye.flashEff2.buttonEffect.FEBCustomTintPlugin]Uses:2
Symbol 22 MovieClip {com.jumpeye.flashEff2.filter.adjustColor.FEFAdjustColor} [com.jumpeye.flashEff2.filter.adjustColor.FEFAdjustColor]Uses:8
Symbol 23 MovieClip {com.jumpeye.flashEff2.symbol.badTransmission.FESBadTransmission} [com.jumpeye.flashEff2.symbol.badTransmission.FESBadTransmission]Uses:8
Symbol 24 MovieClip {com.jumpeye.flashEff2.symbol.fe3D.camSquareFocus.FES3DCamSquareFocus} [com.jumpeye.flashEff2.symbol.fe3D.camSquareFocus.FES3DCamSquareFocus]Uses:8
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClip {Banner_sym_buttons_green_gray_glass_eff_rounded} [sym_buttons_green_gray_glass_eff_rounded]Uses:25
Symbol 27 MovieClip {com.jumpeye.flashEff2.buttonEffect.FEBColorMatrixFilterPlugin} [com.jumpeye.flashEff2.buttonEffect.FEBColorMatrixFilterPlugin]Uses:2
Symbol 28 Font {Banner_ArialBSb}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1459 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 1Symbol 3 as "com.jumpeye.transitions.easing.QuadraticEase"
ExportAssets (56)Timeline Frame 1Symbol 6 as "BannerSnackSEOCode"
ExportAssets (56)Timeline Frame 1Symbol 9 as "com.jumpeye.flashEff2.buttonEffect.FEBEffect"
ExportAssets (56)Timeline Frame 1Symbol 10 as "com.jumpeye.flashEff2.filter.reflection.FEFReflection"
ExportAssets (56)Timeline Frame 1Symbol 17 as "FlashEff2"
ExportAssets (56)Timeline Frame 1Symbol 18 as "com.jumpeye.flashEff2.buttonEffect.FEBFilterPlugins"
ExportAssets (56)Timeline Frame 1Symbol 19 as "com.jumpeye.flashEff2.filter.aura.FEFAura"
ExportAssets (56)Timeline Frame 1Symbol 20 as "com.jumpeye.transitions.easing.StrongEase"
ExportAssets (56)Timeline Frame 1Symbol 21 as "com.jumpeye.flashEff2.buttonEffect.FEBCustomTintPlugin"
ExportAssets (56)Timeline Frame 1Symbol 22 as "com.jumpeye.flashEff2.filter.adjustColor.FEFAdjustColor"
ExportAssets (56)Timeline Frame 1Symbol 23 as "com.jumpeye.flashEff2.symbol.badTransmission.FESBadTransmission"
ExportAssets (56)Timeline Frame 1Symbol 24 as "com.jumpeye.flashEff2.symbol.fe3D.camSquareFocus.FES3DCamSquareFocus"
ExportAssets (56)Timeline Frame 1Symbol 26 as "sym_buttons_green_gray_glass_eff_rounded"
ExportAssets (56)Timeline Frame 1Symbol 27 as "com.jumpeye.flashEff2.buttonEffect.FEBColorMatrixFilterPlugin"
SerialNumber (41)Timeline Frame 1

Labels

"Banner"Frame 1




http://swfchan.com/17/82586/info.shtml
Created: 1/4 -2019 07:52:59 Last modified: 1/4 -2019 07:52:59 Server time: 26/04 -2024 15:49:24