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

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

emma-watson-make-up-2.swf

This is the info page for
Flash #124804

(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="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>

<p align="center"><font face="_sans" size="12" color="#333333" letterSpacing="0.000000" kerning="1">FLASHEFF</font></p><p align="center"><font face="_sans" size="12" color="#333333" letterSpacing="0.000000" kerning="1"> Pattern</font></p>

<p align="center"><font face="_sans" size="12" color="#333333" letterSpacing="0.000000" kerning="1"><b>FLASHEFF</b></font></p><p align="center"><font face="_sans" size="12" color="#333333" letterSpacing="0.000000" kerning="1"><b> Pattern</b></font></p>

GIRL'S BEST HANGOUT

1

2

3

P

E

Y

L

o

a

d

i

n

g

.

A

M

E

N

O

S

T

W

PLAY

DRESS

5

1

2

3

4

CHAIN

HAIR

MASCARA

X

EYE LENS

X

SKIN COLOR

LIP STICK

ROUGE

EYE SHADE

EXTRAS

x

XCVXCVBXCBVX

DONE

NEXT

RESET

123PEPPY

sound:on

sound:off

Designed
by

Designed
by

<p align="center"><font face="Arial CE" size="22" color="#ffffff" letterSpacing="1.000000" kerning="1"><b>CVXV X VX</b></font></p>

MORE GAMES

PLAY AGAIN

Designed
by

<p align="center"><font face="Arial CE" size="22" color="#c4c4c4" letterSpacing="1.000000" kerning="1"><b>CVXV X VX</b></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
//JEvent (com.jumpeye.Events.JEvent) package com.jumpeye.Events { import flash.events.*; public dynamic class JEvent extends Event { public function JEvent(_arg1:String){ super(_arg1); } override public function clone():Event{ return (new JEvent(type)); } } }//package com.jumpeye.Events
Section 4
//FECCallFunction (com.jumpeye.flashEff2.command.callFunction.FECCallFunction) package com.jumpeye.flashEff2.command.callFunction { import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; public class FECCallFunction extends IFlashEffCommand { private var _functionPath:String; private var _parameters; private var _reverse:Boolean;// = false protected var func:Function; private var aux:Array; public function FECCallFunction(_arg1:JUIComponent=null){ _reverse = false; super(); this.component = _arg1; } public function get functionPath():String{ return (this._functionPath); } public function set functionPath(_arg1:String){ this._functionPath = _arg1; } override public function run():void{ var scope:*; var paramsi:*; var leng:int; var fName:Array; var i:*; if (this.functionPath != null){ scope = this.component["parent"]; fName = this.functionPath.split("."); for (i in fName) { scope = scope[fName[i]]; }; try { scope.apply(null, this.parameters); } catch(e:Error) { trace("FLASHEFF Warning : Invalid function definition was setted in functionPath parameters of FECCallFunction object.", e); }; }; } public function set parameters(_arg1){ var _local2:RegExp; var _local3:Array; if (!(_arg1 is Array)){ _local2 = /,/; _local3 = String(_arg1).split(_local2); this._parameters = _local3; } else { this._parameters = _arg1; }; if (_arg1 == ""){ this._parameters = aux; }; } public function get parameters(){ return (this._parameters); } } }//package com.jumpeye.flashEff2.command.callFunction
Section 5
//FECSwitchObjects (com.jumpeye.flashEff2.command.switchObjects.FECSwitchObjects) package com.jumpeye.flashEff2.command.switchObjects { import flash.display.*; import flash.events.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.Events.*; import flash.utils.*; public class FECSwitchObjects extends IFlashEffCommand { private var addEvt:Boolean;// = true private var _newTargetInstance:String;// = "" private var _parameters; private var bole:Boolean;// = true private var isTrans:Boolean;// = true private var _reverse:Boolean;// = false private var do2ndTrans:Boolean;// = false private var _flashEff2Instance:String; private var continueAction; protected var func:Function; private var aux:Array; private var scope; private var _action:String;// = "show" private var nextFunc:Function; private var nextInterval:Number; private var flashEff:JUIComponent; private var kk; private var c; private var _flashEffInstance:String; private var d:Object; private var _isNewTargetInstanceVisible:Boolean;// = false private var _functionPath:String; public function FECSwitchObjects(_arg1:JUIComponent=null){ d = {}; super(); this.component = _arg1; } public function get newTargetInstance():String{ return (this._newTargetInstance); } public function get flashEffInstance():String{ return (this._flashEffInstance); } override public function run():void{ var _local1:*; var _local2:DisplayObject; if (((!((this.flashEff == null))) && (!((this._newTargetInstance == ""))))){ d.targetEff = this.flashEff; d.go2trans2 = false; c = this.flashEff.target; this.do2ndTrans = false; if (this.flashEff["tempTarget"] != null){ if (this.flashEff["tempTarget"].listener != undefined){ d.targetEff.removeEventListener(FLASHEFFEvents.TRANSITION_END, this.flashEff["tempTarget"].listener); }; } else { this.flashEff["tempTarget"] = {}; }; _local1 = this.flashEff["tempTarget"]; switch (this.action){ case "show": if (this.component.isTransitioning){ } else { if (this.flashEff.isTransitioning){ } else { _local2 = this.component.target; this.flashEff.show(); }; }; break; case "hide": if (this.component.isTransitioning){ } else { if (this.flashEff.isTransitioning){ } else { _local2 = this.component.target; this.flashEff.hide(); }; }; break; case "change": if (this.component.isTransitioning){ } else { if (this.flashEff.isTransitioning){ } else { if (((!((this.flashEff == null))) && (!((this._newTargetInstance == ""))))){ this.flashEff._targetInstanceName = this._newTargetInstance; }; this.flashEff.target.visible = false; this.component.addEventListener(FLASHEFFEvents.TRANSITION_END, newEndTransition); this.component.hide(); }; }; break; }; }; } private function endTransition(_arg1:FLASHEFFEvents){ var _local2:* = this.flashEff["tempTarget"]; this.flashEff._targetInstanceName = _local2.target; d.targetEff.removeEventListener(FLASHEFFEvents.TRANSITION_END, endTransition); var _local3:Timer = new Timer(1, 1); _local3.addEventListener(TimerEvent.TIMER, this.timerHandler); _local3.start(); c.visible = false; } public function set newTargetInstance(_arg1:String){ var newTarg:*; var arg = _arg1; this._newTargetInstance = arg; try { newTarg = findInstance(); newTarg.visible = this.isNewTargetInstanceVisible; } catch(e:Error) { }; } public function set flashEffInstance(_arg1:String){ this._flashEffInstance = _arg1; this.findFlashEff2(); } private function doChange(){ } public function get functionPath():String{ return (this._functionPath); } private function endTransition1(_arg1:FLASHEFFEvents){ var _local2:* = this.flashEff["tempTarget"]; var _local3 = this.flashEff; _local3["removeEventListener"](FLASHEFFEvents.TRANSITION_END, endTransition1); _local2.listener = endTransition; _local3 = this.flashEff; _local3["addEventListener"](FLASHEFFEvents.TRANSITION_END, endTransition); nextInterval = setInterval(this.changeNextFunc, 1, this.doShow); } private function changeNextFunc(_arg1:Function){ this.nextFunc(); this.nextFunc = _arg1; clearInterval(this.nextInterval); } public function set isNewTargetInstanceVisible(_arg1:Boolean){ var paramsi:*; var leng:int; var i:*; var newTarg:*; var arg = _arg1; this._isNewTargetInstanceVisible = arg; scope = this.component["parent"]; var fName:Array = this._flashEff2Instance.split("."); for (i in fName) { scope = scope[fName[i]]; }; this.flashEff = JUIComponent(scope); try { newTarg = findInstance(); if (arg){ } else { this.flashEff.targetVisibility = false; newTarg.visible = false; }; } catch(e:Error) { }; } private function doShow():void{ this.flashEff["tempTarget"].action = "show"; this.flashEff.show(); } public function get flashEff2Instance():String{ return (this._flashEff2Instance); } public function get action():String{ return (this._action); } public function set functionPath(_arg1:String){ this._functionPath = _arg1; } private function timerHandler(_arg1:TimerEvent){ this.nextFunc(); } private function newEndTransition(_arg1:FLASHEFFEvents){ this.flashEff.show(); } private function findFlashEff2(){ var _local1:*; var _local2:int; var _local4:*; scope = this.component["parent"]; var _local3:Array = this._flashEff2Instance.split("."); for (_local4 in _local3) { scope = scope[_local3[_local4]]; }; this.flashEff = JUIComponent(scope); } public function set parameters(_arg1){ var _local2:RegExp; var _local3:Array; if (!(_arg1 is Array)){ _local2 = /,/; _local3 = String(_arg1).split(_local2); this._parameters = _local3; } else { this._parameters = _arg1; }; if (_arg1 == ""){ this._parameters = aux; }; } public function get isNewTargetInstanceVisible():Boolean{ return (this._isNewTargetInstanceVisible); } public function set flashEff2Instance(_arg1:String){ this._flashEff2Instance = _arg1; this.findFlashEff2(); } public function set action(_arg1:String){ this._action = _arg1; } private function doHide():void{ this.flashEff["tempTarget"].action = "hide"; this.flashEff.hide(); } private function findInstance(){ var _local1:*; var _local2:int; var _local3:Array; var _local4:*; if (this.newTargetInstance != ""){ scope = this.component["parent"]; _local3 = this.newTargetInstance.split("."); for (_local4 in _local3) { scope = scope[_local3[_local4]]; }; return (scope); }; } public function get parameters(){ return (this._parameters); } private function endTransitionHide(_arg1:FLASHEFFEvents){ var _local2:* = this.flashEff["tempTarget"]; this.flashEff._targetInstanceName = _local2.target; d.targetEff.removeEventListener(FLASHEFFEvents.TRANSITION_END, endTransition); var _local3:Timer = new Timer(1, 1); _local3.addEventListener(TimerEvent.TIMER, this.timerHandler); _local3.start(); c.visible = false; } } }//package com.jumpeye.flashEff2.command.switchObjects
Section 6
//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 7
//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 8
//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 9
//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 10
//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 11
//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 12
//IFlashEffText (com.jumpeye.flashEff2.core.interfaces.IFlashEffText) package com.jumpeye.flashEff2.core.interfaces { import flash.text.*; public class IFlashEffText extends IFlashEffSymbolText { protected var _partialBlurAmount:Number;// = 0 protected var _partialStart:Number;// = 50 protected var _partialGroup:String;// = "letters" protected var _partialPercent:Number;// = 100 protected var _selectedStrings:Array; protected var _target:TextField; public function get partialPercent():Number{ return (this._partialPercent); } public function get partialBlurAmount():Number{ return (this._partialBlurAmount); } public function set partialPercent(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; } else { if (_arg1 > 100){ _arg1 = 100; }; }; this._partialPercent = _arg1; } 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; } public function get target():TextField{ return (this._target); } public function set partialBlurAmount(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; }; this._partialBlurAmount = _arg1; } public function get partialStart():Number{ return (this._partialStart); } public function set target(_arg1:TextField):void{ this._target = _arg1; } public function get selectedStrings():Array{ return (this._selectedStrings); } public function set partialGroup(_arg1:String):void{ this._partialGroup = _arg1; } public function get partialGroup():String{ return (this._partialGroup); } } }//package com.jumpeye.flashEff2.core.interfaces
Section 13
//FESDesertIllusion (com.jumpeye.flashEff2.symbol.desertIllusion.FESDesertIllusion) package com.jumpeye.flashEff2.symbol.desertIllusion { import com.jumpeye.transitions.*; import com.jumpeye.core.*; import flash.filters.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.Events.*; import com.jumpeye.flashEff2.utils.wavesEffect.*; public class FESDesertIllusion extends IFlashEffSymbol { private var _preset:Number; private var _wavesIntensity:Number;// = 80 private var transitionType:String; private var waveIntensity; private var maxWaveSize; private var _blurAmount;// = 3 private var t; private var _scaleAmount:Number;// = 1 private var radius:Number; private var owner:Object; private var bounds:Object; private var _smooth:Boolean;// = true private var _blurQuality:Number;// = 1 private var _waveSize:Number;// = 80 public function FESDesertIllusion(_arg1:JUIComponent=null){ _blurQuality = 1; _wavesIntensity = 80; _waveSize = 80; _smooth = true; owner = {}; _scaleAmount = 1; _blurAmount = 3; super(); this.component = _arg1; this.init(); } override public function show():void{ startTransition("show"); } private function destroy():void{ if (!owner){ return; }; TweenLite.killTweensOf(target, false); TweenLite.killTweensOf(owner["wave"], false); TweenLite.killTweensOf(owner.blurFilterTween, false); if (owner["wave"]){ owner["wave"].bitmap.dispose(); }; if (target){ target.filters = []; target.alpha = 1; }; } protected function init():void{ _tweenDuration = 1.5; _easeType = "easeNone"; _tweenType = "Quadratic"; } public function set waveSize(_arg1:Number):void{ this._waveSize = _arg1; } public function set blurQuality(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; }; this._blurQuality = _arg1; } override public function hide():void{ startTransition("hide"); } private function hdlChangeFilter(_arg1:Object):void{ var _local2:*; var _local3:*; var _local4:*; if (!target){ return; }; _local2 = _arg1.value; _local3 = getBlurFilter(_local2); _local4 = target.filters; _local4.push(_local3); target.filters = _local4; } public function set smooth(_arg1:Boolean):void{ this._smooth = _arg1; } public function get scaleAmount():Number{ return (this._scaleAmount); } private function hdlMotionFinished(){ this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); } public function set blurAmount(_arg1:Number):void{ this._blurAmount = _arg1; } private function transition(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; this.target.visible = true; owner.scX = (target.width / target.getBounds(target).width); owner.scY = (target.height / target.getBounds(target).height); owner.origX = (target.x + (target.width / 2)); owner.origY = (target.y + (target.height / 2)); _local1 = ((transitionType)=="show") ? 0 : 1; _local2 = ((transitionType)=="show") ? 1 : 0; _local3 = ((transitionType)=="show") ? maxWaveSize : 0; _local4 = ((transitionType)=="show") ? 0 : maxWaveSize; owner["wave"] = new JWavesEffect(target, smooth, _blurQuality, component.width, component.height); owner["wave"].baseX = waveIntensity; owner["wave"].baseY = waveIntensity; target.alpha = _local1; TweenLite.to(target, t, {alpha:_local2, delay:0, onComplete:hdlMotionFinished, ease:this.easeFunc, overwrite:false}); owner["wave"].value = _local3; TweenLite.to(owner["wave"], t, {value:_local4, delay:0, onComplete:hdlMotionFinished, ease:this.easeFunc, overwrite:false}); _local5 = ((transitionType)=="show") ? (target.scaleX * scaleAmount) : owner.scX; _local6 = ((transitionType)=="show") ? owner.scX : (target.scaleX * scaleAmount); _local7 = ((transitionType)=="show") ? (target.scaleY * scaleAmount) : owner.scY; _local8 = ((transitionType)=="show") ? owner.scY : (target.scaleY * scaleAmount); _local9 = ((transitionType)=="show") ? blurAmount : 0; _local10 = ((transitionType)=="show") ? 0 : blurAmount; owner.blurFilterTween = {}; owner.blurFilterTween.value = _local9; TweenLite.to(owner.blurFilterTween, t, {value:_local10, delay:0, onUpdate:hdlChangeFilter, onUpdateParams:[owner.blurFilterTween], ease:this.easeFunc, overwrite:false}); this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); } override public function remove():void{ destroy(); } public function get blurQuality():Number{ return (this._blurQuality); } private function startTransition(_arg1:String){ var _local2:*; owner.gain = waveSize; owner.customParam1 = wavesIntensity; radius = ((Math.abs(component.rotation) / 180) * Math.PI); transitionType = _arg1; maxWaveSize = ((((owner.gain == "")) || (isNaN(Number(owner.gain))))) ? 100 : owner.gain; maxWaveSize = Math.max(0, maxWaveSize); waveIntensity = ((((owner.customParam1 == "")) || (isNaN(Number(owner.customParam1))))) ? 100 : owner.customParam1; t = this._tweenDuration; bounds = target.getBounds(target); _local2 = target.getBounds(target.parent); owner["targetObj"] = {x:target.x, y:target.y, width:(_local2.width * target.scaleX), height:(_local2.height * target.scaleY), scaleX:target.scaleX, scaleY:target.scaleY, xMin:_local2.x, yMin:_local2.y}; transition(); } public function get blurAmount():Number{ return (this._blurAmount); } public function get waveSize():Number{ return (_waveSize); } public function set scaleAmount(_arg1:Number):void{ this._scaleAmount = _arg1; } public function get smooth():Boolean{ return (this._smooth); } public function set preset(_arg1:Number):void{ this._preset = _arg1; } public function get wavesIntensity():Number{ return (_wavesIntensity); } private function hdlScaleXChange(){ this.component.targetOwner.x = (owner.origX - (this.component.targetOwner.width / 2)); } public function set wavesIntensity(_arg1:Number):void{ this._wavesIntensity = _arg1; } private function getBlurFilter(_arg1):BlurFilter{ var _local2:Number; var _local3:Number; _local2 = _arg1; _local3 = _arg1; return (new BlurFilter(_local2, _local3, _blurQuality)); } public function get preset():Number{ return (this._preset); } private function hdlScaleYChange(){ this.component.targetOwner.y = (owner.origY - (this.component.targetOwner.height / 2)); } } }//package com.jumpeye.flashEff2.symbol.desertIllusion
Section 14
//FESEqualizer (com.jumpeye.flashEff2.symbol.equalizer.FESEqualizer) package com.jumpeye.flashEff2.symbol.equalizer { import flash.display.*; import flash.geom.*; import flash.events.*; import com.jumpeye.transitions.*; import com.jumpeye.core.*; import flash.filters.*; import flash.text.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.Events.*; import flash.utils.*; public class FESEqualizer extends IFlashEffSymbol { private var _preset:Number;// = 3 private var counter:uint;// = 0 private var _groupDuration:Number;// = 1.2 private var mcArray:Array; private var intervals:Array; private var _equalizerPercentage:Number;// = 70 private var props:Object; private var maxDelay:Object; private var _squareHeight:Number;// = 15 private var col:uint;// = 0 private var lin:uint;// = 0 private var destContent:Sprite; private var startDelayArray:Array; private var bitmapDataArray:Array; private var dest:Sprite; private var positionArray:Array; private var finalSquaresMatrix:Array; private var propArray:Array; private var delay:Number;// = 0 private var _smooth:Boolean;// = false private var _squareWidth:Number;// = 30 private var _brightness:Number;// = 0xFF public function FESEqualizer(_arg1:JUIComponent=null){ _preset = 3; _squareWidth = 30; _squareHeight = 15; _equalizerPercentage = 70; _brightness = 0xFF; _groupDuration = 1.2; delay = 0; _smooth = false; lin = 0; col = 0; counter = 0; propArray = new Array(); intervals = new Array(); startDelayArray = new Array(); positionArray = new Array(); finalSquaresMatrix = new Array(); mcArray = new Array(); props = new Object(); maxDelay = new Object(); super(); this.component = _arg1; this.init(); } override public function show():void{ applyTransition("show"); } private function showEffect(_arg1, _arg2, _arg3, _arg4, _arg5):void{ clearInterval(intervals[((("int_" + _arg3) + "_") + _arg2)]); TweenLite.killTweensOf(propArray[_arg4][_arg5]); TweenLite.to(propArray[_arg4][_arg5], this.groupDuration, {twProp:0, ease:this.easeFunc, onUpdate:this.onShowChange, onUpdateParams:[_arg4, _arg5, _arg1], onComplete:onShowFinish, onCompleteParams:[_arg2, _arg3], overwrite:false}); } public function get equalizerPercentage():Number{ return (this._equalizerPercentage); } public function set equalizerPercentage(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; }; if (_arg1 > 95){ _arg1 = 95; }; this._equalizerPercentage = _arg1; } protected function init():void{ _tweenDuration = 1.5; _easeType = "easeOut"; _tweenType = "Strong"; } public function get groupDuration():Number{ return (this._groupDuration); } private function onShowFinish(... _args):void{ var _local2:Number; var _local3:Number; _local2 = _args[0]; _local3 = _args[1]; if ((((maxDelay.i == _local2)) && ((maxDelay.j == _local3)))){ remove(); _component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); }; } private function waitAFrame(_arg1:Event):void{ var _local2:Number; var _local3:Number; this.component.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); _local2 = 0; while (_local2 < positionArray.length) { _local3 = 0; while (_local3 < positionArray[_local2].length) { if (positionArray[_local2][_local3][2] == "hide"){ intervals[((("int_" + _local3) + "_") + _local2)] = setInterval(hideEffect, ((positionArray[_local2][_local3][3] * delay) * 1000), mcArray[positionArray[_local2][_local3][0]][positionArray[_local2][_local3][1]], _local2, _local3, positionArray[_local2][_local3][0], positionArray[_local2][_local3][1]); } else { intervals[((("int_" + _local3) + "_") + _local2)] = setInterval(showEffect, ((positionArray[_local2][_local3][3] * delay) * 1000), mcArray[positionArray[_local2][_local3][0]][positionArray[_local2][_local3][1]], _local2, _local3, positionArray[_local2][_local3][0], positionArray[_local2][_local3][1]); }; _local3++; }; _local2++; }; _component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); } override public function hide():void{ applyTransition("hide"); } private function onShowChange(... _args):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Sprite; var _local6:Array; var _local7:BitmapFilter; _local2 = 80; _local3 = _args[0]; _local4 = _args[1]; _local5 = _args[2]; _local6 = new Array(); propArray[_local3][_local4].br = (propArray[_local3][_local4].twProp * (brightness / _local2)); _local5.visible = true; if ((propArray[_local3][_local4].twProp - _local2) > 0){ propArray[_local3][_local4].alpha = (((100 - _local2) - (propArray[_local3][_local4].twProp - _local2)) * (1 / (100 - _local2))); } else { propArray[_local3][_local4].alpha = 1; }; propArray[_local3][_local4].k = (850 - (7.5 * (100 - propArray[_local3][_local4].twProp))); propArray[_local3][_local4].z = (((100 - propArray[_local3][_local4].k) * 4) / propArray[_local3][_local4].k); _local6 = [(propArray[_local3][_local4].k / 100), (propArray[_local3][_local4].z / 100), (propArray[_local3][_local4].z / 100), 0, propArray[_local3][_local4].br, (propArray[_local3][_local4].z / 100), (propArray[_local3][_local4].k / 100), (propArray[_local3][_local4].z / 100), 0, propArray[_local3][_local4].br, (propArray[_local3][_local4].z / 100), (propArray[_local3][_local4].z / 100), (propArray[_local3][_local4].k / 100), 0, propArray[_local3][_local4].br, 0, 0, 0, propArray[_local3][_local4].alpha, 0]; _local7 = new ColorMatrixFilter(_local6); _local5.filters = new Array(_local7); } public function set squareWidth(_arg1:Number):void{ if ((((_arg1 <= 0)) || ((isNaN(_arg1) == true)))){ _arg1 = 50; }; this._squareWidth = _arg1; } public function set squareHeight(_arg1:Number):void{ if ((((_arg1 <= 0)) || ((isNaN(_arg1) == true)))){ _arg1 = 50; }; this._squareHeight = _arg1; } public function get brightness():Number{ return (this._brightness); } private function applyTransition(_arg1:String):void{ var _local2:Rectangle; var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Array; var _local8:Number; var _local9:JFEEqualizerPresets; var _local10:Object; var _local11:Number; _local2 = new Rectangle(); _local3 = new Object(); _local4 = 0; _local5 = 0; _local6 = 0; _local7 = new Array(); _local8 = 0; _local11 = 0; remove(); if (this.tweenDuration < this.groupDuration){ this.tweenDuration = this.groupDuration; }; if (this.squareWidth > this.target.width){ this.squareWidth = this.target.width; }; if (this.squareHeight > this.target.height){ this.squareHeight = this.target.height; }; _local2 = this.target.getBounds(this.target); _local3.xPos = (_local2.x * this.target.scaleX); _local3.yPos = (_local2.y * this.target.scaleY); _local3.w = (_local2.width * this.target.scaleX); _local3.h = (_local2.height * this.target.scaleY); col = Math.round((_local3.w / this._squareWidth)); lin = Math.round((_local3.h / this._squareHeight)); if (col > 30){ col = 30; this.squareWidth = Math.round((this.target.width / col)); }; if (lin > 30){ lin = 30; this.squareHeight = Math.round((this.target.height / lin)); }; props.eqDur = (((this.tweenDuration - this.groupDuration) * this.equalizerPercentage) / 100); props.lastSqDur = ((this.tweenDuration - this.groupDuration) - props.eqDur); if ((((preset == 1)) || ((preset == 2)))){ delay = (props.lastSqDur / col); } else { delay = (props.lastSqDur / lin); }; _local8 = Math.floor((props.eqDur / delay)); _local9 = new JFEEqualizerPresets(lin, col, preset, _local8, _arg1); positionArray = _local9.orderList; maxDelay = _local9.maxDelayObj; mcArray = createBitmapImage(this.target, lin, col, _local2); _local5 = 0; while (_local5 < lin) { propArray[_local5] = new Array(); _local6 = 0; while (_local6 < col) { _local10 = new Object(); _local10.z = 1; _local10.br = 0; _local10.alpha = 1; if (_arg1 == "show"){ mcArray[_local5][_local6].visible = false; _local10.k = 850; _local10.twProp = 100; propArray[_local5][_local6] = _local10; } else { if (_arg1 == "hide"){ _local10.k = 100; _local10.twProp = 0; propArray[_local5][_local6] = _local10; }; }; _local6++; }; _local5++; }; this.component.addEventListener(Event.ENTER_FRAME, this.waitAFrame, false, 0, true); } public function set smooth(_arg1:Boolean):void{ this._smooth = _arg1; } public function set groupDuration(_arg1:Number):void{ if ((((_arg1 <= 0)) || ((isNaN(_arg1) == true)))){ _arg1 = 0.001; }; this._groupDuration = _arg1; } override public function remove():void{ var _local1:uint; var _local2:uint; var _local3:Number; var _local4:*; var _local5:Number; if (this.component != null){ this.component.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); }; if (propArray.length != 0){ _local1 = 0; while (_local1 < lin) { _local2 = 0; while (_local2 < col) { TweenLite.killTweensOf(propArray[_local1][_local2]); _local2++; }; _local1++; }; }; _local3 = 0; while (_local3 < positionArray.length) { _local5 = 0; while (_local5 < positionArray[_local3].length) { clearInterval(intervals[((("int_" + _local5) + "_") + _local3)]); _local5++; }; _local3++; }; intervals = []; propArray = []; startDelayArray = []; positionArray = []; mcArray = []; for (_local4 in bitmapDataArray) { if (bitmapDataArray[_local4] != null){ bitmapDataArray[_local4].bitmapData.dispose(); bitmapDataArray[_local4] = null; }; }; bitmapDataArray = []; if ((dest is Sprite)){ this.component.targetOwner.removeChild(dest); dest = null; }; if (this.target != null){ this.target.visible = true; }; } private function hideEffect(_arg1, _arg2, _arg3, _arg4, _arg5):void{ clearInterval(intervals[((("int_" + _arg3) + "_") + _arg2)]); TweenLite.killTweensOf(propArray[_arg4][_arg5]); TweenLite.to(propArray[_arg4][_arg5], this.groupDuration, {twProp:100, ease:this.easeFunc, onUpdate:this.onHideChange, onUpdateParams:[_arg4, _arg5, _arg1], onComplete:onHideFinish, onCompleteParams:[_arg2, _arg3], overwrite:false}); } public function set brightness(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; }; if (_arg1 > 0xFF){ _arg1 = 0xFF; }; this._brightness = _arg1; } public function get squareHeight():Number{ return (this._squareWidth); } public function get smooth():Boolean{ return (this._smooth); } private function onHideFinish(... _args):void{ var _local2:Number; var _local3:Number; var _local4:*; _local2 = _args[0]; _local3 = _args[1]; if ((((maxDelay.i == _local2)) && ((maxDelay.j == _local3)))){ _component.targetOwner.removeChild(_component.targetOwner["destClip"]); dest = null; for (_local4 in bitmapDataArray) { if (bitmapDataArray[_local4] != null){ bitmapDataArray[_local4].bitmapData.dispose(); bitmapDataArray[_local4] = null; }; }; bitmapDataArray = []; _component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); }; } public function get squareWidth():Number{ return (this._squareWidth); } public function set preset(_arg1:Number):void{ if ((((((_arg1 > 0)) && ((_arg1 < 5)))) && ((isNaN(_arg1) == false)))){ this._preset = _arg1; }; } private function createBitmapImage(_arg1, _arg2, _arg3, _arg4):Array{ var _local5:Array; var _local6:BitmapData; var _local7:Bitmap; 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:uint; var _local17:uint; var _local18:Matrix; var _local19:Sprite; _local5 = new Array(); this._squareWidth = ((_arg4.width * _arg1.scaleX) / _arg3); this._squareHeight = ((_arg4.height * _arg1.scaleY) / _arg2); _local8 = Math.round(this._squareWidth); _local9 = Math.round(this._squareHeight); _local11 = 0; _local13 = 0; if ((this._component.targetOwner.getChildByName("destClip") is Sprite)){ this._component.targetOwner.removeChild(this._component.targetOwner.getChildByName("destClip")); }; dest = new Sprite(); dest.name = "dest"; this._component.targetOwner["destClip"] = dest; this._component.targetOwner.addChild(dest); dest.cacheAsBitmap = true; _arg1.visible = false; destContent = new Sprite(); dest.addChild(destContent); if ((component.target is TextField)){ destContent.x = (Math.round((_arg4.x * _arg1.scaleX)) + 2); destContent.y = (Math.round((_arg4.y * _arg1.scaleY)) + 2); } else { destContent.x = Math.round((_arg4.x * _arg1.scaleX)); destContent.y = Math.round((_arg4.y * _arg1.scaleY)); }; dest.rotation = _arg1.rotation; _local16 = 0; while (_local16 < _arg2) { _local10 = 0; _local12 = 0; _local5[_local16] = []; _local15 = Math.floor(_local13); if (_local16 == (_arg2 - 1)){ _local15 = Math.round(((_local13 + this._squareHeight) - _local9)); }; _local17 = 0; while (_local17 < _arg3) { _local14 = Math.floor(_local12); if (_local17 == (_arg3 - 1)){ _local14 = Math.round(((_local12 + this._squareWidth) - _local8)); }; _local19 = new Sprite(); _local19.name = ((("mat" + _local16) + "_") + _local17); destContent.addChild(_local19); _local5[_local16][_local17] = _local19; _local19.x = _local10; _local19.y = _local11; _local6 = new BitmapData((_local8 + _local14), (_local9 + _local15), true, 0); _local18 = new Matrix(); _local18.tx = (-(_local10) - (_arg4.x * _arg1.scaleX)); _local18.ty = (-(_local11) - (_arg4.y * _arg1.scaleY)); _local18.a = _arg1.scaleX; _local18.d = _arg1.scaleY; _local6.draw(_arg1, _local18); _local7 = new Bitmap(_local6); bitmapDataArray.push(_local7); _local7.smoothing = this._smooth; _local19.addChild(_local7); _local10 = ((_local10 + _local8) + _local14); _local12 = (((_local12 + this._squareWidth) - _local8) - _local14); _local17++; }; _local11 = ((_local11 + _local9) + _local15); _local13 = (((_local13 + this._squareHeight) - _local9) - _local15); _local16++; }; return (_local5); } private function onHideChange(... _args):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Sprite; var _local6:Array; var _local7:BitmapFilter; _local2 = 80; _local3 = _args[0]; _local4 = _args[1]; _local5 = _args[2]; _local6 = new Array(); propArray[_local3][_local4].br = (propArray[_local3][_local4].twProp * (brightness / _local2)); if ((propArray[_local3][_local4].twProp - _local2) > 0){ propArray[_local3][_local4].alpha = (1 - ((propArray[_local3][_local4].twProp - _local2) * (1 / (100 - _local2)))); }; propArray[_local3][_local4].k = (100 + (7.5 * propArray[_local3][_local4].twProp)); propArray[_local3][_local4].z = (((100 - propArray[_local3][_local4].k) * 4) / propArray[_local3][_local4].k); _local6 = [(propArray[_local3][_local4].k / 100), (propArray[_local3][_local4].z / 100), (propArray[_local3][_local4].z / 100), 0, propArray[_local3][_local4].br, (propArray[_local3][_local4].z / 100), (propArray[_local3][_local4].k / 100), (propArray[_local3][_local4].z / 100), 0, propArray[_local3][_local4].br, (propArray[_local3][_local4].z / 100), (propArray[_local3][_local4].z / 100), (propArray[_local3][_local4].k / 100), 0, propArray[_local3][_local4].br, 0, 0, 0, propArray[_local3][_local4].alpha, 0]; _local7 = new ColorMatrixFilter(_local6); _local5.filters = new Array(_local7); } public function get preset():Number{ return (this._preset); } } }//package com.jumpeye.flashEff2.symbol.equalizer
Section 15
//JFEEqualizerPresets (com.jumpeye.flashEff2.symbol.equalizer.JFEEqualizerPresets) package com.jumpeye.flashEff2.symbol.equalizer { public class JFEEqualizerPresets { private var delayArr:Array; private var preset:Number; public var orderList:Array; private var transitionType:String; private var eqTotalSquares:Number; private var columnNr:Number; private var rowNr:Number; public var maxDelayObj:Object; public function JFEEqualizerPresets(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:String){ maxDelayObj = {val:0, i:0, j:0}; super(); orderList = new Array(); delayArr = new Array(); rowNr = _arg1; columnNr = _arg2; preset = _arg3; eqTotalSquares = _arg4; transitionType = _arg5; getList(); } private function getOneArray(_arg1:Number):Array{ var _local2:String; var _local3:Array; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Boolean; _local2 = "show"; _local3 = new Array(); _local4 = 0; _local5 = 0; _local6 = 0; _local7 = 0; _local8 = 0; _local9 = 0; _local10 = true; switch (preset){ case 1: while (_local5 < eqTotalSquares) { if (_local2 == "show"){ _local10 = false; _local6 = (Math.floor((Math.random() * ((columnNr - 2) - _local4))) + 1); if (_local6 > (eqTotalSquares - _local5)){ _local6 = (eqTotalSquares - _local5); }; if (_local6 < 1){ _local6 = 1; }; _local9 = 0; while (_local9 < _local6) { if (((!((_local9 == 0))) && (!((_local5 == 0))))){ _local4++; }; _local3[_local5] = new Array(); _local3[_local5][0] = _arg1; _local3[_local5][1] = _local4; _local3[_local5][2] = "show"; _local3[_local5][3] = _local5; _local5++; _local9++; }; _local2 = "hide"; } else { if (_local2 == "hide"){ _local10 = false; _local6 = Math.floor(((Math.random() * (_local4 - 1)) + 1)); if (_local6 > (eqTotalSquares - _local5)){ _local6 = (eqTotalSquares - _local5); }; if (_local6 < 1){ _local6 = 1; }; _local9 = 0; while (_local9 < _local6) { if (_local9 != 0){ _local4--; }; _local3[_local5] = new Array(); _local3[_local5][0] = _arg1; _local3[_local5][1] = _local4; _local3[_local5][2] = "hide"; _local3[_local5][3] = _local5; _local5++; _local9++; }; _local2 = "show"; if (_local5 == eqTotalSquares){ _local4--; }; }; }; }; if (_local10){ _local4--; }; _local6 = ((columnNr - _local4) - 1); _local2 = "show"; _local9 = 0; while (_local9 < _local6) { _local4++; _local3[(_local5 + _local9)] = new Array(); _local3[(_local5 + _local9)][0] = _arg1; _local3[(_local5 + _local9)][1] = _local4; _local3[(_local5 + _local9)][2] = "show"; _local3[(_local5 + _local9)][3] = (_local5 + _local9); _local9++; }; break; case 2: while (_local5 < eqTotalSquares) { if (_local2 == "show"){ _local10 = false; _local6 = (Math.floor((Math.random() * ((columnNr - 2) - _local4))) + 1); if (_local6 > (eqTotalSquares - _local5)){ _local6 = (eqTotalSquares - _local5); }; if (_local6 < 1){ _local6 = 1; }; _local9 = 0; while (_local9 < _local6) { if (((!((_local9 == 0))) && (!((_local5 == 0))))){ _local4++; }; _local3[_local5] = new Array(); _local3[_local5][0] = _arg1; _local3[_local5][1] = ((columnNr - 1) - _local4); _local3[_local5][2] = "show"; _local3[_local5][3] = _local5; _local5++; _local9++; }; _local2 = "hide"; } else { if (_local2 == "hide"){ _local10 = false; _local6 = (Math.floor((Math.random() * (_local4 - 1))) + 1); if (_local6 > (eqTotalSquares - _local5)){ _local6 = (eqTotalSquares - _local5); }; if (_local6 < 1){ _local6 = 1; }; _local9 = 0; while (_local9 < _local6) { if (_local9 != 0){ _local4--; }; _local3[_local5] = new Array(); _local3[_local5][0] = _arg1; _local3[_local5][1] = ((columnNr - 1) - _local4); _local3[_local5][2] = "hide"; _local3[_local5][3] = _local5; _local5++; _local9++; }; _local2 = "show"; if (_local5 == eqTotalSquares){ _local4--; }; }; }; }; if (_local10){ _local4--; }; _local6 = ((columnNr - _local4) - 1); _local2 = "show"; _local9 = 0; while (_local9 < _local6) { _local4++; _local3[(_local5 + _local9)] = new Array(); _local3[(_local5 + _local9)][0] = _arg1; _local3[(_local5 + _local9)][1] = ((columnNr - 1) - _local4); _local3[(_local5 + _local9)][2] = "show"; _local3[(_local5 + _local9)][3] = (_local5 + _local9); _local9++; }; break; case 3: while (_local5 < eqTotalSquares) { if (_local2 == "show"){ _local10 = false; _local6 = (Math.floor((Math.random() * ((rowNr - 2) - _local4))) + 1); if (_local6 > (eqTotalSquares - _local5)){ _local6 = (eqTotalSquares - _local5); }; if (_local6 < 1){ _local6 = 1; }; _local9 = 0; while (_local9 < _local6) { if (((!((_local9 == 0))) && (!((_local5 == 0))))){ _local4++; }; _local3[_local5] = new Array(); _local3[_local5][0] = _local4; _local3[_local5][1] = _arg1; _local3[_local5][2] = "show"; _local3[_local5][3] = _local5; _local5++; _local9++; }; _local2 = "hide"; } else { if (_local2 == "hide"){ _local10 = false; _local6 = (Math.floor((Math.random() * (_local4 - 1))) + 1); if (_local6 > (eqTotalSquares - _local5)){ _local6 = (eqTotalSquares - _local5); }; if (_local6 < 1){ _local6 = 1; }; _local9 = 0; while (_local9 < _local6) { if (_local9 != 0){ _local4--; }; _local3[_local5] = new Array(); _local3[_local5][0] = _local4; _local3[_local5][1] = _arg1; _local3[_local5][2] = "hide"; _local3[_local5][3] = _local5; _local5++; _local9++; }; _local2 = "show"; if (_local5 == eqTotalSquares){ _local4--; }; }; }; }; if (_local10){ _local4--; }; _local6 = ((rowNr - _local4) - 1); _local2 = "show"; _local9 = 0; while (_local9 < _local6) { _local4++; _local3[(_local5 + _local9)] = new Array(); _local3[(_local5 + _local9)][0] = _local4; _local3[(_local5 + _local9)][1] = _arg1; _local3[(_local5 + _local9)][2] = "show"; _local3[(_local5 + _local9)][3] = (_local5 + _local9); _local9++; }; break; case 4: while (_local5 < eqTotalSquares) { if (_local2 == "show"){ _local10 = false; _local6 = (Math.floor((Math.random() * ((rowNr - 2) - _local4))) + 1); if (_local6 > (eqTotalSquares - _local5)){ _local6 = (eqTotalSquares - _local5); }; if (_local6 < 1){ _local6 = 1; }; _local9 = 0; while (_local9 < _local6) { if (((!((_local9 == 0))) && (!((_local5 == 0))))){ _local4++; }; _local3[_local5] = new Array(); _local3[_local5][0] = ((rowNr - 1) - _local4); _local3[_local5][1] = _arg1; _local3[_local5][2] = "show"; _local3[_local5][3] = _local5; _local5++; _local9++; }; _local2 = "hide"; } else { if (_local2 == "hide"){ _local10 = false; _local6 = (Math.floor((Math.random() * (_local4 - Math.floor(((3 * _local4) / 4))))) + Math.floor(((3 * _local4) / 4))); if (_local6 > (eqTotalSquares - _local5)){ _local6 = (eqTotalSquares - _local5); }; if (_local6 < 1){ _local6 = 1; }; _local9 = 0; while (_local9 < _local6) { if (_local9 != 0){ _local4--; }; _local3[_local5] = new Array(); _local3[_local5][0] = ((rowNr - 1) - _local4); _local3[_local5][1] = _arg1; _local3[_local5][2] = "hide"; _local3[_local5][3] = _local5; _local5++; _local9++; }; _local2 = "show"; if (_local5 == eqTotalSquares){ _local4--; }; }; }; }; if (_local10){ _local4--; }; _local6 = ((rowNr - _local4) - 1); _local2 = "show"; _local9 = 0; while (_local9 < _local6) { _local4++; _local3[(_local5 + _local9)] = new Array(); _local3[(_local5 + _local9)][0] = ((rowNr - 1) - _local4); _local3[(_local5 + _local9)][1] = _arg1; _local3[(_local5 + _local9)][2] = "show"; _local3[(_local5 + _local9)][3] = (_local5 + _local9); _local9++; }; break; }; _local7 = Math.floor((Math.random() * (delayArr.length - 1))); _local8 = delayArr[_local7]; delayArr.splice(_local7, 1); _local9 = 0; while (_local9 < _local3.length) { _local3[_local9][3] = (_local3[_local9][3] + _local8); if (maxDelayObj.val < _local3[_local9][3]){ maxDelayObj.val = _local3[_local9][3]; maxDelayObj.i = _arg1; maxDelayObj.j = _local9; }; if (transitionType == "hide"){ if (_local3[_local9][2] == "show"){ _local3[_local9][2] = "hide"; } else { if (_local3[_local9][2] == "hide"){ _local3[_local9][2] = "show"; }; }; }; _local9++; }; return (_local3); } public function getList(){ var _local1:Number; var _local2:Number; _local1 = 0; _local2 = 0; switch (preset){ case 1: _local2 = 0; while (_local2 < rowNr) { delayArr[_local2] = _local2; _local2++; }; _local1 = 0; while (_local1 < rowNr) { orderList[_local1] = getOneArray(_local1); _local1++; }; break; case 2: _local2 = 0; while (_local2 < rowNr) { delayArr[_local2] = _local2; _local2++; }; _local1 = 0; while (_local1 < rowNr) { orderList[_local1] = getOneArray(_local1); _local1++; }; break; case 3: _local2 = 0; while (_local2 < columnNr) { delayArr[_local2] = _local2; _local2++; }; _local1 = 0; while (_local1 < columnNr) { orderList[_local1] = getOneArray(_local1); _local1++; }; break; default: _local2 = 0; while (_local2 < columnNr) { delayArr[_local2] = _local2; _local2++; }; _local1 = 0; while (_local1 < columnNr) { orderList[_local1] = getOneArray(_local1); _local1++; }; break; }; } } }//package com.jumpeye.flashEff2.symbol.equalizer
Section 16
//FESFlipSquare (com.jumpeye.flashEff2.symbol.flip.FESFlipSquare) package com.jumpeye.flashEff2.symbol.flip { import flash.display.*; import flash.geom.*; import flash.events.*; import com.jumpeye.transitions.*; import com.jumpeye.core.*; import flash.text.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.Events.*; import com.jumpeye.flashEff2.utils.distort.*; public class FESFlipSquare extends IFlashEffSymbol { private var _preset:Number;// = 1 private var _focalLength:Number;// = 100 protected var propOwner:Object; private var _reverseDirection:Boolean;// = true private var _groupDuration:Number;// = 0.7 private var _squareHeight:Number;// = 50 private var _reverseHideDirection:Boolean;// = false protected var sense:Number;// = 1 protected var reverseSign:Number;// = 1 private var _smooth:Boolean;// = false protected var propertiesBackup:Object; private var _squareWidth:Number;// = 50 public function FESFlipSquare(_arg1:JUIComponent=null){ sense = 1; reverseSign = 1; _preset = 1; _focalLength = 100; _smooth = false; _squareWidth = 50; _squareHeight = 50; _groupDuration = 0.7; _reverseDirection = true; _reverseHideDirection = false; super(); this.component = _arg1; this.init(); } private function startSquareTransition(_arg1, _arg2){ } override public function show():void{ this.target.visible = false; this.startTransition(true); } private function obtainAbsoluthAngle(_arg1:Number, _arg2):Number{ return (((_arg1 - _arg2) / Math.PI)); } protected function init():void{ _tweenDuration = 1.4; _easeType = "easeInOut"; _tweenType = "Strong"; } private function motionChagedVertical(_arg1:Object){ _arg1.flipObject.setTransformMatrix(((Math.PI * _arg1.angle) - _arg1.transformPosition), 0); _arg1.transformPosition = (Math.PI * _arg1.angle); _arg1.flipObject.flipEffect(_arg1); } public function get groupDuration():Number{ return (this._groupDuration); } public function set reverseHideDirection(_arg1:Boolean):void{ this._reverseHideDirection = true; if (_arg1 == false){ this.reverseSign = 1; } else { this.reverseSign = -1; }; } private function initTween(_arg1:String=""):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:*; var _local8:*; var _local9:*; var _local10:uint; var _local11:Number; var _local12:Number; var _local13:uint; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:*; var _local18:*; _local2 = 0; _local3 = 0; _local4 = 0; _local7 = this; if ((propOwner.targetHeight / this.squareHeight) != propOwner.lin){ _local3 = ((propOwner.targetHeight - (propOwner.lin * this.squareHeight)) / propOwner.lin); this.squareHeight = (this.squareHeight + _local3); }; if ((propOwner.targetWidth / this.squareWidth) != propOwner.col){ _local2 = ((propOwner.targetWidth - (propOwner.col * this.squareWidth)) / propOwner.col); this.squareWidth = (this.squareWidth + _local2); }; if (propOwner.show == true){ _local4 = ((Math.PI / 2) * this.sense); }; propOwner.aliasTarget = new Sprite(); this.component.targetOwner.addChild(propOwner.aliasTarget); propOwner.clips = {}; _local3 = (this.squareHeight - Math.floor(this.squareHeight)); _local8 = Math.round(this.squareHeight); _local9 = Math.round(this.squareWidth); _local6 = 0; _local3 = 0; _local10 = 0; while (_local10 < propOwner.lin) { _local5 = 0; _local2 = 0; _local12 = Math.floor(_local3); if (_local10 == (propOwner.lin - 1)){ _local12 = Math.ceil(((_local3 + this.squareHeight) - _local8)); }; _local13 = 0; while (_local13 < propOwner.col) { _local14 = Math.floor(_local2); if (_local13 == (propOwner.col - 1)){ _local14 = Math.ceil(((_local2 + this.squareWidth) - _local9)); }; _local15 = (_local9 + _local14); _local16 = (_local8 + _local12); _local17 = new Sprite(); propOwner.clips[((("clip" + _local10) + "_") + _local13)] = {}; _local18 = propOwner.clips[((("clip" + _local10) + "_") + _local13)]; _local18.clip = _local17; propOwner.aliasTarget.addChild(_local17); _local17.x = (_local5 + (_local15 / 2)); _local17.y = (_local6 + (_local16 / 2)); _local18.bitmapData = new BitmapData(_local15, _local16, true, 0xFF0000); _local18.pointArray = [[(-(_local15) / 2), (-(_local16) / 2)], [(_local15 / 2), (-(_local16) / 2)], [(_local15 / 2), (_local16 / 2)], [(-(_local15) / 2), (_local16 / 2)]]; _local18.distorsionObject = new JDistortImage(_local17, _local18.bitmapData, 1, 1); _local18.distorsionObject.smooth = this.smooth; _local18.matrix = new Matrix(); _local18.matrix.scale(this.target.scaleX, this.target.scaleY); _local18.matrix.translate((-(_local5) - (propOwner.bounds.x * this.target.scaleX)), (-(_local6) - (propOwner.bounds.y * this.target.scaleY))); _local18.distorsionObject.texture.draw(this.target, _local18.matrix); _local5 = (_local5 + _local17.width); _local2 = (((_local2 + this.squareWidth) - _local17.width) - _local14); _local18.flipObject = new JFEFlipEffect(this.focalLength); _local13++; }; _local6 = (_local6 + (_local8 + _local12)); _local3 = (((_local3 + this.squareHeight) - _local8) - _local12); _local10++; }; if (_arg1 != "Vertical"){ _local10 = 0; while (_local10 < propOwner.lin) { _local13 = 0; while (_local13 < propOwner.col) { _local17 = propOwner.clips[((("clip" + _local10) + "_") + _local13)]; propOwner.clips[((("clip" + _local10) + "_") + _local13)].transformPosition = (_local17.angle = 0); _local17.flipObject.firstDistortion(_local17, 0, _local4); if (propOwner.show == true){ _local17.finalAngle = this.obtainAbsoluthAngle(0, _local4); } else { _local17.finalAngle = (this.obtainAbsoluthAngle(((Math.PI / 2) * this.sense), _local4) * this.reverseSign); }; _local13++; }; _local10++; }; } else { _local10 = 0; while (_local10 < propOwner.lin) { _local13 = 0; while (_local13 < propOwner.col) { _local17 = propOwner.clips[((("clip" + _local10) + "_") + _local13)]; _local17.angle = 0; _local17.transformPosition = 0; _local17.flipObject.firstDistortion(_local17, _local4, 0); if (propOwner.show == true){ _local17.finalAngle = this.obtainAbsoluthAngle(0, _local4); } else { _local17.finalAngle = (this.obtainAbsoluthAngle(((Math.PI / 2) * this.sense), _local4) * this.reverseSign); }; _local13++; }; _local10++; }; }; _local11 = 0; if ((this.target is TextField)){ _local11 = 2; }; propOwner.aliasTarget.x = ((this.target.x + (propOwner.bounds.x * this.target.scaleX)) + _local11); propOwner.aliasTarget.y = ((this.target.y + (propOwner.bounds.y * this.target.scaleY)) + _local11); propOwner.aliasTarget.visible = false; propOwner.tweensFinished = 0; } private function endSquareTranistion(){ propOwner.tweensFinished++; if (propOwner.tweensFinished == (propOwner.lin * propOwner.col)){ propOwner.isMotionFinished = true; if (propOwner.show == true){ this.target.visible = true; propOwner.aliasTarget.visible = false; clearProperties(); }; this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); }; } override public function hide():void{ this.startTransition(false); } public function set squareWidth(_arg1:Number):void{ if (_arg1 < 1){ _arg1 = 1; }; this._squareWidth = _arg1; } public function set groupDuration(_arg1:Number):void{ if (_arg1 < 0.001){ _arg1 = 0.001; }; this._groupDuration = _arg1; } public function set squareHeight(_arg1:Number):void{ if (_arg1 < 1){ _arg1 = 1; }; this._squareHeight = _arg1; } public function set smooth(_arg1:Boolean):void{ this._smooth = _arg1; } public function set focalLength(_arg1:Number):void{ this._focalLength = _arg1; } private function waitAFrame(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:Object; var _local5:Number; this.component.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); switch (this.preset){ case 2: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:(((propOwner.lin * propOwner.col) - (((_local2 * propOwner.col) + _local3) + 1)) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedVertical, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 3: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:((_local2 + _local3) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedVertical, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 4: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:(((((propOwner.lin + propOwner.col) - _local2) - _local3) - 2) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedVertical, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 5: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:((((propOwner.col - _local3) + _local2) - 1) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedVertical, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 6: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:((((propOwner.col - _local2) + _local3) - 1) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedVertical, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 7: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:(((_local2 * propOwner.col) + _local3) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedHorizontal, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 8: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:(((((propOwner.lin * propOwner.col) - (_local2 * propOwner.col)) - _local3) - 1) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedHorizontal, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 9: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:((_local2 + _local3) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedHorizontal, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 10: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:(((((propOwner.lin + propOwner.col) - _local2) - _local3) - 2) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedHorizontal, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 11: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:((((propOwner.col - _local3) + _local2) - 1) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedHorizontal, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 12: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:((((propOwner.col - _local2) + _local3) - 1) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedHorizontal, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 13: _local5 = ((this.propOwner.delay * propOwner.lin) * propOwner.col); _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:(Math.random() * _local5), ease:this.easeFunc, onUpdate:this.motionChagedVertical, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; case 14: _local5 = ((this.propOwner.delay * propOwner.lin) * propOwner.col); _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:(Math.random() * _local5), ease:this.easeFunc, onUpdate:this.motionChagedHorizontal, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; default: _local2 = 0; while (_local2 < propOwner.lin) { _local3 = 0; while (_local3 < propOwner.col) { _local4 = propOwner.clips[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local4, this.groupDuration, {angle:_local4.finalAngle, delay:(((_local2 * propOwner.col) + _local3) * this.propOwner.delay), ease:this.easeFunc, onUpdate:this.motionChagedVertical, onComplete:endSquareTranistion, onUpdateParams:[_local4]}); _local3++; }; _local2++; }; break; }; propOwner.aliasTarget.visible = true; this.target.visible = false; this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); } public function clearProperties():void{ var _local1:*; var _local2:*; var _local3:*; if (this.component != null){ this.component.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); }; if ((propOwner is Object)){ _local1 = 0; while (_local1 < propOwner.lin) { _local2 = 0; while (_local2 < propOwner.col) { _local3 = propOwner.clips[((("clip" + _local1) + "_") + _local2)]; _local3.bitmapData.dispose(); _local3.flipObject = null; TweenLite.killTweensOf(_local3, false); _local2++; }; _local1++; }; if ((propOwner.aliasTarget is Sprite)){ this.component.targetOwner.removeChild(propOwner.aliasTarget); delete propOwner.aliasTarget; }; delete propOwner.clips; propOwner = null; }; } override public function remove():void{ this.clearProperties(); if (this.target != null){ this.target.visible = true; }; } protected function startTransition(_arg1:Boolean=true):void{ var _local2:*; this.propOwner = {}; _local2 = this; propOwner.show = _arg1; propOwner.bounds = this.target.getBounds(this.target); propOwner.targetWidth = (propOwner.bounds.width * this.target.scaleX); propOwner.targetHeight = (propOwner.bounds.height * this.target.scaleY); if (this.squareWidth > propOwner.targetWidth){ this.squareWidth = propOwner.targetWidth; }; if (this.squareHeight > propOwner.targetHeight){ this.squareHeight = propOwner.targetHeight; }; propOwner.lin = Math.floor((propOwner.targetHeight / this.squareHeight)); propOwner.col = Math.floor((propOwner.targetWidth / this.squareWidth)); if ((propOwner.lin * propOwner.col) <= 1){ propOwner.delay = 0; } else { propOwner.delay = ((this.tweenDuration - this.groupDuration) / ((propOwner.lin * propOwner.col) - 1)); }; this.propOwner.isMotionFinished = false; if ((((this.preset < 7)) || ((this.preset == 13)))){ initTween("Vertical"); } else { initTween(); }; this.component.addEventListener(Event.ENTER_FRAME, this.waitAFrame, false, 0, true); } public function get squareWidth():Number{ return (this._squareWidth); } public function get focalLength():Number{ return (this._focalLength); } public function get smooth():Boolean{ return (this._smooth); } public function set preset(_arg1:Number):void{ this._preset = _arg1; } public function get reverseHideDirection():Boolean{ return (this._reverseHideDirection); } public function get reverseDirection():Boolean{ return (this._reverseDirection); } public function get squareHeight():Number{ return (this._squareHeight); } private function motionChagedHorizontal(_arg1:Object){ _arg1.flipObject.setTransformMatrix(0, ((Math.PI * _arg1.angle) - _arg1.transformPosition)); _arg1.transformPosition = (Math.PI * _arg1.angle); _arg1.flipObject.flipEffect(_arg1); } public function set reverseDirection(_arg1:Boolean):void{ this._reverseDirection = true; if (_arg1 == false){ this.sense = 1; } else { this.sense = -1; }; } public function get preset():Number{ return (this._preset); } } }//package com.jumpeye.flashEff2.symbol.flip
Section 17
//JFEFlipEffect (com.jumpeye.flashEff2.symbol.flip.JFEFlipEffect) package com.jumpeye.flashEff2.symbol.flip { public dynamic class JFEFlipEffect { private var f:Number; public var angleVertical:Number;// = 0 private var transformMatrix:Array; public var angleHorizontal:Number;// = 0 private var swaped:Boolean;// = false private var switchPosition:Number;// = 0 public function JFEFlipEffect(_arg1:Number){ angleVertical = 0; angleHorizontal = 0; switchPosition = 0; swaped = false; super(); this.init(); f = (300 + (7 * _arg1)); } function matrixVectorMultiply(_arg1, _arg2){ var _local3:*; _local3 = []; _local3[0] = ((_arg1[0][0] * _arg2[0]) + (_arg1[0][1] * _arg2[1])); _local3[1] = ((_arg1[1][0] * _arg2[0]) + (_arg1[1][1] * _arg2[1])); _local3[2] = ((_arg1[2][0] * _arg2[0]) + (_arg1[2][1] * _arg2[1])); return (_local3); } function matrixMatrixMultiply(_arg1, _arg2){ var _local3:*; _local3 = [[], [], []]; _local3[0][0] = (((_arg1[0][0] * _arg2[0][0]) + (_arg1[0][1] * _arg2[1][0])) + (_arg1[0][2] * _arg2[2][0])); _local3[0][1] = (((_arg1[0][0] * _arg2[0][1]) + (_arg1[0][1] * _arg2[1][1])) + (_arg1[0][2] * _arg2[2][1])); _local3[0][2] = (((_arg1[0][0] * _arg2[0][2]) + (_arg1[0][1] * _arg2[1][2])) + (_arg1[0][2] * _arg2[2][2])); _local3[1][0] = (((_arg1[1][0] * _arg2[0][0]) + (_arg1[1][1] * _arg2[1][0])) + (_arg1[1][2] * _arg2[2][0])); _local3[1][1] = (((_arg1[1][0] * _arg2[0][1]) + (_arg1[1][1] * _arg2[1][1])) + (_arg1[1][2] * _arg2[2][1])); _local3[1][2] = (((_arg1[1][0] * _arg2[0][2]) + (_arg1[1][1] * _arg2[1][2])) + (_arg1[1][2] * _arg2[2][2])); _local3[2][0] = (((_arg1[2][0] * _arg2[0][0]) + (_arg1[2][1] * _arg2[1][0])) + (_arg1[2][2] * _arg2[2][0])); _local3[2][1] = (((_arg1[2][0] * _arg2[0][1]) + (_arg1[2][1] * _arg2[1][1])) + (_arg1[2][2] * _arg2[2][1])); _local3[2][2] = (((_arg1[2][0] * _arg2[0][2]) + (_arg1[2][1] * _arg2[1][2])) + (_arg1[2][2] * _arg2[2][2])); return (_local3); } public function setTransformMatrix(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; _local3 = Math.sqrt(((_arg1 * _arg1) + (_arg2 * _arg2))); if (_local3 > 0.0001){ _arg1 = (_arg1 / _local3); _arg2 = (_arg2 / _local3); _local4 = _local3; _local5 = Math.cos(_local4); _local6 = Math.sin(_local4); _local7 = (1 - _local5); _local8 = [[], [], []]; _local8[0][0] = (((_local7 * _arg1) * _arg1) + _local5); _local8[0][1] = ((_local7 * _arg1) * _arg2); _local8[0][2] = (_local6 * _arg2); _local8[1][0] = ((_local7 * _arg1) * _arg2); _local8[1][1] = (((_local7 * _arg2) * _arg2) + _local5); _local8[1][2] = (-(_local6) * _arg1); _local8[2][0] = (-(_local6) * _arg2); _local8[2][1] = (_local6 * _arg1); _local8[2][2] = _local5; transformMatrix = matrixMatrixMultiply(_local8, this.transformMatrix); }; } function init(){ transformMatrix = [[1, 0, 0], [0, 1, 0], [0, 0, 1], [0, 0, 0]]; f = 700; } public function firstDistortion(_arg1:Object, _arg2:Number, _arg3:Number){ this.setTransformMatrix(_arg2, _arg3); this.angleVertical = _arg2; this.angleHorizontal = _arg3; this.flipEffect(_arg1); } function renderObject(_arg1:Object):Array{ var _local2:*; var _local3:*; var _local4:Number; var _local5:Array; _local2 = []; _local3 = 0; if (_arg1.pointArray){ _local4 = _arg1.pointArray.length; while (_local3 <= (_local4 - 1)) { _local5 = this.matrixVectorMultiply(transformMatrix, _arg1.pointArray[_local3]); _local2[_local3] = {x:(_local5[0] / (1 - (_local5[2] / f))), y:(_local5[1] / (1 - (_local5[2] / f)))}; _local3++; }; }; return (_local2); } public function flipEffect(_arg1:Object){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:Number; var _local10:Array; _local10 = this.renderObject(_arg1); _local2 = _local10[0].x; _local3 = _local10[0].y; _local4 = _local10[1].x; _local5 = _local10[1].y; _local6 = _local10[2].x; _local7 = _local10[2].y; _local8 = _local10[3].x; _local9 = _local10[3].y; _arg1.distorsionObject.setTransform(_local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9); } } }//package com.jumpeye.flashEff2.symbol.flip
Section 18
//FESSparkle (com.jumpeye.flashEff2.symbol.sparkle.FESSparkle) package com.jumpeye.flashEff2.symbol.sparkle { import com.jumpeye.transitions.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.Events.*; import com.jumpeye.utils.*; public class FESSparkle extends IFlashEffSymbol { private var _preset:Number;// = 1 private var _glowAmount:Number;// = 10 private var axe; private var transitionType:String; private var _maximumParticleSize:Number;// = 5 private var _particleTweenDuration:Number;// = 0.5 private var isStopped:Boolean;// = false private var _particleDiversity:Number;// = 25 private var _glowColor:Number;// = 0xFFFFFF private var _particleEmissionInterval:Number;// = 0.2 private var dim:Number; private var owner:Object; private var bounds:Object; private var _emitterSize:Number;// = 0 private var _smooth:Boolean;// = false private var _maximumParticleSpread:Number;// = 60 private var axe2:String; public function FESSparkle(_arg1:JUIComponent=null){ _smooth = false; owner = {}; isStopped = false; _preset = 1; _maximumParticleSize = 5; _maximumParticleSpread = 60; _particleDiversity = 25; _particleEmissionInterval = 0.2; _particleTweenDuration = 0.5; _glowAmount = 10; _glowColor = 0xFFFFFF; _emitterSize = 0; super(); this.component = _arg1; this.init(); } private function motionFinish():void{ } override public function show():void{ startTransition("show"); } private function motionChange():void{ var _local1:*; _local1 = owner.msk.value; owner.spkStick[axe] = (owner.msk[axe] + getSparklePosition(_local1)); } public function get particleEmissionInterval():Number{ return (_particleEmissionInterval); } protected function init():void{ _tweenDuration = 1.5; _tweenType = "Strong"; _easeType = "easeInOut"; } public function set emitterSize(_arg1:Number):void{ if (isNaN(Number(_arg1))){ _arg1 = 10; }; if (_arg1 < 0){ _arg1 = 0; }; this._emitterSize = _arg1; } public function set particleEmissionInterval(_arg1:Number):void{ if (isNaN(Number(_arg1))){ _arg1 = 0.2; }; if (_arg1 <= 0){ _arg1 = 0.1; }; this._particleEmissionInterval = _arg1; } private function getSparklePosition(_arg1):Number{ var _local2:*; var _local3:*; var _local4:*; _local2 = 0; _local3 = ((((preset == 1)) || ((preset == 2)))) ? (_arg1 + _local2) : ((dim - _arg1) - _local2); _local4 = _local3; return (_local4); } override public function hide():void{ startTransition("hide"); } public function get glowAmount():Number{ return (_glowAmount); } public function get particleTweenDuration():Number{ return (_particleTweenDuration); } private function transition(){ var _local1:*; var _local2:String; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local1 = target.getBounds(target.parent); switch (preset){ default: _local2 = "left"; break; case 2: _local2 = "top"; break; case 3: _local2 = "right"; break; case 4: _local2 = "bottom"; break; }; owner.msk = new JLineMask(target.width, target.height, _local2); component.targetOwner.addChild(owner.msk); owner.msk.x = _local1.x; owner.msk.y = _local1.y; target.mask = owner.msk; dim = ((((preset == 1)) || ((preset == 3)))) ? target.width : target.height; _local3 = ((transitionType)=="show") ? 0 : dim; _local4 = ((transitionType)=="show") ? dim : 0; _local5 = {}; _local5.particleObj = {}; _local5.particleObj.color = glowColor; _local5.particleClass = JSparkleParticle; _local5.particleLifespan = Math.min(particleTweenDuration, (tweenDuration - 0.01)); _local5.particleEmissionInterval = Math.min(particleEmissionInterval, (tweenDuration - 0.01)); _local5.particleCount = 1; _local5.maxParticleSize = maximumParticleSize; _local5.isRandomInterval = true; _local5.showCross = false; _local5.easeFunc = this.easeFunc; _local5.maxDistance = this.maximumParticleSpread; _local5.yDifference = (_local5.maxDistance / 3); _local5.glowAmount = glowAmount; _local5.glowColor = glowColor; _local5.emitterLifespan = tweenDuration; axe = ((((preset == 1)) || ((preset == 3)))) ? "x" : "y"; axe2 = ((((preset == 1)) || ((preset == 3)))) ? "y" : "x"; _local6 = {}; _local6.wid = ((((preset == 1)) || ((preset == 3)))) ? emitterSize : target.width; _local6.hig = ((((preset == 1)) || ((preset == 3)))) ? target.height : emitterSize; _local6.sparkleObj = _local5; _local6.emittersCount = particleDiversity; _local6.glowAmount = glowAmount; _local6.glowColor = glowColor; _local6.orientation = ((((preset == 1)) || ((preset == 3)))) ? "vertical" : "horizontal"; owner.spkStick = new JSparkleStick(_local6); owner.spkStick[axe] = (owner.msk[axe] + getSparklePosition(_local3)); component.targetOwner.addChild(owner.spkStick); owner.spkStick.startEffect(); owner.spkStick.emitters[0].addEventListener("emitFinished", emitFinished, false, 0, true); owner.spkStick[axe2] = owner.msk[axe2]; owner.msk.value = _local3; TweenLite.to(owner.msk, tweenDuration, {value:_local4, delay:0, onUpdate:motionChange, onComplete:motionFinish, ease:this.easeFunc, overwrite:false}); this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); } public function get particleDiversity():Number{ return (_particleDiversity); } override public function remove():void{ if (target){ clearProperties(); target.visible = true; }; } private function emitFinished(_arg1:JEvent):void{ target.visible = ((transitionType)=="hide") ? false : true; clearProperties(); this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); } public function set glowAmount(_arg1:Number):void{ if (isNaN(Number(_arg1))){ _arg1 = 20; }; if (_arg1 < 0){ _arg1 = 0; }; this._glowAmount = _arg1; } private function startTransition(_arg1:String){ var _local2:*; isStopped = false; transitionType = _arg1; clearProperties(); bounds = target.getBounds(target.parent); _local2 = target.getBounds(target); owner["targetObj"] = {x:target.x, y:target.y, width:(_local2.width * target.scaleX), height:(_local2.height * target.scaleY), scaleX:target.scaleX, scaleY:target.scaleY, xMin:_local2.x, yMin:_local2.y}; transition(); } public function set particleTweenDuration(_arg1:Number):void{ if (isNaN(Number(_arg1))){ _arg1 = 0.6; }; if (_arg1 < 0.1){ _arg1 = 0.1; }; this._particleTweenDuration = _arg1; } private function clearProperties(){ target.mask = null; if (owner.spkStick){ owner.spkStick.emitters[0].removeEventListener("emitFinished", emitFinished); owner.spkStick.destroy(); if (component.targetOwner.contains(owner.msk)){ component.targetOwner.removeChild(owner.spkStick); }; owner.spkStick = null; }; if (owner.msk){ if (component.targetOwner.contains(owner.msk)){ TweenLite.killTweensOf(owner.msk, false); component.targetOwner.removeChild(owner.msk); owner.msk = null; }; }; } public function set glowColor(_arg1:uint):void{ this._glowColor = _arg1; } public function get emitterSize():Number{ return (_emitterSize); } public function set maximumParticleSpread(_arg1:Number):void{ if (isNaN(Number(_arg1))){ _arg1 = 150; }; this._maximumParticleSpread = _arg1; } public function set preset(_arg1:Number):void{ if ((((_arg1 > 4)) || ((_arg1 < 1)))){ _arg1 = 1; }; this._preset = _arg1; } public function set maximumParticleSize(_arg1:Number):void{ if (isNaN(Number(_arg1))){ _arg1 = 8; }; this._maximumParticleSize = _arg1; } public function get glowColor():uint{ return (this._glowColor); } public function get maximumParticleSpread():Number{ return (_maximumParticleSpread); } public function get preset():Number{ return (this._preset); } public function set particleDiversity(_arg1:Number):void{ if (isNaN(Number(_arg1))){ _arg1 = 20; }; if (_arg1 < 0){ _arg1 = 0; }; this._particleDiversity = _arg1; } public function get maximumParticleSize():Number{ return (_maximumParticleSize); } } }//package com.jumpeye.flashEff2.symbol.sparkle
Section 19
//JSparkleEmitter (com.jumpeye.flashEff2.symbol.sparkle.JSparkleEmitter) package com.jumpeye.flashEff2.symbol.sparkle { import com.jumpeye.transitions.*; import flash.filters.*; import com.jumpeye.Events.*; import com.jumpeye.particle.*; public class JSparkleEmitter extends JEmitter { public var maxParticleSize:Number;// = 10 public var glowAmount:Number;// = 20 public var alphaDurationPercentage:Number;// = 0.6 public var tweens:Object; public var yDifference:Number;// = 20 public var maxDistance:Number;// = 400 public var glowColor:uint;// = 0xFFFFFF public var orientation:String;// = "horizontal" public function JSparkleEmitter(_arg1=null){ maxDistance = 400; yDifference = 20; alphaDurationPercentage = 0.6; maxParticleSize = 10; glowAmount = 20; glowColor = 0xFFFFFF; orientation = "horizontal"; super(_arg1); } private function getGlow(_arg1):BitmapFilter{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Boolean; var _local8:Boolean; var _local9:Number; _local2 = glowColor; _local3 = 1; _local4 = _arg1; _local5 = _arg1; _local6 = _arg1; _local7 = false; _local8 = false; _local9 = BitmapFilterQuality.HIGH; return (new GlowFilter(_local2, _local3, _local4, _local5, _local6, _local9, _local7, _local8)); } private function setGlow(_arg1, _arg2):void{ var _local3:*; _local3 = this.getGlow(_arg2); _arg1.filters = [_local3]; } private function particleTweenFinish(_arg1, _arg2:Boolean=false):void{ var _local3:*; if (_arg2){ _local3 = new JEvent("emitFinished"); dispatchEvent(_local3); }; this.clearParticle(_arg1); } override public function startEffect(_arg1, _arg2:Boolean=false):void{ var _local3:*; _arg1.sizeAmount = maxParticleSize; _local3 = particleLifespan; this.setGlow(_arg1, glowAmount); if (orientation == "horizontal"){ TweenLite.to(_arg1, _local3, {x:randRange(0, maxDistance), delay:0, overwrite:false, onComplete:particleTweenFinish, onCompleteParams:[_arg1, _arg2]}); TweenLite.to(_arg1, _local3, {y:randRange(-(yDifference), yDifference), delay:0, overwrite:false}); } else { TweenLite.to(_arg1, _local3, {y:randRange(0, maxDistance), delay:0, overwrite:false, onComplete:particleTweenFinish, onCompleteParams:[_arg1, _arg2]}); TweenLite.to(_arg1, _local3, {x:randRange(-(yDifference), yDifference), delay:0, overwrite:false}); }; TweenLite.to(_arg1, (_local3 * alphaDurationPercentage), {alpha:0, delay:(_local3 - (_local3 * alphaDurationPercentage)), overwrite:false}); TweenLite.to(_arg1, (_local3 * alphaDurationPercentage), {sizeAmount:0, delay:(_local3 - (_local3 * alphaDurationPercentage)), overwrite:false}); } override public function clearParticle(_arg1):void{ TweenLite.killTweensOf(_arg1, false); _arg1.filters = []; super.clearParticle(_arg1); } } }//package com.jumpeye.flashEff2.symbol.sparkle
Section 20
//JSparkleParticle (com.jumpeye.flashEff2.symbol.sparkle.JSparkleParticle) package com.jumpeye.flashEff2.symbol.sparkle { import com.jumpeye.particle.*; public class JSparkleParticle extends JParticle { private var __sizeAmount:Number;// = 0 public var alphaInt:Number; public function JSparkleParticle(_arg1=null){ __sizeAmount = 0; super(_arg1); } public function set sizeAmount(_arg1:Number):void{ __sizeAmount = _arg1; this.width = (this.height = _arg1); } public function get sizeAmount():Number{ return (__sizeAmount); } } }//package com.jumpeye.flashEff2.symbol.sparkle
Section 21
//JSparkleStick (com.jumpeye.flashEff2.symbol.sparkle.JSparkleStick) package com.jumpeye.flashEff2.symbol.sparkle { import flash.display.*; import com.jumpeye.transitions.*; import flash.filters.*; public class JSparkleStick extends Sprite { public var sparkleObj:Object; public var glowAmount:Number;// = 20 public var emittersCount:Number;// = 10 public var stick:Shape; public var hig:Number; public var emitters:Array; public var orientation:String;// = "vertical" public var wid; public var glowColor:uint;// = 0xFFFFFF public function JSparkleStick(_arg1=null){ var _local2:*; emittersCount = 10; glowAmount = 20; glowColor = 0xFFFFFF; orientation = "vertical"; super(); for (_local2 in _arg1) { this[_local2] = _arg1[_local2]; }; this.createChildren(); } private function getGlow(_arg1):BitmapFilter{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Boolean; var _local8:Boolean; var _local9:Number; _local2 = glowColor; _local3 = 1; _local4 = _arg1; _local5 = _arg1; _local6 = (_arg1 / 3); _local7 = false; _local8 = false; _local9 = BitmapFilterQuality.HIGH; return (new GlowFilter(_local2, _local3, _local4, _local5, _local6, _local9, _local7, _local8)); } private function createChildren():void{ var _local1:uint; var _local2:JSparkleEmitter; var _local3:*; var _local4:*; var _local5:String; var _local6:String; var _local7:String; var _local8:*; var _local9:uint; var _local10:Number; _local1 = 0; emitters = []; stick = new Shape(); stick.graphics.beginFill(glowColor, 1); stick.graphics.drawRoundRect(0, 0, wid, hig, 60, 30); stick.graphics.endFill(); this.addChild(stick); sparkleObj.maxDistance = -(sparkleObj.maxDistance); sparkleObj.yDifference = 40; _local3 = ((orientation)=="vertical") ? hig : wid; _local4 = ((orientation)=="vertical") ? wid : hig; _local5 = ((orientation)=="vertical") ? "x" : "y"; _local6 = ((orientation)=="vertical") ? "y" : "x"; _local7 = ((orientation)=="vertical") ? "width" : "height"; _local8 = ((orientation)=="vertical") ? "horizontal" : "vertical"; _local9 = 0; _local10 = ((emittersCount)==0) ? 1 : emittersCount; _local9 = ((_local10)>2) ? (_local3 / ((_local10 - 2) / 2)) : (_local3 / (_local10 / 2)); _local1 = 0; while (_local1 < _local3) { _local2 = new JSparkleEmitter(sparkleObj); if (emittersCount != 0){ this.addChild(_local2); }; _local2[_local5] = -(_local2[_local7]); _local2[_local6] = _local1; _local2.orientation = _local8; emitters.push(_local2); _local1 = (_local1 + _local9); }; sparkleObj.maxDistance = -(sparkleObj.maxDistance); if (emittersCount >= 2){ _local1 = 0; while (_local1 < _local3) { _local2 = new JSparkleEmitter(sparkleObj); this.addChild(_local2); _local2[_local5] = _local4; _local2[_local6] = _local1; _local2.orientation = _local8; emitters.push(_local2); _local1 = (_local1 + _local9); }; }; this.setGlow(stick, glowAmount); TweenLite.to(stick, sparkleObj.particleLifespan, {alpha:0, delay:(sparkleObj.emitterLifespan - sparkleObj.particleLifespan), overwrite:true}); } private function setGlow(_arg1, _arg2):void{ var _local3:*; _local3 = this.getGlow(_arg2); _arg1.filters = [_local3]; } public function stopEffect():void{ var _local1:*; for (_local1 in emitters) { emitters[_local1].stopEmit(); }; TweenLite.to(stick, 0.3, {alpha:0, delay:0, overwrite:true}); } public function startEffect():void{ var _local1:*; for (_local1 in emitters) { emitters[_local1].startEmit(); }; } public function destroy():void{ var _local1:JSparkleEmitter; var _local2:*; for (_local2 in emitters) { _local1 = emitters[_local2]; _local1.destroy(); if (this.contains(_local1)){ this.removeChild(_local1); }; _local1 = null; }; } } }//package com.jumpeye.flashEff2.symbol.sparkle
Section 22
//FESSquareExplode (com.jumpeye.flashEff2.symbol.squareEffect.FESSquareExplode) package com.jumpeye.flashEff2.symbol.squareEffect { import flash.display.*; import flash.geom.*; import flash.events.*; import com.jumpeye.transitions.*; import com.jumpeye.core.*; import flash.text.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.Events.*; public class FESSquareExplode extends IFlashEffSymbol { protected var tweensFinished:Number;// = 0 private var _preset:Number;// = 1 protected var masksOwner:Sprite; private var _maxExplosionDistance:Number;// = 200 private var _groupDuration:Number;// = 1 protected var squareObjects:Object; protected var finalSquareHeight:Number;// = 20 protected var isShow:Boolean;// = true protected var finalSquareWidth:Number;// = 20 protected var squaresOwner:Sprite; public var forceSquareDimension:Boolean;// = false private var _squareHeight:Number;// = 20 protected var col:Number;// = 0 protected var lin:Number;// = 0 private var alphaFinish:Number; private var _maxScale:Number;// = 2 protected var targetBounds:Rectangle; private var alphaStart:Number; protected var timeMatrix:Array; private var _squareWidth:Number;// = 20 public function FESSquareExplode(_arg1:JUIComponent=null){ forceSquareDimension = false; finalSquareWidth = 20; finalSquareHeight = 20; lin = 0; col = 0; tweensFinished = 0; isShow = true; _squareWidth = 20; _squareHeight = 20; _maxExplosionDistance = 200; _maxScale = 2; _preset = 1; _groupDuration = 1; super(); this.component = _arg1; this.init(); } override public function show():void{ if (this.component != null){ this.startTransition(true); }; } protected function init():void{ _tweenDuration = 1.5; _easeType = "easeOut"; _tweenType = "Quadratic"; } protected function drawSquares(_arg1:uint, _arg2:Number):void{ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:Number; var _local9:uint; var _local10:Number; var _local11:uint; var _local12:Number; var _local13:Sprite; var _local14:*; var _local15:Number; var _local16:Object; var _local17:BitmapData; var _local18:Matrix; this.timeMatrix = []; this.squareObjects = {}; _local3 = Math.round(this.finalSquareHeight); _local4 = Math.round(this.finalSquareWidth); _local6 = 0; _local8 = 0; _local9 = 0; while (_local9 < this.lin) { this.timeMatrix[_local9] = []; _local5 = 0; _local7 = 0; _local10 = Math.floor(_local8); if (_local9 == (this.lin - 1)){ _local10 = Math.ceil(((_local8 + this.finalSquareHeight) - _local3)); }; _local11 = 0; while (_local11 < this.col) { this.timeMatrix[_local9][_local11] = 0; _local12 = Math.floor(_local7); if (_local11 == (this.col - 1)){ _local12 = Math.ceil(((_local7 + this.finalSquareWidth) - _local4)); }; _local13 = new Sprite(); this.createRectangle(_local13, (_local4 + _local12), (_local3 + _local10)); _local13.x = _local5; _local13.y = _local6; _local13.alpha = _arg2; masksOwner.addChild(_local13); _local14 = new Sprite(); _local14.name = ((("clip" + _local9) + "_") + _local11); _local15 = (2 - (Math.random() * this.maxScale)); _local16 = (this.squareObjects[((("clip" + _local9) + "_") + _local11)] = {clip:_local14, scaleX:_local15, scaleY:_local15, x:((Math.random() * this.maxExplosionDistance) - (this.maxExplosionDistance / 2)), y:((Math.random() * this.maxExplosionDistance) - (this.maxExplosionDistance / 2)), aliasMask:_local13}); _local14.x = _local5; _local14.y = _local6; _local14.visible = false; _local16.width = (_local4 + _local12); _local16.height = (_local3 + _local10); _local17 = new BitmapData(_local16.width, _local16.height, true, 0xFF00FF); _local18 = new Matrix(); _local18.translate(((-(_local5) / this.target.scaleX) - targetBounds.x), ((-(_local6) / this.target.scaleY) - targetBounds.y)); _local18.scale(this.target.scaleX, this.target.scaleY); _local17.draw(this.target, _local18); _local14.addChild(new Bitmap(_local17)); squaresOwner.addChild(_local14); _local14.alpha = _arg1; _local5 = (_local5 + _local16.width); _local7 = ((_local7 + this.finalSquareWidth) - _local16.width); _local11++; }; _local6 = (_local6 + (_local3 + _local10)); _local8 = (((_local8 + this.finalSquareHeight) - _local3) - _local10); _local9++; }; } public function get groupDuration():Number{ return (this._groupDuration); } public function get maxExplosionDistance():Number{ return (_maxExplosionDistance); } override public function hide():void{ if (this.component != null){ this.startTransition(false); }; } public function set squareWidth(_arg1:Number){ if (_arg1 < 1){ _arg1 = 1; }; this._squareWidth = _arg1; this.finalSquareWidth = _arg1; } public function set maxExplosionDistance(_arg1:Number):void{ _maxExplosionDistance = _arg1; } public function set groupDuration(_arg1:Number):void{ if (_arg1 < 0.001){ _arg1 = 0.001; }; this._groupDuration = _arg1; } protected function waitAFrame(_arg1:Event):void{ var _local2:*; var _local3:uint; var _local4:Array; var _local5:Number; var _local6:Object; this.target.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); _local4 = []; JFESquarePresets.getPresetsArray(this.preset, this.lin, this.col, this.timeMatrix, _local4); if (_local4.MAX > 2){ _local5 = Math.max(((this.tweenDuration - this.groupDuration) / (_local4.MAX - 1)), 0); } else { _local5 = Math.max((this.tweenDuration - this.groupDuration), 0); }; _local2 = 0; while (_local2 < this.lin) { _local3 = 0; while (_local3 < this.col) { _local6 = this.squareObjects[((("clip" + _local2) + "_") + _local3)]; TweenLite.to(_local6.clip, this.groupDuration, {scaleX:_local6.scaleX, scaleY:_local6.scaleY, alpha:0, x:(_local6.clip.x + _local6.x), y:(_local6.clip.y + _local6.y), delay:(this.timeMatrix[_local2][_local3] * _local5), onStart:this.squareStartTransition, onStartParams:[_local6.clip], ease:this.easeFunc, onUpdate:squareBrightnessChange, onUpdateParams:[_local6, alphaStart, alphaFinish], onComplete:motionFinish, onCompleteParams:[_local6]}); _local3++; }; _local2++; }; this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); } public function get maxScale():Number{ return (_maxScale); } override public function remove():void{ var _local1:*; var _local2:*; var _local3:Object; if (this.squaresOwner != null){ if (this.squaresOwner.parent != null){ this.squaresOwner.parent.removeChild(this.squaresOwner); }; this.squaresOwner = null; if (this.masksOwner.parent != null){ this.masksOwner.parent.removeChild(this.masksOwner); }; this.target.mask = null; }; if (this.squareObjects != null){ _local1 = 0; while (_local1 < this.lin) { _local2 = 0; while (_local2 < this.col) { _local3 = this.squareObjects[((("clip" + _local1) + "_") + _local2)]; TweenLite.killTweensOf(_local3.clip, false); _local2++; }; _local1++; }; }; if (this.target != null){ this.target.removeEventListener(Event.ENTER_FRAME, this.waitAFrame); }; this.squareObjects = null; this.timeMatrix = null; } protected function startTransition(_arg1:Boolean):void{ var _local2:uint; this.targetBounds = this.target.getBounds(this.target); 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.target.scaleY) / this.finalSquareHeight)); this.col = Math.floor(((this.targetBounds.width * this.target.scaleX) / this.finalSquareWidth)); isShow = _arg1; if (forceSquareDimension == false){ if ((lin * col) > 1600){ this.lin = Math.min(this.lin, 40); this.col = Math.min(this.col, 40); }; }; this.finalSquareHeight = ((this.targetBounds.height / this.lin) * this.target.scaleY); this.finalSquareWidth = ((this.targetBounds.width / this.col) * this.target.scaleX); alphaStart = 0; alphaFinish = 1; if (_arg1 == true){ alphaStart = 1; alphaFinish = 0; }; squaresOwner = new Sprite(); masksOwner = new Sprite(); squaresOwner.name = "squaresOwner"; _local2 = 0; if ((this.target is TextField)){ _local2 = 2; }; masksOwner.x = (squaresOwner.x = ((this.target.x + (this.targetBounds.x * this.target.scaleX)) + _local2)); masksOwner.y = (squaresOwner.y = ((this.target.y + (this.targetBounds.y * this.target.scaleY)) + _local2)); squaresOwner.rotation = this.target.rotation; this.component.targetOwner.addChild(masksOwner); this.component.targetOwner.addChild(squaresOwner); this.target.cacheAsBitmap = true; masksOwner.cacheAsBitmap = true; this.drawSquares(1, alphaFinish); this.target.mask = masksOwner; this.tweensFinished = 0; this.target.addEventListener(Event.ENTER_FRAME, this.waitAFrame, false, 0, true); } public function set maxScale(_arg1:Number):void{ _maxScale = _arg1; } public function set squareHeight(_arg1:Number){ if (_arg1 < 1){ _arg1 = 1; }; this._squareHeight = _arg1; this.finalSquareHeight = _arg1; } public function set preset(_arg1:Number):void{ this._preset = _arg1; } public function get squareWidth():Number{ return (this._squareWidth); } protected function squareStartTransition(_arg1:Sprite):void{ _arg1.visible = true; } public function get squareHeight():Number{ return (this._squareHeight); } protected function createRectangle(_arg1:Sprite, _arg2:Number, _arg3:Number):void{ var clip = _arg1; var w = _arg2; var h = _arg3; var _local5 = clip.graphics; with (_local5) { beginFill(0xFF0000, 100); lineTo(w, 0); lineTo(w, h); lineTo(0, h); lineTo(0, 0); endFill(); }; } protected function squareBrightnessChange(_arg1:Object, _arg2:Number, _arg3:Number):void{ _arg1.aliasMask.alpha = (_arg2 + (((_arg3 - _arg2) * _arg1.clip.alpha) * 0.1)); } public function get preset():Number{ return (this._preset); } protected function motionFinish(_arg1:Object):void{ if (_arg1.clip != null){ _arg1.clip.removeChildAt(0); }; tweensFinished++; if (tweensFinished == (this.lin * this.col)){ this.remove(); if (this.isShow == false){ if (this.target != null){ this.target.visible = false; }; }; this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); }; } } }//package com.jumpeye.flashEff2.symbol.squareEffect
Section 23
//JFESquarePresets (com.jumpeye.flashEff2.symbol.squareEffect.JFESquarePresets) package com.jumpeye.flashEff2.symbol.squareEffect { import flash.utils.*; public dynamic class JFESquarePresets { public function JFESquarePresets():void{ } public static function getPresetsArray(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:Array, _arg5:Object=null):Array{ var i:*; var j:uint; var max:Number; var presetClass:Class; var presetFunc:*; var preset = _arg1; var lin = _arg2; var col = _arg3; var matrix = _arg4; var timeLineSquares = _arg5; max = 0; try { presetClass = (getDefinitionByName(("com.jumpeye.flashEff2.presets.JFESP" + preset)) as Class); presetFunc = presetClass["fep"]; if (presetFunc != null){ return (presetFunc(preset, lin, col, matrix, timeLineSquares)); }; } catch(e:Error) { if (preset > 1){ trace((("FLASHEFF2 WARNING: The selected preset is not in the Library ! Please drag the JFESP" + preset) + " from the Components panel over the Library panel.")); }; i = 0; while (i < lin) { j = 0; while (j < col) { matrix[i][j] = j; j = (j + 1); }; i = (i + 1); }; max = col; }; if (timeLineSquares != null){ timeLineSquares.MAX = max; }; return (matrix); } public static function getModifiedPresetsArray(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:Array, _arg5:Object=null):Array{ var i:*; var j:uint; var max:Number; var presetClass:Class; var presetFunc:*; var preset = _arg1; var lin = _arg2; var col = _arg3; var matrix = _arg4; var timeLineSquares = _arg5; max = 0; if (preset > 8){ return (JFESquarePresets.getPresetsArray(preset, lin, col, matrix, timeLineSquares)); }; try { presetClass = (getDefinitionByName(("com.jumpeye.flashEff2.presets.JFESPM" + preset)) as Class); presetFunc = presetClass["fep"]; if (presetFunc != null){ return (presetFunc(preset, lin, col, matrix, timeLineSquares)); }; } catch(e:Error) { if (preset > 1){ trace((("FLASHEFF2 WARNING: The selected preset is not in the Library ! Please drag the JFESPM" + preset) + " from the Components panel over the Library panel.")); }; i = 0; while (i < lin) { j = 0; while (j < col) { matrix[i][j] = ((i * (col - 1)) + j); j = (j + 1); }; i = (i + 1); }; max = (col * lin); }; if (timeLineSquares != null){ timeLineSquares.MAX = max; }; return (matrix); } } }//package com.jumpeye.flashEff2.symbol.squareEffect
Section 24
//FESStripes (com.jumpeye.flashEff2.symbol.stripes.FESStripes) package com.jumpeye.flashEff2.symbol.stripes { import flash.display.*; import com.jumpeye.transitions.*; import com.jumpeye.core.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.Events.*; import flash.utils.*; public class FESStripes extends IFlashEffSymbol { private var _preset:Number;// = 1 var obj:Object; var clipXScale:Number;// = 0 private var _groupDuration:Number;// = 1 var numberStr:Number;// = 0 var clip:Sprite; var startPoint:Number;// = 0 var k:String; private var _stripeThickness:Number;// = 12 var kk:Number;// = 0 var finishPoint:Number;// = 0 var rest:Number;// = 0 var totalDuration:Number;// = 0 public function FESStripes(_arg1:JUIComponent=null){ _stripeThickness = 12; _groupDuration = 1; _preset = 1; startPoint = 0; kk = 0; finishPoint = 0; clipXScale = 0; numberStr = 0; rest = 0; totalDuration = 0; obj = {}; super(); this.component = _arg1; this.init(); } override public function show():void{ obj.show = true; obj.me = this; startTransition(obj); } protected function init():void{ _tweenDuration = 1.5; _easeType = "easeInOut"; _tweenType = "Strong"; } public function get groupDuration():Number{ return (this._groupDuration); } private function startTween(_arg1:Sprite, _arg2:Number, _arg3:Number, _arg4, _arg5){ var _local6:*; clearInterval(_arg4[("interval" + _arg5)]); _local6 = (_arg4.tweens[_arg3] = {}); _local6.prop = _arg4.startPoint; } override public function hide():void{ obj.me = this; obj.show = false; startTransition(obj); } public function set stripeThickness(_arg1:Number):void{ this._stripeThickness = _arg1; } public function set groupDuration(_arg1:Number):void{ this._groupDuration = _arg1; } function onMotionChanged(... _args){ _args[2].scaleX = _args[1].prop; } override public function remove():void{ var _local1:*; if ((obj.tweens is Array)){ for (_local1 in obj.tweens) { TweenLite.killTweensOf(obj.tweens[_local1]); }; }; this._component.targetOwner.mask = null; if (this.component.targetOwner){ if ((obj.clip is Sprite)){ if (this.component.targetOwner.contains(obj.clip)){ this.component.targetOwner.removeChild(obj.clip); }; }; }; } function onMotionFinish(... _args){ clip = _args[2]; obj.tweensFinished++; if ((((obj.tweensFinished == obj.numberStr)) || ((obj.tweensFinished == (obj.numberStr + 1))))){ clip.scaleX = obj.clipXScale; this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_END)); } else { clip.scaleX = obj.clipXScale; }; } private function startTransition(_arg1){ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:*; var _local6:*; var _local7:*; var _local8:Number; var _local9:*; var _local10:*; var _local11:Number; var _local12:Number; var _local13:Sprite; var _local14:Number; var _local15:Number; var _local16:Object; if ((((this._tweenDuration <= 0)) || (isNaN(this._tweenDuration)))){ this._tweenDuration = 0.1; }; if (this._tweenDuration < this._groupDuration){ this._tweenDuration = this._groupDuration; }; if ((((this._groupDuration <= 0)) || (isNaN(this._groupDuration)))){ this._groupDuration = 0.1; }; if ((((this._stripeThickness <= 0)) || (isNaN(this._stripeThickness)))){ this._stripeThickness = 5; }; if (_arg1.show == true){ _arg1.startPoint = 0; _arg1.finishPoint = 1; clipXScale = 1; } else { _arg1.startPoint = 1; _arg1.finishPoint = 0; clipXScale = 0; }; _arg1.clipXScale = clipXScale; _local2 = 100; _arg1.targetBounds = target.getBounds(_target); if (_arg1.squareHeight > _arg1.targetBounds.height){ _arg1.squareHeight = _arg1.targetBounds.height; }; if (_arg1.squareWidth > _arg1.targetBounds.width){ _arg1.squareWidth = _arg1.targetBounds.width; }; _local3 = 0; _local3 = (_arg1.targetBounds.height * target.scaleY); _local4 = 0; _local4 = (_arg1.targetBounds.width * target.scaleX); numberStr = Math.max(Math.floor((_local3 / stripeThickness)), 1); _arg1.numberStr = numberStr; rest = Math.ceil((_local3 % stripeThickness)); _arg1.stripeThicknessFinal = (stripeThickness + (rest / numberStr)); kk = 1; _local8 = 0; _local7 = _local8; _local6 = _local7; _local5 = _local6; _arg1.groupDuration = _groupDuration; switch (Number(this.preset)){ case 2: _local5 = 180; _local6 = _local4; kk = 1; _local7 = _arg1.stripeThicknessFinal; break; case 3: kk = 1; _local11 = _local3; _local3 = _local4; numberStr = Math.floor((_local4 / stripeThickness)); rest = (_local4 % stripeThickness); _arg1.stripeThicknessFinal = (stripeThickness + (rest / numberStr)); _local5 = 90; _local8 = 1; _local4 = _local11; break; case 4: kk = 1; _local12 = _local3; numberStr = Math.round((_local4 / stripeThickness)); rest = Math.ceil((_local4 % stripeThickness)); _arg1.stripeThicknessFinal = (stripeThickness + (rest / numberStr)); kk = 0; k = "=numbStr"; _local5 = -90; _local8 = 1; _local7 = _local3; _local4 = _local12; numberStr = (numberStr - 1); break; default: break; }; _arg1.numberStripes = numberStr; if (_arg1.show == true){ }; _local9 = new Sprite(); this.component.targetOwner.addChild(_local9); _arg1.clip = _local9; _arg1.tweens = new Array(); _arg1.clip.rotation = target.rotation; this._component.targetOwner.mask = _local9; target.visible = true; _arg1.tweensFinished = 0; this.component.dispatchEvent(new FLASHEFFEvents(FLASHEFFEvents.TRANSITION_START)); _local10 = kk; while (_local10 <= numberStr) { _local13 = new Sprite(); _local9.addChild(_local13); _local13.cacheAsBitmap = true; _local14 = _arg1.stripeThicknessFinal; _local13.graphics.beginFill(0xFF0000); _local13.graphics.drawRect(0, 0, (_local4 + 1), (_local14 + 1)); _local13.graphics.endFill(); _local13.y = ((_arg1.targetBounds.y * target.scaleY) + ((_local14 * (_local10 - 1)) * (1 - _local8))); _local13.x = ((_arg1.targetBounds.x * target.scaleX) + ((_local14 * _local10) * _local8)); _local13.rotation = _local5; _local13.x = (_local13.x + _local6); _local13.y = (_local13.y + _local7); if (_arg1.show == true){ _local13.scaleX = 0; }; _local15 = _tweenDuration; totalDuration = _arg1.totalDuration; _arg1.delay = Math.max(((tweenDuration - groupDuration) / numberStr), 0); _local16 = (_arg1.tweens[_local10] = {}); _local16.prop = _arg1.startPoint; if (_arg1.show == true){ TweenLite.to(_local16, this.groupDuration, {prop:_arg1.finishPoint, delay:(_arg1.delay * (_local10 - 1)), ease:easeFunc, onComplete:onMotionFinish, onUpdate:onMotionChanged, onUpdateParams:[_arg1, _local16, _local13], onCompleteParams:[_arg1, _local16, _local13]}); } else { TweenLite.to(_local16, this.groupDuration, {prop:_arg1.finishPoint, delay:(_arg1.delay * _local10), ease:easeFunc, onComplete:onMotionFinish, onUpdate:onMotionChanged, onUpdateParams:[_arg1, _local16, _local13], onCompleteParams:[_arg1, _local16, _local13]}); }; _local10++; }; } public function set preset(_arg1:Number):void{ this._preset = _arg1; } public function get stripeThickness():Number{ return (this._stripeThickness); } public function get preset():Number{ return (this._preset); } } }//package com.jumpeye.flashEff2.symbol.stripes
Section 25
//FeTDefaultFade (com.jumpeye.flashEff2.text.defaultFade.FeTDefaultFade) package com.jumpeye.flashEff2.text.defaultFade { import flash.events.*; import com.jumpeye.core.*; import flash.filters.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.Events.*; 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 26
//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 27
//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 28
//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 29
//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 _xMin:Number; public var texture:BitmapData; private var _vsLen: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{ smooth = false; super(); _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 _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Object; var _local17:*; var _local18:*; var _local19:*; var _local20:*; _local9 = _w; _local10 = _h; _local11 = (_arg7 - _arg1); _local12 = (_arg8 - _arg2); _local13 = (_arg5 - _arg3); _local14 = (_arg6 - _arg4); _local15 = _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; _local10 = {}; _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 _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Object; var _local8:Object; var _local9:Object; _p = new Array(); _tri = new Array(); _local3 = (_w / 2); _local4 = (_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; _local3 = 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 _local7:Number; var _local8:Number; var _local9:Sprite; var _local10:Array; var _local11:*; var _local12:*; var _local13:Number; _local7 = (1 / _h); _local8 = (1 / _w); _local9 = _mc; _local9.graphics.clear(); _local11 = new Matrix(); _local12 = {}; _local13 = _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 30
//JWavesEffect (com.jumpeye.flashEff2.utils.wavesEffect.JWavesEffect) package com.jumpeye.flashEff2.utils.wavesEffect { import flash.display.*; import flash.geom.*; import flash.filters.*; public class JWavesEffect extends Sprite { public var bitmap:BitmapData; private var map:Bitmap; private var offsetPoints:Array; private var target; public var decrInterval:Number; private var blurQuality:Number; public var baseX; public var baseY; private var bounds:Object; private var __value;// = 0 public var fractalNoiseVal; private var hig:Number; public var intervalId; public var blurX; public var blurY; private var wid; public function JWavesEffect(_arg1, _arg2:Boolean, _arg3:Number, _arg4:Number=0, _arg5:Number=0){ __value = 0; super(); blurQuality = _arg3; this.target = _arg1; this.map = new Bitmap(); this.map.smoothing = _arg2; this.addChild(map); this.baseX = ((baseX) || (100)); this.baseY = ((baseY) || (100)); this.blurX = ((blurX) || (0)); this.blurY = ((blurY) || (0)); this.fractalNoiseVal = ((fractalNoiseVal) || (true)); this.offsetPoints = new Array(); this.offsetPoints[0] = new Point(); this.wid = ((_arg4)==0) ? _arg1.width : _arg4; this.hig = ((_arg5)==0) ? _arg1.height : _arg5; this.wid = ((this.wid)>2880) ? 2880 : this.wid; this.hig = ((this.hig)>2880) ? 2880 : this.hig; this.bitmap = new BitmapData((this.wid + 2), (this.hig + 2), true, 0); } public function get value():Number{ return (__value); } private function setEffect():void{ var _local1:Array; this.initFilters(value); _local1 = this.target.filters; this.offsetPoints[0].x = this.value; this.offsetPoints[0].y = this.value; this.bitmap.perlinNoise(this.baseX, this.baseY, 2, 100, true, this.fractalNoiseVal, 7, true, this.offsetPoints); _local1[0].mapBitmap = this.bitmap; this.target.filters = _local1; map.bitmapData = bitmap; } private function getDisplacement(_arg1):BitmapFilter{ var _local2:Point; var _local3:DisplacementMapFilter; _local2 = new Point(0, 0); _local3 = new DisplacementMapFilter(this.bitmap, _local2, 1, 1, (_arg1 / 3), (_arg1 / 3), "color"); return (_local3); } private function initFilters(_arg1):void{ var _local2:*; var _local3:*; var _local4:Array; _local2 = getDisplacement(_arg1); _local3 = getBlur(0); _local4 = []; _local4.push(_local2); _local4.push(_local3); target.filters = [_local2]; } private function getBlur(_arg1):BitmapFilter{ var _local2:Number; var _local3:Number; _local2 = _arg1; _local3 = _arg1; return (new BlurFilter(_local2, _local3, blurQuality)); } public function set value(_arg1:Number):void{ __value = _arg1; this.setEffect(); } } }//package com.jumpeye.flashEff2.utils.wavesEffect
Section 31
//JEmitter (com.jumpeye.particle.JEmitter) package com.jumpeye.particle { import flash.display.*; import flash.utils.*; import fl.transitions.easing.*; public class JEmitter extends Sprite { public var particleLifespan:Number;// = 0.5 public var particleEmissionInterval:Number;// = 0.1 public var particleCount:Number;// = 1 public var inteArr:Array; private var totalTime:Number; public var showCross:Boolean;// = false private var endTime; private var inte; private var cross:Sprite; public var inde:Number;// = 0 private var createdIntervals:Number; public var isRandomInterval:Boolean;// = true public var particleObj; public var particleClass; public var particles:Array; public var easeFunc:Function; private var eventDispatched:Boolean; public var emitterLifespan:Number;// = 10 private var ind; public function JEmitter(_arg1=null){ var _local2:*; showCross = false; particleLifespan = 0.5; emitterLifespan = 10; particleEmissionInterval = 0.1; particleCount = 1; inde = 0; isRandomInterval = true; super(); for (_local2 in _arg1) { this[_local2] = _arg1[_local2]; }; init(); if (showCross){ cross = new (getDefinitionByName("emitter")); this.addChild(cross); }; } public function destroy():void{ var _local1:*; var _local2:*; stopEmit(); _local2 = 0; while (_local2 <= (this.numChildren - 1)) { _local1 = this.getChildAt(_local2); if ((_local1 is JParticle)){ clearParticle(_local1); } else { this.removeChild(_local1); _local1 = null; }; _local2++; }; } public function clearParticle(_arg1):void{ _arg1.destroy(); if (this.contains(_arg1)){ this.removeChild(_arg1); }; _arg1 = null; } public function stopEmit():void{ clearInterval(inte); } private function init():void{ var _local1:*; ind = 0; createdIntervals = 0; eventDispatched = false; particles = []; totalTime = 0; inteArr = []; _local1 = particleEmissionInterval; while ((totalTime + particleLifespan) < emitterLifespan) { if (isRandomInterval){ _local1 = randRange((particleEmissionInterval * 70), (particleEmissionInterval * 100)); _local1 = (_local1 / 100); }; inteArr.push(_local1); totalTime = (totalTime + _local1); }; inteArr[(inteArr.length - 1)] = ((emitterLifespan - particleLifespan) - (totalTime - inteArr[(inteArr.length - 1)])); totalTime = 0; clearInterval(inte); } public function randRange(_arg1:Number, _arg2:Number):Number{ var _local3:Number; _local3 = (Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1); return (_local3); } public function endEffect(_arg1):void{ clearInterval(_arg1.inte); clearParticle(_arg1); } private function startInterval():void{ if (inteArr[ind]){ inte = setInterval(createParticle, (inteArr[ind] * 1000), inteArr[ind]); ind++; }; } public function startEmit():void{ init(); startInterval(); } public function startEffect(_arg1, _arg2:Boolean=false):void{ } public function test(){ var _local1:*; stopEmit(); _local1 = 0; while (_local1 <= (this.numChildren - 1)) { trace(("c " + this.getChildAt(_local1))); _local1++; }; } public function createParticle(_arg1:Number=0):void{ var _local2:Boolean; var _local3:*; var _local4:*; _local2 = false; this.stopEmit(); this.startInterval(); totalTime = (totalTime + _arg1); _local3 = 0; while (_local3 <= (particleCount - 1)) { if ((((createdIntervals == (inteArr.length - 1))) && (!(eventDispatched)))){ _local2 = true; eventDispatched = true; } else { _local2 = false; eventDispatched = false; }; _local4 = new particleClass(particleObj); _local4.cacheAsBitmap = true; startEffect(_local4, _local2); this.addChild(_local4); _local3++; }; createdIntervals++; } } }//package com.jumpeye.particle
Section 32
//JParticle (com.jumpeye.particle.JParticle) package com.jumpeye.particle { import flash.display.*; public class JParticle extends Shape { public var color:uint;// = 0xFFFFFF public function JParticle(_arg1=null){ var _local2:*; color = 0xFFFFFF; super(); for (_local2 in _arg1) { this[_local2] = _arg1[_local2]; }; this.drawParticle(); } public function drawParticle():void{ graphics.beginFill(color, 1); graphics.drawCircle(10, 10, 10); graphics.endFill(); } public function destroy():void{ graphics.clear(); } } }//package com.jumpeye.particle
Section 33
//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 34
//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 35
//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 36
//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 37
//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 38
//TweenLite (com.jumpeye.transitions.TweenLite) package com.jumpeye.transitions { import flash.display.*; import flash.events.*; import com.jumpeye.transitions.utils.tween.*; import flash.utils.*; import com.jumpeye.transitions.plugins.*; 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 39
//JLineMask (com.jumpeye.utils.JLineMask) package com.jumpeye.utils { import flash.display.*; public class JLineMask extends Sprite { private var isCenter:Boolean;// = false private var __value;// = 0 private var hig:Number; private var msk:Sprite; private var dimD:Number; private var orientation:String; private var wid; public function JLineMask(_arg1:Number=100, _arg2:Number=100, _arg3:String="left", _arg4:Boolean=false){ var _local5:*; var _local6:*; var _local7:*; isCenter = false; __value = 0; super(); this.wid = _arg1; this.hig = _arg2; this.isCenter = _arg4; this.orientation = _arg3; this.msk = new Sprite(); _local5 = new Shape(); _local5.graphics.beginFill(3368601, 0.4); _local6 = ((((_arg3 == "left")) || ((_arg3 == "right")))) ? 1 : _arg1; _local7 = ((((_arg3 == "top")) || ((_arg3 == "bottom")))) ? 1 : _arg2; _local5.graphics.drawRect(0, 0, _local6, _local7); _local5.graphics.endFill(); msk.addChild(_local5); this.addChild(msk); value = 0; } public function get value():Number{ return (__value); } private function arrange():void{ var _local1:*; var _local2:*; var _local3:*; _local1 = ((((orientation == "left")) || ((orientation == "right")))) ? "x" : "y"; _local2 = ((((orientation == "left")) || ((orientation == "right")))) ? "width" : "height"; _local3 = ((((orientation == "left")) || ((orientation == "right")))) ? wid : hig; if (!isCenter){ msk[_local1] = ((((orientation == "right")) || ((orientation == "bottom")))) ? (dimD - msk[_local2]) : 0; } else { msk[_local1] = ((((orientation == "right")) || ((orientation == "bottom")))) ? ((dimD / 2) - (msk[_local2] / 2)) : 0; }; } public function set value(_arg1:Number):void{ __value = _arg1; this.setRedraw(); } private function setRedraw():void{ var _local1:*; _local1 = ((((orientation == "left")) || ((orientation == "right")))) ? "width" : "height"; dimD = ((((orientation == "left")) || ((orientation == "right")))) ? wid : hig; msk[_local1] = this.value; this.arrange(); } } }//package com.jumpeye.utils
Section 40
//btncopy_122 (EmmaWatson_fla.btncopy_122) package EmmaWatson_fla { import flash.display.*; public dynamic class btncopy_122 extends MovieClip { public var f4:MovieClip; public var f1:MovieClip; public var f5:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 41
//btncopy_153 (EmmaWatson_fla.btncopy_153) package EmmaWatson_fla { import flash.display.*; public dynamic class btncopy_153 extends MovieClip { public var f6:MovieClip; public var f4:MovieClip; public var f1:MovieClip; public var f5:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 42
//buttons_208 (EmmaWatson_fla.buttons_208) package EmmaWatson_fla { import flash.display.*; public dynamic class buttons_208 extends MovieClip { public var mascara:MovieClip; public var extra:MovieClip; public var dress:MovieClip; public var face:MovieClip; public var lip:MovieClip; public var eyelens:MovieClip; public var rouge:MovieClip; public var eyeshade:MovieClip; public var chain:MovieClip; public var hair:MovieClip; } }//package EmmaWatson_fla
Section 43
//bvgncghgfchj_23 (EmmaWatson_fla.bvgncghgfchj_23) package EmmaWatson_fla { import flash.display.*; public dynamic class bvgncghgfchj_23 extends MovieClip { public var doll:MovieClip; } }//package EmmaWatson_fla
Section 44
//cbvdsfdsf_7 (EmmaWatson_fla.cbvdsfdsf_7) package EmmaWatson_fla { import flash.display.*; public dynamic class cbvdsfdsf_7 extends MovieClip { public var masker:MovieClip; } }//package EmmaWatson_fla
Section 45
//chain_83 (EmmaWatson_fla.chain_83) package EmmaWatson_fla { import flash.display.*; public dynamic class chain_83 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 46
//cvbcvb901_38 (EmmaWatson_fla.cvbcvb901_38) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvb901_38 extends MovieClip { public function cvbcvb901_38(){ addFrameScript(0, frame1, 8, frame9); } function frame1(){ stop(); } function frame9(){ gotoAndStop(1); } } }//package EmmaWatson_fla
Section 47
//cvbcvbcvbvcy_78_1_20 (EmmaWatson_fla.cvbcvbcvbvcy_78_1_20) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbcvbvcy_78_1_20 extends MovieClip { public function cvbcvbcvbvcy_78_1_20(){ addFrameScript(56, frame57); } function frame57(){ stop(); } } }//package EmmaWatson_fla
Section 48
//cvbcvbdollchange_25 (EmmaWatson_fla.cvbcvbdollchange_25) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbdollchange_25 extends MovieClip { public function cvbcvbdollchange_25(){ addFrameScript(0, frame1, 5, frame6); } function frame6(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 49
//cvbcvbdolll_24 (EmmaWatson_fla.cvbcvbdolll_24) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbdolll_24 extends MovieClip { public var mascara:MovieClip; public var extra2:MovieClip; public var extra3:MovieClip; public var extra1:MovieClip; public var dress:MovieClip; public var face:MovieClip; public var lip:MovieClip; public var eyelens:MovieClip; public var rouge:MovieClip; public var eyeshade:MovieClip; public var chain:MovieClip; public var hair:MovieClip; } }//package EmmaWatson_fla
Section 50
//cvbcvbeyem1_46 (EmmaWatson_fla.cvbcvbeyem1_46) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbeyem1_46 extends MovieClip { public function cvbcvbeyem1_46(){ addFrameScript(0, frame1, 6, frame7); } function frame7(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 51
//cvbcvbhm44_61 (EmmaWatson_fla.cvbcvbhm44_61) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbhm44_61 extends MovieClip { public function cvbcvbhm44_61(){ addFrameScript(0, frame1, 3, frame4); } function frame1(){ stop(); } function frame4(){ gotoAndStop(1); } } }//package EmmaWatson_fla
Section 52
//cvbcvblipddd_48 (EmmaWatson_fla.cvbcvblipddd_48) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvblipddd_48 extends MovieClip { public function cvbcvblipddd_48(){ addFrameScript(0, frame1, 6, frame7); } function frame7(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 53
//cvbcvbmarkla_33 (EmmaWatson_fla.cvbcvbmarkla_33) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbmarkla_33 extends MovieClip { public function cvbcvbmarkla_33(){ addFrameScript(0, frame1); } function frame1(){ gotoAndPlay(Math.round((Math.random() * 10))); } } }//package EmmaWatson_fla
Section 54
//cvbcvbMARKVVV_27 (EmmaWatson_fla.cvbcvbMARKVVV_27) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbMARKVVV_27 extends MovieClip { public function cvbcvbMARKVVV_27(){ addFrameScript(0, frame1, 5, frame6); } function frame6(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 55
//cvbcvbZScdGFKSFSvcvcvcvcvcv_31 (EmmaWatson_fla.cvbcvbZScdGFKSFSvcvcvcvcvcv_31) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbZScdGFKSFSvcvcvcvcvcv_31 extends MovieClip { public function cvbcvbZScdGFKSFSvcvcvcvcvcv_31(){ addFrameScript(0, frame1, 6, frame7); } function frame7(){ gotoAndStop(1); } function frame1(){ stop(); stop(); } } }//package EmmaWatson_fla
Section 56
//cvbcvbZScdGFKSFSxcbchain_28 (EmmaWatson_fla.cvbcvbZScdGFKSFSxcbchain_28) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbZScdGFKSFSxcbchain_28 extends MovieClip { public function cvbcvbZScdGFKSFSxcbchain_28(){ addFrameScript(0, frame1, 5, frame6); } function frame6(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 57
//cvbcvbZScdGFKSFSxcbdollbbbbselena_50 (EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollbbbbselena_50) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbZScdGFKSFSxcbdollbbbbselena_50 extends MovieClip { public function cvbcvbZScdGFKSFSxcbdollbbbbselena_50(){ addFrameScript(0, frame1, 5, frame6); } function frame6(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 58
//cvbcvbZScdGFKSFSxcbdollbbbbselenacopy_55 (EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollbbbbselenacopy_55) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbZScdGFKSFSxcbdollbbbbselenacopy_55 extends MovieClip { public function cvbcvbZScdGFKSFSxcbdollbbbbselenacopy_55(){ addFrameScript(0, frame1, 3, frame4); } function frame1(){ stop(); } function frame4(){ gotoAndStop(1); } } }//package EmmaWatson_fla
Section 59
//cvbcvbZScdGFKSFSxcbdollSymbol18_53 (EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollSymbol18_53) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbZScdGFKSFSxcbdollSymbol18_53 extends MovieClip { public function cvbcvbZScdGFKSFSxcbdollSymbol18_53(){ addFrameScript(0, frame1); } function frame1(){ gotoAndPlay(Math.round((Math.random() * 10))); } } }//package EmmaWatson_fla
Section 60
//cvbcvbZScdGFKSFSxcbdollSymbol23_56 (EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollSymbol23_56) package EmmaWatson_fla { import flash.display.*; public dynamic class cvbcvbZScdGFKSFSxcbdollSymbol23_56 extends MovieClip { public function cvbcvbZScdGFKSFSxcbdollSymbol23_56(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 61
//dfgj_263 (EmmaWatson_fla.dfgj_263) package EmmaWatson_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class dfgj_263 extends MovieClip { public function dfgj_263(){ addFrameScript(0, frame1); } function frame1(){ buttonMode = true; addEventListener(MouseEvent.CLICK, Links); } public function Links(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.allfungirlsgames.com"); navigateToURL(_local2, "_blank"); } } }//package EmmaWatson_fla
Section 62
//dress_68 (EmmaWatson_fla.dress_68) package EmmaWatson_fla { import flash.display.*; public dynamic class dress_68 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 63
//eyelenso_101 (EmmaWatson_fla.eyelenso_101) package EmmaWatson_fla { import flash.display.*; public dynamic class eyelenso_101 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 64
//eyeshaeo_149 (EmmaWatson_fla.eyeshaeo_149) package EmmaWatson_fla { import flash.display.*; public dynamic class eyeshaeo_149 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 65
//faceo_118 (EmmaWatson_fla.faceo_118) package EmmaWatson_fla { import flash.display.*; public dynamic class faceo_118 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 66
//hhhvxcv_229 (EmmaWatson_fla.hhhvxcv_229) package EmmaWatson_fla { import flash.display.*; public dynamic class hhhvxcv_229 extends MovieClip { public function hhhvxcv_229(){ addFrameScript(0, frame1, 7, frame8); } function frame1(){ stop(); } function frame8(){ gotoAndStop(1); } } }//package EmmaWatson_fla
Section 67
//hhhvxcvcopy_230 (EmmaWatson_fla.hhhvxcvcopy_230) package EmmaWatson_fla { import flash.display.*; public dynamic class hhhvxcvcopy_230 extends MovieClip { public function hhhvxcvcopy_230(){ addFrameScript(0, frame1, 7, frame8); } function frame1(){ stop(); } function frame8(){ gotoAndStop(1); } } }//package EmmaWatson_fla
Section 68
//hjmkvzxcvzx_228 (EmmaWatson_fla.hjmkvzxcvzx_228) package EmmaWatson_fla { import flash.display.*; public dynamic class hjmkvzxcvzx_228 extends MovieClip { public function hjmkvzxcvzx_228(){ addFrameScript(0, frame1, 6, frame7); } function frame7(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 69
//hkgh_193 (EmmaWatson_fla.hkgh_193) package EmmaWatson_fla { import flash.display.*; public dynamic class hkgh_193 extends MovieClip { public var inner:MovieClip; } }//package EmmaWatson_fla
Section 70
//hujkgh_192 (EmmaWatson_fla.hujkgh_192) package EmmaWatson_fla { import flash.display.*; public dynamic class hujkgh_192 extends MovieClip { public var outter:MovieClip; } }//package EmmaWatson_fla
Section 71
//MainTimeline (EmmaWatson_fla.MainTimeline) package EmmaWatson_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import gs.*; import flash.filters.*; import flash.text.*; import gs.easing.*; import flash.media.*; import flash.utils.*; import flash.ui.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var Cur; public var prev:int; public var toolName; public var Prev; public var nextBtn:SimpleButton; public var j:int; public var k:int; public var i:int; public var screen:MovieClip; public var preloader:MovieClip; public var ds:MovieClip; public var resetBtn:SimpleButton; public var contestMenu:ContextMenu; public var percentage:Number; public var logo_mc:SimpleButton; public var sound_mc:MovieClip; public var moreBtn:SimpleButton; public var BitsLoaded:TextField; public var againBtn:SimpleButton; public var ent:MovieClip; public var buttonMsk:MovieClip; public var kiba_mc:MovieClip; public var Objects:Array; public var bullet:backscore; public var objMsk:MovieClip; public var objects:MovieClip; public var Names:Array; public var brush:MovieClip; public var site:MovieClip; public var frontDesign:MovieClip; public var doll:MovieClip; public var Buttons:Array; public var partOfdoll; public var doneBtn:SimpleButton; public var buttons:MovieClip; public var animation:MovieClip; public var bulletChannel:SoundChannel; public var contextmenuItem:ContextMenuItem; public var ball:MovieClip; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } public function againFun(_arg1:MouseEvent):void{ gotoAndStop(2); } public function but_mod(_arg1:MouseEvent):void{ _arg1.currentTarget.buttonMode = true; } function frame2(){ stop(); if (bulletChannel){ bulletChannel.stop(); }; frontDesign.playBtn.addEventListener(MouseEvent.CLICK, gamePage); } function frame4(){ stop(); ds.scaleX = (ds.scaleY = 0); TweenLite.to(ds, 0.8, {scaleX:1, scaleY:1}); ds.oo.text = Var.txt; againBtn.addEventListener(MouseEvent.MOUSE_DOWN, againFun); moreBtn.addEventListener(MouseEvent.MOUSE_DOWN, moreFun); } function frame3(){ MochiBot.track(this, "9b482345"); stop(); Buttons = new Array(); Objects = new Array(); Names = new Array("dress", "chain", "lip", "hair", "rouge", "eyeshade", "eyelens", "mascara", "face", "extra"); TweenLite.to(frontDesign, 2, {x:(-(frontDesign.width) / 2), ease:Sine.easeOut}); init(); bullet = new backscore(); bulletChannel = bullet.play(0, int.MAX_VALUE); sound_mc.addEventListener(MouseEvent.MOUSE_DOWN, soundFun); sound_mc.buttonMode = true; resetBtn.addEventListener(MouseEvent.MOUSE_DOWN, resetFun); doneBtn.addEventListener(MouseEvent.MOUSE_DOWN, doneFun); if (loaderInfo.url.match("123peppy")){ logo_mc.visible = false; } else { logo_mc.addEventListener(MouseEvent.CLICK, link1); }; } public function toolClk(_arg1:MouseEvent):void{ var _local2:*; if (partOfdoll.name != "mascara"){ if (HitTest.complexHitTestObject(brush.hit, partOfdoll)){ _local2 = animation.getChildByName(partOfdoll.name); _local2.gotoAndPlay(2); partOfdoll.alpha = (partOfdoll.alpha + 0.3); }; } else { if (HitTest.complexHitTestObject(brush.hit, doll.eyeshade)){ partOfdoll.alpha = (partOfdoll.alpha + 0.3); }; }; } function frame1(){ stop(); contestMenu = new ContextMenu(); contestMenu.hideBuiltInItems(); contextmenuItem = new ContextMenuItem("www.123peppy.com"); contextmenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Site); contestMenu.customItems.push(contextmenuItem); this.contextMenu = contestMenu; percentage = 0; stage.addEventListener(Event.ENTER_FRAME, BeeMoving); site.buttonMode = true; site.addEventListener(MouseEvent.CLICK, sitefun); } public function doneFun(_arg1:MouseEvent):void{ var nextPage:Function; var e = _arg1; nextPage = function ():void{ nextFrame(); }; doneBtn.removeEventListener(MouseEvent.MOUSE_DOWN, doneFun); resetBtn.removeEventListener(MouseEvent.MOUSE_DOWN, resetFun); brush.Active = false; Mouse.show(); objMsk.visible = true; objects.mask = objMsk; TweenLite.to(objects, 0.7, {x:((objMsk.x + (objMsk.width / 2)) + (objects.width / 2)), y:objMsk.y}); TweenLite.to(buttons, 0.7, {x:((buttonMsk.x + (buttonMsk.width / 2)) + (buttons.width / 2)), onComplete:nextPage}); } public function palleteFun(_arg1:MouseEvent):void{ var _local2:*; var _local3:*; _local2 = _arg1.currentTarget; switch (_local2.str){ case "dress": case "chain": case "eyelens": case "face": partOfdoll = doll.getChildByName(_local2.str); partOfdoll.gotoAndStop(_local2.name.substr(1)); break; case "lip": case "eyeshade": case "rouge": case "mascara": brush.Active = true; j = 0; while (j < brush.numChildren) { _local3 = brush.getChildAt(j); _local3.visible = false; j++; }; toolName = brush.getChildByName(_local2.str); toolName.visible = true; if (toolName.name != "mascara"){ toolName.tips.gotoAndStop(_local2.name.substr(1)); }; partOfdoll = doll.getChildByName(_local2.str); partOfdoll.alpha = 0; partOfdoll.gotoAndStop(_local2.name.substr(1)); stage.addEventListener(MouseEvent.MOUSE_MOVE, toolMove); stage.addEventListener(MouseEvent.MOUSE_DOWN, toolClk); break; case "hair": animation.hair.gotoAndPlay(2); doll.hair.Frame = _local2.name.substr(1); stage.addEventListener(Event.ENTER_FRAME, hairAnimation); break; case "extra": trace(_local2.Pstr.substr(0, 5)); if (_local2.Pstr.substr(0, 5) == "extra"){ trace("ind"); partOfdoll = doll.getChildByName(_local2.Pstr); partOfdoll.gotoAndStop(_local2.name.substr(1)); } else { screen.outter.inner.gotoAndStop(_local2.name.substr(1)); }; break; }; } public function makeFun(_arg1:MouseEvent):void{ var startAni:Function; var e = _arg1; startAni = function (){ var _local1:*; var _local2:*; TweenLite.to(buttons, 0.8, {x:buttonMsk.x, y:buttonMsk.y}); trace(buttons.x); i = 0; while (i < buttons.numChildren) { Buttons[i] = buttons.getChildByName(Names[i]); trace(("button Names :" + Buttons[i].name)); Buttons[i].no = i; Buttons[i].buttonMode = true; Buttons[i].addEventListener(MouseEvent.MOUSE_DOWN, butClk); Buttons[i].addEventListener(MouseEvent.MOUSE_OUT, Var.Out); Buttons[i].addEventListener(MouseEvent.MOUSE_OVER, Var.Over); Objects[i] = objects.getChildByName(Names[i]); trace(("pallete Names :" + Objects[i].name)); j = 0; while (j < Objects[i].btn.numChildren) { _local1 = Objects[i].btn.getChildAt(j); if (Objects[i].name != "extra"){ _local1.str = Names[i]; _local1.buttonMode = true; _local1.addEventListener(MouseEvent.MOUSE_DOWN, palleteFun); } else { if (Objects[i].name == "extra"){ k = 0; while (k < _local1.numChildren) { _local2 = _local1.getChildAt(k); _local2.str = Names[i]; _local2.Pstr = _local1.name; _local2.buttonMode = true; _local2.addEventListener(MouseEvent.MOUSE_DOWN, palleteFun); k++; }; }; }; j++; }; Objects[i].visible = false; i++; }; }; TweenLite.to(ent, 0.5, {y:580}); TweenLite.to(doll, 0.8, {y:doll.Y, onComplete:startAni}); nextBtn.visible = false; resetBtn.visible = true; doneBtn.visible = true; nextBtn.removeEventListener(MouseEvent.MOUSE_DOWN, makeFun); this.removeEventListener(Event.ENTER_FRAME, namesFun); Var.txt = ent.ii.text; } public function sitefun(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.123peppy.com"); navigateToURL(_local2, "_blank"); } public function butClk(_arg1:MouseEvent):void{ var shows:Function; var e = _arg1; shows = function ():void{ if (Prev){ Objects[Prev.no].visible = false; }; Objects[Cur.no].visible = true; objects.x = ((objMsk.x - (objMsk.width / 2)) - (objects.width / 2)); TweenLite.to(objects, 0.4, {x:objMsk.x, y:objMsk.y}); Prev = Cur; }; Cur = e.currentTarget; if (!Prev){ shows(); } else { brush.Active = false; Mouse.show(); objMsk.visible = true; objects.mask = objMsk; TweenLite.to(objects, 0.4, {x:((objMsk.x + (objMsk.width / 2)) + (objects.width / 2)), y:objMsk.y, onComplete:shows}); }; } public function init(){ brush.Active = false; doll.hair.Frame = doll.hair.currentFrame; objects.mask = objMsk; buttons.mask = buttonMsk; objects.y = objMsk.y; objects.x = ((objMsk.x - (objMsk.width / 2)) - (objects.width / 2)); resetBtn.visible = false; doneBtn.visible = false; ent.ii.text = ""; ent.ii.text = ""; ent.ii.restrict = "A-Z0-9"; prev = -1; doll.Y = doll.y; doll.y = (doll.Y + doll.height); screen.outter.inner.stop(); this.addEventListener(Event.ENTER_FRAME, namesFun); nextBtn.addEventListener(MouseEvent.MOUSE_DOWN, makeFun); } public function namesFun(_arg1:Event):void{ if (ent.ii.text != ""){ nextBtn.visible = true; } else { nextBtn.visible = false; }; } public function BeeMoving(_arg1:Event):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = (mouseX - ball.x); _local3 = (mouseY - ball.y); ball.x = (ball.x + (_local2 * 0.2)); ball.y = (ball.y + (_local3 * 0.2)); _local4 = loaderInfo.bytesLoaded; _local5 = loaderInfo.bytesTotal; percentage = Math.round(((_local4 / _local5) * 100)); BitsLoaded.text = (((Math.round((_local4 / 0x0400)) + "kBs /") + Math.round((_local5 / 0x0400))) + "kBs"); if (_local4 == _local5){ stage.removeEventListener(Event.ENTER_FRAME, BeeMoving); if (this.loaderInfo.parameters.bg){ gotoAndStop(4); } else { gotoAndStop(2); }; }; } public function Site(_arg1:Event):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.123peppy.com"); navigateToURL(_local2, "_blank"); } public function link1(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.123peppy.com"); navigateToURL(_local2, "_blank"); } public function toolMove(_arg1:MouseEvent):void{ if (brush.Active){ Mouse.hide(); brush.x = mouseX; brush.y = mouseY; objects.mask = null; objMsk.visible = false; buttons.mask = null; buttonMsk.visible = false; if (((((((((((HitTest.complexHitTestObject(brush.hit, objects)) || (HitTest.complexHitTestObject(brush.hit, buttons)))) || (HitTest.complexHitTestObject(brush, nextBtn)))) || (HitTest.complexHitTestObject(brush, resetBtn)))) || (HitTest.complexHitTestObject(brush, logo_mc)))) || (HitTest.complexHitTestObject(brush, sound_mc)))){ Mouse.show(); brush.x = 1500; }; } else { Mouse.show(); objMsk.visible = true; objects.mask = objMsk; buttonMsk.visible = true; buttons.mask = buttonMsk; stage.removeEventListener(MouseEvent.MOUSE_MOVE, toolMove); stage.removeEventListener(MouseEvent.MOUSE_DOWN, toolClk); }; } public function gamePage(_arg1:MouseEvent):void{ nextFrame(); } public function resetFun(_arg1:MouseEvent):void{ var _local2:*; brush.Active = false; Mouse.show(); objMsk.visible = true; objects.mask = objMsk; i = 0; while (i < doll.numChildren) { _local2 = doll.getChildAt(i); _local2.gotoAndStop(1); i++; }; screen.outter.inner.gotoAndStop(1); } public function hairAnimation(_arg1:Event):void{ if (animation.hair.currentFrame == animation.hair.totalFrames){ doll.hair.gotoAndStop(doll.hair.Frame); stage.removeEventListener(Event.ENTER_FRAME, hairAnimation); }; } public function moreFun(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.123peppy.com"); navigateToURL(_local2, "_blank"); } public function soundFun(_arg1:MouseEvent):void{ if (sound_mc.currentLabel == "off"){ sound_mc.gotoAndStop("on"); bulletChannel = bullet.play(0, int.MAX_VALUE); } else { if (sound_mc.currentLabel == "on"){ sound_mc.gotoAndStop("off"); if (bulletChannel){ bulletChannel.stop(); }; }; }; } } }//package EmmaWatson_fla
Section 72
//mascarav_95 (EmmaWatson_fla.mascarav_95) package EmmaWatson_fla { import flash.display.*; public dynamic class mascarav_95 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 73
//nhg_267 (EmmaWatson_fla.nhg_267) package EmmaWatson_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class nhg_267 extends MovieClip { public function nhg_267(){ addFrameScript(0, frame1); } function frame1(){ buttonMode = true; addEventListener(MouseEvent.CLICK, Links); } public function Links(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.girlgames4u.com"); navigateToURL(_local2, "_blank"); } } }//package EmmaWatson_fla
Section 74
//Objects_67 (EmmaWatson_fla.Objects_67) package EmmaWatson_fla { import flash.display.*; public dynamic class Objects_67 extends MovieClip { public var mascara:MovieClip; public var extra:MovieClip; public var dress:MovieClip; public var face:MovieClip; public var lip:MovieClip; public var eyelens:MovieClip; public var rouge:MovieClip; public var eyeshade:MovieClip; public var chain:MovieClip; public var hair:MovieClip; } }//package EmmaWatson_fla
Section 75
//othermclogo123_257 (EmmaWatson_fla.othermclogo123_257) package EmmaWatson_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class othermclogo123_257 extends MovieClip { public function othermclogo123_257(){ addFrameScript(0, frame1); } function frame1(){ buttonMode = true; addEventListener(MouseEvent.CLICK, Links); } public function Links(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.kibagames.com"); navigateToURL(_local2, "_blank"); } } }//package EmmaWatson_fla
Section 76
//othermcSymbol1_258 (EmmaWatson_fla.othermcSymbol1_258) package EmmaWatson_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class othermcSymbol1_258 extends MovieClip { public function othermcSymbol1_258(){ addFrameScript(0, frame1); } function frame1(){ buttonMode = true; addEventListener(MouseEvent.CLICK, Links); } public function Links(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.didigames.com"); navigateToURL(_local2, "_blank"); } } }//package EmmaWatson_fla
Section 77
//peppydfgfsds_19 (EmmaWatson_fla.peppydfgfsds_19) package EmmaWatson_fla { import flash.display.*; public dynamic class peppydfgfsds_19 extends MovieClip { public function peppydfgfsds_19(){ addFrameScript(46, frame47); } function frame47(){ stop(); } } }//package EmmaWatson_fla
Section 78
//sissorvcvc_231 (EmmaWatson_fla.sissorvcvc_231) package EmmaWatson_fla { import flash.display.*; public dynamic class sissorvcvc_231 extends MovieClip { public function sissorvcvc_231(){ addFrameScript(0, frame1, 12, frame13); } function frame1(){ stop(); } function frame13(){ stop(); } } }//package EmmaWatson_fla
Section 79
//soundon_249 (EmmaWatson_fla.soundon_249) package EmmaWatson_fla { import flash.display.*; public dynamic class soundon_249 extends MovieClip { public function soundon_249(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 80
//Symbol10_134 (EmmaWatson_fla.Symbol10_134) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol10_134 extends MovieClip { public var s2:MovieClip; } }//package EmmaWatson_fla
Section 81
//Symbol10copy_138 (EmmaWatson_fla.Symbol10copy_138) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol10copy_138 extends MovieClip { public var s2:MovieClip; } }//package EmmaWatson_fla
Section 82
//Symbol10copy2_109 (EmmaWatson_fla.Symbol10copy2_109) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol10copy2_109 extends MovieClip { public var s2:MovieClip; } }//package EmmaWatson_fla
Section 83
//Symbol10copy3_155 (EmmaWatson_fla.Symbol10copy3_155) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol10copy3_155 extends MovieClip { public var s2:MovieClip; } }//package EmmaWatson_fla
Section 84
//Symbol10copy4_145 (EmmaWatson_fla.Symbol10copy4_145) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol10copy4_145 extends MovieClip { public var s2:MovieClip; } }//package EmmaWatson_fla
Section 85
//Symbol10copy5_124 (EmmaWatson_fla.Symbol10copy5_124) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol10copy5_124 extends MovieClip { public var s2:MovieClip; } }//package EmmaWatson_fla
Section 86
//Symbol11_135 (EmmaWatson_fla.Symbol11_135) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol11_135 extends MovieClip { public var s3:MovieClip; } }//package EmmaWatson_fla
Section 87
//Symbol11copy_111 (EmmaWatson_fla.Symbol11copy_111) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol11copy_111 extends MovieClip { public var s3:MovieClip; } }//package EmmaWatson_fla
Section 88
//Symbol11copy2_156 (EmmaWatson_fla.Symbol11copy2_156) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol11copy2_156 extends MovieClip { public var s3:MovieClip; } }//package EmmaWatson_fla
Section 89
//Symbol11copy3_146 (EmmaWatson_fla.Symbol11copy3_146) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol11copy3_146 extends MovieClip { public var s3:MovieClip; } }//package EmmaWatson_fla
Section 90
//Symbol11copy4_125 (EmmaWatson_fla.Symbol11copy4_125) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol11copy4_125 extends MovieClip { public var s3:MovieClip; } }//package EmmaWatson_fla
Section 91
//Symbol12_136 (EmmaWatson_fla.Symbol12_136) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol12_136 extends MovieClip { public var s4:MovieClip; } }//package EmmaWatson_fla
Section 92
//Symbol12copy_113 (EmmaWatson_fla.Symbol12copy_113) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol12copy_113 extends MovieClip { public var s4:MovieClip; } }//package EmmaWatson_fla
Section 93
//Symbol12copy2_157 (EmmaWatson_fla.Symbol12copy2_157) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol12copy2_157 extends MovieClip { public var s4:MovieClip; } }//package EmmaWatson_fla
Section 94
//Symbol12copy3_147 (EmmaWatson_fla.Symbol12copy3_147) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol12copy3_147 extends MovieClip { public var s4:MovieClip; } }//package EmmaWatson_fla
Section 95
//Symbol12copy4_126 (EmmaWatson_fla.Symbol12copy4_126) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol12copy4_126 extends MovieClip { public var s4:MovieClip; } }//package EmmaWatson_fla
Section 96
//Symbol13_137 (EmmaWatson_fla.Symbol13_137) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol13_137 extends MovieClip { public var s1:MovieClip; } }//package EmmaWatson_fla
Section 97
//Symbol13copy_115 (EmmaWatson_fla.Symbol13copy_115) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol13copy_115 extends MovieClip { public var s1:MovieClip; } }//package EmmaWatson_fla
Section 98
//Symbol13copy2_158 (EmmaWatson_fla.Symbol13copy2_158) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol13copy2_158 extends MovieClip { public var s1:MovieClip; } }//package EmmaWatson_fla
Section 99
//Symbol13copy3_148 (EmmaWatson_fla.Symbol13copy3_148) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol13copy3_148 extends MovieClip { public var s1:MovieClip; } }//package EmmaWatson_fla
Section 100
//Symbol13copy4_127 (EmmaWatson_fla.Symbol13copy4_127) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol13copy4_127 extends MovieClip { public var s1:MovieClip; } }//package EmmaWatson_fla
Section 101
//Symbol1copy_22 (EmmaWatson_fla.Symbol1copy_22) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol1copy_22 extends MovieClip { public var playBtn:SimpleButton; } }//package EmmaWatson_fla
Section 102
//Symbol1copy2bcvb_253 (EmmaWatson_fla.Symbol1copy2bcvb_253) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol1copy2bcvb_253 extends MovieClip { public function Symbol1copy2bcvb_253(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50))); } function frame25(){ gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50))); } } }//package EmmaWatson_fla
Section 103
//Symbol1copy3bcvbcb_254 (EmmaWatson_fla.Symbol1copy3bcvbcb_254) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol1copy3bcvbcb_254 extends MovieClip { public function Symbol1copy3bcvbcb_254(){ addFrameScript(0, frame1, 25, frame26); } function frame1(){ gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50))); } function frame26(){ gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50))); } } }//package EmmaWatson_fla
Section 104
//Symbol1copybvcb_252 (EmmaWatson_fla.Symbol1copybvcb_252) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol1copybvcb_252 extends MovieClip { public function Symbol1copybvcb_252(){ addFrameScript(0, frame1, 34, frame35); } function frame1(){ gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50))); } function frame35(){ gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50))); } } }//package EmmaWatson_fla
Section 105
//Symbol1xcvzxcv_251 (EmmaWatson_fla.Symbol1xcvzxcv_251) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol1xcvzxcv_251 extends MovieClip { public function Symbol1xcvzxcv_251(){ addFrameScript(0, frame1, 26, frame27); } function frame1(){ gotoAndPlay(Math.round(((Math.random() * Math.random()) * 50))); } function frame27(){ gotoAndPlay(Math.round((((Math.random() * Math.random()) * Math.random()) * 20))); } } }//package EmmaWatson_fla
Section 106
//Symbol29_75 (EmmaWatson_fla.Symbol29_75) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol29_75 extends MovieClip { public var f4:MovieClip; public var f1:MovieClip; public var f5:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 107
//Symbol30_88 (EmmaWatson_fla.Symbol30_88) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol30_88 extends MovieClip { public var f4:MovieClip; public var f1:MovieClip; public var f5:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 108
//Symbol31_94 (EmmaWatson_fla.Symbol31_94) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol31_94 extends MovieClip { public var f1:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 109
//Symbol32_99 (EmmaWatson_fla.Symbol32_99) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol32_99 extends MovieClip { public var f1:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 110
//Symbol33_105 (EmmaWatson_fla.Symbol33_105) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol33_105 extends MovieClip { public var f6:MovieClip; public var f4:MovieClip; public var f1:MovieClip; public var f5:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 111
//Symbol34_132 (EmmaWatson_fla.Symbol34_132) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol34_132 extends MovieClip { public var f6:MovieClip; public var f4:MovieClip; public var f1:MovieClip; public var f5:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 112
//Symbol35_143 (EmmaWatson_fla.Symbol35_143) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol35_143 extends MovieClip { public var f6:MovieClip; public var f4:MovieClip; public var f1:MovieClip; public var f5:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 113
//Symbol37_173 (EmmaWatson_fla.Symbol37_173) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol37_173 extends MovieClip { public var f1:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 114
//Symbol38_175 (EmmaWatson_fla.Symbol38_175) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol38_175 extends MovieClip { public var f4:MovieClip; public var f1:MovieClip; public var f5:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 115
//Symbol39_176 (EmmaWatson_fla.Symbol39_176) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol39_176 extends MovieClip { public var f1:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 116
//Symbol4_89 (EmmaWatson_fla.Symbol4_89) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol4_89 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 117
//Symbol40_177 (EmmaWatson_fla.Symbol40_177) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol40_177 extends MovieClip { public var f1:MovieClip; public var f3:MovieClip; public var f2:MovieClip; } }//package EmmaWatson_fla
Section 118
//Symbol41_172 (EmmaWatson_fla.Symbol41_172) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol41_172 extends MovieClip { public var extra2:MovieClip; public var extra3:MovieClip; public var extra1:MovieClip; public var bg:MovieClip; } }//package EmmaWatson_fla
Section 119
//Symbol42_248 (EmmaWatson_fla.Symbol42_248) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol42_248 extends MovieClip { public var sndon:MovieClip; public var sndoff:MovieClip; public function Symbol42_248(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 120
//Symbol43_283 (EmmaWatson_fla.Symbol43_283) package EmmaWatson_fla { import flash.display.*; import flash.text.*; public dynamic class Symbol43_283 extends MovieClip { public var oo:TextField; } }//package EmmaWatson_fla
Section 121
//Symbol5_128 (EmmaWatson_fla.Symbol5_128) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol5_128 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 122
//Symbol58tool_239 (EmmaWatson_fla.Symbol58tool_239) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol58tool_239 extends MovieClip { public var tips:MovieClip; } }//package EmmaWatson_fla
Section 123
//Symbol6_139 (EmmaWatson_fla.Symbol6_139) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol6_139 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 124
//Symbol64star_227 (EmmaWatson_fla.Symbol64star_227) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol64star_227 extends MovieClip { public var lip:MovieClip; public var rouge:MovieClip; public var eyeshade:MovieClip; public var hair:MovieClip; } }//package EmmaWatson_fla
Section 125
//Symbol7_159 (EmmaWatson_fla.Symbol7_159) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol7_159 extends MovieClip { public var btn:MovieClip; } }//package EmmaWatson_fla
Section 126
//Symbol83_234 (EmmaWatson_fla.Symbol83_234) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol83_234 extends MovieClip { public var tips:MovieClip; } }//package EmmaWatson_fla
Section 127
//Symbol84_237 (EmmaWatson_fla.Symbol84_237) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol84_237 extends MovieClip { public var tips:MovieClip; } }//package EmmaWatson_fla
Section 128
//Symbol85_238 (EmmaWatson_fla.Symbol85_238) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol85_238 extends MovieClip { public function Symbol85_238(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package EmmaWatson_fla
Section 129
//Symbol86_233 (EmmaWatson_fla.Symbol86_233) package EmmaWatson_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.filters.*; import flash.text.*; import flash.media.*; import flash.utils.*; import flash.ui.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class Symbol86_233 extends MovieClip { public var mascara:MovieClip; public var i:int; public var lip:MovieClip; public var mc; public var hit:MovieClip; public var rouge:MovieClip; public var eyeshade:MovieClip; public function Symbol86_233(){ addFrameScript(0, frame1); } function frame1(){ i = 0; while (i < numChildren) { mc = getChildAt(i); mc.visible = false; i++; }; } } }//package EmmaWatson_fla
Section 130
//Symbol9_133 (EmmaWatson_fla.Symbol9_133) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol9_133 extends MovieClip { public var s5:MovieClip; } }//package EmmaWatson_fla
Section 131
//Symbol9copy_117 (EmmaWatson_fla.Symbol9copy_117) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol9copy_117 extends MovieClip { public var s5:MovieClip; } }//package EmmaWatson_fla
Section 132
//Symbol9copy2_106 (EmmaWatson_fla.Symbol9copy2_106) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol9copy2_106 extends MovieClip { public var s5:MovieClip; } }//package EmmaWatson_fla
Section 133
//Symbol9copy3_154 (EmmaWatson_fla.Symbol9copy3_154) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol9copy3_154 extends MovieClip { public var s5:MovieClip; } }//package EmmaWatson_fla
Section 134
//Symbol9copy4_144 (EmmaWatson_fla.Symbol9copy4_144) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol9copy4_144 extends MovieClip { public var s5:MovieClip; } }//package EmmaWatson_fla
Section 135
//Symbol9copy5_123 (EmmaWatson_fla.Symbol9copy5_123) package EmmaWatson_fla { import flash.display.*; public dynamic class Symbol9copy5_123 extends MovieClip { public var s5:MovieClip; } }//package EmmaWatson_fla
Section 136
//Timeline_235 (EmmaWatson_fla.Timeline_235) package EmmaWatson_fla { import flash.display.*; public dynamic class Timeline_235 extends MovieClip { public function Timeline_235(){ addFrameScript(1, frame2); } function frame2(){ stop(); } } }//package EmmaWatson_fla
Section 137
//Timeline_236 (EmmaWatson_fla.Timeline_236) package EmmaWatson_fla { import flash.display.*; public dynamic class Timeline_236 extends MovieClip { public function Timeline_236(){ addFrameScript(0, frame1); } function frame1(){ gotoAndPlay(Math.round((Math.random() * 10))); } } }//package EmmaWatson_fla
Section 138
//Timeline_273 (EmmaWatson_fla.Timeline_273) package EmmaWatson_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_273 extends MovieClip { public var oo:TextField; } }//package EmmaWatson_fla
Section 139
//YHKHGVK_207 (EmmaWatson_fla.YHKHGVK_207) package EmmaWatson_fla { import flash.display.*; import flash.text.*; public dynamic class YHKHGVK_207 extends MovieClip { public var ii:TextField; } }//package EmmaWatson_fla
Section 140
//Sine (gs.easing.Sine) package gs.easing { public class Sine { private static const _HALF_PI:Number = 1.5707963267949; public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * _HALF_PI))) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * _HALF_PI))) + _arg3) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } } }//package gs.easing
Section 141
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin) package gs.plugins { import flash.display.*; import gs.*; public class AutoAlphaPlugin extends TweenPlugin { protected var _tweenVisible:Boolean; protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function AutoAlphaPlugin(){ this.propName = "autoAlpha"; this.overwriteProps = ["alpha", "visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); if (((!((_target.visible == true))) && (_tweenVisible))){ _target.visible = true; }; } public function onCompleteTween():void{ if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _tween = _arg3; _visible = Boolean(!((_arg2 == 0))); _tweenVisible = true; addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha"); return (true); } override public function killProps(_arg1:Object):void{ super.killProps(_arg1); _tweenVisible = !(Boolean(("visible" in _arg1))); } } }//package gs.plugins
Section 142
//EndArrayPlugin (gs.plugins.EndArrayPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class EndArrayPlugin extends TweenPlugin { protected var _info:Array; protected var _a:Array; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function EndArrayPlugin(){ _info = []; super(); this.propName = "endArray"; this.overwriteProps = ["endArray"]; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:ArrayTweenInfo; var _local4:Number; var _local5:int; if (this.round){ _local2 = (_info.length - 1); while (_local2 > -1) { _local3 = _info[_local2]; _local4 = (_local3.start + (_local3.change * _arg1)); _local5 = ((_local4)<0) ? -1 : 1; _a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4); _local2--; }; } else { _local2 = (_info.length - 1); while (_local2 > -1) { _local3 = _info[_local2]; _a[_local3.index] = (_local3.start + (_local3.change * _arg1)); _local2--; }; }; } public function init(_arg1:Array, _arg2:Array):void{ var _local3:int; _a = _arg1; _local3 = (_arg2.length - 1); while (_local3 > -1) { if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){ _info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3])); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (false); }; init((_arg1 as Array), _arg2); return (true); } } }//package gs.plugins
Section 143
//FramePlugin (gs.plugins.FramePlugin) package gs.plugins { import flash.display.*; import gs.*; public class FramePlugin extends TweenPlugin { public var frame:int; protected var _target:MovieClip; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function FramePlugin(){ this.propName = "frame"; this.overwriteProps = ["frame"]; this.round = true; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.gotoAndStop(this.frame); } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){ return (false); }; _target = (_arg1 as MovieClip); this.frame = _target.currentFrame; addTween(this, "frame", this.frame, _arg2, "frame"); return (true); } } }//package gs.plugins
Section 144
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin) package gs.plugins { public class RemoveTintPlugin extends TintPlugin { public static const VERSION:Number = 1.01; public static const API:Number = 1; public function RemoveTintPlugin(){ this.propName = "removeTint"; } } }//package gs.plugins
Section 145
//TintPlugin (gs.plugins.TintPlugin) package gs.plugins { import flash.display.*; import flash.geom.*; import gs.*; import gs.utils.tween.*; public class TintPlugin extends TweenPlugin { protected var _ct:ColorTransform; protected var _ignoreAlpha:Boolean; protected var _target:DisplayObject; public static const VERSION:Number = 1.1; public static const API:Number = 1; protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"]; public function TintPlugin(){ this.propName = "tint"; this.overwriteProps = ["tint"]; } override public function set changeFactor(_arg1:Number):void{ var _local2:ColorTransform; updateTweens(_arg1); if (_ignoreAlpha){ _local2 = _target.transform.colorTransform; _ct.alphaMultiplier = _local2.alphaMultiplier; _ct.alphaOffset = _local2.alphaOffset; }; _target.transform.colorTransform = _ct; } public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{ var _local3:int; var _local4:String; _target = _arg1; _ct = _target.transform.colorTransform; _local3 = (_props.length - 1); while (_local3 > -1) { _local4 = _props[_local3]; if (_ct[_local4] != _arg2[_local4]){ _tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:ColorTransform; if (!(_arg1 is DisplayObject)){ return (false); }; _local4 = new ColorTransform(); if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){ _local4.color = uint(_arg2); }; _ignoreAlpha = true; init((_arg1 as DisplayObject), _local4); return (true); } } }//package gs.plugins
Section 146
//TweenPlugin (gs.plugins.TweenPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class TweenPlugin { public var overwriteProps:Array; protected var _tweens:Array; public var round:Boolean; public var onComplete:Function; public var propName:String; protected var _changeFactor:Number;// = 0 public static const VERSION:Number = 1.03; public static const API:Number = 1; public function TweenPlugin(){ _tweens = []; _changeFactor = 0; super(); } protected function updateTweens(_arg1:Number):void{ var _local2:int; var _local3:TweenInfo; var _local4:Number; var _local5:int; if (this.round){ _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local4 = (_local3.start + (_local3.change * _arg1)); _local5 = ((_local4)<0) ? -1 : 1; _local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4); _local2--; }; } else { _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1)); _local2--; }; }; } public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _changeFactor = _arg1; } protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{ var _local6:Number; if (_arg4 != null){ _local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4); if (_local6 != 0){ _tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false); }; }; } public function killProps(_arg1:Object):void{ var _local2:int; _local2 = (this.overwriteProps.length - 1); while (_local2 > -1) { if ((this.overwriteProps[_local2] in _arg1)){ this.overwriteProps.splice(_local2, 1); }; _local2--; }; _local2 = (_tweens.length - 1); while (_local2 > -1) { if ((_tweens[_local2].name in _arg1)){ _tweens.splice(_local2, 1); }; _local2--; }; } public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName); return (true); } public function get changeFactor():Number{ return (_changeFactor); } public static function activate(_arg1:Array):Boolean{ var _local2:int; var _local3:Object; _local2 = (_arg1.length - 1); while (_local2 > -1) { _local3 = new (_arg1[_local2]); TweenLite.plugins[_local3.propName] = _arg1[_local2]; _local2--; }; return (true); } } }//package gs.plugins
Section 147
//VisiblePlugin (gs.plugins.VisiblePlugin) package gs.plugins { import flash.display.*; import gs.*; public class VisiblePlugin extends TweenPlugin { protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function VisiblePlugin(){ this.propName = "visible"; this.overwriteProps = ["visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor(_arg1:Number):void{ if (_target.visible != true){ _target.visible = true; }; } public function onCompleteTween():void{ if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _tween = _arg3; _visible = Boolean(_arg2); return (true); } } }//package gs.plugins
Section 148
//VolumePlugin (gs.plugins.VolumePlugin) package gs.plugins { import flash.display.*; import gs.*; import flash.media.*; public class VolumePlugin extends TweenPlugin { protected var _st:SoundTransform; protected var _target:Object; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function VolumePlugin(){ this.propName = "volume"; this.overwriteProps = ["volume"]; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.soundTransform = _st; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){ return (false); }; _target = _arg1; _st = _target.soundTransform; addTween(_st, "volume", _st.volume, _arg2, "volume"); return (true); } } }//package gs.plugins
Section 149
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo) package gs.utils.tween { public class ArrayTweenInfo { public var change:Number; public var index:uint; public var start:Number; public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){ this.index = _arg1; this.start = _arg2; this.change = _arg3; } } }//package gs.utils.tween
Section 150
//TweenInfo (gs.utils.tween.TweenInfo) package gs.utils.tween { public class TweenInfo { public var start:Number; public var name:String; public var change:Number; public var target:Object; public var property:String; public var isPlugin:Boolean; public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){ this.target = _arg1; this.property = _arg2; this.start = _arg3; this.change = _arg4; this.name = _arg5; this.isPlugin = _arg6; } } }//package gs.utils.tween
Section 151
//TweenLite (gs.TweenLite) package gs { import flash.display.*; import flash.events.*; import gs.utils.tween.*; import gs.plugins.*; import flash.utils.*; public class TweenLite { public var delay:Number; protected var _hasUpdate:Boolean; protected var _hasPlugins:Boolean; public var started:Boolean; public var initted:Boolean; public var active:Boolean; public var startTime:Number; public var target:Object; public var duration:Number; public var gc:Boolean; public var vars:Object; public var ease:Function; public var tweens:Array; public var exposedVars:Object; public var combinedTimeScale:Number; public var initTime:Number; public static const version:Number = 10.09; private static var _timer:Timer = new Timer(2000); public static var defaultEase:Function = TweenLite.easeOut; public static var plugins:Object = {}; public static var currentTime:uint; public static var masterList:Dictionary = new Dictionary(false); protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1}; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; public static var timingSprite:Sprite = new Sprite(); public static var overwriteManager:Object; private static var _tlInitted:Boolean; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ var _local4:int; super(); if (_arg1 == null){ return; }; if (!_tlInitted){ TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]); currentTime = getTimer(); timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _timer.addEventListener("timer", killGarbage, false, 0, true); _timer.start(); _tlInitted = true; }; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); this.combinedTimeScale = ((_arg3.timeScale) || (1)); this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0)))); this.target = _arg1; if (typeof(this.vars.ease) != "function"){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; this.ease = this.vars.ease; this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars; this.tweens = []; this.initTime = currentTime; this.startTime = (this.initTime + (this.delay * 1000)); _local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); if (((!((_arg1 in masterList))) || ((_local4 == 1)))){ masterList[_arg1] = [this]; } else { masterList[_arg1].push(this); }; if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){ initTweenVals(); if (this.active){ render((this.startTime + 1)); } else { render(this.startTime); }; if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){ this.target.visible = this.exposedVars.visible; }; }; } public function set enabled(_arg1:Boolean):void{ var _local2:Array; var _local3:Boolean; var _local4:int; if (_arg1){ if (!(this.target in masterList)){ masterList[this.target] = [this]; } else { _local2 = masterList[this.target]; _local4 = (_local2.length - 1); while (_local4 > -1) { if (_local2[_local4] == this){ _local3 = true; break; }; _local4--; }; if (!_local3){ _local2[_local2.length] = this; }; }; }; this.gc = (_arg1) ? false : true; if (this.gc){ this.active = false; } else { this.active = this.started; }; } public function clear():void{ this.tweens = []; this.vars = (this.exposedVars = {ease:this.vars.ease}); _hasUpdate = false; } public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:TweenInfo; var _local5:int; _local2 = ((_arg1 - this.startTime) * 0.001); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change)); _local5--; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } public function activate():void{ this.started = (this.active = true); if (!this.initted){ initTweenVals(); }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; } public function get enabled():Boolean{ return ((this.gc) ? false : true); } public function initTweenVals():void{ var _local1:String; var _local2:int; var _local3:*; var _local4:TweenInfo; if (((!((this.exposedVars.timeScale == undefined))) && ((this.target is TweenLite)))){ this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false); }; for (_local1 in this.exposedVars) { if ((_local1 in _reservedProps)){ } else { if ((_local1 in plugins)){ _local3 = new (plugins[_local1]); if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){ this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false); } else { this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true); _hasPlugins = true; }; } else { this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false); }; }; }; if (this.vars.runBackwards == true){ _local2 = (this.tweens.length - 1); while (_local2 > -1) { _local4 = this.tweens[_local2]; this.tweens[_local2].start = (_local4.start + _local4.change); _local4.change = -(_local4.change); _local2--; }; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){ overwriteManager.manageOverwrites(this, masterList[this.target]); }; this.initted = true; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function killVars(_arg1:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars(_arg1, this.exposedVars, this.tweens); }; } public function complete(_arg1:Boolean=false):void{ var _local2:int; if (!_arg1){ if (!this.initted){ initTweenVals(); }; this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale)); render(currentTime); return; }; if (_hasPlugins){ _local2 = (this.tweens.length - 1); while (_local2 > -1) { if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){ this.tweens[_local2].target.onComplete(); }; _local2--; }; }; if (this.vars.persist != true){ this.enabled = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function updateAll(_arg1:Event=null):void{ var _local2:uint; var _local3:Dictionary; var _local4:Array; var _local5:int; var _local6:TweenLite; _local2 = (currentTime = getTimer()); _local3 = masterList; for each (_local4 in _local3) { _local5 = (_local4.length - 1); while (_local5 > -1) { _local6 = _local4[_local5]; if (_local6.active){ _local6.render(_local2); } else { if (_local6.gc){ _local4.splice(_local5, 1); } else { if (_local2 >= _local6.startTime){ _local6.activate(); _local6.render(_local2); }; }; }; _local5--; }; }; } public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{ if (_arg1 != null){ if (_arg2){ _arg1.clear(); }; _arg1.enabled = false; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; var _local5:TweenLite; if (((!((_arg1 == null))) && ((_arg1 in masterList)))){ _local3 = masterList[_arg1]; _local4 = (_local3.length - 1); while (_local4 > -1) { _local5 = _local3[_local4]; if (((_arg2) && (!(_local5.gc)))){ _local5.complete(false); }; _local5.clear(); _local4--; }; delete masterList[_arg1]; }; } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } protected static function killGarbage(_arg1:TimerEvent):void{ var _local2:Dictionary; var _local3:Object; _local2 = masterList; for (_local3 in _local2) { if (_local2[_local3].length == 0){ delete _local2[_local3]; }; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 152
//backscore (backscore) package { import flash.media.*; public dynamic class backscore extends Sound { } }//package
Section 153
//FlashEff2 (FlashEff2) package { import flash.display.*; import flash.geom.*; import flash.events.*; import com.jumpeye.core.*; import flash.text.*; import com.jumpeye.flashEff2.core.interfaces.*; import com.jumpeye.flashEff2.text.*; import com.jumpeye.Events.*; 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 tepF:IFlashEffFilter; protected var tepS:FeTDefaultFade; protected var _initialTargetTransform:Transform; protected var isButtonEffectApplyed:Boolean;// = false private var _useSwapInsteadHide:Boolean;// = false 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; 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 bDBTO:Sprite; private var _buttonOwner:Sprite; protected var _partialTextOwnerClip:Sprite; protected var _buttonEffectName:String; protected var isDragOut:Boolean;// = false private var __xmlPath:String;// = "" private var _rollOutCommands:Array; 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 _isFree:Boolean;// = true private var _filterList:Array; protected var drawCalled:Boolean;// = false private var _absChars:Array; private var _pressCommands:Array; protected var hidePattern:IFlashEffSymbolText; private var _targetOwner:MovieClip; protected var tTS:Sprite; protected var bDBT:Sprite; protected var _textOwnerClip:Sprite; public static const SWAP_TYPE_SHOW = "show"; public static const SWAP_TYPE_HIDE_AND_SHOW = "hideAndShow"; public static const SWAP_TYPE_HIDE = "hide"; private static var targetPaths:Array; protected static var REMOVED_FROM_FLASHEFF:Boolean = false; 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 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 get drawAfterFilters():Boolean{ return (this._drawAfterFilters); } public function get swapTransitionName():String{ return (_swapTransitionName); } 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 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; } 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); } 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)); }; } 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 getFreePattern(_arg1:Object):void{ var _local2:String; var _local3:XML; var _local4:XMLList; var _local5:String; var _local6:Class; var _local7:*; var _local8:Number; var _local9:*; var _local10:XML; var _local11:String; if (_arg1 != null){ _local2 = "tweenType easeType tweenDuration target component"; _local3 = describeType(_arg1); _local4 = _local3.elements("accessor"); _local5 = String(_local3.@name); _local6 = (getDefinitionByName(_local5) as Class); _local7 = new (_local6); _local8 = _local4.length(); _local9 = 0; while (_local9 < _local8) { _local10 = _local4[_local9]; if (String(_local10.@declaredBy).substr(0, 21) == "com.jumpeye.flashEff2"){ if (_local10.@access == "readwrite"){ _local11 = _local10.@name; if (_local2.indexOf(_local11) == -1){ _arg1[_local11] = _local7[_local11]; }; }; }; _local9++; }; }; } public function get firstLevelOwner():Sprite{ return (this._firstLevelOwner); } 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 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); } public function set swapTargetVisibility(_arg1:Boolean):void{ __swapTargetVisibility = _arg1; if (this.swapTarget != null){ this.swapTarget.visible = _arg1; }; } 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); } protected function showCallerWeak(_arg1:TimerEvent):void{ this.show(false); } 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.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); } 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 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.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 set clearAfterHide(_arg1:Boolean):void{ _clearAfterHide = _arg1; } 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.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)); }; } 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 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 = []; }; 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; } 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 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._target.visible = true; this.resetChildDisplayList(this._target); }; if (arg != null){ if (arg.parent != null){ resetChildDisplayList(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 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:IFlashEffFilter; 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); }; }; for (_local2 in this.filterList) { _local4 = (this.filterList[_local2] as IFlashEffFilter); _local4.remove(); if (_isFree){ getFreePattern(_local4); }; _local4.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; if (_isFree == true){ this.getFreePattern(this[(transt + "Pattern")]); }; 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 (this._isFree == true){ this.getFreePattern(_arg1); }; 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 get targetVisibility():Boolean{ return (__targetVisibility); } 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 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 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 textOwnerClip():Sprite{ return (_textOwnerClip); } public function get partialPatternName():String{ return (__partialPattern); } public function get partialTextOwnerClip():Sprite{ return (_partialTextOwnerClip); } 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
Section 154
//HitTest (HitTest) package { import flash.display.*; import flash.geom.*; public class HitTest { protected static function getDrawMatrix(_arg1:DisplayObject, _arg2:Rectangle, _arg3:Number):Matrix{ var _local4:Point; var _local5:Matrix; var _local6:Matrix; _local6 = _arg1.root.transform.concatenatedMatrix; _local4 = _arg1.localToGlobal(new Point()); _local5 = _arg1.transform.concatenatedMatrix; _local5.tx = (_local4.x - _arg2.x); _local5.ty = (_local4.y - _arg2.y); _local5.a = (_local5.a / _local6.a); _local5.d = (_local5.d / _local6.d); if (_arg3 != 1){ _local5.scale(_arg3, _arg3); }; return (_local5); } public static function complexHitTestObject(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Boolean{ return (!((complexIntersectionRectangle(_arg1, _arg2, _arg3).width == 0))); } public static function complexIntersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Rectangle{ var _local4:Rectangle; var _local5:BitmapData; var _local6:Rectangle; if (_arg3 <= 0){ throw (new Error("ArgumentError: Error #5001: Invalid value for accurracy", 5001)); }; if (!_arg1.hitTestObject(_arg2)){ return (new Rectangle()); }; _local4 = intersectionRectangle(_arg1, _arg2); if (((((_local4.width * _arg3) < 1)) || (((_local4.height * _arg3) < 1)))){ return (new Rectangle()); }; _local5 = new BitmapData((_local4.width * _arg3), (_local4.height * _arg3), false, 0); _local5.draw(_arg1, HitTest.getDrawMatrix(_arg1, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, 0xFF)); _local5.draw(_arg2, HitTest.getDrawMatrix(_arg2, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0xFF), BlendMode.DIFFERENCE); _local6 = _local5.getColorBoundsRect(4294967295, 4278255615); _local5.dispose(); if (_arg3 != 1){ _local6.x = (_local6.x / _arg3); _local6.y = (_local6.y / _arg3); _local6.width = (_local6.width / _arg3); _local6.height = (_local6.height / _arg3); }; _local6.x = (_local6.x + _local4.x); _local6.y = (_local6.y + _local4.y); return (_local6); } public static function intersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject):Rectangle{ var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; if (((((!(_arg1.root)) || (!(_arg2.root)))) || (!(_arg1.hitTestObject(_arg2))))){ return (new Rectangle()); }; _local3 = _arg1.getBounds(_arg1.root); _local4 = _arg2.getBounds(_arg2.root); _local5 = new Rectangle(); _local5.x = Math.max(_local3.x, _local4.x); _local5.y = Math.max(_local3.y, _local4.y); _local5.width = Math.min(((_local3.x + _local3.width) - _local5.x), ((_local4.x + _local4.width) - _local5.x)); _local5.height = Math.min(((_local3.y + _local3.height) - _local5.y), ((_local4.y + _local4.height) - _local5.y)); return (_local5); } } }//package
Section 155
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 156
//Var (Var) package { import flash.events.*; import gs.*; public class Var { public static var txt:String = ""; public static function Over(_arg1:MouseEvent):void{ TweenLite.to(_arg1.currentTarget, 0.1, {scaleX:1.2, scaleY:1.2}); } public static function Out(_arg1:MouseEvent):void{ TweenLite.to(_arg1.currentTarget, 0.3, {scaleX:1, scaleY:1}); } } }//package

Library Items

Symbol 1 Sound {backscore}
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:4 5
Symbol 4 MovieClip {com.jumpeye.transitions.easing.StrongEase}Uses:3
Symbol 5 MovieClip {com.jumpeye.transitions.easing.QuadraticEase}Uses:3
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:13
Symbol 8 FontUsed by:9 10 11
Symbol 9 EditableTextUses:8Used by:13
Symbol 10 EditableTextUses:8Used by:13
Symbol 11 EditableTextUses:8Used by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip {FlashEff2}Uses:7 9 10 11 12
Symbol 14 GraphicUsed by:15 24 28
Symbol 15 MovieClipUses:14Used by:16 17 18 19 20 21
Symbol 16 MovieClip {com.jumpeye.flashEff2.symbol.stripes.FESStripes}Uses:15
Symbol 17 MovieClip {com.jumpeye.flashEff2.symbol.squareEffect.FESSquareExplode}Uses:15
Symbol 18 MovieClip {com.jumpeye.flashEff2.symbol.sparkle.FESSparkle}Uses:15
Symbol 19 MovieClip {com.jumpeye.flashEff2.symbol.flip.FESFlipSquare}Uses:15
Symbol 20 MovieClip {com.jumpeye.flashEff2.symbol.equalizer.FESEqualizer}Uses:15
Symbol 21 MovieClip {com.jumpeye.flashEff2.symbol.desertIllusion.FESDesertIllusion}Uses:15
Symbol 22 FontUsed by:23
Symbol 23 EditableTextUses:22Used by:24
Symbol 24 MovieClipUses:14 23Used by:25
Symbol 25 MovieClip {com.jumpeye.flashEff2.command.switchObjects.FECSwitchObjects}Uses:24
Symbol 26 FontUsed by:27
Symbol 27 EditableTextUses:26Used by:28
Symbol 28 MovieClipUses:14 27Used by:29
Symbol 29 MovieClip {com.jumpeye.flashEff2.command.callFunction.FECCallFunction}Uses:28
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:40
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:40
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:40
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:40
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:40
Symbol 40 MovieClipUses:31 33 35 37 39Used by:Timeline
Symbol 41 FontUsed by:42
Symbol 42 EditableTextUses:41Used by:Timeline
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:56
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:56
Symbol 47 GraphicUsed by:56
Symbol 48 GraphicUsed by:56
Symbol 49 GraphicUsed by:56
Symbol 50 GraphicUsed by:56
Symbol 51 GraphicUsed by:56
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClip {EmmaWatson_fla.cbvdsfdsf_7}Uses:44 46 47 48 49 50 51 52 53 54 55Used by:Timeline
Symbol 57 GraphicUsed by:Timeline
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:Timeline
Symbol 60 FontUsed by:61
Symbol 61 TextUses:60Used by:Timeline
Symbol 62 GraphicUsed by:86
Symbol 63 GraphicUsed by:65
Symbol 64 MovieClipUsed by:65
Symbol 65 MovieClipUses:63 64Used by:86
Symbol 66 GraphicUsed by:76
Symbol 67 ShapeTweeningUsed by:75
Symbol 68 GraphicUsed by:75
Symbol 69 ShapeTweeningUsed by:75
Symbol 70 GraphicUsed by:75
Symbol 71 ShapeTweeningUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 ShapeTweeningUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:67 68 69 70 71 72 73 74Used by:76
Symbol 76 MovieClipUses:66 75Used by:84
Symbol 77 GraphicUsed by:82
Symbol 78 GraphicUsed by:82
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:77 78 80 81Used by:84
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:76 82 83Used by:86
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:62 65 84 85Used by:Timeline
Symbol 87 FontUsed by:88 89 90 91 92 93 95 96 97 98 99 100 101 102 563
Symbol 88 TextUses:87Used by:94
Symbol 89 TextUses:87Used by:94
Symbol 90 TextUses:87Used by:94
Symbol 91 TextUses:87Used by:94
Symbol 92 TextUses:87Used by:94
Symbol 93 TextUses:87Used by:94
Symbol 94 MovieClip {EmmaWatson_fla.peppydfgfsds_19}Uses:88 89 90 91 92 93Used by:Timeline
Symbol 95 TextUses:87Used by:103
Symbol 96 TextUses:87Used by:103
Symbol 97 TextUses:87Used by:103
Symbol 98 TextUses:87Used by:103
Symbol 99 TextUses:87Used by:103
Symbol 100 TextUses:87Used by:103
Symbol 101 TextUses:87Used by:103
Symbol 102 TextUses:87Used by:103
Symbol 103 MovieClip {EmmaWatson_fla.cvbcvbcvbvcy_78_1_20}Uses:95 96 97 98 99 100 101 102Used by:Timeline
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:Timeline
Symbol 106 GraphicUsed by:Timeline
Symbol 107 GraphicUsed by:219
Symbol 108 GraphicUsed by:200
Symbol 109 BitmapUsed by:110 161 162 165
Symbol 110 GraphicUses:109Used by:111
Symbol 111 MovieClipUses:110Used by:112
Symbol 112 MovieClip {EmmaWatson_fla.cvbcvbdollchange_25}Uses:111Used by:199
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:123
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:123
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:123
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:123
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:123
Symbol 123 MovieClip {EmmaWatson_fla.cvbcvbMARKVVV_27}Uses:114 116 118 120 122Used by:199
Symbol 124 GraphicUsed by:131
Symbol 125 GraphicUsed by:131
Symbol 126 GraphicUsed by:131
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:131
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:129Used by:131
Symbol 131 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbchain_28}Uses:124 125 126 128 130Used by:199
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:145
Symbol 134 GraphicUsed by:136 532
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClip {EmmaWatson_fla.cvbcvbmarkla_33}Uses:134 135Used by:145 160
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:145
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:145
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:145
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClipUses:143Used by:145
Symbol 145 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSvcvcvcvcvcv_31}Uses:133 136 138 140 142 144Used by:199
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:160
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:160
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:160
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:160
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:160
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:156Used by:160
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:158Used by:160
Symbol 160 MovieClip {EmmaWatson_fla.cvbcvb901_38}Uses:147 136 149 151 153 155 157 159Used by:199
Symbol 161 GraphicUses:109Used by:164
Symbol 162 GraphicUses:109Used by:163
Symbol 163 MovieClipUses:162Used by:164
Symbol 164 MovieClip {EmmaWatson_fla.cvbcvbeyem1_46}Uses:161 163Used by:199
Symbol 165 GraphicUses:109Used by:166
Symbol 166 MovieClipUses:165Used by:167
Symbol 167 MovieClip {EmmaWatson_fla.cvbcvblipddd_48}Uses:166Used by:199
Symbol 168 BitmapUsed by:169 181 188
Symbol 169 GraphicUses:168Used by:178
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:178
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:178
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollSymbol18_53}Uses:174Used by:178 189
Symbol 176 GraphicUsed by:177 183
Symbol 177 MovieClipUses:176Used by:178
Symbol 178 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollbbbbselena_50}Uses:169 171 173 175 177Used by:199
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:182
Symbol 181 GraphicUses:168Used by:182
Symbol 182 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollbbbbselenacopy_55}Uses:180 181Used by:199
Symbol 183 MovieClipUses:176Used by:189
Symbol 184 GraphicUsed by:187
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:185Used by:187
Symbol 187 MovieClipUses:184 186Used by:189
Symbol 188 GraphicUses:168Used by:189
Symbol 189 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollSymbol23_56}Uses:183 187 175 188Used by:199
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:199
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:198
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:198
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:198
Symbol 198 MovieClip {EmmaWatson_fla.cvbcvbhm44_61}Uses:193 195 197Used by:199
Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24}Uses:112 123 131 145 160 164 167 178 182 189 191 198Used by:200  Timeline
Symbol 200 MovieClip {EmmaWatson_fla.bvgncghgfchj_23}Uses:108 199Used by:219
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:201Used by:219
Symbol 203 FontUsed by:204 205 206 208 209 210 211 212 216
Symbol 204 TextUses:203Used by:207 213
Symbol 205 TextUses:203Used by:207
Symbol 206 TextUses:203Used by:207
Symbol 207 MovieClipUses:204 205 206Used by:219
Symbol 208 TextUses:203Used by:213
Symbol 209 TextUses:203Used by:213
Symbol 210 TextUses:203Used by:213
Symbol 211 TextUses:203Used by:213
Symbol 212 TextUses:203Used by:213
Symbol 213 MovieClipUses:208 209 210 211 204 212Used by:219
Symbol 214 GraphicUsed by:215 217
Symbol 215 MovieClipUses:214Used by:217
Symbol 216 TextUses:203Used by:217
Symbol 217 ButtonUses:215 216 214Used by:219
Symbol 218 GraphicUsed by:219
Symbol 219 MovieClip {EmmaWatson_fla.Symbol1copy_22}Uses:107 200 202 207 213 217 218Used by:Timeline
Symbol 220 GraphicUsed by:221 227 251 261 269 279 308 326 346 364 382
Symbol 221 MovieClipUses:220Used by:224 234
Symbol 222 GraphicUsed by:223 227 251 261 269 279 308 326 346 364 382
Symbol 223 MovieClipUses:222Used by:224
Symbol 224 MovieClipUses:221 223Used by:227 251 261 269 279 308 326 346 364 382 388 391 397 400 473 474 475 476 477 478 479 480 481 482
Symbol 225 GraphicUsed by:226 227
Symbol 226 MovieClipUses:225Used by:227 473
Symbol 227 ButtonUses:224 226 220 222 225Used by:231
Symbol 228 FontUsed by:229 252 262 270 280 309 327 347 365 383 488 491 494 620 623
Symbol 229 TextUses:228Used by:231
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:227 229 230Used by:247
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:234
Symbol 234 MovieClipUses:221 233Used by:237 239 241 243 245 274 402
Symbol 235 FontUsed by:236 238 240 242 244 273 401
Symbol 236 TextUses:235Used by:237
Symbol 237 MovieClipUses:234 236Used by:246 255
Symbol 238 TextUses:235Used by:239
Symbol 239 MovieClipUses:234 238Used by:246 255 265 275 403 404 405 406
Symbol 240 TextUses:235Used by:241
Symbol 241 MovieClipUses:234 240Used by:246 255 265 403 404 405 406
Symbol 242 TextUses:235Used by:243
Symbol 243 MovieClipUses:234 242Used by:246 255 265 404 406
Symbol 244 TextUses:235Used by:245
Symbol 245 MovieClipUses:234 244Used by:246 255 404
Symbol 246 MovieClip {EmmaWatson_fla.Symbol29_75}Uses:237 239 241 243 245Used by:247
Symbol 247 MovieClip {EmmaWatson_fla.dress_68}Uses:231 246Used by:409
Symbol 248 GraphicUsed by:249 251
Symbol 249 MovieClipUses:248Used by:250
Symbol 250 MovieClipUses:249Used by:251 474
Symbol 251 ButtonUses:224 250 220 222 248Used by:254
Symbol 252 TextUses:228Used by:254
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:251 252 253Used by:256
Symbol 255 MovieClip {EmmaWatson_fla.Symbol30_88}Uses:237 239 243 245 241Used by:256
Symbol 256 MovieClip {EmmaWatson_fla.chain_83}Uses:254 255Used by:409
Symbol 257 GraphicUsed by:260 261
Symbol 258 GraphicUsed by:259 261
Symbol 259 MovieClipUses:258Used by:260
Symbol 260 MovieClipUses:257 259Used by:261 476
Symbol 261 ButtonUses:224 260 220 222 257 258Used by:264
Symbol 262 TextUses:228Used by:264
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClipUses:261 262 263Used by:266
Symbol 265 MovieClip {EmmaWatson_fla.Symbol31_94}Uses:239 243 241Used by:266
Symbol 266 MovieClip {EmmaWatson_fla.Symbol4_89}Uses:264 265Used by:409
Symbol 267 GraphicUsed by:268 269
Symbol 268 MovieClipUses:267Used by:269 480
Symbol 269 ButtonUses:224 268 220 222 267Used by:272
Symbol 270 TextUses:228Used by:272
Symbol 271 GraphicUsed by:272
Symbol 272 MovieClipUses:269 270 271Used by:276
Symbol 273 TextUses:235Used by:274
Symbol 274 MovieClipUses:234 273Used by:275
Symbol 275 MovieClip {EmmaWatson_fla.Symbol32_99}Uses:239 274Used by:276
Symbol 276 MovieClip {EmmaWatson_fla.mascarav_95}Uses:272 275Used by:409
Symbol 277 GraphicUsed by:278 279
Symbol 278 MovieClipUses:277Used by:279 479
Symbol 279 ButtonUses:224 278 220 222 277Used by:282
Symbol 280 TextUses:228Used by:282
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:279 280 281Used by:305
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClipUses:283Used by:285 288 291 294 297
Symbol 285 MovieClipUses:284Used by:287 303 313 331 351 369
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClip {EmmaWatson_fla.Symbol9copy2_106}Uses:285 286Used by:304
Symbol 288 MovieClipUses:284Used by:290 315 333 341 353 371
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClip {EmmaWatson_fla.Symbol10copy2_109}Uses:288 289Used by:304
Symbol 291 MovieClipUses:284Used by:293 317 335 355 373
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClip {EmmaWatson_fla.Symbol11copy_111}Uses:291 292Used by:304
Symbol 294 MovieClipUses:284Used by:296 319 337 357 375
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClip {EmmaWatson_fla.Symbol12copy_113}Uses:294 295Used by:304
Symbol 297 MovieClipUses:284Used by:299 321 339 359 377
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClip {EmmaWatson_fla.Symbol13copy_115}Uses:297 298Used by:304
Symbol 300 GraphicUsed by:303
Symbol 301 FontUsed by:302
Symbol 302 TextUses:301Used by:303
Symbol 303 MovieClip {EmmaWatson_fla.Symbol9copy_117}Uses:285 300 302Used by:304 360 378
Symbol 304 MovieClip {EmmaWatson_fla.Symbol33_105}Uses:287 290 293 296 299 303Used by:305
Symbol 305 MovieClip {EmmaWatson_fla.eyelenso_101}Uses:282 304Used by:409
Symbol 306 GraphicUsed by:307 308
Symbol 307 MovieClipUses:306Used by:308 481
Symbol 308 ButtonUses:224 307 220 222 306Used by:311
Symbol 309 TextUses:228Used by:311
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:308 309 310Used by:323
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClip {EmmaWatson_fla.Symbol9copy5_123}Uses:285 312Used by:322
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClip {EmmaWatson_fla.Symbol10copy5_124}Uses:288 314Used by:322
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClip {EmmaWatson_fla.Symbol11copy4_125}Uses:291 316Used by:322
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClip {EmmaWatson_fla.Symbol12copy4_126}Uses:294 318Used by:322
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClip {EmmaWatson_fla.Symbol13copy4_127}Uses:297 320Used by:322
Symbol 322 MovieClip {EmmaWatson_fla.btncopy_122}Uses:313 315 317 319 321Used by:323
Symbol 323 MovieClip {EmmaWatson_fla.faceo_118}Uses:311 322Used by:409
Symbol 324 GraphicUsed by:325 326
Symbol 325 MovieClipUses:324Used by:326 475
Symbol 326 ButtonUses:224 325 220 222 324Used by:329
Symbol 327 TextUses:228Used by:329
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClipUses:326 327 328Used by:343
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClip {EmmaWatson_fla.Symbol9_133}Uses:285 330Used by:342
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClip {EmmaWatson_fla.Symbol10_134}Uses:288 332Used by:342
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClip {EmmaWatson_fla.Symbol11_135}Uses:291 334Used by:342
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClip {EmmaWatson_fla.Symbol12_136}Uses:294 336Used by:342
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClip {EmmaWatson_fla.Symbol13_137}Uses:297 338Used by:342
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClip {EmmaWatson_fla.Symbol10copy_138}Uses:288 340Used by:342
Symbol 342 MovieClip {EmmaWatson_fla.Symbol34_132}Uses:331 333 335 337 339 341Used by:343
Symbol 343 MovieClip {EmmaWatson_fla.Symbol5_128}Uses:329 342Used by:409
Symbol 344 GraphicUsed by:345 346
Symbol 345 MovieClipUses:344Used by:346 477
Symbol 346 ButtonUses:224 345 220 222 344Used by:349
Symbol 347 TextUses:228Used by:349
Symbol 348 GraphicUsed by:349
Symbol 349 MovieClipUses:346 347 348Used by:361
Symbol 350 GraphicUsed by:351
Symbol 351 MovieClip {EmmaWatson_fla.Symbol9copy4_144}Uses:285 350Used by:360
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClip {EmmaWatson_fla.Symbol10copy4_145}Uses:288 352Used by:360
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClip {EmmaWatson_fla.Symbol11copy3_146}Uses:291 354Used by:360
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClip {EmmaWatson_fla.Symbol12copy3_147}Uses:294 356Used by:360
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClip {EmmaWatson_fla.Symbol13copy3_148}Uses:297 358Used by:360
Symbol 360 MovieClip {EmmaWatson_fla.Symbol35_143}Uses:351 353 355 357 359 303Used by:361
Symbol 361 MovieClip {EmmaWatson_fla.Symbol6_139}Uses:349 360Used by:409
Symbol 362 GraphicUsed by:363 364
Symbol 363 MovieClipUses:362Used by:364 478
Symbol 364 ButtonUses:224 363 220 222 362Used by:367
Symbol 365 TextUses:228Used by:367
Symbol 366 GraphicUsed by:367
Symbol 367 MovieClipUses:364 365 366Used by:379
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClip {EmmaWatson_fla.Symbol9copy3_154}Uses:285 368Used by:378
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClip {EmmaWatson_fla.Symbol10copy3_155}Uses:288 370Used by:378
Symbol 372 GraphicUsed by:373
Symbol 373 MovieClip {EmmaWatson_fla.Symbol11copy2_156}Uses:291 372Used by:378
Symbol 374 GraphicUsed by:375
Symbol 375 MovieClip {EmmaWatson_fla.Symbol12copy2_157}Uses:294 374Used by:378
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClip {EmmaWatson_fla.Symbol13copy2_158}Uses:297 376Used by:378
Symbol 378 MovieClip {EmmaWatson_fla.btncopy_153}Uses:369 371 373 375 377 303Used by:379
Symbol 379 MovieClip {EmmaWatson_fla.eyeshaeo_149}Uses:367 378Used by:409
Symbol 380 GraphicUsed by:381 382
Symbol 381 MovieClipUses:380Used by:382 482
Symbol 382 ButtonUses:224 381 220 222 380Used by:385
Symbol 383 TextUses:228Used by:385
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClipUses:382 383 384Used by:408
Symbol 386 GraphicUsed by:387
Symbol 387 MovieClipUses:386Used by:388
Symbol 388 MovieClipUses:224 387Used by:408
Symbol 389 GraphicUsed by:390
Symbol 390 MovieClipUses:389Used by:391
Symbol 391 MovieClipUses:224 390Used by:408
Symbol 392 GraphicUsed by:396
Symbol 393 GraphicUsed by:394
Symbol 394 MovieClipUses:393Used by:396
Symbol 395 GraphicUsed by:396
Symbol 396 MovieClipUses:392 394 395Used by:397
Symbol 397 MovieClipUses:224 396Used by:408
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:398Used by:400
Symbol 400 MovieClipUses:224 399Used by:408
Symbol 401 TextUses:235Used by:402
Symbol 402 MovieClipUses:234 401Used by:403 404 405
Symbol 403 MovieClip {EmmaWatson_fla.Symbol37_173}Uses:239 241 402Used by:407
Symbol 404 MovieClip {EmmaWatson_fla.Symbol38_175}Uses:239 243 245 241 402Used by:407
Symbol 405 MovieClip {EmmaWatson_fla.Symbol39_176}Uses:239 241 402Used by:407
Symbol 406 MovieClip {EmmaWatson_fla.Symbol40_177}Uses:239 243 241Used by:407
Symbol 407 MovieClip {EmmaWatson_fla.Symbol41_172}Uses:403 404 405 406Used by:408
Symbol 408 MovieClip {EmmaWatson_fla.Symbol7_159}Uses:385 388 391 397 400 407Used by:409
Symbol 409 MovieClip {EmmaWatson_fla.Objects_67}Uses:247 256 266 276 305 323 343 361 379 408Used by:Timeline
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:410Used by:Timeline
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:412Used by:414
Symbol 414 MovieClipUses:413Used by:418
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClipUses:415Used by:417 418
Symbol 417 MovieClipUses:416Used by:418
Symbol 418 MovieClipUses:414 417 416Used by:Timeline
Symbol 419 GraphicUsed by:420
Symbol 420 MovieClipUses:419Used by:432
Symbol 421 GraphicUsed by:422
Symbol 422 MovieClipUses:421Used by:431
Symbol 423 GraphicUsed by:431
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClipUses:424Used by:429
Symbol 426 GraphicUsed by:429
Symbol 427 GraphicUsed by:429
Symbol 428 GraphicUsed by:429
Symbol 429 MovieClipUses:425 426 427 428Used by:431
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:422 423 429 430Used by:432
Symbol 432 MovieClipUses:420 431Used by:Timeline
Symbol 433 GraphicUsed by:434
Symbol 434 MovieClipUses:433Used by:435
Symbol 435 MovieClipUses:434Used by:Timeline
Symbol 436 GraphicUsed by:451
Symbol 437 GraphicUsed by:438
Symbol 438 MovieClipUses:437Used by:450 451
Symbol 439 GraphicUsed by:451
Symbol 440 GraphicUsed by:451
Symbol 441 GraphicUsed by:442
Symbol 442 MovieClipUses:441Used by:450
Symbol 443 GraphicUsed by:447
Symbol 444 GraphicUsed by:445
Symbol 445 MovieClipUses:444Used by:447
Symbol 446 GraphicUsed by:447
Symbol 447 MovieClipUses:443 445 446Used by:450
Symbol 448 GraphicUsed by:450
Symbol 449 GraphicUsed by:450
Symbol 450 MovieClipUses:442 447 448 438 449Used by:451
Symbol 451 MovieClip {EmmaWatson_fla.hkgh_193}Uses:436 438 439 440 450Used by:461
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:452Used by:460
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454Used by:460
Symbol 456 GraphicUsed by:459
Symbol 457 GraphicUsed by:458
Symbol 458 MovieClipUses:457Used by:459
Symbol 459 MovieClipUses:456 458Used by:460
Symbol 460 MovieClipUses:453 455 459Used by:461
Symbol 461 MovieClip {EmmaWatson_fla.hujkgh_192}Uses:451 460Used by:Timeline
Symbol 462 GraphicUsed by:463
Symbol 463 MovieClipUses:462Used by:466
Symbol 464 GraphicUsed by:465
Symbol 465 MovieClipUses:464Used by:466
Symbol 466 MovieClipUses:463 465Used by:Timeline
Symbol 467 GraphicUsed by:Timeline
Symbol 468 BitmapUsed by:469
Symbol 469 GraphicUses:468Used by:472
Symbol 470 FontUsed by:471 618 632
Symbol 471 EditableTextUses:470Used by:472
Symbol 472 MovieClip {EmmaWatson_fla.YHKHGVK_207}Uses:469 471Used by:Timeline
Symbol 473 MovieClipUses:224 226Used by:483
Symbol 474 MovieClipUses:224 250Used by:483
Symbol 475 MovieClipUses:224 325Used by:483
Symbol 476 MovieClipUses:224 260Used by:483
Symbol 477 MovieClipUses:224 345Used by:483
Symbol 478 MovieClipUses:224 363Used by:483
Symbol 479 MovieClipUses:224 278Used by:483
Symbol 480 MovieClipUses:224 268Used by:483
Symbol 481 MovieClipUses:224 307Used by:483
Symbol 482 MovieClipUses:224 381Used by:483
Symbol 483 MovieClip {EmmaWatson_fla.buttons_208}Uses:473 474 475 476 477 478 479 480 481 482Used by:Timeline
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClipUses:484Used by:Timeline
Symbol 486 GraphicUsed by:487 490 493 496 622 625 626 628 630
Symbol 487 MovieClipUses:486Used by:489 492 495 621 624
Symbol 488 TextUses:228Used by:489 490
Symbol 489 MovieClipUses:487 488Used by:490
Symbol 490 ButtonUses:489 486 488Used by:Timeline
Symbol 491 TextUses:228Used by:492 493
Symbol 492 MovieClipUses:487 491Used by:493
Symbol 493 ButtonUses:492 486 491Used by:Timeline
Symbol 494 TextUses:228Used by:495 496
Symbol 495 MovieClipUses:487 494Used by:496
Symbol 496 ButtonUses:495 486 494Used by:Timeline
Symbol 497 ShapeTweeningUsed by:501
Symbol 498 BitmapUsed by:499 500
Symbol 499 ShapeTweeningUses:498Used by:501
Symbol 500 GraphicUses:498Used by:501
Symbol 501 MovieClip {EmmaWatson_fla.hjmkvzxcvzx_228}Uses:497 499 500Used by:520
Symbol 502 GraphicUsed by:506
Symbol 503 ShapeTweeningUsed by:506
Symbol 504 ShapeTweeningUsed by:506
Symbol 505 GraphicUsed by:506
Symbol 506 MovieClip {EmmaWatson_fla.hhhvxcv_229}Uses:502 503 504 505Used by:520
Symbol 507 GraphicUsed by:511
Symbol 508 ShapeTweeningUsed by:511
Symbol 509 ShapeTweeningUsed by:511
Symbol 510 GraphicUsed by:511
Symbol 511 MovieClip {EmmaWatson_fla.hhhvxcvcopy_230}Uses:507 508 509 510Used by:520
Symbol 512 GraphicUsed by:513
Symbol 513 MovieClipUses:512Used by:519
Symbol 514 GraphicUsed by:519
Symbol 515 ShapeTweeningUsed by:519
Symbol 516 ShapeTweeningUsed by:519
Symbol 517 ShapeTweeningUsed by:519
Symbol 518 GraphicUsed by:519
Symbol 519 MovieClip {EmmaWatson_fla.sissorvcvc_231}Uses:513 514 515 516 517 518Used by:520
Symbol 520 MovieClip {EmmaWatson_fla.Symbol64star_227}Uses:501 506 511 519Used by:Timeline
Symbol 521 BitmapUsed by:522
Symbol 522 GraphicUses:521Used by:533
Symbol 523 GraphicUsed by:531
Symbol 524 GraphicUsed by:531
Symbol 525 GraphicUsed by:531
Symbol 526 GraphicUsed by:531
Symbol 527 GraphicUsed by:531
Symbol 528 GraphicUsed by:531
Symbol 529 GraphicUsed by:531
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClip {EmmaWatson_fla.Timeline_235}Uses:523 524 525 526 527 528 529 530Used by:533
Symbol 532 MovieClip {EmmaWatson_fla.Timeline_236}Uses:134Used by:533 543
Symbol 533 MovieClip {EmmaWatson_fla.Symbol83_234}Uses:522 531 532Used by:561
Symbol 534 BitmapUsed by:535
Symbol 535 GraphicUses:534Used by:543
Symbol 536 GraphicUsed by:542
Symbol 537 GraphicUsed by:542
Symbol 538 GraphicUsed by:542
Symbol 539 GraphicUsed by:542
Symbol 540 GraphicUsed by:542
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClip {EmmaWatson_fla.Symbol85_238}Uses:536 537 538 539 540 541Used by:543
Symbol 543 MovieClip {EmmaWatson_fla.Symbol84_237}Uses:535 542 532Used by:561
Symbol 544 GraphicUsed by:552
Symbol 545 GraphicUsed by:552
Symbol 546 GraphicUsed by:552
Symbol 547 GraphicUsed by:548
Symbol 548 MovieClipUses:547Used by:552
Symbol 549 GraphicUsed by:552
Symbol 550 GraphicUsed by:551
Symbol 551 MovieClipUses:550Used by:552
Symbol 552 MovieClipUses:544 545 546 548 549 551Used by:555
Symbol 553 GraphicUsed by:554
Symbol 554 MovieClipUses:553Used by:555
Symbol 555 MovieClip {EmmaWatson_fla.Symbol58tool_239}Uses:552 554Used by:561
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:558
Symbol 558 MovieClipUses:557Used by:561
Symbol 559 GraphicUsed by:560
Symbol 560 MovieClipUses:559Used by:561
Symbol 561 MovieClip {EmmaWatson_fla.Symbol86_233}Uses:533 543 555 558 560Used by:Timeline
Symbol 562 GraphicUsed by:564 565
Symbol 563 TextUses:87Used by:564 565
Symbol 564 MovieClipUses:562 563Used by:565
Symbol 565 ButtonUses:564 562 563Used by:Timeline
Symbol 566 FontUsed by:567
Symbol 567 TextUses:566Used by:577
Symbol 568 GraphicUsed by:575 579
Symbol 569 GraphicUsed by:570
Symbol 570 MovieClip {EmmaWatson_fla.Symbol1xcvzxcv_251}Uses:569Used by:575
Symbol 571 GraphicUsed by:572 573 574
Symbol 572 MovieClip {EmmaWatson_fla.Symbol1copybvcb_252}Uses:571Used by:575
Symbol 573 MovieClip {EmmaWatson_fla.Symbol1copy2bcvb_253}Uses:571Used by:575
Symbol 574 MovieClip {EmmaWatson_fla.Symbol1copy3bcvbcb_254}Uses:571Used by:575
Symbol 575 MovieClipUses:568 570 572 573 574Used by:577
Symbol 576 GraphicUsed by:577 582
Symbol 577 MovieClip {EmmaWatson_fla.soundon_249}Uses:567 575 576Used by:583
Symbol 578 GraphicUsed by:579
Symbol 579 MovieClipUses:568 578Used by:582
Symbol 580 FontUsed by:581
Symbol 581 TextUses:580Used by:582
Symbol 582 MovieClipUses:579 581 576Used by:583
Symbol 583 MovieClip {EmmaWatson_fla.Symbol42_248}Uses:577 582Used by:Timeline
Symbol 584 BitmapUsed by:585
Symbol 585 GraphicUses:584Used by:586
Symbol 586 MovieClip {EmmaWatson_fla.othermclogo123_257}Uses:585Used by:Timeline
Symbol 587 GraphicUsed by:588
Symbol 588 MovieClipUses:587Used by:597
Symbol 589 GraphicUsed by:590
Symbol 590 MovieClipUses:589Used by:597
Symbol 591 GraphicUsed by:597
Symbol 592 GraphicUsed by:597
Symbol 593 GraphicUsed by:594
Symbol 594 MovieClipUses:593Used by:597
Symbol 595 GraphicUsed by:596
Symbol 596 MovieClipUses:595Used by:597
Symbol 597 MovieClip {EmmaWatson_fla.othermcSymbol1_258}Uses:588 590 591 592 594 596Used by:Timeline
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:598Used by:604
Symbol 600 GraphicUsed by:604
Symbol 601 GraphicUsed by:602
Symbol 602 MovieClipUses:601Used by:604
Symbol 603 GraphicUsed by:604
Symbol 604 ButtonUses:599 600 602 603Used by:605
Symbol 605 MovieClip {EmmaWatson_fla.dfgj_263}Uses:604Used by:Timeline
Symbol 606 GraphicUsed by:611 613
Symbol 607 GraphicUsed by:608 613
Symbol 608 MovieClipUses:607Used by:611
Symbol 609 GraphicUsed by:610 613
Symbol 610 MovieClipUses:609Used by:611
Symbol 611 MovieClipUses:606 608 610Used by:612
Symbol 612 MovieClipUses:611Used by:613
Symbol 613 ButtonUses:612 606 607 609Used by:614
Symbol 614 MovieClip {EmmaWatson_fla.nhg_267}Uses:613Used by:Timeline
Symbol 615 FontUsed by:616 617 631
Symbol 616 TextUses:615Used by:619 633
Symbol 617 TextUses:615Used by:619
Symbol 618 EditableTextUses:470Used by:619
Symbol 619 MovieClip {EmmaWatson_fla.Timeline_273}Uses:616 617 618Used by:Timeline
Symbol 620 TextUses:228Used by:621 622 627 628
Symbol 621 MovieClipUses:487 620Used by:622
Symbol 622 ButtonUses:621 486 620Used by:Timeline
Symbol 623 TextUses:228Used by:624 625 629 630
Symbol 624 MovieClipUses:487 623Used by:625
Symbol 625 ButtonUses:624 486 623Used by:Timeline
Symbol 626 MovieClipUses:486Used by:627 629
Symbol 627 MovieClipUses:626 620Used by:628
Symbol 628 ButtonUses:627 486 620Used by:Timeline
Symbol 629 MovieClipUses:626 623Used by:630
Symbol 630 ButtonUses:629 486 623Used by:Timeline
Symbol 631 TextUses:615Used by:633
Symbol 632 EditableTextUses:470Used by:633
Symbol 633 MovieClip {EmmaWatson_fla.Symbol43_283}Uses:616 631 632Used by:Timeline

Instance Names

"BitsLoaded"Frame 1Symbol 42 EditableText
"preloader"Frame 1Symbol 56 MovieClip {EmmaWatson_fla.cbvdsfdsf_7}
"ball"Frame 1Symbol 103 MovieClip {EmmaWatson_fla.cvbcvbcvbvcy_78_1_20}
"site"Frame 1Symbol 105 MovieClip
"frontDesign"Frame 2Symbol 219 MovieClip {EmmaWatson_fla.Symbol1copy_22}
"objects"Frame 3Symbol 409 MovieClip {EmmaWatson_fla.Objects_67}
"screen"Frame 3Symbol 461 MovieClip {EmmaWatson_fla.hujkgh_192}
"doll"Frame 3Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24}
"ent"Frame 3Symbol 472 MovieClip {EmmaWatson_fla.YHKHGVK_207}
"buttons"Frame 3Symbol 483 MovieClip {EmmaWatson_fla.buttons_208}
"buttonMsk"Frame 3Symbol 485 MovieClip
"objMsk"Frame 3Symbol 485 MovieClip
"objects"Frame 3Symbol 409 MovieClip {EmmaWatson_fla.Objects_67}
"doneBtn"Frame 3Symbol 490 Button
"nextBtn"Frame 3Symbol 493 Button
"resetBtn"Frame 3Symbol 496 Button
"animation"Frame 3Symbol 520 MovieClip {EmmaWatson_fla.Symbol64star_227}
"brush"Frame 3Symbol 561 MovieClip {EmmaWatson_fla.Symbol86_233}
"logo_mc"Frame 3Symbol 565 Button
"sound_mc"Frame 3Symbol 583 MovieClip {EmmaWatson_fla.Symbol42_248}
"kiba_mc"Frame 3Symbol 586 MovieClip {EmmaWatson_fla.othermclogo123_257}
"ds"Frame 4Symbol 619 MovieClip {EmmaWatson_fla.Timeline_273}
"moreBtn"Frame 4Symbol 622 Button
"againBtn"Frame 4Symbol 625 Button
"moreBtn"Frame 4Symbol 628 Button
"againBtn"Frame 4Symbol 630 Button
"ds"Frame 4Symbol 633 MovieClip {EmmaWatson_fla.Symbol43_283}
"masker"Symbol 56 MovieClip {EmmaWatson_fla.cbvdsfdsf_7} Frame 1Symbol 44 MovieClip
"face"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 112 MovieClip {EmmaWatson_fla.cvbcvbdollchange_25}
"dress"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 123 MovieClip {EmmaWatson_fla.cvbcvbMARKVVV_27}
"chain"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 131 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbchain_28}
"rouge"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 145 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSvcvcvcvcvcv_31}
"eyeshade"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 160 MovieClip {EmmaWatson_fla.cvbcvb901_38}
"eyelens"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 164 MovieClip {EmmaWatson_fla.cvbcvbeyem1_46}
"lip"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 167 MovieClip {EmmaWatson_fla.cvbcvblipddd_48}
"extra2"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 178 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollbbbbselena_50}
"extra3"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 182 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollbbbbselenacopy_55}
"extra1"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 189 MovieClip {EmmaWatson_fla.cvbcvbZScdGFKSFSxcbdollSymbol23_56}
"mascara"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 191 MovieClip
"hair"Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24} Frame 1Symbol 198 MovieClip {EmmaWatson_fla.cvbcvbhm44_61}
"doll"Symbol 200 MovieClip {EmmaWatson_fla.bvgncghgfchj_23} Frame 1Symbol 199 MovieClip {EmmaWatson_fla.cvbcvbdolll_24}
"playBtn"Symbol 219 MovieClip {EmmaWatson_fla.Symbol1copy_22} Frame 1Symbol 217 Button
"f5"Symbol 246 MovieClip {EmmaWatson_fla.Symbol29_75} Frame 1Symbol 237 MovieClip
"f2"Symbol 246 MovieClip {EmmaWatson_fla.Symbol29_75} Frame 1Symbol 239 MovieClip
"f1"Symbol 246 MovieClip {EmmaWatson_fla.Symbol29_75} Frame 1Symbol 241 MovieClip
"f3"Symbol 246 MovieClip {EmmaWatson_fla.Symbol29_75} Frame 1Symbol 243 MovieClip
"f4"Symbol 246 MovieClip {EmmaWatson_fla.Symbol29_75} Frame 1Symbol 245 MovieClip
"btn"Symbol 247 MovieClip {EmmaWatson_fla.dress_68} Frame 1Symbol 246 MovieClip {EmmaWatson_fla.Symbol29_75}
"f5"Symbol 255 MovieClip {EmmaWatson_fla.Symbol30_88} Frame 1Symbol 237 MovieClip
"f2"Symbol 255 MovieClip {EmmaWatson_fla.Symbol30_88} Frame 1Symbol 239 MovieClip
"f3"Symbol 255 MovieClip {EmmaWatson_fla.Symbol30_88} Frame 1Symbol 243 MovieClip
"f4"Symbol 255 MovieClip {EmmaWatson_fla.Symbol30_88} Frame 1Symbol 245 MovieClip
"f1"Symbol 255 MovieClip {EmmaWatson_fla.Symbol30_88} Frame 1Symbol 241 MovieClip
"btn"Symbol 256 MovieClip {EmmaWatson_fla.chain_83} Frame 1Symbol 255 MovieClip {EmmaWatson_fla.Symbol30_88}
"f2"Symbol 265 MovieClip {EmmaWatson_fla.Symbol31_94} Frame 1Symbol 239 MovieClip
"f3"Symbol 265 MovieClip {EmmaWatson_fla.Symbol31_94} Frame 1Symbol 243 MovieClip
"f1"Symbol 265 MovieClip {EmmaWatson_fla.Symbol31_94} Frame 1Symbol 241 MovieClip
"btn"Symbol 266 MovieClip {EmmaWatson_fla.Symbol4_89} Frame 1Symbol 265 MovieClip {EmmaWatson_fla.Symbol31_94}
"f2"Symbol 275 MovieClip {EmmaWatson_fla.Symbol32_99} Frame 1Symbol 239 MovieClip
"f1"Symbol 275 MovieClip {EmmaWatson_fla.Symbol32_99} Frame 1Symbol 274 MovieClip
"btn"Symbol 276 MovieClip {EmmaWatson_fla.mascarav_95} Frame 1Symbol 275 MovieClip {EmmaWatson_fla.Symbol32_99}
"s5"Symbol 287 MovieClip {EmmaWatson_fla.Symbol9copy2_106} Frame 1Symbol 285 MovieClip
"s2"Symbol 290 MovieClip {EmmaWatson_fla.Symbol10copy2_109} Frame 1Symbol 288 MovieClip
"s3"Symbol 293 MovieClip {EmmaWatson_fla.Symbol11copy_111} Frame 1Symbol 291 MovieClip
"s4"Symbol 296 MovieClip {EmmaWatson_fla.Symbol12copy_113} Frame 1Symbol 294 MovieClip
"s1"Symbol 299 MovieClip {EmmaWatson_fla.Symbol13copy_115} Frame 1Symbol 297 MovieClip
"s5"Symbol 303 MovieClip {EmmaWatson_fla.Symbol9copy_117} Frame 1Symbol 285 MovieClip
"f4"Symbol 304 MovieClip {EmmaWatson_fla.Symbol33_105} Frame 1Symbol 287 MovieClip {EmmaWatson_fla.Symbol9copy2_106}
"f6"Symbol 304 MovieClip {EmmaWatson_fla.Symbol33_105} Frame 1Symbol 290 MovieClip {EmmaWatson_fla.Symbol10copy2_109}
"f5"Symbol 304 MovieClip {EmmaWatson_fla.Symbol33_105} Frame 1Symbol 293 MovieClip {EmmaWatson_fla.Symbol11copy_111}
"f3"Symbol 304 MovieClip {EmmaWatson_fla.Symbol33_105} Frame 1Symbol 296 MovieClip {EmmaWatson_fla.Symbol12copy_113}
"f2"Symbol 304 MovieClip {EmmaWatson_fla.Symbol33_105} Frame 1Symbol 299 MovieClip {EmmaWatson_fla.Symbol13copy_115}
"f1"Symbol 304 MovieClip {EmmaWatson_fla.Symbol33_105} Frame 1Symbol 303 MovieClip {EmmaWatson_fla.Symbol9copy_117}
"btn"Symbol 305 MovieClip {EmmaWatson_fla.eyelenso_101} Frame 1Symbol 304 MovieClip {EmmaWatson_fla.Symbol33_105}
"s5"Symbol 313 MovieClip {EmmaWatson_fla.Symbol9copy5_123} Frame 1Symbol 285 MovieClip
"s2"Symbol 315 MovieClip {EmmaWatson_fla.Symbol10copy5_124} Frame 1Symbol 288 MovieClip
"s3"Symbol 317 MovieClip {EmmaWatson_fla.Symbol11copy4_125} Frame 1Symbol 291 MovieClip
"s4"Symbol 319 MovieClip {EmmaWatson_fla.Symbol12copy4_126} Frame 1Symbol 294 MovieClip
"s1"Symbol 321 MovieClip {EmmaWatson_fla.Symbol13copy4_127} Frame 1Symbol 297 MovieClip
"f5"Symbol 322 MovieClip {EmmaWatson_fla.btncopy_122} Frame 1Symbol 313 MovieClip {EmmaWatson_fla.Symbol9copy5_123}
"f3"Symbol 322 MovieClip {EmmaWatson_fla.btncopy_122} Frame 1Symbol 315 MovieClip {EmmaWatson_fla.Symbol10copy5_124}
"f4"Symbol 322 MovieClip {EmmaWatson_fla.btncopy_122} Frame 1Symbol 317 MovieClip {EmmaWatson_fla.Symbol11copy4_125}
"f1"Symbol 322 MovieClip {EmmaWatson_fla.btncopy_122} Frame 1Symbol 319 MovieClip {EmmaWatson_fla.Symbol12copy4_126}
"f2"Symbol 322 MovieClip {EmmaWatson_fla.btncopy_122} Frame 1Symbol 321 MovieClip {EmmaWatson_fla.Symbol13copy4_127}
"btn"Symbol 323 MovieClip {EmmaWatson_fla.faceo_118} Frame 1Symbol 322 MovieClip {EmmaWatson_fla.btncopy_122}
"s5"Symbol 331 MovieClip {EmmaWatson_fla.Symbol9_133} Frame 1Symbol 285 MovieClip
"s2"Symbol 333 MovieClip {EmmaWatson_fla.Symbol10_134} Frame 1Symbol 288 MovieClip
"s3"Symbol 335 MovieClip {EmmaWatson_fla.Symbol11_135} Frame 1Symbol 291 MovieClip
"s4"Symbol 337 MovieClip {EmmaWatson_fla.Symbol12_136} Frame 1Symbol 294 MovieClip
"s1"Symbol 339 MovieClip {EmmaWatson_fla.Symbol13_137} Frame 1Symbol 297 MovieClip
"s2"Symbol 341 MovieClip {EmmaWatson_fla.Symbol10copy_138} Frame 1Symbol 288 MovieClip
"f4"Symbol 342 MovieClip {EmmaWatson_fla.Symbol34_132} Frame 1Symbol 331 MovieClip {EmmaWatson_fla.Symbol9_133}
"f6"Symbol 342 MovieClip {EmmaWatson_fla.Symbol34_132} Frame 1Symbol 333 MovieClip {EmmaWatson_fla.Symbol10_134}
"f5"Symbol 342 MovieClip {EmmaWatson_fla.Symbol34_132} Frame 1Symbol 335 MovieClip {EmmaWatson_fla.Symbol11_135}
"f3"Symbol 342 MovieClip {EmmaWatson_fla.Symbol34_132} Frame 1Symbol 337 MovieClip {EmmaWatson_fla.Symbol12_136}
"f2"Symbol 342 MovieClip {EmmaWatson_fla.Symbol34_132} Frame 1Symbol 339 MovieClip {EmmaWatson_fla.Symbol13_137}
"f1"Symbol 342 MovieClip {EmmaWatson_fla.Symbol34_132} Frame 1Symbol 341 MovieClip {EmmaWatson_fla.Symbol10copy_138}
"btn"Symbol 343 MovieClip {EmmaWatson_fla.Symbol5_128} Frame 1Symbol 342 MovieClip {EmmaWatson_fla.Symbol34_132}
"s5"Symbol 351 MovieClip {EmmaWatson_fla.Symbol9copy4_144} Frame 1Symbol 285 MovieClip
"s2"Symbol 353 MovieClip {EmmaWatson_fla.Symbol10copy4_145} Frame 1Symbol 288 MovieClip
"s3"Symbol 355 MovieClip {EmmaWatson_fla.Symbol11copy3_146} Frame 1Symbol 291 MovieClip
"s4"Symbol 357 MovieClip {EmmaWatson_fla.Symbol12copy3_147} Frame 1Symbol 294 MovieClip
"s1"Symbol 359 MovieClip {EmmaWatson_fla.Symbol13copy3_148} Frame 1Symbol 297 MovieClip
"f4"Symbol 360 MovieClip {EmmaWatson_fla.Symbol35_143} Frame 1Symbol 351 MovieClip {EmmaWatson_fla.Symbol9copy4_144}
"f6"Symbol 360 MovieClip {EmmaWatson_fla.Symbol35_143} Frame 1Symbol 353 MovieClip {EmmaWatson_fla.Symbol10copy4_145}
"f5"Symbol 360 MovieClip {EmmaWatson_fla.Symbol35_143} Frame 1Symbol 355 MovieClip {EmmaWatson_fla.Symbol11copy3_146}
"f3"Symbol 360 MovieClip {EmmaWatson_fla.Symbol35_143} Frame 1Symbol 357 MovieClip {EmmaWatson_fla.Symbol12copy3_147}
"f2"Symbol 360 MovieClip {EmmaWatson_fla.Symbol35_143} Frame 1Symbol 359 MovieClip {EmmaWatson_fla.Symbol13copy3_148}
"f1"Symbol 360 MovieClip {EmmaWatson_fla.Symbol35_143} Frame 1Symbol 303 MovieClip {EmmaWatson_fla.Symbol9copy_117}
"btn"Symbol 361 MovieClip {EmmaWatson_fla.Symbol6_139} Frame 1Symbol 360 MovieClip {EmmaWatson_fla.Symbol35_143}
"s5"Symbol 369 MovieClip {EmmaWatson_fla.Symbol9copy3_154} Frame 1Symbol 285 MovieClip
"s2"Symbol 371 MovieClip {EmmaWatson_fla.Symbol10copy3_155} Frame 1Symbol 288 MovieClip
"s3"Symbol 373 MovieClip {EmmaWatson_fla.Symbol11copy2_156} Frame 1Symbol 291 MovieClip
"s4"Symbol 375 MovieClip {EmmaWatson_fla.Symbol12copy2_157} Frame 1Symbol 294 MovieClip
"s1"Symbol 377 MovieClip {EmmaWatson_fla.Symbol13copy2_158} Frame 1Symbol 297 MovieClip
"f4"Symbol 378 MovieClip {EmmaWatson_fla.btncopy_153} Frame 1Symbol 369 MovieClip {EmmaWatson_fla.Symbol9copy3_154}
"f6"Symbol 378 MovieClip {EmmaWatson_fla.btncopy_153} Frame 1Symbol 371 MovieClip {EmmaWatson_fla.Symbol10copy3_155}
"f5"Symbol 378 MovieClip {EmmaWatson_fla.btncopy_153} Frame 1Symbol 373 MovieClip {EmmaWatson_fla.Symbol11copy2_156}
"f3"Symbol 378 MovieClip {EmmaWatson_fla.btncopy_153} Frame 1Symbol 375 MovieClip {EmmaWatson_fla.Symbol12copy2_157}
"f2"Symbol 378 MovieClip {EmmaWatson_fla.btncopy_153} Frame 1Symbol 377 MovieClip {EmmaWatson_fla.Symbol13copy2_158}
"f1"Symbol 378 MovieClip {EmmaWatson_fla.btncopy_153} Frame 1Symbol 303 MovieClip {EmmaWatson_fla.Symbol9copy_117}
"btn"Symbol 379 MovieClip {EmmaWatson_fla.eyeshaeo_149} Frame 1Symbol 378 MovieClip {EmmaWatson_fla.btncopy_153}
"f2"Symbol 403 MovieClip {EmmaWatson_fla.Symbol37_173} Frame 1Symbol 239 MovieClip
"f3"Symbol 403 MovieClip {EmmaWatson_fla.Symbol37_173} Frame 1Symbol 241 MovieClip
"f1"Symbol 403 MovieClip {EmmaWatson_fla.Symbol37_173} Frame 1Symbol 402 MovieClip
"f2"Symbol 404 MovieClip {EmmaWatson_fla.Symbol38_175} Frame 1Symbol 239 MovieClip
"f4"Symbol 404 MovieClip {EmmaWatson_fla.Symbol38_175} Frame 1Symbol 243 MovieClip
"f5"Symbol 404 MovieClip {EmmaWatson_fla.Symbol38_175} Frame 1Symbol 245 MovieClip
"f3"Symbol 404 MovieClip {EmmaWatson_fla.Symbol38_175} Frame 1Symbol 241 MovieClip
"f1"Symbol 404 MovieClip {EmmaWatson_fla.Symbol38_175} Frame 1Symbol 402 MovieClip
"f2"Symbol 405 MovieClip {EmmaWatson_fla.Symbol39_176} Frame 1Symbol 239 MovieClip
"f3"Symbol 405 MovieClip {EmmaWatson_fla.Symbol39_176} Frame 1Symbol 241 MovieClip
"f1"Symbol 405 MovieClip {EmmaWatson_fla.Symbol39_176} Frame 1Symbol 402 MovieClip
"f2"Symbol 406 MovieClip {EmmaWatson_fla.Symbol40_177} Frame 1Symbol 239 MovieClip
"f3"Symbol 406 MovieClip {EmmaWatson_fla.Symbol40_177} Frame 1Symbol 243 MovieClip
"f1"Symbol 406 MovieClip {EmmaWatson_fla.Symbol40_177} Frame 1Symbol 241 MovieClip
"extra1"Symbol 407 MovieClip {EmmaWatson_fla.Symbol41_172} Frame 1Symbol 403 MovieClip {EmmaWatson_fla.Symbol37_173}
"extra2"Symbol 407 MovieClip {EmmaWatson_fla.Symbol41_172} Frame 1Symbol 404 MovieClip {EmmaWatson_fla.Symbol38_175}
"extra3"Symbol 407 MovieClip {EmmaWatson_fla.Symbol41_172} Frame 1Symbol 405 MovieClip {EmmaWatson_fla.Symbol39_176}
"bg"Symbol 407 MovieClip {EmmaWatson_fla.Symbol41_172} Frame 1Symbol 406 MovieClip {EmmaWatson_fla.Symbol40_177}
"btn"Symbol 408 MovieClip {EmmaWatson_fla.Symbol7_159} Frame 1Symbol 407 MovieClip {EmmaWatson_fla.Symbol41_172}
"dress"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 247 MovieClip {EmmaWatson_fla.dress_68}
"chain"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 256 MovieClip {EmmaWatson_fla.chain_83}
"hair"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 266 MovieClip {EmmaWatson_fla.Symbol4_89}
"mascara"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 276 MovieClip {EmmaWatson_fla.mascarav_95}
"eyelens"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 305 MovieClip {EmmaWatson_fla.eyelenso_101}
"face"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 323 MovieClip {EmmaWatson_fla.faceo_118}
"lip"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 343 MovieClip {EmmaWatson_fla.Symbol5_128}
"rouge"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 361 MovieClip {EmmaWatson_fla.Symbol6_139}
"eyeshade"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 379 MovieClip {EmmaWatson_fla.eyeshaeo_149}
"extra"Symbol 409 MovieClip {EmmaWatson_fla.Objects_67} Frame 1Symbol 408 MovieClip {EmmaWatson_fla.Symbol7_159}
"inner"Symbol 451 MovieClip {EmmaWatson_fla.hkgh_193} Frame 1Symbol 450 MovieClip
"outter"Symbol 461 MovieClip {EmmaWatson_fla.hujkgh_192} Frame 1Symbol 451 MovieClip {EmmaWatson_fla.hkgh_193}
"ii"Symbol 472 MovieClip {EmmaWatson_fla.YHKHGVK_207} Frame 1Symbol 471 EditableText
"dress"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 473 MovieClip
"chain"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 474 MovieClip
"lip"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 475 MovieClip
"hair"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 476 MovieClip
"rouge"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 477 MovieClip
"eyeshade"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 478 MovieClip
"eyelens"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 479 MovieClip
"mascara"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 480 MovieClip
"face"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 481 MovieClip
"extra"Symbol 483 MovieClip {EmmaWatson_fla.buttons_208} Frame 1Symbol 482 MovieClip
"lip"Symbol 520 MovieClip {EmmaWatson_fla.Symbol64star_227} Frame 1Symbol 501 MovieClip {EmmaWatson_fla.hjmkvzxcvzx_228}
"eyeshade"Symbol 520 MovieClip {EmmaWatson_fla.Symbol64star_227} Frame 1Symbol 506 MovieClip {EmmaWatson_fla.hhhvxcv_229}
"rouge"Symbol 520 MovieClip {EmmaWatson_fla.Symbol64star_227} Frame 1Symbol 511 MovieClip {EmmaWatson_fla.hhhvxcvcopy_230}
"hair"Symbol 520 MovieClip {EmmaWatson_fla.Symbol64star_227} Frame 1Symbol 519 MovieClip {EmmaWatson_fla.sissorvcvc_231}
"tips"Symbol 533 MovieClip {EmmaWatson_fla.Symbol83_234} Frame 1Symbol 531 MovieClip {EmmaWatson_fla.Timeline_235}
"tips"Symbol 543 MovieClip {EmmaWatson_fla.Symbol84_237} Frame 1Symbol 542 MovieClip {EmmaWatson_fla.Symbol85_238}
"tips"Symbol 555 MovieClip {EmmaWatson_fla.Symbol58tool_239} Frame 1Symbol 552 MovieClip
"eyeshade"Symbol 561 MovieClip {EmmaWatson_fla.Symbol86_233} Frame 1Symbol 533 MovieClip {EmmaWatson_fla.Symbol83_234}
"rouge"Symbol 561 MovieClip {EmmaWatson_fla.Symbol86_233} Frame 1Symbol 543 MovieClip {EmmaWatson_fla.Symbol84_237}
"lip"Symbol 561 MovieClip {EmmaWatson_fla.Symbol86_233} Frame 1Symbol 555 MovieClip {EmmaWatson_fla.Symbol58tool_239}
"mascara"Symbol 561 MovieClip {EmmaWatson_fla.Symbol86_233} Frame 1Symbol 558 MovieClip
"hit"Symbol 561 MovieClip {EmmaWatson_fla.Symbol86_233} Frame 1Symbol 560 MovieClip
"sndoff"Symbol 583 MovieClip {EmmaWatson_fla.Symbol42_248} Frame 1Symbol 577 MovieClip {EmmaWatson_fla.soundon_249}
"sndon"Symbol 583 MovieClip {EmmaWatson_fla.Symbol42_248} Frame 2Symbol 582 MovieClip
"oo"Symbol 619 MovieClip {EmmaWatson_fla.Timeline_273} Frame 1Symbol 618 EditableText
"oo"Symbol 633 MovieClip {EmmaWatson_fla.Symbol43_283} Frame 1Symbol 632 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.

Labels

"on"Symbol 583 MovieClip {EmmaWatson_fla.Symbol42_248} Frame 1
"off"Symbol 583 MovieClip {EmmaWatson_fla.Symbol42_248} Frame 2




http://swfchan.com/25/124804/info.shtml
Created: 1/3 -2019 00:13:45 Last modified: 1/3 -2019 00:13:45 Server time: 22/12 -2024 21:42:51