Section 1
//GameData (ActionScript.GameData)
package ActionScript {
import flash.events.*;
public class GameData extends EventDispatcher {
private var _level:uint;
public var pauseGame:Boolean;
private var _score:uint;
private var _maxLevel:uint;
public var maxSteps:uint;
private var _steps:uint;
public static const NEW_SCORE:String = "newScore";
public static const NEW_STEPS:String = "newSteps";
public static const NEW_LEVEL:String = "newLevel";
public static var instance:GameData;
public function GameData(){
reset();
}
public function get score():uint{
return (_score);
}
public function reset(){
maxSteps = 16;
this.steps = maxSteps;
this.levels = 1;
_maxLevel = 10;
this.score = 0;
pauseGame = false;
}
public function set steps(_arg1:uint){
_steps = _arg1;
dispatchEvent(new Event(GameData.NEW_STEPS));
}
public function set score(_arg1:uint){
_score = _arg1;
dispatchEvent(new Event(GameData.NEW_SCORE));
}
public function set levels(_arg1:uint){
_level = _arg1;
dispatchEvent(new Event(GameData.NEW_LEVEL));
}
public function get steps():uint{
return (_steps);
}
public function get levels():uint{
return (_level);
}
public static function getInstance():GameData{
if (instance == null){
instance = new (GameData);
};
return (instance);
}
}
}//package ActionScript
Section 2
//MusicSystem (ActionScript.MusicSystem)
package ActionScript {
import flash.media.*;
import flash.events.*;
import flash.utils.*;
public class MusicSystem {
private var _effect_sound:Sound;
private var _position:Number;
private var _bgm:String;
private var _effectvolume:Number;
private var _bgmvolume:Number;
private var _effect_channel:SoundChannel;
private var _bg_channel:SoundChannel;
private var _volume:Number;
private var _bg_sound:Sound;
private var _pause:Boolean;
public static var instance:MusicSystem;
public function MusicSystem(){
_volume = 1;
_bgmvolume = 1;
_effectvolume = 1;
_bgm = "";
_bg_sound = new Sound();
_effect_sound = new Sound();
_bg_channel = new SoundChannel();
_effect_channel = new SoundChannel();
_pause = false;
_position = 0;
}
private function soundCompleteHandler(_arg1){
_bg_channel = _bg_sound.play();
this.bgmvolume = _bgmvolume;
_bg_channel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
}
public function set volume(_arg1:Number){
if ((((_arg1 >= 0)) && ((_arg1 <= 1)))){
_volume = _arg1;
setVolume(_bg_channel);
setVolume(_effect_channel);
};
}
public function set bgmvolume(_arg1:Number){
var _local2:SoundTransform;
if ((((_arg1 >= 0)) && ((_arg1 <= 1)))){
_bgmvolume = _arg1;
_local2 = _bg_channel.soundTransform;
_local2.volume = _bgmvolume;
_bg_channel.soundTransform = _local2;
};
}
public function get bg_channel():SoundChannel{
return (_bg_channel);
}
public function set effectvolume(_arg1:Number){
var _local2:SoundTransform;
if ((((_arg1 >= 0)) && ((_arg1 <= 1)))){
_effectvolume = _arg1;
_local2 = _effect_channel.soundTransform;
_local2.volume = _effectvolume;
_effect_channel.soundTransform = _local2;
};
}
private function setVolume(_arg1:SoundChannel){
var _local2:SoundTransform;
_local2 = _arg1.soundTransform;
_local2.volume = _volume;
_arg1.soundTransform = _local2;
}
private function getMyInstance(_arg1){
var _local2:*;
_local2 = (getDefinitionByName(_arg1) as Class);
return (new (_local2));
}
public function get bgmvolume(){
return (_bgmvolume);
}
public function set effect(_arg1:String){
_effect_sound = getMyInstance(_arg1);
_effect_channel = _effect_sound.play();
this.effectvolume = _effectvolume;
}
public function get effectvolume(){
return (_effectvolume);
}
public function pause(){
if (_pause){
_pause = false;
_bg_channel = _bg_sound.play(_position);
_bg_channel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
setVolume(_bg_channel);
} else {
_pause = true;
_position = _bg_channel.position;
_bg_channel.stop();
_bg_channel.removeEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
};
}
public function set bgm(_arg1:String){
if (_arg1 != _bgm){
_bg_channel.stop();
_bg_channel.removeEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
_bgm = _arg1;
if (_bgm != ""){
_bg_sound = getMyInstance(_arg1);
_bg_channel = _bg_sound.play();
_bg_channel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
this.bgmvolume = _bgmvolume;
};
};
}
public function stopAll(){
_bg_channel.stop();
_effect_channel.stop();
}
public static function getInstance():MusicSystem{
if (instance == null){
instance = new (MusicSystem);
};
return (instance);
}
}
}//package ActionScript
Section 3
//bt_mc_fscreen_34 (LoveBugs_gamesonly_fla.bt_mc_fscreen_34)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class bt_mc_fscreen_34 extends MovieClip {
public function bt_mc_fscreen_34(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveBugs_gamesonly_fla
Section 4
//disappear_44 (LoveBugs_gamesonly_fla.disappear_44)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class disappear_44 extends MovieClip {
public function disappear_44(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package LoveBugs_gamesonly_fla
Section 5
//level_94 (LoveBugs_gamesonly_fla.level_94)
package LoveBugs_gamesonly_fla {
import flash.display.*;
import flash.text.*;
public dynamic class level_94 extends MovieClip {
public var bonus_txt:TextField;
}
}//package LoveBugs_gamesonly_fla
Section 6
//love_101 (LoveBugs_gamesonly_fla.love_101)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class love_101 extends MovieClip {
public function love_101(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package LoveBugs_gamesonly_fla
Section 7
//love_45 (LoveBugs_gamesonly_fla.love_45)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class love_45 extends MovieClip {
public function love_45(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package LoveBugs_gamesonly_fla
Section 8
//MainTimeline (LoveBugs_gamesonly_fla.MainTimeline)
package LoveBugs_gamesonly_fla {
import ActionScript.*;
import flash.media.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.external.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
import fl.transitions.*;
import fl.transitions.easing.*;
public dynamic class MainTimeline extends MovieClip {
public var open_array:Array;
public var music:MusicSystem;
public var myTween;
public var dir_array:Array;
public var pauseGame_mc:MovieClip;
public var d_Pause:SimpleButton;
public var d_Exit:SimpleButton;
public var bugsType:uint;
public var widNum:uint;
public var removeNum:uint;
public var d_Facebook:SimpleButton;
public var waiting;
public var mc_array:Array;
public var _btnMusic:MovieClip;
public var deadNum:uint;
public var toHeart:Boolean;
public var perHeight:uint;
public var perWidth:uint;
public var bugs_array:Array;
public var ex:uint;
public var isfull:String;
public var ey:uint;
public var tempTime:uint;
public var heiNum:uint;
public var eMc;
public var waitMove;
public var fps:uint;
public var replay_mc:SimpleButton;
public var bugsType_array:Array;
public var waitEnd;
public var submit_mc:SimpleButton;
public var playGame_mc:SimpleButton;
public var level_txt:TextField;
public var score_txt:TextField;
public var furl;
public var times:uint;
public var selete_array:Array;
public var d_Fscreen:MovieClip;
public var steps_txt:TextField;
public var gameScore_txt:TextField;
public var _btnSound:MovieClip;
public var myData:GameData;
public var d_Twitter:SimpleButton;
public var gamename;
public var close_array:Array;
public var xy_array:Array;
public var levelOk_mc:MovieClip;
public var loadingMC:MovieClip;
public var moveingMc;
public var titlemc:MovieClip;
public var bugbox_mc:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
public function submitHandler(_arg1){
var _local2:*;
_local2 = MD5.hash((((furl + gamename) + gameScore_txt.text) + "zygomaticgames"));
navigateToURL(new URLRequest((((((("http://www.gamesonly.com.cn/highscore.php?game=" + gamename) + "&score=") + gameScore_txt.text) + "&otherparam=") + _local2) + "")), "_blank");
}
public function creatMap(_arg1:Array){
var _local2:uint;
var _local3:uint;
var _local4:*;
_local2 = 0;
while (_local2 < heiNum) {
xy_array[_local2] = [];
_local3 = 0;
while (_local3 < widNum) {
_local4 = new bugs();
editMcType(_local4, bugs_array[_local2][_local3]);
_local4.x = ((perWidth * _local3) + (_local3 / 2));
_local4.y = ((perHeight * _local2) + (_local2 / 2));
_local4.xid = _local3;
_local4.yid = _local2;
_local4.buttonMode = false;
_local4.addEventListener(MouseEvent.CLICK, bugsHandler);
mc_array.push(_local4);
xy_array[_local2].push(_local4);
bugbox_mc.addChild(_local4);
if (bugs_array[_local2][_local3] == 0){
eMc = _local4;
};
_local3++;
};
_local2++;
};
}
public function delGameController(){
stage.removeEventListener(Event.ENTER_FRAME, timerHandler);
d_Exit.removeEventListener(MouseEvent.CLICK, exitHandler);
d_Pause.removeEventListener(MouseEvent.CLICK, pauseHandler);
_btnSound.buttonMode = false;
_btnSound.removeEventListener(MouseEvent.CLICK, soundHandler);
_btnMusic.buttonMode = false;
_btnMusic.removeEventListener(MouseEvent.CLICK, musicHandler);
pauseGame_mc.con_mc.removeEventListener(MouseEvent.CLICK, backHandler);
}
public function addGameController(){
stage.addEventListener(Event.ENTER_FRAME, timerHandler);
d_Exit.addEventListener(MouseEvent.CLICK, exitHandler);
d_Pause.addEventListener(MouseEvent.CLICK, pauseHandler);
_btnSound.buttonMode = true;
_btnSound.addEventListener(MouseEvent.CLICK, soundHandler);
_btnMusic.buttonMode = true;
_btnMusic.addEventListener(MouseEvent.CLICK, musicHandler);
pauseGame_mc.con_mc.addEventListener(MouseEvent.CLICK, backHandler);
}
public function checkInOpen(_arg1){
var _local2:Boolean;
var _local3:uint;
_local2 = false;
_local3 = 0;
while (_local3 < open_array.length) {
if ((((_arg1.xid == open_array[_local3].xid)) && ((_arg1.yid == open_array[_local3].yid)))){
_local2 = true;
break;
};
_local3++;
};
return (_local2);
}
public function timerHandler(_arg1){
if (!myData.pauseGame){
tempTime++;
if ((tempTime % fps) == 0){
times--;
tempTime = 0;
if (times == 0){
bugGameOver();
};
};
displayTime(times);
};
}
public function backHandler(_arg1){
myData.pauseGame = false;
pauseGame_mc.visible = false;
}
function frame3(){
stop();
stage.removeEventListener(MouseEvent.CLICK, stageHandler);
music.bgm = "";
addHelpController();
}
function frame4(){
stop();
stage.removeEventListener(MouseEvent.CLICK, stageHandler);
music.bgm = "sgame";
fps = 20;
times = 1200;
tempTime = 0;
removeNum = 4;
deadNum = 3;
widNum = 8;
heiNum = 8;
perWidth = 53.5;
perHeight = 53.5;
bugsType = 8;
bugs_array = [];
mc_array = [];
xy_array = [];
open_array = [];
close_array = [];
dir_array = [[-1, 0], [0, -1], [0, 1], [1, 0]];
bugsType_array = [1, 2, 3, 4, 5, 6, 7, 8];
selete_array = [];
ex = 0;
ey = 0;
eMc = null;
moveingMc = null;
toHeart = false;
addGameController();
addGameDataDisplay();
myData.reset();
initGame();
}
function frame6(){
stop();
music.bgm = "";
gameScore_txt.text = String(myData.score);
addGameWinController();
}
function frame1(){
stop();
}
public function exitHandler(_arg1){
delGameController();
delGameDataDisplay();
gotoAndStop("menu");
}
public function stageHandler(_arg1){
stage.removeEventListener(MouseEvent.CLICK, stageHandler);
titlemc.gotoAndStop(105);
}
public function pauseHandler(_arg1){
myData.pauseGame = true;
pauseGame_mc.visible = true;
}
function frame5(){
stop();
music.bgm = "";
music.effect = "sover";
gameScore_txt.text = String(myData.score);
addGameOverController();
}
function frame2(){
stop();
gamename = "lovebugs";
furl = "www.gamesonly.com.cn";
stage.addEventListener(MouseEvent.CLICK, stageHandler);
myData = GameData.getInstance();
music = MusicSystem.getInstance();
music.bgm = "smenu";
d_Twitter.addEventListener(MouseEvent.CLICK, onShare);
d_Facebook.addEventListener(MouseEvent.CLICK, onShare);
d_Fscreen.addEventListener(MouseEvent.CLICK, onFscreen);
d_Fscreen.buttonMode = true;
try {
isfull = String(EmbedObject.getParamViaExternal("allowFullScreen"));
isfull = isfull.toLowerCase();
if (isfull != "true"){
d_Fscreen.visible = false;
};
} catch(e) {
};
}
public function editMcType(_arg1, _arg2){
_arg1.types = _arg2;
_arg1.gotoAndStop((_arg2 + 1));
}
public function bugGameOver(){
clearBugBox();
delGameController();
delGameDataDisplay();
gotoAndStop("gameOver");
}
public function delHelpController(){
playGame_mc.removeEventListener(MouseEvent.CLICK, playGameHandler);
}
public function addHelpController(){
playGame_mc.addEventListener(MouseEvent.CLICK, playGameHandler);
}
public function addGameOverController(){
replay_mc.addEventListener(MouseEvent.CLICK, replayHandler);
submit_mc.addEventListener(MouseEvent.CLICK, submitHandler);
}
public function displayTime(_arg1){
var _local2:uint;
var _local3:uint;
var _local4:uint;
var _local5:*;
var _local6:*;
_local2 = Math.floor((_arg1 / 3600));
_arg1 = (_arg1 - (_local2 * 3600));
_local3 = Math.floor((_arg1 / 60));
_arg1 = (_arg1 - (_local3 * 60));
_local4 = _arg1;
_local5 = String(_local3);
if (_local3 < 10){
_local5 = ("0" + String(_local3));
};
_local6 = String(_local4);
if (_local4 < 10){
_local6 = ("0" + String(_local4));
};
level_txt.text = ((_local5 + ":") + _local6);
}
public function levelDisplayHandler(_arg1){
level_txt.text = String(myData.levels);
}
public function replay1Handler(_arg1){
delGameWinController();
gotoAndStop("menu");
}
public function openNearEmpty(){
var _local1:uint;
var _local2:*;
_local1 = 0;
while (_local1 < mc_array.length) {
_local2 = mc_array[_local1];
if ((((((_local2.xid == eMc.xid)) && (!((_local2.yid == eMc.yid))))) || ((((_local2.yid == eMc.yid)) && (!((_local2.xid == eMc.xid))))))){
_local2.buttonMode = true;
};
_local1++;
};
}
public function closeNearEmpty(){
var _local1:uint;
var _local2:*;
_local1 = 0;
while (_local1 < mc_array.length) {
_local2 = mc_array[_local1];
if ((((((_local2.xid == eMc.xid)) && (!((_local2.yid == eMc.yid))))) || ((((_local2.yid == eMc.yid)) && (!((_local2.xid == eMc.xid))))))){
_local2.buttonMode = false;
};
_local1++;
};
}
public function delGameDataDisplay(){
myData.removeEventListener(GameData.NEW_SCORE, scoreDisplayHandler);
myData.removeEventListener(GameData.NEW_STEPS, stepsDisplayHandler);
myData.removeEventListener(GameData.NEW_LEVEL, levelDisplayHandler);
}
public function delGameWinController(){
replay_mc.removeEventListener(MouseEvent.CLICK, replay1Handler);
submit_mc.removeEventListener(MouseEvent.CLICK, submit1Handler);
}
public function waitEnding(){
clearInterval(waitEnd);
clearBugBox();
delGameController();
delGameDataDisplay();
gotoAndStop("gameWin");
}
public function initGame(){
var _local1:uint;
var _local2:uint;
var _local3:Array;
var _local4:uint;
var _local5:*;
var _local6:*;
var _local7:Boolean;
var _local8:uint;
bugsType_array = [1, 2, 3, 4, 5, 6, 7, 8];
if (music.bgmvolume == 0){
_btnMusic.gotoAndStop(2);
};
if (music.effectvolume == 0){
_btnSound.gotoAndStop(2);
};
times = 1200;
tempTime = 0;
levelOk_mc.visible = false;
pauseGame_mc.visible = false;
myData.maxSteps = 16;
myData.steps = myData.maxSteps;
clearBugBox();
mc_array = [];
xy_array = [];
bugs_array = [];
toHeart = false;
_local1 = 0;
while (_local1 < heiNum) {
bugs_array[_local1] = [];
_local4 = 0;
while (_local4 < widNum) {
bugs_array[_local1][_local4] = bugsType_array[Math.floor((Math.random() * bugsType_array.length))];
_local4++;
};
_local1++;
};
ex = Math.floor((Math.random() * widNum));
ey = Math.floor((Math.random() * heiNum));
eMc = null;
moveingMc = null;
bugs_array[ey][ex] = 0;
_local2 = 0;
_local3 = [];
while (_local2 < 3) {
_local5 = Math.floor((Math.random() * widNum));
_local6 = Math.floor((Math.random() * heiNum));
if (((!((_local5 == ex))) || (!((_local6 == ey))))){
if (_local3.length > 0){
_local7 = false;
_local8 = 0;
while (_local8 < _local3.length) {
if ((((_local5 == _local3[_local8])) && ((_local6 == _local3[(_local8 + 1)])))){
_local7 = true;
break;
};
_local8 = (_local8 + 2);
};
if (!_local7){
bugs_array[_local6][_local5] = 9;
_local3.push(_local5);
_local3.push(_local6);
_local2++;
};
} else {
bugs_array[_local6][_local5] = 9;
_local3.push(_local5);
_local3.push(_local6);
_local2++;
};
};
};
creatMap(bugs_array);
openNearEmpty();
}
public function checkLink(){
var _local1:uint;
var _local2:*;
var _local3:*;
trace("________连锁________");
_local1 = 0;
while (_local1 < selete_array.length) {
_local2 = selete_array[_local1];
moveingMc = _local2;
if (moveingMc.types != 9){
_local3 = new fdis();
_local3.x = -20;
_local3.y = -20;
_local3.play();
_local2.addChild(_local3);
linking();
};
_local1++;
};
if (toHeart){
toHeart = false;
music.effect = "sheart";
};
}
public function playGameHandler(_arg1){
delHelpController();
gotoAndStop("game");
}
public function clearColor(){
var _local1:uint;
var _local2:uint;
var _local3:uint;
var _local4:*;
_local1 = 0;
while (_local1 < bugsType_array.length) {
_local2 = 0;
_local3 = 0;
while (_local3 < mc_array.length) {
_local4 = mc_array[_local3];
if (_local4.types == bugsType_array[_local1]){
_local2++;
};
_local3++;
};
trace(((("色类" + bugsType_array[_local1]) + "-") + _local2));
if (_local2 == 0){
bugsType_array.splice(_local1, 1);
_local1--;
};
_local1++;
};
}
public function getSameYList(_arg1){
var _local2:Array;
var _local3:uint;
_local2 = [];
_local3 = 0;
while (_local3 < mc_array.length) {
if ((((mc_array[_local3].yid == _arg1.yid)) && (!((mc_array[_local3].xid == _arg1.xid))))){
_local2.push(mc_array[_local3]);
};
_local3++;
};
return (_local2);
}
public function addGameWinController(){
replay_mc.addEventListener(MouseEvent.CLICK, replay1Handler);
submit_mc.addEventListener(MouseEvent.CLICK, submit1Handler);
}
public function stepsDisplayHandler(_arg1){
steps_txt.text = String(myData.steps);
}
public function soundHandler(_arg1){
var _local2:*;
_local2 = ((_arg1.target.currentFrame)==1) ? 2 : 1;
_arg1.target.gotoAndStop(_local2);
if (_local2 == 1){
music.effectvolume = 1;
} else {
music.effectvolume = 0;
};
}
public function onShare(_arg1){
var _local2:String;
var _local3:String;
_local2 = ExternalInterface.call("eval", "window.location.href");
if (_local2 == null){
_local2 = "http://www.gamesonly.com.cn";
};
if (_arg1.currentTarget == d_Facebook){
_local3 = (("http://www.facebook.com/share.php?u=" + _local2) + "&t= love bugs");
} else {
_local3 = ("http://twitter.com/home?status=Currently love bugs" + _local2);
};
navigateToURL(new URLRequest(_local3), "_blank");
}
public function endMove(){
var _local1:Array;
var _local2:int;
var _local3:uint;
var _local4:uint;
var _local5:*;
trace("位移结束");
openNearEmpty();
if (myData.steps > 0){
myData.steps--;
};
checkLink();
clearColor();
_local1 = checkHeartList();
if (_local1.length == ((widNum * heiNum) - 1)){
levelOk_mc.visible = true;
_local2 = times;
if (_local2 < 0){
_local2 = 0;
};
myData.score = (myData.score + _local2);
levelOk_mc.bonus_txt.text = String(_local2);
closeNearEmpty();
waitEnd = setInterval(waitEnding, 5000);
};
if (myData.steps == 0){
if (_local1.length <= deadNum){
_local3 = 0;
while (_local3 < _local1.length) {
editMapMcType(_local1[_local3], bugsType_array[Math.floor((Math.random() * bugsType_array.length))]);
_local3++;
};
myData.steps = myData.maxSteps;
} else {
_local4 = 0;
while (_local4 < removeNum) {
_local5 = Math.floor((Math.random() * _local1.length));
editMapMcType(_local1[_local5], bugsType_array[Math.floor((Math.random() * bugsType_array.length))]);
_local1.splice(_local5, 1);
_local4++;
};
myData.steps = myData.maxSteps;
};
};
}
public function moveMc(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
music.effect = "smove";
selete_array = [];
_local1 = 0;
_local2 = 0;
_local3 = moveingMc.x;
_local4 = moveingMc.y;
_local5 = moveingMc.xid;
_local6 = moveingMc.yid;
if (eMc.xid == moveingMc.xid){
if (_local6 > eMc.yid){
_local1 = (eMc.yid + 1);
_local2 = moveingMc.yid;
_local9 = Math.abs((xy_array[_local1][_local5].y - eMc.y));
} else {
_local1 = moveingMc.yid;
_local2 = (eMc.yid - 1);
_local9 = Math.abs((xy_array[_local2][_local5].y - eMc.y));
};
_local7 = _local1;
while (_local7 <= _local2) {
_local8 = xy_array[_local7][_local5];
selete_array.push(_local8);
_local7++;
};
_local7 = 0;
while (_local7 < selete_array.length) {
_local8 = selete_array[_local7];
if (_local6 > eMc.yid){
_local8.yid--;
_local8.y = (_local8.y - _local9);
} else {
_local8.yid++;
_local8.y = (_local8.y + _local9);
};
xy_array[_local8.yid][_local8.xid] = _local8;
bugs_array[_local8.yid][_local8.xid] = _local8.types;
_local7++;
};
eMc.yid = _local6;
eMc.y = _local4;
xy_array[eMc.yid][eMc.xid] = eMc;
bugs_array[eMc.yid][eMc.xid] = eMc.types;
} else {
if (_local5 > eMc.xid){
_local1 = (eMc.xid + 1);
_local2 = moveingMc.xid;
_local9 = Math.abs((xy_array[_local6][_local1].x - eMc.x));
} else {
_local1 = moveingMc.xid;
_local2 = (eMc.xid - 1);
_local9 = Math.abs((xy_array[_local6][_local2].x - eMc.x));
};
_local7 = _local1;
while (_local7 <= _local2) {
_local8 = xy_array[_local6][_local7];
selete_array.push(_local8);
_local7++;
};
_local7 = 0;
while (_local7 < selete_array.length) {
_local8 = selete_array[_local7];
if (_local5 > eMc.xid){
_local8.xid--;
_local8.x = (_local8.x - _local9);
} else {
_local8.xid++;
_local8.x = (_local8.x + _local9);
};
xy_array[_local8.yid][_local8.xid] = _local8;
bugs_array[_local8.yid][_local8.xid] = _local8.types;
_local7++;
};
eMc.xid = _local5;
eMc.x = _local3;
xy_array[eMc.yid][eMc.xid] = eMc;
bugs_array[eMc.yid][eMc.xid] = eMc.types;
};
endMove();
}
public function scoreDisplayHandler(_arg1){
score_txt.text = String(myData.score);
}
public function waitOpen(){
openNearEmpty();
}
public function replayHandler(_arg1){
delGameOverController();
gotoAndStop("menu");
}
public function clearBugBox(){
var _local1:*;
while (bugbox_mc.numChildren > 0) {
_local1 = bugbox_mc.getChildAt(0);
_local1.removeEventListener(MouseEvent.CLICK, bugsHandler);
bugbox_mc.removeChildAt(0);
};
}
public function musicHandler(_arg1){
var _local2:*;
_local2 = ((_arg1.target.currentFrame)==1) ? 2 : 1;
_arg1.target.gotoAndStop(_local2);
if (_local2 == 1){
music.bgmvolume = 1;
} else {
music.bgmvolume = 0;
};
}
public function onFscreen(_arg1:MouseEvent):void{
var event = _arg1;
try {
switch (stage.displayState){
case "normal":
stage.displayState = "fullScreen";
d_Fscreen.gotoAndStop(2);
break;
case "fullScreen":
default:
stage.displayState = "normal";
d_Fscreen.gotoAndStop(1);
break;
};
} catch(e:SecurityError) {
trace("<param name=\"allowFullScreen\" value=\"true\" />");
};
}
public function addGameDataDisplay(){
myData.addEventListener(GameData.NEW_SCORE, scoreDisplayHandler);
myData.addEventListener(GameData.NEW_STEPS, stepsDisplayHandler);
myData.addEventListener(GameData.NEW_LEVEL, levelDisplayHandler);
}
public function editMapMcType(_arg1, _arg2){
bugs_array[_arg1.yid][_arg1.xid] = _arg2;
editMcType(_arg1, _arg2);
}
public function newHandler(_arg1){
initGame();
}
public function delGameOverController(){
replay_mc.removeEventListener(MouseEvent.CLICK, replayHandler);
submit_mc.removeEventListener(MouseEvent.CLICK, submitHandler);
}
public function linking(){
var _local1:Object;
var _local2:*;
var _local3:uint;
var _local4:*;
open_array = [];
close_array = [];
_local1 = new Object();
_local1.xid = moveingMc.xid;
_local1.yid = moveingMc.yid;
open_array.push(_local1);
while (open_array.length > 0) {
_local2 = open_array[0];
close_array.push(_local2);
open_array.shift();
_local3 = 0;
while (_local3 < dir_array.length) {
_local4 = new Object();
_local4.xid = (_local2.xid + dir_array[_local3][0]);
_local4.yid = (_local2.yid + dir_array[_local3][1]);
if (checkInMap(_local4)){
if (bugs_array[_local4.yid][_local4.xid] == bugs_array[_local2.yid][_local2.xid]){
if (!checkInClose(_local4)){
if (!checkInOpen(_local4)){
open_array.push(_local4);
};
};
};
};
_local3++;
};
};
if (close_array.length >= removeNum){
myData.score = (myData.score + 10);
toHeart = true;
editList(close_array);
};
}
public function checkInClose(_arg1){
var _local2:Boolean;
var _local3:uint;
_local2 = false;
_local3 = 0;
while (_local3 < close_array.length) {
if ((((_arg1.xid == close_array[_local3].xid)) && ((_arg1.yid == close_array[_local3].yid)))){
_local2 = true;
break;
};
_local3++;
};
return (_local2);
}
public function getSameXList(_arg1){
var _local2:Array;
var _local3:uint;
_local2 = [];
_local3 = 0;
while (_local3 < mc_array.length) {
if ((((mc_array[_local3].xid == _arg1.xid)) && (!((mc_array[_local3].yid == _arg1.yid))))){
_local2.push(mc_array[_local3]);
};
_local3++;
};
return (_local2);
}
public function editList(_arg1){
var _local2:uint;
var _local3:uint;
var _local4:*;
trace("______心变______");
_local2 = 0;
while (_local2 < _arg1.length) {
_local3 = 0;
while (_local3 < mc_array.length) {
_local4 = mc_array[_local3];
if ((((_local4.xid == _arg1[_local2].xid)) && ((_local4.yid == _arg1[_local2].yid)))){
editMapMcType(_local4, 9);
break;
};
_local3++;
};
_local2++;
};
}
public function checkInMap(_arg1){
var _local2:Boolean;
_local2 = false;
if ((((((((_arg1.xid >= 0)) && ((_arg1.xid < widNum)))) && ((_arg1.yid >= 0)))) && ((_arg1.yid < heiNum)))){
_local2 = true;
};
return (_local2);
}
public function bugsHandler(_arg1){
var _local2:*;
if (!myData.pauseGame){
_local2 = _arg1.currentTarget;
trace(_arg1.currentTarget);
if (_local2.buttonMode){
closeNearEmpty();
moveingMc = _local2;
trace(moveingMc);
moveMc();
};
};
}
public function submit1Handler(_arg1){
var _local2:*;
_local2 = MD5.hash((((furl + gamename) + gameScore_txt.text) + "zygomaticgames"));
navigateToURL(new URLRequest((((((("http://www.gamesonly.net/highscore.php?game=" + gamename) + "&score=") + gameScore_txt.text) + "&otherparam=") + _local2) + "")), "_blank");
}
public function checkHeartList():Array{
var _local1:Array;
var _local2:uint;
var _local3:*;
_local1 = [];
_local2 = 0;
while (_local2 < mc_array.length) {
_local3 = mc_array[_local2];
if (_local3.types == 9){
_local1.push(_local3);
};
_local2++;
};
return (_local1);
}
}
}//package LoveBugs_gamesonly_fla
Section 9
//music_92 (LoveBugs_gamesonly_fla.music_92)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class music_92 extends MovieClip {
public function music_92(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveBugs_gamesonly_fla
Section 10
//pause_95 (LoveBugs_gamesonly_fla.pause_95)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class pause_95 extends MovieClip {
public var con_mc:SimpleButton;
}
}//package LoveBugs_gamesonly_fla
Section 11
//sound_93 (LoveBugs_gamesonly_fla.sound_93)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class sound_93 extends MovieClip {
public function sound_93(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveBugs_gamesonly_fla
Section 12
//Timeline_1 (LoveBugs_gamesonly_fla.Timeline_1)
package LoveBugs_gamesonly_fla {
import flash.media.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
public dynamic class Timeline_1 extends MovieClip {
public var d_Load:TextField;
public var skip_btn:SimpleButton;
public var mc_9_loading:MovieClip;
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 frame152(){
stop();
SoundMixer.stopAll();
MovieClip(this.parent).gotoAndStop("menu");
}
public function onProgress(_arg1:ProgressEvent){
var _local2:*;
_local2 = Math.floor(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100));
d_Load.text = (("Loading....." + _local2) + "%");
}
public function skipEvent(_arg1:MouseEvent){
this.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);
};
}
public function onInit(_arg1){
skip_btn.visible = true;
d_Load.visible = false;
if (this.currentFrame == 151){
gotoAndStop(152);
};
}
}
}//package LoveBugs_gamesonly_fla
Section 13
//Timeline_5 (LoveBugs_gamesonly_fla.Timeline_5)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_5 extends MovieClip {
public function Timeline_5(){
addFrameScript(79, frame80);
}
function frame80(){
stop();
}
}
}//package LoveBugs_gamesonly_fla
Section 14
//Timeline_7 (LoveBugs_gamesonly_fla.Timeline_7)
package LoveBugs_gamesonly_fla {
import flash.display.*;
public dynamic class Timeline_7 extends MovieClip {
public function Timeline_7(){
addFrameScript(106, frame107);
}
function frame107(){
stop();
}
}
}//package LoveBugs_gamesonly_fla
Section 15
//title_27 (LoveBugs_gamesonly_fla.title_27)
package LoveBugs_gamesonly_fla {
import flash.media.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.external.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class title_27 extends MovieClip {
public var d_Highscore:SimpleButton;
public var d_Help:SimpleButton;
public var d_More:SimpleButton;
public var d_Play:SimpleButton;
public function title_27(){
addFrameScript(104, frame105);
}
public function addMainController(){
d_Play.addEventListener(MouseEvent.CLICK, playHandler);
d_Help.addEventListener(MouseEvent.CLICK, helpHandler);
d_More.addEventListener(MouseEvent.CLICK, playmoreHandler);
d_Highscore.addEventListener(MouseEvent.CLICK, scoreHandler);
}
public function delMainController(){
d_Play.removeEventListener(MouseEvent.CLICK, playHandler);
d_Help.removeEventListener(MouseEvent.CLICK, helpHandler);
d_More.removeEventListener(MouseEvent.CLICK, playmoreHandler);
d_Highscore.removeEventListener(MouseEvent.CLICK, scoreHandler);
}
public function scoreHandler(_arg1){
navigateToURL(new URLRequest("http://www.gamesonly.com.cn/highscore.php?game=lovebugs"), "_blank");
}
function frame105(){
stop();
addMainController();
}
public function playHandler(_arg1){
delMainController();
_arg1.target.parent.parent.gotoAndStop("game");
}
public function playmoreHandler(_arg1){
navigateToURL(new URLRequest("http://www.gamesonly.com.cn/"), "_blank");
}
public function helpHandler(_arg1){
delMainController();
_arg1.target.parent.parent.gotoAndStop("help");
}
}
}//package LoveBugs_gamesonly_fla
Section 16
//bugs (bugs)
package {
import flash.display.*;
public dynamic class bugs extends MovieClip {
public var btn:MovieClip;
public function bugs(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 17
//EmbedObject (EmbedObject)
package {
import flash.external.*;
import flash.system.*;
public class EmbedObject {
private var attemptedPropsRetrieval:Boolean;// = false
private var embedObjectProps:Object;
private static var _singleton:EmbedObject;
private static var SET_CALLBACK_NAME:String = "asorg_setEmbedObjectProps";
public function EmbedObject(){
attemptedPropsRetrieval = false;
super();
initialize();
}
public function external_SetEmbedObjectProps(_arg1:Object){
this.embedObjectProps = _arg1;
}
private function initialize(){
ExternalInterface.addCallback(SET_CALLBACK_NAME, external_SetEmbedObjectProps);
}
public function _getEmbedObjectProps():Object{
if (!attemptedPropsRetrieval){
retrieveEmbedObjectProps();
attemptedPropsRetrieval = true;
};
return (embedObjectProps);
}
public function retrieveEmbedObjectProps(){
retrieveEmbedObjectPropsForTagname("embed");
if (!embedObjectProps){
retrieveEmbedObjectPropsForTagname("object");
};
}
public function executeJS(_arg1:String):Object{
return (ExternalInterface.call((("function() {" + _arg1) + "}")));
}
public function retrieveEmbedObjectPropsForTagname(_arg1:String){
var _local2:String;
if ((((Capabilities.playerType == "PlugIn")) || ((Capabilities.playerType == "ActiveX")))){
_local2 = (((((("var elts = document.getElementsByTagName('" + _arg1) + "'); for (var i=0;i<elts.length;i++) {if(typeof elts[i].") + SET_CALLBACK_NAME) + " != 'undefined') { if (!elts[i].getAttribute('id')) {elts[i].setAttribute('id','asorgid_'+Math.floor(Math.random()*100000));} var props = {}; props.id = elts[i].getAttribute('id'); for (var x=0; x < elts[i].attributes.length; x++) { props[elts[i].attributes[x].nodeName] = elts[i].attributes[x].nodeValue;} elts[i].") + SET_CALLBACK_NAME) + "(props); }}");
singleton.executeJS(_local2);
} else {
singleton.external_SetEmbedObjectProps({});
};
}
public static function getId():String{
return (getEnumerableParam("id"));
}
public static function getEnumerableParams():Object{
if (!singleton.embedObjectProps){
singleton._getEmbedObjectProps();
};
return (singleton.embedObjectProps);
}
public static function getSingleton():EmbedObject{
if (_singleton == null){
_singleton = new (EmbedObject);
};
return (_singleton);
}
private static function testFunc(){
}
public static function getParamViaExternal(_arg1:String):Object{
return (Object(singleton.executeJS((((("return document.getElementById('" + getEnumerableParam("id")) + "').getAttribute('") + _arg1) + "');"))));
}
public static function get singleton():EmbedObject{
return (getSingleton());
}
public static function getEnumerableParam(_arg1:String):String{
return (String(getEnumerableParams()[_arg1]));
}
}
}//package
Section 18
//fdis (fdis)
package {
import flash.display.*;
public dynamic class fdis extends MovieClip {
public function fdis(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
this.parent.removeChild(this);
}
}
}//package
Section 19
//IntUtil (IntUtil)
package {
public class IntUtil {
private static var hexChars:String = "0123456789abcdef";
public static function toHex(_arg1:int, _arg2:Boolean=false):String{
var _local3:String;
var _local4:int;
var _local5:int;
_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;
_local3 = (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 20
//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;
var _local3:int;
var _local4:int;
var _local5:int;
_local2 = new Array();
_local3 = (_arg1.length * 8);
_local4 = 0xFF;
_local5 = 0;
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;
_local9 = (((_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 _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:Array;
var _local11:int;
var _local12:int;
_local2 = 1732584193;
_local3 = -271733879;
_local4 = -1732584194;
_local5 = 271733878;
_local10 = createBlocks(_arg1);
_local11 = _local10.length;
_local12 = 0;
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 21
//sgame (sgame)
package {
import flash.media.*;
public dynamic class sgame extends Sound {
}
}//package
Section 22
//sheart (sheart)
package {
import flash.media.*;
public dynamic class sheart extends Sound {
}
}//package
Section 23
//slevel (slevel)
package {
import flash.media.*;
public dynamic class slevel extends Sound {
}
}//package
Section 24
//smenu (smenu)
package {
import flash.media.*;
public dynamic class smenu extends Sound {
}
}//package
Section 25
//smove (smove)
package {
import flash.media.*;
public dynamic class smove extends Sound {
}
}//package
Section 26
//sover (sover)
package {
import flash.media.*;
public dynamic class sover extends Sound {
}
}//package