Section 1
//amandaen_7 (Exploding_Atoms_fla.amandaen_7)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class amandaen_7 extends MovieClip {
public function amandaen_7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 2
//artClaire_25 (Exploding_Atoms_fla.artClaire_25)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class artClaire_25 extends MovieClip {
public var clothing:MovieClip;
public var expression:MovieClip;
public var tk:MovieClip;
public function artClaire_25(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 3
//atom_37 (Exploding_Atoms_fla.atom_37)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class atom_37 extends MovieClip {
public function atom_37(){
addFrameScript(9, frame10, 19, frame20, 29, frame30, 39, frame40, 49, frame50, 59, frame60, 69, frame70, 79, frame80, 89, frame90, 99, frame100, 109, frame110, 119, frame120, 129, frame130, 139, frame140, 149, frame150, 159, frame160, 169, frame170, 179, frame180, 189, frame190, 199, frame200, 209, frame210, 219, frame220, 229, frame230, 239, frame240, 249, frame250, 259, frame260, 269, frame270, 279, frame280, 289, frame290, 299, frame300, 309, frame310, 319, frame320, 329, frame330, 339, frame340, 349, frame350, 359, frame360, 369, frame370, 379, frame380, 389, frame390, 399, frame400, 409, frame410, 419, frame420);
}
function frame10(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
function frame40(){
stop();
}
function frame50(){
stop();
}
function frame60(){
stop();
}
function frame70(){
stop();
}
function frame80(){
stop();
}
function frame90(){
stop();
}
function frame100(){
stop();
}
function frame110(){
stop();
}
function frame120(){
stop();
}
function frame130(){
stop();
}
function frame140(){
stop();
}
function frame150(){
stop();
}
function frame160(){
stop();
}
function frame170(){
stop();
}
function frame180(){
stop();
}
function frame190(){
stop();
}
function frame200(){
stop();
}
function frame210(){
stop();
}
function frame220(){
stop();
}
function frame230(){
stop();
}
function frame240(){
stop();
}
function frame250(){
stop();
}
function frame260(){
stop();
}
function frame270(){
stop();
}
function frame280(){
stop();
}
function frame290(){
stop();
}
function frame300(){
stop();
}
function frame310(){
stop();
}
function frame320(){
stop();
}
function frame330(){
stop();
}
function frame340(){
stop();
}
function frame350(){
stop();
}
function frame360(){
stop();
}
function frame370(){
stop();
}
function frame380(){
stop();
}
function frame390(){
stop();
}
function frame400(){
stop();
}
function frame410(){
stop();
}
function frame420(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 4
//atom_explosion_39 (Exploding_Atoms_fla.atom_explosion_39)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class atom_explosion_39 extends MovieClip {
public function atom_explosion_39(){
addFrameScript(0, frame1, 14, frame15, 24, frame25, 34, frame35, 44, frame45, 54, frame55, 64, frame65, 74, frame75);
}
function frame1(){
stop();
}
function frame15(){
stop();
}
function frame25(){
stop();
}
function frame35(){
stop();
}
function frame45(){
stop();
}
function frame55(){
stop();
}
function frame65(){
stop();
}
function frame75(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 5
//atom_explosion_border_45 (Exploding_Atoms_fla.atom_explosion_border_45)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class atom_explosion_border_45 extends MovieClip {
public function atom_explosion_border_45(){
addFrameScript(0, frame1, 14, frame15, 24, frame25, 34, frame35, 44, frame45, 54, frame55, 64, frame65, 74, frame75);
}
function frame1(){
stop();
}
function frame15(){
stop();
}
function frame25(){
stop();
}
function frame35(){
stop();
}
function frame45(){
stop();
}
function frame55(){
stop();
}
function frame65(){
stop();
}
function frame75(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 6
//atom_explosion_corner_46 (Exploding_Atoms_fla.atom_explosion_corner_46)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class atom_explosion_corner_46 extends MovieClip {
public function atom_explosion_corner_46(){
addFrameScript(0, frame1, 14, frame15, 24, frame25, 34, frame35, 44, frame45, 54, frame55, 64, frame65, 74, frame75);
}
function frame1(){
stop();
}
function frame15(){
stop();
}
function frame25(){
stop();
}
function frame35(){
stop();
}
function frame45(){
stop();
}
function frame55(){
stop();
}
function frame65(){
stop();
}
function frame75(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 7
//btnSound_1 (Exploding_Atoms_fla.btnSound_1)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class btnSound_1 extends MovieClip {
public function btnSound_1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 8
//checkbox_52 (Exploding_Atoms_fla.checkbox_52)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class checkbox_52 extends MovieClip {
public function checkbox_52(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 9
//cloth1_19 (Exploding_Atoms_fla.cloth1_19)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class cloth1_19 extends MovieClip {
public function cloth1_19(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 10
//clothClaire_27 (Exploding_Atoms_fla.clothClaire_27)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class clothClaire_27 extends MovieClip {
public function clothClaire_27(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 11
//clothEmmi_11 (Exploding_Atoms_fla.clothEmmi_11)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class clothEmmi_11 extends MovieClip {
public function clothEmmi_11(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 12
//clothKel_23 (Exploding_Atoms_fla.clothKel_23)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class clothKel_23 extends MovieClip {
public function clothKel_23(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 13
//emmaclothes_15 (Exploding_Atoms_fla.emmaclothes_15)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class emmaclothes_15 extends MovieClip {
public function emmaclothes_15(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 14
//expression_18 (Exploding_Atoms_fla.expression_18)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class expression_18 extends MovieClip {
public function expression_18(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
gotoAndPlay(8);
}
}
}//package Exploding_Atoms_fla
Section 15
//expressionAmanda_6 (Exploding_Atoms_fla.expressionAmanda_6)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class expressionAmanda_6 extends MovieClip {
public function expressionAmanda_6(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
gotoAndPlay(8);
}
}
}//package Exploding_Atoms_fla
Section 16
//expressionClaire_26 (Exploding_Atoms_fla.expressionClaire_26)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class expressionClaire_26 extends MovieClip {
public function expressionClaire_26(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
gotoAndPlay(8);
}
}
}//package Exploding_Atoms_fla
Section 17
//expressionEmma_14 (Exploding_Atoms_fla.expressionEmma_14)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class expressionEmma_14 extends MovieClip {
public function expressionEmma_14(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
gotoAndPlay(8);
}
}
}//package Exploding_Atoms_fla
Section 18
//expressionEmmi_10 (Exploding_Atoms_fla.expressionEmmi_10)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class expressionEmmi_10 extends MovieClip {
public function expressionEmmi_10(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
gotoAndPlay(8);
}
}
}//package Exploding_Atoms_fla
Section 19
//expressionKelsey_22 (Exploding_Atoms_fla.expressionKelsey_22)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class expressionKelsey_22 extends MovieClip {
public function expressionKelsey_22(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
gotoAndPlay(8);
}
}
}//package Exploding_Atoms_fla
Section 20
//expressionPlayer_30 (Exploding_Atoms_fla.expressionPlayer_30)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class expressionPlayer_30 extends MovieClip {
public function expressionPlayer_30(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
gotoAndPlay(8);
}
}
}//package Exploding_Atoms_fla
Section 21
//fiddle_47 (Exploding_Atoms_fla.fiddle_47)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class fiddle_47 extends MovieClip {
public function fiddle_47(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 22
//gooey1_20 (Exploding_Atoms_fla.gooey1_20)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class gooey1_20 extends MovieClip {
public function gooey1_20(){
addFrameScript(2, frame3, 5, frame6, 8, frame9, 11, frame12, 14, frame15, 17, frame18, 20, frame21);
}
function frame3(){
gotoAndPlay(1);
}
function frame6(){
gotoAndPlay(4);
}
function frame9(){
gotoAndPlay(7);
}
function frame12(){
gotoAndPlay(10);
}
function frame15(){
gotoAndPlay(13);
}
function frame18(){
gotoAndPlay(16);
}
function frame21(){
gotoAndPlay(19);
}
}
}//package Exploding_Atoms_fla
Section 23
//MainTimeline (Exploding_Atoms_fla.MainTimeline)
package Exploding_Atoms_fla {
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.utils.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var labelAtoms3:TextField;
public var aExp39:MovieClip;
public var aExp8:MovieClip;
public var atom40:MovieClip;
public var atom7:MovieClip;
public var playerBack1:MovieClip;
public var btnContinue:MovieClip;
public var throwie:MovieClip;
public var aExp40:MovieClip;
public var aExp9:MovieClip;
public var atom50:MovieClip;
public var atom41:MovieClip;
public var atom8:MovieClip;
public var superWin1:MovieClip;
public var artPlayer4:MovieClip;
public var artEmmi:MovieClip;
public var aExp50:MovieClip;
public var aExp41:MovieClip;
public var atom60:MovieClip;
public var atom51:MovieClip;
public var atom42:MovieClip;
public var atom9:MovieClip;
public var superWin2:MovieClip;
public var playerBack3:MovieClip;
public var aExp60:MovieClip;
public var aExp51:MovieClip;
public var aExp42:MovieClip;
public var atom61:MovieClip;
public var atom52:MovieClip;
public var atom43:MovieClip;
public var bgCol:MovieClip;
public var superWin3:MovieClip;
public var artAmanda:MovieClip;
public var playerBack2:MovieClip;
public var aExp61:MovieClip;
public var aExp52:MovieClip;
public var aExp43:MovieClip;
public var atom62:MovieClip;
public var atom53:MovieClip;
public var atom44:MovieClip;
public var borderBgCol:MovieClip;
public var artPlayer1:MovieClip;
public var btnIntroStart:introStartButton;
public var aExp62:MovieClip;
public var aExp53:MovieClip;
public var aExp44:MovieClip;
public var atom63:MovieClip;
public var atom54:MovieClip;
public var atom45:MovieClip;
public var atom10:MovieClip;
public var playerBack4:MovieClip;
public var startScreen:MovieClip;
public var aExp63:MovieClip;
public var aExp54:MovieClip;
public var aExp45:MovieClip;
public var aExp10:MovieClip;
public var atom64:MovieClip;
public var atom55:MovieClip;
public var atom46:MovieClip;
public var atom20:MovieClip;
public var atom11:MovieClip;
public var artPlayer3:MovieClip;
public var btnSound2:MovieClip;
public var aExp64:MovieClip;
public var aExp55:MovieClip;
public var aExp46:MovieClip;
public var aExp20:MovieClip;
public var aExp11:MovieClip;
public var atom56:MovieClip;
public var atom47:MovieClip;
public var atom30:MovieClip;
public var atom21:MovieClip;
public var atom12:MovieClip;
public var frutsel4:MovieClip;
public var artPlayer2:MovieClip;
public var artKelsey:MovieClip;
public var loader_mc:movie_mc;
public var loaded_txt:TextField;
public var aExp56:MovieClip;
public var aExp47:MovieClip;
public var aExp30:MovieClip;
public var aExp21:MovieClip;
public var aExp12:MovieClip;
public var atom57:MovieClip;
public var atom48:MovieClip;
public var atom31:MovieClip;
public var atom22:MovieClip;
public var atom13:MovieClip;
public var artClaire:MovieClip;
public var aExp57:MovieClip;
public var aExp48:MovieClip;
public var aExp31:MovieClip;
public var aExp22:MovieClip;
public var aExp13:MovieClip;
public var atom58:MovieClip;
public var atom49:MovieClip;
public var atom32:MovieClip;
public var atom23:MovieClip;
public var atom14:MovieClip;
public var frutsel2:MovieClip;
public var labelAtoms4:TextField;
public var aExp58:MovieClip;
public var aExp49:MovieClip;
public var aExp32:MovieClip;
public var aExp23:MovieClip;
public var aExp1:MovieClip;
public var aExp14:MovieClip;
public var atom59:MovieClip;
public var atom33:MovieClip;
public var atom24:MovieClip;
public var atom15:MovieClip;
public var frutsel3:MovieClip;
public var artEmma:MovieClip;
public var aExp59:MovieClip;
public var aExp33:MovieClip;
public var aExp24:MovieClip;
public var aExp2:MovieClip;
public var aExp15:MovieClip;
public var labelCurrentTurn:TextField;
public var atom34:MovieClip;
public var atom25:MovieClip;
public var atom16:MovieClip;
public var atom1:MovieClip;
public var labelName1:TextField;
public var artJen:MovieClip;
public var aExp34:MovieClip;
public var aExp25:MovieClip;
public var aExp16:MovieClip;
public var aExp3:MovieClip;
public var labelName2:TextField;
public var atom35:MovieClip;
public var atom26:MovieClip;
public var atom17:MovieClip;
public var atom2:MovieClip;
public var frutsel1:MovieClip;
public var aExp35:MovieClip;
public var aExp26:MovieClip;
public var aExp17:MovieClip;
public var aExp4:MovieClip;
public var labelName3:TextField;
public var atom36:MovieClip;
public var atom27:MovieClip;
public var atom18:MovieClip;
public var atom3:MovieClip;
public var superWin4:MovieClip;
public var btnSound:MovieClip;
public var aExp36:MovieClip;
public var aExp27:MovieClip;
public var aExp18:MovieClip;
public var aExp5:MovieClip;
public var labelName4:TextField;
public var atom37:MovieClip;
public var atom28:MovieClip;
public var atom19:MovieClip;
public var atom4:MovieClip;
public var btnReturn:MovieClip;
public var aExp37:MovieClip;
public var aExp28:MovieClip;
public var aExp19:MovieClip;
public var aExp6:MovieClip;
public var labelAtoms1:TextField;
public var atom38:MovieClip;
public var atom29:MovieClip;
public var atom5:MovieClip;
public var fiddle:MovieClip;
public var labelAtoms2:TextField;
public var aExp38:MovieClip;
public var aExp29:MovieClip;
public var aExp7:MovieClip;
public var atom39:MovieClip;
public var atom6:MovieClip;
public var bSoundEnabled;
public var mus:musGood;
public var boom1:snd1;
public var boom2:snd2;
public var click1:clicks;
public var myChannel:SoundChannel;
public var transform1:SoundTransform;
public var bDecided;
public var tkEnabled;
public var i;
public var j;
public var k;
public var currentPlayer;
public var playerColorOffset:Array;
public var playerAItype:Array;
public var turnCooldown:uint;
public var bClickEnabled:Boolean;
public var bExplosionOngoing:Boolean;
public var pName:Array;
public var playerTagNr:Array;
public var playerAtomTotal:Array;
public var tmpTag:uint;
public var bRound1;
public var gameRound;
public var iPlayerWon;
public var bComputerIsThinking;
public var bPlayerHasSelected;
public var totalPlayersSelected;
public var explosionColor;
public var rememberLastPlayerNr;
public var atomMem1;
public var atomMem2;
public var atomMem3;
public var atomMem4;
public var portraitG1;
public var portraitG2;
public var portraitG3;
public var portraitG4;
public var bPlayerLock1;
public var bPlayerLock2;
public var bPlayerLock3;
public var bPlayerLock4;
public var tweenX:Tween;
public var tweenY:Tween;
public var tweenScaleX:Tween;
public var tweenScaleY:Tween;
public var tweenFader1:Tween;
public var tweenFader2:Tween;
public var tweenFader3:Tween;
public var tweenFader4:Tween;
public var totAtomsExploded;
public var atmChkX;
public var atmChkY;
public var totalChecked;
public var col1:Array;
public var col2:Array;
public var col3:Array;
public var col4:Array;
public var col5:Array;
public var col6:Array;
public var col7:Array;
public var col8:Array;
public var matrix:Array;
public var co1:Array;
public var co2:Array;
public var co3:Array;
public var co4:Array;
public var co5:Array;
public var co6:Array;
public var co7:Array;
public var co8:Array;
public var cellOwner:Array;
public var aic1:Array;
public var aic2:Array;
public var aic3:Array;
public var aic4:Array;
public var aic5:Array;
public var aic6:Array;
public var aic7:Array;
public var aic8:Array;
public var atomsInCell:Array;
public var maxAtomsInCell:Array;
public var atomSprite:Array;
public var explosionSprite:Array;
public var myInterval:uint;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function onProgress(_arg1:ProgressEvent):void{
var _local2:Number = _arg1.target.bytesLoaded;
var _local3:Number = _arg1.target.bytesTotal;
var _local4:Number = (_local2 / _local3);
loader_mc.scaleX = _local4;
loaded_txt.text = (("Loading... " + Math.round((_local4 * 100))) + "%");
}
public function onComplete(_arg1:Event):void{
loaded_txt.text = "Finished loading.";
btnIntroStart.alpha = 1;
btnIntroStart.addEventListener(MouseEvent.CLICK, startGame);
}
public function startGame(_arg1:MouseEvent):void{
btnSound2.removeEventListener(MouseEvent.CLICK, toggleSounds);
btnIntroStart.removeEventListener(MouseEvent.CLICK, startGame);
gotoAndStop(2);
}
public function toggleSounds(_arg1:MouseEvent):void{
if (bSoundEnabled == true){
bSoundEnabled = false;
btnSound2.gotoAndStop(2);
} else {
bSoundEnabled = true;
btnSound2.gotoAndStop(1);
};
}
public function computerPickCellAI():void{
var _local2:*;
var _local1:Array = ["d", "a", "b", "c", "d", "e", "f", "f", "e"];
if (bRound1 == true){
stratC();
if (bDecided == false){
stratZ();
};
} else {
if (playerAItype[(currentPlayer - 1)] == 1){
_local1 = ["f", "f", "f", "c", "c", "a", "b", "d", "e"];
} else {
if (playerAItype[(currentPlayer - 1)] == 2){
_local1 = ["a", "a", "a", "e", "e", "b", "c", "d", "f"];
} else {
if (playerAItype[(currentPlayer - 1)] == 3){
_local1 = ["d", "d", "d", "a", "a", "b", "c", "e", "f"];
} else {
if (playerAItype[(currentPlayer - 1)] == 4){
_local1 = ["e", "e", "e", "f", "f", "a", "b", "c", "d"];
} else {
if (playerAItype[(currentPlayer - 1)] == 5){
_local1 = ["b", "b", "b", "d", "d", "a", "c", "e", "f"];
} else {
if (playerAItype[(currentPlayer - 1)] == 6){
_local1 = ["c", "c", "c", "b", "b", "a", "d", "e", "f"];
};
};
};
};
};
};
_local2 = _local1[Math.floor((Math.random() * 9))];
bDecided = false;
stratZERO();
if (bDecided == false){
if (_local2 == "a"){
stratA();
} else {
if (_local2 == "b"){
stratB();
} else {
if (_local2 == "c"){
stratC();
} else {
if (_local2 == "d"){
stratD();
} else {
if (_local2 == "e"){
stratE();
} else {
if (_local2 == "f"){
stratF();
};
};
};
};
};
};
};
if (bDecided == false){
stratZ();
};
};
}
public function stratZERO():void{
var _local1:* = 0;
var _local2:* = 0;
bDecided = false;
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
if (matrix[i][j] == 1){
if (((((((isNorth(i, j, 9)) || (isSouth(i, j, 9)))) || (isWest(i, j, 9)))) || (isEast(i, j, 9)))){
if (fireAtomAt(i, j) == true){
bDecided = true;
};
};
};
j++;
};
i++;
};
}
public function stratA():void{
var _local1:* = 0;
var _local2:* = 0;
bDecided = false;
var _local3:* = 0;
while ((((bDecided == false)) && ((_local3 < 101)))) {
_local3++;
_local1 = Math.floor((Math.random() * 8));
_local2 = Math.floor((Math.random() * 8));
if ((((((((isNorth(_local1, _local2, 9) == false)) && ((isEast(_local1, _local2, 9) == false)))) && ((isSouth(_local1, _local2, 9) == false)))) && ((isWest(_local1, _local2, 9) == false)))){
if ((((((((isNorth(_local1, _local2, 8) == true)) || ((isEast(_local1, _local2, 8) == true)))) || ((isSouth(_local1, _local2, 8) == true)))) || ((isWest(_local1, _local2, 8) == true)))){
if (matrix[_local1][_local2] == 2){
if (fireAtomAt(_local1, _local2) == true){
bDecided = true;
};
};
};
};
};
}
public function stratB():void{
var _local1:* = 0;
var _local2:* = 0;
bDecided = false;
var _local3:* = 0;
while ((((bDecided == false)) && ((_local3 < 101)))) {
_local3++;
_local1 = Math.floor((Math.random() * 8));
_local2 = Math.floor((Math.random() * 8));
if ((((((((isNorth(_local1, _local2, 9) == false)) && ((isEast(_local1, _local2, 9) == false)))) && ((isSouth(_local1, _local2, 9) == false)))) && ((isWest(_local1, _local2, 9) == false)))){
if (matrix[_local1][_local2] == 2){
if (fireAtomAt(_local1, _local2) == true){
bDecided = true;
};
};
};
};
}
public function stratC():void{
var _local1:* = 0;
var _local2:* = 0;
bDecided = false;
var _local3:* = 0;
while ((((bDecided == false)) && ((_local3 < 101)))) {
_local3++;
_local1 = Math.floor((Math.random() * 8));
_local2 = Math.floor((Math.random() * 8));
if ((((((((((((((((isNorth(_local1, _local2, 8) == false)) && ((isNorth(_local1, _local2, 9) == false)))) && ((isEast(_local1, _local2, 8) == false)))) && ((isEast(_local1, _local2, 9) == false)))) && ((isSouth(_local1, _local2, 8) == false)))) && ((isSouth(_local1, _local2, 9) == false)))) && ((isWest(_local1, _local2, 8) == false)))) && ((isWest(_local1, _local2, 9) == false)))){
if (((((((((((((((is2North(_local1, _local2, 8)) || (is2North(_local1, _local2, 9)))) || (is2South(_local1, _local2, 8)))) || (is2South(_local1, _local2, 9)))) || (is2East(_local1, _local2, 8)))) || (is2East(_local1, _local2, 9)))) || (is2West(_local1, _local2, 8)))) || (is2West(_local1, _local2, 9)))){
if (fireAtomAt(_local1, _local2) == true){
bDecided = true;
};
};
};
};
}
public function stratD():void{
var _local1:* = 0;
var _local2:* = 0;
bDecided = false;
var _local3:* = 0;
while ((((bDecided == false)) && ((_local3 < 101)))) {
_local3++;
_local1 = Math.floor((Math.random() * 8));
_local2 = Math.floor((Math.random() * 8));
if ((((((((isNorth(_local1, _local2, 9) == false)) && ((isEast(_local1, _local2, 9) == false)))) && ((isSouth(_local1, _local2, 9) == false)))) && ((isWest(_local1, _local2, 9) == false)))){
if (matrix[_local1][_local2] == 0){
if (fireAtomAt(_local1, _local2) == true){
bDecided = true;
};
};
};
};
}
public function stratE():void{
var _local1:* = 0;
var _local2:* = 0;
bDecided = false;
var _local3:* = 0;
while ((((bDecided == false)) && ((_local3 < 101)))) {
_local3++;
_local1 = Math.floor((Math.random() * 8));
_local2 = Math.floor((Math.random() * 8));
if (matrix[_local1][_local2] == 1){
if (fireAtomAt(_local1, _local2) == true){
bDecided = true;
};
};
};
}
public function stratF():void{
var _local1:* = 0;
var _local2:* = 0;
bDecided = false;
var _local3:* = 0;
while ((((bDecided == false)) && ((_local3 < 101)))) {
_local3++;
_local1 = Math.floor((Math.random() * 8));
_local2 = Math.floor((Math.random() * 8));
if ((((((((isNorth(_local1, _local2, 9) == false)) && ((isEast(_local1, _local2, 9) == false)))) && ((isSouth(_local1, _local2, 9) == false)))) && ((isWest(_local1, _local2, 9) == false)))){
if ((((((((((((((((((((((isNorth(_local1, _local2, 8) == true)) || ((isSouth(_local1, _local2, 8) == true)))) || ((isEast(_local1, _local2, 8) == true)))) || ((isWest(_local1, _local2, 8) == true)))) || ((isNorth(_local1, _local2, 1) == true)))) || ((isSouth(_local1, _local2, 1) == true)))) || ((isWest(_local1, _local2, 1) == true)))) || ((isNorth(_local1, _local2, 2) == true)))) || ((isSouth(_local1, _local2, 2) == true)))) || ((isEast(_local1, _local2, 2) == true)))) || ((isWest(_local1, _local2, 2) == true)))){
if ((((matrix[_local1][_local2] == 0)) || ((matrix[_local1][_local2] == 2)))){
if (fireAtomAt(_local1, _local2) == true){
bDecided = true;
};
};
};
};
};
}
public function stratZ():void{
var _local1:* = 0;
var _local2:* = 0;
bDecided = false;
var _local3:* = 0;
while ((((bDecided == false)) && ((_local3 < 201)))) {
_local3++;
_local1 = Math.floor((Math.random() * 8));
_local2 = Math.floor((Math.random() * 8));
if (matrix[_local1][_local2] < 3){
if (fireAtomAt(_local1, _local2) == true){
bDecided = true;
};
};
};
bDecided = true;
turnCooldown = 2;
bExplosionOngoing = true;
}
public function isNorth(_arg1, _arg2, _arg3):Boolean{
if (_arg2 == 0){
return (false);
};
if (matrix[_arg1][(_arg2 - 1)] == _arg3){
return (true);
};
return (false);
}
public function isSouth(_arg1, _arg2, _arg3):Boolean{
if (_arg2 == 7){
return (false);
};
if (matrix[_arg1][(_arg2 + 1)] == _arg3){
return (true);
};
return (false);
}
public function isWest(_arg1, _arg2, _arg3):Boolean{
if (_arg1 == 0){
return (false);
};
if (matrix[(_arg1 - 1)][_arg2] == _arg3){
return (true);
};
return (false);
}
public function isEast(_arg1, _arg2, _arg3):Boolean{
if (_arg1 == 7){
return (false);
};
if (matrix[(_arg1 + 1)][_arg2] == _arg3){
return (true);
};
return (false);
}
public function is2North(_arg1, _arg2, _arg3):Boolean{
if (_arg2 < 2){
return (false);
};
if (matrix[_arg1][(_arg2 - 2)] == _arg3){
return (true);
};
return (false);
}
public function is2South(_arg1, _arg2, _arg3):Boolean{
if (_arg2 > 5){
return (false);
};
if (matrix[_arg1][(_arg2 + 2)] == _arg3){
return (true);
};
return (false);
}
public function is2West(_arg1, _arg2, _arg3):Boolean{
if (_arg1 < 2){
return (false);
};
if (matrix[(_arg1 - 2)][_arg2] == _arg3){
return (true);
};
return (false);
}
public function is2East(_arg1, _arg2, _arg3):Boolean{
if (_arg1 > 5){
return (false);
};
if (matrix[(_arg1 + 2)][_arg2] == _arg3){
return (true);
};
return (false);
}
public function fireAtomAt(_arg1, _arg2):Boolean{
if (matrix[_arg1][_arg2] < 3){
atmChkX = _arg1;
atmChkY = _arg2;
throwAtom();
return (true);
};
return (false);
}
public function returnToTitle():void{
startScreen.y = 5;
startScreen.alpha = 1;
bExplosionOngoing = false;
rememberLastPlayerNr = -1;
portraitG1.expression.gotoAndStop(1);
portraitG2.expression.gotoAndStop(1);
portraitG3.expression.gotoAndStop(1);
portraitG4.expression.gotoAndStop(1);
artPlayer1.alpha = 0;
artPlayer2.alpha = 0;
artPlayer3.alpha = 0;
artPlayer4.alpha = 0;
artJen.alpha = 0;
artClaire.alpha = 0;
artKelsey.alpha = 0;
artEmma.alpha = 0;
artEmmi.alpha = 0;
artAmanda.alpha = 0;
artPlayer1.tk.gotoAndStop(1);
artPlayer1.tk.alpha = 0;
artPlayer2.tk.gotoAndStop(1);
artPlayer2.tk.alpha = 0;
artPlayer3.tk.gotoAndStop(1);
artPlayer3.tk.alpha = 0;
artPlayer4.tk.gotoAndStop(1);
artPlayer4.tk.alpha = 0;
artJen.tk.gotoAndStop(1);
artJen.tk.alpha = 0;
artKelsey.tk.gotoAndStop(1);
artKelsey.tk.alpha = 0;
artClaire.tk.gotoAndStop(1);
artClaire.tk.alpha = 0;
artEmma.tk.gotoAndStop(1);
artEmma.tk.alpha = 0;
artEmmi.tk.gotoAndStop(1);
artEmmi.tk.alpha = 0;
artAmanda.tk.gotoAndStop(1);
artAmanda.tk.alpha = 0;
artJen.clothing.gotoAndStop(1);
artClaire.clothing.gotoAndStop(1);
artKelsey.clothing.gotoAndStop(1);
artEmma.clothing.gotoAndStop(1);
artEmmi.clothing.gotoAndStop(1);
artAmanda.clothing.gotoAndStop(1);
currentPlayer = 1;
playerColorOffset = [6, 6, 6, 6];
playerAItype = [9, 9, 9, 9];
startScreen.jennifer.gotoAndStop(1);
startScreen.kelsey.gotoAndStop(1);
startScreen.claire.gotoAndStop(1);
startScreen.emma.gotoAndStop(1);
startScreen.emmi.gotoAndStop(1);
startScreen.amanda.gotoAndStop(1);
startScreen.p1.gotoAndStop(1);
startScreen.p2.gotoAndStop(1);
startScreen.p3.gotoAndStop(1);
startScreen.p4.gotoAndStop(1);
startScreen.p5.gotoAndStop(1);
startScreen.p6.gotoAndStop(1);
startScreen.p7.gotoAndStop(1);
turnCooldown = 0;
bClickEnabled = false;
pName = ["", "", "", ""];
playerTagNr = [9, 9, 9, 9];
playerAtomTotal = [0, 0, 0, 0];
tmpTag = 0;
bRound1 = true;
gameRound = 1;
iPlayerWon = 0;
bComputerIsThinking = false;
bPlayerHasSelected = false;
totalPlayersSelected = 0;
explosionColor = 0;
atomMem1 = 0;
atomMem2 = 0;
atomMem3 = 0;
atomMem4 = 0;
superWin1.alpha = 0;
superWin2.alpha = 0;
superWin3.alpha = 0;
superWin4.alpha = 0;
portraitG1 = artPlayer1;
portraitG2 = artPlayer2;
portraitG3 = artPlayer3;
portraitG4 = artPlayer4;
bPlayerLock1 = false;
bPlayerLock2 = false;
bPlayerLock3 = false;
bPlayerLock4 = false;
totAtomsExploded = 0;
atmChkX = 0;
atmChkY = 0;
totalChecked = 0;
col1 = [0, 0, 0, 0, 0, 0, 0, 0];
col2 = [0, 0, 0, 0, 0, 0, 0, 0];
col3 = [0, 0, 0, 0, 0, 0, 0, 0];
col4 = [0, 0, 0, 0, 0, 0, 0, 0];
col5 = [0, 0, 0, 0, 0, 0, 0, 0];
col6 = [0, 0, 0, 0, 0, 0, 0, 0];
col7 = [0, 0, 0, 0, 0, 0, 0, 0];
col8 = [0, 0, 0, 0, 0, 0, 0, 0];
matrix = [col1, col2, col3, col4, col5, col6, col7, col8];
co1 = [0, 0, 0, 0, 0, 0, 0, 0];
co2 = [0, 0, 0, 0, 0, 0, 0, 0];
co3 = [0, 0, 0, 0, 0, 0, 0, 0];
co4 = [0, 0, 0, 0, 0, 0, 0, 0];
co5 = [0, 0, 0, 0, 0, 0, 0, 0];
co6 = [0, 0, 0, 0, 0, 0, 0, 0];
co7 = [0, 0, 0, 0, 0, 0, 0, 0];
co8 = [0, 0, 0, 0, 0, 0, 0, 0];
cellOwner = [co1, co2, co3, co4, co5, co6, co7, co8];
aic1 = [0, 0, 0, 0, 0, 0, 0, 0];
aic2 = [0, 0, 0, 0, 0, 0, 0, 0];
aic3 = [0, 0, 0, 0, 0, 0, 0, 0];
aic4 = [0, 0, 0, 0, 0, 0, 0, 0];
aic5 = [0, 0, 0, 0, 0, 0, 0, 0];
aic6 = [0, 0, 0, 0, 0, 0, 0, 0];
aic7 = [0, 0, 0, 0, 0, 0, 0, 0];
aic8 = [0, 0, 0, 0, 0, 0, 0, 0];
atomsInCell = [aic1, aic2, aic3, aic4, aic5, aic6, aic7, aic8];
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
atomSprite[i][j].gotoAndStop(1);
j++;
};
i++;
};
labelAtoms1.text = "";
labelAtoms2.text = "";
labelAtoms3.text = "";
labelAtoms4.text = "";
labelName1.text = "";
labelName2.text = "";
labelName3.text = "";
labelName4.text = "";
frutsel1.gotoAndStop(7);
frutsel2.gotoAndStop(7);
frutsel3.gotoAndStop(7);
frutsel4.gotoAndStop(7);
btnReturn.alpha = 0.1;
btnContinue.alpha = 0.1;
setMatrixForPlayer(currentPlayer);
if (bSoundEnabled == true){
myChannel = mus.play();
transform1.volume = 0.5;
myChannel.soundTransform = transform1;
} else {
myChannel = mus.play();
transform1.volume = 0;
myChannel.soundTransform = transform1;
};
}
public function continueGame():void{
btnContinue.alpha = 0;
startScreen.y = -1000;
startScreen.alpha = 1;
bExplosionOngoing = false;
rememberLastPlayerNr = -1;
artPlayer1.tk.gotoAndStop(1);
artPlayer1.tk.alpha = 0;
artPlayer2.tk.gotoAndStop(1);
artPlayer2.tk.alpha = 0;
artPlayer3.tk.gotoAndStop(1);
artPlayer3.tk.alpha = 0;
artPlayer4.tk.gotoAndStop(1);
artPlayer4.tk.alpha = 0;
artJen.tk.gotoAndStop(1);
artJen.tk.alpha = 0;
artKelsey.tk.gotoAndStop(1);
artKelsey.tk.alpha = 0;
artClaire.tk.gotoAndStop(1);
artClaire.tk.alpha = 0;
artEmma.tk.gotoAndStop(1);
artEmma.tk.alpha = 0;
artEmmi.tk.gotoAndStop(1);
artEmmi.tk.alpha = 0;
artAmanda.tk.gotoAndStop(1);
artAmanda.tk.alpha = 0;
portraitG1.expression.gotoAndStop(1);
portraitG2.expression.gotoAndStop(1);
portraitG3.expression.gotoAndStop(1);
portraitG4.expression.gotoAndStop(1);
currentPlayer = 1;
turnCooldown = 0;
bClickEnabled = false;
playerAtomTotal = [0, 0, 0, 0];
tmpTag = 0;
bRound1 = true;
iPlayerWon = 0;
bComputerIsThinking = false;
bPlayerHasSelected = false;
explosionColor = 0;
atomMem1 = 0;
atomMem2 = 0;
atomMem3 = 0;
atomMem4 = 0;
bPlayerLock1 = false;
bPlayerLock2 = false;
bPlayerLock3 = false;
bPlayerLock4 = false;
totAtomsExploded = 0;
atmChkX = 0;
atmChkY = 0;
totalChecked = 0;
col1 = [0, 0, 0, 0, 0, 0, 0, 0];
col2 = [0, 0, 0, 0, 0, 0, 0, 0];
col3 = [0, 0, 0, 0, 0, 0, 0, 0];
col4 = [0, 0, 0, 0, 0, 0, 0, 0];
col5 = [0, 0, 0, 0, 0, 0, 0, 0];
col6 = [0, 0, 0, 0, 0, 0, 0, 0];
col7 = [0, 0, 0, 0, 0, 0, 0, 0];
col8 = [0, 0, 0, 0, 0, 0, 0, 0];
matrix = [col1, col2, col3, col4, col5, col6, col7, col8];
co1 = [0, 0, 0, 0, 0, 0, 0, 0];
co2 = [0, 0, 0, 0, 0, 0, 0, 0];
co3 = [0, 0, 0, 0, 0, 0, 0, 0];
co4 = [0, 0, 0, 0, 0, 0, 0, 0];
co5 = [0, 0, 0, 0, 0, 0, 0, 0];
co6 = [0, 0, 0, 0, 0, 0, 0, 0];
co7 = [0, 0, 0, 0, 0, 0, 0, 0];
co8 = [0, 0, 0, 0, 0, 0, 0, 0];
cellOwner = [co1, co2, co3, co4, co5, co6, co7, co8];
aic1 = [0, 0, 0, 0, 0, 0, 0, 0];
aic2 = [0, 0, 0, 0, 0, 0, 0, 0];
aic3 = [0, 0, 0, 0, 0, 0, 0, 0];
aic4 = [0, 0, 0, 0, 0, 0, 0, 0];
aic5 = [0, 0, 0, 0, 0, 0, 0, 0];
aic6 = [0, 0, 0, 0, 0, 0, 0, 0];
aic7 = [0, 0, 0, 0, 0, 0, 0, 0];
aic8 = [0, 0, 0, 0, 0, 0, 0, 0];
atomsInCell = [aic1, aic2, aic3, aic4, aic5, aic6, aic7, aic8];
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
atomSprite[i][j].gotoAndStop(1);
j++;
};
i++;
};
labelAtoms1.text = "";
labelAtoms2.text = "";
labelAtoms3.text = "";
labelAtoms4.text = "";
btnReturn.alpha = 0.1;
setMatrixForPlayer(currentPlayer);
startScreen.alpha = 0;
}
public function traceMatrix():void{
var _local2:int;
var _local1:int;
while (_local1 < 8) {
_local2 = 0;
while (_local2 < 8) {
trace(_local1, _local2, matrix[_local1][_local2]);
_local2++;
};
_local1++;
};
}
public function calculatePlayerAtomTotals():void{
k = 0;
while (k < 4) {
playerAtomTotal[k] = 0;
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
if (cellOwner[i][j] == (k + 1)){
playerAtomTotal[k] = (playerAtomTotal[k] + atomsInCell[i][j]);
};
j++;
};
i++;
};
k++;
};
labelAtoms1.text = playerAtomTotal[0];
labelAtoms2.text = playerAtomTotal[1];
labelAtoms3.text = playerAtomTotal[2];
labelAtoms4.text = playerAtomTotal[3];
if (bPlayerLock1 == false){
if ((((playerAtomTotal[0] == 0)) && ((atomMem1 > 0)))){
bPlayerLock1 = true;
portraitG1.clothing.gotoAndStop((portraitG1.clothing.currentFrame + 1));
if (tkEnabled == false){
if (portraitG1.clothing.currentFrame == 2){
portraitG1.expression.gotoAndStop(2);
} else {
portraitG1.expression.gotoAndStop(3);
};
} else {
portraitG1.expression.gotoAndPlay(8);
portraitG1.tk.gotoAndPlay(((explosionColor + 1) * 3));
portraitG1.tk.alpha = 0.75;
};
} else {
if (playerAtomTotal[0] < (atomMem1 / 2)){
playerBackFade(1, playerBack1, 1);
portraitG1.expression.gotoAndStop(4);
} else {
if (playerAtomTotal[0] < (atomMem1 - 8)){
playerBackFade(1, playerBack1, 2);
portraitG1.expression.gotoAndStop(5);
} else {
if ((((playerAtomTotal[0] > (atomMem1 + 20))) && (!((playerAtomTotal[0] == 1))))){
playerBackFade(1, playerBack1, 4);
portraitG1.expression.gotoAndStop(7);
} else {
if (playerAtomTotal[0] > (atomMem1 + 8)){
playerBackFade(1, playerBack1, 3);
portraitG1.expression.gotoAndStop(6);
};
};
};
};
};
};
if (bPlayerLock2 == false){
if ((((playerAtomTotal[1] == 0)) && ((atomMem2 > 0)))){
bPlayerLock2 = true;
portraitG2.clothing.gotoAndStop((portraitG2.clothing.currentFrame + 1));
if (tkEnabled == false){
if (portraitG2.clothing.currentFrame == 2){
portraitG2.expression.gotoAndStop(2);
} else {
portraitG2.expression.gotoAndStop(3);
};
} else {
portraitG2.expression.gotoAndPlay(8);
portraitG2.tk.gotoAndPlay(((explosionColor + 1) * 3));
portraitG2.tk.alpha = 0.75;
};
} else {
if (playerAtomTotal[1] < (atomMem2 / 2)){
playerBackFade(2, playerBack2, 1);
portraitG2.expression.gotoAndStop(4);
} else {
if (playerAtomTotal[1] < (atomMem2 - 8)){
playerBackFade(2, playerBack2, 2);
portraitG2.expression.gotoAndStop(5);
} else {
if ((((playerAtomTotal[1] > (atomMem2 + 20))) && (!((playerAtomTotal[1] == 1))))){
playerBackFade(2, playerBack2, 4);
portraitG2.expression.gotoAndStop(7);
} else {
if (playerAtomTotal[1] > (atomMem2 + 8)){
playerBackFade(2, playerBack2, 3);
portraitG2.expression.gotoAndStop(6);
};
};
};
};
};
};
if (bPlayerLock3 == false){
if ((((playerAtomTotal[2] == 0)) && ((atomMem3 > 0)))){
bPlayerLock3 = true;
portraitG3.clothing.gotoAndStop((portraitG3.clothing.currentFrame + 1));
if (tkEnabled == false){
if (portraitG3.clothing.currentFrame == 2){
portraitG3.expression.gotoAndStop(2);
} else {
portraitG3.expression.gotoAndStop(3);
};
} else {
portraitG3.expression.gotoAndPlay(8);
portraitG3.tk.gotoAndPlay(((explosionColor + 1) * 3));
portraitG3.tk.alpha = 0.75;
};
} else {
if (playerAtomTotal[2] < (atomMem3 / 2)){
playerBackFade(3, playerBack3, 1);
portraitG3.expression.gotoAndStop(4);
} else {
if (playerAtomTotal[2] < (atomMem3 - 8)){
playerBackFade(3, playerBack3, 2);
portraitG3.expression.gotoAndStop(5);
} else {
if ((((playerAtomTotal[2] > (atomMem3 + 20))) && (!((playerAtomTotal[2] == 1))))){
playerBackFade(3, playerBack3, 4);
portraitG3.expression.gotoAndStop(7);
} else {
if (playerAtomTotal[2] > (atomMem3 + 8)){
playerBackFade(3, playerBack3, 3);
portraitG3.expression.gotoAndStop(6);
};
};
};
};
};
};
if (bPlayerLock4 == false){
if ((((playerAtomTotal[3] == 0)) && ((atomMem4 > 0)))){
bPlayerLock4 = true;
portraitG4.clothing.gotoAndStop((portraitG4.clothing.currentFrame + 1));
if (tkEnabled == false){
if (portraitG4.clothing.currentFrame == 2){
portraitG4.expression.gotoAndStop(2);
} else {
portraitG4.expression.gotoAndStop(3);
};
} else {
portraitG4.expression.gotoAndPlay(8);
portraitG4.tk.gotoAndPlay(((explosionColor + 1) * 3));
portraitG4.tk.alpha = 0.75;
};
} else {
if (playerAtomTotal[3] < (atomMem4 / 2)){
playerBackFade(4, playerBack4, 1);
portraitG4.expression.gotoAndStop(4);
} else {
if (playerAtomTotal[3] < (atomMem4 - 8)){
playerBackFade(4, playerBack4, 2);
portraitG4.expression.gotoAndStop(5);
} else {
if ((((playerAtomTotal[3] > (atomMem4 + 20))) && (!((playerAtomTotal[3] == 1))))){
playerBackFade(4, playerBack4, 4);
portraitG4.expression.gotoAndStop(7);
} else {
if (playerAtomTotal[3] > (atomMem4 + 8)){
playerBackFade(4, playerBack4, 3);
portraitG4.expression.gotoAndStop(6);
};
};
};
};
};
};
}
public function playerBackFade(_arg1, _arg2, _arg3):void{
if (_arg2.alpha == 0){
_arg2.gotoAndStop(_arg3);
if (_arg1 == 1){
tweenFader1 = new Tween(_arg2, "alpha", Regular.easeIn, 1, 0, 3, true);
tweenFader1.FPS = 40;
} else {
if (_arg1 == 2){
tweenFader2 = new Tween(_arg2, "alpha", Regular.easeIn, 1, 0, 3, true);
tweenFader2.FPS = 40;
} else {
if (_arg1 == 3){
tweenFader3 = new Tween(_arg2, "alpha", Regular.easeIn, 1, 0, 3, true);
tweenFader3.FPS = 40;
} else {
tweenFader4 = new Tween(_arg2, "alpha", Regular.easeIn, 1, 0, 3, true);
tweenFader4.FPS = 40;
};
};
};
};
}
public function setMatrixForPlayer(_arg1):void{
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
if (atomsInCell[i][j] == 0){
matrix[i][j] = 0;
} else {
if (cellOwner[i][j] == _arg1){
if (atomsInCell[i][j] == maxAtomsInCell[i][j]){
matrix[i][j] = 1;
} else {
matrix[i][j] = 2;
};
} else {
if (atomsInCell[i][j] == maxAtomsInCell[i][j]){
matrix[i][j] = 9;
} else {
matrix[i][j] = 8;
};
};
};
j++;
};
i++;
};
}
public function explodeAtom(_arg1, _arg2):void{
var _local3:*;
var _local5:*;
var _local4:* = 0;
_local3 = explosionSprite[_arg1][_arg2];
_local3.gotoAndPlay(((playerColorOffset[(currentPlayer - 1)] * 10) + 10));
explosionColor = playerColorOffset[(currentPlayer - 1)];
if (bSoundEnabled == true){
transform1.volume = 0.25;
k = Math.floor((Math.random() * 2));
if (k == 0){
myChannel = boom1.play();
} else {
myChannel = boom2.play();
};
myChannel.soundTransform = transform1;
};
if (_arg1 > 0){
atomsInCell[(_arg1 - 1)][_arg2] = (atomsInCell[(_arg1 - 1)][_arg2] + 1);
cellOwner[(_arg1 - 1)][_arg2] = currentPlayer;
_local3 = atomSprite[(_arg1 - 1)][_arg2];
_local4 = atomsInCell[(_arg1 - 1)][_arg2];
if (_local4 > 5){
_local4 = 5;
};
_local3.gotoAndPlay((((playerColorOffset[(currentPlayer - 1)] * 60) + (_local4 * 10)) + 1));
atomsInCell[_arg1][_arg2] = (atomsInCell[_arg1][_arg2] - 1);
};
if (_arg1 < 7){
atomsInCell[(_arg1 + 1)][_arg2] = (atomsInCell[(_arg1 + 1)][_arg2] + 1);
cellOwner[(_arg1 + 1)][_arg2] = currentPlayer;
_local3 = atomSprite[(_arg1 + 1)][_arg2];
_local4 = atomsInCell[(_arg1 + 1)][_arg2];
if (_local4 > 5){
_local4 = 5;
};
_local3.gotoAndPlay((((playerColorOffset[(currentPlayer - 1)] * 60) + (_local4 * 10)) + 1));
atomsInCell[_arg1][_arg2] = (atomsInCell[_arg1][_arg2] - 1);
};
if (_arg2 > 0){
atomsInCell[_arg1][(_arg2 - 1)] = (atomsInCell[_arg1][(_arg2 - 1)] + 1);
cellOwner[_arg1][(_arg2 - 1)] = currentPlayer;
_local3 = atomSprite[_arg1][(_arg2 - 1)];
_local4 = atomsInCell[_arg1][(_arg2 - 1)];
if (_local4 > 5){
_local4 = 5;
};
_local3.gotoAndPlay((((playerColorOffset[(currentPlayer - 1)] * 60) + (_local4 * 10)) + 1));
atomsInCell[_arg1][_arg2] = (atomsInCell[_arg1][_arg2] - 1);
};
if (_arg2 < 7){
atomsInCell[_arg1][(_arg2 + 1)] = (atomsInCell[_arg1][(_arg2 + 1)] + 1);
cellOwner[_arg1][(_arg2 + 1)] = currentPlayer;
_local3 = atomSprite[_arg1][(_arg2 + 1)];
_local4 = atomsInCell[_arg1][(_arg2 + 1)];
if (_local4 > 5){
_local4 = 5;
};
_local3.gotoAndPlay((((playerColorOffset[(currentPlayer - 1)] * 60) + (_local4 * 10)) + 1));
atomsInCell[_arg1][_arg2] = (atomsInCell[_arg1][_arg2] - 1);
};
if (atomsInCell[_arg1][_arg2] < 0){
atomsInCell[_arg1][_arg2] = 0;
};
_local3 = atomSprite[_arg1][_arg2];
_local3.gotoAndPlay((((playerColorOffset[(currentPlayer - 1)] * 60) + (atomSprite[_arg1][_arg2] * 10)) + 9));
if (atomsInCell[_arg1][_arg2] == 0){
cellOwner[_arg1][_arg2] = 0;
};
if (((((!((playerAItype[1] == 0))) && (!((playerAItype[2] == 0))))) && (!((playerAItype[3] == 0))))){
if ((((bRound1 == false)) && ((playerAtomTotal[0] == 0)))){
btnReturn.alpha = 1;
};
};
if (iPlayerWon == 0){
calculatePlayerAtomTotals();
if (playerAtomTotal[(currentPlayer - 1)] == (((playerAtomTotal[0] + playerAtomTotal[1]) + playerAtomTotal[2]) + playerAtomTotal[3])){
iPlayerWon = currentPlayer;
labelCurrentTurn.text = (pName[(currentPlayer - 1)] + " has WON the game!");
_local5 = 1;
if (playerAItype[1] == 0){
_local5++;
};
if (playerAItype[2] == 0){
_local5++;
};
if (playerAItype[3] == 0){
_local5++;
};
btnReturn.alpha = 1;
if (_local5 < 3){
if ((((playerAItype[(currentPlayer - 1)] == 0)) && ((gameRound == 1)))){
btnContinue.alpha = 1;
};
};
};
};
}
public function findNextExaminedCell(_arg1:Boolean):void{
var _local2:* = 0;
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
if (_local2 == 0){
if (atomsInCell[i][j] > maxAtomsInCell[i][j]){
_local2++;
explodeAtom(i, j);
};
};
j++;
};
i++;
};
if (_local2 == 0){
bExplosionOngoing = false;
};
}
public function doExplosions():void{
var _local1:* = false;
if (atomsInCell[atmChkX][atmChkY] > maxAtomsInCell[atmChkX][atmChkY]){
explodeAtom(atmChkX, atmChkY);
totAtomsExploded++;
bExplosionOngoing = true;
findNextExaminedCell(true);
} else {
findNextExaminedCell(false);
};
}
public function mouseClicked(_arg1:MouseEvent):void{
var _local4:*;
var _local2:* = (mouseX - 200);
var _local3:* = (mouseY - 100);
if (_arg1.target.name == "btnSound"){
if (bSoundEnabled == true){
bSoundEnabled = false;
btnSound.gotoAndStop(2);
transform1.volume = 0;
myChannel.soundTransform = transform1;
} else {
bSoundEnabled = true;
btnSound.gotoAndStop(1);
transform1.volume = 0.5;
myChannel.soundTransform = transform1;
};
} else {
if ((((_arg1.target.name == "btnReturn")) && ((btnReturn.alpha == 1)))){
returnToTitle();
} else {
if ((((_arg1.target.name == "btnContinue")) && ((btnContinue.alpha == 1)))){
gameRound++;
continueGame();
};
};
};
if (startScreen.alpha == 1){
_local4 = _arg1.target.name;
selectPlayer(_arg1.target.name);
} else {
if ((((((((((bClickEnabled == true)) && ((_local2 > 0)))) && ((_local2 < 400)))) && ((_local3 > 0)))) && ((_local3 < 400)))){
_local2 = Math.floor((_local2 / 50));
_local3 = Math.floor((_local3 / 50));
if (matrix[_local2][_local3] < 3){
labelCurrentTurn.text = "";
bPlayerHasSelected = true;
bClickEnabled = false;
atmChkX = _local2;
atmChkY = _local3;
throwAtom();
};
};
};
}
public function myTimer():void{
var _local1:*;
if (artJen.tk.alpha > 0){
artJen.tk.x = (Math.floor((Math.random() * 9)) - 4);
artJen.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artKelsey.tk.alpha > 0){
artKelsey.tk.x = (Math.floor((Math.random() * 9)) - 4);
artKelsey.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artClaire.tk.alpha > 0){
artClaire.tk.x = (Math.floor((Math.random() * 9)) - 4);
artClaire.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artEmma.tk.alpha > 0){
artEmma.tk.x = (Math.floor((Math.random() * 9)) - 4);
artEmma.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artEmmi.tk.alpha > 0){
artEmmi.tk.x = (Math.floor((Math.random() * 9)) - 4);
artEmmi.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artAmanda.tk.alpha > 0){
artAmanda.tk.x = (Math.floor((Math.random() * 9)) - 4);
artAmanda.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artPlayer1.tk.alpha > 0){
artPlayer1.tk.x = (Math.floor((Math.random() * 9)) - 4);
artPlayer1.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artPlayer2.tk.alpha > 0){
artPlayer2.tk.x = (Math.floor((Math.random() * 9)) - 4);
artPlayer2.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artPlayer3.tk.alpha > 0){
artPlayer3.tk.x = (Math.floor((Math.random() * 9)) - 4);
artPlayer3.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (artPlayer4.tk.alpha > 0){
artPlayer4.tk.x = (Math.floor((Math.random() * 9)) - 4);
artPlayer4.tk.y = (Math.floor((Math.random() * 9)) - 4);
};
if (startScreen.alpha == 1){
k++;
if (k > 3){
k = 0;
};
i = Math.ceil((Math.random() * 6));
while ((((((((i == superWin1.currentFrame)) || ((i == superWin2.currentFrame)))) || ((i == superWin3.currentFrame)))) || ((i == superWin4.currentFrame)))) {
i = Math.ceil((Math.random() * 6));
};
if (k == 0){
superWin1.gotoAndStop(i);
superWin1.alpha = 1;
} else {
if (k == 1){
superWin4.gotoAndStop(i);
superWin4.alpha = 1;
} else {
if (k == 2){
superWin2.gotoAndStop(i);
superWin2.alpha = 1;
} else {
if (k == 3){
superWin3.gotoAndStop(i);
superWin3.alpha = 1;
};
};
};
};
} else {
if (bExplosionOngoing == true){
doExplosions();
} else {
if (turnCooldown > 0){
turnCooldown--;
if (turnCooldown == 0){
calculatePlayerAtomTotals();
bComputerIsThinking = false;
playerBack1.alpha = 0;
playerBack2.alpha = 0;
playerBack3.alpha = 0;
playerBack4.alpha = 0;
if (bRound1 == false){
if (playerAtomTotal[(currentPlayer - 1)] == (((playerAtomTotal[0] + playerAtomTotal[1]) + playerAtomTotal[2]) + playerAtomTotal[3])){
if (iPlayerWon == 0){
calculatePlayerAtomTotals();
if (playerAtomTotal[(currentPlayer - 1)] == (((playerAtomTotal[0] + playerAtomTotal[1]) + playerAtomTotal[2]) + playerAtomTotal[3])){
iPlayerWon = currentPlayer;
labelCurrentTurn.text = (pName[(currentPlayer - 1)] + " has WON the game!");
_local1 = 1;
if (playerAItype[1] == 0){
_local1++;
};
if (playerAItype[2] == 0){
_local1++;
};
if (playerAItype[3] == 0){
_local1++;
};
btnReturn.alpha = 1;
if (_local1 < 3){
if ((((playerAItype[(currentPlayer - 1)] == 0)) && ((gameRound == 1)))){
btnContinue.alpha = 1;
};
};
};
};
} else {
currentPlayer++;
if (currentPlayer > 4){
currentPlayer = 1;
};
if ((((playerAtomTotal[(currentPlayer - 1)] == 0)) || ((playerAItype[(currentPlayer - 1)] == 9)))){
currentPlayer++;
if (currentPlayer > 4){
currentPlayer = 1;
};
if ((((playerAtomTotal[(currentPlayer - 1)] == 0)) || ((playerAItype[(currentPlayer - 1)] == 9)))){
currentPlayer++;
if (currentPlayer > 4){
currentPlayer = 1;
};
if ((((playerAtomTotal[(currentPlayer - 1)] == 0)) || ((playerAItype[(currentPlayer - 1)] == 9)))){
currentPlayer++;
if (currentPlayer > 4){
currentPlayer = 1;
};
};
};
};
};
} else {
currentPlayer++;
if (currentPlayer > 4){
currentPlayer = 1;
bRound1 = false;
};
if (playerAItype[(currentPlayer - 1)] == 9){
currentPlayer++;
if (currentPlayer > 4){
currentPlayer = 1;
bRound1 = false;
};
if (playerAItype[(currentPlayer - 1)] == 9){
currentPlayer++;
if (currentPlayer > 4){
currentPlayer = 1;
bRound1 = false;
};
if (playerAItype[(currentPlayer - 1)] == 9){
currentPlayer++;
if (currentPlayer > 4){
currentPlayer = 1;
bRound1 = false;
};
};
};
};
};
fiddle.gotoAndStop((playerColorOffset[(currentPlayer - 1)] + 1));
setMatrixForPlayer(currentPlayer);
if (iPlayerWon == 0){
labelCurrentTurn.text = ("Current turn: " + pName[(currentPlayer - 1)]);
} else {
labelCurrentTurn.text = (pName[(currentPlayer - 1)] + " has WON the game!");
};
atomMem1 = playerAtomTotal[0];
atomMem2 = playerAtomTotal[1];
atomMem3 = playerAtomTotal[2];
atomMem4 = playerAtomTotal[3];
if ((((portraitG1.expression.currentFrame > 3)) && ((portraitG1.expression.currentFrame < 8)))){
portraitG1.expression.gotoAndStop(1);
};
if ((((portraitG2.expression.currentFrame > 3)) && ((portraitG2.expression.currentFrame < 8)))){
portraitG2.expression.gotoAndStop(1);
};
if ((((portraitG3.expression.currentFrame > 3)) && ((portraitG3.expression.currentFrame < 8)))){
portraitG3.expression.gotoAndStop(1);
};
if ((((portraitG4.expression.currentFrame > 3)) && ((portraitG4.expression.currentFrame < 8)))){
portraitG4.expression.gotoAndStop(1);
};
};
} else {
if (iPlayerWon == 0){
if (playerAItype[(currentPlayer - 1)] == 0){
rememberLastPlayerNr = -1;
if (bPlayerHasSelected == false){
bClickEnabled = true;
};
} else {
bClickEnabled = false;
if (bComputerIsThinking == false){
bComputerIsThinking = true;
if (rememberLastPlayerNr != currentPlayer){
rememberLastPlayerNr = currentPlayer;
computerPickCellAI();
};
};
};
};
};
};
};
}
public function throwAtom():void{
var _local1:* = 100;
var _local2:* = 175;
var _local3:* = 0;
var _local4:* = 0;
if (currentPlayer == 2){
_local1 = 700;
};
if (currentPlayer == 3){
_local2 = 475;
};
if (currentPlayer == 4){
_local1 = 700;
_local2 = 475;
};
if (atomsInCell[atmChkX][atmChkY] == 1){
_local3 = 25;
};
if (atomsInCell[atmChkX][atmChkY] == 2){
_local4 = 25;
};
if (atomsInCell[atmChkX][atmChkY] == 3){
_local3 = 25;
_local4 = 25;
};
throwie.gotoAndStop((playerColorOffset[(currentPlayer - 1)] + 1));
throwie.alpha = 1;
tweenX = new Tween(throwie, "x", Regular.easeOut, _local1, ((212 + _local3) + (atmChkX * 50)), 0.5, true);
tweenX.FPS = 40;
tweenX.addEventListener(TweenEvent.MOTION_FINISH, onFinish);
tweenY = new Tween(throwie, "y", Regular.easeOut, _local2, ((112 + _local4) + (atmChkY * 50)), 0.5, true);
tweenY.FPS = 40;
tweenScaleX = new Tween(throwie, "scaleX", Regular.easeIn, 2, 1, 0.5, true);
tweenScaleX.FPS = 40;
tweenScaleY = new Tween(throwie, "scaleY", Regular.easeIn, 2, 1, 0.5, true);
tweenScaleY.FPS = 40;
}
public function onFinish(_arg1:TweenEvent):void{
throwie.alpha = 0;
turnCooldown = 2;
if (bSoundEnabled == true){
myChannel = click1.play();
};
bPlayerHasSelected = false;
cellOwner[atmChkX][atmChkY] = currentPlayer;
atomsInCell[atmChkX][atmChkY] = (atomsInCell[atmChkX][atmChkY] + 1);
setMatrixForPlayer(currentPlayer);
var _local2:* = atomSprite[atmChkX][atmChkY];
_local2.gotoAndPlay((((playerColorOffset[(currentPlayer - 1)] * 60) + (atomsInCell[atmChkX][atmChkY] * 10)) + 1));
if (atomsInCell[atmChkX][atmChkY] > maxAtomsInCell[atmChkX][atmChkY]){
totalChecked = 0;
bExplosionOngoing = true;
};
}
public function getName(_arg1):String{
if (_arg1 == 1){
return (startScreen.nam1.text);
};
if (_arg1 == 2){
return (startScreen.nam2.text);
};
if (_arg1 == 3){
return (startScreen.nam3.text);
};
if (_arg1 == 4){
return (startScreen.nam4.text);
};
if (_arg1 == 5){
return (startScreen.nam5.text);
};
if (_arg1 == 6){
return (startScreen.nam6.text);
};
if (_arg1 == 7){
return (startScreen.nam7.text);
};
return ("Player");
}
public function selectPlayer(_arg1:String):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
if ((((_arg1 == "btnStart")) && ((startScreen.btnStart.alpha == 1)))){
_local2 = "re!";
_local3 = "Giv";
_local4 = "e th";
_local5 = "e m";
_local6 = "yoho";
_local7 = "e tre";
_local8 = "hey";
_local9 = "asu";
if (bSoundEnabled == true){
transform1.volume = 0.05;
myChannel.soundTransform = transform1;
} else {
myChannel.stop();
};
if (startScreen.nCode.text == (((((_local3 + _local5) + _local4) + _local7) + _local9) + _local2)){
tkEnabled = true;
} else {
tkEnabled = false;
};
btnReturn.alpha = 0.1;
_local10 = 1;
if (playerAItype[1] == 0){
_local10++;
};
if (playerAItype[2] == 0){
_local10++;
};
if (playerAItype[3] == 0){
_local10++;
};
if (_local10 < 3){
btnContinue.alpha = 0.1;
} else {
btnContinue.alpha = 0;
};
superWin1.alpha = 0;
superWin2.alpha = 0;
superWin3.alpha = 0;
superWin4.alpha = 0;
pName[0] = getName(playerTagNr[0]);
if (playerAItype[1] == 0){
pName[1] = getName(playerTagNr[1]);
};
if (playerAItype[2] == 0){
pName[2] = getName(playerTagNr[2]);
};
if (playerAItype[3] == 0){
pName[3] = getName(playerTagNr[3]);
};
labelName1.text = pName[0];
labelName2.text = pName[1];
labelName3.text = pName[2];
labelName4.text = pName[3];
frutsel1.gotoAndStop((playerColorOffset[0] + 1));
frutsel2.gotoAndStop((playerColorOffset[1] + 1));
frutsel3.gotoAndStop((playerColorOffset[2] + 1));
frutsel4.gotoAndStop((playerColorOffset[3] + 1));
if (playerAItype[2] == 9){
frutsel3.alpha = 0;
labelName3.alpha = 0;
labelAtoms3.alpha = 0;
} else {
frutsel3.alpha = 1;
labelName3.alpha = 1;
labelAtoms3.alpha = 1;
};
if (playerAItype[3] == 9){
frutsel4.alpha = 0;
labelName4.alpha = 0;
labelAtoms4.alpha = 0;
} else {
frutsel4.alpha = 1;
labelName4.alpha = 1;
labelAtoms4.alpha = 1;
};
artPlayer1.alpha = 1;
portraitG1 = artPlayer1;
placePlayer(2);
placePlayer(3);
placePlayer(4);
fiddle.gotoAndStop((playerColorOffset[0] + 1));
labelCurrentTurn.text = ("Current turn: " + pName[0]);
startScreen.alpha = 0;
startScreen.y = -1000;
};
if (totalPlayersSelected < 4){
if ((((((_arg1 == "jennifer")) && ((startScreen.jennifer.currentFrame == 1)))) && ((startScreen.p2.currentFrame == 1)))){
if (addChar("jen") == true){
startScreen.jennifer.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "kelsey")) && ((startScreen.kelsey.currentFrame == 1)))) && ((startScreen.p3.currentFrame == 1)))){
if (addChar("kelsey") == true){
startScreen.kelsey.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "claire")) && ((startScreen.claire.currentFrame == 1)))) && ((startScreen.p4.currentFrame == 1)))){
if (addChar("claire") == true){
startScreen.claire.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "emma")) && ((startScreen.emma.currentFrame == 1)))) && ((startScreen.p5.currentFrame == 1)))){
if (addChar("emma") == true){
startScreen.emma.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "emmi")) && ((startScreen.emmi.currentFrame == 1)))) && ((startScreen.p6.currentFrame == 1)))){
if (addChar("emmi") == true){
startScreen.emmi.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "amanda")) && ((startScreen.amanda.currentFrame == 1)))) && ((startScreen.p7.currentFrame == 1)))){
if (addChar("amanda") == true){
startScreen.amanda.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((_arg1 == "p1")) && ((startScreen.p1.currentFrame == 1)))){
tmpTag = 1;
if (addChar("player") == true){
startScreen.p1.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "p2")) && ((startScreen.jennifer.currentFrame == 1)))) && ((startScreen.p2.currentFrame == 1)))){
tmpTag = 2;
if (addChar("player") == true){
startScreen.p2.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "p3")) && ((startScreen.kelsey.currentFrame == 1)))) && ((startScreen.p3.currentFrame == 1)))){
tmpTag = 3;
if (addChar("player") == true){
startScreen.p3.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "p4")) && ((startScreen.claire.currentFrame == 1)))) && ((startScreen.p4.currentFrame == 1)))){
tmpTag = 4;
if (addChar("player") == true){
startScreen.p4.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "p5")) && ((startScreen.emma.currentFrame == 1)))) && ((startScreen.p5.currentFrame == 1)))){
tmpTag = 5;
if (addChar("player") == true){
startScreen.p5.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "p6")) && ((startScreen.emmi.currentFrame == 1)))) && ((startScreen.p6.currentFrame == 1)))){
tmpTag = 6;
if (addChar("player") == true){
startScreen.p6.gotoAndStop(2);
totalPlayersSelected++;
};
} else {
if ((((((_arg1 == "p7")) && ((startScreen.amanda.currentFrame == 1)))) && ((startScreen.p7.currentFrame == 1)))){
tmpTag = 7;
if (addChar("player") == true){
startScreen.p7.gotoAndStop(2);
totalPlayersSelected++;
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
if ((((totalPlayersSelected > 1)) && ((playerAItype[0] == 0)))){
startScreen.btnStart.alpha = 1;
};
}
public function addChar(_arg1:String):Boolean{
var _local2:* = 1;
if ((((((totalPlayersSelected == 3)) && ((playerAItype[0] == 9)))) && (!((_arg1 == "player"))))){
return (false);
};
if (playerAItype[3] == 9){
_local2 = 3;
};
if (playerAItype[2] == 9){
_local2 = 2;
};
if (playerAItype[1] == 9){
_local2 = 1;
};
if (_arg1 == "jen"){
playerColorOffset[_local2] = 0;
playerAItype[_local2] = 1;
pName[_local2] = "Jennifer";
return (true);
};
if (_arg1 == "kelsey"){
playerColorOffset[_local2] = 1;
playerAItype[_local2] = 2;
pName[_local2] = "Kelsey";
return (true);
};
if (_arg1 == "claire"){
playerColorOffset[_local2] = 2;
playerAItype[_local2] = 3;
pName[_local2] = "Claire";
return (true);
};
if (_arg1 == "emma"){
playerColorOffset[_local2] = 3;
playerAItype[_local2] = 4;
pName[_local2] = "Emma";
return (true);
};
if (_arg1 == "emmi"){
playerColorOffset[_local2] = 4;
playerAItype[_local2] = 5;
pName[_local2] = "Emmi";
return (true);
};
if (_arg1 == "amanda"){
playerColorOffset[_local2] = 5;
playerAItype[_local2] = 6;
pName[_local2] = "Amanda";
return (true);
};
if (_arg1 == "player"){
if (playerAItype[0] == 9){
playerAItype[0] = 0;
playerTagNr[0] = tmpTag;
playerColorOffset[0] = (tmpTag - 2);
if (playerColorOffset[0] == -1){
playerColorOffset[0] = 6;
};
return (true);
} else {
playerAItype[_local2] = 0;
playerTagNr[_local2] = tmpTag;
playerColorOffset[_local2] = (tmpTag - 2);
if (playerColorOffset[_local2] == -1){
playerColorOffset[_local2] = 6;
};
return (true);
};
};
return (false);
}
public function placePlayer(_arg1:uint):void{
var _local3:*;
var _local2:* = false;
if (playerAItype[(_arg1 - 1)] == 0){
if (_arg1 == 2){
artPlayer2.alpha = 1;
};
if (_arg1 == 3){
artPlayer3.alpha = 1;
};
if (_arg1 == 4){
artPlayer4.alpha = 1;
};
} else {
if (playerAItype[(_arg1 - 1)] == 9){
if (_arg1 == 3){
artPlayer3.alpha = 0;
} else {
if (_arg1 == 4){
artPlayer4.alpha = 0;
};
};
} else {
if (playerAItype[(_arg1 - 1)] == 1){
_local3 = artJen;
};
if (playerAItype[(_arg1 - 1)] == 2){
_local3 = artKelsey;
};
if (playerAItype[(_arg1 - 1)] == 3){
_local3 = artClaire;
_local2 = true;
};
if (playerAItype[(_arg1 - 1)] == 4){
_local3 = artEmma;
};
if (playerAItype[(_arg1 - 1)] == 5){
_local3 = artEmmi;
};
if (playerAItype[(_arg1 - 1)] == 6){
_local3 = artAmanda;
};
if (_arg1 == 2){
portraitG2 = _local3;
portraitG2.x = 705;
portraitG2.y = 38;
if (_local2 == true){
portraitG2.scaleX = 1;
} else {
portraitG2.scaleX = -1;
};
portraitG2.alpha = 1;
artPlayer2.alpha = 0;
} else {
if (_arg1 == 3){
portraitG3 = _local3;
portraitG3.x = 95;
portraitG3.y = 333;
portraitG3.scaleX = 1;
portraitG3.alpha = 1;
artPlayer3.alpha = 0;
} else {
portraitG4 = _local3;
portraitG4.x = 705;
portraitG4.y = 333;
if (_local2 == true){
portraitG4.scaleX = 1;
} else {
portraitG4.scaleX = -1;
};
portraitG4.alpha = 1;
artPlayer4.alpha = 0;
};
};
};
};
}
function frame1(){
stop();
bSoundEnabled = true;
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
btnSound2.addEventListener(MouseEvent.CLICK, toggleSounds);
}
function frame2(){
transform1 = new SoundTransform();
mus = new musGood();
boom1 = new snd1();
boom2 = new snd2();
click1 = new clicks();
if (bSoundEnabled == true){
myChannel = mus.play();
transform1.volume = 0.5;
myChannel.soundTransform = transform1;
} else {
myChannel = mus.play();
transform1.volume = 0;
myChannel.soundTransform = transform1;
};
bDecided = false;
stop();
tkEnabled = false;
k = 4;
currentPlayer = 1;
playerColorOffset = [6, 6, 6, 6];
playerAItype = [9, 9, 9, 9];
turnCooldown = 0;
bClickEnabled = false;
bExplosionOngoing = false;
pName = ["", "", "", ""];
playerTagNr = [9, 9, 9, 9];
playerAtomTotal = [0, 0, 0, 0];
tmpTag = 0;
bRound1 = true;
gameRound = 1;
iPlayerWon = 0;
bComputerIsThinking = false;
bPlayerHasSelected = false;
totalPlayersSelected = 0;
explosionColor = 0;
rememberLastPlayerNr = -1;
atomMem1 = 0;
atomMem2 = 0;
atomMem3 = 0;
atomMem4 = 0;
superWin1.alpha = 0;
superWin2.alpha = 0;
superWin3.alpha = 0;
superWin4.alpha = 0;
portraitG1 = artPlayer1;
portraitG2 = artPlayer2;
portraitG3 = artPlayer3;
portraitG4 = artPlayer4;
bPlayerLock1 = false;
bPlayerLock2 = false;
bPlayerLock3 = false;
bPlayerLock4 = false;
artPlayer1.tk.gotoAndStop(1);
artPlayer1.tk.alpha = 0;
artPlayer2.tk.gotoAndStop(1);
artPlayer2.tk.alpha = 0;
artPlayer3.tk.gotoAndStop(1);
artPlayer3.tk.alpha = 0;
artPlayer4.tk.gotoAndStop(1);
artPlayer4.tk.alpha = 0;
artJen.tk.gotoAndStop(1);
artJen.tk.alpha = 0;
artKelsey.tk.gotoAndStop(1);
artKelsey.tk.alpha = 0;
artClaire.tk.gotoAndStop(1);
artClaire.tk.alpha = 0;
artEmma.tk.gotoAndStop(1);
artEmma.tk.alpha = 0;
artEmmi.tk.gotoAndStop(1);
artEmmi.tk.alpha = 0;
artAmanda.tk.gotoAndStop(1);
artAmanda.tk.alpha = 0;
totAtomsExploded = 0;
atmChkX = 0;
atmChkY = 0;
totalChecked = 0;
col1 = [0, 0, 0, 0, 0, 0, 0, 0];
col2 = [0, 0, 0, 0, 0, 0, 0, 0];
col3 = [0, 0, 0, 0, 0, 0, 0, 0];
col4 = [0, 0, 0, 0, 0, 0, 0, 0];
col5 = [0, 0, 0, 0, 0, 0, 0, 0];
col6 = [0, 0, 0, 0, 0, 0, 0, 0];
col7 = [0, 0, 0, 0, 0, 0, 0, 0];
col8 = [0, 0, 0, 0, 0, 0, 0, 0];
matrix = [col1, col2, col3, col4, col5, col6, col7, col8];
co1 = [0, 0, 0, 0, 0, 0, 0, 0];
co2 = [0, 0, 0, 0, 0, 0, 0, 0];
co3 = [0, 0, 0, 0, 0, 0, 0, 0];
co4 = [0, 0, 0, 0, 0, 0, 0, 0];
co5 = [0, 0, 0, 0, 0, 0, 0, 0];
co6 = [0, 0, 0, 0, 0, 0, 0, 0];
co7 = [0, 0, 0, 0, 0, 0, 0, 0];
co8 = [0, 0, 0, 0, 0, 0, 0, 0];
cellOwner = [co1, co2, co3, co4, co5, co6, co7, co8];
aic1 = [0, 0, 0, 0, 0, 0, 0, 0];
aic2 = [0, 0, 0, 0, 0, 0, 0, 0];
aic3 = [0, 0, 0, 0, 0, 0, 0, 0];
aic4 = [0, 0, 0, 0, 0, 0, 0, 0];
aic5 = [0, 0, 0, 0, 0, 0, 0, 0];
aic6 = [0, 0, 0, 0, 0, 0, 0, 0];
aic7 = [0, 0, 0, 0, 0, 0, 0, 0];
aic8 = [0, 0, 0, 0, 0, 0, 0, 0];
atomsInCell = [aic1, aic2, aic3, aic4, aic5, aic6, aic7, aic8];
maxAtomsInCell = [[1, 2, 2, 2, 2, 2, 2, 1], [2, 3, 3, 3, 3, 3, 3, 2], [2, 3, 3, 3, 3, 3, 3, 2], [2, 3, 3, 3, 3, 3, 3, 2], [2, 3, 3, 3, 3, 3, 3, 2], [2, 3, 3, 3, 3, 3, 3, 2], [2, 3, 3, 3, 3, 3, 3, 2], [1, 2, 2, 2, 2, 2, 2, 1]];
atomSprite = [[atom1, atom9, atom17, atom25, atom33, atom41, atom49, atom57], [atom2, atom10, atom18, atom26, atom34, atom42, atom50, atom58], [atom3, atom11, atom19, atom27, atom35, atom43, atom51, atom59], [atom4, atom12, atom20, atom28, atom36, atom44, atom52, atom60], [atom5, atom13, atom21, atom29, atom37, atom45, atom53, atom61], [atom6, atom14, atom22, atom30, atom38, atom46, atom54, atom62], [atom7, atom15, atom23, atom31, atom39, atom47, atom55, atom63], [atom8, atom16, atom24, atom32, atom40, atom48, atom56, atom64]];
explosionSprite = [[aExp1, aExp9, aExp17, aExp25, aExp33, aExp41, aExp49, aExp57], [aExp2, aExp10, aExp18, aExp26, aExp34, aExp42, aExp50, aExp58], [aExp3, aExp11, aExp19, aExp27, aExp35, aExp43, aExp51, aExp59], [aExp4, aExp12, aExp20, aExp28, aExp36, aExp44, aExp52, aExp60], [aExp5, aExp13, aExp21, aExp29, aExp37, aExp45, aExp53, aExp61], [aExp6, aExp14, aExp22, aExp30, aExp38, aExp46, aExp54, aExp62], [aExp7, aExp15, aExp23, aExp31, aExp39, aExp47, aExp55, aExp63], [aExp8, aExp16, aExp24, aExp32, aExp40, aExp48, aExp56, aExp64]];
stage.addEventListener(MouseEvent.CLICK, mouseClicked);
myInterval = setInterval(myTimer, 250);
if (bSoundEnabled == false){
btnSound.gotoAndStop(2);
} else {
btnSound.gotoAndStop(1);
};
labelAtoms1.text = "";
labelAtoms2.text = "";
labelAtoms3.text = "";
labelAtoms4.text = "";
labelName1.text = "";
labelName2.text = "";
labelName3.text = "";
labelName4.text = "";
frutsel1.gotoAndStop(7);
frutsel2.gotoAndStop(7);
frutsel3.gotoAndStop(7);
frutsel4.gotoAndStop(7);
btnReturn.alpha = 0.1;
btnContinue.alpha = 0.1;
startScreen.y = 5;
setMatrixForPlayer(currentPlayer);
}
}
}//package Exploding_Atoms_fla
Section 24
//playerBack_4 (Exploding_Atoms_fla.playerBack_4)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class playerBack_4 extends MovieClip {
public function playerBack_4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 25
//super_33 (Exploding_Atoms_fla.super_33)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class super_33 extends MovieClip {
public var artEmmi:MovieClip;
public var artAmanda:MovieClip;
public var artKelsey:MovieClip;
public var artClaire:MovieClip;
public var artEmma:MovieClip;
public var artJen:MovieClip;
public function super_33(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 26
//Symbol1_24 (Exploding_Atoms_fla.Symbol1_24)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class Symbol1_24 extends MovieClip {
public function Symbol1_24(){
addFrameScript(2, frame3, 5, frame6, 8, frame9, 11, frame12, 14, frame15, 17, frame18, 20, frame21);
}
function frame3(){
gotoAndPlay(1);
}
function frame6(){
gotoAndPlay(4);
}
function frame9(){
gotoAndPlay(7);
}
function frame12(){
gotoAndPlay(10);
}
function frame15(){
gotoAndPlay(13);
}
function frame18(){
gotoAndPlay(16);
}
function frame21(){
gotoAndPlay(19);
}
}
}//package Exploding_Atoms_fla
Section 27
//Symbol2_28 (Exploding_Atoms_fla.Symbol2_28)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class Symbol2_28 extends MovieClip {
public function Symbol2_28(){
addFrameScript(2, frame3, 5, frame6, 8, frame9, 11, frame12, 14, frame15, 17, frame18, 20, frame21);
}
function frame3(){
gotoAndPlay(1);
}
function frame6(){
gotoAndPlay(4);
}
function frame9(){
gotoAndPlay(7);
}
function frame12(){
gotoAndPlay(10);
}
function frame15(){
gotoAndPlay(13);
}
function frame18(){
gotoAndPlay(16);
}
function frame21(){
gotoAndPlay(19);
}
}
}//package Exploding_Atoms_fla
Section 28
//Symbol3_16 (Exploding_Atoms_fla.Symbol3_16)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class Symbol3_16 extends MovieClip {
public function Symbol3_16(){
addFrameScript(2, frame3, 5, frame6, 8, frame9, 11, frame12, 14, frame15, 17, frame18, 20, frame21);
}
function frame3(){
gotoAndPlay(1);
}
function frame6(){
gotoAndPlay(4);
}
function frame9(){
gotoAndPlay(7);
}
function frame12(){
gotoAndPlay(10);
}
function frame15(){
gotoAndPlay(13);
}
function frame18(){
gotoAndPlay(16);
}
function frame21(){
gotoAndPlay(19);
}
}
}//package Exploding_Atoms_fla
Section 29
//Symbol4_12 (Exploding_Atoms_fla.Symbol4_12)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class Symbol4_12 extends MovieClip {
public function Symbol4_12(){
addFrameScript(2, frame3, 5, frame6, 8, frame9, 11, frame12, 14, frame15, 17, frame18, 20, frame21);
}
function frame3(){
gotoAndPlay(1);
}
function frame6(){
gotoAndPlay(4);
}
function frame9(){
gotoAndPlay(7);
}
function frame12(){
gotoAndPlay(10);
}
function frame15(){
gotoAndPlay(13);
}
function frame18(){
gotoAndPlay(16);
}
function frame21(){
gotoAndPlay(19);
}
}
}//package Exploding_Atoms_fla
Section 30
//Symbol5_8 (Exploding_Atoms_fla.Symbol5_8)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class Symbol5_8 extends MovieClip {
public function Symbol5_8(){
addFrameScript(2, frame3, 5, frame6, 8, frame9, 11, frame12, 14, frame15, 17, frame18, 20, frame21);
}
function frame3(){
gotoAndPlay(1);
}
function frame6(){
gotoAndPlay(4);
}
function frame9(){
gotoAndPlay(7);
}
function frame12(){
gotoAndPlay(10);
}
function frame15(){
gotoAndPlay(13);
}
function frame18(){
gotoAndPlay(16);
}
function frame21(){
gotoAndPlay(19);
}
}
}//package Exploding_Atoms_fla
Section 31
//Symbol6_31 (Exploding_Atoms_fla.Symbol6_31)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class Symbol6_31 extends MovieClip {
public function Symbol6_31(){
addFrameScript(2, frame3, 5, frame6, 8, frame9, 11, frame12, 14, frame15, 17, frame18, 20, frame21);
}
function frame3(){
gotoAndPlay(1);
}
function frame6(){
gotoAndPlay(4);
}
function frame9(){
gotoAndPlay(7);
}
function frame12(){
gotoAndPlay(10);
}
function frame15(){
gotoAndPlay(13);
}
function frame18(){
gotoAndPlay(16);
}
function frame21(){
gotoAndPlay(19);
}
}
}//package Exploding_Atoms_fla
Section 32
//throwie_48 (Exploding_Atoms_fla.throwie_48)
package Exploding_Atoms_fla {
import flash.display.*;
public dynamic class throwie_48 extends MovieClip {
public function throwie_48(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Exploding_Atoms_fla
Section 33
//Regular (fl.transitions.easing.Regular)
package fl.transitions.easing {
public class Regular {
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
}
}//package fl.transitions.easing
Section 34
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.events.*;
import flash.utils.*;
import flash.display.*;
public class Tween extends EventDispatcher {
public var isPlaying:Boolean;// = false
public var obj:Object;// = null
public var prop:String;// = ""
public var func:Function;
public var begin:Number;// = NAN
public var change:Number;// = NAN
public var useSeconds:Boolean;// = false
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var looping:Boolean;// = false
private var _duration:Number;// = NAN
private var _time:Number;// = NAN
private var _fps:Number;// = NAN
private var _position:Number;// = NAN
private var _startTime:Number;// = NAN
private var _intervalID:uint;// = 0
private var _finish:Number;// = NAN
private var _timer:Timer;// = null
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
this.func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function get time():Number{
return (this._time);
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
public function get duration():Number{
return (this._duration);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function get FPS():Number{
return (this._fps);
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
}
}//package fl.transitions
Section 35
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_RESUME:String = "motionResume";
public static const MOTION_LOOP:String = "motionLoop";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 36
//clicks (clicks)
package {
import flash.media.*;
public dynamic class clicks extends Sound {
}
}//package
Section 37
//introStartButton (introStartButton)
package {
import flash.display.*;
public dynamic class introStartButton extends MovieClip {
}
}//package
Section 38
//movie_mc (movie_mc)
package {
import flash.display.*;
public dynamic class movie_mc extends MovieClip {
}
}//package
Section 39
//musGood (musGood)
package {
import flash.media.*;
public dynamic class musGood extends Sound {
}
}//package
Section 40
//snd1 (snd1)
package {
import flash.media.*;
public dynamic class snd1 extends Sound {
}
}//package
Section 41
//snd2 (snd2)
package {
import flash.media.*;
public dynamic class snd2 extends Sound {
}
}//package