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/43689596?noj=FRM43689596-22DC" width="1" height="1"></div>

5112894c8d780.swf

This is the info page for
Flash #256910

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


Text
<p align="left"></p><p align="left"></p>

<p align="center"><font face="Recovery" size="14" color="#f447a6" letterSpacing="0.000000" kerning="0">-</font></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"><font face="Recovery" size="100" color="#fae24f" letterSpacing="0.000000" kerning="0">50,000</font></p><p align="center"></p>

<p align="center"><font face="Recovery" size="100" color="#fae24f" letterSpacing="0.000000" kerning="0">50,000</font></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="right"></p><p align="right"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="right"></p><p align="right"></p>

<p align="center"></p><p align="center"></p>

<p align="left"><font face="Recovery" size="20" color="#550041" letterSpacing="0.000000" kerning="0">Keep saving diamonds! Collecting them will finish the game.</font></p><p align="left"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="center"></p><p align="center"></p>

<p align="left"></p><p align="left"></p><p align="left"></p>

<p align="left"></p><p align="left"></p><p align="left"></p>

<p align="left"></p><p align="left"></p><p align="left"></p><p align="left"></p>

<p align="left"></p><p align="left"></p><p align="left"></p>

<p align="center"></p><p align="center"></p>

<p align="center"><font face="Recovery_24pt_st" size="24" color="#660066" letterSpacing="0.000000" kerning="0">start</font></p><p align="center"></p>

<p align="left"></p><p align="left"></p>

ActionScript [AS3]

Section 1
//AutoLoopingFlare12Fps (anim.AutoLoopingFlare12Fps) package anim { public class AutoLoopingFlare12Fps extends BaseFlare { public function AutoLoopingFlare12Fps(){ m_isPaused = false; m_isLoop = true; m_isRemoveAfterPlay = false; setFrameRate(12); start(); } } }//package anim
Section 2
//AutoLoopingFlare25Fps (anim.AutoLoopingFlare25Fps) package anim { public class AutoLoopingFlare25Fps extends BaseFlare { public function AutoLoopingFlare25Fps(){ m_isPaused = false; m_isLoop = true; m_isRemoveAfterPlay = false; setFrameRate(25); start(); } } }//package anim
Section 3
//AutoLoopingRndStart25Fps (anim.AutoLoopingRndStart25Fps) package anim { public class AutoLoopingRndStart25Fps extends BaseFlare { public function AutoLoopingRndStart25Fps(){ m_isPaused = false; m_isLoop = true; m_frameOffset = Math.floor(((Math.random() * totalFrames) - 1)); m_isRemoveAfterPlay = false; setFrameRate(25); start(); } } }//package anim
Section 4
//AutoSingleFlare12Fps (anim.AutoSingleFlare12Fps) package anim { public class AutoSingleFlare12Fps extends BaseFlare { public function AutoSingleFlare12Fps(){ m_isPaused = false; m_isLoop = false; m_isRemoveAfterPlay = false; setFrameRate(12); start(); } } }//package anim
Section 5
//AutoSingleFlare25Fps (anim.AutoSingleFlare25Fps) package anim { import flash.text.*; public class AutoSingleFlare25Fps extends BaseFlare { public var txtScore:TextField; public function AutoSingleFlare25Fps(){ m_isPaused = false; m_isLoop = false; m_isRemoveAfterPlay = false; setFrameRate(25); start(); } } }//package anim
Section 6
//AutoSingleFlare50Fps (anim.AutoSingleFlare50Fps) package anim { import flash.display.*; public class AutoSingleFlare50Fps extends BaseFlare { public var mcNum:MovieClip; public var mcTime:MovieClip; public function AutoSingleFlare50Fps(){ m_isPaused = false; m_isLoop = false; m_isRemoveAfterPlay = false; setFrameRate(50); start(); } } }//package anim
Section 7
//AutoSingleRndStart20Fps (anim.AutoSingleRndStart20Fps) package anim { public class AutoSingleRndStart20Fps extends BaseFlare { public function AutoSingleRndStart20Fps(){ m_isPaused = false; m_isLoop = false; m_frameOffset = Math.floor((Math.random() * 2)); m_isRemoveAfterPlay = false; setFrameRate(20); start(); } } }//package anim
Section 8
//BaseFlare (anim.BaseFlare) package anim { import flash.display.*; import flash.events.*; import flash.utils.*; public class BaseFlare extends MovieClip { protected var m_isLoop:Boolean; protected var m_isPaused:Boolean; protected var m_frameOffset:int; private var m_restartAt:int; private var m_firstRender:Boolean; private var m_step:Number; private var m_lastFrame:uint; protected var m_frameRate:int; protected var m_isRemoveAfterPlay:Boolean; private var m_startTime:int; public function BaseFlare(){ super.stop(); m_lastFrame = 0; m_restartAt = 0; m_frameOffset = 0; m_isPaused = false; m_isRemoveAfterPlay = true; m_firstRender = true; m_isLoop = true; if (!m_isPaused){ start(); }; setFrameRate(30); } override public function stop():void{ m_firstRender = true; removeEventListener(Event.ENTER_FRAME, enterFrame); if (m_isRemoveAfterPlay){ parent.removeChild(this); }; } public function setDestroyAfterPlay(_arg1:Boolean):void{ m_isRemoveAfterPlay = _arg1; } public function start():void{ m_lastFrame = 0; m_firstRender = true; addEventListener(Event.ENTER_FRAME, enterFrame); } public function setLoopRestartFrame(_arg1:int):void{ m_restartAt = _arg1; } public function setLoop(_arg1:Boolean):void{ m_isLoop = _arg1; } public function setFrameRate(_arg1:int):void{ m_frameRate = _arg1; m_step = ((1 / m_frameRate) * 1000); } public function enterFrame(_arg1:Event):void{ var _local2:int = getTimer(); if (m_firstRender){ m_startTime = _local2; m_firstRender = false; }; var _local3:uint = (m_frameOffset + int(Math.round((((_local2 - m_startTime) / m_step) + 1)))); if (_local3 > totalFrames){ if (m_isLoop){ m_firstRender = true; m_frameOffset = m_restartAt; _local3 = totalFrames; } else { stop(); return; }; }; if (_local3 != m_lastFrame){ gotoAndStop(_local3); m_lastFrame = _local3; }; } public function setFrameOffSet(_arg1:int):void{ m_frameOffset = _arg1; } } }//package anim
Section 9
//EaseInQuadInterpolator (anim.EaseInQuadInterpolator) package anim { public class EaseInQuadInterpolator extends Interpolator { public function EaseInQuadInterpolator(_arg1:Number, _arg2:Number, _arg3:int){ super(_arg1, _arg2, _arg3); } override public function nextPosition():void{ m_value = PennerEase.easeInQuad(m_dt, m_startValue, (m_targetValue - m_startValue), m_duration); } } }//package anim
Section 10
//EaseOutInterpolator (anim.EaseOutInterpolator) package anim { public class EaseOutInterpolator extends Interpolator { public function EaseOutInterpolator(_arg1:Number, _arg2:Number, _arg3:int){ super(_arg1, _arg2, _arg3); } private function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } override public function nextPosition():void{ m_value = easeOut(m_dt, m_startValue, (m_targetValue - m_startValue), m_duration); } } }//package anim
Section 11
//Interpolator (anim.Interpolator) package anim { public class Interpolator { protected var m_startValue:Number; protected var m_finished:Boolean; protected var m_duration:int; protected var m_dt:int; protected var m_dv:Number; protected var m_targetValue:Number; protected var m_value:Number; public function Interpolator(_arg1:Number, _arg2:Number, _arg3:int){ m_startValue = _arg1; m_targetValue = _arg2; m_duration = _arg3; m_dt = 0; m_value = _arg1; m_finished = false; m_dv = (m_targetValue - m_startValue); } public function nextPosition():void{ m_value = (((m_dv * m_dt) / m_duration) + m_startValue); } public function getValue():Number{ return (m_value); } public function update():Boolean{ if (!m_finished){ m_dt++; nextPosition(); if (m_dt == m_duration){ m_value = m_targetValue; m_finished = true; }; }; return (m_finished); } public function getTargetValue():Number{ return (m_targetValue); } public function getElapsedPercent():Number{ if (m_duration == 0){ return (1); }; return ((Math.max(0, (m_duration - m_dt)) / m_duration)); } public function isDone():Boolean{ return (m_finished); } } }//package anim
Section 12
//PennerEase (anim.PennerEase) package anim { public class PennerEase { public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; var _local7:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local6 = (_local7 / 4); } else { _local6 = ((_local7 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ _arg1--; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local6) * (2 * Math.PI)) / _local7)))) + _arg2)); }; _arg1--; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local6) * (2 * Math.PI)) / _local7))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; _arg1--; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local7:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local6 = (_local7 / 4); } else { _local6 = ((_local7 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; _arg1--; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local6) * (2 * Math.PI)) / _local7)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):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)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; _arg1--; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local7:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local6 = (_local7 / 4); } else { _local6 = ((_local7 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local6) * (2 * Math.PI)) / _local7))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } } }//package anim
Section 13
//PropTween (com.greensock.core.PropTween) package com.greensock.core { public class PropTween { public var priority:int; public var start:Number; public var prevNode:PropTween; public var change:Number; public var target:Object; public var name:String; public var property:String; public var nextNode:PropTween; public var isPlugin:Boolean; public function PropTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean, _arg7:PropTween=null, _arg8:int=0){ this.target = _arg1; this.property = _arg2; this.start = _arg3; this.change = _arg4; this.name = _arg5; this.isPlugin = _arg6; if (_arg7){ _arg7.prevNode = this; this.nextNode = _arg7; }; this.priority = _arg8; } } }//package com.greensock.core
Section 14
//SimpleTimeline (com.greensock.core.SimpleTimeline) package com.greensock.core { public class SimpleTimeline extends TweenCore { public var autoRemoveChildren:Boolean; protected var _lastChild:TweenCore; protected var _firstChild:TweenCore; public function SimpleTimeline(_arg1:Object=null){ super(0, _arg1); } override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{ var _local4:Number; var _local5:TweenCore; var _local6:TweenCore = _firstChild; this.cachedTotalTime = _arg1; this.cachedTime = _arg1; while (_local6) { _local5 = _local6.nextNode; if (((_local6.active) || ((((_arg1 >= _local6.cachedStartTime)) && (!(_local6.cachedPaused)))))){ if (!_local6.cachedReversed){ _local6.renderTime(((_arg1 - _local6.cachedStartTime) * _local6.cachedTimeScale), _arg2, false); } else { _local4 = (_local6.cacheIsDirty) ? _local6.totalDuration : _local6.cachedTotalDuration; _local6.renderTime((_local4 - ((_arg1 - _local6.cachedStartTime) * _local6.cachedTimeScale)), _arg2, false); }; }; _local6 = _local5; }; } public function addChild(_arg1:TweenCore):void{ if (_arg1.timeline){ _arg1.timeline.remove(_arg1, true); }; _arg1.timeline = this; if (_arg1.gc){ _arg1.setEnabled(true, true); }; if (_firstChild){ _firstChild.prevNode = _arg1; _arg1.nextNode = _firstChild; } else { _arg1.nextNode = null; }; _firstChild = _arg1; _arg1.prevNode = null; } public function remove(_arg1:TweenCore, _arg2:Boolean=false):void{ if (((!(_arg1.gc)) && (!(_arg2)))){ _arg1.setEnabled(false, true); }; if (_arg1.nextNode){ _arg1.nextNode.prevNode = _arg1.prevNode; } else { if (_lastChild == _arg1){ _lastChild = _arg1.prevNode; }; }; if (_arg1.prevNode){ _arg1.prevNode.nextNode = _arg1.nextNode; } else { if (_firstChild == _arg1){ _firstChild = _arg1.nextNode; }; }; _arg1.nextNode = (_arg1.prevNode = null); } public function get rawTime():Number{ return (this.cachedTotalTime); } } }//package com.greensock.core
Section 15
//TweenCore (com.greensock.core.TweenCore) package com.greensock.core { import com.greensock.*; public class TweenCore { public var initted:Boolean; protected var _hasUpdate:Boolean; public var active:Boolean; protected var _delay:Number; public var cachedTime:Number; public var cachedReversed:Boolean; public var nextNode:TweenCore; protected var _rawPrevTime:Number;// = -1 public var vars:Object; public var cachedTotalTime:Number; public var timeline:SimpleTimeline; public var data; public var cachedStartTime:Number; public var prevNode:TweenCore; public var cachedDuration:Number; public var gc:Boolean; protected var _pauseTime:Number; public var cacheIsDirty:Boolean; public var cachedPaused:Boolean; public var cachedTimeScale:Number; public var cachedTotalDuration:Number; public static const version:Number = 1; protected static var _classInitted:Boolean; public function TweenCore(_arg1:Number=0, _arg2:Object=null){ this.vars = ((_arg2) || ({})); this.cachedDuration = (this.cachedTotalDuration = ((_arg1) || (0))); _delay = ((this.vars.delay) || (0)); this.cachedTimeScale = ((this.vars.timeScale) || (1)); this.active = Boolean((((((_arg1 == 0)) && ((_delay == 0)))) && (!((this.vars.immediateRender == false))))); this.cachedTotalTime = (this.cachedTime = 0); this.data = this.vars.data; if (!_classInitted){ if (isNaN(TweenLite.rootFrame)){ TweenLite.initClass(); _classInitted = true; } else { return; }; }; var _local3:SimpleTimeline = ((this.vars.timeline is SimpleTimeline)) ? this.vars.timeline : (this.vars.useFrames) ? TweenLite.rootFramesTimeline : TweenLite.rootTimeline; this.cachedStartTime = (_local3.cachedTotalTime + _delay); _local3.addChild(this); if (this.vars.reversed){ this.cachedReversed = true; }; if (this.vars.paused){ this.paused = true; }; } public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{ } public function get delay():Number{ return (_delay); } public function get duration():Number{ return (this.cachedDuration); } public function restart(_arg1:Boolean=false, _arg2:Boolean=true):void{ this.reversed = false; this.paused = false; this.setTotalTime((_arg1) ? -(_delay) : 0, _arg2); } public function set reversed(_arg1:Boolean):void{ if (_arg1 != this.cachedReversed){ this.cachedReversed = _arg1; setTotalTime(this.cachedTotalTime, true); }; } public function set startTime(_arg1:Number):void{ var _local2:Boolean = Boolean(((!((this.timeline == null))) && (((!((_arg1 == this.cachedStartTime))) || (this.gc))))); this.cachedStartTime = _arg1; if (_local2){ this.timeline.addChild(this); }; } public function set delay(_arg1:Number):void{ this.startTime = (this.startTime + (_arg1 - _delay)); _delay = _arg1; } public function resume():void{ this.paused = false; } public function get paused():Boolean{ return (this.cachedPaused); } public function play():void{ this.reversed = false; this.paused = false; } public function set duration(_arg1:Number):void{ this.cachedDuration = (this.cachedTotalDuration = _arg1); setDirtyCache(false); } public function complete(_arg1:Boolean=false, _arg2:Boolean=false):void{ if (!_arg1){ renderTime(this.cachedTotalDuration, _arg2, false); return; }; if (this.timeline.autoRemoveChildren){ this.setEnabled(false, false); } else { this.active = false; }; if (!_arg2){ if (((((this.vars.onComplete) && ((this.cachedTime == this.cachedDuration)))) && (!(this.cachedReversed)))){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); } else { if (((((this.cachedReversed) && ((this.cachedTotalTime == 0)))) && (this.vars.onReverseComplete))){ this.vars.onReverseComplete.apply(null, this.vars.onReverseCompleteParams); }; }; }; } public function invalidate():void{ } public function get totalTime():Number{ return (this.cachedTotalTime); } public function get reversed():Boolean{ return (this.cachedReversed); } public function get startTime():Number{ return (this.cachedStartTime); } public function set currentTime(_arg1:Number):void{ setTotalTime(_arg1, false); } protected function setDirtyCache(_arg1:Boolean=true):void{ var _local2:TweenCore = (_arg1) ? this : this.timeline; while (_local2) { _local2.cacheIsDirty = true; _local2 = _local2.timeline; }; } public function reverse(_arg1:Boolean=true):void{ this.reversed = true; if (_arg1){ this.paused = false; } else { if (this.gc){ this.setEnabled(true, false); }; }; } public function set paused(_arg1:Boolean):void{ if (((!((_arg1 == this.cachedPaused))) && (this.timeline))){ if (_arg1){ _pauseTime = this.timeline.rawTime; } else { this.cachedStartTime = (this.cachedStartTime + (this.timeline.rawTime - _pauseTime)); _pauseTime = NaN; setDirtyCache(false); }; this.cachedPaused = _arg1; this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration)))); }; if (((!(_arg1)) && (this.gc))){ this.setEnabled(true, false); }; } public function kill():void{ setEnabled(false, false); } public function set totalTime(_arg1:Number):void{ setTotalTime(_arg1, false); } public function get currentTime():Number{ return (this.cachedTime); } protected function setTotalTime(_arg1:Number, _arg2:Boolean=false):void{ var _local3:Number; var _local4:Number; if (this.timeline){ _local3 = (((_pauseTime) || ((_pauseTime == 0)))) ? _pauseTime : this.timeline.cachedTotalTime; if (this.cachedReversed){ _local4 = (this.cacheIsDirty) ? this.totalDuration : this.cachedTotalDuration; this.cachedStartTime = (_local3 - ((_local4 - _arg1) / this.cachedTimeScale)); } else { this.cachedStartTime = (_local3 - (_arg1 / this.cachedTimeScale)); }; if (!this.timeline.cacheIsDirty){ setDirtyCache(false); }; if (this.cachedTotalTime != _arg1){ renderTime(_arg1, _arg2, false); }; }; } public function pause():void{ this.paused = true; } public function set totalDuration(_arg1:Number):void{ this.duration = _arg1; } public function get totalDuration():Number{ return (this.cachedTotalDuration); } public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{ if (_arg1 == this.gc){ this.gc = !(_arg1); if (_arg1){ this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration)))); if (!_arg2){ this.timeline.addChild(this); }; } else { this.active = false; if (!_arg2){ this.timeline.remove(this); }; }; }; return (false); } } }//package com.greensock.core
Section 16
//FastEase (com.greensock.easing.FastEase) package com.greensock.easing { import com.greensock.*; public class FastEase { public static function activateEase(_arg1:Function, _arg2:int, _arg3:uint):void{ TweenLite.fastEaseLookup[_arg1] = [_arg2, _arg3]; } public static function activate(_arg1:Array):void{ var _local2:Object; var _local3:int = _arg1.length; while (_local3--) { _local2 = _arg1[_local3]; if (_local2.hasOwnProperty("power")){ activateEase(_local2.easeIn, 1, _local2.power); activateEase(_local2.easeOut, 2, _local2.power); activateEase(_local2.easeInOut, 3, _local2.power); if (_local2.hasOwnProperty("easeNone")){ activateEase(_local2.easeNone, 1, 0); }; }; }; } } }//package com.greensock.easing
Section 17
//Linear (com.greensock.easing.Linear) package com.greensock.easing { public class Linear extends FastEase { public static const power:uint = 0; public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } } }//package com.greensock.easing
Section 18
//BezierPlugin (com.greensock.plugins.BezierPlugin) package com.greensock.plugins { import com.greensock.*; import com.greensock.core.*; public class BezierPlugin extends TweenPlugin { protected var _future:Object; protected var _orient:Boolean; protected var _orientData:Array; protected var _target:Object; protected var _beziers:Object; public static const API:Number = 1; protected static const _RAD2DEG:Number = 57.2957795130823; public function BezierPlugin(){ _future = {}; super(); this.propName = "bezier"; this.overwriteProps = []; } override public function killProps(_arg1:Object):void{ var _local2:String; for (_local2 in _beziers) { if ((_local2 in _arg1)){ delete _beziers[_local2]; }; }; super.killProps(_arg1); } protected function init(_arg1:TweenLite, _arg2:Array, _arg3:Boolean):void{ var _local4:int; var _local5:String; var _local6:Object; _target = _arg1.target; var _local7:Object = ((_arg1.vars.isTV)==true) ? _arg1.vars.exposedVars : _arg1.vars; if (_local7.orientToBezier == true){ _orientData = [["x", "y", "rotation", 0, 0.01]]; _orient = true; } else { if ((_local7.orientToBezier is Array)){ _orientData = _local7.orientToBezier; _orient = true; }; }; var _local8:Object = {}; _local4 = 0; while (_local4 < _arg2.length) { for (_local5 in _arg2[_local4]) { if (_local8[_local5] == undefined){ _local8[_local5] = [_arg1.target[_local5]]; }; if (typeof(_arg2[_local4][_local5]) == "number"){ _local8[_local5].push(_arg2[_local4][_local5]); } else { _local8[_local5].push((_arg1.target[_local5] + Number(_arg2[_local4][_local5]))); }; }; _local4++; }; for (_local5 in _local8) { this.overwriteProps[this.overwriteProps.length] = _local5; if (_local7[_local5] != undefined){ if (typeof(_local7[_local5]) == "number"){ _local8[_local5].push(_local7[_local5]); } else { _local8[_local5].push((_arg1.target[_local5] + Number(_local7[_local5]))); }; _local6 = {}; _local6[_local5] = true; _arg1.killVars(_local6, false); delete _local7[_local5]; }; }; _beziers = parseBeziers(_local8, _arg3); } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (!(_arg2 is Array)){ return (false); }; init(_arg3, (_arg2 as Array), false); return (true); } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:String; var _local4:Object; var _local5:Number; var _local6:uint; var _local7:Number; var _local8:Object; var _local9:Number; var _local10:Number; var _local11:Array; var _local12:Number; var _local13:Object; var _local14:Boolean; if (_arg1 == 1){ for (_local3 in _beziers) { _local2 = (_beziers[_local3].length - 1); _target[_local3] = _beziers[_local3][_local2][2]; }; } else { for (_local3 in _beziers) { _local6 = _beziers[_local3].length; if (_arg1 < 0){ _local2 = 0; } else { if (_arg1 >= 1){ _local2 = (_local6 - 1); } else { _local2 = int((_local6 * _arg1)); }; }; _local5 = ((_arg1 - (_local2 * (1 / _local6))) * _local6); _local4 = _beziers[_local3][_local2]; if (this.round){ _local7 = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0]))))); _target[_local3] = ((_local7)>0) ? int((_local7 + 0.5)) : int((_local7 - 0.5)); } else { _target[_local3] = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0]))))); }; }; }; if (_orient){ _local2 = _orientData.length; _local8 = {}; while (_local2--) { _local11 = _orientData[_local2]; _local8[_local11[0]] = _target[_local11[0]]; _local8[_local11[1]] = _target[_local11[1]]; }; _local13 = _target; _local14 = this.round; _target = _future; this.round = false; _orient = false; _local2 = _orientData.length; while (_local2--) { _local11 = _orientData[_local2]; this.changeFactor = (_arg1 + ((_local11[4]) || (0.01))); _local12 = ((_local11[3]) || (0)); _local9 = (_future[_local11[0]] - _local8[_local11[0]]); _local10 = (_future[_local11[1]] - _local8[_local11[1]]); _local13[_local11[2]] = ((Math.atan2(_local10, _local9) * _RAD2DEG) + _local12); }; _target = _local13; this.round = _local14; _orient = true; }; } public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{ var _local3:int; var _local4:Array; var _local5:Object; var _local6:String; var _local7:Object = {}; if (_arg2){ for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 2){ _local5[_local5.length] = [_local4[0], (_local4[1] - ((_local4[2] - _local4[0]) / 4)), _local4[1]]; _local3 = 1; while (_local3 < (_local4.length - 1)) { _local5[_local5.length] = [_local4[_local3], (_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)][1])), _local4[(_local3 + 1)]]; _local3++; }; } else { _local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]]; }; }; } else { for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 3){ _local5[_local5.length] = [_local4[0], _local4[1], ((_local4[1] + _local4[2]) / 2)]; _local3 = 2; while (_local3 < (_local4.length - 2)) { _local5[_local5.length] = [_local5[(_local3 - 2)][2], _local4[_local3], ((_local4[_local3] + _local4[(_local3 + 1)]) / 2)]; _local3++; }; _local5[_local5.length] = [_local5[(_local5.length - 1)][2], _local4[(_local4.length - 2)], _local4[(_local4.length - 1)]]; } else { if (_local4.length == 3){ _local5[_local5.length] = [_local4[0], _local4[1], _local4[2]]; } else { if (_local4.length == 2){ _local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]]; }; }; }; }; }; return (_local7); } } }//package com.greensock.plugins
Section 19
//ColorMatrixFilterPlugin (com.greensock.plugins.ColorMatrixFilterPlugin) package com.greensock.plugins { import flash.display.*; import com.greensock.*; import flash.filters.*; public class ColorMatrixFilterPlugin extends FilterPlugin { protected var _matrix:Array; protected var _matrixTween:EndArrayPlugin; public static const API:Number = 1; private static var _propNames:Array = []; protected static var _lumG:Number = 0.71516; protected static var _lumR:Number = 0.212671; protected static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; protected static var _lumB:Number = 0.072169; public function ColorMatrixFilterPlugin(){ this.propName = "colorMatrixFilter"; this.overwriteProps = ["colorMatrixFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = ColorMatrixFilter; var _local4:Object = _arg2; initFilter({remove:_arg2.remove, index:_arg2.index, addFilter:_arg2.addFilter}, new ColorMatrixFilter(_idMatrix.slice()), _propNames); _matrix = ColorMatrixFilter(_filter).matrix; var _local5:Array = []; if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){ _local5 = _local4.matrix; } else { if (_local4.relative == true){ _local5 = _matrix.slice(); } else { _local5 = _idMatrix.slice(); }; _local5 = setBrightness(_local5, _local4.brightness); _local5 = setContrast(_local5, _local4.contrast); _local5 = setHue(_local5, _local4.hue); _local5 = setSaturation(_local5, _local4.saturation); _local5 = setThreshold(_local5, _local4.threshold); if (!isNaN(_local4.colorize)){ _local5 = colorize(_local5, _local4.colorize, _local4.amount); }; }; _matrixTween = new EndArrayPlugin(); _matrixTween.init(_matrix, _local5); return (true); } override public function set changeFactor(_arg1:Number):void{ _matrixTween.changeFactor = _arg1; ColorMatrixFilter(_filter).matrix = _matrix; super.changeFactor = _arg1; } public static function setSaturation(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; var _local3:Number = (1 - _arg2); var _local4:Number = (_local3 * _lumR); var _local5:Number = (_local3 * _lumG); var _local6:Number = (_local3 * _lumB); var _local7:Array = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local7, _arg1)); } public static function setHue(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 * (Math.PI / 180)); var _local3:Number = Math.cos(_arg2); var _local4:Number = Math.sin(_arg2); var _local5:Array = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; return (applyMatrix(_local5, _arg1)); } public static function setContrast(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 + 0.01); var _local3:Array = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function applyMatrix(_arg1:Array, _arg2:Array):Array{ var _local3:int; var _local4:int; var _local6:int; var _local7:int; if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (_arg2); }; var _local5:Array = []; _local3 = 0; while (_local3 < 4) { _local4 = 0; while (_local4 < 5) { if (_local4 == 4){ _local7 = _arg1[(_local6 + 4)]; } else { _local7 = 0; }; _local5[(_local6 + _local4)] = (((((_arg1[_local6] * _arg2[_local4]) + (_arg1[(_local6 + 1)] * _arg2[(_local4 + 5)])) + (_arg1[(_local6 + 2)] * _arg2[(_local4 + 10)])) + (_arg1[(_local6 + 3)] * _arg2[(_local4 + 15)])) + _local7); _local4++; }; _local6 = (_local6 + 5); _local3++; }; return (_local5); } public static function setThreshold(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; var _local3:Array = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{ if (isNaN(_arg2)){ return (_arg1); }; if (isNaN(_arg3)){ _arg3 = 1; }; var _local4:Number = (((_arg2 >> 16) & 0xFF) / 0xFF); var _local5:Number = (((_arg2 >> 8) & 0xFF) / 0xFF); var _local6:Number = ((_arg2 & 0xFF) / 0xFF); var _local7:Number = (1 - _arg3); var _local8:Array = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local8, _arg1)); } public static function setBrightness(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = ((_arg2 * 100) - 100); return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1)); } } }//package com.greensock.plugins
Section 20
//EndArrayPlugin (com.greensock.plugins.EndArrayPlugin) package com.greensock.plugins { import flash.display.*; import com.greensock.*; public class EndArrayPlugin extends TweenPlugin { protected var _a:Array; protected var _info:Array; public static const API:Number = 1; public function EndArrayPlugin(){ _info = []; super(); this.propName = "endArray"; this.overwriteProps = ["endArray"]; } public function init(_arg1:Array, _arg2:Array):void{ _a = _arg1; var _local3:int = _arg2.length; while (_local3--) { if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){ _info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_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); } override public function set changeFactor(_arg1:Number):void{ var _local2:ArrayTweenInfo; var _local3:Number; var _local4:int = _info.length; if (this.round){ while (_local4--) { _local2 = _info[_local4]; _local3 = (_local2.start + (_local2.change * _arg1)); _a[_local2.index] = ((_local3)>0) ? int((_local3 + 0.5)) : int((_local3 - 0.5)); }; } else { while (_local4--) { _local2 = _info[_local4]; _a[_local2.index] = (_local2.start + (_local2.change * _arg1)); }; }; } } }//package com.greensock.plugins class ArrayTweenInfo { public var change:Number; public var start:Number; public var index:uint; private function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){ this.index = _arg1; this.start = _arg2; this.change = _arg3; } }
Section 21
//FilterPlugin (com.greensock.plugins.FilterPlugin) package com.greensock.plugins { import flash.display.*; import com.greensock.*; import com.greensock.core.*; import flash.filters.*; public class FilterPlugin extends TweenPlugin { protected var _remove:Boolean; protected var _target:Object; protected var _index:int; protected var _filter:BitmapFilter; protected var _type:Class; public static const VERSION:Number = 2.03; public static const API:Number = 1; public function onCompleteTween():void{ var _local1:Array; var _local2:int; if (_remove){ _local1 = _target.filters; if (!(_local1[_index] is _type)){ _local2 = _local1.length; while (_local2--) { if ((_local1[_local2] is _type)){ _local1.splice(_local2, 1); break; }; }; } else { _local1.splice(_index, 1); }; _target.filters = _local1; }; } protected function initFilter(_arg1:Object, _arg2:BitmapFilter, _arg3:Array):void{ var _local4:String; var _local5:int; var _local6:HexColorsPlugin; var _local7:Array = _target.filters; var _local8:Object = ((_arg1 is BitmapFilter)) ? {} : _arg1; _index = -1; if (_local8.index != null){ _index = _local8.index; } else { _local5 = _local7.length; while (_local5--) { if ((_local7[_local5] is _type)){ _index = _local5; break; }; }; }; if ((((((_index == -1)) || ((_local7[_index] == null)))) || ((_local8.addFilter == true)))){ _index = ((_local8.index)!=null) ? _local8.index : _local7.length; _local7[_index] = _arg2; _target.filters = _local7; }; _filter = _local7[_index]; if (_local8.remove == true){ _remove = true; this.onComplete = onCompleteTween; }; _local5 = _arg3.length; while (_local5--) { _local4 = _arg3[_local5]; if ((((_local4 in _arg1)) && (!((_filter[_local4] == _arg1[_local4]))))){ if ((((((_local4 == "color")) || ((_local4 == "highlightColor")))) || ((_local4 == "shadowColor")))){ _local6 = new HexColorsPlugin(); _local6.initColor(_filter, _local4, _filter[_local4], _arg1[_local4]); _tweens[_tweens.length] = new PropTween(_local6, "changeFactor", 0, 1, _local4, false); } else { if ((((((((_local4 == "quality")) || ((_local4 == "inner")))) || ((_local4 == "knockout")))) || ((_local4 == "hideObject")))){ _filter[_local4] = _arg1[_local4]; } else { addTween(_filter, _local4, _filter[_local4], _arg1[_local4], _local4); }; }; }; }; } override public function set changeFactor(_arg1:Number):void{ var _local2:PropTween; var _local3:int = _tweens.length; var _local4:Array = _target.filters; while (_local3--) { _local2 = _tweens[_local3]; _local2.target[_local2.property] = (_local2.start + (_local2.change * _arg1)); }; if (!(_local4[_index] is _type)){ _local3 = (_index = _local4.length); while (_local3--) { if ((_local4[_local3] is _type)){ _index = _local3; break; }; }; }; _local4[_index] = _filter; _target.filters = _local4; } } }//package com.greensock.plugins
Section 22
//HexColorsPlugin (com.greensock.plugins.HexColorsPlugin) package com.greensock.plugins { import flash.display.*; import com.greensock.*; public class HexColorsPlugin extends TweenPlugin { protected var _colors:Array; public static const API:Number = 1; public function HexColorsPlugin(){ this.propName = "hexColors"; this.overwriteProps = []; _colors = []; } override public function killProps(_arg1:Object):void{ var _local2:int = (_colors.length - 1); while (_local2 > -1) { if (_arg1[_colors[_local2][1]] != undefined){ _colors.splice(_local2, 1); }; _local2--; }; super.killProps(_arg1); } public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{ var _local5:Number; var _local6:Number; var _local7:Number; if (_arg3 != _arg4){ _local5 = (_arg3 >> 16); _local6 = ((_arg3 >> 8) & 0xFF); _local7 = (_arg3 & 0xFF); _colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)]; this.overwriteProps[this.overwriteProps.length] = _arg2; }; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:Array; _local2 = (_colors.length - 1); while (_local2 > -1) { _local3 = _colors[_local2]; _local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7]))); _local2--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:String; for (_local4 in _arg2) { initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4])); }; return (true); } } }//package com.greensock.plugins
Section 23
//TweenPlugin (com.greensock.plugins.TweenPlugin) package com.greensock.plugins { import com.greensock.*; import com.greensock.core.*; public class TweenPlugin { public var activeDisable:Boolean; protected var _changeFactor:Number;// = 0 protected var _tweens:Array; public var onDisable:Function; public var propName:String; public var round:Boolean; public var onEnable:Function; public var priority:int;// = 0 public var overwriteProps:Array; public var onComplete:Function; public static const VERSION:Number = 1.31; public static const API:Number = 1; public function TweenPlugin(){ _tweens = []; super(); } protected function updateTweens(_arg1:Number):void{ var _local2:PropTween; var _local3:Number; var _local4:int = _tweens.length; if (this.round){ while (_local4--) { _local2 = _tweens[_local4]; _local3 = (_local2.start + (_local2.change * _arg1)); _local2.target[_local2.property] = ((_local3)>0) ? int((_local3 + 0.5)) : int((_local3 - 0.5)); }; } else { while (_local4--) { _local2 = _tweens[_local4]; _local2.target[_local2.property] = (_local2.start + (_local2.change * _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") ? (Number(_arg4) - _arg3) : Number(_arg4); if (_local6 != 0){ _tweens[_tweens.length] = new PropTween(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false); }; }; } public function get changeFactor():Number{ return (_changeFactor); } public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName); return (true); } public function killProps(_arg1:Object):void{ var _local2:int = this.overwriteProps.length; while (_local2--) { if ((this.overwriteProps[_local2] in _arg1)){ this.overwriteProps.splice(_local2, 1); }; }; _local2 = _tweens.length; while (_local2--) { if ((PropTween(_tweens[_local2]).name in _arg1)){ _tweens.splice(_local2, 1); }; }; } public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _changeFactor = _arg1; } public static function activate(_arg1:Array):Boolean{ var _local2:Object; TweenLite.onPluginEvent = TweenPlugin.onTweenEvent; var _local3:int = _arg1.length; while (_local3--) { if (_arg1[_local3].hasOwnProperty("API")){ _local2 = new ((_arg1[_local3] as Class)); TweenLite.plugins[_local2.propName] = _arg1[_local3]; }; }; return (true); } private static function onTweenEvent(_arg1:String, _arg2:TweenLite):Boolean{ var _local4:Array; var _local5:int; var _local7:*; var _local3:Boolean; var _local6:PropTween = _arg2.cachedPT1; if (_arg1 == "onInit"){ _local4 = []; while (_local6) { _local4[_local4.length] = _local6; _local6 = _local6.nextNode; }; _local4.sortOn("priority", (Array.NUMERIC | Array.DESCENDING)); _local5 = _local4.length; while (_local5--) { PropTween(_local4[_local5]).nextNode = _local4[(_local5 + 1)]; PropTween(_local4[_local5]).prevNode = _local4[(_local5 - 1)]; }; _arg2.cachedPT1 = _local4[0]; } else { while (_local6) { if (((_local6.isPlugin) && (_local6.target[_arg1]))){ if (_local6.target.activeDisable){ _local3 = true; }; _local7 = _local6.target; var _local8 = _local7; _local8[_arg1](); }; _local6 = _local6.nextNode; }; }; return (_local3); } } }//package com.greensock.plugins
Section 24
//TweenLite (com.greensock.TweenLite) package com.greensock { import flash.display.*; import flash.events.*; import com.greensock.core.*; import com.greensock.plugins.*; import flash.utils.*; public class TweenLite extends TweenCore { protected var _hasPlugins:Boolean; public var propTweenLookup:Object; public var cachedPT1:PropTween; protected var _overwrite:uint; protected var _ease:Function; public var target:Object; public var ratio:Number;// = 0 protected var _overwrittenProps:Object; protected var _notifyPluginsOfEnabled:Boolean; public static const version:Number = 11.101; public static var rootTimeline:SimpleTimeline; public static var fastEaseLookup:Dictionary = new Dictionary(false); public static var onPluginEvent:Function; public static var rootFramesTimeline:SimpleTimeline; public static var defaultEase:Function = TweenLite.easeOut; public static var plugins:Object = {}; public static var masterList:Dictionary = new Dictionary(false); public static var overwriteManager:Object; public static var rootFrame:Number; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; private static var _shape:Shape = new Shape(); protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, onReverseComplete:1, onReverseCompleteParams:1, onRepeat:1, onRepeatParams:1, proxiedEase:1, easeParams:1, yoyo:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, onReverseCompleteListener:1, onRepeatListener:1, orientToBezier:1, timeScale:1, immediateRender:1, repeat:1, repeatDelay:1, timeline:1, data:1, paused:1}; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ var _local4:TweenLite; super(_arg2, _arg3); this.target = _arg1; if ((((this.target is TweenCore)) && (("timeScale" in this.vars)))){ this.cachedTimeScale = 1; }; propTweenLookup = {}; _ease = defaultEase; _overwrite = (((!(("overwrite" in _arg3))) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); var _local5:Array = masterList[_arg1]; if (!_local5){ masterList[_arg1] = [this]; } else { if (_overwrite == 1){ for each (_local4 in _local5) { if (!_local4.gc){ _local4.setEnabled(false, false); }; }; masterList[_arg1] = [this]; } else { _local5[_local5.length] = this; }; }; if (((this.active) || (this.vars.immediateRender))){ renderTime(0, false, true); }; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{ var _local4:Boolean; var _local5:Number = this.cachedTime; this.active = true; if (_arg1 >= this.cachedDuration){ this.cachedTotalTime = (this.cachedTime = this.cachedDuration); this.ratio = 1; _local4 = true; if (this.cachedDuration == 0){ if ((((((_arg1 == 0)) || ((_rawPrevTime < 0)))) && (!((_rawPrevTime == _arg1))))){ _arg3 = true; }; _rawPrevTime = _arg1; }; } else { if (_arg1 <= 0){ this.cachedTotalTime = (this.cachedTime = (this.ratio = 0)); if (_arg1 < 0){ this.active = false; if (this.cachedDuration == 0){ if (_rawPrevTime > 0){ _arg3 = true; _local4 = true; }; _rawPrevTime = _arg1; }; }; if (((this.cachedReversed) && (!((_local5 == 0))))){ _local4 = true; }; } else { this.cachedTotalTime = (this.cachedTime = _arg1); this.ratio = _ease(_arg1, 0, 1, this.cachedDuration); }; }; if ((((this.cachedTime == _local5)) && (!(_arg3)))){ return; }; if (!this.initted){ init(); if (((!(_local4)) && (this.cachedTime))){ this.ratio = _ease(this.cachedTime, 0, 1, this.cachedDuration); }; }; if ((((((((_local5 == 0)) && (this.vars.onStart))) && (!((this.cachedTime == 0))))) && (!(_arg2)))){ this.vars.onStart.apply(null, this.vars.onStartParams); }; var _local6:PropTween = this.cachedPT1; while (_local6) { _local6.target[_local6.property] = (_local6.start + (this.ratio * _local6.change)); _local6 = _local6.nextNode; }; if (((_hasUpdate) && (!(_arg2)))){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local4){ if (((_hasPlugins) && (this.cachedPT1))){ onPluginEvent("onComplete", this); }; complete(true, _arg2); }; } override public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{ var _local3:Array; if (_arg1 == this.gc){ if (_arg1){ _local3 = TweenLite.masterList[this.target]; if (!_local3){ TweenLite.masterList[this.target] = [this]; } else { _local3[_local3.length] = this; }; }; super.setEnabled(_arg1, _arg2); if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){ return (onPluginEvent((_arg1) ? "onEnable" : "onDisable", this)); }; }; return (false); } protected function init():void{ var _local1:String; var _local2:int; var _local3:*; var _local5:Array; var _local6:PropTween; var _local4:Boolean; if (typeof(this.vars.ease) == "function"){ _ease = this.vars.ease; }; if (this.vars.easeParams){ this.vars.proxiedEase = _ease; _ease = easeProxy; }; this.cachedPT1 = null; this.propTweenLookup = {}; for (_local1 in this.vars) { if ((((_local1 in _reservedProps)) && (!((((_local1 == "timeScale")) && ((this.target is TweenCore))))))){ } else { if ((((_local1 in plugins)) && (new ((plugins[_local1] as Class)).onInitTween(this.target, this.vars[_local1], this)))){ this.cachedPT1 = new PropTween(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true, this.cachedPT1); if (this.cachedPT1.name == "_MULTIPLE_"){ _local2 = _local3.overwriteProps.length; while (_local2--) { this.propTweenLookup[_local3.overwriteProps[_local2]] = this.cachedPT1; }; } else { this.propTweenLookup[this.cachedPT1.name] = this.cachedPT1; }; if (_local3.priority){ this.cachedPT1.priority = _local3.priority; _local4 = true; }; if (((_local3.onDisable) || (_local3.onEnable))){ _notifyPluginsOfEnabled = true; }; _hasPlugins = true; } else { this.cachedPT1 = new PropTween(this.target, _local1, Number(this.target[_local1]), ((typeof(this.vars[_local1]))=="number") ? (Number(this.vars[_local1]) - this.target[_local1]) : Number(this.vars[_local1]), _local1, false, this.cachedPT1); this.propTweenLookup[_local1] = this.cachedPT1; }; }; }; if (_local4){ onPluginEvent("onInit", this); }; if (this.vars.runBackwards){ _local6 = this.cachedPT1; while (_local6) { _local6.start = (_local6.start + _local6.change); _local6.change = -(_local6.change); _local6 = _local6.nextNode; }; }; _hasUpdate = Boolean(!((this.vars.onUpdate == null))); if (_overwrittenProps){ killVars(_overwrittenProps); if (this.cachedPT1 == null){ this.setEnabled(false, false); }; }; if ((((((((_overwrite > 1)) && (this.cachedPT1))) && (masterList[this.target]))) && ((_local5.length > 1)))){ if (overwriteManager.manageOverwrites(this, this.propTweenLookup, _local5, _overwrite)){ init(); }; }; this.initted = true; } public function killVars(_arg1:Object, _arg2:Boolean=true):Boolean{ var _local3:String; var _local4:PropTween; var _local5:Boolean; if (_overwrittenProps == null){ _overwrittenProps = {}; }; for (_local3 in _arg1) { if ((_local3 in propTweenLookup)){ _local4 = propTweenLookup[_local3]; if (((_local4.isPlugin) && ((_local4.name == "_MULTIPLE_")))){ _local4.target.killProps(_arg1); if (_local4.target.overwriteProps.length == 0){ _local4.name = ""; }; }; if (_local4.name != "_MULTIPLE_"){ if (_local4.nextNode){ _local4.nextNode.prevNode = _local4.prevNode; }; if (_local4.prevNode){ _local4.prevNode.nextNode = _local4.nextNode; } else { if (this.cachedPT1 == _local4){ this.cachedPT1 = _local4.nextNode; }; }; if (((_local4.isPlugin) && (_local4.target.onDisable))){ _local4.target.onDisable(); if (_local4.target.activeDisable){ _local5 = true; }; }; delete propTweenLookup[_local3]; }; }; if (_arg2){ _overwrittenProps[_local3] = 1; }; }; return (_local5); } override public function invalidate():void{ if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){ onPluginEvent("onDisable", this); }; this.cachedPT1 = null; _overwrittenProps = null; _hasUpdate = (this.initted = (this.active = (_notifyPluginsOfEnabled = false))); this.propTweenLookup = {}; } public static function initClass():void{ rootFrame = 0; rootTimeline = new SimpleTimeline(null); rootFramesTimeline = new SimpleTimeline(null); rootTimeline.cachedStartTime = (getTimer() * 0.001); rootFramesTimeline.cachedStartTime = rootFrame; rootTimeline.autoRemoveChildren = true; rootFramesTimeline.autoRemoveChildren = true; _shape.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; } public static function killTweensOf(_arg1:Object, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; if ((_arg1 in masterList)){ _local3 = masterList[_arg1]; _local4 = _local3.length; while (_local4--) { if (!TweenLite(_local3[_local4]).gc){ if (_arg2){ TweenLite(_local3[_local4]).complete(false, false); } else { TweenLite(_local3[_local4]).setEnabled(false, false); }; }; }; delete masterList[_arg1]; }; } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; if (!("immediateRender" in _arg3)){ _arg3.immediateRender = true; }; return (new TweenLite(_arg1, _arg2, _arg3)); } protected static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (1 - (_arg1 / _arg4)); return ((1 - (_arg1 * _arg1))); } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, immediateRender:false, useFrames:_arg4, overwrite:0})); } protected static function updateAll(_arg1:Event=null):void{ var _local2:Dictionary; var _local3:Object; var _local4:Array; var _local5:int; rootTimeline.renderTime((((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale), false, false); rootFrame++; rootFramesTimeline.renderTime(((rootFrame - rootFramesTimeline.cachedStartTime) * rootFramesTimeline.cachedTimeScale), false, false); if (!(rootFrame % 60)){ _local2 = masterList; for (_local3 in _local2) { _local4 = _local2[_local3]; _local5 = _local4.length; while (_local5--) { if (TweenLite(_local4[_local5]).gc){ _local4.splice(_local5, 1); }; }; if (_local4.length == 0){ delete _local2[_local3]; }; }; }; } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package com.greensock
Section 25
//mcRayGun_49 (FlashDiamond_fla.mcRayGun_49) package FlashDiamond_fla { import flash.display.*; public dynamic class mcRayGun_49 extends MovieClip { public var rayRot:mcRayRot; public function mcRayGun_49(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package FlashDiamond_fla
Section 26
//Music_168 (FlashDiamond_fla.Music_168) package FlashDiamond_fla { import flash.display.*; public dynamic class Music_168 extends MovieClip { public function Music_168(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package FlashDiamond_fla
Section 27
//Sound_167 (FlashDiamond_fla.Sound_167) package FlashDiamond_fla { import flash.display.*; public dynamic class Sound_167 extends MovieClip { public function Sound_167(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package FlashDiamond_fla
Section 28
//Symbol1_73 (FlashDiamond_fla.Symbol1_73) package FlashDiamond_fla { import flash.display.*; public dynamic class Symbol1_73 extends MovieClip { public function Symbol1_73(){ addFrameScript(8, frame9); } function frame9(){ stop(); } } }//package FlashDiamond_fla
Section 29
//ManagedSound (snd.ManagedSound) package snd { import flash.media.*; public class ManagedSound { public var activeSounds:Array; private var manager:SoundManager; private var ClassReference:Class; public function ManagedSound(_arg1:SoundManager, _arg2:Class){ activeSounds = new Array(); super(); this.manager = _arg1; this.ClassReference = _arg2; } public function stop():void{ var _local1:int; while (_local1 < activeSounds.length) { activeSounds[_local1].stop(); _local1++; }; } public function play(_arg1:Number=1, _arg2:Number=0):ManagedSoundChannel{ var _local3:SoundChannel = new ClassReference().play(0, 0, new SoundTransform(_arg1, _arg2)); return (new ManagedSoundChannel(manager, this, _local3)); } public function loop(_arg1:Number=1, _arg2:Number=0, _arg3:Number=999999999):ManagedSoundChannel{ var _local4:SoundChannel = new ClassReference().play(0, _arg3, new SoundTransform(_arg1, _arg2)); return (new ManagedSoundChannel(manager, this, _local4)); } public function fadeToAndStop(_arg1:Number, _arg2:Number):void{ var _local3:int; while (_local3 < activeSounds.length) { activeSounds[_local3].fadeToAndStop(_arg1, _arg2); _local3++; }; } public function isPlaying():Boolean{ return ((activeSounds.length > 0)); } public function update():void{ var _local1:int; while (_local1 < activeSounds.length) { activeSounds[_local1].update(); _local1++; }; } public function fadeTo(_arg1:Number, _arg2:Number):void{ var _local3:int; while (_local3 < activeSounds.length) { activeSounds[_local3].fadeTo(_arg1, _arg2); _local3++; }; } public function panTo(_arg1:Number, _arg2:Number):void{ var _local3:int; while (_local3 < activeSounds.length) { activeSounds[_local3].panTo(_arg1, _arg2); _local3++; }; } public function setPan(_arg1:Number):void{ var _local2:int; while (_local2 < activeSounds.length) { activeSounds[_local2].setPan(_arg1); _local2++; }; } public function setVolume(_arg1:Number):void{ var _local2:int; while (_local2 < activeSounds.length) { activeSounds[_local2].setVolume(_arg1); _local2++; }; } } }//package snd
Section 30
//ManagedSoundChannel (snd.ManagedSoundChannel) package snd { import flash.events.*; import flash.media.*; import flash.utils.*; public class ManagedSoundChannel { private var fadeStartVolume:Number;// = -1 private var channel:SoundChannel; private var fadeEndVolume:Number;// = -1 private var targetVolume:Number; private var targetPan:Number; private var sound:ManagedSound; private var stopAfterFade:Boolean;// = false private var panEndTime:Number;// = -1 private var fadeEndTime:Number;// = -1 private var manager:SoundManager; private var playing:Boolean;// = true private var panStartTime:Number;// = -1 private var fadeStartTime:Number;// = -1 private var panEndVolume:Number;// = -1 private var panStartVolume:Number;// = -1 public function ManagedSoundChannel(_arg1:SoundManager, _arg2:ManagedSound, _arg3:SoundChannel){ this.manager = _arg1; this.sound = _arg2; this.channel = _arg3; _arg2.activeSounds.push(this); if (_arg3 == null){ soundComplete(null); return; }; _arg3.addEventListener(Event.SOUND_COMPLETE, soundComplete); targetVolume = _arg3.soundTransform.volume; targetPan = _arg3.soundTransform.pan; update(); } public function stop():void{ if (!playing){ return; }; if (channel == null){ return; }; channel.stop(); soundComplete(null); } public function update():void{ var _local1:Number; if (!playing){ return; }; if (fadeStartTime >= 0){ _local1 = ((getTimer() - fadeStartTime) / (fadeEndTime - fadeStartTime)); if (_local1 < 0){ _local1 = 0; }; if (_local1 > 1){ _local1 = 1; }; targetVolume = (fadeStartVolume + ((fadeEndVolume - fadeStartVolume) * _local1)); targetVolume = (targetVolume * targetVolume); if (_local1 == 1){ fadeStartTime = -1; }; if ((((_local1 == 1)) && (stopAfterFade))){ stop(); }; }; if (panStartTime >= 0){ _local1 = ((getTimer() - panStartTime) / (panEndTime - panStartTime)); if (_local1 < 0){ _local1 = 0; }; if (_local1 > 1){ _local1 = 1; }; targetPan = (panStartVolume + ((panEndVolume - panStartVolume) * _local1)); if (_local1 == 1){ panStartTime = -1; }; }; var _local2:Number = (targetVolume * manager.volume); var _local3:Number = targetPan; if (channel == null){ return; }; if (((!((_local2 == channel.soundTransform.volume))) || (!((_local3 == channel.soundTransform.pan))))){ channel.soundTransform = new SoundTransform(_local2, _local3); }; } public function panTo(_arg1:Number, _arg2:Number):void{ if (!playing){ return; }; panStartVolume = targetPan; panEndVolume = _arg1; panStartTime = getTimer(); panEndTime = (getTimer() + _arg2); } public function fadeTo(_arg1:Number, _arg2:Number):void{ if (!playing){ return; }; fadeStartVolume = Math.sqrt(targetVolume); fadeEndVolume = Math.sqrt(_arg1); fadeStartTime = getTimer(); fadeEndTime = (getTimer() + _arg2); stopAfterFade = false; } public function setPan(_arg1:Number):void{ if (!playing){ return; }; if (channel == null){ return; }; channel.soundTransform.pan = _arg1; panStartTime = -1; update(); } public function fadeToAndStop(_arg1:Number, _arg2:Number):void{ if (!playing){ return; }; fadeTo(_arg1, _arg2); stopAfterFade = true; } public function setVolume(_arg1:Number):void{ if (!playing){ return; }; stopAfterFade = false; this.targetVolume = _arg1; fadeStartTime = -1; update(); } public function soundComplete(_arg1:Event):void{ if (!playing){ return; }; sound.activeSounds.splice(sound.activeSounds.indexOf(this), 1); playing = false; } public function isPlaying():Boolean{ return (playing); } } }//package snd
Section 31
//SoundManager (snd.SoundManager) package snd { import flash.utils.*; public class SoundManager { private var fadeStartVolume:Number;// = -1 private var lastTime:Number;// = -1 private var managedSounds:Array; private var fadeEndTime:Number;// = -1 private var fadeStartTime:Number;// = -1 private var fadeEndVolume:Number;// = -1 public var volume:Number;// = 1 private var managedSoundMap:Object; public function SoundManager(){ managedSoundMap = new Object(); managedSounds = new Array(); super(); } public function update():void{ var _local1:Number; var _local3:int; var _local2:Number = getTimer(); if (lastTime < 0){ lastTime = _local2; }; if (fadeStartTime >= 0){ _local1 = ((getTimer() - fadeStartTime) / (fadeEndTime - fadeStartTime)); if (_local1 < 0){ _local1 = 0; }; if (_local1 > 1){ _local1 = 1; }; volume = (fadeStartVolume + ((fadeEndVolume - fadeStartVolume) * _local1)); volume = (volume * volume); if (_local1 == 1){ fadeStartTime = -1; }; }; while (_local3 < managedSounds.length) { managedSounds[_local3].update(); _local3++; }; } public function stopAll():void{ var _local1:int; while (_local1 < managedSounds.length) { managedSounds[_local1].stop(); _local1++; }; } public function getFromClass(_arg1:Class):ManagedSound{ var _local2:String = getQualifiedClassName(_arg1); if (managedSoundMap[_local2] == null){ managedSoundMap[_local2] = new ManagedSound(this, _arg1); managedSounds.push(managedSoundMap[_local2]); }; return (managedSoundMap[_local2]); } public function get(_arg1:String):ManagedSound{ var _local2:Class; if (managedSoundMap[_arg1] == null){ _local2 = (getDefinitionByName(_arg1) as Class); if (_local2 == null){ _local2 = (getDefinitionByName(("sound." + _arg1)) as Class); }; if (_local2 == null){ _local2 = (getDefinitionByName(("snd." + _arg1)) as Class); }; if (_local2 == null){ throw (new Error(("Failed to find sound " + _arg1))); }; managedSoundMap[_arg1] = new ManagedSound(this, _local2); managedSounds.push(managedSoundMap[_arg1]); }; return (managedSoundMap[_arg1]); } public function fadeTo(_arg1:Number, _arg2:Number):void{ fadeStartVolume = Math.sqrt(volume); fadeEndVolume = Math.sqrt(_arg1); fadeStartTime = getTimer(); fadeEndTime = (getTimer() + _arg2); } public function setVolume(_arg1:Number):void{ this.volume = _arg1; fadeStartTime = -1; } } }//package snd
Section 32
//Debug (utils.Debug) package utils { import flash.system.*; import flash.external.*; public class Debug { public static var enabled:Boolean = false; public static var debugWindow:DebugWindow; public static var useExternal:Boolean = false; public static function printMem():void{ print((("MEM: " + (System.totalMemory / 1000000).toFixed(2)) + "mb")); } public static function printCapabilities():void{ print(("Capabilities.serverString: " + Capabilities.serverString), "AAAAFF"); } public static function print(_arg1:String, _arg2:String=null):void{ if (!enabled){ return; }; if (useExternal){ if (_arg2 == null){ ExternalInterface.call("jsPrintDebug", _arg1); } else { ExternalInterface.call("jsPrintDebug", _arg1, _arg2); }; }; if (debugWindow != null){ debugWindow.print(_arg1, _arg2); debugWindow.parent.setChildIndex(debugWindow, (debugWindow.parent.numChildren - 1)); }; } } }//package utils
Section 33
//DebugWindow (utils.DebugWindow) package utils { import flash.display.*; import flash.events.*; import flash.text.*; import flash.system.*; public class DebugWindow extends Sprite { private var _tf:TextField; private var _text:Array; public function DebugWindow(){ _text = []; super(); var _local1:TextFormat = new TextFormat(); _local1.size = 9; _local1.font = "Verdana"; _tf = new TextField(); _tf.wordWrap = true; _tf.multiline = true; _tf.x = 5; _tf.y = 15; _tf.width = (325 + 150); _tf.height = 460; _tf.defaultTextFormat = _local1; _tf.textColor = 0xAAAAAA; addChild(_tf); graphics.lineStyle(1, 0, 1); graphics.beginFill(0, 0.6); graphics.drawRect(0, 0, 330, 460); var _local2:Sprite = new Sprite(); _local2.graphics.lineStyle(1, 0, 1); _local2.graphics.beginFill(0xCCCCCC, 0.75); _local2.graphics.drawRect(0, 0, 330, 10); _local2.buttonMode = true; addChild(_local2); _local2.addEventListener(MouseEvent.MOUSE_DOWN, onClicked, false, 0, true); _local2.addEventListener(MouseEvent.MOUSE_UP, onReleased, false, 0, true); var _local3:Sprite = new Sprite(); _local3.x = 310; _local3.y = 0; _local3.graphics.lineStyle(1, 0, 1); _local3.graphics.beginFill(0xFFFFFF); _local3.graphics.drawRect(0, 0, 20, 10); _local3.buttonMode = true; _local3.addEventListener(MouseEvent.MOUSE_DOWN, copyText, false, 0, true); addChild(_local3); } private function copyText(_arg1:MouseEvent):void{ var _local3:int; var _local2:* = ""; while (_local3 < _text.length) { _local2 = (_local2 + (_text[_local3] + "\n")); _local3++; }; System.setClipboard(_local2); print("DebugWindow.copyText() content copied to clipboard", null); } private function onReleased(_arg1:MouseEvent):void{ stopDrag(); } public function print(_arg1:String, _arg2:String):void{ var _local3:String; var _local7:int; if (_arg2 != null){ if (_arg2.toLowerCase() == "ff3333"){ _arg1.split("<").join("{"); }; }; _arg1.split(">").join("}"); var _local4:Date = new Date(); var _local5:String = ((((_local4.getHours() + ":") + Formatter.addZero(_local4.getMinutes())) + ":") + Formatter.addZero(_local4.getSeconds())); if (_arg2 != null){ _local3 = (((((("<b>" + _local5) + " - </b><font color=\"#") + _arg2) + "\">") + _arg1) + "</font>"); } else { _local3 = ((("<b>" + _local5) + " - </b>") + _arg1); }; _text.push(_local3); if (_tf.numLines > 32){ _text.shift(); }; var _local6:* = ""; while (_local7 < _text.length) { _local6 = (_local6 + (_text[_local7] + "\n")); _local7++; }; _tf.htmlText = _local6; } private function onClicked(_arg1:MouseEvent):void{ startDrag(); } } }//package utils
Section 34
//Formatter (utils.Formatter) package utils { import flash.text.*; public class Formatter { public static var HOURS_PER_DAY:int = 8; public static function formatDateNoTime(_arg1:Date):String{ return (((((_arg1.getFullYear() + "-") + addZero((_arg1.getMonth() + 1))) + "-") + addZero(_arg1.getDate()))); } public static function formatTime(_arg1:Number):String{ return (""); } public static function shortenTextByLetters(_arg1:String, _arg2:int):String{ return (""); } public static function formatDate(_arg1:Date):String{ return (((((((((_arg1.getFullYear() + "-") + addZero((_arg1.getMonth() + 1))) + "-") + addZero(_arg1.getDate())) + " ") + addZero(_arg1.getHours())) + ":") + addZero(_arg1.getMinutes()))); } public static function shortenTextByPixels(_arg1:TextField, _arg2:int):String{ return (""); } public static function addZero(_arg1:Number):String{ return (((_arg1 < 10)) ? ("0" + _arg1) : ("" + _arg1)); } public static function formatDuration(_arg1:int):String{ var _local2:int = (_arg1 / HOURS_PER_DAY); var _local3:int = (_arg1 - (_local2 * HOURS_PER_DAY)); return ((((_local2 + "d ") + _local3) + "h")); } } }//package utils
Section 35
//I18n (utils.I18n) package utils { public class I18n { private static var m_strings:Object; public function I18n(){ m_strings = new Object(); } public static function init(_arg1:Object):void{ var _local2:String; m_strings = new Object(); for (_local2 in _arg1) { m_strings[_local2] = _arg1[_local2]; }; } public static function getString(_arg1:String, ... _args):String{ var _local3:String; var _local4:*; var _local5:RegExp; if (m_strings[_arg1] != undefined){ _local3 = m_strings[_arg1]; if (_args.length > 0){ _local4 = 0; while (_local4 < _args.length) { _local5 = new RegExp((("\\{" + _local4) + "\\}"), "gi"); _local3 = _local3.replace(_local5, _args[_local4]); _local4++; }; }; return (_local3); }; return ((("{" + _arg1) + "}")); } } }//package utils
Section 36
//Integer64 (utils.Integer64) package utils { import utils.*; class Integer64 { private var p:Array; private var r:Array; private var s:Array; function Integer64(_arg1){ r = [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]; p = [0, 0, 0, 0, 0]; s = [0, 0, 0]; if (_arg1){ merge(_arg1); }; } public function binaryShiftRight(_arg1:Number):void{ var _local2:*; var _local3:*; var _local7:*; var _local8:*; var _local4:* = ((_arg1 / 15) >> 0); var _local5:* = (_arg1 - (_local4 * 15)); var _local6:* = (p.length - 1); while (_local6 > 0) { _local2 = 0; while (_local2 < _local4) { p[_local2] = p[(_local2 + 1)]; _local2++; }; _local7 = _local6; _local6--; _local8 = _local7; p[_local8] = 0; }; if (_local5 > 0){ _local3 = 0; while (_local3 < _local5) { shr(); _local3++; }; }; } public function mul32(_arg1:Number):void{ mul64(new Integer64(_arg1)); } public function add32(_arg1:Number):void{ var _local2:* = 0; var _local3:* = (_arg1 & 32767); _arg1 = (_arg1 >> 15); var _local4:* = (_arg1 & 32767); _arg1 = (_arg1 >> 15); var _local5:* = (_arg1 & 3); _local2 = (_local2 + (p[0] + _local3)); p[0] = (_local2 & 32767); _local2 = (_local2 >> 15); _local2 = (_local2 + (p[1] + _local4)); p[1] = (_local2 & 32767); _local2 = (_local2 >> 15); _local2 = (_local2 + (p[2] + _local5)); p[2] = (_local2 & 32767); } public function binaryShiftLeft(_arg1:Number):void{ var _local2:* = 0; while (_local2 < _arg1) { shl(); _local2++; }; } public function mul64(_arg1:Integer64):void{ var _local2:*; var _local3:* = 0; var _local4:* = 0; while (_local4 < 5) { _local2 = _arg1.p[_local4]; _local3 = (_local2 * p[0]); r[_local4][0] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (_local2 * p[1])); r[_local4][1] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (_local2 * p[2])); r[_local4][2] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (_local2 * p[3])); r[_local4][3] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (_local2 * p[4])); r[_local4][4] = (_local3 & 32767); _local4++; }; _local3 = r[0][0]; p[0] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (r[0][1] + r[1][0])); p[1] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + ((r[0][2] + r[1][1]) + r[2][0])); p[2] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (((r[0][3] + r[1][2]) + r[2][1]) + r[3][0])); p[3] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + ((((r[0][4] + r[1][3]) + r[2][2]) + r[3][1]) + r[4][0])); p[4] = (_local3 & 7); } private function shr():void{ var _local1:* = 0; var _local2:* = 0; var _local3:* = (p.length - 1); while (_local3 >= 0) { _local1 = ((p[_local3] & 1) << 14); p[_local3] = (p[_local3] >> 1); p[_local3] = ((p[_local3] | _local2) & 32767); _local3--; _local2 = _local1; }; } public function init32(_arg1:Number):void{ p[0] = (_arg1 & 32767); _arg1 = (_arg1 >>> 15); p[1] = (_arg1 & 32767); _arg1 = (_arg1 >>> 15); p[2] = (_arg1 & 3); p[3] = 0; p[4] = 0; } public function init(_arg1:Integer64):void{ var _local2:* = 0; while (_local2 < p.length) { p[_local2] = _arg1.p[_local2]; _local2++; }; } private function merge(_arg1:Number):Number{ var _local2:* = 0; while (_local2 < 3) { p[_local2] = (p[_local2] + (_arg1 & 32767)); _arg1 = (_arg1 >>> 15); _local2++; }; return (_arg1); } public function binaryNot(_arg1:Integer64):void{ p[0] = (p[0] ^ _arg1.p[0]); p[1] = (p[1] ^ _arg1.p[1]); p[2] = (p[2] ^ _arg1.p[2]); p[3] = (p[3] ^ _arg1.p[3]); p[4] = (p[4] ^ _arg1.p[4]); } public function get lsb():Number{ return (((p[0] | (p[1] << 15)) | ((p[2] & 3) << 30))); } public function get msb():Number{ return (((((p[2] >> 2) | ((p[3] << 15) >> 2)) | ((p[4] << (15 * 2)) >> 2)) & 2147483647)); } public function mulu32(_arg1:Number):void{ var _local2:*; var _local3:* = 0; s[0] = (_arg1 & 32767); _arg1 = (_arg1 >>> 15); s[1] = (_arg1 & 32767); _arg1 = (_arg1 >>> 15); s[2] = (_arg1 & 3); var _local4:* = 0; while (_local4 < 3) { _local2 = s[_local4]; _local3 = (_local2 * p[0]); r[_local4][0] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (_local2 * p[1])); r[_local4][1] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (_local2 * p[2])); r[_local4][2] = (_local3 & 3); _local4++; }; _local3 = r[0][0]; p[0] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + (r[0][1] + r[1][0])); p[1] = (_local3 & 32767); _local3 = (_local3 >> 15); _local3 = (_local3 + ((r[0][2] + r[1][1]) + r[2][0])); p[2] = (_local3 & 3); p[3] = 0; p[4] = 0; } private function shl():void{ var _local1:* = 0; var _local2:* = 0; var _local3:* = 0; var _local4:* = p.length; while (_local3 < _local4) { _local1 = ((p[_local3] & 0x4000) >> 14); p[_local3] = (p[_local3] << 1); p[_local3] = ((p[_local3] | _local2) & 32767); _local3++; _local2 = _local1; }; } public function add64(_arg1:Integer64):void{ var _local2:* = 0; var _local3:* = 1; var _local4:* = 0; while ((((_local3 < p.length)) && (!((_arg1.p[_local4] == 0))))) { _local3++; }; _local4 = 0; while (_local4 < _local3) { _local2 = (_local2 + (p[_local4] + _arg1.p[_local4])); p[_local4] = (_local2 & 32767); _local2 = (_local2 >> 15); _local4++; }; } } }//package utils
Section 37
//MouseInput (utils.MouseInput) package utils { public class MouseInput { public var yMouse:int; public var xMouse:int; public var mouseIsPressed:Boolean; public function MouseInput(){ trace("Welcome Input()"); } public function mouseReleased(){ mouseIsPressed = false; } public function printInput(){ } public function reset(){ mouseIsPressed = false; } public function init(){ reset(); } public function setMousePos(_arg1:Number, _arg2:Number){ xMouse = _arg1; yMouse = _arg2; } public function mousePressed(){ mouseIsPressed = true; } } }//package utils
Section 38
//Random (utils.Random) package utils { import flash.utils.*; public class Random { private var mta:Array; private var mti:Number; private var lastSeed:Number; private static var MATRIX_A:Number = 2567483615; public static var nr:int = 0; private static var UPPER_MASK:Number = 2147483648; private static var LOWER_MASK:Number = 2147483647; private static var M:Number = 397; private static var N:Number = 624; private static var mag01:Array = [0, 2567483615]; public function Random(_arg1:Number){ mta = new Array(N); mti = (N + 1); if (_arg1){ init_genrand(_arg1); }; } private function init_genrand(_arg1:Number):void{ _arg1 = int(_arg1); var _local2:* = getTimer(); lastSeed = _arg1; mta[0] = _arg1; var _local3:* = _arg1; var _local4:* = new Integer64(null); var _local5:Number = N; mti = 1; while (mti < _local5) { _local4.init32(((_local3 >>> 30) ^ _local3)); _local4.mulu32(1812433253); _local3 = (mta[mti] = int((_local4.lsb + mti))); mti++; }; var _local6:* = getTimer(); } public function nextFloat(){ return ((next(24) / (1 << 24))); } public function nextDouble(){ return ((next(24) / (1 << 24))); } public function get seed():Number{ return (lastSeed); } public function next(_arg1:Number){ if (_arg1 < 32){ return ((genrand_int32() & ((1 << _arg1) - 1))); }; return (genrand_int32()); } public function set seed(_arg1:Number){ init_genrand(_arg1); } public function nextInt(_arg1:Number){ nr++; return (((genrand_int32() & 2147483647) % _arg1)); } private function genrand_int32(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:Number = N; var _local11:Number = 0; if (mti >= _local10){ if (mti == (_local10 + 1)){ init_genrand(5489); }; _local1 = M; _local2 = UPPER_MASK; _local3 = LOWER_MASK; _local4 = mag01; _local5 = getTimer(); _local6 = 0; _local7 = (_local10 - _local1); _local8 = (_local1 - _local10); _local6 = 0; while (_local6 < _local7) { _local11 = ((mta[_local6] & _local2) | (mta[(_local6 + 1)] & _local3)); mta[_local6] = ((mta[(_local6 + _local1)] ^ (_local11 >>> 1)) ^ _local4[(_local11 & 1)]); _local6++; }; _local7 = (_local10 - 1); while (_local6 < _local7) { _local11 = ((mta[_local6] & _local2) | (mta[(_local6 + 1)] & _local3)); mta[_local6] = ((mta[(_local6 + _local8)] ^ (_local11 >>> 1)) ^ _local4[(_local11 & 1)]); _local6++; }; _local11 = ((mta[(_local10 - 1)] & _local2) | (mta[0] & _local3)); mta[(_local10 - 1)] = ((mta[(_local1 - 1)] ^ (_local11 >>> 1)) ^ _local4[(_local11 & 1)]); mti = 0; _local9 = getTimer(); }; _local11 = mta[mti++]; var _temp1 = (mta[mti++] ^ (_local11 >>> 11)); _local11 = (mta[mti++] ^ (_local11 >>> 11)); var _temp2 = (_temp1 ^ ((_local11 << 7) & 2636928640)); _local11 = (_temp1 ^ ((_local11 << 7) & 2636928640)); var _temp3 = (_temp2 ^ ((_local11 << 15) & 4022730752)); _local11 = (_temp2 ^ ((_local11 << 15) & 4022730752)); _local11 = (_temp3 ^ (_local11 >>> 18)); return (_local11); } } }//package utils
Section 39
//Timer (utils.Timer) package utils { import flash.utils.*; public class Timer { private var unprocessedTime:Number;// = 0 private var lastTime:Number;// = -1 public var passedTime:Number;// = 0 private var msPerTick:Number; private var ticksPerSecond:Number; public var timeScale:Number;// = 1 public var alpha:Number;// = 0 public static var currentTime:Number = 0; public function Timer(_arg1){ this.ticksPerSecond = _arg1; msPerTick = (1000 / _arg1); } public function advanceTime(){ if (lastTime == -1){ lastTime = getTimer(); }; var _local1:* = getTimer(); passedTime = (_local1 - lastTime); passedTime = (passedTime * timeScale); currentTime = (currentTime + passedTime); lastTime = _local1; unprocessedTime = (unprocessedTime + passedTime); var _local2:int = int((unprocessedTime / msPerTick)); unprocessedTime = (unprocessedTime - (_local2 * msPerTick)); alpha = (unprocessedTime / msPerTick); return (_local2); } } }//package utils
Section 40
//B_BOMBSHAKE (B_BOMBSHAKE) package { import anim.*; public dynamic class B_BOMBSHAKE extends AutoLoopingRndStart25Fps { } }//package
Section 41
//B_OVER (B_OVER) package { import anim.*; public dynamic class B_OVER extends AutoLoopingFlare12Fps { } }//package
Section 42
//B_VOBBLE (B_VOBBLE) package { import anim.*; public dynamic class B_VOBBLE extends AutoSingleRndStart20Fps { } }//package
Section 43
//BB (BB) package { import flash.display.*; public dynamic class BB extends MovieClip { public var VOBBLE:BB_inner; public var OVER:MovieClip; public var SHAKE:BB_bombshake; public var IDLE:MovieClip; } }//package
Section 44
//BB_bombshake (BB_bombshake) package { import anim.*; public dynamic class BB_bombshake extends AutoLoopingRndStart25Fps { } }//package
Section 45
//BB_inner (BB_inner) package { import anim.*; public dynamic class BB_inner extends AutoSingleRndStart20Fps { } }//package
Section 46
//big_diamond (big_diamond) package { import anim.*; public dynamic class big_diamond extends AutoLoopingFlare25Fps { } }//package
Section 47
//Block (Block) package { import flash.display.*; import anim.*; import flash.utils.*; public class Block extends Sprite { public var col:int; private var m_isVobbling:Boolean; private var m_currX:Number; private var m_currY:Number; public var RENDER:Boolean;// = true public var SPECIAL:int;// = 0 public var row:int; private var m_clip:MovieClip; private var m_destY:Interpolator; private var X_OFF:int;// = 76 private var Y_OFF:int;// = 76 private var m_destX:Interpolator; public var MARKED:int;// = 0 public var STATUS:String;// = "IDLE" public var TYPE:String; private var m_isHigh:Boolean;// = false public var m_state:int;// = 0 private static var STATE_VOBBLE:int = 3; private static var STATE_IDLE:int = 0; private static var STATE_BOUNCE:int = 4; private static var STATE_FALL:int = 1; private static var STATE_TWEAK:int = 2; public function Block(_arg1:String){ m_clip = new MovieClip(); super(); TYPE = _arg1; mouseChildren = false; mouseEnabled = false; cacheAsBitmap = true; } public function create():void{ var _local1:Class; if (SPECIAL == 0){ _local1 = (getDefinitionByName(TYPE) as Class); m_clip = (new (_local1) as MovieClip); m_clip.SHAKE.stop(); m_clip.SHAKE.visible = false; m_clip.VOBBLE.stop(); m_clip.VOBBLE.visible = false; m_clip.OVER.visible = false; addChild(m_clip); } else { createSpecial(); }; } public function setHigh(_arg1:Boolean, _arg2:Boolean):void{ if (SPECIAL != 0){ if (_arg1){ m_clip.OVER.start(); } else { m_clip.OVER.stop(); }; }; if (_arg1){ m_clip.OVER.visible = true; m_clip.VOBBLE.visible = false; m_clip.SHAKE.visible = false; m_clip.IDLE.visible = false; } else { m_clip.OVER.visible = false; if (_arg2){ m_clip.VOBBLE.visible = true; } else { m_clip.IDLE.visible = true; }; }; } public function set setX(_arg1:Number):void{ m_currX = (x = _arg1); } public function setGrid(_arg1:int, _arg2:int):void{ row = _arg1; col = _arg2; } public function stopVobble():void{ m_clip.VOBBLE.stop(); m_clip.VOBBLE.gotoAndStop(1); m_clip.VOBBLE.visible = false; m_clip.IDLE.visible = true; } public function isHigh():Boolean{ return (m_isHigh); } public function doTweak(_arg1:int, _arg2:int, _arg3:int):void{ m_destX = new EaseInQuadInterpolator(x, _arg1, _arg3); m_state = STATE_TWEAK; } public function tick():void{ switch (m_state){ case STATE_IDLE: break; case STATE_FALL: m_destY.update(); m_currY = m_destY.getValue(); if (m_destY.isDone()){ m_state = STATE_IDLE; }; break; case STATE_TWEAK: m_destX.update(); m_currX = m_destX.getValue(); if (m_destX.isDone()){ m_state = STATE_IDLE; }; break; }; } public function doFall(_arg1:int, _arg2:int, _arg3:int):void{ m_destY = new EaseInQuadInterpolator(y, _arg2, _arg3); m_state = STATE_FALL; } public function setHighBomb(_arg1:Boolean, _arg2:Boolean):void{ if (_arg2){ m_clip.IDLE.visible = false; m_clip.SHAKE.visible = false; m_clip.VOBBLE.visible = false; m_clip.OVER.visible = true; m_clip.OVER.start(); return; }; if (((_arg1) && (!(m_clip.SHAKE.visible)))){ m_clip.SHAKE.visible = true; m_clip.SHAKE.start(); m_clip.VOBBLE.visible = false; m_clip.IDLE.visible = false; }; if (((!(_arg1)) && (m_clip.SHAKE.visible))){ m_clip.SHAKE.visible = false; m_clip.SHAKE.stop(); m_clip.IDLE.visible = true; }; } public function render():void{ if (RENDER){ y = m_currY; x = m_currX; }; } public function doVobble():void{ m_clip.VOBBLE.start(); if (((m_clip.OVER.visible) || (m_clip.SHAKE.visible))){ return; }; m_clip.VOBBLE.visible = true; m_clip.SHAKE.visible = false; m_clip.IDLE.visible = false; m_clip.OVER.visible = false; } public function createSpecial():void{ var _local1:Class; if (SPECIAL == 2){ _local1 = (getDefinitionByName(("COLOR_" + TYPE)) as Class); m_clip = (new (_local1) as MovieClip); addChild(m_clip); } else { _local1 = (getDefinitionByName(TYPE) as Class); m_clip = (new (_local1) as MovieClip); addChild(m_clip); }; m_clip.OVER.stop(); m_clip.OVER.visible = false; m_clip.SHAKE.stop(); m_clip.SHAKE.visible = false; m_clip.VOBBLE.stop(); m_clip.VOBBLE.visible = false; } public function setSpecial(_arg1:int):void{ SPECIAL = _arg1; } public function set setY(_arg1:Number):void{ m_currY = (y = _arg1); } } }//package
Section 48
//board_throw (board_throw) package { import flash.media.*; public dynamic class board_throw extends Sound { } }//package
Section 49
//board_vobble (board_vobble) package { import flash.media.*; public dynamic class board_vobble extends Sound { } }//package
Section 50
//BOMB (BOMB) package { import flash.display.*; public dynamic class BOMB extends MovieClip { public var VOBBLE:BOMB_inner; public var OVER:BOMB_over; public var SHAKE:BOMB_bombshake; public var IDLE:MovieClip; } }//package
Section 51
//BOMB_bombshake (BOMB_bombshake) package { import anim.*; public dynamic class BOMB_bombshake extends AutoLoopingRndStart25Fps { } }//package
Section 52
//bomb_color (bomb_color) package { import flash.media.*; public dynamic class bomb_color extends Sound { } }//package
Section 53
//BOMB_inner (BOMB_inner) package { import anim.*; public dynamic class BOMB_inner extends AutoSingleRndStart20Fps { } }//package
Section 54
//BOMB_over (BOMB_over) package { import anim.*; public dynamic class BOMB_over extends AutoLoopingFlare12Fps { } }//package
Section 55
//bomb_regular (bomb_regular) package { import flash.media.*; public dynamic class bomb_regular extends Sound { } }//package
Section 56
//cleansweep_0 (cleansweep_0) package { import flash.media.*; public dynamic class cleansweep_0 extends Sound { } }//package
Section 57
//cleansweep_1 (cleansweep_1) package { import flash.media.*; public dynamic class cleansweep_1 extends Sound { } }//package
Section 58
//clear_square (clear_square) package { import flash.media.*; public dynamic class clear_square extends Sound { } }//package
Section 59
//clearSquare (clearSquare) package { import anim.*; public dynamic class clearSquare extends AutoSingleFlare25Fps { } }//package
Section 60
//ClipGroup0 (ClipGroup0) package { import anim.*; public dynamic class ClipGroup0 extends AutoLoopingFlare25Fps { } }//package
Section 61
//COLOR_BB (COLOR_BB) package { import flash.display.*; public dynamic class COLOR_BB extends MovieClip { public var VOBBLE:B_VOBBLE; public var OVER:B_OVER; public var SHAKE:B_BOMBSHAKE; public var IDLE:MovieClip; } }//package
Section 62
//COLOR_GG (COLOR_GG) package { import flash.display.*; public dynamic class COLOR_GG extends MovieClip { public var VOBBLE:G_VOBBLE; public var OVER:G_OVER; public var SHAKE:G_BOMBSHAKE; public var IDLE:MovieClip; } }//package
Section 63
//COLOR_RR (COLOR_RR) package { import flash.display.*; public dynamic class COLOR_RR extends MovieClip { public var VOBBLE:R_VOBBLE; public var OVER:R_OVER; public var SHAKE:R_BOMBSHAKE; public var IDLE:MovieClip; } }//package
Section 64
//COLOR_YY (COLOR_YY) package { import flash.display.*; public dynamic class COLOR_YY extends MovieClip { public var VOBBLE:Y_VOBBLE; public var OVER:Y_OVER; public var SHAKE:Y_BOMBSHAKE; public var IDLE:MovieClip; } }//package
Section 65
//colorbomb1 (colorbomb1) package { import anim.*; public dynamic class colorbomb1 extends AutoLoopingFlare25Fps { } }//package
Section 66
//colorBomb2 (colorBomb2) package { import anim.*; public dynamic class colorBomb2 extends AutoLoopingFlare25Fps { } }//package
Section 67
//colorBomb3 (colorBomb3) package { import anim.*; public dynamic class colorBomb3 extends AutoLoopingFlare25Fps { } }//package
Section 68
//colorbomb4 (colorbomb4) package { import anim.*; public dynamic class colorbomb4 extends AutoLoopingFlare25Fps { } }//package
Section 69
//combo (combo) package { import flash.media.*; public dynamic class combo extends Sound { } }//package
Section 70
//combo_diamond (combo_diamond) package { import anim.*; public dynamic class combo_diamond extends AutoSingleFlare25Fps { } }//package
Section 71
//DIAMOND (DIAMOND) package { import flash.display.*; public dynamic class DIAMOND extends MovieClip { public var VOBBLE:DIAMOND_inner; public var OVER:DIAMOND_over; public var SHAKE:DIAMOND_bombshake; public var IDLE:MovieClip; } }//package
Section 72
//diamond_0 (diamond_0) package { import flash.media.*; public dynamic class diamond_0 extends Sound { } }//package
Section 73
//diamond_1 (diamond_1) package { import flash.media.*; public dynamic class diamond_1 extends Sound { } }//package
Section 74
//diamond_2 (diamond_2) package { import flash.media.*; public dynamic class diamond_2 extends Sound { } }//package
Section 75
//diamond_big_inner (diamond_big_inner) package { import anim.*; public dynamic class diamond_big_inner extends AutoLoopingFlare25Fps { } }//package
Section 76
//diamond_bling (diamond_bling) package { import flash.media.*; public dynamic class diamond_bling extends Sound { } }//package
Section 77
//DIAMOND_bombshake (DIAMOND_bombshake) package { import anim.*; public dynamic class DIAMOND_bombshake extends AutoLoopingRndStart25Fps { } }//package
Section 78
//diamond_combo (diamond_combo) package { import flash.media.*; public dynamic class diamond_combo extends Sound { } }//package
Section 79
//DIAMOND_inner (DIAMOND_inner) package { import anim.*; public dynamic class DIAMOND_inner extends AutoSingleRndStart20Fps { } }//package
Section 80
//DIAMOND_over (DIAMOND_over) package { import anim.*; public dynamic class DIAMOND_over extends AutoLoopingFlare12Fps { } }//package
Section 81
//empty_board (empty_board) package { import flash.media.*; public dynamic class empty_board extends Sound { } }//package
Section 82
//EXPLO (EXPLO) package { import anim.*; public dynamic class EXPLO extends AutoSingleFlare25Fps { } }//package
Section 83
//ExtraTime (ExtraTime) package { import anim.*; public dynamic class ExtraTime extends AutoSingleFlare50Fps { } }//package
Section 84
//FDBase (FDBase) package { import flash.display.*; import utils.*; import flash.events.*; import flash.text.*; import flash.system.*; import flash.external.*; public class FDBase extends MovieClip { var m_game:FDGame; public var MUSIC:MovieClip; public var debugRenderFPS_txt:TextField; var tickTime:int;// = 0 public var mcScore:MovieClip; public var TIMER:MovieClip; public var mcRayGunCover:MovieClip; var DEBUG_MODE:Boolean; public var gunRight:MovieClip; var m_sharedData:SharedData; public var INTRO:MovieClip; public var txtGameContinueIn:TextField; public var QUIT:MovieClip; var m_debugWindow:DebugWindow; var renderStartTime:Number; var m_mainTmr:Timer; public var mcBgGrid:MovieClip; public var gunLeft:MovieClip; public var mcLogo:MovieClip; public var SOUND:MovieClip; var renderFPS:Number;// = 0 public var txtTme:TextField; var m_input:MouseInput; public static const TICKS_PER_SECOND:int = 25; public function FDBase(){ m_debugWindow = new DebugWindow(); Debug.debugWindow = m_debugWindow; m_debugWindow.x = (755 - 25); m_debugWindow.y = 25; addChild(m_debugWindow); if (init()){ Debug.print("Main.init() entry point ", "33FF55"); } else { Debug.print("Main.init() entry point ", "33FF55"); }; Debug.print(("Main.init() DEBUG : " + DEBUG_MODE), "33FF55"); } public function mouseReleased(_arg1:MouseEvent){ m_input.mouseReleased(); } function init():Boolean{ var _local4:*; var _local5:*; var _local1:* = null; var _local2:* = null; var _local3:* = null; m_sharedData = new SharedData(); _local3 = ""; _local4 = (((((((((((((((((((((((((((((((((("<gamedata short=\"false\" randomseed=\"129405665\" firstTime=\"1\" highScore=\"365000\" highScoreCombo=\"250502\" highScoreClearBonus=\"10055\" timeBonus=\"4200\" stateSound=\"1\" stateMusic=\"1\" >" + "<text id=\"txtIngameHead\">INSTRUCTIONS</text>") + "<text id=\"txtIngame1\">Click BIG groups of same coloured tiles to generate diamonds. </text>") + "<text id=\"txtIngame2\">DIAMONDS. Collect as many as possible, they are worth a fortune.</text>") + "<text id=\"txtIngame3\">Press space to advance new row of tiles.</text>") + "<text id=\"txtIngame4\">Try to finish with an empty board to earn bonus points.</text>") + "<text id=\"txtIngame5\">TILE. Click groups of same coloured tiles to generate diamonds.</text>") + "<text id=\"txtIngame6\">COLOUR. removes all tiles of savme colour.</text>") + "<text id=\"txtIngame7\">DIAMOND. Collect as many as possible, they are worth a fortune.</text>") + "<text id=\"txtIngame8\">BOMB. Watch Out! Destroys all adjacent tiles, including diamonds.</text>") + "<text id=\"txtStartGame\">START</text>") + "<text id=\"txtGameOver\">GAME OVER</text>") + "<text id=\"txtPersonalBest\">PERSONAL BEST</text>") + "<text id=\"txtThisGame\">THIS GAME</text>") + "<text id=\"txtScore\">SCORE</text>") + "<text id=\"txtTimeBonus\">TIME BONUS</text>") + "<text id=\"txtTotalScore\">TOTAL SCORE</text>") + "<text id=\"txtClearBonus\">BONUS</text>") + "<text id=\"txtGeneratedDiam\">GENERATED</text>") + "<text id=\"txtSavedDiam\">SAVED</text>") + "<text id=\"txtXTime\">Extra Time!</text>") + "<text id=\"txtXTimeNum\">+{0} sec</text>") + "<text id=\"txtTme\">TIME</text>") + "<text id=\"txtGameEndsIn\">GAME ENDS IN {0} SECONDS</text>") + "<text id=\"txtGameStartsIn\">GAME WILL START IN {0} SECONDS</text>") + "<text id=\"txtRegister\">REGISTER NOW!</text>") + "<text id=\"txtHowTo1\">Keep saving diamonds! Collecting them will finish the game.</text>") + "<text id=\"txtHowTo2\">Use the spacebar to speed up your game and increase your score.</text>") + "<text id=\"txtGameContinueIn\">GAME WILL CONTINUE IN {0} SECONDS</text>") + "<boosters>") + "<a value=\"1\" />") + "<b value=\"1\" />") + "<c value=\"1\" />") + "</boosters>") + "</gamedata>"); _local3 = _local4; trace(_local4); _local1 = {message:_local3, success:true}; _local5 = new XML(_local1.message); m_sharedData.preMusic = int(_local5.@stateMusic); m_sharedData.preSound = int(_local5.@stateSound); m_sharedData.preHighScoreTotal = int(_local5.@highScore); m_sharedData.preHighScoreCombo = int(_local5.@highScoreCombo); m_sharedData.preHighTimeBonus = int(_local5.@timeBonus); m_sharedData.preScoreBonusClear = int(_local5.@highScoreClearBonus); m_sharedData.globalSeed = int(_local5.@randomseed); m_sharedData.isShortMode = (_local5.@short == "true"); m_sharedData.gamesPlayed = int(_local5.@firstTime); if (_local5.boosters != null){ m_sharedData.EXTRATIME = ((int(_local5.boosters.a.@value))!=0) ? (25 * 10) : 0; m_sharedData.boostForceColor = ((int(_local5.boosters.b.@value))!=0) ? true : false; m_sharedData.boostNoBomb = ((int(_local5.boosters.c.@value))!=0) ? true : false; }; m_sharedData.globalSeed = int((Math.random() * 2147483647)); var _local6:* = new Object(); _local4 = 0; var _local7:* = _local5.children(); for each (_local2 in _local7) { _local6[_local2.@id] = _local2.text(); }; I18n.init(_local6); m_input = new MouseInput(); m_game = new FDGame(this, m_input, m_sharedData); stage.addEventListener(MouseEvent.MOUSE_DOWN, mousePressed); stage.addEventListener(MouseEvent.MOUSE_UP, mouseReleased); m_mainTmr = new Timer(TICKS_PER_SECOND); addEventListener("enterFrame", advanceTime); return (true); } function render(_arg1:Number):void{ m_game.render(_arg1); } function tick():void{ m_game.tick(); } function getMode():Boolean{ return (true); } public function mousePressed(_arg1:MouseEvent){ m_input.mousePressed(); } function advanceTime(_arg1:Event):void{ var _local2:* = m_mainTmr.advanceTime(); var _local3:* = 0; while (_local3 < _local2) { tick(); _local3++; }; render(m_mainTmr.alpha); } } }//package
Section 85
//FDGame (FDGame) package { import flash.display.*; import utils.*; import flash.events.*; import snd.*; import flash.system.*; public class FDGame { private var m_modeDestroy:Boolean;// = false private var m_atLeast:int;// = 0 private var m_countTime:Boolean;// = false private var m_sndDelay:int;// = 0 private var m_tick:int;// = 0 private var m_FEED:int;// = 100 private var m_level:Level; private var m_destroyDelay:int;// = 0 private var END_TYPE:int;// = 0 private var m_state:int;// = 0 private var m_score:Score; private var m_GUItweak:Array; private var m_GUIfall:Array; private var m_delayGui:int;// = 0 private var m_modeFall:Boolean;// = false private var m_mouse:Array; private var TIME_INTRO:Number;// = 450 private var m_modeDiamond:Boolean;// = false private var m_sh:SharedData; private var m_gui:Gui; private var m_modeFeed:Boolean;// = false private var m_root:MovieClip; private var m_howToCuntBack:int;// = 275 private var m_GUIfeed:Array; private var m_currTick:int;// = 0 private var m_GUIvobbling:Array; private var m_doRender:Boolean;// = false private var m_blocks:Array; private var m_howTo:MovieClip; private var m_flashDiamondTick:int;// = 0 private var m_endGame:Boolean;// = false private var m_input:MouseInput; private var m_diamondCount:int;// = 0 private var m_currTime:int;// = 0 private var m_newRowDelay:int;// = 0 private var m_numRowPush;// = 0 private var m_GUInewrow:Array; private var m_modeTweak:Boolean;// = false private var m_destroyed:Array; private var m_spacePressed:Boolean;// = false private var m_prevCmboWasDiamond:Boolean; private var m_delayEnd:int;// = 0 private var m_GUIdiamond:Array; private var m_spaceEnabled:Boolean;// = true private var TIMELIMIT:int;// = 2250 private var m_doVobble:Boolean;// = false private var m_howToCunt:int;// = 0 private var m_megaClearBonus:Boolean;// = false private var m_GUIdestroyed:Array; public static var STATE_PLAY:int = 2; public static var TIME:int = 901; public static var m_music:SoundManager = new SoundManager(); public static var SFX_STATE:int = 701; public static var STATE_GAME_COMPLETE:int = 4; public static var NEW_LEVEL:int = 301; public static var STATE_IDLE:int = 0; public static var FEED:int = 201; public static var COMBO:int = 101; public static var RESET:int = 100; public static var SCORE:int = 501; public static var GAME_END:int = 401; public static var MUSIC_STATE:int = 801; public static var m_sound:SoundManager = new SoundManager(); public static var STATE_INTRO:int = 1; public static var BONUS:int = 601; public function FDGame(_arg1:MovieClip, _arg2:MouseInput, _arg3:SharedData){ m_mouse = new Array(); m_destroyed = new Array(); m_GUIdestroyed = new Array(); m_GUIfall = new Array(); m_GUItweak = new Array(); m_GUIfeed = new Array(); m_GUIdiamond = new Array(); m_GUIvobbling = new Array(); m_GUInewrow = new Array(); super(); trace("FDGame()"); m_root = _arg1; m_input = _arg2; m_sh = _arg3; TIMELIMIT = (TIMELIMIT + m_sh.EXTRATIME); m_sh.musicMngr = m_music; m_sh.soundMngr = m_sound; m_level = new Level(m_sh); m_score = new Score(m_sh); m_gui = new Gui(m_root, m_sh); m_gui.setSndSfx(); m_state = STATE_INTRO; m_sh.getAllClips = m_level.getAllBlocks; m_music.get("intro_loop").loop(0.8); m_root.INTRO.INSTR.txtIngameHead.text = I18n.getString("txtIngameHead"); m_root.INTRO.INSTR.mcStartGame.txtStartGame.text = I18n.getString("txtStartGame"); m_root.INTRO.INSTR.visible = false; m_root.mcLogo.visible = false; if (m_sh.isShortMode){ TIMELIMIT = ((0.75 * 60) * 25); }; } private function generateLevel():void{ var _local1:int; var _local2:Block; var _local4:int; m_level.setBlockTypes(3); var _local3:* = -1; if (m_sh.boostForceColor){ m_sh.boostForceColor = false; _local3 = m_level.getNextInt(m_sh.COLS); }; m_blocks = new Array(); while (_local4 < 11) { m_blocks[_local4] = new Array(); _local1 = 0; while (_local1 < m_sh.COLS) { if ((((_local4 < 7)) || ((_local4 == 10)))){ _local2 = new Block("EMPTY"); } else { if ((((_local4 == 9)) && ((_local1 == _local3)))){ _local2 = m_level.generateRandomBlock(false, true); } else { _local2 = m_level.generateRandomBlock(false, false); }; _local2.setX = getX(_local1); _local2.setY = getY(_local4); _local2.create(); m_root.addChild(_local2); }; setBlock(_local4, _local1, _local2); _local1++; }; _local4++; }; newRow(true); m_countTime = true; m_doRender = true; m_level.setLevel(m_blocks); m_state = STATE_PLAY; m_root.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener); if (m_sh.EXTRATIME){ m_gui.extraTimePuff(); }; if (m_gui.randInt(25) == 0){ m_flashDiamondTick = m_gui.randInt(TIMELIMIT); trace("***"); trace(("FLASH DIAMOND " + m_flashDiamondTick)); trace("***"); }; } private function leftToMiddle(_arg1:int):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:Object; var _local6:int = (m_sh.ROWS - 1); var _local7:int = _arg1; var _local8:* = 1; var _local9:int = (_local7 - 1); while (_local9 >= 0) { if (m_blocks[_local6][_local9].TYPE == "EMPTY"){ _local8++; } else { _local2 = _local6; while (_local2 >= 0) { if (m_blocks[_local2][_local9].TYPE == "EMPTY"){ break; }; _local3 = _local2; _local4 = (_local9 + _local8); setBlock(_local3, _local4, m_blocks[_local2][_local9]); m_blocks[_local2][_local9] = new Block("EMPTY"); _local5 = new Object(); _local5.x = getX(_local4); _local5.y = getY(_local3); _local5.b = m_blocks[_local3][_local4]; m_GUItweak.push(_local5); _local2--; }; }; _local9--; }; } private function newRow(_arg1:Boolean=false):void{ var _local2:Block; var _local3:int; m_numRowPush++; if (!_arg1){ m_sound.get("new_row").play(); }; while (_local3 < m_sh.COLS) { _local2 = m_level.generateRandomBlock(true, false); _local2.setX = getX(_local3); _local2.setY = (getY(m_sh.ROWS) + 4); _local2.create(); m_root.addChildAt(_local2, m_root.getChildIndex(m_root.mcRayGunCover)); setBlock(10, _local3, _local2); _local2.visible = false; m_GUInewrow.push(_local2); _local3++; }; } private function blockDrop():void{ var _local1:int; var _local2:int; var _local3:Object; var _local4:Block = m_level.getDestroyed(); if (_local4 == null){ return; }; var _local5:int = _local4.row; var _local6:int = _local4.col; var _local7:* = 1; var _local8:int = (_local5 - 1); while (_local8 >= 0) { if (m_blocks[_local8][_local6].TYPE == "EMPTY"){ _local7++; } else { _local1 = (_local8 + _local7); _local2 = _local6; setBlock(_local1, _local2, m_blocks[_local8][_local6]); m_blocks[_local8][_local6] = new Block("EMPTY"); _local3 = new Object(); _local3.x = getX(_local2); _local3.y = getY(_local1); _local3.b = m_blocks[_local1][_local2]; m_GUIfall.push(_local3); }; _local8--; }; blockDrop(); } private function rowControl(_arg1:Boolean):void{ var _local2:int; if (m_doVobble){ if (!m_level.isFullGrid()){ m_spaceEnabled = true; trace(("CONTENT NO LONGER FIRST ROW : DISABLE VOBBLING (SPECIAL)" + _arg1), m_FEED); m_GUIvobbling = m_level.getAllBlocks(); m_doVobble = false; m_sh.boardVobbling = false; m_gui.stopVobbling(); _local2 = 0; while (_local2 < m_GUIvobbling.length) { m_GUIvobbling[_local2].stopVobble(); _local2++; }; m_GUIvobbling = new Array(); m_sound.get("board_vobble").stop(); if (_arg1){ resetFeed(); }; }; } else { if (m_level.isFullGrid()){ trace("CONTENT ON FIRST ROW : START VOBBLING"); m_doVobble = true; m_sh.boardVobbling = true; m_GUIvobbling = m_level.getAllBlocks(); m_gui.startVobbling(m_GUIvobbling); m_GUIvobbling = new Array(); m_spaceEnabled = false; m_sound.get("board_vobble").play(); }; }; } private function calcScore():void{ var _local1:int = m_score.calcScore(m_sh.HIGH); m_sh.scoreTotal = (m_sh.scoreTotal + _local1); m_sh.scoreCombo = (m_sh.scoreCombo + _local1); sendData((((((((((((SCORE + ",") + m_tick) + ",") + _local1) + ",") + m_sh.scoreTotal) + ",") + m_sh.HIGH.length) + ",") + m_sh.scoreType) + ",0=0")); if (m_sh.scoreType == 1){ m_sh.diamondSav = m_sh.HIGH.length; } else { m_gui.updateScoreTxt(_local1); }; m_gui.scorePop(_local1); m_level.remHighlight(); } private function setBlock(_arg1:int, _arg2:int, _arg3:Block):void{ m_blocks[_arg1][_arg2] = _arg3; _arg3.row = _arg1; _arg3.col = _arg2; } private function rightToMiddle(_arg1:int):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:Object; var _local6:int = (m_sh.ROWS - 1); var _local7:int = _arg1; var _local8:* = 1; var _local9:int = (_local7 + 1); while (_local9 < m_sh.COLS) { if (m_blocks[_local6][_local9].TYPE == "EMPTY"){ _local8++; } else { _local2 = _local6; while (_local2 >= 0) { if (m_blocks[_local2][_local9].TYPE == "EMPTY"){ break; }; _local3 = _local2; _local4 = (_local9 - _local8); setBlock(_local3, _local4, m_blocks[_local2][_local9]); m_blocks[_local2][_local9] = new Block("EMPTY"); _local5 = new Object(); _local5.x = getX(_local4); _local5.y = getY(_local3); _local5.b = m_blocks[_local3][_local4]; m_GUItweak.push(_local5); _local2--; }; }; _local9++; }; } private function sendData(_arg1:String):void{ } private function dropDiamond():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:Block; var _local5:Object; var _local6:int = m_level.numTotDiamonds(); if (((!((m_diamondCount == 0))) && (!((m_sh.scoreType == 1))))){ _local1 = 0; while (_local1 < m_diamondCount) { _local2 = m_level.rndDiamondCol(); _local3 = m_level.getDiamondRow(_local2); _local4 = m_level.generateSpecial("DIAMOND", 1); _local4.setX = getX(_local2); _local4.setY = getY(-2); _local4.create(); m_root.addChild(_local4); setBlock(_local3, _local2, _local4); _local5 = new Object(); _local5.x = getX(_local2); _local5.y = getY(_local3); _local5.b = m_blocks[_local3][_local2]; m_GUIdiamond.push(_local5); _local1++; }; }; m_gui.scorePopOnTop(); if ((((_local6 < 10)) && ((m_level.numTotDiamonds() >= 10)))){ m_sound.get("ten_diamonds").play(); }; } private function blockTweak():void{ var _local2:int; if (m_sh.scoreType == 1){ return; }; var _local1:Array = m_level.getFirstEmptyCol(); while (_local2 < _local1.length) { if (_local1[_local2] < 5){ leftToMiddle(_local1[_local2]); } else { rightToMiddle(_local1[_local2]); }; _local2++; }; } private function adjustGfx():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; if (m_GUInewrow.length > 0){ m_newRowDelay++; if (m_newRowDelay == 5){ doShowNewRow(); if (((m_sh.isShortMode) && ((m_numRowPush == 11)))){ m_endGame = true; }; }; }; if (m_GUIfeed.length > 0){ m_currTick++; if (m_currTick == 1){ _local1 = 0; while (_local1 < m_GUIfeed.length) { m_GUIfeed[_local1].b.doFall(m_GUIfeed[_local1].x, m_GUIfeed[_local1].y, 3); _local1++; }; }; if (m_currTick == 4){ m_GUIfeed = new Array(); m_currTick = 0; } else { if (m_currTick < 4){ return; }; }; }; if (m_modeDestroy){ m_currTick++; if (m_currTick == 1){ m_gui.clearAnim(m_GUIdestroyed); }; if (m_currTick == m_destroyDelay){ m_GUIdestroyed = new Array(); m_modeDestroy = false; m_currTick = 0; } else { if (m_currTick < m_destroyDelay){ return; }; }; }; if (m_modeFall){ m_currTick++; if (m_currTick == 1){ _local2 = 0; while (_local2 < m_GUIfall.length) { m_GUIfall[_local2].b.doFall(m_GUIfall[_local2].x, m_GUIfall[_local2].y, 5); _local2++; }; }; if (m_currTick == 6){ m_GUIfall = new Array(); m_modeFall = false; m_currTick = 0; } else { if (m_currTick < 6){ return; }; }; }; if (m_modeDiamond){ m_currTick++; if (m_currTick == 1){ m_gui.playDelay(m_GUIdiamond); _local3 = 0; while (_local3 < m_GUIdiamond.length) { m_GUIdiamond[_local3].b.doFall(m_GUIdiamond[_local3].x, m_GUIdiamond[_local3].y, 6); _local3++; }; }; if (m_currTick == 7){ m_GUIdiamond = new Array(); m_modeDiamond = false; m_currTick = 0; } else { if (m_currTick < 7){ return; }; }; }; if (m_modeTweak){ m_currTick++; if (m_currTick == 1){ _local4 = 0; while (_local4 < m_GUItweak.length) { m_GUItweak[_local4].b.doTweak(m_GUItweak[_local4].x, m_GUItweak[_local4].y, 4); _local4++; }; }; if (m_currTick == 5){ m_GUItweak = new Array(); m_modeTweak = false; m_currTick = 0; } else { if (m_currTick < 5){ return; }; }; }; } private function doShowNewRow():void{ var _local1:int; m_newRowDelay = 0; while (_local1 < m_GUInewrow.length) { m_gui.setBlackWhite(m_GUInewrow[_local1]); m_GUInewrow[_local1].visible = true; _local1++; }; m_GUInewrow = new Array(); } private function keyDownListener(_arg1:KeyboardEvent){ if (_arg1.keyCode == 32){ m_spacePressed = true; }; } public function render(_arg1:int):void{ var _local2:int; var _local3:int; if (!m_doRender){ return; }; while (_local3 < m_sh.ROWS) { _local2 = 0; while (_local2 < m_sh.COLS) { m_blocks[_local3][_local2].render(); _local2++; }; _local3++; }; m_gui.render(); } public function tick():void{ var _local1:int; var _local2:int; var _local3:Block; var _local4:Array; var _local5:int; var _local6:Array; var _local7:int; var _local8:Array; var _local9:int; var _local10:int; var _local11:int; var _local12:Array; var _local13:int; var _local14:int; var _local15:int; m_music.update(); m_sound.update(); m_root.stage.focus = m_root.stage; if (m_input.mouseIsPressed){ _local1 = m_gui.hitSfx(); if (_local1 != 0){ m_gui.setSndSfx(_local1); m_input.mouseReleased(); }; }; m_tick++; switch (m_state){ case STATE_IDLE: break; case STATE_INTRO: m_currTick++; if (!m_gui.REM){ if (!m_root.INTRO.INSTR.visible){ if (m_currTick == 20){ m_sound.get("diamond_bling").play(); }; if (m_currTick == 50){ m_root.INTRO.INSTR.visible = true; m_gui.hideLogo(); m_gui.setInstr(); }; return; }; }; if (!m_gui.REM){ m_gui.gameWillXXXIn(TIME_INTRO--, 1); }; if (((m_input.mouseIsPressed) && (!(m_gui.REM)))){ m_input.mouseReleased(); if (m_gui.hitStart()){ TIME_INTRO = 1; } else { TIME_INTRO = (25 * 9); }; }; if (TIME_INTRO == (25 * 9)){ _local2 = m_gui.INSTR; if (_local2 == 2){ TIME_INTRO = 1; } else { TIME_INTRO = (25 * 9); m_gui.setInstr(); }; }; if (TIME_INTRO == 1){ m_gui.remIntroScreen(); m_gui.REM = true; m_music.get("intro_loop").fadeToAndStop(0.01, 2000); TIME_INTRO = 0; m_currTick = 0; }; if (TIME_INTRO == 0){ trace(m_currTick); }; if ((((TIME_INTRO == 0)) && ((m_currTick == 12)))){ m_currTick = 0; Debug.print("[gameStart]", "33FF55"); sendData((((((NEW_LEVEL + ",") + m_tick) + ",") + 1) + ",0=0")); generateLevel(); }; return; case STATE_PLAY: if (m_sndDelay != 666){ m_sndDelay++; if (m_sndDelay == 1){ m_sound.get("start_game").play(); }; if (m_sndDelay == 20){ m_music.get("game_loop").loop(0.8); m_sndDelay = 666; }; }; if ((((m_sh.gamesPlayed == 0)) && (!(m_sh.isShortMode)))){ _local3 = m_level.isValidDiamondCombo(); if (_local3 != null){ trace("WE HAVE A VALID DIAMOND COMBO : Num"); m_sh.gamesPlayed = 666; _local4 = m_level.getAllBlocks(); _local5 = 0; while (_local5 < _local4.length) { if (_local4[_local5].TYPE != "DIAMOND"){ m_gui.setBlackWhite(_local4[_local5]); }; _local5++; }; m_howTo = new mcHowTo(); m_howTo.txtHowTo.text = I18n.getString("txtHowTo1"); m_howTo.x = getX(_local3.col); if (_local3.row < 3){ m_howTo.y = ((getY(_local3.row) + m_howTo.height) + 50); } else { m_howTo.y = getY(_local3.row); }; if (m_doVobble){ resetFeed(); m_sound.get("board_vobble").stop(); m_gui.stopVobbling(); _local6 = m_level.getAllBlocks(); _local7 = 0; while (_local7 < _local6.length) { _local6[_local7].stopVobble(); _local7++; }; }; }; }; if ((((((m_sh.gamesPlayed == 666)) && ((m_delayGui == 0)))) && (!(m_sh.isShortMode)))){ m_howToCunt++; if (m_howToCunt == 1){ sendData((((((((TIME + ",") + m_tick) + ",") + 0) + ",") + m_currTime) + ",0=0")); }; if (m_howToCunt == 15){ m_root.addChild(m_howTo); }; m_gui.gameWillXXXIn(m_howToCuntBack--, 3); if (m_howToCunt == (125 + 25)){ m_howTo.x = 384; m_howTo.y = 515; m_howTo.txtHowTo.text = I18n.getString("txtHowTo2"); }; if (m_howToCunt == (250 + 25)){ m_sh.gamesPlayed = 1; m_root.removeChild(m_howTo); _local8 = m_level.getAllBlocks(); _local9 = 0; while (_local9 < _local8.length) { m_gui.setColor(_local8[_local9]); _local9++; }; if (m_doVobble){ m_gui.startVobbling(_local8); m_sound.get("board_vobble").play(); }; m_root.txtGameContinueIn.text = ""; sendData((((((((TIME + ",") + m_tick) + ",") + 1) + ",") + m_currTime) + ",0=0")); } else { return; }; }; highLight(); if (((m_input.mouseIsPressed) && ((m_sh.HIGH.length > 0)))){ adjustBlocks(); }; if (m_gui.randSfx()){ m_music.get(("sfx_" + m_gui.randInt(10))).play(); }; if (controlFeed()){ m_delayGui = (m_delayGui + 4); m_level.remHighlight(); }; if (m_countTime){ m_currTime++; _local10 = m_gui.setTime((TIMELIMIT - m_currTime)); if (_local10 == 3){ m_gui.startCountDown(); }; if (_local10 == 2){ m_sound.get(("hurry_" + m_gui.randInt(3))).play(); }; if (_local10 == 1){ m_sound.get("time_warning").play(1, 0); }; if ((((_local10 == 0)) && (!(m_endGame)))){ m_endGame = true; END_TYPE = 3; }; }; if (m_input.mouseIsPressed){ m_input.mouseReleased(); if (((m_gui.hitQuit()) && (!(m_endGame)))){ m_endGame = true; END_TYPE = 2; }; }; if (m_endGame){ m_music.get("game_loop").fadeToAndStop(0, 500); m_sound.get("time_warning").stop(); m_gui.stopCountDown(); m_root.removeChild(m_root.TIMER); m_root.txtTme.text = ""; if (m_doVobble){ m_gui.stopVobbling(); m_sound.get("board_vobble").stop(); m_GUIvobbling = m_level.getAllBlocks(); _local11 = 0; while (_local11 < m_GUIvobbling.length) { m_GUIvobbling[_local11].stopVobble(); _local11++; }; }; if (m_sh.isShortMode){ m_gui.launchShortWin(); END_TYPE = 3; }; if (END_TYPE == 1){ m_sound.get("diamond_combo").play(); }; if (END_TYPE == 2){ trace("EXIT BUTTON PRESSED"); m_gui.bezierThrow(m_level.getAllBlocks()); m_sound.get("board_throw").play(); }; if (END_TYPE == 3){ trace("TIME IS UP"); m_sound.get("time_out").play(); m_gui.bezierThrow(m_level.getAllBlocks()); m_sound.get("board_throw").play(); }; if (END_TYPE == 4){ trace("ROOF ON FIRE : play anim"); m_gui.bezierThrow(m_level.getAllBlocks()); m_sound.get("board_throw").play(); }; if ((((END_TYPE == 1)) && (m_level.isBoardEmpty()))){ m_megaClearBonus = true; }; sendData((((((MUSIC_STATE + ",") + m_tick) + ",") + m_sh.preMusic) + ",0=0")); sendData((((((SFX_STATE + ",") + m_tick) + ",") + m_sh.preSound) + ",0=0")); sendData((((((GAME_END + ",") + m_tick) + ",") + END_TYPE) + ",0=0")); Debug.print(("[gameEnd]" + m_sh.scoreTotal), "33FF55"); m_root.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownListener); m_state = STATE_GAME_COMPLETE; }; break; case STATE_GAME_COMPLETE: m_delayEnd++; if (m_delayEnd == 30){ m_music.get("game_over").play(); }; if (END_TYPE == 1){ if (m_delayEnd == 1){ m_gui.showDiamondCombo(true); _local12 = m_level.getAllBlocks(); _local13 = 0; while (_local13 < _local12.length) { m_gui.setBlackWhite(_local12[_local13]); _local13++; }; }; if (m_delayEnd == 65){ m_gui.showDiamondCombo(false); m_gui.showClearSquare(true); m_gui.fireGridPopSeq(m_level.getAllEmptyBlocks()); m_sound.get("clear_square").play(); }; if (m_delayEnd == 71){ m_atLeast++; if (((!(m_gui.gridPopSfxDone())) || ((m_atLeast < 40)))){ m_delayEnd = 70; return; }; }; if (m_delayEnd == 79){ m_gui.showClearSquare(false); }; if (m_megaClearBonus){ if (m_delayEnd == 81){ m_gui.aimAndPrepare(); }; if (m_delayEnd == 91){ m_gui.unleashHell(); m_gui.remGui(); m_sound.get("mega_laser").play(); }; if (m_delayEnd == 101){ m_gui.showMegaClear(); m_sound.get("mega_diamond").play(); }; } else { if (m_delayEnd == 89){ m_gui.gameOver(); m_gui.remGui(); }; }; }; if (END_TYPE != 1){ if (m_delayEnd == 50){ m_gui.gameOver(); m_gui.remGui(); }; }; if (((m_input.mouseIsPressed) && (m_gui.m_endGame))){ m_gui.TIME_EXIT = 0; }; if (m_gui.END){ m_music.get("game_over").fadeToAndStop(0, 200); m_state = STATE_IDLE; }; break; }; adjustGfx(); while (_local15 < m_sh.ROWS) { _local14 = 0; while (_local14 < m_sh.COLS) { m_blocks[_local15][_local14].tick(); _local14++; }; _local15++; }; m_gui.tick(); if (m_tick == m_flashDiamondTick){ m_sound.get("flash_diamond").play(); }; } private function controlFeed():Boolean{ var _local1:Boolean; m_gui.stateHandler(m_FEED--); if (((m_spacePressed) && (m_spaceEnabled))){ m_spacePressed = false; m_FEED = 0; }; if (m_FEED == 0){ resetFeed(); if (((m_doVobble) && (!(m_endGame)))){ trace("GAME OVER : content higher than first row"); m_endGame = true; END_TYPE = 4; } else { if (m_delayGui == 0){ if (m_GUInewrow.length > 0){ doShowNewRow(); }; sendData((((FEED + ",") + m_tick) + ",0=0")); feeder(); newRow(); _local1 = true; rowControl(false); m_gui.gunFire(); }; }; }; return (_local1); } private function highLight():void{ if (m_delayGui > 0){ m_delayGui--; return; }; var _local1:int = Math.floor((((m_root.mouseY - m_sh.Y_OFF) + (m_sh.B_HEIGHT / 2)) / m_sh.B_HEIGHT)); var _local2:int = Math.floor((((m_root.mouseX - m_sh.X_OFF) + (m_sh.B_WIDTH / 2)) / m_sh.B_WIDTH)); if (!m_level.isValid(_local1, _local2)){ m_level.remHighlight(); return; }; if (m_level.isSameCluster(_local1, _local2)){ return; }; if (m_sh.HIGH.length > 0){ m_level.remHighlight(); }; if (m_blocks[_local1][_local2].SPECIAL < 3){ m_level.highlightCluster(_local1, _local2); if (m_sh.HIGH.length < 3){ m_level.remHighlight(); return; }; if (m_level.hasColorBomb()){ m_level.addEquals(m_blocks[_local1][_local2].TYPE); m_sh.scoreType = 2; } else { m_sh.scoreType = m_blocks[_local1][_local2].SPECIAL; }; m_level.doHighlight(); }; if (m_blocks[_local1][_local2].SPECIAL == 3){ m_sh.HIGH.push(m_blocks[_local1][_local2]); m_level.addNeighbours(_local1, _local2); m_level.doHighlightBomb(); m_sh.scoreType = 3; }; } private function resetFeed():void{ m_FEED = RESET; if (m_sound.get("board_vobble").isPlaying()){ m_sound.get("board_vobble").stop(); m_sound.get("board_vobble").play(); trace("Start vobble sfx : resetFeed"); }; } private function getX(_arg1:int):int{ return (((m_sh.X_OFF + (_arg1 * m_sh.B_WIDTH)) - (m_sh.B_WIDTH / 2))); } private function getY(_arg1:int):int{ return (((m_sh.Y_OFF + (_arg1 * m_sh.B_HEIGHT)) - (m_sh.B_HEIGHT / 2))); } private function feeder():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:Object; var _local5:int; while (_local5 <= m_sh.ROWS) { _local1 = 0; while (_local1 < m_sh.COLS) { if (m_blocks[_local5][_local1].TYPE != "EMPTY"){ _local2 = (_local5 - 1); _local3 = _local1; setBlock(_local2, _local3, m_blocks[_local5][_local1]); m_blocks[_local5][_local1] = new Block("EMPTY"); _local4 = new Object(); _local4.x = getX(_local3); _local4.y = getY(_local2); _local4.b = m_blocks[_local2][_local3]; m_GUIfeed.push(_local4); }; if (_local5 == 10){ m_gui.setColor(_local4.b); }; _local1++; }; _local5++; }; } private function adjustBlocks():void{ sendData((((((((COMBO + ",") + m_tick) + ",") + m_level.getStrDir(m_sh.HIGH)) + ",") + m_sh.scoreType) + ",0=0")); m_input.mouseReleased(); destroy(); calcScore(); blockDrop(); rowControl(true); dropDiamond(); blockTweak(); rowControl(false); if (m_GUIdestroyed.length > 0){ if (m_sh.scoreType == 3){ m_delayGui = (m_delayGui + 4); m_destroyDelay = 4; } else { m_delayGui = (m_delayGui + 2); m_destroyDelay = 2; }; m_modeDestroy = true; }; if (m_GUIfall.length > 0){ m_delayGui = (m_delayGui + 5); m_modeFall = true; }; if (m_GUItweak.length > 0){ m_delayGui = (m_delayGui + 4); m_modeTweak = true; }; if (m_GUIdiamond.length > 0){ m_delayGui = (m_delayGui + 6); m_modeDiamond = true; }; m_currTick = 0; if (m_sh.scoreType == 1){ trace("--"); trace("WE HAVE A DIAMOND COMBO : End game"); m_sh.scoreBonusTime = m_score.getPercTimeBonus(TIMELIMIT, m_currTime); m_sh.scoreBonusClear = m_score.getPercClearedBonus(m_level.getNumEmpty()); sendData((((((((((((((((BONUS + ",") + m_tick) + ",") + m_sh.scoreBonusTime) + ",") + m_sh.scoreBonusClear) + ",") + m_sh.scoreDiamond) + ",") + m_sh.timePerc) + ",") + m_currTime) + ",") + m_sh.scoreTotal) + ",0=0")); m_sh.scoreTotal = (m_sh.scoreTotal + (m_sh.scoreBonusTime + m_sh.scoreBonusClear)); END_TYPE = 1; m_endGame = true; }; } private function destroy():void{ var _local1:uint; m_sh.MouseX = m_root.mouseX; m_sh.MouseY = m_root.mouseY; if (m_sh.scoreType == 0){ m_sound.get("combo").play(); } else { if (m_sh.scoreType == 3){ m_sound.get("bomb_regular").play(); } else { if (m_sh.scoreType == 2){ m_sound.get("bomb_color").play(); }; }; }; while (_local1 < m_sh.HIGH.length) { m_sh.HIGH[_local1].STATUS = "DESTROYED"; m_GUIdestroyed.push(m_sh.HIGH[_local1]); _local1++; }; if (m_sh.scoreType == 1){ return; }; m_diamondCount = m_level.getNumDiamonds(m_sh.HIGH.length); if (m_level.isBoardEmpty()){ m_diamondCount = (m_diamondCount + 3); m_sound.get(("cleansweep_" + m_gui.randInt(2))).play(); m_gui.gridGlow(); }; if (m_diamondCount > 0){ if ((((m_gui.randInt(10) < 5)) && (!(m_level.isBoardEmpty())))){ m_sound.get(("diamond_" + m_gui.randInt(3))).play(); }; if (m_prevCmboWasDiamond){ m_diamondCount = (m_diamondCount + 1); }; m_prevCmboWasDiamond = true; } else { m_prevCmboWasDiamond = false; }; m_sh.diamondTot = (m_sh.diamondTot + m_diamondCount); } private function onMouseMove(_arg1:Event):void{ var _local2:int = Math.floor((((m_root.mouseY - m_sh.Y_OFF) + (m_sh.B_HEIGHT / 2)) / m_sh.B_HEIGHT)); var _local3:int = Math.floor((((m_root.mouseX - m_sh.X_OFF) + (m_sh.B_WIDTH / 2)) / m_sh.B_WIDTH)); var _local4:Object = new Object(); _local4.r = _local2; _local4.c = _local3; m_mouse.push(_local4); } } }//package
Section 86
//flash_diamond (flash_diamond) package { import flash.media.*; public dynamic class flash_diamond extends Sound { } }//package
Section 87
//G_BOMBSHAKE (G_BOMBSHAKE) package { import anim.*; public dynamic class G_BOMBSHAKE extends AutoLoopingRndStart25Fps { } }//package
Section 88
//G_OVER (G_OVER) package { import anim.*; public dynamic class G_OVER extends AutoLoopingFlare12Fps { } }//package
Section 89
//G_VOBBLE (G_VOBBLE) package { import anim.*; public dynamic class G_VOBBLE extends AutoSingleRndStart20Fps { } }//package
Section 90
//game_loop (game_loop) package { import flash.media.*; public dynamic class game_loop extends Sound { } }//package
Section 91
//GAME_OVER (GAME_OVER) package { import flash.display.*; import flash.text.*; public dynamic class GAME_OVER extends MovieClip { public var txtThisGame:TextField; public var txtScore:TextField; public var mcHighTime:MovieClip; public var txtTimeBonus:TextField; public var txtSavedDiamPerc:TextField; public var txtPersonalBest:TextField; public var mcHighClear:MovieClip; public var txtGeneratedDiamNum:TextField; public var txtSavedDiam:TextField; public var mcHighCombo:MovieClip; public var txtSavedDiamNum:TextField; public var txtClearBonus:TextField; public var txtScoreNum:TextField; public var txtClearBonusNum:TextField; public var mcHighAll:MovieClip; public var txtTimeBonusNum:TextField; public var txtGameEndsIn:TextField; public var txtTotalScoreNum:TextField; public var txtGeneratedDiam:TextField; public var txtGameOver:TextField; public var txtTotalScore:TextField; } }//package
Section 92
//game_over (game_over) package { import flash.media.*; public dynamic class game_over extends Sound { } }//package
Section 93
//GG (GG) package { import flash.display.*; public dynamic class GG extends MovieClip { public var VOBBLE:GG_inner; public var OVER:MovieClip; public var SHAKE:GG_bombshake; public var IDLE:MovieClip; } }//package
Section 94
//GG_bombshake (GG_bombshake) package { import anim.*; public dynamic class GG_bombshake extends AutoLoopingRndStart25Fps { } }//package
Section 95
//GG_inner (GG_inner) package { import anim.*; public dynamic class GG_inner extends AutoSingleRndStart20Fps { } }//package
Section 96
//globare (globare) package { import anim.*; public dynamic class globare extends AutoSingleFlare25Fps { } }//package
Section 97
//gridGlow (gridGlow) package { import anim.*; public dynamic class gridGlow extends AutoSingleFlare25Fps { } }//package
Section 98
//GRIDPOP (GRIDPOP) package { import flash.display.*; public dynamic class GRIDPOP extends MovieClip { public var inner:MovieClip; } }//package
Section 99
//Gui (Gui) package { import flash.display.*; import utils.*; import flash.events.*; import com.greensock.*; import anim.*; import com.greensock.plugins.*; import com.greensock.easing.*; import flash.utils.*; import flash.net.*; public class Gui { public var mrX_btn:SimpleButton; var m_scorePop:MovieClip; var m_vobble:Boolean; var m_countDown:Boolean;// = true var m_clearSquareBonus:int; var m_explo:Interpolator; var m_currY:Number; var m_exploBlock:Boolean;// = true var m_laserLeft:MovieClip; var m_scoreDelay:int; var m_diamondCountTme:int;// = 0 var m_rayGunCount:int;// = 0 var m_diamondCombo:MovieClip; var m_laserRight:MovieClip; var m_countMc:MovieClip;// = null var m_register:MovieClip; var m_gridPopCount:int;// = 0 var m_highBlinkDo:Boolean; var m_highCount:int;// = 0 var m_scoreStep:int; var m_randSfx:Boolean;// = false public var TIME_EXIT:int;// = 300 var m_playDelay:Boolean; var m_countNr:int;// = 0 var m_sh:SharedData; var m_vobbleCount:int;// = 0 var m_diamondStep:int; var m_scoreAnim:Boolean; var m_exploArr:Array; var m_root:MovieClip; var m_gameOver:MovieClip; var m_gridGlowCount:int;// = 0 public var END:Boolean; var m_vobbleArr:Array; var m_destY:Interpolator; var m_playArr:Array; var m_megaClear:MovieClip; var m_scoreOld:int; var m_renderScore:Boolean; public var INSTR:int;// = 0 var m_extraTime:MovieClip; var m_randTme:int;// = 0 public var REM:Boolean;// = false var m_countDownSec:int;// = 0 var m_diamondCount:Boolean;// = false var m_vobbleDelay:int;// = 0 var m_diamondSpin:MovieClip; var m_rayGunShot:Boolean; var m_gridGlow:Boolean; var TIMELIMIT:int;// = 2250 var m_scoreCount:int; var m_playCount:int;// = 0 var m_highBlink:Array; var m_clearSquare:MovieClip; public var m_endGame:Boolean; var m_rayGunArr:Array; public function Gui(_arg1:MovieClip, _arg2:SharedData){ m_vobbleArr = new Array(); m_playArr = new Array(); m_exploArr = new Array(); m_explo = new EaseOutInterpolator(1, 0, 3); m_highBlink = new Array(); m_register = new MovieClip(); super(); m_root = _arg1; m_sh = _arg2; TIMELIMIT = (TIMELIMIT + m_sh.EXTRATIME); if (m_sh.isShortMode){ TIMELIMIT = ((0.75 * 60) * 25); }; TweenPlugin.activate([BezierPlugin]); TweenPlugin.activate([ColorMatrixFilterPlugin]); m_root.mcRayGunCover.coverGlow.stop(); m_root.TIMER.mcWarning.visible = false; m_root.TIMER.mcTimerBg.stop(); m_root.mcBgGrid.gridGlow.stop(); m_root.mcScore.txtCurrScore.text = I18n.getString("txtScore"); m_root.txtTme.text = I18n.getString("txtTme"); hideAllInstr(); } public function setBlackWhite(_arg1:Block):void{ TweenLite.to(_arg1, 0, {colorMatrixFilter:{saturation:0}}); } public function showMegaClear():void{ m_megaClear = new mega_clear_bonus(); m_megaClear.x = 440; m_megaClear.y = 201; m_root.addChild(m_megaClear); TweenLite.to(m_megaClear, 0.1, {delay:4.5, alpha:0, onComplete:remMega}); } public function remIntroScreen():void{ TweenLite.to(m_root.INTRO, 0.5, {alpha:0, onComplete:doRemIntro}); } public function updateScoreTxt(_arg1:int):void{ m_scoreOld = (m_sh.scoreTotal - _arg1); m_scoreStep = (_arg1 / 10); m_scoreCount = 0; m_scoreAnim = true; } public function stateHandler(_arg1:int):void{ if ((((((_arg1 == 75)) || ((_arg1 == 50)))) || ((_arg1 == 25)))){ m_root.gunLeft.nextFrame(); m_root.gunRight.nextFrame(); }; if (_arg1 == 98){ m_root.gunLeft.gotoAndStop(1); m_root.gunRight.gotoAndStop(1); }; } function onScaleComplete(_arg1:MovieClip):void{ var _local2:*; TweenLite.to(_arg1, 1, {y:(_arg1.y - 5), alpha:0, onComplete:onMoveComplete, onCompleteParams:[_arg1]}); m_gridPopCount--; if (m_gridPopCount == 0){ m_sh.soundMngr.get("clear_square").fadeToAndStop(0, 0.2); }; m_clearSquareBonus = (m_clearSquareBonus + 500); m_clearSquare.txtScore.text = formatScore(m_clearSquareBonus); } public function hideLogo():void{ TweenLite.to(m_root.INTRO.LOGO, 0.3, {scaleX:0, scaleY:0, alpha:0}); m_root.mcLogo.visible = true; TweenLite.from(m_root.mcLogo, 0.3, {scaleX:0, scaleY:0, alpha:0}); } public function hitQuit():Boolean{ if (m_root.QUIT.hitTestPoint(m_root.mouseX, m_root.mouseY)){ return (true); }; return (false); } public function startCountDown():void{ m_countDown = true; m_countDownSec = 25; m_countNr = 10; } public function fireGridPopSeq(_arg1:Array):void{ var _local4:*; var _local2:* = null; m_gridPopCount = _arg1.length; var _local3:* = 0; while (_local3 < _arg1.length) { _local2 = new GRIDPOP(); _local2.inner.txtScore.text = "500"; _local4 = 0.4; _local2.scaleY = _local4; _local2.scaleX = _local4; _local2.alpha = 0; _local2.x = getX(_arg1[_local3].col); _local2.y = getY(_arg1[_local3].row); m_root.addChildAt(_local2, m_root.getChildIndex(m_clearSquare)); TweenLite.to(_local2, 0.2, {delay:(_local3 * 0.03), alpha:1, scaleX:1, scaleY:1, onComplete:onScaleComplete, onCompleteParams:[_local2]}); _local3++; }; } public function isDestroyDone():Boolean{ return (true); } function fadeInNumber():void{ var _local1:*; if (m_countMc != null){ m_root.removeChild(m_countMc); }; m_countNr--; if (m_countNr == 0){ return; }; var _local2:* = (getDefinitionByName(("mcTimeNr_" + m_countNr)) as Class); var _local3:* = (new _local2(0, 0) as BitmapData); var _local4:* = new Bitmap(_local3); new Bitmap(_local3).x = (_local4.x - (_local4.width / 2)); _local4.y = (_local4.y - (_local4.height / 2)); m_countMc = new MovieClip(); m_countMc.x = 401; m_countMc.y = 273; m_countMc.addChild(_local4); m_root.addChildAt(m_countMc, m_root.getChildIndex(m_root.mcBgGrid)); TweenLite.from(m_countMc, 0.3, {alpha:0.5, scaleX:0.9, scaleY:0.9, onComplete:onCountDone, ease:Linear.easeNone}); } public function clearAnim(_arg1:Array):void{ var _local2:* = null; if (m_sh.scoreType == 3){ m_exploArr = new Array(); m_explo = new EaseOutInterpolator(1, 0, 4); m_exploBlock = true; _local2 = new EXPLO(); _local2.x = _arg1[0].x; _local2.y = _arg1[0].y; m_root.addChild(_local2); m_exploArr.push(_local2); }; var _local3:* = 0; while (_local3 < _arg1.length) { m_root.removeChild(_arg1[_local3]); _local3++; }; } function onCountDone():void{ m_root.removeChild(m_countMc); m_countMc = null; } public function showClearSquare(_arg1:Boolean):void{ if (_arg1){ m_clearSquare = new clearSquare(); m_clearSquare.x = 202; m_clearSquare.y = -104; m_root.addChild(m_clearSquare); } else { TweenLite.to(m_clearSquare, 0.1, {alpha:0}); }; } public function hitStart():Boolean{ if (m_root.INTRO.INSTR.mcStartGame.hitTestPoint(m_root.mouseX, m_root.mouseY)){ return (true); }; return (false); } public function setColor(_arg1:Block):void{ TweenLite.to(_arg1, 0.5, {colorMatrixFilter:{saturation:1}}); } public function extraTimePuff():void{ m_extraTime = new ExtraTime(); m_extraTime.setDestroyAfterPlay(true); m_extraTime.mcTime.txtXTime.text = I18n.getString("txtXTime"); m_extraTime.mcNum.txtXTimeNum.text = I18n.getString("txtXTimeNum", 10); m_extraTime.x = 701; m_extraTime.y = 49; m_root.addChild(m_extraTime); } function rndNr(_arg1:Number, _arg2:Number):Number{ return (((Math.random() * (_arg2 - _arg1)) + _arg1)); } public function render():void{ if (m_renderScore){ m_scorePop.y = m_currY; }; } function updateBar(_arg1:int):void{ var _local2:* = (_arg1 / TIMELIMIT); m_root.TIMER.mcScale.scaleY = _local2; m_root.TIMER.mcWarning.scaleY = _local2; } public function launchShortWin():void{ m_register = new mcRegister(); m_register.inner.txtRegister.text = I18n.getString("txtRegister"); m_register.x = 402; m_register.y = 294; m_root.addChild(m_register); TIME_EXIT = (25 * 3); } function hideAllInstr():void{ var _local1:* = 1; while (_local1 < 9) { m_root.INTRO.INSTR[("mcInstr" + _local1)].alpha = 0; TweenLite.killTweensOf(m_root.INTRO.INSTR[("mcInstr" + _local1)]); _local1++; }; var _local2:* = 1; while (_local2 < 5) { m_root.INTRO.INSTR[("txtIngame" + _local2)].alpha = 1; _local2++; }; } function rndInt(_arg1:int, _arg2:int):int{ return ((Math.round((Math.random() * (_arg2 - _arg1))) + _arg1)); } public function randSfx():Boolean{ var _local1:*; if (m_randSfx){ m_randTme--; if (m_randTme == 0){ m_randSfx = false; return (true); }; } else { m_randTme++; if (m_randTme == 150){ m_randSfx = true; m_randTme = randInt(((0.1 * 60) * 25)); }; }; return (false); } function doRemIntro():void{ m_root.removeChild(m_root.INTRO); m_root.INTRO = null; } public function forceDestroy():void{ m_renderScore = false; if (m_scorePop != null){ m_root.removeChild(m_scorePop); }; m_scorePop = null; } public function tick():void{ var _local8:*; var _local1:* = 0; var _local2:* = null; var _local3:* = 0; var _local4:* = NaN; var _local5:* = NaN; var _local6:* = 0; var _local7:* = 0; if (m_renderScore){ m_destY.update(); m_currY = m_destY.getValue(); m_scoreDelay--; if (((m_destY.isDone()) && ((m_scoreDelay <= 0)))){ forceDestroy(); }; }; if (m_vobble){ if (m_vobbleCount != 10){ m_vobbleDelay++; if (m_vobbleDelay != 2){ return; }; m_vobbleDelay = 0; _local1 = 0; while (_local1 < m_vobbleArr.length) { if (m_vobbleArr[_local1].row == m_vobbleCount){ m_vobbleArr[_local1].doVobble(); }; _local1++; }; m_vobbleCount++; } else { stopVobbling(); }; }; if (m_playDelay){ m_playCount++; if (m_playCount == 4){ _local2 = m_playArr.shift(); _local3 = _local2.b.col; m_playCount = 0; _local4 = 0; _local5 = 0.2; if (_local3 != 0){ if (_local3 != 1){ if (_local3 != 2){ if (_local3 != 3){ if (_local3 != 6){ if (_local3 != 7){ if (_local3 != 8){ if (_local3 != 9){ _local5 = 1; } else { _local4 = 65; }; } else { _local4 = 55; }; } else { _local4 = 40; }; } else { _local4 = 20; }; } else { _local4 = -20; }; } else { _local4 = -40; }; } else { _local4 = -55; }; } else { _local4 = -65; }; m_sh.soundMngr.get("new_diamond").play(_local5, _local4); }; if (m_playArr.length == 0){ m_playCount = 0; m_playDelay = false; }; }; if (m_countDown){ m_countDownSec--; if (m_countDownSec == 0){ fadeInNumber(); m_countDownSec = 25; }; }; if (m_exploBlock){ m_explo.update(); if (m_explo.isDone()){ m_exploBlock = false; _local6 = 0; while (_local6 < m_exploArr.length) { m_root.removeChild(m_exploArr[_local6]); m_exploArr[_local6] = null; _local6++; }; }; }; if (m_gridGlow){ m_gridGlowCount++; if (m_gridGlowCount == 10){ m_gridGlow = false; m_root.mcBgGrid.gridGlow.start(); if (m_sh.scoreType != 1){ m_sh.soundMngr.get("empty_board").play(); }; }; }; if (m_scoreAnim){ m_scoreCount++; m_root.mcScore.txtScore.text = formatScore((m_scoreOld + (m_scoreCount * m_scoreStep))); if (m_scoreCount == 10){ m_root.mcScore.txtScore.text = formatScore(m_sh.scoreTotal); m_scoreAnim = false; }; }; if (m_diamondCount){ m_diamondCountTme++; m_diamondCombo.txtScore.text = formatScore((m_diamondCountTme * m_diamondStep)); if (m_diamondCountTme == 20){ m_diamondCombo.txtScore.text = formatScore(m_sh.scoreDiamond); m_diamondCount = false; }; }; if (m_endGame){ if (gameWillXXXIn(TIME_EXIT--, 2)){ m_endGame = false; END = true; m_highBlinkDo = false; }; }; if (m_highBlinkDo){ m_highCount++; if (m_highCount == 15){ m_highCount = 0; _local7 = 0; while (_local7 < m_highBlink.length) { if (m_highBlink[_local7].visible){ m_highBlink[_local7].visible = false; trace(("set " + false)); } else { m_highBlink[_local7].visible = true; trace(("set " + true)); }; _local7++; }; }; }; } public function gunFire():void{ m_root.gunLeft.gotoAndStop(5); m_root.gunRight.gotoAndStop(5); m_root.mcRayGunCover.coverGlow.start(); } public function showDiamondCombo(_arg1:Boolean):void{ if (_arg1){ m_diamondCombo = new combo_diamond(); m_diamondCombo.x = -391; m_diamondCombo.y = 271; m_root.addChild(m_diamondCombo); m_diamondCount = true; m_diamondStep = (m_sh.scoreDiamond / 20); } else { TweenLite.to(m_diamondCombo, 0.1, {alpha:0}); }; } public function gameWillXXXIn(_arg1:int, _arg2:int):Boolean{ var _local3:* = (_arg1 / 25); var _local4:* = (_local3 / 60); _local3 = (_local3 - (_local4 * 60)); var _local5:* = int((_local3 / 10)); var _local6:* = _local4; var _local7:* = _local5; var _local8:* = int((_local3 - (_local5 * 10))); if (_arg2 != 1){ if (_arg2 != 2){ if (_arg2 == 3){ m_root.txtGameContinueIn.text = I18n.getString("txtGameContinueIn", ((_local7 + "") + _local8)); }; } else { m_gameOver.txtGameEndsIn.text = I18n.getString("txtGameEndsIn", ((_local7 + "") + _local8)); }; } else { m_root.INTRO.INSTR.txtGameStartsIn.text = I18n.getString("txtGameStartsIn", ((_local7 + "") + _local8)); }; if (_arg1 == 0){ return (true); }; return (false); } function onMoveComplete(_arg1:MovieClip):void{ m_root.removeChild(_arg1); _arg1 = null; } public function setInstr():void{ var _local5:*; var _local1:* = 0; var _local2:* = NaN; var _local3:* = NaN; hideAllInstr(); trace(("setInstr ()" + INSTR)); var _local4:* = 1; while (_local4 < 5) { _local1 = ((INSTR * 4) + _local4); m_root.INTRO.INSTR[("txtIngame" + _local4)].text = I18n.getString(("txtIngame" + _local1)); if (INSTR != 1){ _local3--; _local2 = (1 * _local3); trace(_local2); } else { _local3 = (_local4 - 0.8); _local2 = (1 * _local3); }; TweenLite.to(m_root.INTRO.INSTR[("mcInstr" + _local1)], 0.5, {alpha:1, delay:_local2}); TweenLite.from(m_root.INTRO.INSTR[("txtIngame" + _local4)], 0.5, {alpha:0, delay:_local2}); _local4++; }; INSTR++; } public function remGui():void{ m_root.removeChild(m_root.mcScore); m_root.removeChild(m_root.mcRayGunCover); m_root.removeChild(m_root.mcBgGrid); var _local1:* = m_sh.getAllClips(); var _local2:* = 0; while (_local2 < _local1.length) { m_root.removeChild(_local1[_local2]); _local2++; }; } public function playDelay(_arg1:Array):void{ m_playDelay = true; m_playArr = _arg1; } public function bezierThrow(_arg1:Array):void{ var _local6:*; var _local2:* = 0; var _local3:* = 0; var _local4:* = 0; var _local5:* = 0; while (_local5 < _arg1.length) { _arg1[_local5].RENDER = false; _arg1[_local5].stopVobble(); _local2 = rndInt(215, 710); if (_arg1[_local5].x > _local2){ _local6 = 1; _local3 = _local6; } else { _local6 = 2; _local3 = _local6; }; _local3 = undefined; _local4 = rndInt(30, 40); if (_local3 != 2){ _local6 = (_local2 - _local4); _local4 = _local6; } else { _local6 = (_local4 + _local2); _local4 = _local6; }; _local4 = undefined; TweenLite.to(_arg1[_local5], rndNr(1, 1.5), {bezier:[{x:_local2, y:(_arg1[_local5].y - rndInt(200, 250))}, {x:_local4, y:700}], ease:Linear.easeNone}); _local5++; }; } public function startVobbling(_arg1:Array):void{ m_vobble = true; m_vobbleArr = _arg1; } public function setTime(_arg1:int):int{ var _local2:* = (_arg1 / 25); var _local3:* = (_local2 / 60); _local2 = (_local2 - (_local3 * 60)); var _local4:* = int((_local2 / 10)); var _local5:* = _local3; var _local6:* = _local4; var _local7:* = int((_local2 - (_local4 * 10))); updateBar(_arg1); var _local8:* = 999; if (_arg1 == (25 * 10)){ _local8 = 3; }; if (_arg1 == (25 * 25)){ _local8 = 2; }; if (_arg1 == (25 * 11)){ _local8 = 1; m_root.TIMER.mcTimerBg.start(); m_root.TIMER.mcWarning.visible = true; m_root.TIMER.mcScale.visible = false; }; if (_arg1 == 0){ _local8 = 0; }; return (_local8); } public function unleashHell():void{ var _local1:*; _local1 = true; m_laserLeft.visible = _local1; m_laserRight.visible = _local1; TweenLite.from(m_laserRight, 0.4, {alpha:0}); TweenLite.to(m_laserRight, 0.2, {alpha:0, delay:0.4, overwrite:0}); TweenLite.from(m_laserLeft, 0.4, {alpha:0}); TweenLite.to(m_laserLeft, 0.2, {alpha:0, delay:0.4, overwrite:0}); var _local2:* = new mcFlashOuter(); _local2.x = 400; _local2.y = 270; m_root.addChild(_local2); TweenLite.from(_local2, 0.1, {delay:0.3, scaleX:0, scaleY:0}); TweenLite.to(_local2, 0.2, {delay:0.4, alpha:0, overwrite:0}); m_diamondSpin.visible = true; TweenLite.from(m_diamondSpin, 0.3, {delay:0.5, alpha:0, scaleX:0.6, scaleY:0.6}); TweenLite.to(m_diamondSpin, 0.3, {delay:5, alpha:0, scaleX:0, scaleY:0, overwrite:0, onComplete:gameOver}); } public function stopVobbling():void{ m_vobble = false; m_vobbleArr = new Array(); m_vobbleCount = 0; } function remMega():void{ m_root.removeChild(m_megaClear); } public function aimAndPrepare():void{ var _local1:*; m_laserLeft = new laser_left(); m_laserRight = new laser_right(); m_laserLeft.x = 280; m_laserRight.x = 520; _local1 = 350; m_laserLeft.y = _local1; m_laserRight.y = _local1; _local1 = false; m_laserLeft.visible = _local1; m_laserRight.visible = _local1; m_root.addChild(m_laserRight); m_root.addChild(m_laserLeft); m_root.gunRight.gotoAndStop(1); m_root.gunLeft.gotoAndStop(1); m_root.gunRight.rayRot.start(); m_root.gunLeft.rayRot.start(); m_diamondSpin = new big_diamond(); m_diamondSpin.x = 401; m_diamondSpin.y = 250; m_diamondSpin.visible = false; m_root.addChild(m_diamondSpin); } function getY(_arg1:int):Number{ return ((m_sh.Y_OFF + (_arg1 * m_sh.B_HEIGHT))); } function getX(_arg1:int):Number{ return ((m_sh.X_OFF + (_arg1 * m_sh.B_WIDTH))); } public function setSndSfx(_arg1:int=666):void{ if (_arg1 == 666){ m_sh.soundMngr.setVolume(m_sh.preSound); m_sh.musicMngr.setVolume(m_sh.preMusic); if (m_sh.preSound == 0){ m_root.SOUND.gotoAndStop(2); }; if (m_sh.preMusic == 0){ m_root.MUSIC.gotoAndStop(2); }; }; if (_arg1 == 1){ if (m_sh.preSound != 1){ m_root.SOUND.gotoAndStop(1); m_sh.preSound = 1; } else { m_root.SOUND.gotoAndStop(2); m_sh.preSound = 0; }; m_sh.soundMngr.setVolume(m_sh.preSound); }; if (_arg1 == 2){ if (m_sh.preMusic != 1){ m_root.MUSIC.gotoAndStop(1); m_sh.preMusic = 1; } else { m_root.MUSIC.gotoAndStop(2); m_sh.preMusic = 0; }; m_sh.musicMngr.setVolume(m_sh.preMusic); }; } public function scorePopOnTop():void{ if (m_scorePop != null){ m_root.setChildIndex(m_scorePop, (m_root.numChildren - 1)); }; } public function formatScore(_arg1:int):String{ var _local2:* = null; var _local3:* = 0; var _local4:* = _arg1.toString(); if (_local4.length > 3){ _local2 = _local4.split(""); _local2.reverse(); _local4 = ""; _local3 = (_local2.length - 1); while (_local3 >= 0) { if (_local3 == 2){ _local4 = (_local4 + "."); }; _local4 = (_local4 + _local2[_local3]); _local3--; }; }; return (_local4); } public function submit_mrX(_arg1:MouseEvent):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = NaN; _local3 = undefined; _local4 = undefined; _local5 = undefined; _local2 = m_sh.scoreTotal; _local3 = "index.php?act=Arcade&do=newscore"; _local4 = new URLRequest(_local3); _local5 = new URLVariables(); _local5.gname = "FlashDiamondAS3mrX"; _local5.gscore = _local2; trace("mrX Score:", _local2); _local4.data = _local5; _local4.method = URLRequestMethod.POST; navigateToURL(_local4, "_self"); } public function gameOver():void{ var _local1:*; m_gameOver = new GAME_OVER(); m_gameOver.mrX_btn.addEventListener(MouseEvent.MOUSE_DOWN, submit_mrX); _local1 = false; m_gameOver.mcHighAll.star_total.visible = _local1; m_gameOver.mcHighTime.star_time.visible = _local1; m_gameOver.mcHighClear.star_bonus.visible = _local1; m_gameOver.mcHighCombo.star_combo.visible = _local1; m_gameOver.x = 387; m_gameOver.y = 316; m_gameOver.txtGameOver.text = I18n.getString("txtGameOver"); m_gameOver.txtThisGame.text = I18n.getString("txtThisGame"); m_gameOver.txtPersonalBest.text = I18n.getString("txtPersonalBest"); m_gameOver.txtScore.text = I18n.getString("txtScore"); m_gameOver.txtTimeBonus.text = I18n.getString("txtTimeBonus"); m_gameOver.txtTotalScore.text = I18n.getString("txtTotalScore"); m_gameOver.txtGeneratedDiam.text = I18n.getString("txtGeneratedDiam"); m_gameOver.txtSavedDiam.text = I18n.getString("txtSavedDiam"); m_gameOver.txtClearBonus.text = I18n.getString("txtClearBonus"); m_gameOver.txtClearBonusNum.text = formatScore(m_sh.scoreBonusClear); m_gameOver.txtTotalScoreNum.text = formatScore(m_sh.scoreTotal); m_gameOver.txtTimeBonusNum.text = formatScore(m_sh.scoreBonusTime); m_gameOver.txtScoreNum.text = formatScore(m_sh.scoreCombo); if (m_sh.scoreCombo > m_sh.preHighScoreCombo){ m_gameOver.mcHighCombo.txtScoreNumAllHigh.text = formatScore(m_sh.scoreCombo); m_gameOver.mcHighCombo.star_combo.visible = true; m_highBlink.push(m_gameOver.mcHighCombo.star_combo); } else { m_gameOver.mcHighCombo.txtScoreNumAllHigh.text = formatScore(m_sh.preHighScoreCombo); }; if (m_sh.scoreBonusClear > m_sh.preScoreBonusClear){ m_gameOver.mcHighClear.txtClearBonusAllHigh.text = formatScore(m_sh.scoreBonusClear); m_gameOver.mcHighClear.star_bonus.visible = true; m_highBlink.push(m_gameOver.mcHighClear.star_bonus); } else { m_gameOver.mcHighClear.txtClearBonusAllHigh.text = formatScore(m_sh.preScoreBonusClear); }; if (m_sh.scoreBonusTime > m_sh.preHighTimeBonus){ m_gameOver.mcHighTime.txtTimeBonusAllHigh.text = formatScore(m_sh.scoreBonusTime); m_gameOver.mcHighTime.star_time.visible = true; m_highBlink.push(m_gameOver.mcHighTime.star_time); } else { m_gameOver.mcHighTime.txtTimeBonusAllHigh.text = formatScore(m_sh.preHighTimeBonus); }; if (m_sh.scoreTotal > m_sh.preHighScoreTotal){ m_gameOver.mcHighAll.txtTotalScoreAllHigh.text = formatScore(m_sh.scoreTotal); m_gameOver.mcHighAll.star_total.visible = true; m_highBlink.push(m_gameOver.mcHighAll.star_total); } else { m_gameOver.mcHighAll.txtTotalScoreAllHigh.text = formatScore(m_sh.preHighScoreTotal); }; m_gameOver.txtGeneratedDiamNum.text = m_sh.diamondTot; m_gameOver.txtSavedDiamNum.text = m_sh.diamondSav; var _local2:* = ((100 * m_sh.diamondSav) / m_sh.diamondTot); m_gameOver.txtSavedDiamPerc.text = _local2; if (m_sh.isShortMode){ m_root.addChildAt(m_gameOver, m_root.getChildIndex(m_register)); } else { m_root.addChild(m_gameOver); }; if (m_highBlink.length > 0){ m_highBlinkDo = true; }; m_endGame = true; } public function stopCountDown():void{ m_countDown = false; TweenLite.killTweensOf(m_countMc); if (m_countMc != null){ m_root.removeChild(m_countMc); m_countMc = null; }; } public function gunReset():void{ } public function gridGlow():void{ m_gridGlow = true; m_gridGlowCount = 0; } public function hitSfx():int{ if (m_root.SOUND.hitTestPoint(m_root.mouseX, m_root.mouseY)){ return (1); }; if (m_root.MUSIC.hitTestPoint(m_root.mouseX, m_root.mouseY)){ return (2); }; return (0); } public function scorePop(_arg1:int):void{ if (m_scorePop != null){ forceDestroy(); }; m_scorePop = new mcScorePop(); m_scoreDelay = 30; m_scorePop.x = (m_sh.MouseX - 10); m_scorePop.y = (m_sh.MouseY - 40); m_scorePop.txtScore.text = _arg1; m_root.addChild(m_scorePop); m_destY = new EaseOutInterpolator(m_scorePop.y, (m_scorePop.y - 10), 20); m_renderScore = true; } public function gridPopSfxDone():Boolean{ if (m_gridPopCount == 0){ return (true); }; return (false); } public function randInt(_arg1:int):int{ return (Math.floor((Math.random() * _arg1))); } } }//package
Section 100
//hurry_0 (hurry_0) package { import flash.media.*; public dynamic class hurry_0 extends Sound { } }//package
Section 101
//hurry_1 (hurry_1) package { import flash.media.*; public dynamic class hurry_1 extends Sound { } }//package
Section 102
//hurry_2 (hurry_2) package { import flash.media.*; public dynamic class hurry_2 extends Sound { } }//package
Section 103
//intro_loop (intro_loop) package { import flash.media.*; public dynamic class intro_loop extends Sound { } }//package
Section 104
//laser_left (laser_left) package { import flash.display.*; public dynamic class laser_left extends MovieClip { } }//package
Section 105
//laser_right (laser_right) package { import flash.display.*; public dynamic class laser_right extends MovieClip { } }//package
Section 106
//Level (Level) package { import utils.*; public class Level { private var m_blocks:Array; private var m_prevColor:String;// = "" private var m_checkMyNeighbour:Array; private var m_count:int;// = 0 private var m_typesColorBomb:Array; private var m_random:Random; private var m_typesUse:Array; private var m_sh:SharedData; public static var COLOR_BOMB_PERCENT:Array = [2]; public static var m_typesAll:Array = ["YY", "BB", "GG", "RR"]; public static var BOMB_PERCENT:Array = [1]; public function Level(_arg1:SharedData){ m_typesUse = new Array(); m_typesColorBomb = new Array(); m_checkMyNeighbour = new Array(); super(); m_sh = _arg1; m_random = new Random(m_sh.globalSeed); } public function generateSpecial(_arg1:String, _arg2:int):Block{ var _local3:Block = generateBlock(_arg1, _arg2); return (_local3); } public function getFirstEmptyCol():Array{ var _local1:Array = new Array(); var _local2:int = (m_sh.ROWS - 1); var _local3:* = 5; while (_local3 < m_sh.COLS) { if (m_blocks[_local2][_local3].TYPE == "EMPTY"){ _local1.push(_local3); break; }; _local3++; }; var _local4:* = 4; while (_local4 >= 0) { if (m_blocks[_local2][_local4].TYPE == "EMPTY"){ _local1.push(_local4); break; }; _local4--; }; return (_local1); } public function getNumDiamonds(_arg1:int):int{ var _local2:int = (_arg1 / 10); return (_local2); } public function getStrDir(_arg1:Array):String{ var _local3:int; var _local2:* = ""; while (_local3 < _arg1.length) { _local2 = (_local2 + (((_arg1[_local3].row + "_") + _arg1[_local3].col) + ":")); _local3++; }; return (_local2); } private function generateBlock(_arg1:String, _arg2:int):Block{ var _local3:Block = new Block(_arg1); _local3.SPECIAL = _arg2; return (_local3); } public function highlightCluster(_arg1:int, _arg2:int):void{ m_blocks[_arg1][_arg2].MARKED = 1; m_sh.HIGH.push(m_blocks[_arg1][_arg2]); setHighlight(_arg1, _arg2); } public function hasColorBomb():Boolean{ var _local1:int; while (_local1 < m_sh.HIGH.length) { if (m_sh.HIGH[_local1].SPECIAL == 2){ return (true); }; _local1++; }; return (false); } public function isValidDiamondCombo():Block{ var _local1:int; var _local2:Block; var _local3:int; while (_local3 < m_sh.COLS) { _local1 = 0; while (_local1 < m_sh.ROWS) { _local2 = m_blocks[_local1][_local3]; if (_local2 != null){ if (_local2.TYPE == "DIAMOND"){ return (_local2); }; }; _local1++; }; _local3++; }; return (null); } private function checkLeft(_arg1:int, _arg2:int, _arg3:String):void{ var _local4:int = _arg2; while (_local4 >= 0) { if (!isValid(_arg1, _arg2)){ return; }; if (m_blocks[_arg1][_local4].SPECIAL > 2){ return; }; if (m_blocks[_arg1][_local4].TYPE != _arg3){ return; }; if (m_blocks[_arg1][_local4].MARKED){ return; }; m_blocks[_arg1][_local4].MARKED = 1; m_sh.HIGH.push(m_blocks[_arg1][_local4]); m_checkMyNeighbour.push(m_blocks[_arg1][_local4]); _local4--; }; } public function isSameCluster(_arg1:int, _arg2:int):Boolean{ var _local3:int; while (_local3 < m_sh.HIGH.length) { if ((((m_sh.HIGH[_local3].row == _arg1)) && ((m_sh.HIGH[_local3].col == _arg2)))){ return (true); }; if (m_sh.HIGH[_local3].SPECIAL == 3){ return (false); }; _local3++; }; return (false); } public function doHighlightBomb():void{ var _local1:int; while (_local1 < m_sh.HIGH.length) { if (_local1 == 0){ m_sh.HIGH[_local1].setHighBomb(true, true); } else { m_sh.HIGH[_local1].setHighBomb(true, false); }; _local1++; }; } private function getAllEmptyCols():Array{ var _local2:int; var _local1:Array = new Array(); while (_local2 < 10) { if (m_blocks[0][_local2].TYPE == "EMPTY"){ _local1.push(_local2); }; _local2++; }; return (_local1); } public function traceLv():void{ var _local1:int; var _local3:int; trace("-----"); var _local2:* = ""; while (_local3 < 10) { _local1 = 0; while (_local1 < 10) { if (m_blocks[_local3][_local1].TYPE == "EMPTY"){ _local2 = (_local2 + "XX "); } else { if (m_blocks[_local3][_local1].TYPE == "DIAMOND"){ _local2 = (_local2 + "DD "); } else { _local2 = (_local2 + (m_blocks[_local3][_local1].TYPE + " ")); }; }; _local1++; }; trace(_local2); _local2 = ""; _local3++; }; } public function numTotDiamonds():int{ var _local1:int; var _local2:int; var _local3:int; while (_local3 < 10) { _local1 = 0; while (_local1 < 10) { if (m_blocks[_local3][_local1].TYPE == "DIAMOND"){ _local2++; }; _local1++; }; _local3++; }; return (_local2); } public function remHighlight():void{ var _local1:int; while (_local1 < m_sh.HIGH.length) { m_sh.HIGH[_local1].setHigh(false, m_sh.boardVobbling); m_sh.HIGH[_local1].setHighBomb(false, false); m_sh.HIGH[_local1].MARKED = 0; _local1++; }; m_sh.HIGH = new Array(); } public function isFullGrid():Boolean{ var _local1:int; while (_local1 < 10) { if (m_blocks[0][_local1].TYPE != "EMPTY"){ return (true); }; _local1++; }; return (false); } public function setLevel(_arg1:Array):void{ m_blocks = _arg1; } private function checkUp(_arg1:int, _arg2:int, _arg3:String):void{ var _local4:int = _arg1; while (_local4 >= 0) { if (!isValid(_local4, _arg2)){ return; }; if (m_blocks[_local4][_arg2].SPECIAL > 2){ return; }; if (m_blocks[_local4][_arg2].TYPE != _arg3){ return; }; if (m_blocks[_local4][_arg2].MARKED){ return; }; m_blocks[_local4][_arg2].MARKED = 1; m_sh.HIGH.push(m_blocks[_local4][_arg2]); m_checkMyNeighbour.push(m_blocks[_local4][_arg2]); _local4--; }; } public function getNextInt(_arg1:int):int{ return (m_random.nextInt(_arg1)); } public function addEquals(_arg1:String):void{ var _local2:int; var _local3:int; while (_local3 < 10) { _local2 = 0; while (_local2 < 10) { if ((((m_blocks[_local3][_local2].TYPE == _arg1)) && ((m_blocks[_local3][_local2].MARKED == 0)))){ m_sh.HIGH.push(m_blocks[_local3][_local2]); }; _local2++; }; _local3++; }; } public function getAllEmptyBlocks():Array{ var _local1:int; var _local3:int; var _local2:Array = new Array(); while (_local3 < 10) { _local1 = 0; while (_local1 < 10) { if (isNull(_local3, _local1)){ m_blocks[_local3][_local1].row = _local3; m_blocks[_local3][_local1].col = _local1; _local2.push(m_blocks[_local3][_local1]); }; _local1++; }; _local3++; }; return (_local2); } private function checkDown(_arg1:int, _arg2:int, _arg3:String):void{ var _local4:int = _arg1; while (_local4 < m_sh.ROWS) { if (!isValid(_local4, _arg2)){ return; }; if (m_blocks[_local4][_arg2].SPECIAL > 2){ return; }; if (m_blocks[_local4][_arg2].TYPE != _arg3){ return; }; if (m_blocks[_local4][_arg2].MARKED){ return; }; m_blocks[_local4][_arg2].MARKED = 1; m_sh.HIGH.push(m_blocks[_local4][_arg2]); m_checkMyNeighbour.push(m_blocks[_local4][_arg2]); _local4++; }; } public function isBoardEmpty():Boolean{ var _local1:int; var _local2:* = 9; while (_local2 >= 0) { _local1 = 0; while (_local1 < 10) { if (((((!((m_blocks[_local2][_local1].STATUS == "DESTROYED"))) && (!((m_blocks[_local2][_local1].TYPE == "EMPTY"))))) && (!((m_blocks[_local2][_local1].TYPE == "DIAMOND"))))){ return (false); }; _local1++; }; _local2--; }; return (true); } public function rndDiamondCol():int{ var _local1:Array = getAllEmptyCols(); return (_local1[m_random.nextInt(_local1.length)]); } private function spliceColor(_arg1:String):void{ var _local2:int; while (_local2 < m_typesColorBomb.length) { if (m_typesColorBomb[_local2] == _arg1){ m_typesColorBomb.splice(_local2, 1); break; }; _local2++; }; } public function getAllBlocks():Array{ var _local1:int; var _local3:int; var _local2:Array = new Array(); while (_local3 < 11) { _local1 = 0; while (_local1 < 10) { if (!isNull(_local3, _local1)){ _local2.push(m_blocks[_local3][_local1]); }; _local1++; }; _local3++; }; return (_local2); } public function getDiamondRow(_arg1:int):int{ var _local2:int; var _local3:int; while (_local3 < 10) { if (m_blocks[_local3][_arg1].TYPE == "EMPTY"){ _local2 = _local3; } else { break; }; _local3++; }; return (_local2); } public function getNumEmpty():int{ var _local1:int; var _local2:int; var _local3:int; while (_local3 < m_sh.ROWS) { _local2 = 0; while (_local2 < m_sh.COLS) { if (m_blocks[_local3][_local2].TYPE == "EMPTY"){ _local1++; }; _local2++; }; _local3++; }; return (_local1); } public function getDestroyed():Block{ var _local1:int; var _local2:int; while (_local2 < m_sh.COLS) { _local1 = (m_sh.ROWS - 1); while (_local1 >= 0) { if (m_blocks[_local1][_local2].STATUS == "DESTROYED"){ m_blocks[_local1][_local2] = new Block("EMPTY"); m_blocks[_local1][_local2].row = _local1; m_blocks[_local1][_local2].col = _local2; return (m_blocks[_local1][_local2]); }; _local1--; }; _local2++; }; return (null); } public function generateRandomBlock(_arg1:Boolean, _arg2:Boolean):Block{ var _local3:int; var _local5:int; var _local4:String = m_typesUse[m_random.nextInt(m_typesUse.length)]; if (((_arg1) || (_arg2))){ if (_arg2){ _local3 = 1; } else { _local3 = m_random.nextInt(200); if (m_sh.boostNoBomb){ while (_local3 < BOMB_PERCENT[0]) { _local3 = m_random.nextInt(200); }; }; }; if (_local3 < BOMB_PERCENT[0]){ _local4 = "BOMB"; _local5 = 3; } else { if ((((_local3 >= BOMB_PERCENT[0])) && ((_local3 < (COLOR_BOMB_PERCENT[0] + BOMB_PERCENT[0]))))){ _local5 = 2; if (m_prevColor == _local4){ spliceColor(_local4); _local4 = m_typesColorBomb[m_random.nextInt(m_typesColorBomb.length)]; restorColorArr(); }; m_prevColor = _local4; }; }; }; return (generateBlock(_local4, _local5)); } public function doHighlight():void{ var _local1:int; while (_local1 < m_sh.HIGH.length) { m_sh.HIGH[_local1].setHigh(true, false); _local1++; }; } private function getCopy():Array{ var _local2:int; var _local1:Array = new Array(); while (_local2 < m_typesAll.length) { _local1.push(m_typesAll[_local2]); _local2++; }; return (_local1); } private function restorColorArr():void{ var _local1:int; m_typesColorBomb = new Array(); while (_local1 < m_typesUse.length) { m_typesColorBomb.push(m_typesUse[_local1]); _local1++; }; } public function setBlockTypes(_arg1:int):void{ var _local2:int; var _local4:int; m_typesUse = new Array(); var _local3:Array = getCopy(); while (_local4 < _arg1) { _local2 = m_random.nextInt(_local3.length); m_typesUse.push(_local3[_local2]); _local3.splice(_local2, 1); _local4++; }; restorColorArr(); } private function setHighlight(_arg1:int, _arg2:int):void{ var _local3:Block; var _local4:String = m_blocks[_arg1][_arg2].TYPE; checkLeft(_arg1, (_arg2 - 1), _local4); checkRight(_arg1, (_arg2 + 1), _local4); checkUp((_arg1 - 1), _arg2, _local4); checkDown((_arg1 + 1), _arg2, _local4); if (m_checkMyNeighbour.length > 0){ _local3 = m_checkMyNeighbour.shift(); setHighlight(_local3.row, _local3.col); }; } public function isNull(_arg1:int, _arg2:int):Boolean{ if (m_blocks[_arg1][_arg2].TYPE == "EMPTY"){ return (true); }; return (false); } private function checkRight(_arg1:int, _arg2:int, _arg3:String):void{ var _local4:int = _arg2; while (_local4 < m_sh.COLS) { if (!isValid(_arg1, _local4)){ return; }; if (m_blocks[_arg1][_local4].SPECIAL > 2){ return; }; if (m_blocks[_arg1][_local4].TYPE != _arg3){ return; }; if (m_blocks[_arg1][_local4].MARKED){ return; }; m_blocks[_arg1][_local4].MARKED = 1; m_sh.HIGH.push(m_blocks[_arg1][_local4]); m_checkMyNeighbour.push(m_blocks[_arg1][_local4]); _local4++; }; } public function addNeighbours(_arg1:int, _arg2:int):void{ if (isValid(_arg1, (_arg2 - 1))){ m_sh.HIGH.push(m_blocks[_arg1][(_arg2 - 1)]); }; if (isValid(_arg1, (_arg2 + 1))){ m_sh.HIGH.push(m_blocks[_arg1][(_arg2 + 1)]); }; if (isValid((_arg1 - 1), _arg2)){ m_sh.HIGH.push(m_blocks[(_arg1 - 1)][_arg2]); }; if (isValid((_arg1 + 1), _arg2)){ m_sh.HIGH.push(m_blocks[(_arg1 + 1)][_arg2]); }; if (isValid((_arg1 - 1), (_arg2 + 1))){ m_sh.HIGH.push(m_blocks[(_arg1 - 1)][(_arg2 + 1)]); }; if (isValid((_arg1 - 1), (_arg2 - 1))){ m_sh.HIGH.push(m_blocks[(_arg1 - 1)][(_arg2 - 1)]); }; if (isValid((_arg1 + 1), (_arg2 + 1))){ m_sh.HIGH.push(m_blocks[(_arg1 + 1)][(_arg2 + 1)]); }; if (isValid((_arg1 + 1), (_arg2 - 1))){ m_sh.HIGH.push(m_blocks[(_arg1 + 1)][(_arg2 - 1)]); }; } public function isOob(_arg1:int, _arg2:int):Boolean{ if ((((_arg1 < 0)) || ((_arg2 < 0)))){ return (true); }; if ((((_arg1 >= m_sh.ROWS)) || ((_arg2 >= m_sh.COLS)))){ return (true); }; return (false); } public function isValid(_arg1:int, _arg2:int):Boolean{ if (isOob(_arg1, _arg2)){ return (false); }; if (isNull(_arg1, _arg2)){ return (false); }; return (true); } } }//package
Section 107
//logoclip (logoclip) package { import anim.*; public dynamic class logoclip extends AutoSingleFlare25Fps { public function logoclip(){ addFrameScript(24, frame25); } function frame25(){ } } }//package
Section 108
//mcFlashOuter (mcFlashOuter) package { import flash.display.*; public dynamic class mcFlashOuter extends MovieClip { } }//package
Section 109
//mcHowTo (mcHowTo) package { import flash.display.*; import flash.text.*; public dynamic class mcHowTo extends MovieClip { public var txtHowTo:TextField; } }//package
Section 110
//mcRayRot (mcRayRot) package { import anim.*; public dynamic class mcRayRot extends AutoSingleFlare25Fps { public function mcRayRot(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 111
//mcRegister (mcRegister) package { import flash.display.*; public dynamic class mcRegister extends MovieClip { public var inner:MovieClip; } }//package
Section 112
//mcScorePop (mcScorePop) package { import flash.display.*; import flash.text.*; public dynamic class mcScorePop extends MovieClip { public var txtScore:TextField; } }//package
Section 113
//mcTimeNr_0 (mcTimeNr_0) package { import flash.display.*; public dynamic class mcTimeNr_0 extends BitmapData { public function mcTimeNr_0(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 114
//mcTimeNr_1 (mcTimeNr_1) package { import flash.display.*; public dynamic class mcTimeNr_1 extends BitmapData { public function mcTimeNr_1(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 115
//mcTimeNr_2 (mcTimeNr_2) package { import flash.display.*; public dynamic class mcTimeNr_2 extends BitmapData { public function mcTimeNr_2(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 116
//mcTimeNr_3 (mcTimeNr_3) package { import flash.display.*; public dynamic class mcTimeNr_3 extends BitmapData { public function mcTimeNr_3(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 117
//mcTimeNr_4 (mcTimeNr_4) package { import flash.display.*; public dynamic class mcTimeNr_4 extends BitmapData { public function mcTimeNr_4(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 118
//mcTimeNr_5 (mcTimeNr_5) package { import flash.display.*; public dynamic class mcTimeNr_5 extends BitmapData { public function mcTimeNr_5(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 119
//mcTimeNr_6 (mcTimeNr_6) package { import flash.display.*; public dynamic class mcTimeNr_6 extends BitmapData { public function mcTimeNr_6(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 120
//mcTimeNr_7 (mcTimeNr_7) package { import flash.display.*; public dynamic class mcTimeNr_7 extends BitmapData { public function mcTimeNr_7(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 121
//mcTimeNr_8 (mcTimeNr_8) package { import flash.display.*; public dynamic class mcTimeNr_8 extends BitmapData { public function mcTimeNr_8(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 122
//mcTimeNr_9 (mcTimeNr_9) package { import flash.display.*; public dynamic class mcTimeNr_9 extends BitmapData { public function mcTimeNr_9(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 123
//mega_clear_bonus (mega_clear_bonus) package { import anim.*; public dynamic class mega_clear_bonus extends AutoSingleFlare25Fps { } }//package
Section 124
//mega_diamond (mega_diamond) package { import flash.media.*; public dynamic class mega_diamond extends Sound { } }//package
Section 125
//mega_laser (mega_laser) package { import flash.media.*; public dynamic class mega_laser extends Sound { } }//package
Section 126
//new_diamond (new_diamond) package { import flash.media.*; public dynamic class new_diamond extends Sound { } }//package
Section 127
//new_row (new_row) package { import flash.media.*; public dynamic class new_row extends Sound { } }//package
Section 128
//new_tapetsary (new_tapetsary) package { import anim.*; public dynamic class new_tapetsary extends AutoLoopingFlare25Fps { } }//package
Section 129
//R_BOMBSHAKE (R_BOMBSHAKE) package { import anim.*; public dynamic class R_BOMBSHAKE extends AutoLoopingRndStart25Fps { } }//package
Section 130
//R_OVER (R_OVER) package { import anim.*; public dynamic class R_OVER extends AutoLoopingFlare12Fps { } }//package
Section 131
//R_VOBBLE (R_VOBBLE) package { import anim.*; public dynamic class R_VOBBLE extends AutoSingleRndStart20Fps { } }//package
Section 132
//RayRotation (RayRotation) package { import anim.*; public dynamic class RayRotation extends AutoSingleFlare25Fps { } }//package
Section 133
//RINGS (RINGS) package { import flash.display.*; public dynamic class RINGS extends MovieClip { public var INNER:RINGS_inner; } }//package
Section 134
//RINGS_inner (RINGS_inner) package { import anim.*; public dynamic class RINGS_inner extends AutoSingleFlare12Fps { } }//package
Section 135
//RR (RR) package { import flash.display.*; public dynamic class RR extends MovieClip { public var VOBBLE:RR_inner; public var OVER:MovieClip; public var SHAKE:RR_bombshake; public var IDLE:MovieClip; } }//package
Section 136
//RR_bombshake (RR_bombshake) package { import anim.*; public dynamic class RR_bombshake extends AutoLoopingRndStart25Fps { } }//package
Section 137
//RR_inner (RR_inner) package { import anim.*; public dynamic class RR_inner extends AutoSingleRndStart20Fps { } }//package
Section 138
//Score (Score) package { import flash.display.*; public class Score { private var m_scorePop:MovieClip; private var m_sh:SharedData; public function Score(_arg1:SharedData){ m_sh = _arg1; } public function getPercTimeBonus(_arg1:int, _arg2:int):int{ var _local3:Number = (1 - (_arg2 / _arg1)); m_sh.timePerc = (Math.round((_local3 * 100)) / 100); var _local4:int = (_local3 * (m_sh.scoreTotal - m_sh.scoreDiamond)); return (_local4); } public function calcScore(_arg1:Array):int{ var _local2:int; if (m_sh.scoreType == 0){ if (_arg1.length == 3){ _local2 = 100; }; if (_arg1.length == 4){ _local2 = 150; }; if (_arg1.length == 5){ _local2 = 200; }; if (_arg1.length == 6){ _local2 = 300; }; if (_arg1.length == 7){ _local2 = 400; }; if (_arg1.length == 8){ _local2 = 500; }; if (_arg1.length == 9){ _local2 = 650; }; if (_arg1.length == 10){ _local2 = 800; }; if (_arg1.length == 11){ _local2 = 950; }; if (_arg1.length == 12){ _local2 = 1150; }; if (_arg1.length == 13){ _local2 = 1450; }; if (_arg1.length > 13){ _local2 = (1450 + ((_arg1.length - 13) * 300)); }; } else { if (m_sh.scoreType == 1){ _local2 = (_arg1.length * 10000); m_sh.scoreDiamond = _local2; } else { if (m_sh.scoreType == 2){ _local2 = 500; } else { if (m_sh.scoreType == 3){ }; }; }; }; return (_local2); } public function getPercClearedBonus(_arg1:int):int{ var _local2:int; _local2 = (_arg1 * 500); if (_arg1 == (m_sh.ROWS * m_sh.COLS)){ _local2 = (_local2 + 50000); }; return (_local2); } } }//package
Section 139
//sfx_0 (sfx_0) package { import flash.media.*; public dynamic class sfx_0 extends Sound { } }//package
Section 140
//sfx_1 (sfx_1) package { import flash.media.*; public dynamic class sfx_1 extends Sound { } }//package
Section 141
//sfx_2 (sfx_2) package { import flash.media.*; public dynamic class sfx_2 extends Sound { } }//package
Section 142
//sfx_3 (sfx_3) package { import flash.media.*; public dynamic class sfx_3 extends Sound { } }//package
Section 143
//sfx_4 (sfx_4) package { import flash.media.*; public dynamic class sfx_4 extends Sound { } }//package
Section 144
//sfx_5 (sfx_5) package { import flash.media.*; public dynamic class sfx_5 extends Sound { } }//package
Section 145
//sfx_6 (sfx_6) package { import flash.media.*; public dynamic class sfx_6 extends Sound { } }//package
Section 146
//sfx_7 (sfx_7) package { import flash.media.*; public dynamic class sfx_7 extends Sound { } }//package
Section 147
//sfx_8 (sfx_8) package { import flash.media.*; public dynamic class sfx_8 extends Sound { } }//package
Section 148
//sfx_9 (sfx_9) package { import flash.media.*; public dynamic class sfx_9 extends Sound { } }//package
Section 149
//SharedData (SharedData) package { import snd.*; public class SharedData { public var MouseX:int; public var diamondSav:int; public var boostNoBomb:Boolean; public var musicMngr:SoundManager; public var ROWS:int; public var MouseY:int; public var preHighScoreTotal:int; public var scoreBonusTime:int; public var scoreCombo:int; public var scoreBonusClear:int; public var HIGH:Array; public var preSound:int; public var isShortMode:Boolean; public var globalSeed:int; public var boardVobbling:Boolean; public var EXTRATIME:int; public var preMusic:int; public var B_HEIGHT;// = 49 public var boostForceColor:Boolean; public var scoreTotal:int; public var scoreDiamond:int; public var diamondTot:int; public var percCleared:int; public var X_OFF;// = 181 public var Y_OFF;// = 54 public var timePerc:Number; public var scoreType:int; public var preHighTimeBonus:int; public var B_WIDTH;// = 49 public var COLS:int; public var gamesPlayed:int; public var getAllClips:Function; public var preHighScoreCombo:int; public var soundMngr:SoundManager; public var preScoreBonusClear:int; public var exitButton:Boolean; public function SharedData(){ scoreTotal = 0; scoreCombo = 0; scoreBonusClear = 0; scoreBonusTime = 0; scoreType = 0; scoreDiamond = 0; globalSeed = 0; isShortMode = false; preSound = 1; preMusic = 1; exitButton = false; preHighScoreCombo = 0; preHighScoreTotal = 0; preHighTimeBonus = 0; preScoreBonusClear = 0; musicMngr = null; soundMngr = null; boardVobbling = false; diamondTot = 0; diamondSav = 0; gamesPlayed = 0; timePerc = 0; MouseX = 0; MouseY = 0; ROWS = 10; COLS = 10; HIGH = new Array(); EXTRATIME = 0; boostForceColor = false; boostNoBomb = false; } } }//package
Section 150
//small_diamond_l (small_diamond_l) package { import flash.display.*; public dynamic class small_diamond_l extends MovieClip { } }//package
Section 151
//small_diamond_r (small_diamond_r) package { import flash.display.*; public dynamic class small_diamond_r extends MovieClip { } }//package
Section 152
//sparks (sparks) package { import anim.*; public dynamic class sparks extends AutoLoopingFlare25Fps { } }//package
Section 153
//start_game (start_game) package { import flash.media.*; public dynamic class start_game extends Sound { } }//package
Section 154
//ten_diamonds (ten_diamonds) package { import flash.media.*; public dynamic class ten_diamonds extends Sound { } }//package
Section 155
//time_out (time_out) package { import flash.media.*; public dynamic class time_out extends Sound { } }//package
Section 156
//time_warning (time_warning) package { import flash.media.*; public dynamic class time_warning extends Sound { } }//package
Section 157
//TimerBgBlink (TimerBgBlink) package { import anim.*; public dynamic class TimerBgBlink extends AutoLoopingFlare12Fps { } }//package
Section 158
//TimerWarning (TimerWarning) package { import anim.*; public dynamic class TimerWarning extends AutoLoopingFlare12Fps { } }//package
Section 159
//Y_BOMBSHAKE (Y_BOMBSHAKE) package { import anim.*; public dynamic class Y_BOMBSHAKE extends AutoLoopingRndStart25Fps { } }//package
Section 160
//Y_OVER (Y_OVER) package { import anim.*; public dynamic class Y_OVER extends AutoLoopingFlare12Fps { } }//package
Section 161
//Y_VOBBLE (Y_VOBBLE) package { import anim.*; public dynamic class Y_VOBBLE extends AutoSingleRndStart20Fps { } }//package
Section 162
//YY (YY) package { import flash.display.*; public dynamic class YY extends MovieClip { public var VOBBLE:YY_inner; public var OVER:MovieClip; public var SHAKE:YY_bombshake; public var IDLE:MovieClip; } }//package
Section 163
//YY_bombshake (YY_bombshake) package { import anim.*; public dynamic class YY_bombshake extends AutoLoopingRndStart25Fps { } }//package
Section 164
//YY_inner (YY_inner) package { import anim.*; public dynamic class YY_inner extends AutoSingleRndStart20Fps { } }//package

Library Items

Symbol 1 Sound {cleansweep_0}
Symbol 2 Sound {sfx_5}
Symbol 3 Sound {sfx_6}
Symbol 4 Sound {sfx_7}
Symbol 5 Sound {sfx_8}
Symbol 6 Sound {sfx_9}
Symbol 7 Sound {board_vobble}
Symbol 8 Sound {board_throw}
Symbol 9 Sound {bomb_regular}
Symbol 10 Sound {clear_square}
Symbol 11 Sound {bomb_color}
Symbol 12 Sound {combo}
Symbol 13 Sound {hurry_1}
Symbol 14 Sound {diamond_combo}
Symbol 15 Sound {empty_board}
Symbol 16 Sound {hurry_2}
Symbol 17 Sound {time_out}
Symbol 18 Sound {flash_diamond}
Symbol 19 Sound {game_loop}
Symbol 20 Sound {game_over}
Symbol 21 Sound {diamond_0}
Symbol 22 Sound {cleansweep_1}
Symbol 23 Sound {hurry_0}
Symbol 24 Sound {intro_loop}
Symbol 25 Sound {diamond_1}
Symbol 26 Sound {start_game}
Symbol 27 Sound {diamond_bling}
Symbol 28 Sound {time_warning}
Symbol 29 Sound {sfx_0}
Symbol 30 Sound {sfx_1}
Symbol 31 Sound {sfx_2}
Symbol 32 Sound {sfx_3}
Symbol 33 Sound {sfx_4}
Symbol 34 Sound {ten_diamonds}
Symbol 35 Sound {mega_diamond}
Symbol 36 Sound {mega_laser}
Symbol 37 Sound {new_diamond}
Symbol 38 Sound {new_row}
Symbol 39 Sound {diamond_2}
Symbol 40 Bitmap {mcTimeNr_0}
Symbol 41 Bitmap {mcTimeNr_1}
Symbol 42 Bitmap {mcTimeNr_2}
Symbol 43 Bitmap {mcTimeNr_3}
Symbol 44 Bitmap {mcTimeNr_4}
Symbol 45 Bitmap {mcTimeNr_5}
Symbol 46 Bitmap {mcTimeNr_6}
Symbol 47 Bitmap {mcTimeNr_7}
Symbol 48 Bitmap {mcTimeNr_8}
Symbol 49 Bitmap {mcTimeNr_9}
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:52
Symbol 52 MovieClip {mcFlashOuter}Uses:51
Symbol 53 BitmapUsed by:54 56
Symbol 54 GraphicUses:53Used by:55
Symbol 55 MovieClip {laser_left}Uses:54
Symbol 56 GraphicUses:53Used by:57
Symbol 57 MovieClip {laser_right}Uses:56
Symbol 58 BitmapUsed by:59 61
Symbol 59 GraphicUses:58Used by:60
Symbol 60 MovieClip {small_diamond_l}Uses:59
Symbol 61 GraphicUses:58Used by:62
Symbol 62 MovieClip {small_diamond_r}Uses:61
Symbol 63 MovieClip {RayRotation}
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:80
Symbol 66 BitmapUsed by:67 171
Symbol 67 GraphicUses:66Used by:80
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:71
Symbol 70 GraphicUsed by:71 97 123 147
Symbol 71 MovieClip {colorBomb2}Uses:69 70Used by:80 83 88 89
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:80
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:80
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:80
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:80
Symbol 80 MovieClip {R_OVER}Uses:65 67 71 73 75 77 79Used by:90
Symbol 81 BitmapUsed by:82 84 85 86 87 168 169
Symbol 82 GraphicUses:81Used by:83
Symbol 83 MovieClipUses:82 71Used by:90
Symbol 84 GraphicUses:81Used by:88
Symbol 85 GraphicUses:81Used by:88 89 167 170 173
Symbol 86 GraphicUses:81Used by:88
Symbol 87 GraphicUses:81Used by:88
Symbol 88 MovieClip {R_VOBBLE}Uses:84 71 85 86 87Used by:90
Symbol 89 MovieClip {R_BOMBSHAKE}Uses:85 71Used by:90
Symbol 90 MovieClip {COLOR_RR}Uses:80 83 88 89
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:106
Symbol 93 BitmapUsed by:94 179
Symbol 94 GraphicUses:93Used by:106
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClip {colorbomb1}Uses:96 70Used by:106 109 114 115
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:106
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:106
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:106
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClip {Y_OVER}Uses:92 94 97 99 101 103 105Used by:116
Symbol 107 BitmapUsed by:108 110 111 112 113 176 177
Symbol 108 GraphicUses:107Used by:109
Symbol 109 MovieClipUses:108 97Used by:116
Symbol 110 GraphicUses:107Used by:114
Symbol 111 GraphicUses:107Used by:114 115 175 178 181
Symbol 112 GraphicUses:107Used by:114
Symbol 113 GraphicUses:107Used by:114
Symbol 114 MovieClip {Y_VOBBLE}Uses:110 97 111 112 113Used by:116
Symbol 115 MovieClip {Y_BOMBSHAKE}Uses:111 97Used by:116
Symbol 116 MovieClip {COLOR_YY}Uses:106 109 114 115
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:132
Symbol 119 BitmapUsed by:120 187
Symbol 120 GraphicUses:119Used by:132
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:123
Symbol 123 MovieClip {colorBomb3}Uses:122 70Used by:132 135 138 139
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:132
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:132
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:132
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:132
Symbol 132 MovieClip {B_OVER}Uses:118 120 123 125 127 129 131Used by:140
Symbol 133 BitmapUsed by:134 136 137 184 185
Symbol 134 GraphicUses:133Used by:135 138 139 183 186 189
Symbol 135 MovieClipUses:134 123Used by:140
Symbol 136 GraphicUses:133Used by:138
Symbol 137 GraphicUses:133Used by:138
Symbol 138 MovieClip {B_VOBBLE}Uses:134 123 136 137Used by:140
Symbol 139 MovieClip {B_BOMBSHAKE}Uses:134 123Used by:140
Symbol 140 MovieClip {COLOR_BB}Uses:132 135 138 139
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:156
Symbol 143 BitmapUsed by:144 195
Symbol 144 GraphicUses:143Used by:156
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:147
Symbol 147 MovieClip {colorbomb4}Uses:146 70Used by:156 159 164 165
Symbol 148 BitmapUsed by:149
Symbol 149 GraphicUses:148Used by:156
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:156
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:156
Symbol 154 BitmapUsed by:155
Symbol 155 GraphicUses:154Used by:156
Symbol 156 MovieClip {G_OVER}Uses:142 144 147 149 151 153 155Used by:166
Symbol 157 BitmapUsed by:158 160 161 162 163 192 193
Symbol 158 GraphicUses:157Used by:159
Symbol 159 MovieClipUses:158 147Used by:166
Symbol 160 GraphicUses:157Used by:164
Symbol 161 GraphicUses:157Used by:164 165 191 194 197
Symbol 162 GraphicUses:157Used by:164
Symbol 163 GraphicUses:157Used by:164
Symbol 164 MovieClip {G_VOBBLE}Uses:160 147 161 162 163Used by:166
Symbol 165 MovieClip {G_BOMBSHAKE}Uses:161 147Used by:166
Symbol 166 MovieClip {COLOR_GG}Uses:156 159 164 165
Symbol 167 MovieClipUses:85Used by:174
Symbol 168 GraphicUses:81Used by:170
Symbol 169 GraphicUses:81Used by:170
Symbol 170 MovieClip {RR_inner}Uses:85 168 169Used by:174
Symbol 171 GraphicUses:66Used by:172
Symbol 172 MovieClipUses:171Used by:174
Symbol 173 MovieClip {RR_bombshake}Uses:85Used by:174
Symbol 174 MovieClip {RR}Uses:167 170 172 173
Symbol 175 MovieClipUses:111Used by:182
Symbol 176 GraphicUses:107Used by:178
Symbol 177 GraphicUses:107Used by:178
Symbol 178 MovieClip {YY_inner}Uses:111 176 177Used by:182
Symbol 179 GraphicUses:93Used by:180
Symbol 180 MovieClipUses:179Used by:182
Symbol 181 MovieClip {YY_bombshake}Uses:111Used by:182
Symbol 182 MovieClip {YY}Uses:175 178 180 181
Symbol 183 MovieClipUses:134Used by:190
Symbol 184 GraphicUses:133Used by:186
Symbol 185 GraphicUses:133Used by:186
Symbol 186 MovieClip {BB_inner}Uses:134 184 185Used by:190
Symbol 187 GraphicUses:119Used by:188
Symbol 188 MovieClipUses:187Used by:190
Symbol 189 MovieClip {BB_bombshake}Uses:134Used by:190
Symbol 190 MovieClip {BB}Uses:183 186 188 189
Symbol 191 MovieClipUses:161Used by:198
Symbol 192 GraphicUses:157Used by:194
Symbol 193 GraphicUses:157Used by:194
Symbol 194 MovieClip {GG_inner}Uses:161 192 193Used by:198
Symbol 195 GraphicUses:143Used by:196
Symbol 196 MovieClipUses:195Used by:198
Symbol 197 MovieClip {GG_bombshake}Uses:161Used by:198
Symbol 198 MovieClip {GG}Uses:191 194 196 197
Symbol 199 BitmapUsed by:200 202 203
Symbol 200 GraphicUses:199Used by:201 204 216 217
Symbol 201 MovieClipUses:200Used by:218
Symbol 202 GraphicUses:199Used by:204
Symbol 203 GraphicUses:199Used by:204
Symbol 204 MovieClip {BOMB_inner}Uses:200 202 203Used by:218
Symbol 205 BitmapUsed by:206 211 213 214
Symbol 206 GraphicUses:205Used by:215
Symbol 207 BitmapUsed by:208 209 210 212 213
Symbol 208 GraphicUses:207Used by:215
Symbol 209 GraphicUses:207Used by:215
Symbol 210 GraphicUses:207Used by:215
Symbol 211 GraphicUses:205Used by:215
Symbol 212 GraphicUses:207Used by:215
Symbol 213 GraphicUses:207 205Used by:215
Symbol 214 GraphicUses:205Used by:215
Symbol 215 MovieClip {sparks}Uses:206 208 209 210 211 212 213 214Used by:216
Symbol 216 MovieClip {BOMB_over}Uses:200 215Used by:218
Symbol 217 MovieClip {BOMB_bombshake}Uses:200Used by:218
Symbol 218 MovieClip {BOMB}Uses:201 204 216 217
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:273
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:221Used by:273
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:273
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:273
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:273
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:273
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:273
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:273
Symbol 235 BitmapUsed by:236
Symbol 236 GraphicUses:235Used by:273
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:273
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:273
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:273
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:243Used by:273
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:273
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:273
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:273
Symbol 251 BitmapUsed by:252
Symbol 252 GraphicUses:251Used by:273
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:273
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:273
Symbol 257 BitmapUsed by:258
Symbol 258 GraphicUses:257Used by:273
Symbol 259 BitmapUsed by:260
Symbol 260 GraphicUses:259Used by:273
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:273
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:273
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:273
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:273
Symbol 269 BitmapUsed by:270
Symbol 270 GraphicUses:269Used by:273
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:273
Symbol 273 MovieClip {DIAMOND_over}Uses:220 222 224 226 228 230 232 234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272Used by:283
Symbol 274 BitmapUsed by:275 277 278 279 280
Symbol 275 GraphicUses:274Used by:276
Symbol 276 MovieClipUses:275Used by:283
Symbol 277 GraphicUses:274Used by:281
Symbol 278 GraphicUses:274Used by:281 282
Symbol 279 GraphicUses:274Used by:281
Symbol 280 GraphicUses:274Used by:281
Symbol 281 MovieClip {DIAMOND_inner}Uses:277 278 279 280Used by:283
Symbol 282 MovieClip {DIAMOND_bombshake}Uses:278Used by:283
Symbol 283 MovieClip {DIAMOND}Uses:273 276 281 282
Symbol 284 FontUsed by:285 312 322 331 333 337 338 341 342 343 344 345 346 347 348 352 358 359 360 361 362 363 367 369 384 389 391 393 563 566 567 569 598 599 600 603 604
Symbol 285 EditableTextUses:284Used by:286
Symbol 286 MovieClip {mcScorePop}Uses:285
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:293
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:293
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:293
Symbol 293 MovieClip {EXPLO}Uses:288 290 292
Symbol 294 BitmapUsed by:295
Symbol 295 GraphicUses:294Used by:310
Symbol 296 BitmapUsed by:297
Symbol 297 GraphicUses:296Used by:310
Symbol 298 BitmapUsed by:299
Symbol 299 GraphicUses:298Used by:310
Symbol 300 BitmapUsed by:301
Symbol 301 GraphicUses:300Used by:310
Symbol 302 BitmapUsed by:303
Symbol 303 GraphicUses:302Used by:310
Symbol 304 BitmapUsed by:305
Symbol 305 GraphicUses:304Used by:310
Symbol 306 BitmapUsed by:307
Symbol 307 GraphicUses:306Used by:310
Symbol 308 BitmapUsed by:309
Symbol 309 GraphicUses:308Used by:310
Symbol 310 MovieClip {diamond_big_inner}Uses:295 297 299 301 303 305 307 309Used by:311
Symbol 311 MovieClip {big_diamond}Uses:310
Symbol 312 EditableTextUses:284Used by:313
Symbol 313 MovieClipUses:312Used by:314
Symbol 314 MovieClip {GRIDPOP}Uses:313
Symbol 315 GraphicUsed by:319 414
Symbol 316 BitmapUsed by:317
Symbol 317 GraphicUses:316Used by:318
Symbol 318 MovieClipUses:317Used by:319
Symbol 319 MovieClip {ClipGroup0}Uses:315 318
Symbol 320 BitmapUsed by:321
Symbol 321 GraphicUses:320Used by:328
Symbol 322 EditableTextUses:284Used by:328
Symbol 323 BitmapUsed by:324
Symbol 324 GraphicUses:323Used by:328
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:327
Symbol 327 MovieClipUses:326Used by:328
Symbol 328 MovieClip {clearSquare}Uses:321 322 324 327
Symbol 329 BitmapUsed by:330
Symbol 330 GraphicUses:329Used by:332
Symbol 331 EditableTextUses:284Used by:332
Symbol 332 MovieClip {combo_diamond}Uses:330 331
Symbol 333 EditableTextUses:284Used by:336
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:336
Symbol 336 MovieClip {mega_clear_bonus}Uses:333 335
Symbol 337 EditableTextUses:284Used by:374
Symbol 338 EditableTextUses:284Used by:374
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClipUses:339Used by:374
Symbol 341 EditableTextUses:284Used by:374
Symbol 342 EditableTextUses:284Used by:374
Symbol 343 EditableTextUses:284Used by:374
Symbol 344 EditableTextUses:284Used by:374
Symbol 345 EditableTextUses:284Used by:374
Symbol 346 EditableTextUses:284Used by:374
Symbol 347 EditableTextUses:284Used by:374
Symbol 348 EditableTextUses:284Used by:374
Symbol 349 FontUsed by:350
Symbol 350 EditableTextUses:349Used by:374
Symbol 351 GraphicUsed by:374
Symbol 352 EditableTextUses:284Used by:374
Symbol 353 BitmapUsed by:354
Symbol 354 GraphicUses:353Used by:355
Symbol 355 ButtonUses:354Used by:374
Symbol 356 BitmapUsed by:357
Symbol 357 GraphicUses:356Used by:374
Symbol 358 EditableTextUses:284Used by:374
Symbol 359 EditableTextUses:284Used by:374
Symbol 360 EditableTextUses:284Used by:374
Symbol 361 EditableTextUses:284Used by:374
Symbol 362 EditableTextUses:284Used by:374
Symbol 363 EditableTextUses:284Used by:366
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:364Used by:366 368 370 373
Symbol 366 MovieClipUses:363 365Used by:374
Symbol 367 EditableTextUses:284Used by:368
Symbol 368 MovieClipUses:367 365Used by:374
Symbol 369 EditableTextUses:284Used by:370
Symbol 370 MovieClipUses:369 365Used by:374
Symbol 371 FontUsed by:372
Symbol 372 EditableTextUses:371Used by:373
Symbol 373 MovieClipUses:372 365Used by:374
Symbol 374 MovieClip {GAME_OVER}Uses:337 338 340 341 342 343 344 345 346 347 348 350 351 352 355 357 358 359 360 361 362 366 368 370 373
Symbol 375 GraphicUsed by:381
Symbol 376 GraphicUsed by:381
Symbol 377 GraphicUsed by:381
Symbol 378 GraphicUsed by:381
Symbol 379 GraphicUsed by:381
Symbol 380 GraphicUsed by:381
Symbol 381 MovieClip {RINGS_inner}Uses:375 376 377 378 379 380Used by:382
Symbol 382 MovieClip {RINGS}Uses:381
Symbol 383 GraphicUsed by:385
Symbol 384 EditableTextUses:284Used by:385
Symbol 385 MovieClipUses:383 384Used by:386
Symbol 386 MovieClip {mcRegister}Uses:385
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:387Used by:390
Symbol 389 EditableTextUses:284Used by:390
Symbol 390 MovieClip {mcHowTo}Uses:388 389
Symbol 391 EditableTextUses:284Used by:392
Symbol 392 MovieClipUses:391Used by:395
Symbol 393 EditableTextUses:284Used by:394
Symbol 394 MovieClipUses:393Used by:395
Symbol 395 MovieClip {ExtraTime}Uses:392 394
Symbol 396 GraphicUsed by:398
Symbol 397 GraphicUsed by:398 400
Symbol 398 MovieClip {FlashDiamond_fla.Music_168}Uses:396 397Used by:Timeline
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClip {FlashDiamond_fla.Sound_167}Uses:399 397Used by:Timeline
Symbol 401 BitmapUsed by:402 403
Symbol 402 GraphicUses:401Used by:404
Symbol 403 GraphicUses:401Used by:404
Symbol 404 MovieClip {FlashDiamond_fla.Symbol1_73}Uses:402 403Used by:411
Symbol 405 BitmapUsed by:406 410
Symbol 406 GraphicUses:405Used by:411
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:407Used by:409
Symbol 409 MovieClipUses:408Used by:411
Symbol 410 GraphicUses:405Used by:411
Symbol 411 MovieClip {logoclip}Uses:406 409 410 404Used by:610
Symbol 412 BitmapUsed by:413
Symbol 413 GraphicUses:412Used by:414
Symbol 414 MovieClip {new_tapetsary}Uses:315 413Used by:571
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClip {TimerWarning}Uses:415Used by:562
Symbol 417 BitmapUsed by:418 419
Symbol 418 GraphicUses:417Used by:421
Symbol 419 GraphicUses:417Used by:420 421
Symbol 420 MovieClipUses:419Used by:421
Symbol 421 MovieClip {TimerBgBlink}Uses:418 420 419Used by:562
Symbol 422 BitmapUsed by:423 424
Symbol 423 GraphicUses:422Used by:430
Symbol 424 GraphicUses:422Used by:430
Symbol 425 BitmapUsed by:429 434
Symbol 426 BitmapUsed by:429 433 434
Symbol 427 BitmapUsed by:429 432 433 434
Symbol 428 BitmapUsed by:429 431 432 433 434
Symbol 429 GraphicUses:425 426 427 428Used by:430
Symbol 430 MovieClip {mcRayRot}Uses:423 424 429Used by:435
Symbol 431 GraphicUses:428Used by:435
Symbol 432 GraphicUses:427 428Used by:435
Symbol 433 GraphicUses:426 427 428Used by:435
Symbol 434 GraphicUses:425 426 427 428Used by:435
Symbol 435 MovieClip {FlashDiamond_fla.mcRayGun_49}Uses:430 431 432 433 434Used by:Timeline
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:438
Symbol 438 MovieClip {globare}Uses:437Used by:557
Symbol 439 GraphicUsed by:440
Symbol 440 MovieClipUses:439Used by:549
Symbol 441 GraphicUsed by:442
Symbol 442 MovieClipUses:441Used by:549
Symbol 443 GraphicUsed by:549
Symbol 444 GraphicUsed by:445
Symbol 445 MovieClipUses:444Used by:549
Symbol 446 GraphicUsed by:447
Symbol 447 MovieClipUses:446Used by:549
Symbol 448 GraphicUsed by:549
Symbol 449 GraphicUsed by:450
Symbol 450 MovieClipUses:449Used by:549
Symbol 451 GraphicUsed by:452
Symbol 452 MovieClipUses:451Used by:549
Symbol 453 GraphicUsed by:549
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454Used by:549
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:456Used by:549
Symbol 458 GraphicUsed by:549
Symbol 459 GraphicUsed by:460
Symbol 460 MovieClipUses:459Used by:549
Symbol 461 GraphicUsed by:462
Symbol 462 MovieClipUses:461Used by:549
Symbol 463 GraphicUsed by:549
Symbol 464 GraphicUsed by:465
Symbol 465 MovieClipUses:464Used by:549
Symbol 466 GraphicUsed by:467
Symbol 467 MovieClipUses:466Used by:549
Symbol 468 GraphicUsed by:549
Symbol 469 GraphicUsed by:470
Symbol 470 MovieClipUses:469Used by:549
Symbol 471 GraphicUsed by:472
Symbol 472 MovieClipUses:471Used by:549
Symbol 473 GraphicUsed by:549
Symbol 474 GraphicUsed by:475
Symbol 475 MovieClipUses:474Used by:549
Symbol 476 GraphicUsed by:477
Symbol 477 MovieClipUses:476Used by:549
Symbol 478 GraphicUsed by:549
Symbol 479 GraphicUsed by:480
Symbol 480 MovieClipUses:479Used by:549
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClipUses:481Used by:549
Symbol 483 GraphicUsed by:549
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClipUses:484Used by:549
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:549
Symbol 488 GraphicUsed by:549
Symbol 489 GraphicUsed by:490
Symbol 490 MovieClipUses:489Used by:549
Symbol 491 GraphicUsed by:492
Symbol 492 MovieClipUses:491Used by:549
Symbol 493 GraphicUsed by:549
Symbol 494 GraphicUsed by:495
Symbol 495 MovieClipUses:494Used by:549
Symbol 496 GraphicUsed by:497
Symbol 497 MovieClipUses:496Used by:549
Symbol 498 GraphicUsed by:549
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:499Used by:549
Symbol 501 GraphicUsed by:502
Symbol 502 MovieClipUses:501Used by:549
Symbol 503 GraphicUsed by:549
Symbol 504 GraphicUsed by:505
Symbol 505 MovieClipUses:504Used by:549
Symbol 506 GraphicUsed by:507
Symbol 507 MovieClipUses:506Used by:549
Symbol 508 GraphicUsed by:549
Symbol 509 GraphicUsed by:510
Symbol 510 MovieClipUses:509Used by:549
Symbol 511 GraphicUsed by:512
Symbol 512 MovieClipUses:511Used by:549
Symbol 513 GraphicUsed by:549
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:549
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:516Used by:549
Symbol 518 GraphicUsed by:549
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:549
Symbol 521 GraphicUsed by:522
Symbol 522 MovieClipUses:521Used by:549
Symbol 523 GraphicUsed by:549
Symbol 524 GraphicUsed by:525
Symbol 525 MovieClipUses:524Used by:549
Symbol 526 GraphicUsed by:527
Symbol 527 MovieClipUses:526Used by:549
Symbol 528 GraphicUsed by:549
Symbol 529 GraphicUsed by:530
Symbol 530 MovieClipUses:529Used by:549
Symbol 531 GraphicUsed by:532
Symbol 532 MovieClipUses:531Used by:549
Symbol 533 GraphicUsed by:549
Symbol 534 GraphicUsed by:535
Symbol 535 MovieClipUses:534Used by:549
Symbol 536 GraphicUsed by:537
Symbol 537 MovieClipUses:536Used by:549
Symbol 538 GraphicUsed by:549
Symbol 539 GraphicUsed by:540
Symbol 540 MovieClipUses:539Used by:549
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClipUses:541Used by:549
Symbol 543 GraphicUsed by:549
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClipUses:544Used by:549
Symbol 546 GraphicUsed by:547
Symbol 547 MovieClipUses:546Used by:549
Symbol 548 GraphicUsed by:549
Symbol 549 MovieClip {gridGlow}Uses:440 442 443 445 447 448 450 452 453 455 457 458 460 462 463 465 467 468 470 472 473 475 477 478 480 482 483 485 487 488 490 492 493 495 497 498 500 502 503 505 507 508 510 512 513 515 517 518 520 522 523 525 527 528 530 532 533 535 537 538 540 542 543 545 547 548Used by:554
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:Timeline
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:554
Symbol 554 MovieClipUses:553 549Used by:Timeline
Symbol 555 BitmapUsed by:556
Symbol 556 GraphicUses:555Used by:557
Symbol 557 MovieClipUses:556 438Used by:Timeline
Symbol 558 GraphicUsed by:559
Symbol 559 MovieClipUses:558Used by:Timeline
Symbol 560 GraphicUsed by:561
Symbol 561 MovieClipUses:560Used by:562
Symbol 562 MovieClipUses:421 561 416Used by:Timeline
Symbol 563 EditableTextUses:284Used by:Timeline
Symbol 564 BitmapUsed by:565
Symbol 565 GraphicUses:564Used by:Timeline
Symbol 566 EditableTextUses:284Used by:568
Symbol 567 EditableTextUses:284Used by:568
Symbol 568 MovieClipUses:566 567Used by:Timeline
Symbol 569 EditableTextUses:284Used by:Timeline
Symbol 570 GraphicUsed by:610
Symbol 571 MovieClipUses:414Used by:610
Symbol 572 BitmapUsed by:573
Symbol 573 GraphicUses:572Used by:609
Symbol 574 BitmapUsed by:575
Symbol 575 GraphicUses:574Used by:576
Symbol 576 MovieClipUses:575Used by:609
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:579
Symbol 579 MovieClipUses:578Used by:609
Symbol 580 BitmapUsed by:581
Symbol 581 GraphicUses:580Used by:582
Symbol 582 MovieClipUses:581Used by:609
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:585
Symbol 585 MovieClipUses:584Used by:609
Symbol 586 BitmapUsed by:588
Symbol 587 BitmapUsed by:588
Symbol 588 GraphicUses:586 587Used by:589
Symbol 589 MovieClipUses:588Used by:609
Symbol 590 BitmapUsed by:591
Symbol 591 GraphicUses:590Used by:592
Symbol 592 MovieClipUses:591Used by:609
Symbol 593 GraphicUsed by:594
Symbol 594 MovieClipUses:593Used by:609
Symbol 595 BitmapUsed by:596
Symbol 596 GraphicUses:595Used by:597
Symbol 597 MovieClipUses:596Used by:609
Symbol 598 EditableTextUses:284Used by:609
Symbol 599 EditableTextUses:284Used by:609
Symbol 600 EditableTextUses:284Used by:609
Symbol 601 FontUsed by:602
Symbol 602 EditableTextUses:601Used by:609
Symbol 603 EditableTextUses:284Used by:609
Symbol 604 EditableTextUses:284Used by:609
Symbol 605 GraphicUsed by:608
Symbol 606 FontUsed by:607
Symbol 607 EditableTextUses:606Used by:608
Symbol 608 MovieClipUses:605 607Used by:609
Symbol 609 MovieClipUses:573 576 579 582 585 589 592 594 597 598 599 600 602 603 604 608Used by:610
Symbol 610 MovieClipUses:570 571 609 411Used by:Timeline
Symbol 611 FontUsed by:612
Symbol 612 EditableTextUses:611Used by:Timeline
Symbol 613 GraphicUsed by:770
Symbol 614 GraphicUsed by:615
Symbol 615 MovieClipUses:614Used by:770
Symbol 616 GraphicUsed by:770
Symbol 617 GraphicUsed by:618
Symbol 618 MovieClipUses:617Used by:770
Symbol 619 GraphicUsed by:622
Symbol 620 GraphicUsed by:621
Symbol 621 MovieClipUses:620Used by:622
Symbol 622 MovieClipUses:619 621Used by:651
Symbol 623 GraphicUsed by:626
Symbol 624 GraphicUsed by:625
Symbol 625 MovieClipUses:624Used by:626
Symbol 626 MovieClipUses:623 625Used by:651
Symbol 627 GraphicUsed by:630
Symbol 628 GraphicUsed by:629
Symbol 629 MovieClipUses:628Used by:630
Symbol 630 MovieClipUses:627 629Used by:651
Symbol 631 GraphicUsed by:634
Symbol 632 GraphicUsed by:633 635 640
Symbol 633 MovieClipUses:632Used by:634
Symbol 634 MovieClipUses:631 633Used by:651
Symbol 635 MovieClipUses:632Used by:636
Symbol 636 MovieClipUses:635Used by:651
Symbol 637 GraphicUsed by:638
Symbol 638 MovieClipUses:637Used by:651
Symbol 639 GraphicUsed by:641
Symbol 640 MovieClipUses:632Used by:641
Symbol 641 MovieClipUses:639 640Used by:651
Symbol 642 MovieClipUsed by:651
Symbol 643 MovieClipUsed by:651
Symbol 644 MovieClipUsed by:651
Symbol 645 MovieClipUsed by:651
Symbol 646 MovieClipUsed by:647
Symbol 647 MovieClipUses:646Used by:651
Symbol 648 MovieClipUsed by:649
Symbol 649 MovieClipUses:648Used by:651
Symbol 650 GraphicUsed by:651
Symbol 651 MovieClipUses:622 626 630 634 636 638 641 642 643 644 645 647 649 650Used by:770
Symbol 652 GraphicUsed by:653
Symbol 653 MovieClipUses:652Used by:770
Symbol 654 GraphicUsed by:655
Symbol 655 MovieClipUses:654Used by:770
Symbol 656 GraphicUsed by:657 660 672
Symbol 657 MovieClipUses:656Used by:658
Symbol 658 MovieClipUses:657Used by:770
Symbol 659 GraphicUsed by:661
Symbol 660 MovieClipUses:656Used by:661
Symbol 661 MovieClipUses:659 660Used by:770
Symbol 662 GraphicUsed by:663
Symbol 663 MovieClipUses:662Used by:770
Symbol 664 GraphicUsed by:665 668
Symbol 665 MovieClipUses:664Used by:770
Symbol 666 MovieClipUsed by:770
Symbol 667 MovieClipUsed by:770
Symbol 668 MovieClipUses:664Used by:770
Symbol 669 GraphicUsed by:670
Symbol 670 MovieClipUses:669Used by:770
Symbol 671 GraphicUsed by:673
Symbol 672 MovieClipUses:656Used by:673
Symbol 673 MovieClipUses:671 672Used by:770
Symbol 674 GraphicUsed by:675
Symbol 675 MovieClipUses:674Used by:770
Symbol 676 GraphicUsed by:770
Symbol 677 MovieClipUsed by:770
Symbol 678 GraphicUsed by:681
Symbol 679 GraphicUsed by:680
Symbol 680 MovieClipUses:679Used by:681
Symbol 681 MovieClipUses:678 680Used by:770
Symbol 682 MovieClipUsed by:683
Symbol 683 MovieClipUses:682Used by:770
Symbol 684 GraphicUsed by:687
Symbol 685 GraphicUsed by:686
Symbol 686 MovieClipUses:685Used by:687
Symbol 687 MovieClipUses:684 686Used by:770
Symbol 688 GraphicUsed by:689
Symbol 689 MovieClipUses:688Used by:770
Symbol 690 MovieClipUsed by:691
Symbol 691 MovieClipUses:690Used by:770
Symbol 692 MovieClipUsed by:693
Symbol 693 MovieClipUses:692Used by:770
Symbol 694 MovieClipUsed by:770
Symbol 695 GraphicUsed by:698
Symbol 696 GraphicUsed by:697
Symbol 697 MovieClipUses:696Used by:698
Symbol 698 MovieClipUses:695 697Used by:770
Symbol 699 GraphicUsed by:702
Symbol 700 GraphicUsed by:701
Symbol 701 MovieClipUses:700Used by:702
Symbol 702 MovieClipUses:699 701Used by:770
Symbol 703 GraphicUsed by:704
Symbol 704 MovieClipUses:703Used by:770
Symbol 705 GraphicUsed by:706
Symbol 706 MovieClipUses:705Used by:770
Symbol 707 GraphicUsed by:708
Symbol 708 MovieClipUses:707Used by:770
Symbol 709 GraphicUsed by:770
Symbol 710 GraphicUsed by:711
Symbol 711 MovieClipUses:710Used by:770
Symbol 712 GraphicUsed by:770
Symbol 713 MovieClipUsed by:768
Symbol 714 MovieClipUsed by:768
Symbol 715 GraphicUsed by:716
Symbol 716 MovieClipUses:715Used by:768
Symbol 717 MovieClipUsed by:768
Symbol 718 GraphicUsed by:721
Symbol 719 GraphicUsed by:720 763
Symbol 720 MovieClipUses:719Used by:721
Symbol 721 MovieClipUses:718 720Used by:768
Symbol 722 MovieClipUsed by:723
Symbol 723 MovieClipUses:722Used by:768
Symbol 724 GraphicUsed by:725
Symbol 725 MovieClipUses:724Used by:768
Symbol 726 MovieClipUsed by:768
Symbol 727 GraphicUsed by:730
Symbol 728 GraphicUsed by:729
Symbol 729 MovieClipUses:728Used by:730
Symbol 730 MovieClipUses:727 729Used by:768
Symbol 731 GraphicUsed by:734
Symbol 732 GraphicUsed by:733 756
Symbol 733 MovieClipUses:732Used by:734
Symbol 734 MovieClipUses:731 733Used by:768
Symbol 735 GraphicUsed by:736
Symbol 736 MovieClipUses:735Used by:768
Symbol 737 GraphicUsed by:738
Symbol 738 MovieClipUses:737Used by:768
Symbol 739 GraphicUsed by:742
Symbol 740 GraphicUsed by:741
Symbol 741 MovieClipUses:740Used by:742
Symbol 742 MovieClipUses:739 741Used by:768
Symbol 743 GraphicUsed by:746
Symbol 744 GraphicUsed by:745
Symbol 745 MovieClipUses:744Used by:746
Symbol 746 MovieClipUses:743 745Used by:768
Symbol 747 GraphicUsed by:748
Symbol 748 MovieClipUses:747Used by:768
Symbol 749 GraphicUsed by:750
Symbol 750 MovieClipUses:749Used by:768
Symbol 751 GraphicUsed by:752
Symbol 752 MovieClipUses:751Used by:768
Symbol 753 GraphicUsed by:754
Symbol 754 MovieClipUses:753Used by:768
Symbol 755 GraphicUsed by:757
Symbol 756 MovieClipUses:732Used by:757
Symbol 757 MovieClipUses:755 756Used by:768
Symbol 758 GraphicUsed by:761
Symbol 759 GraphicUsed by:760
Symbol 760 MovieClipUses:759Used by:761
Symbol 761 MovieClipUses:758 760Used by:768
Symbol 762 GraphicUsed by:764
Symbol 763 MovieClipUses:719Used by:764
Symbol 764 MovieClipUses:762 763Used by:768
Symbol 765 GraphicUsed by:766
Symbol 766 MovieClipUses:765Used by:768
Symbol 767 GraphicUsed by:768
Symbol 768 MovieClipUses:713 714 716 717 721 723 725 726 730 734 736 738 742 746 748 750 752 754 757 761 764 766 767Used by:770
Symbol 769 GraphicUsed by:770
Symbol 770 MovieClipUses:613 615 616 618 651 653 655 658 661 663 665 666 667 668 670 673 675 676 677 681 683 687 689 691 693 694 698 702 704 706 708 709 711 712 768 769Used by:Timeline

Instance Names

"mcBgGrid"Frame 1Symbol 554 MovieClip
"mcRayGunCover"Frame 1Symbol 557 MovieClip
"gunLeft"Frame 1Symbol 435 MovieClip {FlashDiamond_fla.mcRayGun_49}
"gunRight"Frame 1Symbol 435 MovieClip {FlashDiamond_fla.mcRayGun_49}
"QUIT"Frame 1Symbol 559 MovieClip
"TIMER"Frame 1Symbol 562 MovieClip
"txtTme"Frame 1Symbol 563 EditableText
"mcScore"Frame 1Symbol 568 MovieClip
"txtGameContinueIn"Frame 1Symbol 569 EditableText
"INTRO"Frame 1Symbol 610 MovieClip
"debugRenderFPS_txt"Frame 1Symbol 612 EditableText
"mcLogo"Frame 1Symbol 770 MovieClip
"SOUND"Frame 1Symbol 400 MovieClip {FlashDiamond_fla.Sound_167}
"MUSIC"Frame 1Symbol 398 MovieClip {FlashDiamond_fla.Music_168}
"OVER"Symbol 90 MovieClip {COLOR_RR} Frame 1Symbol 80 MovieClip {R_OVER}
"IDLE"Symbol 90 MovieClip {COLOR_RR} Frame 1Symbol 83 MovieClip
"VOBBLE"Symbol 90 MovieClip {COLOR_RR} Frame 1Symbol 88 MovieClip {R_VOBBLE}
"SHAKE"Symbol 90 MovieClip {COLOR_RR} Frame 1Symbol 89 MovieClip {R_BOMBSHAKE}
"OVER"Symbol 116 MovieClip {COLOR_YY} Frame 1Symbol 106 MovieClip {Y_OVER}
"IDLE"Symbol 116 MovieClip {COLOR_YY} Frame 1Symbol 109 MovieClip
"VOBBLE"Symbol 116 MovieClip {COLOR_YY} Frame 1Symbol 114 MovieClip {Y_VOBBLE}
"SHAKE"Symbol 116 MovieClip {COLOR_YY} Frame 1Symbol 115 MovieClip {Y_BOMBSHAKE}
"OVER"Symbol 140 MovieClip {COLOR_BB} Frame 1Symbol 132 MovieClip {B_OVER}
"IDLE"Symbol 140 MovieClip {COLOR_BB} Frame 1Symbol 135 MovieClip
"VOBBLE"Symbol 140 MovieClip {COLOR_BB} Frame 1Symbol 138 MovieClip {B_VOBBLE}
"SHAKE"Symbol 140 MovieClip {COLOR_BB} Frame 1Symbol 139 MovieClip {B_BOMBSHAKE}
"OVER"Symbol 166 MovieClip {COLOR_GG} Frame 1Symbol 156 MovieClip {G_OVER}
"IDLE"Symbol 166 MovieClip {COLOR_GG} Frame 1Symbol 159 MovieClip
"VOBBLE"Symbol 166 MovieClip {COLOR_GG} Frame 1Symbol 164 MovieClip {G_VOBBLE}
"SHAKE"Symbol 166 MovieClip {COLOR_GG} Frame 1Symbol 165 MovieClip {G_BOMBSHAKE}
"IDLE"Symbol 174 MovieClip {RR} Frame 1Symbol 167 MovieClip
"VOBBLE"Symbol 174 MovieClip {RR} Frame 1Symbol 170 MovieClip {RR_inner}
"OVER"Symbol 174 MovieClip {RR} Frame 1Symbol 172 MovieClip
"SHAKE"Symbol 174 MovieClip {RR} Frame 1Symbol 173 MovieClip {RR_bombshake}
"IDLE"Symbol 182 MovieClip {YY} Frame 1Symbol 175 MovieClip
"VOBBLE"Symbol 182 MovieClip {YY} Frame 1Symbol 178 MovieClip {YY_inner}
"OVER"Symbol 182 MovieClip {YY} Frame 1Symbol 180 MovieClip
"SHAKE"Symbol 182 MovieClip {YY} Frame 1Symbol 181 MovieClip {YY_bombshake}
"IDLE"Symbol 190 MovieClip {BB} Frame 1Symbol 183 MovieClip
"VOBBLE"Symbol 190 MovieClip {BB} Frame 1Symbol 186 MovieClip {BB_inner}
"OVER"Symbol 190 MovieClip {BB} Frame 1Symbol 188 MovieClip
"SHAKE"Symbol 190 MovieClip {BB} Frame 1Symbol 189 MovieClip {BB_bombshake}
"IDLE"Symbol 198 MovieClip {GG} Frame 1Symbol 191 MovieClip
"VOBBLE"Symbol 198 MovieClip {GG} Frame 1Symbol 194 MovieClip {GG_inner}
"OVER"Symbol 198 MovieClip {GG} Frame 1Symbol 196 MovieClip
"SHAKE"Symbol 198 MovieClip {GG} Frame 1Symbol 197 MovieClip {GG_bombshake}
"IDLE"Symbol 218 MovieClip {BOMB} Frame 1Symbol 201 MovieClip
"VOBBLE"Symbol 218 MovieClip {BOMB} Frame 1Symbol 204 MovieClip {BOMB_inner}
"OVER"Symbol 218 MovieClip {BOMB} Frame 1Symbol 216 MovieClip {BOMB_over}
"SHAKE"Symbol 218 MovieClip {BOMB} Frame 1Symbol 217 MovieClip {BOMB_bombshake}
"OVER"Symbol 283 MovieClip {DIAMOND} Frame 1Symbol 273 MovieClip {DIAMOND_over}
"IDLE"Symbol 283 MovieClip {DIAMOND} Frame 1Symbol 276 MovieClip
"VOBBLE"Symbol 283 MovieClip {DIAMOND} Frame 1Symbol 281 MovieClip {DIAMOND_inner}
"SHAKE"Symbol 283 MovieClip {DIAMOND} Frame 1Symbol 282 MovieClip {DIAMOND_bombshake}
"txtScore"Symbol 286 MovieClip {mcScorePop} Frame 1Symbol 285 EditableText
"txtScore"Symbol 313 MovieClip Frame 1Symbol 312 EditableText
"inner"Symbol 314 MovieClip {GRIDPOP} Frame 1Symbol 313 MovieClip
"txtScore"Symbol 328 MovieClip {clearSquare} Frame 1Symbol 322 EditableText
"txtScore"Symbol 332 MovieClip {combo_diamond} Frame 1Symbol 331 EditableText
"txtScore"Symbol 336 MovieClip {mega_clear_bonus} Frame 1Symbol 333 EditableText
"txtScoreNumAllHigh"Symbol 366 MovieClip Frame 1Symbol 363 EditableText
"star_combo"Symbol 366 MovieClip Frame 1Symbol 365 MovieClip
"txtClearBonusAllHigh"Symbol 368 MovieClip Frame 1Symbol 367 EditableText
"star_bonus"Symbol 368 MovieClip Frame 1Symbol 365 MovieClip
"txtTimeBonusAllHigh"Symbol 370 MovieClip Frame 1Symbol 369 EditableText
"star_time"Symbol 370 MovieClip Frame 1Symbol 365 MovieClip
"txtTotalScoreAllHigh"Symbol 373 MovieClip Frame 1Symbol 372 EditableText
"star_total"Symbol 373 MovieClip Frame 1Symbol 365 MovieClip
"txtGameEndsIn"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 337 EditableText
"txtSavedDiamPerc"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 338 EditableText
"txtClearBonus"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 341 EditableText
"txtScore"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 342 EditableText
"txtScoreNum"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 343 EditableText
"txtClearBonusNum"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 344 EditableText
"txtGameOver"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 345 EditableText
"txtThisGame"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 346 EditableText
"txtPersonalBest"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 347 EditableText
"txtSavedDiamNum"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 348 EditableText
"txtSavedDiam"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 350 EditableText
"txtTotalScoreNum"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 352 EditableText
"mrX_btn"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 355 Button
"txtGeneratedDiam"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 358 EditableText
"txtGeneratedDiamNum"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 359 EditableText
"txtTimeBonus"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 360 EditableText
"txtTimeBonusNum"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 361 EditableText
"txtTotalScore"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 362 EditableText
"mcHighCombo"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 366 MovieClip
"mcHighClear"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 368 MovieClip
"mcHighTime"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 370 MovieClip
"mcHighAll"Symbol 374 MovieClip {GAME_OVER} Frame 1Symbol 373 MovieClip
"INNER"Symbol 382 MovieClip {RINGS} Frame 1Symbol 381 MovieClip {RINGS_inner}
"txtRegister"Symbol 385 MovieClip Frame 1Symbol 384 EditableText
"inner"Symbol 386 MovieClip {mcRegister} Frame 1Symbol 385 MovieClip
"txtHowTo"Symbol 390 MovieClip {mcHowTo} Frame 1Symbol 389 EditableText
"txtXTime"Symbol 392 MovieClip Frame 1Symbol 391 EditableText
"txtXTimeNum"Symbol 394 MovieClip Frame 1Symbol 393 EditableText
"mcTime"Symbol 395 MovieClip {ExtraTime} Frame 1Symbol 392 MovieClip
"mcNum"Symbol 395 MovieClip {ExtraTime} Frame 1Symbol 394 MovieClip
"rayRot"Symbol 435 MovieClip {FlashDiamond_fla.mcRayGun_49} Frame 1Symbol 430 MovieClip {mcRayRot}
"gridGlow"Symbol 554 MovieClip Frame 1Symbol 549 MovieClip {gridGlow}
"coverGlow"Symbol 557 MovieClip Frame 1Symbol 438 MovieClip {globare}
"mcTimerBg"Symbol 562 MovieClip Frame 1Symbol 421 MovieClip {TimerBgBlink}
"mcScale"Symbol 562 MovieClip Frame 1Symbol 561 MovieClip
"mcWarning"Symbol 562 MovieClip Frame 1Symbol 416 MovieClip {TimerWarning}
"txtScore"Symbol 568 MovieClip Frame 1Symbol 566 EditableText
"txtCurrScore"Symbol 568 MovieClip Frame 1Symbol 567 EditableText
"txtStartGame"Symbol 608 MovieClip Frame 1Symbol 607 EditableText
"mcInstr5"Symbol 609 MovieClip Frame 1Symbol 576 MovieClip
"mcInstr6"Symbol 609 MovieClip Frame 1Symbol 579 MovieClip
"mcInstr7"Symbol 609 MovieClip Frame 1Symbol 582 MovieClip
"mcInstr8"Symbol 609 MovieClip Frame 1Symbol 585 MovieClip
"mcInstr1"Symbol 609 MovieClip Frame 1Symbol 589 MovieClip
"mcInstr2"Symbol 609 MovieClip Frame 1Symbol 592 MovieClip
"mcInstr3"Symbol 609 MovieClip Frame 1Symbol 594 MovieClip
"mcInstr4"Symbol 609 MovieClip Frame 1Symbol 597 MovieClip
"txtIngameHead"Symbol 609 MovieClip Frame 1Symbol 598 EditableText
"txtIngame1"Symbol 609 MovieClip Frame 1Symbol 599 EditableText
"txtIngame2"Symbol 609 MovieClip Frame 1Symbol 600 EditableText
"txtIngame3"Symbol 609 MovieClip Frame 1Symbol 602 EditableText
"txtIngame4"Symbol 609 MovieClip Frame 1Symbol 603 EditableText
"txtGameStartsIn"Symbol 609 MovieClip Frame 1Symbol 604 EditableText
"mcStartGame"Symbol 609 MovieClip Frame 1Symbol 608 MovieClip
"INSTR"Symbol 610 MovieClip Frame 1Symbol 609 MovieClip
"LOGO"Symbol 610 MovieClip Frame 1Symbol 411 MovieClip {logoclip}

Special Tags

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




http://swfchan.com/52/256910/info.shtml
Created: 8/10 -2024 08:56:20 Last modified: 8/10 -2024 08:56:20 Server time: 22/12 -2024 19:59:59