Section 1
//mcBtnCancel_42 (AlCaponeMahjong_fla.mcBtnCancel_42)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcBtnCancel_42 extends MovieClip {
public var btn:SimpleButton;
public function mcBtnCancel_42(){
addFrameScript(0, frame1, 6, frame7, 12, frame13);
}
function frame1(){
stop();
}
function frame7(){
if (this.rol){
stop();
};
}
function frame13(){
if (this.rol){
gotoAndPlay(2);
};
}
}
}//package AlCaponeMahjong_fla
Section 2
//mcBtnContinue_63 (AlCaponeMahjong_fla.mcBtnContinue_63)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcBtnContinue_63 extends MovieClip {
public var btn:SimpleButton;
public function mcBtnContinue_63(){
addFrameScript(0, frame1, 6, frame7, 12, frame13);
}
function frame1(){
stop();
}
function frame7(){
if (this.rol){
stop();
};
}
function frame13(){
if (this.rol){
gotoAndPlay(2);
};
}
}
}//package AlCaponeMahjong_fla
Section 3
//mcBtnFetFull_44 (AlCaponeMahjong_fla.mcBtnFetFull_44)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcBtnFetFull_44 extends MovieClip {
public var btn:SimpleButton;
public function mcBtnFetFull_44(){
addFrameScript(0, frame1, 6, frame7, 12, frame13);
}
function frame1(){
stop();
}
function frame7(){
if (this.rol){
stop();
};
}
function frame13(){
if (this.rol){
gotoAndPlay(2);
};
}
}
}//package AlCaponeMahjong_fla
Section 4
//mcBtnFetFull_end_65 (AlCaponeMahjong_fla.mcBtnFetFull_end_65)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcBtnFetFull_end_65 extends MovieClip {
public var btn:SimpleButton;
public function mcBtnFetFull_end_65(){
addFrameScript(0, frame1, 6, frame7, 12, frame13);
}
function frame1(){
stop();
}
function frame7(){
if (this.rol){
stop();
};
}
function frame13(){
if (this.rol){
gotoAndPlay(2);
};
}
}
}//package AlCaponeMahjong_fla
Section 5
//mcBtnOk_23 (AlCaponeMahjong_fla.mcBtnOk_23)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcBtnOk_23 extends MovieClip {
public var btn:SimpleButton;
public function mcBtnOk_23(){
addFrameScript(0, frame1, 6, frame7, 12, frame13);
}
function frame1(){
stop();
}
function frame7(){
if (this.rol){
stop();
};
}
function frame13(){
if (this.rol){
gotoAndPlay(2);
};
}
}
}//package AlCaponeMahjong_fla
Section 6
//mcCreditsBtn_12 (AlCaponeMahjong_fla.mcCreditsBtn_12)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcCreditsBtn_12 extends MovieClip {
public var btn:SimpleButton;
public function mcCreditsBtn_12(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 7
//mcCreditsWin_26 (AlCaponeMahjong_fla.mcCreditsWin_26)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcCreditsWin_26 extends MovieClip {
public var btnOk:MovieClip;
public var btn:SimpleButton;
public function mcCreditsWin_26(){
addFrameScript(0, frame1, 24, frame25, 31, frame32);
}
function frame1(){
stop();
}
function frame25(){
stop();
}
function frame32(){
root.gotoAndStop("Main");
}
}
}//package AlCaponeMahjong_fla
Section 8
//mcFinalImage_56 (AlCaponeMahjong_fla.mcFinalImage_56)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcFinalImage_56 extends MovieClip {
public function mcFinalImage_56(){
addFrameScript(0, frame1, 56, frame57);
}
function frame1(){
stop();
}
function frame57(){
root.GameOver();
stop();
}
}
}//package AlCaponeMahjong_fla
Section 9
//mcInstructionsBtn_9 (AlCaponeMahjong_fla.mcInstructionsBtn_9)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcInstructionsBtn_9 extends MovieClip {
public var btn:SimpleButton;
public function mcInstructionsBtn_9(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 10
//mcInstructionsWin_18 (AlCaponeMahjong_fla.mcInstructionsWin_18)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcInstructionsWin_18 extends MovieClip {
public var BG:MovieClip;
public var btnOk:MovieClip;
public function mcInstructionsWin_18(){
addFrameScript(0, frame1, 24, frame25, 31, frame32);
}
function frame1(){
stop();
}
function frame25(){
stop();
}
function frame32(){
root.gotoAndStop("Main");
}
}
}//package AlCaponeMahjong_fla
Section 11
//mcItemBack_87 (AlCaponeMahjong_fla.mcItemBack_87)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcItemBack_87 extends MovieClip {
public var BG:MovieClip;
public function mcItemBack_87(){
addFrameScript(0, frame1);
}
function frame1(){
parent.Set();
}
}
}//package AlCaponeMahjong_fla
Section 12
//mcLevelNum_54 (AlCaponeMahjong_fla.mcLevelNum_54)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcLevelNum_54 extends MovieClip {
public var mc:MovieClip;
public function mcLevelNum_54(){
addFrameScript(0, frame1, 36, frame37);
}
function frame1(){
stop();
}
function frame37(){
root.gotoLevel();
}
}
}//package AlCaponeMahjong_fla
Section 13
//mcLevelNumText_55 (AlCaponeMahjong_fla.mcLevelNumText_55)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcLevelNumText_55 extends MovieClip {
public var txtLevel:TextField;
public function mcLevelNumText_55(){
addFrameScript(0, frame1);
}
function frame1(){
txtLevel.text = ("Level " + (root.nLevelNum + 1));
}
}
}//package AlCaponeMahjong_fla
Section 14
//mcLevelsPreviews_93 (AlCaponeMahjong_fla.mcLevelsPreviews_93)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcLevelsPreviews_93 extends MovieClip {
public function mcLevelsPreviews_93(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AlCaponeMahjong_fla
Section 15
//mcLimitedLevelWin_40 (AlCaponeMahjong_fla.mcLimitedLevelWin_40)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcLimitedLevelWin_40 extends MovieClip {
public var btnGetFull:MovieClip;
public var btnCancel:MovieClip;
public function mcLimitedLevelWin_40(){
addFrameScript(0, frame1, 18, frame19);
}
public function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
public function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
public function fnDown(_arg1:MouseEvent){
root.sndBtnPress.play();
this.gotoAndPlay("Hide");
}
public function fnFullDown(_arg1:MouseEvent){
root.sndBtnPress.play();
navigateToURL(new URLRequest(root.strFullVersionLink), "_blank");
}
function frame1(){
stop();
}
function frame19(){
this.btnCancel.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDown);
this.btnCancel.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnCancel.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnGetFull.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnFullDown);
this.btnGetFull.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnGetFull.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
stop();
}
}
}//package AlCaponeMahjong_fla
Section 16
//mcLock_114 (AlCaponeMahjong_fla.mcLock_114)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcLock_114 extends MovieClip {
public function mcLock_114(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package AlCaponeMahjong_fla
Section 17
//mcMainMenuBtn_31 (AlCaponeMahjong_fla.mcMainMenuBtn_31)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcMainMenuBtn_31 extends MovieClip {
public var btn:SimpleButton;
public function mcMainMenuBtn_31(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 18
//mcMainMenuBtn_gameOver_75 (AlCaponeMahjong_fla.mcMainMenuBtn_gameOver_75)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcMainMenuBtn_gameOver_75 extends MovieClip {
public var btn:SimpleButton;
public function mcMainMenuBtn_gameOver_75(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 19
//mcMoreGames2_34 (AlCaponeMahjong_fla.mcMoreGames2_34)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcMoreGames2_34 extends MovieClip {
public var btn:SimpleButton;
public function mcMoreGames2_34(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 20
//mcMoreGames3_50 (AlCaponeMahjong_fla.mcMoreGames3_50)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcMoreGames3_50 extends MovieClip {
public var btn:SimpleButton;
public function mcMoreGames3_50(){
addFrameScript(0, frame1, 7, frame8, 13, frame14);
}
function frame1(){
stop();
}
function frame8(){
if (this.rol){
stop();
};
}
function frame14(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 21
//mcMoreGames4_78 (AlCaponeMahjong_fla.mcMoreGames4_78)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcMoreGames4_78 extends MovieClip {
public var btn:SimpleButton;
public function mcMoreGames4_78(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 22
//mcMoreGamesBtn_15 (AlCaponeMahjong_fla.mcMoreGamesBtn_15)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcMoreGamesBtn_15 extends MovieClip {
public var btn:SimpleButton;
public function mcMoreGamesBtn_15(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 23
//mcNoFreeLevelWin_37 (AlCaponeMahjong_fla.mcNoFreeLevelWin_37)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcNoFreeLevelWin_37 extends MovieClip {
public var btnOk:MovieClip;
public function mcNoFreeLevelWin_37(){
addFrameScript(0, frame1, 18, frame19);
}
public function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
public function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
public function fnDown(_arg1:MouseEvent){
root.sndBtnPress.play();
this.gotoAndPlay("Hide");
}
function frame1(){
stop();
}
function frame19(){
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDown);
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
stop();
}
}
}//package AlCaponeMahjong_fla
Section 24
//mcNoSameItemsWin_81 (AlCaponeMahjong_fla.mcNoSameItemsWin_81)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcNoSameItemsWin_81 extends MovieClip {
public function mcNoSameItemsWin_81(){
addFrameScript(0, frame1, 73, frame74);
}
function frame1(){
stop();
}
function frame74(){
root.GameOver();
}
}
}//package AlCaponeMahjong_fla
Section 25
//mcPauseBtn_52 (AlCaponeMahjong_fla.mcPauseBtn_52)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcPauseBtn_52 extends MovieClip {
public var btn:SimpleButton;
public function mcPauseBtn_52(){
addFrameScript(0, frame1, 7, frame8, 13, frame14);
}
function frame1(){
stop();
}
function frame8(){
if (this.rol){
stop();
};
}
function frame14(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 26
//mcPauseWin_83 (AlCaponeMahjong_fla.mcPauseWin_83)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcPauseWin_83 extends MovieClip {
public var Area:MovieClip;
public function mcPauseWin_83(){
addFrameScript(0, frame1, 14, frame15);
}
public function fnDown(_arg1:MouseEvent){
root.RemoveGamePause();
this.removeEventListener(MouseEvent.MOUSE_DOWN, fnDown);
}
function frame1(){
stop();
}
function frame15(){
this.addEventListener(MouseEvent.MOUSE_DOWN, fnDown);
stop();
}
}
}//package AlCaponeMahjong_fla
Section 27
//mcQuitBtn_49 (AlCaponeMahjong_fla.mcQuitBtn_49)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcQuitBtn_49 extends MovieClip {
public var btn:SimpleButton;
public function mcQuitBtn_49(){
addFrameScript(0, frame1, 7, frame8, 13, frame14);
}
function frame1(){
stop();
}
function frame8(){
if (this.rol){
stop();
};
}
function frame14(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 28
//mcShuffleBtn_51 (AlCaponeMahjong_fla.mcShuffleBtn_51)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcShuffleBtn_51 extends MovieClip {
public var btn:SimpleButton;
public function mcShuffleBtn_51(){
addFrameScript(0, frame1, 7, frame8, 13, frame14);
}
function frame1(){
stop();
}
function frame8(){
if (this.rol){
stop();
};
}
function frame14(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 29
//mcStartBtn_5 (AlCaponeMahjong_fla.mcStartBtn_5)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcStartBtn_5 extends MovieClip {
public var btn:SimpleButton;
public function mcStartBtn_5(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 30
//mcSubmitBtn_71 (AlCaponeMahjong_fla.mcSubmitBtn_71)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcSubmitBtn_71 extends MovieClip {
public var btn:SimpleButton;
public function mcSubmitBtn_71(){
addFrameScript(0, frame1, 9, frame10, 17, frame18);
}
function frame1(){
stop();
}
function frame10(){
if (this.rol){
stop();
};
}
function frame18(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package AlCaponeMahjong_fla
Section 31
//mcTrialFinalImage_61 (AlCaponeMahjong_fla.mcTrialFinalImage_61)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class mcTrialFinalImage_61 extends MovieClip {
public var btnContinue:MovieClip;
public var btnGetFull:MovieClip;
public function mcTrialFinalImage_61(){
addFrameScript(0, frame1, 30, frame31);
}
public function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
public function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
public function fnDown(_arg1:MouseEvent){
root.sndBtnPress.play();
root.GameOver();
}
public function fnFullDown(_arg1:MouseEvent){
root.sndBtnPress.play();
navigateToURL(new URLRequest(root.strFullVersionLink), "_blank");
}
function frame1(){
stop();
}
function frame31(){
this.btnContinue.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDown);
this.btnContinue.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnContinue.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnGetFull.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnFullDown);
this.btnGetFull.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnGetFull.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
stop();
}
}
}//package AlCaponeMahjong_fla
Section 32
//Smoker_2 (AlCaponeMahjong_fla.Smoker_2)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Smoker_2 extends MovieClip {
public function Smoker_2(){
addFrameScript(51, frame52);
}
function frame52(){
stop();
}
}
}//package AlCaponeMahjong_fla
Section 33
//Tween10copy_25 (AlCaponeMahjong_fla.Tween10copy_25)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Tween10copy_25 extends MovieClip {
public var BG:MovieClip;
public var btnOk:MovieClip;
public function Tween10copy_25(){
addFrameScript(0, frame1);
}
public function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
public function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
public function fnDown(_arg1:MouseEvent){
root.sndBtnPress.play();
this.parent.gotoAndPlay("Hide");
}
function frame1(){
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDown);
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
}
}
}//package AlCaponeMahjong_fla
Section 34
//Tween10copy2_27 (AlCaponeMahjong_fla.Tween10copy2_27)
package AlCaponeMahjong_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
public dynamic class Tween10copy2_27 extends MovieClip {
public var btnOk:MovieClip;
public var btn:SimpleButton;
public function Tween10copy2_27(){
addFrameScript(0, frame1);
}
public function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
public function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
public function fnDown(_arg1:MouseEvent){
root.sndBtnPress.play();
this.parent.gotoAndPlay("Hide");
}
public function fnUrlDown(_arg1:MouseEvent){
root.sndBtnPress.play();
}
function frame1(){
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDown);
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnOk.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
btn.addEventListener(MouseEvent.MOUSE_DOWN, fnUrlDown);
}
}
}//package AlCaponeMahjong_fla
Section 35
//Field (Main.Field)
package Main {
import flash.events.*;
import flash.display.*;
public dynamic class Field extends MovieClip {
public var ar_Items:Array;
public var HeightCount:Number;// = 8
public var WidthCount:Number;// = 13
public var ItemWidth:Number;// = 42
public var ItemHeight:Number;// = 52
public var mt_Map:MapTypes;
public var LevelType:Number;// = 0
private var ar_ItemsSelected:Array;
private var KindCount:Number;// = 28
private var nCountOn:Number;
private var nRemoved:Number;// = 0
private var BX:Number;
private var BY:Number;
public function Field(){
this.BX = this.x;
this.BY = this.y;
this.Create();
}
public function ReCreate(){
var _local2:Number;
var _local3:Number;
var _local1:Number = 0;
while (_local1 < this.ar_Items.length) {
_local2 = 0;
while (_local2 < this.ar_Items[_local1].length) {
_local3 = 0;
while (_local3 < this.ar_Items[_local1][_local2].length) {
this.ar_Items[_local1][_local2][_local3].RemoveFromContainer();
_local3++;
};
_local2++;
};
_local1++;
};
this.Create();
}
public function Create(){
var _local5:Number;
var _local6:Number;
if (root.nLevelNum == 2){
this.x = (this.BX + 40);
this.y = (this.BY + 20);
} else {
this.x = this.BX;
this.y = this.BY;
};
this.ar_ItemsSelected = new Array();
this.nRemoved = 0;
this.LevelType = root.nLevelType;
mt_Map = new MapTypes();
var _local1:Number = 0;
this.ar_Items = new Array();
var _local2:Number = 0;
var _local3:Number = 0;
this.nCountOn = 0;
var _local4:Number = (3 - root.nLevelSkill);
while (_local4 < mt_Map.ar_Maps[this.LevelType].length) {
_local2 = (this.ar_Items.push(new Array()) - 1);
_local5 = 0;
while (_local5 < HeightCount) {
this.ar_Items[_local2].push(new Array());
_local6 = 0;
while (_local6 < WidthCount) {
_local1++;
this.ar_Items[_local2][_local5].push(new FieldItem());
this.ar_Items[_local2][_local5][_local6].x = ((_local6 * this.ItemWidth) - (_local4 * 5));
this.ar_Items[_local2][_local5][_local6].y = ((_local5 * this.ItemHeight) - (_local4 * 5));
this.ar_Items[_local2][_local5][_local6].DepthLevel = _local2;
this.ar_Items[_local2][_local5][_local6].LevelNum = _local4;
this.ar_Items[_local2][_local5][_local6].nX = _local6;
this.ar_Items[_local2][_local5][_local6].nY = _local5;
this.ar_Items[_local2][_local5][_local6].Num = _local1;
this.ar_Items[_local2][_local5][_local6].isOn = parseInt(mt_Map.ar_Maps[this.LevelType][_local4][_local5][_local6]);
if (this.ar_Items[_local2][_local5][_local6].isOn){
this.nCountOn++;
};
this.ar_Items[_local2][_local5][_local6].nType = Math.floor((Math.random() * this.KindCount));
this.ar_Items[_local2][_local5][_local6].Update(this);
_local6++;
};
_local5++;
};
_local4++;
};
ShuffleItems();
}
public function SelectItem(_arg1:FieldItem):Boolean{
var _local2:Boolean;
if (this.ar_ItemsSelected.length == 0){
this.ar_ItemsSelected.push(_arg1);
_local2 = true;
} else {
this.ar_ItemsSelected.push(_arg1);
_local2 = false;
this.CheckSelectedItems();
};
return (_local2);
}
public function isHereItem(_arg1, _arg2, _arg3, _arg4, _arg5):Boolean{
var _local6:Boolean;
var _local7:Number = (_arg1.nX + _arg2);
var _local8:Number = (_arg1.nY + _arg3);
var _local9:Number = (_arg1.DepthLevel + _arg4);
if ((((((_local7 < 0)) || ((_local8 < 0)))) || ((_local9 > (this.ar_Items.length - 1))))){
_local6 = false;
} else {
if (_local8 > (this.ar_Items[_local9].length - 1)){
_local6 = false;
} else {
if (_local7 > (this.ar_Items[_local9][_local8].length - 1)){
_local6 = false;
};
};
};
if (_local6){
if (!this.ar_Items[_local9][_local8][_local7].isOn){
_local6 = false;
} else {
if (((_arg5) && (this.ar_Items[_local9][_local8][_local7].wasShuffeled))){
_local6 = false;
} else {
if (this.ar_Items[_local9][_local8][_local7].wasRemoved){
_local6 = false;
};
};
};
};
return (_local6);
}
public function isFreeItem(_arg1:FieldItem, _arg2:Boolean):Boolean{
var _local3:Boolean;
if (((isHereItem(_arg1, -1, 0, 0, _arg2)) && (isHereItem(_arg1, 1, 0, 0, _arg2)))){
_local3 = false;
};
if (((isHereItem(_arg1, 0, -1, 0, _arg2)) && (isHereItem(_arg1, 0, 1, 0, _arg2)))){
_local3 = false;
};
if (isHereItem(_arg1, 0, 0, 1, _arg2)){
_local3 = false;
};
return (_local3);
}
public function CheckSelectedItems(){
if ((((this.ar_ItemsSelected[0].nType == this.ar_ItemsSelected[1].nType)) && (!((this.ar_ItemsSelected[0] == this.ar_ItemsSelected[1]))))){
if (((isFreeItem(this.ar_ItemsSelected[0], false)) && (isFreeItem(this.ar_ItemsSelected[1], false)))){
this.ar_ItemsSelected[0].Remove();
this.ar_ItemsSelected[1].Remove();
root.snd_RemovingItems.play();
this.nRemoved = (this.nRemoved + 2);
if (this.nRemoved == this.nCountOn){
root.ShowNext();
} else {
if (!this.IsSame2Here()){
root.GameOverNoSame();
};
};
root.addScores(10);
};
};
this.RemoveSelectionFromItems();
}
public function RemoveSelectionFromItems(){
var _local1:Number = (this.ar_ItemsSelected.length - 1);
while (_local1 >= 0) {
this.ar_ItemsSelected[_local1].RemoveSelection();
this.ar_ItemsSelected.pop();
_local1--;
};
}
public function getFreeItemsNow():Array{
var _local3:Number;
var _local4:Number;
var _local1:Array = new Array();
var _local2:Number = 0;
while (_local2 < this.ar_Items.length) {
_local3 = 0;
while (_local3 < this.ar_Items[_local2].length) {
_local4 = 0;
while (_local4 < this.ar_Items[_local2][_local3].length) {
if (((this.isFreeItem(this.ar_Items[_local2][_local3][_local4], false)) && (this.ar_Items[_local2][_local3][_local4].isOn))){
_local1.push(this.ar_Items[_local2][_local3][_local4]);
};
_local4++;
};
_local3++;
};
_local2++;
};
return (_local1);
}
public function IsSame2Here():Boolean{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local1:Boolean;
var _local2:Array = new Array();
var _local3:Number = 0;
while (_local3 < this.ar_Items.length) {
_local5 = 0;
while (_local5 < this.ar_Items[_local3].length) {
_local6 = 0;
while (_local6 < this.ar_Items[_local3][_local5].length) {
if (((((this.isFreeItem(this.ar_Items[_local3][_local5][_local6], false)) && (this.ar_Items[_local3][_local5][_local6].isOn))) && (!(this.ar_Items[_local3][_local5][_local6].wasRemoved)))){
_local2.push(this.ar_Items[_local3][_local5][_local6]);
};
_local6++;
};
_local5++;
};
_local3++;
};
var _local4:Number = 0;
while (_local4 < _local2.length) {
_local7 = 0;
while (_local7 < _local2.length) {
if (((!((_local4 == _local7))) && ((_local2[_local4].nType == _local2[_local7].nType)))){
_local1 = true;
};
_local7++;
};
_local4++;
};
return (_local1);
}
public function ShuffleItems(){
var _local3:Number;
var _local4:Number;
var _local5:Array;
var _local6:Number;
var _local7:Number;
var _local8:Boolean;
var _local9:Number;
var _local1:Number = 0;
var _local2:Number = 0;
while (_local2 < this.ar_Items.length) {
_local3 = 0;
while (_local3 < this.ar_Items[_local2].length) {
_local4 = 0;
while (_local4 < this.ar_Items[_local2][_local3].length) {
this.ar_Items[_local2][_local3][_local4].wasShuffeled = false;
_local4++;
};
_local3++;
};
_local2++;
};
while (_local1 < this.nCountOn) {
_local5 = new Array();
_local2 = 0;
while (_local2 < this.ar_Items.length) {
_local3 = 0;
while (_local3 < this.ar_Items[_local2].length) {
_local4 = 0;
while (_local4 < this.ar_Items[_local2][_local3].length) {
if (((((this.isFreeItem(this.ar_Items[_local2][_local3][_local4], true)) && (this.ar_Items[_local2][_local3][_local4].isOn))) && (!(this.ar_Items[_local2][_local3][_local4].wasShuffeled)))){
_local5.push(this.ar_Items[_local2][_local3][_local4]);
};
_local4++;
};
_local3++;
};
_local2++;
};
_local6 = 0;
while (_local6 < _local5.length) {
if (!_local5[_local6].wasShuffeled){
_local5[_local6].wasShuffeled = true;
_local7 = Math.floor((Math.random() * this.KindCount));
_local5[_local6].nType = _local7;
_local8 = false;
_local1++;
while (!(_local8)) {
_local9 = Math.floor((Math.random() * _local5.length));
if (!_local5[_local9].wasShuffeled){
_local8 = true;
_local5[_local9].wasShuffeled = true;
_local5[_local9].nType = _local7;
_local1++;
};
};
};
_local6++;
};
};
}
}
}//package Main
Section 36
//FieldItem (Main.FieldItem)
package Main {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
public dynamic class FieldItem extends MovieClip {
public var btn:SimpleButton;
public var mc:MovieClip;
public var isOn:Number;// = 0
public var nType:Number;// = 0
public var DepthLevel:Number;// = 0
public var nY:Number;// = 0
public var nX:Number;// = 0
public var wasSelected:Boolean;// = false
public var rol:Boolean;// = false
public var Num:Number;
public var LevelNum:Number;
public var wasRemoved:Boolean;// = false
public var wasShuffeled:Boolean;// = false
private var intervalId:Number;
private var FIELD:Field;
public function FieldItem(){
addFrameScript(0, frame1, 14, frame15, 15, frame16, 20, frame21, 25, frame26, 41, frame42);
}
private function fnOver(_arg1:MouseEvent){
if (!this.wasSelected){
this.rol = true;
play();
};
}
private function fnOut(_arg1:MouseEvent){
if (((!(this.wasSelected)) && (this.rol))){
this.rol = false;
play();
};
}
private function fnDown(_arg1:MouseEvent){
if (!this.rol){
this.rol = true;
this.play();
};
if (this.FIELD.SelectItem(this)){
this.wasSelected = true;
};
root.sndObjectPress.play();
}
public function Remove(){
this.btn.removeEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btn.removeEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btn.removeEventListener(MouseEvent.MOUSE_DOWN, fnDown);
this.wasRemoved = true;
this.gotoAndPlay("Remove");
}
private function Showed(){
this.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDown);
}
public function RemoveSelection(){
this.wasSelected = false;
this.rol = false;
this.play();
}
public function Update(_arg1:MovieClip){
if (this.isOn != 0){
_arg1.addChild(this);
this.intervalId = setInterval(fnShow, (this.Num * 5));
this.FIELD = (_arg1 as Field);
};
}
public function RemoveFromContainer(){
if (this.isOn != 0){
this.FIELD.removeChild(this);
};
}
public function Set(){
this.mc.gotoAndStop((this.nType + 1));
var _local1:Number = ((3 - LevelNum) / 10);
this.mc.BG.transform.colorTransform = new ColorTransform((1.2 - _local1), (1.2 - _local1), (1.2 - _local1), 1, 0, 0, 0, 0);
}
private function fnShow(){
gotoAndPlay("SHOW");
clearInterval(this.intervalId);
}
function frame1(){
stop();
}
function frame15(){
this.Showed();
}
function frame16(){
stop();
}
function frame21(){
if (this.rol){
stop();
};
}
function frame26(){
if (this.rol){
gotoAndPlay("OVER");
} else {
gotoAndStop("S");
};
}
function frame42(){
stop();
}
}
}//package Main
Section 37
//Game (Main.Game)
package Main {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
public dynamic class Game extends MovieClip {
public var mcNoSameWin:MovieClip;
public var mcLevelNum:MovieClip;
public var mcLimitedLevelWin:MovieClip;
public var mcTrialFinalImage:MovieClip;
public var mcControls:GameControls;
public var mcPauseWin:MovieClip;
public var mcGameOverWin:GameOverWin;
public var mcNoFreeLevelWin:MovieClip;
public var mcInstructionsWin:MovieClip;
public var mcFinalImage:MovieClip;
public var mcCreditsWin:MovieClip;
public var mcField:Field;
public var nLevelType:Number;// = 0
public var nLevelSkill:Number;// = 0
public var nLevelNum:Number;// = 0
public var nScores:Number;// = 0
public var CountOpenedLevels:Number;// = 1
public var StoredData:SharedObject;
public var strMoreGamePath:String;// = "http://www.game-mahjong.com/?from=AlCaponeMahjong"
public var strScoresPath:String;// = "http://online-free-gaming.com/index.php?t=9&gameid=18"
public var strFullVersionLink:String;// = "https://www.regnow.com/softsell/nph-softsell.cgi?item=8595-22"
public var isPause:Boolean;// = false
public var sndMusic:MenuMusic;
public var snd_RemovingItems:sndRemovingItems;
public var sndBtnPress:BtnPress;
public var sndObjectPress:ObjectPress;
public var sndLevelEnd:LevelEnd;
public var ar_Times:Array;
public var isTrial:Boolean;// = false
public var nLevelsLimit:Number;
public function Game(){
sndMusic = new MenuMusic();
snd_RemovingItems = new sndRemovingItems();
sndBtnPress = new BtnPress();
sndObjectPress = new ObjectPress();
sndLevelEnd = new LevelEnd();
ar_Times = new Array(5, 8, 11, 15);
super();
addFrameScript(0, frame1, 1, frame2, 3, frame4);
if (this.isTrial){
this.nLevelsLimit = 7;
} else {
this.nLevelsLimit = 20;
};
sndMusic.play(0, 0xFFFF);
this.StoredData = SharedObject.getLocal("AztecMahjong");
if (this.StoredData.data.CountOpenedLevels == undefined){
this.StoredData.data.CountOpenedLevels = 1;
};
this.CountOpenedLevels = this.StoredData.data.CountOpenedLevels;
}
public function GameOverNoSame(){
root.mcNoSameWin.gotoAndPlay("Show");
this.mcControls.Reset();
}
public function addScores(_arg1:Number){
this.nScores = (this.nScores + _arg1);
this.mcControls.SetScores();
}
public function gotoLevel(){
this.mcField.Create();
this.mcControls.Start();
}
public function ShowNext(){
this.sndLevelEnd.play();
this.nLevelNum++;
if (this.nLevelNum < this.nLevelsLimit){
this.nLevelSkill = Math.floor((this.nLevelNum / 5));
this.nLevelType = (this.nLevelNum - (this.nLevelSkill * 5));
this.mcLevelNum.gotoAndPlay("Show");
this.mcControls.Stop();
if (this.nLevelNum > (this.CountOpenedLevels - 1)){
this.CountOpenedLevels++;
this.StoredData.data.CountOpenedLevels = this.CountOpenedLevels;
};
} else {
if (!this.isTrial){
this.mcFinalImage.gotoAndPlay("Show");
} else {
this.mcTrialFinalImage.gotoAndPlay("Show");
};
};
}
public function GameOver(){
this.mcGameOverWin.Show();
}
public function RemoveGamePause(){
this.isPause = false;
this.mcPauseWin.gotoAndPlay("Hide");
}
public function GamePause(){
this.isPause = true;
this.mcPauseWin.gotoAndPlay("Show");
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame4(){
stop();
}
}
}//package Main
Section 38
//GameControls (Main.GameControls)
package Main {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
public dynamic class GameControls extends MovieClip {
public var btnPause:MovieClip;
public var mcMoreGames:MovieClip;
public var txtScores:TextField;
public var mcQuitBtn:MovieClip;
public var txtSecs:TextField;
public var txtMins:TextField;
public var btnShuffle:MovieClip;
var TimerID:Number;
var nTime:Number;
public function GameControls(){
this.nTime = (root.ar_Times[root.nLevelSkill] * 60);
this.TimerID = setInterval(fnTick, 1000);
this.UpdateTimerTexts();
this.mcQuitBtn.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.mcQuitBtn.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.mcQuitBtn.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnQuitDown);
this.mcMoreGames.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.mcMoreGames.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.mcMoreGames.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnMoreGamesDown);
this.btnPause.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnPause.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnPause.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnPauseDown);
this.btnShuffle.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnShuffle.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnShuffle.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnShuffleDown);
}
private function fnPauseDown(_arg1:MouseEvent){
root.sndBtnPress.play();
root.GamePause();
}
private function fnShuffleDown(_arg1:MouseEvent){
root.sndBtnPress.play();
root.mcField.ReCreate();
}
private function fnMoreGamesDown(_arg1:MouseEvent){
root.sndBtnPress.play();
navigateToURL(new URLRequest(root.strMoreGamePath), "_blank");
}
private function fnQuitDown(_arg1:MouseEvent){
root.sndBtnPress.play();
this.Reset();
root.GameOver();
}
private function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
private function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
private function fnTick(){
if (!root.isPause){
this.nTime--;
this.UpdateTimerTexts();
};
}
private function UpdateTimerTexts(){
var _local1:String;
var _local2:String;
var _local3:Number;
var _local4:Number;
if (this.nTime >= 0){
_local1 = "00";
_local2 = "00";
_local3 = Math.floor((nTime / 60));
_local4 = (nTime - (_local3 * 60));
if (_local3 < 10){
_local1 = ("0" + _local3.toString());
} else {
_local1 = _local3.toString();
};
if (_local4 < 10){
_local2 = ("0" + _local4.toString());
} else {
_local2 = _local4.toString();
};
this.txtSecs.text = _local2;
this.txtMins.text = _local1;
} else {
this.Reset();
root.GameOver();
};
}
public function SetScores(){
this.txtScores.text = root.nScores.toString();
}
public function Reset(){
clearInterval(this.TimerID);
this.mcQuitBtn.btn.removeEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.mcQuitBtn.btn.removeEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.mcQuitBtn.btn.removeEventListener(MouseEvent.MOUSE_DOWN, fnQuitDown);
this.mcMoreGames.btn.removeEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.mcMoreGames.btn.removeEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.mcMoreGames.btn.removeEventListener(MouseEvent.MOUSE_DOWN, fnMoreGamesDown);
}
public function Stop(){
clearInterval(this.TimerID);
root.addScores(Math.floor((nTime / 5)));
}
public function Start(){
this.nTime = (root.ar_Times[root.nLevelSkill] * 60);
this.TimerID = setInterval(fnTick, 1000);
}
}
}//package Main
Section 39
//GameOverWin (Main.GameOverWin)
package Main {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
public dynamic class GameOverWin extends MovieClip {
public var btnMoreGames:MovieClip;
public var txtName:TextField;
public var btnSubmit:MovieClip;
public var btnMainMenu:MovieClip;
public var txtScores:TextField;
public function GameOverWin(){
addFrameScript(0, frame1, 29, frame30, 36, frame37);
}
public function Show(){
this.gotoAndPlay("Show");
}
public function Hide(){
this.gotoAndPlay("Hide");
}
public function Init(){
this.btnSubmit.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnMainMenu.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnSubmit.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnMainMenu.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnMoreGamesDown);
this.btnMainMenu.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnMainMenuDown);
this.btnSubmit.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnSubmitDown);
this.txtScores.text = root.nScores.toString();
}
private function fnMoreGamesDown(_arg1:MouseEvent){
root.sndBtnPress.play();
navigateToURL(new URLRequest(root.strMoreGamePath), "_blank");
}
private function fnSubmitDown(_arg1:MouseEvent){
root.sndBtnPress.play();
navigateToURL(new URLRequest(((((((root.strScoresPath + "&scrore=") + this.txtScores.text) + "&name=") + this.txtName.text) + "&key=") + String((((root.nScores * root.nScores) + (5 * root.nScores)) + 34)))), "_blank");
this.Hide();
}
private function fnMainMenuDown(_arg1:MouseEvent){
root.sndBtnPress.play();
this.Hide();
}
private function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
private function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
function frame1(){
stop();
}
function frame30(){
this.Init();
stop();
}
function frame37(){
root.nScores = 0;
root.gotoAndStop("Main");
}
}
}//package Main
Section 40
//LevelPreviewItem (Main.LevelPreviewItem)
package Main {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
public dynamic class LevelPreviewItem extends MovieClip {
public var mcLock:MovieClip;
public var Icons:MovieClip;
public var bg:MovieClip;
public var btn:SimpleButton;
public var nLevelType:Number;// = 0
public var nLevelSkill:Number;// = 0
public var Num:Number;// = 0
public var isLocked:Boolean;// = false
public var isLimited:Boolean;// = false
public function LevelPreviewItem(){
addFrameScript(0, frame1, 7, frame8, 13, frame14);
}
public function Update(){
this.Icons.gotoAndStop((this.Num + 1));
if (isLocked){
this.bg.transform.colorTransform = new ColorTransform(0.7, 0.7, 0.7, 1, 0, 0, 0, 0);
this.Icons.transform.colorTransform = new ColorTransform(0.7, 0.7, 0.7, 1, 0, 0, 0, 0);
if (!this.isLimited){
this.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDownLocked);
} else {
this.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDownLimited);
};
} else {
this.mcLock.visible = false;
this.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnDown);
};
this.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
}
private function fnDownLimited(_arg1:MouseEvent){
root.sndBtnPress.play();
if (root.CountOpenedLevels < root.nLevelsLimit){
root.mcNoFreeLevelWin.gotoAndPlay("Show");
} else {
root.mcLimitedLevelWin.gotoAndPlay("Show");
};
}
private function fnDownLocked(_arg1:MouseEvent){
root.sndBtnPress.play();
root.mcNoFreeLevelWin.gotoAndPlay("Show");
}
private function fnDown(_arg1:MouseEvent){
root.sndBtnPress.play();
root.nLevelType = this.nLevelType;
root.nLevelSkill = this.nLevelSkill;
root.nLevelNum = this.Num;
root.gotoAndStop("Game");
}
private function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
private function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
function frame1(){
stop();
}
function frame8(){
if (this.rol){
stop();
};
}
function frame14(){
if (this.rol){
gotoAndPlay("Over");
};
}
}
}//package Main
Section 41
//LevelSelector (Main.LevelSelector)
package Main {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.utils.*;
public dynamic class LevelSelector extends MovieClip {
public var btnMoreGames:MovieClip;
public var btnMenu:MovieClip;
public var ar_Items:Array;
public function LevelSelector(){
this.CreateItems();
this.InitBtns();
}
private function CreateItems(){
var _local2:Number;
var _local3:Number;
this.ar_Items = new Array();
var _local1:Number = 0;
while (_local1 < 20) {
_local2 = Math.floor((_local1 / 5));
_local3 = (_local1 - (_local2 * 5));
this.ar_Items.push(new LevelPreviewItem());
this.addChild(this.ar_Items[_local1]);
this.ar_Items[_local1].x = (128 * _local3);
this.ar_Items[_local1].y = (109 * _local2);
this.ar_Items[_local1].nLevelType = _local3;
this.ar_Items[_local1].nLevelSkill = _local2;
if (_local1 >= root.CountOpenedLevels){
this.ar_Items[_local1].isLocked = true;
};
if (_local1 >= root.nLevelsLimit){
this.ar_Items[_local1].isLocked = true;
this.ar_Items[_local1].isLimited = true;
};
this.ar_Items[_local1].Num = _local1;
this.ar_Items[_local1].Update();
_local1++;
};
}
private function InitBtns(){
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnMenu.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnMenu.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnMenu.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnMenuDown);
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnMoreGamesDown);
}
private function fnMenuDown(_arg1:MouseEvent){
root.sndBtnPress.play();
root.gotoAndStop("Main");
}
private function fnMoreGamesDown(_arg1:MouseEvent){
root.sndBtnPress.play();
navigateToURL(new URLRequest(root.strMoreGamePath), "_blank");
}
private function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
private function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
}
}//package Main
Section 42
//MainMenu (Main.MainMenu)
package Main {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.utils.*;
public dynamic class MainMenu extends MovieClip {
public var btnInstructions:MovieClip;
public var btnMoreGames:MovieClip;
public var btnStart:MovieClip;
public var btnCredits:MovieClip;
public function MainMenu(){
addFrameScript(22, frame23);
}
public function Init(){
this.btnStart.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnInstructions.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnCredits.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnStart.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnInstructions.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnCredits.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnStart.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnStartDown);
this.btnMoreGames.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnMoreGamesDown);
this.btnCredits.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnCreditsDown);
this.btnInstructions.btn.addEventListener(MouseEvent.MOUSE_DOWN, fnInstrDown);
}
private function Reset(){
this.btnStart.btn.removeEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnInstructions.btn.removeEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnCredits.btn.removeEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnMoreGames.btn.removeEventListener(MouseEvent.MOUSE_OVER, fnOver);
this.btnStart.btn.removeEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnInstructions.btn.removeEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnCredits.btn.removeEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnMoreGames.btn.removeEventListener(MouseEvent.MOUSE_OUT, fnOut);
this.btnStart.btn.removeEventListener(MouseEvent.MOUSE_DOWN, fnStartDown);
this.btnMoreGames.btn.removeEventListener(MouseEvent.MOUSE_DOWN, fnMoreGamesDown);
this.btnInstructions.btn.removeEventListener(MouseEvent.MOUSE_DOWN, fnInstrDown);
this.btnCredits.btn.removeEventListener(MouseEvent.MOUSE_DOWN, fnCreditsDown);
}
private function fnInstrDown(_arg1:MouseEvent){
root.sndBtnPress.play();
root.mcInstructionsWin.gotoAndPlay("Show");
}
private function fnCreditsDown(_arg1:MouseEvent){
root.sndBtnPress.play();
root.mcCreditsWin.gotoAndPlay("Show");
}
private function fnStartDown(_arg1:MouseEvent){
root.sndBtnPress.play();
this.Reset();
root.gotoAndStop("Levels");
}
private function fnMoreGamesDown(_arg1:MouseEvent){
root.sndBtnPress.play();
navigateToURL(new URLRequest(root.strMoreGamePath), "_blank");
}
private function fnOver(_arg1:MouseEvent){
_arg1.target.parent.rol = true;
_arg1.target.parent.play();
}
private function fnOut(_arg1:MouseEvent){
_arg1.target.parent.rol = false;
_arg1.target.parent.play();
}
function frame23(){
this.Init();
stop();
}
}
}//package Main
Section 43
//MapTypes (Main.MapTypes)
package Main {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public dynamic class MapTypes {
public var xmlType1:XML;
public var xmlType2:XML;
public var xmlType3:XML;
public var xmlType4:XML;
public var xmlType5:XML;
public var ar_Maps:Array;
public function MapTypes(){
var _local2:Number;
var _local3:Number;
xmlType1 = <MAP>
<LEVEL>
<LINE>0 0 0 0 0 1 1 1 0 0 0 0 0</LINE>
<LINE>0 0 0 0 1 1 1 1 1 0 0 0 0</LINE>
<LINE>1 1 1 1 1 1 1 1 1 1 1 1 1</LINE>
<LINE>1 1 1 1 1 1 1 1 1 1 1 1 1</LINE>
<LINE>1 1 1 1 1 1 1 1 1 1 1 1 1</LINE>
<LINE>1 1 1 1 1 1 1 1 1 1 1 1 1</LINE>
<LINE>0 0 0 0 1 1 1 1 1 0 0 0 0</LINE>
<LINE>0 0 0 0 0 1 1 1 0 0 0 0 0</LINE>
</LEVEL>
<LEVEL>
<LINE>0 0 0 0 0 1 1 1 0 0 0 0 0</LINE>
<LINE>0 0 0 0 1 1 1 1 1 0 0 0 0</LINE>
<LINE>0 0 1 1 1 1 0 1 1 1 1 0 0</LINE>
<LINE>0 1 1 1 1 0 0 0 1 1 1 1 0</LINE>
<LINE>0 1 1 1 1 0 0 0 1 1 1 1 0</LINE>
<LINE>0 0 1 1 1 1 0 1 1 1 1 0 0</LINE>
<LINE>0 0 0 0 1 1 1 1 1 0 0 0 0</LINE>
<LINE>0 0 0 0 0 1 1 1 0 0 0 0 0</LINE>
</LEVEL>
<LEVEL>
<LINE>0 0 0 0 0 0 0 0 0 0 0 0 0</LINE>
<LINE>0 0 0 0 0 1 1 1 0 0 0 0 0</LINE>
<LINE>0 0 0 1 1 1 0 1 1 1 0 0 0</LINE>
<LINE>0 0 1 1 1 0 0 0 1 1 1 0 0</LINE>
<LINE>0 0 1 1 1 0 0 0 1 1 1 0 0</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0 0 0 0 0 1 0 0 0 0 0 0</LINE>
<LINE>0 0 0 0 0 1 1 1 0 0 0 0 0</LINE>
<LINE>0 0 0 1 1 1 1 1 1 1 0 0 0</LINE>
<LINE>0 0 0 1 1 1 1 1 1 1 0 0 0</LINE>
<LINE>0 0 0 0 0 1 1 1 0 0 0 0 0</LINE>
<LINE>0 0 0 0 0 0 1 0 0 0 0 0 0</LINE>
<LINE>0 0 0 0 0 0 0 0 0 0 0 0 0</LINE>
</LEVEL>
</MAP>
;
super();
this.ar_Maps = new Array();
var _local1:Number = 0;
while (_local1 < 5) {
ar_Maps.push(new Array());
_local2 = 0;
while (_local2 < this[("xmlType" + (_local1 + 1))].LEVEL.length()) {
ar_Maps[_local1].push(new Array());
_local3 = 0;
while (_local3 < this[("xmlType" + (_local1 + 1))].LEVEL[_local2].LINE.length()) {
ar_Maps[_local1][_local2].push(this[("xmlType" + (_local1 + 1))].LEVEL[_local2].LINE[_local3].toString().split(" "));
_local3++;
};
_local2++;
};
_local1++;
};
}
}
}//package Main
Section 44
//Preloader (Main.Preloader)
package Main {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
public dynamic class Preloader extends MovieClip {
public var txtP:TextField;
public var n_percent:Number;// = 0
public function Preloader(){
addEventListener(Event.ENTER_FRAME, Update);
}
public function Update(_arg1:Event):void{
var _local2:Number = stage.loaderInfo.bytesLoaded;
var _local3:Number = stage.loaderInfo.bytesTotal;
var _local4 = "";
var _local5:Number = 0;
if (_local3 > 0){
_local5 = Math.floor(((_local2 / _local3) * 100));
} else {
_local5 = 0;
};
if (this.n_percent < _local5){
this.n_percent = (this.n_percent + ((_local5 - this.n_percent) * 0.3));
};
this.txtP.text = (Math.floor((n_percent + 1)).toString() + " %");
if ((((n_percent >= 99)) && ((_local5 == 100)))){
removeEventListener(Event.ENTER_FRAME, Update);
root.play();
};
}
}
}//package Main
Section 45
//Blending (Blending)
package {
import flash.media.*;
public dynamic class Blending extends Sound {
}
}//package
Section 46
//BtnPress (BtnPress)
package {
import flash.media.*;
public dynamic class BtnPress extends Sound {
}
}//package
Section 47
//LevelEnd (LevelEnd)
package {
import flash.media.*;
public dynamic class LevelEnd extends Sound {
}
}//package
Section 48
//MenuMusic (MenuMusic)
package {
import flash.media.*;
public dynamic class MenuMusic extends Sound {
}
}//package
Section 49
//ObjectPress (ObjectPress)
package {
import flash.media.*;
public dynamic class ObjectPress extends Sound {
}
}//package
Section 50
//sndRemovingItems (sndRemovingItems)
package {
import flash.media.*;
public dynamic class sndRemovingItems extends Sound {
}
}//package