Section 1
//MainTimeline (Funnies_gamesonly_fla.MainTimeline)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var furl;
public var d_Play:SimpleButton;
public var loadingMC:MovieClip;
public var sstart;
public var d_Score:TextField;
public var d_MoreBubble:SimpleButton;
public var d_RePlay:SimpleButton;
public var d_Help:SimpleButton;
public var cc;
public var d_More:SimpleButton;
public var d_Submit:SimpleButton;
public var d_Highscore:SimpleButton;
public var d_HelpPlay:SimpleButton;
public var gamename;
public function MainTimeline(){
addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame6(){
d_Score.text = String(Game.Score);
SoundMixer.stopAll();
if (Config.SSound){
cc = new SOver();
cc.play(0, 100000);
};
d_RePlay.addEventListener(MouseEvent.CLICK, onRePlay);
d_Submit.addEventListener(MouseEvent.CLICK, onSubmit);
gamename = "funnies";
furl = "www.gamesonly.com.cn";
}
public function onRePlay(_arg1){
this.gotoAndPlay("start");
}
public function onHelpPlay(_arg1){
gotoAndStop("game");
}
function frame5(){
stop();
}
public function onClick(_arg1){
switch (_arg1.currentTarget.name){
case "d_Play":
gotoAndStop("game");
break;
case "d_Help":
gotoAndStop("help");
break;
case "d_More":
navigateToURL(new URLRequest("http://www.gamesonly.com.cn/"), "_blank");
break;
case "d_MoreBubble":
navigateToURL(new URLRequest("http://www.bubbleshootergames.net/"), "_blank");
break;
case "d_Highscore":
navigateToURL(new URLRequest("http://www.gamesonly.com.cn/highscore.php?game=funnies"), "_blank");
break;
};
}
function frame1(){
stop();
}
function frame3(){
stop();
SoundMixer.stopAll();
if (Config.SSound){
sstart = new SStart();
sstart.play(0, 999999);
};
d_Play.addEventListener(MouseEvent.CLICK, onClick);
d_Help.addEventListener(MouseEvent.CLICK, onClick);
d_More.addEventListener(MouseEvent.CLICK, onClick);
d_Highscore.addEventListener(MouseEvent.CLICK, onClick);
d_MoreBubble.addEventListener(MouseEvent.CLICK, onClick);
}
function frame4(){
d_HelpPlay.addEventListener(MouseEvent.CLICK, onHelpPlay);
}
public function onSubmit(_arg1){
var _local2:* = MD5.hash((((furl + gamename) + d_Score.text) + "zygomaticgames"));
trace((((furl + gamename) + d_Score.text) + "zygomaticgames"));
trace(_local2);
navigateToURL(new URLRequest((((((("http://www.gamesonly.com.cn/highscore.php?game=" + gamename) + "&score=") + d_Score.text) + "&otherparam=") + _local2) + "")), "_blank");
}
}
}//package Funnies_gamesonly_fla
Section 2
//Timeline_1 (Funnies_gamesonly_fla.Timeline_1)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
public dynamic class Timeline_1 extends MovieClip {
public var d_Load:TextField;
public var mc_9_loading:MovieClip;
public var skip_btn:SimpleButton;
public function Timeline_1(){
addFrameScript(1, frame2, 150, frame151, 151, frame152);
}
function frame151(){
stop();
if (this.root.loaderInfo.bytesLoaded == this.root.loaderInfo.bytesTotal){
gotoAndStop(152);
};
}
function frame2(){
skip_btn.visible = false;
skip_btn.addEventListener(MouseEvent.CLICK, skipEvent);
this.root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.root.loaderInfo.addEventListener(Event.COMPLETE, onInit);
if (this.root.loaderInfo.bytesLoaded == this.root.loaderInfo.bytesTotal){
onInit(null);
};
}
function frame152(){
stop();
SoundMixer.stopAll();
MovieClip(this.parent).gotoAndPlay("start");
}
public function onProgress(_arg1:ProgressEvent){
var _local2:* = Math.floor(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100));
d_Load.text = (("Loading....." + _local2) + "%");
}
public function onInit(_arg1){
skip_btn.visible = true;
d_Load.visible = false;
if (this.currentFrame == 151){
gotoAndStop(152);
};
}
public function skipEvent(_arg1:MouseEvent){
this.gotoAndStop(152);
}
}
}//package Funnies_gamesonly_fla
Section 3
//Timeline_100 (Funnies_gamesonly_fla.Timeline_100)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_100 extends MovieClip {
public function Timeline_100(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 4
//Timeline_101 (Funnies_gamesonly_fla.Timeline_101)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_101 extends MovieClip {
public var d_Eye:MovieClip;
public function Timeline_101(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
stop();
dispatchEvent(new Event("bobmover", true));
}
function frame1(){
stop();
d_Eye.gotoAndPlay(Math.floor((Math.random() * d_Eye.totalFrames)));
}
}
}//package Funnies_gamesonly_fla
Section 5
//Timeline_102 (Funnies_gamesonly_fla.Timeline_102)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_102 extends MovieClip {
public function Timeline_102(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 6
//Timeline_103 (Funnies_gamesonly_fla.Timeline_103)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_103 extends MovieClip {
public var d_Eye:MovieClip;
public function Timeline_103(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
stop();
dispatchEvent(new Event("bobmover", true));
}
function frame1(){
stop();
d_Eye.gotoAndPlay(Math.floor((Math.random() * d_Eye.totalFrames)));
}
}
}//package Funnies_gamesonly_fla
Section 7
//Timeline_104 (Funnies_gamesonly_fla.Timeline_104)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_104 extends MovieClip {
public function Timeline_104(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 8
//Timeline_105 (Funnies_gamesonly_fla.Timeline_105)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_105 extends MovieClip {
public var d_Eye:MovieClip;
public function Timeline_105(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
stop();
dispatchEvent(new Event("bobmover", true));
}
function frame1(){
stop();
d_Eye.gotoAndPlay(Math.floor((Math.random() * d_Eye.totalFrames)));
}
}
}//package Funnies_gamesonly_fla
Section 9
//Timeline_106 (Funnies_gamesonly_fla.Timeline_106)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_106 extends MovieClip {
public function Timeline_106(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 10
//Timeline_107 (Funnies_gamesonly_fla.Timeline_107)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_107 extends MovieClip {
public function Timeline_107(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
stop();
dispatchEvent(new Event("bobmover", true));
}
function frame1(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 11
//Timeline_108 (Funnies_gamesonly_fla.Timeline_108)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_108 extends MovieClip {
public function Timeline_108(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 12
//Timeline_109 (Funnies_gamesonly_fla.Timeline_109)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_109 extends MovieClip {
public var d_Eye:MovieClip;
public function Timeline_109(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
stop();
dispatchEvent(new Event("bobmover", true));
}
function frame1(){
stop();
d_Eye.gotoAndPlay(Math.floor((Math.random() * d_Eye.totalFrames)));
}
}
}//package Funnies_gamesonly_fla
Section 13
//Timeline_110 (Funnies_gamesonly_fla.Timeline_110)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_110 extends MovieClip {
public function Timeline_110(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 14
//Timeline_111 (Funnies_gamesonly_fla.Timeline_111)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_111 extends MovieClip {
public var d_Eye:MovieClip;
public function Timeline_111(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
stop();
dispatchEvent(new Event("bobmover", true));
}
function frame1(){
stop();
d_Eye.gotoAndPlay(Math.floor((Math.random() * d_Eye.totalFrames)));
}
}
}//package Funnies_gamesonly_fla
Section 15
//Timeline_112 (Funnies_gamesonly_fla.Timeline_112)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_112 extends MovieClip {
public function Timeline_112(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 16
//Timeline_27 (Funnies_gamesonly_fla.Timeline_27)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_27 extends MovieClip {
public function Timeline_27(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 17
//Timeline_5 (Funnies_gamesonly_fla.Timeline_5)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_5 extends MovieClip {
public function Timeline_5(){
addFrameScript(79, frame80);
}
function frame80(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 18
//Timeline_7 (Funnies_gamesonly_fla.Timeline_7)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_7 extends MovieClip {
public function Timeline_7(){
addFrameScript(106, frame107);
}
function frame107(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 19
//Timeline_72 (Funnies_gamesonly_fla.Timeline_72)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_72 extends MovieClip {
public function Timeline_72(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 20
//Timeline_86 (Funnies_gamesonly_fla.Timeline_86)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_86 extends MovieClip {
public function Timeline_86(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 21
//Timeline_87 (Funnies_gamesonly_fla.Timeline_87)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_87 extends MovieClip {
public function Timeline_87(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 22
//Timeline_96 (Funnies_gamesonly_fla.Timeline_96)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_96 extends MovieClip {
public var d_Eye:MovieClip;
public function Timeline_96(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
stop();
dispatchEvent(new Event("bobmover", true));
}
function frame1(){
stop();
d_Eye.gotoAndPlay(Math.floor((Math.random() * d_Eye.totalFrames)));
}
}
}//package Funnies_gamesonly_fla
Section 23
//Timeline_97 (Funnies_gamesonly_fla.Timeline_97)
package Funnies_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_97 extends MovieClip {
public function Timeline_97(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Funnies_gamesonly_fla
Section 24
//Timeline_99 (Funnies_gamesonly_fla.Timeline_99)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Timeline_99 extends MovieClip {
public var d_Eye:MovieClip;
public function Timeline_99(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
stop();
dispatchEvent(new Event("bobmover", true));
}
function frame1(){
stop();
d_Eye.gotoAndPlay(Math.floor((Math.random() * d_Eye.totalFrames)));
}
}
}//package Funnies_gamesonly_fla
Section 25
//youlost_118 (Funnies_gamesonly_fla.youlost_118)
package Funnies_gamesonly_fla {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class youlost_118 extends MovieClip {
public var sa;
public function youlost_118(){
addFrameScript(0, frame1, 27, frame28, 106, frame107);
}
function frame1(){
stop();
}
function frame28(){
if (Config.SMusic){
SoundMixer.stopAll();
sa = new SLost();
sa.play();
};
}
function frame107(){
stop();
dispatchEvent(new Event("die_over", true));
}
}
}//package Funnies_gamesonly_fla
Section 26
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _tweenVisible:Boolean;
protected var _target:Object;
protected var _visible:Boolean;
protected var _tween:TweenLite;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
this.onComplete = onCompleteTween;
}
override public function killProps(_arg1:Object):void{
super.killProps(_arg1);
_tweenVisible = !(Boolean(("visible" in _arg1)));
}
public function onCompleteTween():void{
if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(!((_arg2 == 0)));
_tweenVisible = true;
addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
if (((!((_target.visible == true))) && (_tweenVisible))){
_target.visible = true;
};
}
}
}//package gs.plugins
Section 27
//EndArrayPlugin (gs.plugins.EndArrayPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import gs.utils.tween.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _a:Array;
protected var _info:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
public function init(_arg1:Array, _arg2:Array):void{
_a = _arg1;
var _local3:int = (_arg2.length - 1);
while (_local3 > -1) {
if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){
_info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3]));
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (false);
};
init((_arg1 as Array), _arg2);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:ArrayTweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_a[_local3.index] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
}
}//package gs.plugins
Section 28
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class FramePlugin extends TweenPlugin {
protected var _target:MovieClip;
public var frame:int;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function FramePlugin(){
this.propName = "frame";
this.overwriteProps = ["frame"];
this.round = true;
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){
return (false);
};
_target = (_arg1 as MovieClip);
this.frame = _target.currentFrame;
addTween(this, "frame", this.frame, _arg2, "frame");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.gotoAndStop(this.frame);
}
}
}//package gs.plugins
Section 29
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin)
package gs.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function RemoveTintPlugin(){
this.propName = "removeTint";
}
}
}//package gs.plugins
Section 30
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.geom.*;
import gs.utils.tween.*;
public class TintPlugin extends TweenPlugin {
protected var _target:DisplayObject;
protected var _ct:ColorTransform;
protected var _ignoreAlpha:Boolean;
public static const VERSION:Number = 1.1;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
this.propName = "tint";
this.overwriteProps = ["tint"];
}
public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{
var _local3:int;
var _local4:String;
_target = _arg1;
_ct = _target.transform.colorTransform;
_local3 = (_props.length - 1);
while (_local3 > -1) {
_local4 = _props[_local3];
if (_ct[_local4] != _arg2[_local4]){
_tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false);
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg1 is DisplayObject)){
return (false);
};
var _local4:ColorTransform = new ColorTransform();
if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){
_local4.color = uint(_arg2);
};
_ignoreAlpha = true;
init((_arg1 as DisplayObject), _local4);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
var _local2:ColorTransform;
updateTweens(_arg1);
if (_ignoreAlpha){
_local2 = _target.transform.colorTransform;
_ct.alphaMultiplier = _local2.alphaMultiplier;
_ct.alphaOffset = _local2.alphaOffset;
};
_target.transform.colorTransform = _ct;
}
}
}//package gs.plugins
Section 31
//TweenPlugin (gs.plugins.TweenPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class TweenPlugin {
public var overwriteProps:Array;
protected var _tweens:Array;
public var propName:String;
public var onComplete:Function;
public var round:Boolean;
protected var _changeFactor:Number;// = 0
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
super();
}
protected function updateTweens(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_changeFactor = _arg1;
}
protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{
var _local6:Number;
if (_arg4 != null){
_local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4);
if (_local6 != 0){
_tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false);
};
};
}
public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (this.overwriteProps.length - 1);
while (_local2 > -1) {
if ((this.overwriteProps[_local2] in _arg1)){
this.overwriteProps.splice(_local2, 1);
};
_local2--;
};
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if ((_tweens[_local2].name in _arg1)){
_tweens.splice(_local2, 1);
};
_local2--;
};
}
public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName);
return (true);
}
public function get changeFactor():Number{
return (_changeFactor);
}
public static function activate(_arg1:Array):Boolean{
var _local2:int;
var _local3:Object;
_local2 = (_arg1.length - 1);
while (_local2 > -1) {
_local3 = new (_arg1[_local2]);
TweenLite.plugins[_local3.propName] = _arg1[_local2];
_local2--;
};
return (true);
}
}
}//package gs.plugins
Section 32
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
public class VisiblePlugin extends TweenPlugin {
protected var _target:Object;
protected var _visible:Boolean;
protected var _tween:TweenLite;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VisiblePlugin(){
this.propName = "visible";
this.overwriteProps = ["visible"];
this.onComplete = onCompleteTween;
}
public function onCompleteTween():void{
if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(_arg2);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
if (_target.visible != true){
_target.visible = true;
};
}
}
}//package gs.plugins
Section 33
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import gs.*;
import flash.display.*;
import flash.media.*;
public class VolumePlugin extends TweenPlugin {
protected var _target:Object;
protected var _st:SoundTransform;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function VolumePlugin(){
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = _arg1;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, _arg2, "volume");
return (true);
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.soundTransform = _st;
}
}
}//package gs.plugins
Section 34
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo)
package gs.utils.tween {
public class ArrayTweenInfo {
public var change:Number;
public var start:Number;
public var index:uint;
public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){
this.index = _arg1;
this.start = _arg2;
this.change = _arg3;
}
}
}//package gs.utils.tween
Section 35
//TweenInfo (gs.utils.tween.TweenInfo)
package gs.utils.tween {
public class TweenInfo {
public var start:Number;
public var name:String;
public var change:Number;
public var target:Object;
public var property:String;
public var isPlugin:Boolean;
public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
}
}
}//package gs.utils.tween
Section 36
//TweenLite (gs.TweenLite)
package gs {
import flash.events.*;
import flash.display.*;
import gs.utils.tween.*;
import gs.plugins.*;
import flash.utils.*;
public class TweenLite {
public var started:Boolean;
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _hasPlugins:Boolean;
public var initted:Boolean;
public var active:Boolean;
public var startTime:Number;
public var target:Object;
public var duration:Number;
public var gc:Boolean;
public var tweens:Array;
public var vars:Object;
public var ease:Function;
public var exposedVars:Object;
public var initTime:Number;
public var combinedTimeScale:Number;
public static const version:Number = 10.092;
private static var _timer:Timer = new Timer(2000);
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var currentTime:uint;
public static var masterList:Dictionary = new Dictionary(false);
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1};
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var timingSprite:Sprite = new Sprite();
public static var overwriteManager:Object;
private static var _tlInitted:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
if (_arg1 == null){
return;
};
if (!_tlInitted){
TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]);
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_tlInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
this.combinedTimeScale = ((_arg3.timeScale) || (1));
this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0))));
this.target = _arg1;
if (typeof(this.vars.ease) != "function"){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars;
this.tweens = [];
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
var _local4:int = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if (((!((_arg1 in masterList))) || ((_local4 == 1)))){
masterList[_arg1] = [this];
} else {
masterList[_arg1].push(this);
};
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){
this.target.visible = this.exposedVars.visible;
};
};
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function set enabled(_arg1:Boolean):void{
var _local2:Array;
var _local3:Boolean;
var _local4:int;
if (_arg1){
if (!(this.target in masterList)){
masterList[this.target] = [this];
} else {
_local2 = masterList[this.target];
_local4 = (_local2.length - 1);
while (_local4 > -1) {
if (_local2[_local4] == this){
_local3 = true;
break;
};
_local4--;
};
if (!_local3){
_local2[_local2.length] = this;
};
};
};
this.gc = (_arg1) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public function clear():void{
this.tweens = [];
this.vars = (this.exposedVars = {ease:this.vars.ease});
_hasUpdate = false;
}
public function render(_arg1:uint):void{
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
var _local2:Number = ((_arg1 - this.startTime) * 0.001);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function initTweenVals():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:TweenInfo;
if (((!((this.exposedVars.timeScale == undefined))) && (this.target.hasOwnProperty("timeScale")))){
this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false);
};
for (_local1 in this.exposedVars) {
if ((_local1 in _reservedProps)){
} else {
if ((_local1 in plugins)){
_local3 = new (plugins[_local1]);
if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
} else {
this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true);
_hasPlugins = true;
};
} else {
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
};
};
};
if (this.vars.runBackwards == true){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local4 = this.tweens[_local2];
this.tweens[_local2].start = (_local4.start + _local4.change);
_local4.change = -(_local4.change);
_local2--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.exposedVars, this.tweens);
};
}
public function complete(_arg1:Boolean=false):void{
var _local2:int;
if (!_arg1){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (_hasPlugins){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){
this.tweens[_local2].target.onComplete();
};
_local2--;
};
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function updateAll(_arg1:Event=null):void{
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
var _local2:uint = (currentTime = getTimer());
var _local3:Dictionary = masterList;
for each (_local4 in _local3) {
_local5 = (_local4.length - 1);
while (_local5 > -1) {
_local6 = _local4[_local5];
if (_local6.active){
_local6.render(_local2);
} else {
if (_local6.gc){
_local4.splice(_local5, 1);
} else {
if (_local2 >= _local6.startTime){
_local6.activate();
_local6.render(_local2);
};
};
};
_local5--;
};
};
}
public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{
if (_arg1 != null){
if (_arg2){
_arg1.clear();
};
_arg1.enabled = false;
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
if (((!((_arg1 == null))) && ((_arg1 in masterList)))){
_local3 = masterList[_arg1];
_local4 = (_local3.length - 1);
while (_local4 > -1) {
_local5 = _local3[_local4];
if (((_arg2) && (!(_local5.gc)))){
_local5.complete(false);
};
_local5.clear();
_local4--;
};
delete masterList[_arg1];
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
protected static function killGarbage(_arg1:TimerEvent):void{
var _local3:Object;
var _local2:Dictionary = masterList;
for (_local3 in _local2) {
if (_local2[_local3].length == 0){
delete _local2[_local3];
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 37
//Ball (Ball)
package {
import flash.display.*;
public class Ball extends MovieClip {
public var Row:int;
public var MoveX;// = 0
public var MoveY;// = 0
public var Breakflag:Boolean;
public var Distance:Number;
public var d_Hit:MovieClip;
public var ColorID:Number;
public var Col:int;
public var Colorflag:Boolean;
public var BallPoint:Array;// = null
public var Lockflag:Boolean;// = false
public function Ball(){
addFrameScript(0, frame1);
this.mouseEnabled = false;
this.mouseChildren = false;
d_Hit.visible = false;
}
public function getOtherBallArray(_arg1):Array{
var _local2:* = new Array();
if ((Row % 2) == 0){
if (_arg1[(Row - 1)] != null){
_local2.push(_arg1[(Row - 1)][(Col + 1)]);
_local2.push(_arg1[(Row - 1)][Col]);
};
if (_arg1[(Row + 1)] != null){
_local2.push(_arg1[(Row + 1)][(Col + 1)]);
_local2.push(_arg1[(Row + 1)][Col]);
};
_local2.push(_arg1[Row][(Col - 1)]);
_local2.push(_arg1[Row][(Col + 1)]);
} else {
if (_arg1[(Row - 1)] != null){
_local2.push(_arg1[(Row - 1)][Col]);
_local2.push(_arg1[(Row - 1)][(Col - 1)]);
};
if (_arg1[(Row + 1)] != null){
_local2.push(_arg1[(Row + 1)][Col]);
_local2.push(_arg1[(Row + 1)][(Col - 1)]);
};
_local2.push(_arg1[Row][(Col - 1)]);
_local2.push(_arg1[Row][(Col + 1)]);
};
return (_local2);
}
public function BreakRemove(){
}
public function flagOtherBallColor(_arg1){
var _local2:* = getOtherBallArray(_arg1);
var _local3:* = 0;
while (_local3 < _local2.length) {
if (((((((!((_local2[_local3] == null))) && (!(_local2[_local3].Lockflag)))) && (!(_local2[_local3].Colorflag)))) && ((_local2[_local3].ColorID == ColorID)))){
Config.ColorCount++;
_local2[_local3].Colorflag = true;
_local2[_local3].flagOtherBallColor(_arg1);
};
_local3++;
};
}
public function flagOtherBallBreak(_arg1){
var _local2:* = getOtherBallArray(_arg1);
var _local3:* = 0;
while (_local3 < _local2.length) {
if (((!((_local2[_local3] == null))) && (!(_local2[_local3].Breakflag)))){
_local2[_local3].Breakflag = true;
_local2[_local3].flagOtherBallBreak(_arg1);
};
_local3++;
};
}
function frame1(){
stop();
}
public function ColorRemove(){
}
public function setBallColor(_arg1:int){
gotoAndStop(_arg1);
ColorID = _arg1;
}
public function Move(){
this.x = (this.x + MoveX);
this.y = (this.y + MoveY);
}
}
}//package
Section 38
//BallTop (BallTop)
package {
import flash.display.*;
public dynamic class BallTop extends MovieClip {
}
}//package
Section 39
//BobmMC (BobmMC)
package {
import flash.display.*;
public dynamic class BobmMC extends MovieClip {
public function BobmMC(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
MovieClip(parent).removeChild(this);
}
}
}//package
Section 40
//Config (Config)
package {
public class Config {
public static var Dio:int = 66;
public static var ColorCount:int;
public static var SMusic:Boolean = true;
public static var Yo:int = (Math.cos(((30 / 180) * Math.PI)) * Config.Dio);
public static var Xo:int = (Config.Dio / 2);
public static var SSound:Boolean = true;
}
}//package
Section 41
//Emit (Emit)
package {
import flash.events.*;
import flash.display.*;
public class Emit extends MovieClip {
public var d_Jiantou:MovieClip;
var angle:int;
public var d_Ball2:Ball;
public var d_Ball3:Ball;
var isEmit:Boolean;
var color:Array;
public var d_CurBall:Ball;
var rang:int;
var limit:int;// = 100
public function Emit(){
rang = (360 - (limit * 2));
super();
addFrameScript(0, frame1, 36, frame37, 46, frame47);
this.stage.addEventListener(MouseEvent.MOUSE_MOVE, onMove);
}
public function addBall(_arg1){
color.shift();
color.push(_arg1);
this.gotoAndPlay("加球");
d_CurBall.setBallColor(_arg1);
}
public function init(_arg1, _arg2, _arg3){
color = [_arg1, _arg2, _arg3];
d_CurBall.setBallColor(_arg1);
d_Ball2.setBallColor(_arg2);
d_Ball3.setBallColor(_arg3);
this.gotoAndStop("加球结束");
isEmit = false;
}
function frame37(){
stop();
}
private function addOver(){
isEmit = false;
onMove();
d_CurBall.setBallColor(color[0]);
d_Ball2.setBallColor(color[1]);
d_Ball3.setBallColor(color[2]);
}
private function onMove(_arg1=null){
if (isEmit){
return;
};
var _local2:* = (this.mouseX - d_Jiantou.x);
var _local3:* = (this.mouseY - d_Jiantou.y);
angle = ((Math.atan2(_local2, _local3) / Math.PI) * 180);
if ((((angle < limit)) && ((angle > 0)))){
angle = limit;
};
if ((((angle > -(limit))) && ((angle < 0)))){
angle = -(limit);
};
d_Jiantou.rotation = (-(angle) - 180);
var _local4:* = angle;
if (_local4 < 0){
_local4 = (_local4 + 360);
};
this.gotoAndStop(Math.floor((((_local4 - limit) / rang) * 36)));
}
function frame1(){
stop();
}
public function emitBall(){
var _local3:*;
if (isEmit){
return;
};
if (Config.SMusic){
_local3 = new SEmit();
_local3.play();
};
isEmit = true;
var _local1:* = new Ball();
_local1.scaleX = 0.93;
_local1.scaleY = 0.93;
_local1.x = (d_CurBall.x + this.x);
_local1.y = (d_CurBall.y + this.y);
_local1.setBallColor(d_CurBall.ColorID);
_local1.MoveX = (Math.sin(((angle / 180) * Math.PI)) * 16);
_local1.MoveY = (Math.cos(((angle / 180) * Math.PI)) * 16);
var _local2:* = new EmitEvent(EmitEvent.EMIT);
_local2.ball = _local1;
this.gotoAndStop("发射");
dispatchEvent(_local2);
}
function frame47(){
stop();
addOver();
}
}
}//package
Section 42
//EmitEvent (EmitEvent)
package {
import flash.events.*;
public class EmitEvent extends Event {
public var ball:Ball;
public static var EMIT = "emitevent";
public function EmitEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
}
}//package
Section 43
//FHitTest (FHitTest)
package {
import flash.display.*;
import flash.geom.*;
public class FHitTest {
protected static function getDrawMatrix(_arg1:DisplayObject, _arg2:Rectangle, _arg3:Number):Matrix{
var _local4:Point;
var _local5:Matrix;
var _local6:Matrix = _arg1.root.transform.concatenatedMatrix;
var _local7:* = _arg1.root.localToGlobal(new Point(_arg2.x, _arg2.y));
_local4 = _arg1.localToGlobal(new Point());
_local5 = _arg1.transform.concatenatedMatrix;
_local5.tx = (_local4.x - _local7.x);
_local5.ty = (_local4.y - _local7.y);
_local5.a = (_local5.a / _local6.a);
_local5.d = (_local5.d / _local6.d);
if (_arg3 != 1){
_local5.scale(_arg3, _arg3);
};
return (_local5);
}
public static function complexHitTestObject(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Boolean{
return (!((complexIntersectionRectangle(_arg1, _arg2, _arg3).width == 0)));
}
public static function complexIntersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Rectangle{
if (_arg3 <= 0){
throw (new Error("ArgumentError: Error #5001: Invalid value for accurracy", 5001));
};
if (!_arg1.hitTestObject(_arg2)){
return (new Rectangle());
};
var _local4:Rectangle = intersectionRectangle(_arg1, _arg2);
if (((((_local4.width * _arg3) < 1)) || (((_local4.height * _arg3) < 1)))){
return (new Rectangle());
};
var _local5:BitmapData = new BitmapData((_local4.width * _arg3), (_local4.height * _arg3), false, 0);
_local5.draw(_arg1, FHitTest.getDrawMatrix(_arg1, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, 0xFF));
_local5.draw(_arg2, FHitTest.getDrawMatrix(_arg2, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0xFF), BlendMode.DIFFERENCE);
var _local6:Rectangle = _local5.getColorBoundsRect(4294967295, 4278255615);
_local5.dispose();
if (_arg3 != 1){
_local6.x = (_local6.x / _arg3);
_local6.y = (_local6.y / _arg3);
_local6.width = (_local6.width / _arg3);
_local6.height = (_local6.height / _arg3);
};
_local6.x = (_local6.x + _local4.x);
_local6.y = (_local6.y + _local4.y);
return (_local6);
}
public static function intersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject):Rectangle{
if (((((!(_arg1.root)) || (!(_arg2.root)))) || (!(_arg1.hitTestObject(_arg2))))){
return (new Rectangle());
};
var _local3:Rectangle = _arg1.getBounds(_arg1.root);
var _local4:Rectangle = _arg2.getBounds(_arg2.root);
var _local5:Rectangle = new Rectangle();
_local5.x = Math.max(_local3.x, _local4.x);
_local5.y = Math.max(_local3.y, _local4.y);
_local5.width = Math.min(((_local3.x + _local3.width) - _local5.x), ((_local4.x + _local4.width) - _local5.x));
_local5.height = Math.min(((_local3.y + _local3.height) - _local5.y), ((_local4.y + _local4.height) - _local5.y));
return (_local5);
}
}
}//package
Section 44
//Game (Game)
package {
import gs.*;
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import fl.transitions.easing.*;
public class Game extends MovieClip {
private const showNull:int = 5;
private const showLimit:int = 8;
private var curLine:int;
public var d_BallContainer:MovieClip;
private var Live:int;// = 3
public var d_Mask:MovieClip;
private var emitBallMax:int;
private var score_bobm;// = 20
public var d_Live:TextField;
public var d_Bg:MovieClip;
private var colorList:Array;
private var rowMax:int;
public var d_Levelup:MovieClip;
private var allBallCount:int;
public var d_OverHit:MovieClip;
private var emitBallNum:int;
private var MaxLevel:int;// = 30
public var d_Pause:SimpleButton;
public var d_Lost:MovieClip;
private var colMax:int;
private var allBall:Array;
public var d_Level:TextField;
private var ballCount:int;
private var ballContainer:DisplayObjectContainer;
private var curEmitBall:Ball;
public var d_Score:TextField;
private var score_clear;// = 40
public var d_Sound:MovieClip;
private var Level:int;// = 1
public var d_Music:MovieClip;
public var d_Emit:Emit;
public var d_Mouse:MovieClip;
private var soundChannel:SoundChannel;
public var d_Menu:SimpleButton;
private var pause:Boolean;
public static var Score:int;
public function Game(){
d_OverHit.visible = false;
d_Mouse.mouseEnabled = false;
d_Mouse.mouseChildren = false;
d_Menu.addEventListener(MouseEvent.CLICK, onMenu);
d_Sound.addEventListener(MouseEvent.CLICK, onSound);
d_Sound.buttonMode = true;
d_Music.addEventListener(MouseEvent.CLICK, onMusic);
d_Music.buttonMode = true;
if (!Config.SSound){
d_Sound.gotoAndStop(2);
};
if (!Config.SMusic){
d_Music.gotoAndStop(2);
};
this.addEventListener("die_over", onDie_Over);
ballContainer = (this.getChildByName("d_BallContainer") as DisplayObjectContainer);
d_Mask.addEventListener(MouseEvent.CLICK, onEmit);
this.addEventListener("bobmover", onRemoveBall);
d_Emit.addEventListener(EmitEvent.EMIT, onStartEmit);
this.addEventListener(Event.ENTER_FRAME, onFrame);
d_Levelup.d_Play.addEventListener(MouseEvent.CLICK, onPlay);
score = 0;
Level = 1;
d_Level.text = String(Level);
Live = 4;
d_Live.text = String(Live);
d_Levelup.visible = false;
d_Lost.visible = false;
onPlay();
}
function onMusic(_arg1){
if (d_Music.currentFrame == 1){
d_Music.gotoAndStop(2);
Config.SMusic = false;
} else {
d_Music.gotoAndStop(1);
Config.SMusic = true;
};
}
public function initLevel(){
pause = true;
rowMax = (12 + Math.floor((Level / 6)));
colMax = 7;
var _local1:* = (3 + Math.floor((Level / 5)));
if (_local1 > 7){
_local1 = 7;
};
colorList = new Array();
var _local2:Array = [1, 2, 3, 4, 5, 6, 7];
disorder(_local2);
var _local3:* = 0;
while (_local3 < _local1) {
colorList.push(_local2.pop());
_local3++;
};
curLine = (7 + Math.floor((Level / 15)));
emitBallMax = (4 + Math.floor((Level / 10)));
emitBallNum = 0;
}
public function disorder(_arg1:Array):Array{
var _local3:*;
var _local4:uint;
var _local2:uint = _arg1.length;
var _local5:uint;
while (_local5 < _local2) {
_local4 = int((Math.random() * _local2));
_local3 = _arg1[_local5];
_arg1[_local5] = _arg1[_local4];
_arg1[_local4] = _local3;
_local5++;
};
while (--_local5 >= 0) {
_local4 = int((Math.random() * _local2));
_local3 = _arg1[_local5];
_arg1[_local5] = _arg1[_local4];
_arg1[_local4] = _local3;
};
return (_arg1);
}
private function addBallToContainer(_arg1){
var _local3:int;
var _local6:*;
var _local7:*;
var _local8:*;
if (Config.SMusic){
_local6 = new SBall();
_local6.play();
};
d_BallContainer.addChild(_arg1);
_arg1.y = (_arg1.y - d_BallContainer.y);
_arg1.x = (_arg1.x - d_BallContainer.x);
var _local2:int = Math.floor((_arg1.y / Config.Yo));
_arg1.y = ((_local2 * Config.Yo) + (Config.Dio / 2));
if ((_local2 % 2) == 0){
_local3 = Math.floor(((_arg1.x - Config.Xo) / Config.Dio));
if (_local3 > 6){
_local3 = 6;
};
if (_local3 < 0){
_local3 = 0;
};
_arg1.x = ((_local3 * Config.Dio) + (Config.Xo * 2));
} else {
_local3 = Math.floor((_arg1.x / Config.Dio));
if (_local3 > 6){
_local3 = 6;
};
if (_local3 < 0){
_local3 = 0;
};
_arg1.x = ((_local3 * Config.Dio) + Config.Xo);
};
if (allBall[_local2][_local3] == null){
allBall[_local2][_local3] = _arg1;
_arg1.Row = _local2;
_arg1.Col = _local3;
ballCount++;
allBallCount++;
} else {
trace("错误!!!!!!!!!!!");
};
var _local4:Array = _arg1.getOtherBallArray(allBall);
if (_arg1.ColorID == 8){
if (Config.SMusic){
_local7 = new SBobm();
_local7.play();
};
fineBobm(_arg1);
} else {
fineColor(_arg1);
};
var _local5:* = 0;
while (_local5 < _local4.length) {
_local8 = _local4[_local5];
if (((((!((_local8 == null))) && (!(_local8.Lockflag)))) && ((_local8.ColorID == 8)))){
fineBobm(_local8);
};
_local5++;
};
fineBreak();
if (allBallCount == 0){
levelUp();
return;
};
if ((((ballCount < 4)) && ((curLine < rowMax)))){
moveDown();
};
if (allBallCount > 3){
addBall();
} else {
addBall(true);
};
}
private function onFrame(_arg1){
d_Mouse.x = this.mouseX;
d_Mouse.y = this.mouseY;
if (pause){
return;
};
if (FHitTest.complexHitTestObject(d_OverHit, d_BallContainer)){
gameOver();
return;
};
if (curEmitBall == null){
return;
};
curEmitBall.Move();
if (curEmitBall.x < (Config.Xo + d_Mask.x)){
curEmitBall.MoveX = -(curEmitBall.MoveX);
};
if (curEmitBall.x > ((d_Mask.width - Config.Xo) + d_Mask.x)){
curEmitBall.MoveX = -(curEmitBall.MoveX);
};
if (FHitTest.complexHitTestObject(curEmitBall.d_Hit, d_BallContainer)){
addBallToContainer(curEmitBall);
curEmitBall = null;
};
}
public function moveDown(_arg1=null){
var _local3:*;
if (pause){
return;
};
emitBallNum = 0;
curLine++;
trace(curLine, (rowMax + showLimit));
if (curLine > (rowMax + showLimit)){
gameOver();
return;
};
if ((rowMax - curLine) >= 0){
_local3 = 0;
while (_local3 < colMax) {
allBall[(rowMax - curLine)][_local3].Lockflag = false;
ballCount++;
_local3++;
};
};
var _local2:int = (-((rowMax - curLine)) * Config.Yo);
TweenLite.to(ballContainer, 0.8, {y:_local2});
}
private function fineBobm(_arg1){
var _local5:*;
allBall[_arg1.Row][_arg1.Col] = null;
ballCount--;
allBallCount--;
ballContainer.removeChild(_arg1);
var _local2:* = new BobmMC();
_local2.x = (_arg1.x + d_BallContainer.x);
_local2.y = (_arg1.y + d_BallContainer.y);
this.addChild(_local2);
var _local3:Array = _arg1.getOtherBallArray(allBall);
var _local4:int;
while (_local4 < _local3.length) {
_local5 = _local3[_local4];
if (((((!((_local5 == null))) && (!(_local5.Lockflag)))) && (!((_local5.ColorID == 8))))){
this.addChild(_local5);
_local5.getChildAt(0).gotoAndPlay(1);
_local5.y = (_local5.y + d_BallContainer.y);
_local5.x = (_local5.x + d_BallContainer.x);
allBall[_local5.Row][_local5.Col] = null;
ballCount--;
allBallCount--;
score = (score + score_bobm);
};
_local4++;
};
}
public function initBall(){
var _local3:int;
var _local4:Ball;
var _local5:Boolean;
while (ballContainer.numChildren) {
ballContainer.removeChildAt(0);
};
ballContainer.addChild(new BallTop());
allBall = new Array();
allBallCount = 0;
ballCount = 0;
curEmitBall = null;
var _local1:int;
while (_local1 < rowMax) {
allBall[_local1] = new Array();
if (_local1 >= (rowMax - showNull)){
} else {
_local3 = 0;
while (_local3 < colMax) {
_local4 = new Ball();
_local4.scaleX = 0.93;
_local4.scaleY = 0.93;
allBall[_local1][_local3] = _local4;
_local5 = false;
if (Level > 5){
if (Math.random() < 0.05){
_local5 = true;
};
};
if (_local5){
_local4.setBallColor(8);
} else {
_local4.setBallColor(colorList[Math.floor((Math.random() * colorList.length))]);
};
_local4.Row = _local1;
_local4.Col = _local3;
ballContainer.addChild(_local4);
allBallCount++;
if (_local1 < (rowMax - curLine)){
_local4.Lockflag = true;
} else {
ballCount++;
};
if ((_local1 % 2) == 0){
_local4.x = ((_local3 * Config.Dio) + (Config.Xo * 2));
} else {
_local4.x = ((_local3 * Config.Dio) + Config.Xo);
};
_local4.y = ((_local1 * Config.Yo) + (Config.Dio / 2));
_local3++;
};
};
_local1++;
};
var _local2:int = (-((rowMax - curLine)) * Config.Yo);
ballContainer.y = _local2;
TweenLite.from(ballContainer, 1, {y:(_local2 - 200)});
d_Emit.init(colorList[Math.floor((Math.random() * colorList.length))], colorList[Math.floor((Math.random() * colorList.length))], colorList[Math.floor((Math.random() * colorList.length))]);
pause = false;
}
private function fineBreak(){
var _local2:int;
var _local3:*;
var _local1:int;
while (_local1 < rowMax) {
_local2 = 0;
while (_local2 < colMax) {
if (allBall[_local1][_local2] != null){
if (_local1 > 0){
allBall[_local1][_local2].Breakflag = false;
} else {
allBall[_local1][_local2].Breakflag = true;
};
};
_local2++;
};
_local1++;
};
_local2 = 0;
while (_local2 < colMax) {
if (allBall[0][_local2] != null){
allBall[0][_local2].flagOtherBallBreak(allBall);
};
_local2++;
};
_local1 = 0;
while (_local1 < rowMax) {
_local2 = 0;
while (_local2 < colMax) {
if (((!((allBall[_local1][_local2] == null))) && (!(allBall[_local1][_local2].Breakflag)))){
_local3 = allBall[_local1][_local2];
this.addChild(_local3);
_local3.y = (_local3.y + d_BallContainer.y);
_local3.x = (_local3.x + d_BallContainer.x);
_local3.getChildAt(0).gotoAndPlay(1);
allBall[_local1][_local2] = null;
ballCount--;
allBallCount--;
score = (score + score_clear);
};
_local2++;
};
_local1++;
};
}
private function onStartEmit(_arg1:EmitEvent){
if (pause){
return;
};
curEmitBall = _arg1.ball;
this.addChild(curEmitBall);
}
public function get score(){
return (Game.Score);
}
public function levelUp(){
pause = true;
Level++;
if (Level > MaxLevel){
gameOver();
return;
};
d_Levelup.visible = true;
}
private function onPlay(_arg1=null){
var _local2:*;
if (((Config.SSound) && ((soundChannel == null)))){
SoundMixer.stopAll();
_local2 = new SBg();
soundChannel = _local2.play(0, 100000);
};
d_Levelup.visible = false;
d_Level.text = String(Level);
initLevel();
initBall();
if (Level > 1){
if (d_Bg.currentFrame == d_Bg.totalFrames){
d_Bg.gotoAndStop(1);
} else {
d_Bg.nextFrame();
};
};
}
private function onDie_Over(_arg1){
Live--;
d_Lost.visible = false;
d_Live.text = String(Live);
if (Live < 0){
MovieClip(parent).gotoAndStop("score");
} else {
onPlay();
};
}
public function set score(_arg1){
Game.Score = _arg1;
d_Score.text = String(_arg1);
}
private function onEmit(_arg1){
if (pause){
return;
};
d_Emit.emitBall();
}
public function gameOver(){
var _local2:int;
var _local3:*;
var _local4:*;
var _local5:*;
pause = true;
var _local1:int;
while (_local1 < rowMax) {
_local2 = 0;
while (_local2 < colMax) {
if (allBall[_local1][_local2] != null){
_local3 = allBall[_local1][_local2];
ballContainer.removeChild(_local3);
_local4 = new BobmMC();
_local4.gotoAndPlay(Math.floor((Math.random() * 5)));
_local4.x = (_local3.x + d_BallContainer.x);
_local4.y = (_local3.y + d_BallContainer.y);
this.addChild(_local4);
};
_local2++;
};
_local1++;
};
if (curEmitBall != null){
this.removeChild(curEmitBall);
};
TweenLite.to(ballContainer, 1, {y:410});
if (Config.SMusic){
_local5 = new SBobm();
_local5.play();
};
soundChannel = null;
d_Lost.visible = true;
d_Lost.gotoAndPlay(2);
}
private function onRemoveBall(_arg1){
if (_arg1.target.parent.parent == this){
this.removeChild(_arg1.target.parent);
};
}
private function fineColor(_arg1){
var _local3:int;
var _local4:*;
var _local2:int;
while (_local2 < rowMax) {
_local3 = 0;
while (_local3 < colMax) {
if (allBall[_local2][_local3] != null){
allBall[_local2][_local3].Colorflag = false;
};
_local3++;
};
_local2++;
};
_arg1.Colorflag = true;
Config.ColorCount = 1;
_arg1.flagOtherBallColor(allBall);
if (Config.ColorCount < 3){
return;
};
if (Config.SMusic){
_local4 = new SClear();
_local4.play();
};
_local2 = 0;
while (_local2 < rowMax) {
_local3 = 0;
while (_local3 < colMax) {
if (((!((allBall[_local2][_local3] == null))) && (allBall[_local2][_local3].Colorflag))){
_arg1 = allBall[_local2][_local3];
this.addChild(_arg1);
_arg1.getChildAt(0).gotoAndPlay(1);
_arg1.y = (_arg1.y + d_BallContainer.y);
_arg1.x = (_arg1.x + d_BallContainer.x);
allBall[_local2][_local3] = null;
ballCount--;
allBallCount--;
score = (score + score_clear);
};
_local3++;
};
_local2++;
};
}
private function onMenu(_arg1){
pause = true;
MovieClip(parent).gotoAndStop("start");
}
private function onSound(_arg1){
var _local2:*;
if (d_Sound.currentFrame == 1){
if (soundChannel == null){
return;
};
d_Sound.gotoAndStop(2);
soundChannel.soundTransform = new SoundTransform(0);
Config.SSound = false;
} else {
if (soundChannel == null){
SoundMixer.stopAll();
_local2 = new SBg();
soundChannel = _local2.play(0, 100000);
};
d_Sound.gotoAndStop(1);
soundChannel.soundTransform = new SoundTransform(1);
Config.SSound = true;
};
}
private function addBall(_arg1=false){
emitBallNum++;
if (emitBallNum >= emitBallMax){
moveDown();
};
var _local2:* = Math.random();
if (((_arg1) || ((_local2 < 0.2)))){
d_Emit.addBall(8);
} else {
d_Emit.addBall(colorList[Math.floor((Math.random() * colorList.length))]);
};
}
}
}//package
Section 45
//IntUtil (IntUtil)
package {
public class IntUtil {
private static var hexChars:String = "0123456789abcdef";
public static function toHex(_arg1:int, _arg2:Boolean=false):String{
var _local4:int;
var _local5:int;
var _local3 = "";
if (_arg2){
_local4 = 0;
while (_local4 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15))));
_local4++;
};
} else {
_local5 = 0;
while (_local5 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15))));
_local5++;
};
};
return (_local3);
}
public static function ror(_arg1:int, _arg2:int):uint{
var _local3:int = (32 - _arg2);
return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3))));
}
public static function rol(_arg1:int, _arg2:int):int{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
}
}//package
Section 46
//MD5 (MD5)
package {
public class MD5 {
private static function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function createBlocks(_arg1:String):Array{
var _local2:Array = new Array();
var _local3:int = (_arg1.length * 8);
var _local4 = 0xFF;
var _local5:int;
while (_local5 < _local3) {
_local2[(_local5 >> 5)] = (_local2[(_local5 >> 5)] | ((_arg1.charCodeAt((_local5 / 8)) & _local4) << (_local5 % 32)));
_local5 = (_local5 + 8);
};
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
return (_local2);
}
private static function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function f(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg2) | (~(_arg1) & _arg3)));
}
private static function g(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg3) | (_arg2 & ~(_arg3))));
}
private static function h(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 ^ _arg2) ^ _arg3));
}
private static function i(_arg1:int, _arg2:int, _arg3:int):int{
return ((_arg2 ^ (_arg1 | ~(_arg3))));
}
private static function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{
var _local9:int = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8);
return ((IntUtil.rol(_local9, _arg7) + _arg3));
}
private static function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
public static function hash(_arg1:String):String{
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local2 = 1732584193;
var _local3 = -271733879;
var _local4 = -1732584194;
var _local5 = 271733878;
var _local10:Array = createBlocks(_arg1);
var _local11:int = _local10.length;
var _local12:int;
while (_local12 < _local11) {
_local6 = _local2;
_local7 = _local3;
_local8 = _local4;
_local9 = _local5;
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 7, -680876936);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 1)], 12, -389564586);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 17, 606105819);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 3)], 22, -1044525330);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 7, -176418897);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 5)], 12, 1200080426);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 17, -1473231341);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 7)], 22, -45705983);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 7, 1770035416);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 9)], 12, -1958414417);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 17, -42063);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 11)], 22, -1990404162);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 7, 1804603682);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 13)], 12, -40341101);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 17, -1502002290);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 15)], 22, 1236535329);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 5, -165796510);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 6)], 9, -1069501632);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 14, 643717713);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 0)], 20, -373897302);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 5, -701558691);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 10)], 9, 38016083);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 14, -660478335);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 4)], 20, -405537848);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 5, 568446438);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 14)], 9, -1019803690);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 14, -187363961);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 8)], 20, 1163531501);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 5, -1444681467);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 2)], 9, -51403784);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 14, 1735328473);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 12)], 20, -1926607734);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 4, -378558);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 8)], 11, -2022574463);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 16, 1839030562);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 14)], 23, -35309556);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 4, -1530992060);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 4)], 11, 1272893353);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 16, -155497632);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 10)], 23, -1094730640);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 4, 681279174);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 0)], 11, -358537222);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 16, -722521979);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 6)], 23, 76029189);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 4, -640364487);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 12)], 11, -421815835);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 16, 530742520);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 2)], 23, -995338651);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 6, -198630844);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 7)], 10, 1126891415);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 15, -1416354905);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 5)], 21, -57434055);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 6, 1700485571);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 3)], 10, -1894986606);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 15, -1051523);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 1)], 21, -2054922799);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 6, 1873313359);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 15)], 10, -30611744);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 15, -1560198380);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 13)], 21, 1309151649);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 6, -145523070);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 11)], 10, -1120210379);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 15, 718787259);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 9)], 21, -343485551);
_local2 = (_local2 + _local6);
_local3 = (_local3 + _local7);
_local4 = (_local4 + _local8);
_local5 = (_local5 + _local9);
_local12 = (_local12 + 16);
};
return ((((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5)));
}
private static function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
}
}//package
Section 47
//SBall (SBall)
package {
import flash.media.*;
public dynamic class SBall extends Sound {
}
}//package
Section 48
//SBg (SBg)
package {
import flash.media.*;
public dynamic class SBg extends Sound {
}
}//package
Section 49
//SBobm (SBobm)
package {
import flash.media.*;
public dynamic class SBobm extends Sound {
}
}//package
Section 50
//SClear (SClear)
package {
import flash.media.*;
public dynamic class SClear extends Sound {
}
}//package
Section 51
//SEmit (SEmit)
package {
import flash.media.*;
public dynamic class SEmit extends Sound {
}
}//package
Section 52
//SLost (SLost)
package {
import flash.media.*;
public dynamic class SLost extends Sound {
}
}//package
Section 53
//SOver (SOver)
package {
import flash.media.*;
public dynamic class SOver extends Sound {
}
}//package
Section 54
//SStart (SStart)
package {
import flash.media.*;
public dynamic class SStart extends Sound {
}
}//package