Frame 2
stop();
Frame 6
stop();
Frame 14
stop();
var DeconstructorSOTmp = SharedObject.getLocal(Define.NAME_RECORDSET);
var tempValue = DeconstructorSOTmp.data.levelData.difficultySetted;
if (isNaN(tempValue)) {
instButtonSkipIntro._visible = false;
} else {
instButtonSkipIntro._visible = true;
}
Frame 23
var mySoundTmp = new Sound();
stop();
var DeconstructorSOTmp = SharedObject.getLocal(Define.NAME_RECORDSET);
var tempValue = DeconstructorSOTmp.data.levelData.difficultySetted;
if (isNaN(tempValue)) {
instButtonSkipIntro._visible = false;
} else {
instButtonSkipIntro._visible = true;
}
Frame 30
var gIsSurvivalMode = false;
var gSoundIsFinished = true;
nmSounds = new Array();
nmSoundsBackground = new Array();
nmSoundEnabled = true;
nmPreviousSoundLoaded = -1;
nmCurrentSoundLoaded = 0;
nmCurrentSoundPlayer = -1;
var gVoiceCounter = Define.SOUND_ITEM_MACHINEGUN;
loadGameSound = function (nindex) {
var _local2 = new Sound();
nmPreviousSoundLoaded = nmCurrentSoundLoaded;
switch (nindex) {
case Define.SOUND_MENU_MELODY :
_local2.attachSound("MENU_MELODY");
break;
case Define.SOUNDS_SELECCION :
_local2.attachSound("SELECTION");
break;
case Define.SOUND_SHOOT_BAZOOKA :
_local2.attachSound("SHOOT_BAZOOKA");
break;
case Define.SOUND_SHOOT_FIRE :
_local2.attachSound("SHOOT_FIRE");
break;
case Define.SOUND_SHOOT_GUN :
_local2.attachSound("SHOOT_GUN");
break;
case Define.SOUND_SHOOT_MACHINEGUN :
_local2.attachSound("SHOOT_MACHINEGUN");
break;
case Define.SOUND_DAMAGE_PROTAGONIST :
_local2.attachSound("DAMAGE_PROTAGONIST");
break;
case Define.SOUND_DEATH_VEHICLES :
_local2.attachSound("DEATH_VEHICLES");
break;
case Define.SOUND_DEATH_HUMAN :
_local2.attachSound("DEATH_HUMAN");
break;
case Define.SOUND_DESTRUCTION_BUILDING :
_local2.attachSound("DESTRUCTION_BUILDING");
break;
case Define.SOUND_GAME_OVER :
_local2.attachSound("GAME_OVER");
break;
case Define.SOUND_FIN_LEVEL1 :
_local2.attachSound("FIN_LEVEL1");
break;
case Define.SOUND_FIN_LEVEL2 :
_local2.attachSound("FIN_LEVEL2");
break;
case Define.SOUND_FIN_LEVEL3 :
_local2.attachSound("FIN_LEVEL3");
break;
case Define.SOUND_FIN_LEVEL4 :
_local2.attachSound("FIN_LEVEL4");
break;
case Define.SOUND_FIN_LEVEL5 :
_local2.attachSound("FIN_LEVEL5");
break;
case Define.SOUND_FIN_LEVEL6 :
_local2.attachSound("FIN_LEVEL6");
break;
case Define.SOUND_FIN_LEVEL7 :
_local2.attachSound("FIN_LEVEL7");
break;
case Define.SOUND_INI_LEVEL1 :
_local2.attachSound("INI_LEVEL1");
break;
case Define.SOUND_INI_LEVEL2 :
_local2.attachSound("INI_LEVEL2");
break;
case Define.SOUND_INI_LEVEL3 :
_local2.attachSound("INI_LEVEL3");
break;
case Define.SOUND_INI_LEVEL4 :
_local2.attachSound("INI_LEVEL4");
break;
case Define.SOUND_INI_LEVEL5 :
_local2.attachSound("INI_LEVEL5");
break;
case Define.SOUND_INI_LEVEL6 :
_local2.attachSound("INI_LEVEL6");
break;
case Define.SOUND_INI_LEVEL7 :
_local2.attachSound("INI_LEVEL7");
break;
case Define.SOUND_ITEM_BAZOKA :
_local2.attachSound("ITEM_BAZOKA");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_LANZALLAMAS :
_local2.attachSound("ITEM_LANZALLAMAS");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_LIFE :
_local2.attachSound("ITEM_LIFE");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_MACHINEGUN :
_local2.attachSound("ITEM_MACHINEGUN");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_SPEEDUP :
_local2.attachSound("ITEM_SPEEDUP");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_SHIELD :
_local2.attachSound("ITEM_SHIELD");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_SUPERBOMB1 :
_local2.attachSound("ITEM_SUPERBOMB1");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_SUPERBOMB2 :
_local2.attachSound("ITEM_SUPERBOMB2");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_SUPERBOMB3 :
_local2.attachSound("ITEM_SUPERBOMB3");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_ITEM_SUPERBOMB4 :
_local2.attachSound("ITEM_SUPERBOMB4");
_local2.onSoundComplete = function () {
_root.gSoundIsFinished = true;
};
break;
case Define.SOUND_SUPER_BOMB1 :
_local2.attachSound("SUPER_BOMB1");
break;
case Define.SOUND_SUPER_BOMB2 :
_local2.attachSound("SUPER_BOMB2");
break;
case Define.SOUND_SUPER_BOMB3 :
_local2.attachSound("SUPER_BOMB3");
break;
case Define.SOUND_SUPER_BOMB4 :
_local2.attachSound("SUPER_BOMB4");
}
_root.nmCurrentSoundLoaded = _root.nmCurrentSoundLoaded + 1;
nmSounds.push(_local2);
};
getSoundIdentificator = function (nindex) {
switch (nindex) {
case Define.SOUND_MENU_MELODY :
return("MENU_MELODY");
case Define.SOUNDS_SELECCION :
return("SELECTION");
case Define.SOUND_SHOOT_BAZOOKA :
return("SHOOT_BAZOOKA");
case Define.SOUND_SHOOT_FIRE :
return("SHOOT_FIRE");
case Define.SOUND_SHOOT_GUN :
return("SHOOT_GUN");
case Define.SOUND_SHOOT_MACHINEGUN :
return("SHOOT_MACHINEGUN");
case Define.SOUND_DAMAGE_PROTAGONIST :
return("DAMAGE_PROTAGONIST");
case Define.SOUND_DEATH_VEHICLES :
return("DEATH_VEHICLES");
case Define.SOUND_DEATH_HUMAN :
return("DEATH_HUMAN");
case Define.SOUND_DESTRUCTION_BUILDING :
return("DESTRUCTION_BUILDING");
case Define.SOUND_GAME_OVER :
return("GAME_OVER");
case Define.SOUND_FIN_LEVEL1 :
return("FIN_LEVEL1");
case Define.SOUND_FIN_LEVEL2 :
return("FIN_LEVEL2");
case Define.SOUND_FIN_LEVEL3 :
return("FIN_LEVEL3");
case Define.SOUND_FIN_LEVEL4 :
return("FIN_LEVEL4");
case Define.SOUND_FIN_LEVEL5 :
return("FIN_LEVEL5");
case Define.SOUND_FIN_LEVEL6 :
return("FIN_LEVEL6");
case Define.SOUND_FIN_LEVEL7 :
return("FIN_LEVEL7");
case Define.SOUND_INI_LEVEL1 :
return("INI_LEVEL1");
case Define.SOUND_INI_LEVEL2 :
return("INI_LEVEL2");
case Define.SOUND_INI_LEVEL3 :
return("INI_LEVEL3");
case Define.SOUND_INI_LEVEL4 :
return("INI_LEVEL4");
case Define.SOUND_INI_LEVEL5 :
return("INI_LEVEL5");
case Define.SOUND_INI_LEVEL6 :
return("INI_LEVEL6");
case Define.SOUND_INI_LEVEL7 :
return("INI_LEVEL7");
case Define.SOUND_ITEM_BAZOKA :
return("ITEM_BAZOKA");
case Define.SOUND_ITEM_LANZALLAMAS :
return("ITEM_LANZALLAMAS");
case Define.SOUND_ITEM_LIFE :
return("ITEM_LIFE");
case Define.SOUND_ITEM_MACHINEGUN :
return("ITEM_MACHINEGUN");
case Define.SOUND_ITEM_SPEEDUP :
return("ITEM_SPEEDUP");
case Define.SOUND_ITEM_SUPERBOMB1 :
return("ITEM_SUPERBOMB1");
case Define.SOUND_ITEM_SUPERBOMB2 :
return("ITEM_SUPERBOMB2");
case Define.SOUND_ITEM_SUPERBOMB3 :
return("ITEM_SUPERBOMB3");
case Define.SOUND_ITEM_SUPERBOMB4 :
return("ITEM_SUPERBOMB4");
case Define.SOUND_SUPER_BOMB1 :
return("SUPER_BOMB1");
case Define.SOUND_SUPER_BOMB2 :
return("SUPER_BOMB2");
case Define.SOUND_SUPER_BOMB3 :
return("SUPER_BOMB3");
case Define.SOUND_SUPER_BOMB4 :
return("SUPER_BOMB4");
}
return("nulo");
};
stopGameSounds = function () {
var _local1 = 0;
while (_local1 < nmSounds.length) {
nmSounds[_local1].stop(getSoundIdentificator(_local1));
_local1++;
}
};
playGameSound = function (nindex, iter) {
if (gSoundIsFinished) {
nmCurrentSoundPlayer = nindex;
if (nmSoundEnabled == true) {
nmSounds[nindex].start(0, iter);
}
}
};
playGameSoundIndependently = function (nindex, iter) {
nmCurrentSoundPlayer = nindex;
if (nmSoundEnabled == true) {
nmSounds[nindex].start(0, iter);
}
};
playGameSoundStops = function (nindex, iter) {
gSoundIsFinished = true;
nmCurrentSoundPlayer = nindex;
if (nmSoundEnabled == true) {
stopGameSounds();
nmSounds[nindex].start(0, iter);
}
};
playGameSoundStops_AndWaitToFinish = function (nindex, iter) {
if (gSoundIsFinished) {
gSoundIsFinished = false;
nmCurrentSoundPlayer = nindex;
if (nmSoundEnabled == true) {
stopGameSounds();
nmSounds[nindex].start(0, iter);
}
}
};
loadGameSoundBackground = function (nindex) {
var _local1 = new Sound();
switch (nindex) {
case Define.SOUND_BACKGROUND_A :
_local1.attachSound("BACKGROUND_A");
break;
case Define.SOUND_BACKGROUND_B :
_local1.attachSound("BACKGROUND_B");
break;
case Define.SOUND_BACKGROUND_C :
_local1.attachSound("BACKGROUND_C");
}
nmSoundsBackground.push(_local1);
};
stopGameSoundsBackground = function () {
var _local1 = 0;
while (_local1 < nmSoundsBackground.length) {
nmSoundsBackground[_local1].stop();
_local1++;
}
};
playGameSoundBackground = function (nindex, iter) {
if (nmSoundEnabled == true) {
nmSoundsBackground[nindex].start(0, 1000);
}
};
var giTotalLevelsDeconstructor = Define.TOTAL_NUMBER_OF_LEVELS;
var gGameHasBeenCompleted = 0;
loadGameData = function () {
gListLevelStarsScore_Easy = new Array(giTotalLevelsDeconstructor);
gListLevelTimeScore_Easy = new Array(giTotalLevelsDeconstructor);
gListLevelStarsScore = new Array(giTotalLevelsDeconstructor);
gListLevelTimeScore = new Array(giTotalLevelsDeconstructor);
gListLevelStarsScore_Hard = new Array(giTotalLevelsDeconstructor);
gListLevelTimeScore_Hard = new Array(giTotalLevelsDeconstructor);
gListLevelStarsScore_Crazy = new Array(giTotalLevelsDeconstructor);
gListLevelTimeScore_Crazy = new Array(giTotalLevelsDeconstructor);
gListLevelStarsScore_JamesBond007 = new Array(giTotalLevelsDeconstructor);
gListLevelTimeScore_JamesBond007 = new Array(giTotalLevelsDeconstructor);
var _local1 = 0;
while (_local1 < giTotalLevelsDeconstructor) {
gListLevelStarsScore_Easy[_local1] = -1;
gListLevelTimeScore_Easy[_local1] = -1;
gListLevelStarsScore[_local1] = -1;
gListLevelTimeScore[_local1] = -1;
gListLevelStarsScore_Hard[_local1] = -1;
gListLevelTimeScore_Hard[_local1] = -1;
gListLevelStarsScore_Crazy[_local1] = -1;
gListLevelTimeScore_Crazy[_local1] = -1;
gListLevelStarsScore_JamesBond007[_local1] = -1;
gListLevelTimeScore_JamesBond007[_local1] = -1;
_local1++;
}
nmTotalLevelDone_Easy = 0;
nmTotalLevelDone = 0;
nmTotalLevelDone_Hard = 0;
nmTotalLevelDone_Crazy = 0;
nmTotalLevelDone_JamesBond007 = 0;
var _local2 = SharedObject.getLocal(nmRecordStoreName);
nmDifficultySetted = _local2.data.levelData.difficultySetted;
if (isNaN(nmDifficultySetted)) {
nmDifficultySetted = 1;
} else if ((nmDifficultySetted < 0) || (nmDifficultySetted > 4)) {
nmDifficultySetted = 1;
}
gGameHasBeenCompleted = _local2.data.levelData.gameHasBeenCompleted;
if (isNaN(gGameHasBeenCompleted)) {
gGameHasBeenCompleted = 0;
}
_local1 = 0;
while (_local1 < giTotalLevelsDeconstructor) {
gListLevelStarsScore_Easy[_local1] = _local2.data.levelData.gListLevelStarsScore_Easy[_local1];
gListLevelTimeScore_Easy[_local1] = _local2.data.levelData.gListLevelTimeScore_Easy[_local1];
gListLevelStarsScore[_local1] = _local2.data.levelData.gListLevelStarsScore[_local1];
gListLevelTimeScore[_local1] = _local2.data.levelData.gListLevelTimeScore[_local1];
gListLevelStarsScore_Hard[_local1] = _local2.data.levelData.gListLevelStarsScore_Hard[_local1];
gListLevelTimeScore_Hard[_local1] = _local2.data.levelData.gListLevelTimeScore_Hard[_local1];
gListLevelStarsScore_Crazy[_local1] = _local2.data.levelData.gListLevelStarsScore_Crazy[_local1];
gListLevelTimeScore_Crazy[_local1] = _local2.data.levelData.gListLevelTimeScore_Crazy[_local1];
gListLevelStarsScore_JamesBond007[_local1] = _local2.data.levelData.gListLevelStarsScore_JamesBond007[_local1];
gListLevelTimeScore_JamesBond007[_local1] = _local2.data.levelData.gListLevelTimeScore_JamesBond007[_local1];
if (!isNaN(gListLevelStarsScore_Easy[_local1])) {
nmTotalLevelDone_Easy++;
}
if (!isNaN(gListLevelStarsScore[_local1])) {
nmTotalLevelDone++;
}
if (!isNaN(gListLevelStarsScore_Hard[_local1])) {
nmTotalLevelDone_Hard++;
}
if (!isNaN(gListLevelStarsScore_Crazy[_local1])) {
nmTotalLevelDone_Crazy++;
}
if (!isNaN(gListLevelStarsScore_JamesBond007[_local1])) {
nmTotalLevelDone_JamesBond007++;
}
_local1++;
}
if (nmTotalLevelDone_Easy >= giTotalLevelsDeconstructor) {
nmTotalLevelDone_Easy = giTotalLevelsDeconstructor - 1;
}
if (nmTotalLevelDone >= giTotalLevelsDeconstructor) {
nmTotalLevelDone = giTotalLevelsDeconstructor - 1;
}
if (nmTotalLevelDone_Hard >= giTotalLevelsDeconstructor) {
nmTotalLevelDone_Hard = giTotalLevelsDeconstructor - 1;
}
if (nmTotalLevelDone_Crazy >= giTotalLevelsDeconstructor) {
nmTotalLevelDone_Crazy = giTotalLevelsDeconstructor - 1;
}
if (nmTotalLevelDone_JamesBond007 >= giTotalLevelsDeconstructor) {
nmTotalLevelDone_JamesBond007 = giTotalLevelsDeconstructor - 1;
}
};
saveGameData = function () {
var _local1 = new Object();
_local1.difficultySetted = nmDifficultySetted;
_local1.gameHasBeenCompleted = gGameHasBeenCompleted;
_local1.gListLevelStarsScore_Easy = gListLevelStarsScore_Easy;
_local1.gListLevelTimeScore_Easy = gListLevelTimeScore_Easy;
_local1.gListLevelStarsScore = gListLevelStarsScore;
_local1.gListLevelTimeScore = gListLevelTimeScore;
_local1.gListLevelStarsScore_Hard = gListLevelStarsScore_Hard;
_local1.gListLevelTimeScore_Hard = gListLevelTimeScore_Hard;
_local1.gListLevelStarsScore_Crazy = gListLevelStarsScore_Crazy;
_local1.gListLevelTimeScore_Crazy = gListLevelTimeScore_Crazy;
_local1.gListLevelStarsScore_JamesBond007 = gListLevelStarsScore_JamesBond007;
_local1.gListLevelTimeScore_JamesBond007 = gListLevelTimeScore_JamesBond007;
var _local2 = SharedObject.getLocal(nmRecordStoreName);
_local2.data.levelData = _local1;
_local2.flush();
};
saveGameDataLevel = function (p_totalTime, p_totalKills) {
switch (_root.nmDifficultySetted) {
case 0 :
if ((!isNaN(listLevelScore_Easy[gCurrentLevel])) && (listLevelScore_Easy[gCurrentLevel] != -1)) {
if (gListLevelTimeScore_Easy[gCurrentLevel] > p_totalTime) {
gListLevelTimeScore_Easy[gCurrentLevel] = p_totalTime;
}
if (gListLevelStarsScore_Easy[gCurrentLevel] < p_totalKills) {
gListLevelStarsScore_Easy[gCurrentLevel] = p_totalKills;
}
} else {
gListLevelTimeScore_Easy[gCurrentLevel] = p_totalTime;
gListLevelStarsScore_Easy[gCurrentLevel] = p_totalKills;
}
break;
case 1 :
if ((!isNaN(listLevelScore[gCurrentLevel])) && (listLevelScore[gCurrentLevel] != -1)) {
if (gListLevelTimeScore[gCurrentLevel] > p_totalTime) {
gListLevelTimeScore[gCurrentLevel] = p_totalTime;
}
if (gListLevelStarsScore[gCurrentLevel] < p_totalKills) {
gListLevelStarsScore[gCurrentLevel] = p_totalKills;
}
} else {
gListLevelTimeScore[gCurrentLevel] = p_totalTime;
gListLevelStarsScore[gCurrentLevel] = p_totalKills;
}
break;
case 2 :
if ((!isNaN(listLevelScore_Hard[gCurrentLevel])) && (listLevelScore_Hard[gCurrentLevel] != -1)) {
if (gListLevelTimeScore_Hard[gCurrentLevel] > p_totalTime) {
gListLevelTimeScore_Hard[gCurrentLevel] = p_totalTime;
}
if (gListLevelStarsScore_Hard[gCurrentLevel] < p_totalKills) {
gListLevelStarsScore_Hard[gCurrentLevel] = p_totalKills;
}
} else {
gListLevelTimeScore_Hard[gCurrentLevel] = p_totalTime;
gListLevelStarsScore_Hard[gCurrentLevel] = p_totalKills;
}
break;
case 3 :
if ((!isNaN(listLevelScore_Crazy[gCurrentLevel])) && (listLevelScore_Crazy[gCurrentLevel] != -1)) {
if (gListLevelTimeScore_Crazy[gCurrentLevel] > p_totalTime) {
gListLevelTimeScore_Crazy[gCurrentLevel] = p_totalTime;
}
if (gListLevelStarsScore_Crazy[gCurrentLevel] < p_totalKills) {
gListLevelStarsScore_Crazy[gCurrentLevel] = p_totalKills;
}
} else {
gListLevelTimeScore_Crazy[gCurrentLevel] = p_totalTime;
gListLevelStarsScore_Crazy[gCurrentLevel] = p_totalKills;
}
break;
case 4 :
if ((!isNaN(listLevelScore_JamesBond007[gCurrentLevel])) && (listLevelScore_JamesBond007[gCurrentLevel] != -1)) {
if (gListLevelTimeScore_JamesBond007[gCurrentLevel] > p_totalTime) {
gListLevelTimeScore_JamesBond007[gCurrentLevel] = p_totalTime;
}
if (gListLevelStarsScore_JamesBond007[gCurrentLevel] < p_totalKills) {
gListLevelStarsScore_JamesBond007[gCurrentLevel] = p_totalKills;
}
} else {
gListLevelTimeScore_JamesBond007[gCurrentLevel] = p_totalTime;
gListLevelStarsScore_JamesBond007[gCurrentLevel] = p_totalKills;
}
}
};
changeGameState = function (newState) {
gGeneralIterator = 0;
gLastState = gState;
gState = newState;
if (Define.DEBUG_STATES_MAIN) {
switch (gState) {
case Define.STATEGENERAL_MENU :
trace("_root.gState=Define.STATEGENERAL_MENU");
break;
case Define.STATEGENERAL_PAUSE :
trace("_root.gState=Define.STATEGENERAL_PAUSE");
break;
case Define.STATEGENERAL_GAME :
trace("_root.gState=Define.STATEGENERAL_GAME");
break;
case Define.STATEGENERAL_RESULT :
trace("_root.gState=Define.STATEGENERAL_RESULT");
}
}
};
mainGeneralLogic = function () {
_root.onEnterFrame = function () {
switch (gState) {
case Define.STATEGENERAL_MENU :
break;
case Define.STATEGENERAL_PAUSE :
if (gGeneralIterator < 10) {
gGeneralIterator++;
}
switch (gGeneralIterator) {
case 1 :
instClipMenuGame._visible = true;
instClipMenuGame.gotoAndPlay("pause");
_root.instGame.changeGeneralGameState(Define.STATE_GAME_PAUSE);
break;
case 2 :
gGeneralIterator = 1;
break;
default :
_root.instGame.changeGeneralGameState(_root.instGame.gLastStateGame);
instClipMenuGame.gotoAndStop("vacio");
instClipMenuGame._visible = false;
changeGameState(Define.STATEGENERAL_GAME);
gGeneralIterator = 6;
}
break;
case Define.STATEGENERAL_GAME :
if (gGeneralIterator < 10) {
gGeneralIterator++;
}
switch (gGeneralIterator) {
case 1 :
instClipMenuResultGame._visible = true;
instClipMenuResultGame.gotoAndStop("loading");
break;
case 2 :
_root.instGame.freeGame();
if (instClipMenuGame._visible) {
instClipMenuGame.gotoAndStop("vacio");
instClipMenuGame._visible = false;
}
nmInitialTime = new Date().getTime();
break;
case 3 :
_root.instGame.initGame(gCurrentLevel);
}
break;
case Define.STATEGENERAL_RESULT :
gGeneralIterator++;
switch (gGeneralIterator) {
case 1 :
instClipMenuResultGame._visible = true;
if (gIsSurvivalMode == true) {
instClipMenuResultGame.gotoAndPlay("highscore");
} else if (_root.instGame.gProtagonist._life > 0) {
saveGameDataLevel();
instClipMenuResultGame.gotoAndPlay("victory");
} else {
instClipMenuResultGame.gotoAndPlay("lose");
}
break;
case 2 :
break;
}
}
};
};
initGameStart = function (numberLevelToLoad) {
changeGameState(Define.STATEGENERAL_GAME);
gCurrentLevel = numberLevelToLoad;
if (gCurrentLevel > 0) {
_root.stopGameSounds();
}
};
nmRecordStoreName = Define.NAME_RECORDSET;
instClipMenuResultGame.gotoAndStop("parar");
instClipMenuResultGame._visible = false;
instClipPresentationLevel.gotoAndStop("vacio");
instClipPresentationLevel._visible = false;
instLabelEndGame._visible = false;
instMovieIntro.gotoAndStop(1);
instMovieIntro._visible = false;
var gListLevelStarsScore_Easy = new Array();
var gListLevelTimeScore_Easy = new Array();
var gListLevelStarsScore = new Array();
var gListLevelTimeScore = new Array();
var gListLevelStarsScore_Hard = new Array();
var gListLevelTimeScore_Hard = new Array();
var gListLevelStarsScore_Crazy = new Array();
var gListLevelTimeScore_Crazy = new Array();
var gListLevelStarsScore_JamesBond007 = new Array();
var gListLevelTimeScore_JamesBond007 = new Array();
var nmLevelToShow = 0;
var nmTotalLevelDone_Easy = 0;
var nmTotalLevelDone = 0;
var nmTotalLevelDone_Hard = 0;
var nmTotalLevelDone_Crazy = 0;
var nmTotalLevelDone_JamesBond007 = 0;
var nmInitialTime;
var timeDoneInCurrentLevel;
var gCurrentLevel = 0;
var gGeneralIterator = 0;
var gState;
var gLastState;
var nmDifficultySetted = 1;
changeGameState(Define.STATEGENERAL_MENU);
loadGameData();
mainGeneralLogic();
var gQualitySetted = 2;
_root._quality = "HIGH";
loadGameSound(Define.SOUND_MENU_MELODY);
loadGameSound(Define.SOUNDS_SELECCION);
loadGameSound(Define.SOUND_SHOOT_BAZOOKA);
loadGameSound(Define.SOUND_SHOOT_FIRE);
loadGameSound(Define.SOUND_SHOOT_GUN);
loadGameSound(Define.SOUND_SHOOT_MACHINEGUN);
loadGameSound(Define.SOUND_DAMAGE_PROTAGONIST);
loadGameSound(Define.SOUND_DEATH_VEHICLES);
loadGameSound(Define.SOUND_DEATH_HUMAN);
loadGameSound(Define.SOUND_DESTRUCTION_BUILDING);
loadGameSound(Define.SOUND_GAME_OVER);
loadGameSound(Define.SOUND_INI_LEVEL1);
loadGameSound(Define.SOUND_FIN_LEVEL1);
loadGameSound(Define.SOUND_INI_LEVEL2);
loadGameSound(Define.SOUND_FIN_LEVEL2);
loadGameSound(Define.SOUND_INI_LEVEL3);
loadGameSound(Define.SOUND_FIN_LEVEL3);
loadGameSound(Define.SOUND_INI_LEVEL4);
loadGameSound(Define.SOUND_FIN_LEVEL4);
loadGameSound(Define.SOUND_INI_LEVEL5);
loadGameSound(Define.SOUND_FIN_LEVEL5);
loadGameSound(Define.SOUND_INI_LEVEL6);
loadGameSound(Define.SOUND_FIN_LEVEL6);
loadGameSound(Define.SOUND_INI_LEVEL7);
loadGameSound(Define.SOUND_FIN_LEVEL7);
loadGameSound(Define.SOUND_ITEM_MACHINEGUN);
loadGameSound(Define.SOUND_ITEM_BAZOKA);
loadGameSound(Define.SOUND_ITEM_LANZALLAMAS);
loadGameSound(Define.SOUND_ITEM_LIFE);
loadGameSound(Define.SOUND_ITEM_SPEEDUP);
loadGameSound(Define.SOUND_ITEM_SHIELD);
loadGameSound(Define.SOUND_ITEM_SUPERBOMB1);
loadGameSound(Define.SOUND_ITEM_SUPERBOMB2);
loadGameSound(Define.SOUND_ITEM_SUPERBOMB3);
loadGameSound(Define.SOUND_ITEM_SUPERBOMB4);
loadGameSound(Define.SOUND_SUPER_BOMB1);
loadGameSound(Define.SOUND_SUPER_BOMB2);
loadGameSound(Define.SOUND_SUPER_BOMB3);
loadGameSound(Define.SOUND_SUPER_BOMB4);
loadGameSoundBackground(Define.SOUND_BACKGROUND_A);
loadGameSoundBackground(Define.SOUND_BACKGROUND_B);
loadGameSoundBackground(Define.SOUND_BACKGROUND_C);
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
stop();
Symbol 476 MovieClip [e-low] Frame 1
this.w = 10;
Symbol 482 MovieClip [g-low] Frame 1
this.w = 10;
Symbol 485 MovieClip [h-low] Frame 1
this.w = 10;
Symbol 488 MovieClip [i-low] Frame 1
this.w = 4;
Symbol 503 MovieClip [n-low] Frame 1
this.w = 9;
Symbol 506 MovieClip [o-low] Frame 1
this.w = 10;
Symbol 518 MovieClip [s-low] Frame 1
this.w = 10;
Symbol 521 MovieClip [t-low] Frame 1
this.w = 7;
Symbol 629 MovieClip [t-up] Frame 1
this.w = 14;
Symbol 669 MovieClip Frame 1
dabox._visible = false;
_parent.coolTxt(this, this.datxt, 0, 0, this.wid, this.speed, this.bol);
if (this.but) {
this.onRollOver = function () {
clearInterval(this.holder.myInt);
_parent.coolTxt(this, this.datxt, 0, 0, this.wid, 0, true);
};
this.onRollOut = function () {
clearInterval(this.holder.myInt);
_parent.coolTxt(this, this.datxt, 0, 0, this.wid, 0, this.bol);
};
}
Symbol 670 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
this.speed = 100;
this.datxt = "PLAY";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
_root.play();
};
}
Symbol 671 MovieClip [loadingPressButtonIniMovie] Frame 1
stop();
Symbol 671 MovieClip [loadingPressButtonIniMovie] Frame 2
stop();
Symbol 678 MovieClip Frame 1
dabox._visible = false;
_parent.coolTxt(this, this.datxt, 0, 0, this.wid, this.speed, this.bol);
if (this.but) {
this.onRollOver = function () {
clearInterval(this.holder.myInt);
_parent.coolTxt(this, this.datxt, 0, 0, this.wid, 0, true);
};
this.onRollOut = function () {
clearInterval(this.holder.myInt);
_parent.coolTxt(this, this.datxt, 0, 0, this.wid, 0, this.bol);
};
}
Symbol 679 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 679 MovieClip Frame 1
onClipEvent (load) {
this.speed = 50;
this.datxt = "A long time ago... a really long time ago.. when the Earth had the right conditions to harbor life, aliens used it to create their own species. The result shattered their expectations: their creation spun wildly out of control and now threatens to spread to the universe like a virus. IT'S TIME TO END THIS EXPERIMENT!";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 680 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
this.speed = 100;
this.datxt = "NEXT >>";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
_parent._parent.nextFrame();
};
}
Symbol 681 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "1. USE THE ARROW KEYS OR (A,W,S,D) TO MOVE AND THE SPACE BAR TO THROW SUPER ATTACK";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 682 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 682 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "2. USE THE MOUSE TO POINT AND SHOOT.";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 683 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 683 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "3. DESTROY ALL THE BUILDINGS IN THE LEVEL!";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 684 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
this.speed = 100;
this.datxt = "<< BACK";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
_parent._parent.prevFrame();
};
}
Symbol 734 MovieClip [gameclipItem] Frame 1
stop();
Symbol 734 MovieClip [gameclipItem] Frame 14
stop();
Symbol 734 MovieClip [gameclipItem] Frame 15
stop();
Symbol 734 MovieClip [gameclipItem] Frame 29
stop();
Symbol 734 MovieClip [gameclipItem] Frame 30
stop();
Symbol 734 MovieClip [gameclipItem] Frame 44
stop();
Symbol 734 MovieClip [gameclipItem] Frame 45
stop();
Symbol 734 MovieClip [gameclipItem] Frame 59
stop();
Symbol 734 MovieClip [gameclipItem] Frame 60
stop();
Symbol 734 MovieClip [gameclipItem] Frame 74
stop();
Symbol 734 MovieClip [gameclipItem] Frame 75
stop();
Symbol 734 MovieClip [gameclipItem] Frame 90
stop();
Symbol 734 MovieClip [gameclipItem] Frame 91
stop();
Symbol 734 MovieClip [gameclipItem] Frame 106
stop();
Symbol 735 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 735 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Recover 50% of life";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 736 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Machine gun: Fast fire&medium power";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 737 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Rocket launcher: Slow fire&high power";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 738 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 738 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Flamethrowers: Fast fire&high power";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 739 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Speed Up: Time goes faster";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 740 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 740 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Shield: Protects you for a few seconds";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 741 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Super Attack: With 4 stars you will blow everything up!";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 742 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 742 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Enjoy finishing \" Experiment: Planet Earth\"";
this.wid = 550;
this.bol = true;
this.but = true;
}
Symbol 743 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 2
stop();
Symbol 743 MovieClip Frame 3
instGameclipItem1.gotoAndPlay("item_life");
instGameclipItem2.gotoAndPlay("item_metralleta");
instGameclipItem3.gotoAndPlay("item_bazoka");
instGameclipItem4.gotoAndPlay("item_fire");
instGameclipItem5.gotoAndPlay("item_fast");
instGameclipItem6.gotoAndPlay("item_slow");
instGameclipItem7.gotoAndPlay("item_super");
stop();
Symbol 743 MovieClip Frame 4
stop();
Symbol 744 MovieClip [cargador] Frame 1
kabiertos = int(_root.getBytesLoaded() / 1024);
ktotal = int(_root.getBytesTotal() / 1024);
porcentaje = int((kabiertos * 100) / ktotal);
instLoadingBarProgress.instLoadingPressButtonIniMovie.instText.text = ("LOADING " + porcentaje) + "%";
instLoadingBarProgress.instMaskLoadingBarProgress.gotoAndStop(50 - Math.floor(porcentaje / 2));
if (kabiertos >= ktotal) {
instLoadingBarProgress.instLoadingPressButtonIniMovie.gotoAndStop(2);
}
Symbol 2218 MovieClip [__Packages.Define] Frame 0
class Define
{
function Define () {
}
static function getDirection(posOrigin, posDestination) {
var _local4;
var _local3;
if ((posOrigin.x == posDestination.x) && (posOrigin.y == posDestination.y)) {
return(DIRECTION_NONE);
}
_local4 = posOrigin.x - posDestination.x;
_local3 = posOrigin.y - posDestination.y;
if (Math.abs(_local4) > Math.abs(_local3)) {
if (_local4 > 0) {
return(DIRECTION_LEFT);
}
return(DIRECTION_RIGHT);
}
if (_local3 > 0) {
return(DIRECTION_UP);
}
return(DIRECTION_DOWN);
}
static function getDirectionPlus(posOrigin, posDestination) {
var _local2 = posOrigin.x - posDestination.x;
var _local1 = posOrigin.y - posDestination.y;
if (_local2 == 0) {
if (_local1 > 0) {
return(DIRECTION_UP);
}
return(DIRECTION_DOWN);
}
if (_local1 == 0) {
if (_local2 > 0) {
return(DIRECTION_LEFT);
}
return(DIRECTION_RIGHT);
}
if (_local2 > 0) {
if (_local1 > 0) {
return(DIRECTION_UP_LEFT);
}
return(DIRECTION_DOWN_LEFT);
}
if (_local1 > 0) {
return(DIRECTION_UP_RIGHT);
}
return(DIRECTION_DOWN_RIGHT);
}
static function getDirectionOpposite(direccion) {
switch (direccion) {
case DIRECTION_UP :
return(DIRECTION_DOWN);
case DIRECTION_DOWN :
return(DIRECTION_UP);
case DIRECTION_RIGHT :
return(DIRECTION_LEFT);
case DIRECTION_LEFT :
return(DIRECTION_RIGHT);
case DIRECTION_UP_LEFT :
return(DIRECTION_DOWN_RIGHT);
case DIRECTION_UP_RIGHT :
return(DIRECTION_DOWN_LEFT);
case DIRECTION_DOWN_LEFT :
return(DIRECTION_UP_RIGHT);
case DIRECTION_DOWN_RIGHT :
return(DIRECTION_UP_LEFT);
}
return(DIRECTION_NONE);
}
static function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
static function incrementAngle(p_yaw, p_incr) {
return(p_yaw + p_incr);
}
static function getRadians(valueGrad) {
return((valueGrad * Math.PI) / 180);
}
static function getGrados(valueRad) {
return((valueRad * 180) / Math.PI);
}
static function movePointYaw(pos, yaw, stepLength) {
var _local1 = new flash.geom.Point(pos.x, pos.y);
_local1.x = _local1.x + (stepLength * Math.cos(yaw));
_local1.y = _local1.y + (stepLength * Math.sin(yaw));
return(_local1);
}
static function distancePoint(posA, posB) {
return(flash.geom.Point.distance(posA, posB));
}
static function moveDirection(posMove, directionMove, stepLength) {
var _local1 = new flash.geom.Point(posMove.x, posMove.y);
switch (directionMove) {
case DIRECTION_LEFT :
_local1.x = _local1.x - stepLength;
break;
case DIRECTION_RIGHT :
_local1.x = _local1.x + stepLength;
break;
case DIRECTION_UP :
_local1.y = _local1.y - stepLength;
break;
case DIRECTION_DOWN :
_local1.y = _local1.y + stepLength;
break;
case DIRECTION_UP_LEFT :
_local1.x = _local1.x - stepLength;
_local1.y = _local1.y - stepLength;
break;
case DIRECTION_UP_RIGHT :
_local1.x = _local1.x + stepLength;
_local1.y = _local1.y - stepLength;
break;
case DIRECTION_DOWN_LEFT :
_local1.x = _local1.x - stepLength;
_local1.y = _local1.y + stepLength;
break;
case DIRECTION_DOWN_RIGHT :
_local1.x = _local1.x + stepLength;
_local1.y = _local1.y + stepLength;
}
return(_local1);
}
static function moveDirectionPlus(posMove, directionMove, stepLength, stepXDif, stepYDif) {
var _local1 = new flash.geom.Point(posMove.x, posMove.y);
switch (directionMove) {
case DIRECTION_LEFT :
if (stepXDif > stepLength) {
_local1.x = _local1.x - stepLength;
} else {
_local1.x = _local1.x - stepXDif;
}
break;
case DIRECTION_RIGHT :
if (stepXDif > stepLength) {
_local1.x = _local1.x + stepLength;
} else {
_local1.x = _local1.x + stepXDif;
}
break;
case DIRECTION_UP :
if (stepYDif > stepLength) {
_local1.y = _local1.y - stepLength;
} else {
_local1.y = _local1.y - stepYDif;
}
break;
case DIRECTION_DOWN :
if (stepYDif > stepLength) {
_local1.y = _local1.y + stepLength;
} else {
_local1.y = _local1.y + stepYDif;
}
break;
case DIRECTION_UP_LEFT :
if (stepXDif > stepLength) {
_local1.x = _local1.x - stepLength;
} else {
_local1.x = _local1.x - stepXDif;
}
if (stepYDif > stepLength) {
_local1.y = _local1.y - stepLength;
} else {
_local1.y = _local1.y - stepYDif;
}
break;
case DIRECTION_UP_RIGHT :
if (stepXDif > stepLength) {
_local1.x = _local1.x + stepLength;
} else {
_local1.x = _local1.x + stepXDif;
}
if (stepYDif > stepLength) {
_local1.y = _local1.y - stepLength;
} else {
_local1.y = _local1.y - stepYDif;
}
break;
case DIRECTION_DOWN_LEFT :
if (stepXDif > stepLength) {
_local1.x = _local1.x - stepLength;
} else {
_local1.x = _local1.x - stepXDif;
}
if (stepYDif > stepLength) {
_local1.y = _local1.y + stepLength;
} else {
_local1.y = _local1.y + stepYDif;
}
break;
case DIRECTION_DOWN_RIGHT :
if (stepXDif > stepLength) {
_local1.x = _local1.x + stepLength;
} else {
_local1.x = _local1.x + stepXDif;
}
if (stepYDif > stepLength) {
_local1.y = _local1.y + stepLength;
} else {
_local1.y = _local1.y + stepYDif;
}
}
return(_local1);
}
static function getOrientationToPoint(p_posOrigin, p_posGoal) {
return(Math.atan2(p_posGoal.y - p_posOrigin.y, p_posGoal.x - p_posOrigin.x));
}
static function moveYaw(p_pos, p_yaw, p_stepLength) {
return(new flash.geom.Point(p_pos.x + (p_stepLength * Math.cos(p_yaw)), p_pos.y + (p_stepLength * Math.sin(p_yaw))));
}
static function isInsideBox(p_pos, p_x_origin, p_y_origin, p_x_end, p_y_end) {
return((((p_pos.x > p_x_origin) && (p_pos.y > p_y_origin)) && (p_pos.x < p_x_end)) && (p_pos.y < p_y_end));
}
static function askDirectionPoint(p_pos, p_yaw, p_objetive) {
var _local4 = new Array(p_pos.x, 0, p_pos.y);
var _local8 = new Array(p_pos.x + Math.cos(p_yaw), 0, p_pos.y + Math.sin(p_yaw));
var _local7 = new Array(p_pos.x, 1, p_pos.y);
var _local3 = new Array(0, 0, 0);
var _local2 = new Array(0, 0, 0);
var _local1 = new Array(0, 0, 0);
_local3[0] = _local8[0] - _local4[0];
_local3[1] = _local8[1] - _local4[1];
_local3[2] = _local8[2] - _local4[2];
_local2[0] = _local7[0] - _local4[0];
_local2[1] = _local7[1] - _local4[1];
_local2[2] = _local7[2] - _local4[2];
_local1[0] = (_local3[1] * _local2[2]) - (_local3[2] * _local2[1]);
_local1[1] = (_local3[2] * _local2[0]) - (_local3[0] * _local2[2]);
_local1[2] = (_local3[0] * _local2[1]) - (_local3[1] * _local2[0]);
var _local5 = Math.sqrt(((_local1[0] * _local1[0]) + (_local1[1] * _local1[1])) + (_local1[2] * _local1[2]));
if (_local5 == 0) {
_local1[0] = 0;
_local1[1] = 0;
_local1[2] = 0;
} else {
_local1[0] = _local1[0] / _local5;
_local1[1] = _local1[1] / _local5;
_local1[2] = _local1[2] / _local5;
}
var _local9 = -(((_local1[0] * _local4[0]) + (_local1[1] * _local4[1])) + (_local1[2] * _local4[2]));
return(((p_objetive.x * _local1[0]) + (p_objetive.y * _local1[2])) + _local9);
}
static function getDistancePlanePoint(p_pos, p_yaw, p_objetive) {
var _local4 = new Array(p_pos.x, 0, p_pos.y);
var _local8 = new Array(p_pos.x + Math.cos(p_yaw + (Math.PI/2)), 0, p_pos.y + Math.sin(p_yaw + (Math.PI/2)));
var _local7 = new Array(p_pos.x, 1, p_pos.y);
var _local3 = new Array(0, 0, 0);
var _local2 = new Array(0, 0, 0);
var _local1 = new Array(0, 0, 0);
_local3[0] = _local8[0] - _local4[0];
_local3[1] = _local8[1] - _local4[1];
_local3[2] = _local8[2] - _local4[2];
_local2[0] = _local7[0] - _local4[0];
_local2[1] = _local7[1] - _local4[1];
_local2[2] = _local7[2] - _local4[2];
_local1[0] = (_local3[1] * _local2[2]) - (_local3[2] * _local2[1]);
_local1[1] = (_local3[2] * _local2[0]) - (_local3[0] * _local2[2]);
_local1[2] = (_local3[0] * _local2[1]) - (_local3[1] * _local2[0]);
var _local5 = Math.sqrt(((_local1[0] * _local1[0]) + (_local1[1] * _local1[1])) + (_local1[2] * _local1[2]));
if (_local5 == 0) {
_local1[0] = 0;
_local1[1] = 0;
_local1[2] = 0;
} else {
_local1[0] = _local1[0] / _local5;
_local1[1] = _local1[1] / _local5;
_local1[2] = _local1[2] / _local5;
}
var _local9 = -(((_local1[0] * _local4[0]) + (_local1[1] * _local4[1])) + (_local1[2] * _local4[2]));
return(Math.abs(((p_objetive.x * _local1[0]) + (p_objetive.y * _local1[2])) + _local9));
}
static function logicAlineation(yaw, pos, goal) {
var _local8 = new Array(Math.cos(yaw), Math.sin(yaw));
var _local1 = new Array(goal.x - pos.x, goal.y - pos.y);
var _local2 = Math.sqrt((_local1[0] * _local1[0]) + (_local1[1] * _local1[1]));
if (_local2 == 0) {
_local1[0] = 0;
_local1[1] = 0;
} else {
_local1[0] = _local1[0] / _local2;
_local1[1] = _local1[1] / _local2;
}
var _local6 = (_local8[0] * _local1[0]) + (_local8[1] * _local1[1]);
var _local3 = 0.4;
if (_local6 > 0.9) {
_local3 = 1 - _local6;
}
var _local5 = askDirectionPoint(pos, yaw, goal);
var _local4 = yaw;
if (_local5 > 0) {
_local4 = _local4 + _local3;
} else {
_local4 = _local4 - _local3;
}
return(new flash.geom.Point(_local4, _local5));
}
static function setMovieClipAlineation(gameClipObject, yaw) {
gameClipObject._rotation = (yaw * 180) / Math.PI;
}
static function setUpYawToPoint(posOrigin, posGoal) {
var _local2 = posGoal.x - posOrigin.x;
var _local1 = posGoal.y - posOrigin.y;
return(Math.atan2(_local1, _local2));
}
static function getDedicatedName(index) {
switch (index) {
case 0 :
return("CARLOS MU.");
case 1 :
return("XAVIER MI.");
case 2 :
return("ROBERTO GR.");
case 3 :
return("DAVID LU.");
case 4 :
return("LUIS AL.");
case 5 :
return("MANUEL LE.");
case 6 :
return("PEDRO PU.");
case 7 :
return("JAVIER GO.");
case 8 :
return("FEDE RU.");
case 9 :
return("MARICARMEN");
case 10 :
return("PIEDAD GA.");
case 11 :
return("MARIO RE.");
case 12 :
return("RAQUEL NO.");
case 13 :
return("RAQUEL OR.");
case 14 :
return("MAR");
case 15 :
return("CARLOS DE.");
case 16 :
return("JUAN ANTONIO");
case 17 :
return("VICENS NO.");
case 18 :
return("LOLI AG.");
case 19 :
return("VICTOR");
case 20 :
return("SONIA");
case 21 :
return("OSCAR");
case 22 :
return("KARLOS");
}
}
static function getDay(p_day) {
switch (p_day) {
case 0 :
return("IN THE SMALL CITY");
case 1 :
return("CLEANING SMALL CITY");
case 2 :
return("SUNNY BEACH");
case 3 :
return("THE PALMS MUST BE FREE");
case 4 :
return("IN THE BIG CITY");
case 5 :
return("BIG CITY OF RATS");
case 6 :
return("THE NATURE MUST WIN!!!");
case 7 :
return("SURVIVAL!!!");
}
}
static function getDifficultyText(p_diff) {
switch (p_diff) {
case 0 :
return("DIFFICULTY EASY");
case 1 :
return("DIFFICULTY NORMAL");
case 2 :
return("DIFFICULTY HARD");
case 3 :
return("DIFFICULTY CRAZY");
}
}
static function getVoice(p_voice) {
switch (p_voice) {
case SOUND_INI_LEVEL1 :
return("Begin Level 1");
case SOUND_FIN_LEVEL1 :
return("End Level 1");
case SOUND_INI_LEVEL2 :
return("Begin Level 2");
case SOUND_FIN_LEVEL2 :
return("End Level 2");
case SOUND_INI_LEVEL3 :
return("Begin Level 3");
case SOUND_FIN_LEVEL3 :
return("End Level 3");
case SOUND_INI_LEVEL4 :
return("Begin Level 4");
case SOUND_FIN_LEVEL4 :
return("End Level 4");
case SOUND_INI_LEVEL5 :
return("Begin Level 5");
case SOUND_FIN_LEVEL5 :
return("End Level 5");
case SOUND_INI_LEVEL6 :
return("Begin Level 6");
case SOUND_FIN_LEVEL6 :
return("End Level 6");
case SOUND_INI_LEVEL7 :
return("Begin Level 7");
case SOUND_FIN_LEVEL7 :
return("End Level 7");
case SOUND_ITEM_MACHINEGUN :
return("Item gunshot\nBY\n<a href=\"http://www.xraybookco.com/\">Johnny Brewton</a>");
case SOUND_ITEM_BAZOKA :
return("Item bazooka\nBY\n<a href=\"http://www.swishsource.com/\">DJ SnowFlake</a>");
case SOUND_ITEM_LANZALLAMAS :
return("Item fireflame\nBY\n<a href=\"http://www.swishsource.com/\">DJ SnowFlake</a>");
case SOUND_ITEM_LIFE :
return("Item life\nBY\n<a href=\"http://www.flashkit.com/soundfx/Cartoon/skd-skd-8606/index.php\"> skd</a>");
case SOUND_ITEM_SPEEDUP :
return("Item speed up\nBY\n<a href=\"http://www.flashkit.com/soundfx/Cartoon/quick_le-Public_D-410/index.php\">Public Domain</a>");
case SOUND_ITEM_SHIELD :
return("Item shield\nBY\n<a href=\"http://www.xkrew.com/\">xk</a>");
case SOUND_ITEM_SUPERBOMB1 :
return("1 star\nBY\n<a href=\"http://www.freewebs.com/dragonball_english/\">zamorak93</a>");
case SOUND_ITEM_SUPERBOMB2 :
return("2 stars");
case SOUND_ITEM_SUPERBOMB3 :
return("3 stars");
case SOUND_ITEM_SUPERBOMB4 :
return("4 stars");
}
}
static var ENABLE_XML_FILE_INTEGRATED = true;
static var ENABLE_EXTRA_GREAT_SOUNDS = false;
static var NAME_RECORDSET = "DeconstructorAo";
static var NORMAL_FRAME_RATE = 20;
static var SLOW_FRAME_RATE = 19;
static var FAST_FRAME_RATE = 2;
static var FRAME_RATE_OF_THE_GAME = 16;
static var MINI_MAPT_WIDTH = 96;
static var MINI_MAPT_HEIGHT = 96;
static var TOTAL_TIME_SLOW_DOWN = 10000;
static var TOTAL_TIME_FAST_UP = 10000;
static var DISTANCE_HIT_FOR_ENEMY_COLLISION_WITH_PLAYER = 30;
static var DISTANCE_HIT_SHOOT_PLAYER = 25;
static var DISTANCE_HIT_SHOOT_ENEMY = 35;
static var NUMBER_HITS_BUILDING = 10;
static var TOTAL_NUMBER_OF_SHOOTS = 36;
static var TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER = 11;
static var TOTAL_NUMBER_OF_ITEMS = 10;
static var TOTAL_NUMBER_OF_ENEMIES = 15;
static var TOTAL_NUMBER_OF_NPCS = 15;
static var TOTAL_NUMBER_OF_LEVELS = 7;
static var STATEGENERAL_MENU = 0;
static var STATEGENERAL_PAUSE = 1;
static var STATEGENERAL_GAME = 2;
static var STATEGENERAL_RESULT = 3;
static var DEBUG_STATES_MAIN = false;
static var DEBUG_GENERAL = false;
static var DEBUG_XML_LOAD = false;
static var DEBUG_MAKE_BUILDING = false;
static var DEBUG_PROTAGONIST = false;
static var DEBUG_SHOOT = false;
static var DEBUG_ITEM = false;
static var DEBUG_ENEMY = false;
static var DEBUG_NPC = false;
static var STATE_GAME_PRE_LOADING = 0;
static var STATE_GAME_LOADING = 1;
static var STATE_GAME_PRESENTATION = 2;
static var STATE_GAME_RUN = 3;
static var STATE_GAME_VICTORY = 4;
static var STATE_GAME_LOSE = 5;
static var STATE_GAME_PAUSE = 6;
static var DIRECTION_LEFT = 0;
static var DIRECTION_RIGHT = 1;
static var DIRECTION_UP = 2;
static var DIRECTION_DOWN = 3;
static var DIRECTION_UP_LEFT = 4;
static var DIRECTION_UP_RIGHT = 5;
static var DIRECTION_DOWN_LEFT = 6;
static var DIRECTION_DOWN_RIGHT = 7;
static var DIRECTION_NONE = -1;
static var CLASS_PROTAGONIST = 0;
static var CLASS_ENEMY_TYPE = 1;
static var CLASS_ITEM = 2;
static var CLASS_SHOOT = 3;
static var CLASS_NPC = 4;
static var OBJ_PROTAGONIST = 0;
static var OBJ_ENEMY_TYPE_BASIC = 1;
static var OBJ_ENEMY_TYPE_MEDIUM = 2;
static var OBJ_ENEMY_TYPE_BAZOKA = 3;
static var OBJ_ENEMY_TYPE_GENERAL = 4;
static var OBJ_ENEMY_TYPE_MOTORBIKE = 5;
static var OBJ_ENEMY_TYPE_TANK = 6;
static var OBJ_ENEMY_TYPE_CHOPTER = 7;
static var OBJ_ITEM_LIFE = 8;
static var OBJ_ITEM_METRALLETA = 9;
static var OBJ_ITEM_FAST = 10;
static var OBJ_ITEM_SUPER = 11;
static var OBJ_ITEM_BAZOKA = 12;
static var OBJ_ITEM_SLOW = 13;
static var OBJ_ITEM_LANZALLAMAS = 14;
static var OBJ_SHOOT_NORMAL = 15;
static var OBJ_SHOOT_METRALLETA = 16;
static var OBJ_SHOOT_BAZOKA = 17;
static var OBJ_SHOOT_LANZALLAMAS = 18;
static var OBJ_SHOOT_SUPER = 19;
static var OBJ_NPC_CAR_1 = 20;
static var OBJ_NPC_CAR_2 = 21;
static var OBJ_NPC_CAR_3 = 22;
static var OBJ_NPC_HUMAN_1 = 23;
static var OBJ_NPC_HUMAN_2 = 24;
static var OBJ_NPC_HUMAN_3 = 25;
static var LAYER_NPC_CAR = 100;
static var LAYER_NPC_HUMAN = 200;
static var LAYER_ITEM = 1000;
static var LAYER_ENEMY_TYPE = 2000;
static var LAYER_ENEMY_MOTORBIKE = 2200;
static var LAYER_ENEMY_TANK = 2400;
static var LAYER_ENEMY_CHOPTER = 2600;
static var LAYER_PROTAGONIST = 3000;
static var LAYER_SHOOT = 4000;
static var LAYER_MIRILLA = 5000;
static var SPEED_PROTAGONIST = 7;
static var LIFE_PROTAGONIST = 400;
static var LIFE_ENEMY_TYPE_BASIC = 10;
static var LIFE_ENEMY_TYPE_MEDIUM = 15;
static var LIFE_ENEMY_TYPE_BAZOKA = 20;
static var LIFE_ENEMY_TYPE_GENERAL = 20;
static var LIFE_ENEMY_TYPE_MOTORBIKE = 30;
static var LIFE_ENEMY_TYPE_TANK = 50;
static var LIFE_ENEMY_TYPE_CHOPTER = 30;
static var DAMAGE_PLAYER_SHOOT_NORMAL = 5;
static var DAMAGE_PLAYER_SHOOT_METRALLETA = 10;
static var DAMAGE_PLAYER_SHOOT_BAZOKA = 20;
static var DAMAGE_PLAYER_SHOOT_LANZALLAMAS = 10;
static var DAMAGE_ENEMY_SHOOT_NORMAL = 4;
static var DAMAGE_ENEMY_SHOOT_METRALLETA = 8;
static var DAMAGE_ENEMY_SHOOT_BAZOKA = 15;
static var DAMAGE_ENEMY_SHOOT_LANZALLAMAS = 8;
static var SOUND_MENU_MELODY = 0;
static var SOUNDS_SELECCION = 1;
static var SOUND_SHOOT_BAZOOKA = 2;
static var SOUND_SHOOT_FIRE = 3;
static var SOUND_SHOOT_GUN = 4;
static var SOUND_SHOOT_MACHINEGUN = 5;
static var SOUND_DAMAGE_PROTAGONIST = 6;
static var SOUND_DEATH_VEHICLES = 7;
static var SOUND_DEATH_HUMAN = 8;
static var SOUND_DESTRUCTION_BUILDING = 9;
static var SOUND_GAME_OVER = 10;
static var SOUND_INI_LEVEL1 = 11;
static var SOUND_FIN_LEVEL1 = 12;
static var SOUND_INI_LEVEL2 = 13;
static var SOUND_FIN_LEVEL2 = 14;
static var SOUND_INI_LEVEL3 = 15;
static var SOUND_FIN_LEVEL3 = 16;
static var SOUND_INI_LEVEL4 = 17;
static var SOUND_FIN_LEVEL4 = 18;
static var SOUND_INI_LEVEL5 = 19;
static var SOUND_FIN_LEVEL5 = 20;
static var SOUND_INI_LEVEL6 = 21;
static var SOUND_FIN_LEVEL6 = 22;
static var SOUND_INI_LEVEL7 = 23;
static var SOUND_FIN_LEVEL7 = 24;
static var SOUND_ITEM_MACHINEGUN = 25;
static var SOUND_ITEM_BAZOKA = 26;
static var SOUND_ITEM_LANZALLAMAS = 27;
static var SOUND_ITEM_LIFE = 28;
static var SOUND_ITEM_SPEEDUP = 29;
static var SOUND_ITEM_SHIELD = 30;
static var SOUND_ITEM_SUPERBOMB1 = 31;
static var SOUND_ITEM_SUPERBOMB2 = 32;
static var SOUND_ITEM_SUPERBOMB3 = 33;
static var SOUND_ITEM_SUPERBOMB4 = 34;
static var SOUND_SUPER_BOMB1 = 35;
static var SOUND_SUPER_BOMB2 = 36;
static var SOUND_SUPER_BOMB3 = 37;
static var SOUND_SUPER_BOMB4 = 38;
static var SOUND_BACKGROUND_A = 0;
static var SOUND_BACKGROUND_B = 1;
static var SOUND_BACKGROUND_C = 2;
static var TOTAL_NAMES_AVAILABLE = 22;
}
Symbol 2219 MovieClip [__Packages.cObject] Frame 0
class cObject
{
var _gWorld, _clip, _myName, _active, _type, _pos, _posInitial, _posLast, _yaw, _stepLength, _timeAcum, _impact, _animation, _clase, _lastState, _state, _iterator, _life, _onFire, _onFireTypeOfShoot, _onFireNumberOfShoots, _initialLifes, _belongs, _damage, _stateAlineation, _id, _waypoint, _iteratorVisibility, _iteratorToShoot, _isVisibleProtagonist, _nameDedicated, _distanceToShoot, _regionWaypoint, _behaviour, _yawFixed;
function cObject (gWorld, clip, myName) {
_gWorld = gWorld;
_clip = clip;
_myName = myName;
_active = false;
_clip._visible = false;
}
function init(type, pos, yaw, stepLength) {
_type = type;
_pos = new flash.geom.Point(pos.x, pos.y);
_posInitial = new flash.geom.Point(pos.x, pos.y);
_posLast = new flash.geom.Point(pos.x, pos.y);
_yaw = yaw;
_stepLength = stepLength;
_timeAcum = 0;
_impact = 0;
_animation = -1;
setActiveElement();
_clip._x = _pos.x;
_clip._y = _pos.y;
}
function changeAnimation(p_nameAnimation, p_typeAnimation, p_mode) {
if (_animation != p_typeAnimation) {
_animation = p_typeAnimation;
if (p_mode == 0) {
_clip.gotoAndPlay(p_nameAnimation);
} else {
_clip.gotoAndStop(p_nameAnimation);
}
}
}
function freeResources() {
_active = false;
_clip._visible = false;
_clip.removeMovieClip();
switch (_clase) {
case Define.CLASS_PROTAGONIST :
break;
case Define.CLASS_ENEMY_TYPE :
break;
case Define.CLASS_ITEM :
break;
case Define.CLASS_SHOOT :
break;
case Define.CLASS_NPC :
}
}
function changeState(newstate) {
_lastState = _state;
_state = newstate;
_iterator = 0;
_timeAcum = 0;
}
function testClipColision(p_clip, p_damage) {
if (_active == true) {
if (_life > 0) {
if (p_clip.hitTest(_clip)) {
_impact = _impact + p_damage;
return(true);
}
}
}
}
function desactiveElement() {
if (_active == true) {
_active = false;
_clip._visible = false;
}
}
function setActiveElement() {
_active = true;
_clip._visible = true;
}
function logic() {
if (!_active) {
if (_clip._visible) {
_clip._visible = false;
}
return(false);
}
switch (_clase) {
case Define.CLASS_PROTAGONIST :
if (Define.DEBUG_PROTAGONIST) {
trace("cObject.logic: CLASS PROTAGONIST");
}
logicProtagonist();
break;
case Define.CLASS_ENEMY_TYPE :
logicEnemy();
break;
case Define.CLASS_ITEM :
logicItem();
break;
case Define.CLASS_SHOOT :
logicShoot();
break;
case Define.CLASS_NPC :
logicNPC();
}
_clip._x = _pos.x;
_clip._y = _pos.y;
return(true);
}
function initProtagonist(type, pos, yaw, stepLength) {
if (Define.DEBUG_PROTAGONIST) {
trace("attachGameMovie: PROTAGONIST MOVIE ATTACHED");
}
init(type, pos, yaw, stepLength);
_clip.instGameClipShield._visible = false;
_clase = Define.CLASS_PROTAGONIST;
_onFire = false;
_onFireTypeOfShoot = Define.OBJ_SHOOT_NORMAL;
_onFireNumberOfShoots = 0;
switch (_root.instGame.nmCurrentLevel) {
case 0 :
_pos.x = 530;
_pos.y = 550;
_life = 20;
break;
case 1 :
_pos.x = 550;
_pos.y = 550;
_life = 30;
break;
case 2 :
_pos.x = 550;
_pos.y = 1400;
_life = 35;
break;
case 3 :
_pos.x = 100;
_pos.y = 770;
_life = 45;
break;
case 4 :
_pos.x = 220;
_pos.y = 550;
_life = 45;
break;
case 5 :
_pos.x = 650;
_pos.y = 220;
_life = 45;
break;
case 6 :
_pos.x = 1090;
_pos.y = 1090;
_life = 70;
break;
case 7 :
_pos.x = 1040;
_pos.y = 1150;
_life = 60;
break;
default :
_pos.x = pos.x;
_pos.y = pos.y;
_life = 60;
}
_posInitial.x = pos.x;
_posInitial.y = pos.y;
_posLast.x = pos.x;
_posLast.y = pos.y;
if (_root.nmDifficultySetted != 4) {
var _local4 = Math.floor(((_root.nmDifficultySetted - 1) * _life) / 4);
_life = _life - _local4;
_initialLifes = _life;
} else {
_life = 2;
_initialLifes = _life;
}
changeState(STATE_PROTAGONIST_PRESENTATION);
_clip.gotoAndPlay("protagonist_victory");
}
function keyBoardInputMovement() {
_posInitial.x = _pos.x;
_posInitial.y = _pos.y;
if (Key.isDown(39) || (Key.isDown(68))) {
_posInitial.x = _posInitial.x + _stepLength;
}
if (Key.isDown(38) || (Key.isDown(87))) {
_posInitial.y = _posInitial.y - _stepLength;
}
if (Key.isDown(37) || (Key.isDown(65))) {
_posInitial.x = _posInitial.x - _stepLength;
}
if (Key.isDown(40) || (Key.isDown(83))) {
_posInitial.y = _posInitial.y + _stepLength;
}
if (Key.isDown(32)) {
if (_root.instGame.gNumberTotalSuperBomb > 0) {
_root.instGame.exploteAllShoots();
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_SUPER, _pos, _yaw, _stepLength * 2.5, _root.instGame.gNumberTotalSuperBomb, 0, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER);
_root.instGame.gNumberTotalSuperBomb = 0;
_root.instGame.logicInterfaceSuperBomb();
}
}
if ((_posInitial.x != _pos.x) || (_posInitial.y != _pos.y)) {
var _local3 = ((((_posInitial.x - 20) < 0) || ((_posInitial.y - 40) < 0)) || ((_posInitial.x + 20) > _gWorld._iWidthWorldComplete)) || ((_posInitial.y + 20) > _gWorld._iHeightWorldComplete);
if ((_gWorld.isCollision(_posInitial) == false) && (_local3 == false)) {
_posLast.x = _pos.x;
_posLast.y = _pos.y;
_pos.x = _posInitial.x;
_pos.y = _posInitial.y;
if (_animation != ANIMATION_PROTAGONIST_WALK) {
changeAnimation("protagonist_walk" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_WALK, 0);
}
} else {
_clip.gotoAndPlay("");
if (_animation != ANIMATION_PROTAGONIST_QUIET) {
changeAnimation("protagonist_quiet" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_QUIET, 0);
}
}
} else if (_animation != ANIMATION_PROTAGONIST_QUIET) {
changeAnimation("protagonist_quiet" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_QUIET, 0);
}
}
function getAnimWeaponCarried() {
switch (_onFireTypeOfShoot) {
case Define.OBJ_SHOOT_METRALLETA :
return("_metralladora");
case Define.OBJ_SHOOT_BAZOKA :
return("_bazoka");
case Define.OBJ_SHOOT_LANZALLAMAS :
return("_fire");
}
return("");
}
function logicProtagonist() {
if (_impact > 0) {
_life = _life - _impact;
_impact = 0;
_root.playGameSound(Define.SOUND_DAMAGE_PROTAGONIST, 1);
if (_life <= 0) {
if (_animation != ANIMATION_PROTAGONIST_DEATH) {
changeAnimation("protagonist_death", ANIMATION_PROTAGONIST_DEATH, 0);
}
changeState(STATE_PROTAGONIST_LOSE);
}
_root.instGame.logicInterfacePlayer();
}
switch (_state) {
case STATE_PROTAGONIST_PRESENTATION :
if (_iterator < 10) {
_iterator++;
}
if (_iterator < 3) {
if (_animation != ANIMATION_PROTAGONIST_VICTORY) {
changeAnimation("protagonist_victory", ANIMATION_PROTAGONIST_VICTORY, 0);
}
}
if (Key.isDown(32)) {
changeState(STATE_PROTAGONIST_RUN);
}
break;
case STATE_PROTAGONIST_RUN :
keyBoardInputMovement();
var _local3 = new flash.geom.Point(_pos.x - _gWorld._myCamera.x, _pos.y - _gWorld._myCamera.y);
var _local4 = new flash.geom.Point(_root.instGame.gMirilla.pos.x - _gWorld._myCamera.x, _root.instGame.gMirilla.pos.y - _gWorld._myCamera.y);
_yaw = Define.setUpYawToPoint(_local3, _local4);
Define.setMovieClipAlineation(_clip, _yaw);
if (_iterator < 20) {
_iterator++;
}
if (_onFire) {
switch (_onFireTypeOfShoot) {
case Define.OBJ_SHOOT_NORMAL :
if (_iterator > 5) {
_iterator = 0;
if (_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_NORMAL, _pos, _yaw, _stepLength * 2.5, SHOOT_FROM_PROTAGONIST, 0, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER - 1)) {
_root.playGameSound(Define.SOUND_SHOOT_GUN, 1);
}
}
break;
case Define.OBJ_SHOOT_METRALLETA :
if (_onFireNumberOfShoots > 0) {
if (_iterator > 3) {
_iterator = 0;
_onFireNumberOfShoots--;
if (_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_METRALLETA, _pos, _yaw, _stepLength * 3.5, SHOOT_FROM_PROTAGONIST, 0, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER - 1)) {
_root.playGameSound(Define.SOUND_SHOOT_MACHINEGUN, 1);
}
_root.instGame.logicInterfaceUpdateWeapon(_onFireNumberOfShoots, 0);
}
} else {
_onFireTypeOfShoot = Define.OBJ_SHOOT_NORMAL;
switch (_animation) {
case ANIMATION_PROTAGONIST_WALK :
_animation = -1;
changeAnimation("protagonist_walk" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_WALK, 0);
break;
case ANIMATION_PROTAGONIST_QUIET :
_animation = -1;
changeAnimation("protagonist_quiet" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_QUIET, 0);
}
}
break;
case Define.OBJ_SHOOT_BAZOKA :
if (_onFireNumberOfShoots > 0) {
if (_iterator > 8) {
_iterator = 0;
_onFireNumberOfShoots--;
if (_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_BAZOKA, _pos, _yaw, _stepLength * 2.5, SHOOT_FROM_PROTAGONIST, 0, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER - 1)) {
_root.playGameSound(Define.SOUND_SHOOT_BAZOOKA, 1);
}
_root.instGame.logicInterfaceUpdateWeapon(_onFireNumberOfShoots, 1);
}
} else {
_onFireTypeOfShoot = Define.OBJ_SHOOT_NORMAL;
switch (_animation) {
case ANIMATION_PROTAGONIST_WALK :
_animation = -1;
changeAnimation("protagonist_walk" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_WALK, 0);
break;
case ANIMATION_PROTAGONIST_QUIET :
_animation = -1;
changeAnimation("protagonist_quiet" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_QUIET, 0);
}
}
break;
case Define.OBJ_SHOOT_LANZALLAMAS :
if (_onFireNumberOfShoots > 0) {
if (_iterator > 4) {
_iterator = 0;
_onFireNumberOfShoots--;
if (_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_LANZALLAMAS, _pos, _yaw, _stepLength * 2, SHOOT_FROM_PROTAGONIST, 0, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER - 1)) {
_root.playGameSound(Define.SOUND_SHOOT_FIRE, 1);
}
_root.instGame.logicInterfaceUpdateWeapon(_onFireNumberOfShoots, 2);
}
} else {
_onFireTypeOfShoot = Define.OBJ_SHOOT_NORMAL;
switch (_animation) {
case ANIMATION_PROTAGONIST_WALK :
_animation = -1;
changeAnimation("protagonist_walk" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_WALK, 0);
break;
case ANIMATION_PROTAGONIST_QUIET :
_animation = -1;
changeAnimation("protagonist_quiet" + getAnimWeaponCarried(), ANIMATION_PROTAGONIST_QUIET, 0);
}
}
}
}
break;
case STATE_PROTAGONIST_WIN :
if (_iterator < 10) {
_iterator++;
}
if (_iterator < 3) {
if (_animation != ANIMATION_PROTAGONIST_VICTORY) {
changeAnimation("protagonist_victory", ANIMATION_PROTAGONIST_VICTORY, 0);
}
_clip.gotoAndStop("protagonist_victory");
}
if (Key.isDown(32)) {
changeState(-1);
}
break;
case STATE_PROTAGONIST_LOSE :
if (_iterator < 10) {
_iterator++;
}
if (_iterator < 3) {
_clip.gotoAndStop("protagonist_death");
}
if (Key.isDown(32)) {
changeState(-1);
}
break;
}
}
function initShoot(type, pos, yaw, stepLength, belongs) {
if (Define.DEBUG_SHOOT) {
trace("attachGameMovie: SHOOT MOVIE INITED");
}
init(type, pos, yaw, stepLength);
Define.setMovieClipAlineation(_clip, _yaw);
_belongs = belongs;
_clase = Define.CLASS_SHOOT;
changeState(STATE_SHOOT_RUN);
switch (_type) {
case Define.OBJ_SHOOT_NORMAL :
if (_belongs == SHOOT_FROM_PROTAGONIST) {
_damage = Define.DAMAGE_PLAYER_SHOOT_NORMAL;
_clip.gotoAndStop("shoot_normal_player");
} else {
_damage = Define.DAMAGE_ENEMY_SHOOT_NORMAL;
_clip.gotoAndStop("shoot_normal_enemy");
}
break;
case Define.OBJ_SHOOT_METRALLETA :
if (_belongs == SHOOT_FROM_PROTAGONIST) {
_damage = Define.DAMAGE_PLAYER_SHOOT_METRALLETA;
_clip.gotoAndStop("shoot_fire_player");
} else {
_damage = Define.DAMAGE_ENEMY_SHOOT_METRALLETA;
_clip.gotoAndStop("shoot_metralla_enemy");
}
break;
case Define.OBJ_SHOOT_BAZOKA :
if (_belongs == SHOOT_FROM_PROTAGONIST) {
_damage = Define.DAMAGE_PLAYER_SHOOT_BAZOKA;
_clip.gotoAndStop("shoot_bazoka_player");
} else {
_damage = Define.DAMAGE_ENEMY_SHOOT_BAZOKA;
_clip.gotoAndStop("shoot_bazoka_enemy");
}
break;
case Define.OBJ_SHOOT_LANZALLAMAS :
if (_belongs == SHOOT_FROM_PROTAGONIST) {
_damage = Define.DAMAGE_PLAYER_SHOOT_LANZALLAMAS;
_clip.gotoAndStop("shoot_metralla_player");
} else {
_damage = Define.DAMAGE_ENEMY_SHOOT_LANZALLAMAS;
_clip.gotoAndStop("shoot_fire_enemy");
}
break;
case Define.OBJ_SHOOT_SUPER :
_clip._rotation = 0;
switch (_belongs) {
case 1 :
_root.playGameSoundStops(Define.SOUND_SUPER_BOMB1, 1);
break;
case 2 :
_root.playGameSoundStops(Define.SOUND_SUPER_BOMB2, 1);
break;
case 3 :
_root.playGameSoundStops(Define.SOUND_SUPER_BOMB3, 1);
break;
case 4 :
_root.playGameSoundStops(Define.SOUND_SUPER_BOMB1, 1);
_root.playGameSoundIndependently(Define.SOUND_FIN_LEVEL2, 1);
}
changeState(STATE_SHOOT_EXPLOSION);
}
_clip._visible = true;
}
function logicShoot() {
if (_impact == 110) {
_impact = 0;
changeState(STATE_SHOOT_EXPLOSION);
}
switch (_state) {
case STATE_SHOOT_RUN :
if (Define.DEBUG_SHOOT) {
trace((((((((((("cObject.logicShoot:(" + _pos.x) + ",") + _pos.y) + ")(") + _clip._x) + ",") + _clip._y) + ");yaw=") + _yaw) + ";stepLength=") + _stepLength);
}
_pos = Define.movePointYaw(_pos, _yaw, _stepLength);
if (_iterator < 6) {
_iterator++;
if (_belongs == SHOOT_FROM_PROTAGONIST) {
if (_iterator < 4) {
switch (_type) {
case Define.OBJ_SHOOT_NORMAL :
_stateAlineation = 1;
break;
case Define.OBJ_SHOOT_METRALLETA :
_stateAlineation = 2;
break;
case Define.OBJ_SHOOT_BAZOKA :
_stateAlineation = 3;
break;
case Define.OBJ_SHOOT_LANZALLAMAS :
_stateAlineation = 3;
}
}
} else {
switch (_type) {
case Define.OBJ_SHOOT_NORMAL :
_stateAlineation = 4;
break;
case Define.OBJ_SHOOT_METRALLETA :
_stateAlineation = 2;
break;
case Define.OBJ_SHOOT_BAZOKA :
_stateAlineation = 5;
break;
case Define.OBJ_SHOOT_LANZALLAMAS :
_stateAlineation = 3;
}
}
if (_iterator < _stateAlineation) {
_clip._visible = false;
} else if (!_clip._visible) {
_clip._visible = true;
}
}
if (_belongs == SHOOT_FROM_PROTAGONIST) {
if (_root.instGame.testImpactEnemy(_pos, _damage) == true) {
changeState(STATE_SHOOT_EXPLOSION);
return(undefined);
}
if (_gWorld.isInsideScreen(_pos) == false) {
changeState(STATE_SHOOT_NULL);
return(undefined);
}
} else {
var _local4 = _root.instGame.gProtagonist;
var _local6 = Define.distancePoint(_pos, _local4._pos);
if (_local4._clip.instGameClipShield._visible) {
if (_local6 <= (Define.DISTANCE_HIT_SHOOT_PLAYER << 2)) {
if (_local4._active) {
changeState(STATE_SHOOT_EXPLOSION);
return(undefined);
}
}
} else if (_local6 <= Define.DISTANCE_HIT_SHOOT_PLAYER) {
if (_local4._active) {
_local4._impact = _local4._impact + _damage;
changeState(STATE_SHOOT_EXPLOSION);
return(undefined);
}
}
}
if (_gWorld.isCollision(_pos) == true) {
_root.instGame.buildingTestColision(_gWorld.getPointMatrix(_pos), _damage);
changeState(STATE_SHOOT_EXPLOSION);
return(undefined);
}
_clip._x = _pos.x;
_clip._y = _pos.y;
break;
case STATE_SHOOT_EXPLOSION :
_timeAcum = _timeAcum + _root.instGame.gTimeDif;
if (_timeAcum > 4000) {
desactiveElement();
changeState(STATE_SHOOT_NULL);
}
_iterator++;
if (_iterator == 1) {
switch (_type) {
case Define.OBJ_SHOOT_NORMAL :
if (_belongs == SHOOT_FROM_PROTAGONIST) {
_clip.gotoAndPlay("explosion_normal");
} else {
_clip.gotoAndPlay("explosion_normal_enemy");
}
break;
case Define.OBJ_SHOOT_METRALLETA :
if (_belongs == SHOOT_FROM_PROTAGONIST) {
_clip.gotoAndPlay("explosion_fire");
} else {
_clip.gotoAndPlay("explosion_metralla_enemy");
}
break;
case Define.OBJ_SHOOT_BAZOKA :
if (_belongs == SHOOT_FROM_PROTAGONIST) {
_clip.gotoAndPlay("explosion_bazoka");
} else {
_clip.gotoAndPlay("explosion_bazoka_enemy");
}
break;
case Define.OBJ_SHOOT_LANZALLAMAS :
if (_belongs == SHOOT_FROM_PROTAGONIST) {
_clip.gotoAndPlay("explosion_metralla");
} else {
_clip.gotoAndPlay("explosion_fire_enemy");
}
break;
case Define.OBJ_SHOOT_SUPER :
if (_belongs > 4) {
_belongs = 4;
}
_clip.gotoAndPlay("explosion_super" + _belongs);
}
}
if (_type == Define.OBJ_SHOOT_SUPER) {
if (_timeAcum < 500) {
var _local5 = _gWorld.getPointMatrix(_pos);
var _local3 = 4;
switch (_belongs) {
case 1 :
_local3 = 2;
break;
case 2 :
_local3 = 3;
break;
case 3 :
_local3 = 4;
break;
case 4 :
_local3 = 5;
}
_local5.x = _local5.x - _local3;
_local5.y = _local5.y - _local3;
_root.instGame.buildingTestDestruction(_local5, _local3 * 2, _local3 * 2);
_root.instGame.testImpactEnemyByClip(_clip, 100);
}
}
if (_clip._visible == false) {
desactiveElement();
changeState(STATE_SHOOT_NULL);
}
break;
case STATE_SHOOT_NULL :
desactiveElement();
}
}
function initItem(type, pos) {
if (Define.DEBUG_ITEM) {
trace("attachGameMovie: ITEM MOVIE INITED");
}
init(type, pos, 0, 0);
_clase = Define.CLASS_ITEM;
_timeAcum = 0;
changeState(STATE_ITEM_RUN);
switch (_type) {
case Define.OBJ_ITEM_LIFE :
_clip.gotoAndPlay("item_life");
break;
case Define.OBJ_ITEM_METRALLETA :
_clip.gotoAndPlay("item_metralleta");
break;
case Define.OBJ_ITEM_BAZOKA :
_clip.gotoAndPlay("item_bazoka");
break;
case Define.OBJ_ITEM_LANZALLAMAS :
_clip.gotoAndPlay("item_fire");
break;
case Define.OBJ_ITEM_SLOW :
_clip.gotoAndPlay("item_slow");
break;
case Define.OBJ_ITEM_FAST :
_clip.gotoAndPlay("item_fast");
break;
case Define.OBJ_ITEM_SUPER :
_clip.gotoAndPlay("item_super");
}
_clip._visible = true;
}
function applyItem() {
switch (_type) {
case Define.OBJ_ITEM_LIFE :
_root.instGame.gProtagonist._life = _root.instGame.gProtagonist._life + (_root.instGame.gProtagonist._initialLifes / 2);
if (_root.instGame.gProtagonist._life > _root.instGame.gProtagonist._initialLifes) {
_root.instGame.gProtagonist._life = _root.instGame.gProtagonist._initialLifes;
}
_root.instGame.logicInterfacePlayer();
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_LIFE, 1);
break;
case Define.OBJ_ITEM_METRALLETA :
if (_root.instGame.gProtagonist._onFireTypeOfShoot != Define.OBJ_SHOOT_METRALLETA) {
_root.instGame.gProtagonist._onFireNumberOfShoots = 0;
}
_root.instGame.gProtagonist._onFireNumberOfShoots = _root.instGame.gProtagonist._onFireNumberOfShoots + 40;
_root.instGame.gProtagonist._onFireTypeOfShoot = Define.OBJ_SHOOT_METRALLETA;
_root.instGame.logicInterfaceUpdateWeapon(_root.instGame.gProtagonist._onFireNumberOfShoots, 0);
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_MACHINEGUN, 1);
switch (_root.instGame.gProtagonist._animation) {
case ANIMATION_PROTAGONIST_WALK :
_root.instGame.gProtagonist._animation = -1;
_root.instGame.gProtagonist.changeAnimation("protagonist_walk" + _root.instGame.gProtagonist.getAnimWeaponCarried(), ANIMATION_PROTAGONIST_WALK, 0);
break;
case ANIMATION_PROTAGONIST_QUIET :
_root.instGame.gProtagonist._animation = -1;
_root.instGame.gProtagonist.changeAnimation("protagonist_quiet" + _root.instGame.gProtagonist.getAnimWeaponCarried(), ANIMATION_PROTAGONIST_QUIET, 0);
}
break;
case Define.OBJ_ITEM_BAZOKA :
if (_root.instGame.gProtagonist._onFireTypeOfShoot != Define.OBJ_SHOOT_BAZOKA) {
_root.instGame.gProtagonist._onFireNumberOfShoots = 0;
}
_root.instGame.gProtagonist._onFireNumberOfShoots = _root.instGame.gProtagonist._onFireNumberOfShoots + 20;
_root.instGame.gProtagonist._onFireTypeOfShoot = Define.OBJ_SHOOT_BAZOKA;
_root.instGame.logicInterfaceUpdateWeapon(_root.instGame.gProtagonist._onFireNumberOfShoots, 1);
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_BAZOKA, 1);
switch (_root.instGame.gProtagonist._animation) {
case ANIMATION_PROTAGONIST_WALK :
_root.instGame.gProtagonist._animation = -1;
_root.instGame.gProtagonist.changeAnimation("protagonist_walk" + _root.instGame.gProtagonist.getAnimWeaponCarried(), ANIMATION_PROTAGONIST_WALK, 0);
break;
case ANIMATION_PROTAGONIST_QUIET :
_root.instGame.gProtagonist._animation = -1;
_root.instGame.gProtagonist.changeAnimation("protagonist_quiet" + _root.instGame.gProtagonist.getAnimWeaponCarried(), ANIMATION_PROTAGONIST_QUIET, 0);
}
break;
case Define.OBJ_ITEM_LANZALLAMAS :
if (_root.instGame.gProtagonist._onFireTypeOfShoot != Define.OBJ_SHOOT_LANZALLAMAS) {
_root.instGame.gProtagonist._onFireNumberOfShoots = 0;
}
_root.instGame.gProtagonist._onFireNumberOfShoots = _root.instGame.gProtagonist._onFireNumberOfShoots + 55;
_root.instGame.gProtagonist._onFireTypeOfShoot = Define.OBJ_SHOOT_LANZALLAMAS;
_root.instGame.logicInterfaceUpdateWeapon(_root.instGame.gProtagonist._onFireNumberOfShoots, 2);
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_LANZALLAMAS, 1);
switch (_root.instGame.gProtagonist._animation) {
case ANIMATION_PROTAGONIST_WALK :
_root.instGame.gProtagonist._animation = -1;
_root.instGame.gProtagonist.changeAnimation("protagonist_walk" + _root.instGame.gProtagonist.getAnimWeaponCarried(), ANIMATION_PROTAGONIST_WALK, 0);
break;
case ANIMATION_PROTAGONIST_QUIET :
_root.instGame.gProtagonist._animation = -1;
_root.instGame.gProtagonist.changeAnimation("protagonist_quiet" + _root.instGame.gProtagonist.getAnimWeaponCarried(), ANIMATION_PROTAGONIST_QUIET, 0);
}
break;
case Define.OBJ_ITEM_SLOW :
switch (_root.nmDifficultySetted) {
case 0 :
_root.instGame.gTimeacumFramerate = Define.TOTAL_TIME_SLOW_DOWN + 5000;
break;
case 1 :
_root.instGame.gTimeacumFramerate = Define.TOTAL_TIME_SLOW_DOWN;
break;
case 2 :
_root.instGame.gTimeacumFramerate = Define.TOTAL_TIME_SLOW_DOWN - 5000;
break;
default :
_root.instGame.gTimeacumFramerate = Define.TOTAL_TIME_SLOW_DOWN - 8000;
}
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_SHIELD, 1);
_root.instGame.changeFrameRate(Define.SLOW_FRAME_RATE);
_root.instGame.gProtagonist._clip.instGameClipShield._alpha = 100;
_root.instGame.gProtagonist._clip.instGameClipShield._visible = true;
_root.instGame.gBarCurrentTimeFast = 100000 /* 0x0186A0 */;
_root.instGame.logicInterfaceSpeedTime(2, Define.TOTAL_TIME_SLOW_DOWN);
break;
case Define.OBJ_ITEM_FAST :
_root.instGame.gProtagonist._clip.instGameClipShield._visible = false;
_root.instGame.gProtagonist._clip.instGameClipShield._alpha = 100;
_root.instGame.gTimeacumFramerate = Define.TOTAL_TIME_FAST_UP;
_root.instGame.changeFrameRate(Define.FAST_FRAME_RATE);
_root.instGame.gBarCurrentTimeFast = 100000 /* 0x0186A0 */;
_root.instGame.logicInterfaceSpeedTime(1, Define.TOTAL_TIME_FAST_UP);
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_SPEEDUP, 1);
break;
case Define.OBJ_ITEM_SUPER :
_root.instGame.gNumberTotalSuperBomb = _root.instGame.gNumberTotalSuperBomb + 1;
if (_root.instGame.gNumberTotalSuperBomb > 4) {
_root.instGame.gNumberTotalSuperBomb = 4;
}
_root.gSoundIsFinished = true;
if (Define.ENABLE_EXTRA_GREAT_SOUNDS) {
switch (_root.instGame.gNumberTotalSuperBomb) {
case 1 :
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_SUPERBOMB1, 1);
break;
case 2 :
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_SUPERBOMB2, 1);
break;
case 3 :
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_SUPERBOMB3, 1);
break;
case 4 :
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_SUPERBOMB4, 1);
}
} else {
_root.playGameSoundStops_AndWaitToFinish(Define.SOUND_ITEM_SUPERBOMB1, 1);
}
_root.instGame.logicInterfaceSuperBomb();
}
}
function logicItem() {
switch (_state) {
case STATE_ITEM_RUN :
_timeAcum = _timeAcum + _root.instGame.gTimeDif;
var _local3 = Define.distancePoint(_root.instGame.gProtagonist._pos, _pos);
if (_local3 < ((_clip._width + _clip._height) >> 1)) {
applyItem();
changeState(STATE_ITEM_NULL);
}
if (_timeAcum > 10000) {
changeState(STATE_ITEM_EXIT);
}
break;
case STATE_ITEM_EXIT :
_timeAcum = _timeAcum + _root.instGame.gTimeDif;
_iterator++;
if ((_iterator % 10) < 5) {
_clip._visible = false;
} else {
_clip._visible = true;
}
_local3 = Define.distancePoint(_root.instGame.gProtagonist._pos, _pos);
if (_local3 < ((_clip._width + _clip._height) >> 1)) {
applyItem();
changeState(STATE_ITEM_NULL);
}
if (_timeAcum > 3000) {
changeState(STATE_ITEM_NULL);
}
break;
case STATE_ITEM_NULL :
desactiveElement();
}
}
function initEnemy(id, type, pos, yaw, stepLength) {
if (Define.DEBUG_ENEMY) {
trace("attachGameMovie: ENEMY MOVIE ATTACHED");
}
init(type, pos, yaw, stepLength);
_id = id;
_clase = Define.CLASS_ENEMY_TYPE;
_waypoint = new flash.geom.Point(-1, -1);
_iteratorVisibility = _id;
_iteratorToShoot = 0;
_isVisibleProtagonist = isVisiblePoint(_root.instGame.gProtagonist._pos);
_stepLength = _stepLength - Define.randRange(0, Math.floor(_stepLength / 3));
_nameDedicated = Define.getDedicatedName(Define.randRange(0, Define.TOTAL_NAMES_AVAILABLE));
switch (_type) {
case Define.OBJ_ENEMY_TYPE_BASIC :
_distanceToShoot = _gWorld._blockSizeX + Define.randRange(0, _gWorld._blockSizeX * 3);
_life = Define.LIFE_ENEMY_TYPE_BASIC;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_ENEMY_TYPE);
break;
case Define.OBJ_ENEMY_TYPE_MEDIUM :
_distanceToShoot = (_gWorld._blockSizeX * 2) + Define.randRange(0, _gWorld._blockSizeX);
_life = Define.LIFE_ENEMY_TYPE_MEDIUM;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_ENEMY_TYPE);
break;
case Define.OBJ_ENEMY_TYPE_BAZOKA :
_distanceToShoot = (_gWorld._blockSizeX * 2) + Define.randRange(0, _gWorld._blockSizeX);
_life = Define.LIFE_ENEMY_TYPE_BAZOKA;
_regionWaypoint = Define.randRange(0, 7);
_behaviour = Define.randRange(0, 10);
_clip.swapDepths(_id + Define.LAYER_ENEMY_TYPE);
break;
case Define.OBJ_ENEMY_TYPE_GENERAL :
_distanceToShoot = (_gWorld._blockSizeX * 2) + Define.randRange(0, _gWorld._blockSizeX);
_life = Define.LIFE_ENEMY_TYPE_GENERAL;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_ENEMY_TYPE);
break;
case Define.OBJ_ENEMY_TYPE_MOTORBIKE :
_distanceToShoot = (_gWorld._blockSizeX * 3) + Define.randRange(0, _gWorld._blockSizeX);
_life = Define.LIFE_ENEMY_TYPE_MOTORBIKE;
_regionWaypoint = 8;
_clip.swapDepths(_id + Define.LAYER_ENEMY_MOTORBIKE);
_behaviour = BEHAVIOUR_GO_FOR_THE_PLAYER;
break;
case Define.OBJ_ENEMY_TYPE_TANK :
_distanceToShoot = (_gWorld._blockSizeX * 2) + Define.randRange(0, _gWorld._blockSizeX);
_life = Define.LIFE_ENEMY_TYPE_TANK;
_regionWaypoint = 8;
_clip.swapDepths(_id + Define.LAYER_ENEMY_TANK);
break;
case Define.OBJ_ENEMY_TYPE_CHOPTER :
_distanceToShoot = (_gWorld._blockSizeX * 4) + Define.randRange(0, _gWorld._blockSizeX);
_life = Define.LIFE_ENEMY_TYPE_CHOPTER;
_regionWaypoint = 8;
_clip.swapDepths(_id + Define.LAYER_ENEMY_CHOPTER);
_behaviour = BEHAVIOUR_GO_FOR_THE_PLAYER;
_isVisibleProtagonist = true;
}
_initialLifes = _life;
changeState(STATE_ENEMY_RUN);
}
function getEnemyNameAnimation(p_animation) {
var _local2;
switch (_type) {
case Define.OBJ_ENEMY_TYPE_BASIC :
_local2 = "soldier_normal_";
break;
case Define.OBJ_ENEMY_TYPE_MEDIUM :
_local2 = "soldier_medium_";
break;
case Define.OBJ_ENEMY_TYPE_BAZOKA :
_local2 = "soldier_high_";
break;
case Define.OBJ_ENEMY_TYPE_GENERAL :
_local2 = "soldier_general_";
break;
case Define.OBJ_ENEMY_TYPE_MOTORBIKE :
_local2 = "vehicle_motorbike_";
break;
case Define.OBJ_ENEMY_TYPE_TANK :
_local2 = "vehicle_tank_";
break;
case Define.OBJ_ENEMY_TYPE_CHOPTER :
_local2 = "vehicle_chopter_";
break;
case Define.OBJ_NPC_CAR_1 :
_local2 = "npc_car1_";
break;
case Define.OBJ_NPC_CAR_2 :
_local2 = "npc_car2_";
break;
case Define.OBJ_NPC_CAR_3 :
_local2 = "npc_car3_";
break;
case Define.OBJ_NPC_HUMAN_1 :
_local2 = "npc_human1_";
break;
case Define.OBJ_NPC_HUMAN_2 :
_local2 = "npc_human2_";
break;
case Define.OBJ_NPC_HUMAN_3 :
_local2 = "npc_human3_";
}
switch (p_animation) {
case ANIMATION_ENEMY_QUIET :
_local2 = _local2 + "quiet";
break;
case ANIMATION_ENEMY_WALK :
_local2 = _local2 + "walk";
break;
case ANIMATION_ENEMY_DEATH :
_local2 = _local2 + "death";
}
return(_local2);
}
function isVisiblePoint(p_pos) {
var _local3 = Define.setUpYawToPoint(_pos, p_pos);
var _local2 = new flash.geom.Point(_pos.x, _pos.y);
do {
_local2 = Define.moveYaw(_local2, _local3, _stepLength);
if (_gWorld.isCollision(_local2) == true) {
return(false);
}
} while (Define.distancePoint(_local2, p_pos) > (_stepLength << 1));
return(true);
}
function logicBehaviourEnemy_FollowWaypoint(p_pos) {
var _local3;
if ((_waypoint.x == -1) && (_waypoint.y == -1)) {
_isVisibleProtagonist = isVisiblePoint(p_pos);
if (_isVisibleProtagonist == true) {
return(undefined);
}
var _local5 = _gWorld.accionBuscarCamino(_pos.x >> _gWorld._blockPotenceSizeX, _pos.y >> _gWorld._blockPotenceSizeY, p_pos.x >> _gWorld._blockPotenceSizeX, p_pos.y >> _gWorld._blockPotenceSizeY);
var _local2 = new flash.geom.Point(_pos.x >> _gWorld._blockPotenceSizeX, _pos.y >> _gWorld._blockPotenceSizeY);
_local2 = Define.moveDirection(_local2, _local5, 1);
_local2.x = (_local2.x << _gWorld._blockPotenceSizeX) + (_gWorld._blockSizeX >> 1);
_local2.y = (_local2.y << _gWorld._blockPotenceSizeY) + (_gWorld._blockSizeY >> 1);
switch (_regionWaypoint) {
case 0 :
_local2.x = _local2.x - (_gWorld._blockSizeX >> 2);
_local2.y = _local2.y - (_gWorld._blockSizeY >> 2);
break;
case 1 :
_local2.y = _local2.y - (_gWorld._blockSizeY >> 2);
break;
case 2 :
_local2.x = _local2.x + (_gWorld._blockSizeX >> 2);
_local2.y = _local2.y - (_gWorld._blockSizeY >> 2);
break;
case 3 :
_local2.x = _local2.x - (_gWorld._blockSizeX >> 2);
break;
case 4 :
_local2.x = _local2.x + (_gWorld._blockSizeX >> 2);
break;
case 5 :
_local2.x = _local2.x - (_gWorld._blockSizeX >> 2);
_local2.y = _local2.y + (_gWorld._blockSizeY >> 2);
break;
case 6 :
_local2.y = _local2.y + (_gWorld._blockSizeY >> 2);
break;
case 7 :
_local2.x = _local2.x + (_gWorld._blockSizeX >> 2);
_local2.y = _local2.y + (_gWorld._blockSizeY >> 2);
break;
}
_waypoint.x = _local2.x;
_waypoint.y = _local2.y;
_local3 = Define.logicAlineation(_yaw, _pos, _waypoint);
_stateAlineation = _local3.y;
} else if (_stateAlineation != 0) {
_local3 = Define.logicAlineation(_yaw, _pos, _waypoint);
_yaw = _local3.x;
Define.setMovieClipAlineation(_clip, _yaw);
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
if (Math.abs(_local3.y) < (_stepLength << 1)) {
_stateAlineation = 0;
}
} else {
_local3 = Define.logicAlineation(_yaw, _pos, _waypoint);
_yaw = _local3.x;
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
Define.setMovieClipAlineation(_clip, _yaw);
if (Define.distancePoint(_pos, _waypoint) <= (_stepLength << 2)) {
_waypoint.x = -1;
_waypoint.y = -1;
}
}
}
function logicBehaviourEnemy() {
var _local4;
var _local9 = -1;
var _local5 = _root.instGame.gProtagonist;
if (_isVisibleProtagonist == false) {
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
logicBehaviourEnemy_FollowWaypoint(_local5._pos);
} else {
_iteratorVisibility++;
if (_iteratorVisibility > Define.TOTAL_NUMBER_OF_ENEMIES) {
_iteratorVisibility = 0;
if (_type != Define.OBJ_ENEMY_TYPE_CHOPTER) {
_isVisibleProtagonist = isVisiblePoint(_local5._pos);
} else {
_isVisibleProtagonist = true;
}
}
var _local3 = Define.distancePoint(_pos, _local5._pos);
if (_local3 < Define.DISTANCE_HIT_FOR_ENEMY_COLLISION_WITH_PLAYER) {
_impact = _life + 1;
return(undefined);
}
switch (_type) {
case Define.OBJ_ENEMY_TYPE_BASIC :
_local4 = Define.logicAlineation(_yaw, _pos, _local5._pos);
_yaw = _local4.x;
Define.setMovieClipAlineation(_clip, _yaw);
if (_local3 > _distanceToShoot) {
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
_iteratorToShoot++;
if (_iteratorToShoot > 50) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_NORMAL, _pos, _yaw, _stepLength * 1.5, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
} else {
if (_animation != ANIMATION_ENEMY_QUIET) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_QUIET), ANIMATION_ENEMY_QUIET, 0);
}
_iteratorToShoot++;
if (_iteratorToShoot > 35) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_NORMAL, _pos, _yaw, _stepLength * 1.5, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
}
break;
case Define.OBJ_ENEMY_TYPE_MEDIUM :
_local4 = Define.logicAlineation(_yaw, _pos, _local5._pos);
_yaw = _local4.x;
Define.setMovieClipAlineation(_clip, _yaw);
if (_local3 > _distanceToShoot) {
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
_iteratorToShoot++;
if (_iteratorToShoot > 40) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_METRALLETA, _pos, _yaw, _stepLength * 2.5, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
} else {
if (_local3 < (_distanceToShoot - (_stepLength << 2))) {
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
var _local6 = Define.moveYaw(_pos, _yaw + Math.PI, _stepLength);
var _local8 = ((((_local6.x - 20) < 0) || ((_local6.y - 20) < 0)) || ((_local6.x + 20) > _gWorld._iWidthWorldComplete)) || ((_local6.y + 20) > _gWorld._iHeightWorldComplete);
if ((_gWorld.isCollision(_local6) == false) && (_local8 == false)) {
_pos.x = _local6.x;
_pos.y = _local6.y;
}
} else if (_animation != ANIMATION_ENEMY_QUIET) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_QUIET), ANIMATION_ENEMY_QUIET, 0);
}
_iteratorToShoot++;
if (_iteratorToShoot > 30) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_METRALLETA, _pos, _yaw, _stepLength * 2.5, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
}
break;
case Define.OBJ_ENEMY_TYPE_BAZOKA :
_local4 = Define.logicAlineation(_yaw, _pos, _local5._pos);
_yaw = _local4.x;
Define.setMovieClipAlineation(_clip, _yaw);
if (_local3 > _distanceToShoot) {
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
_iteratorToShoot++;
if (_iteratorToShoot > 60) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_BAZOKA, _pos, _yaw, _stepLength * 1.29, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
} else {
if (_local3 < (_distanceToShoot - (_stepLength << 2))) {
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
var _local7;
if (_behaviour < 5) {
_local7 = -1;
} else {
_local7 = 1;
}
var _local6 = Define.moveYaw(_pos, _yaw + _local7, _stepLength);
_local6 = Define.moveYaw(_local6, _yaw + Math.PI, _stepLength);
var _local8 = ((((_local6.x - 20) < 0) || ((_local6.y - 20) < 0)) || ((_local6.x + 20) > _gWorld._iWidthWorldComplete)) || ((_local6.y + 20) > _gWorld._iHeightWorldComplete);
if ((_gWorld.isCollision(_local6) == false) && (_local8 == false)) {
_pos.x = _local6.x;
_pos.y = _local6.y;
} else {
_behaviour = _behaviour + 5;
_behaviour = _behaviour % 10;
}
_local4 = Define.logicAlineation(_yaw, _pos, _local5._pos);
_yaw = _local4.x;
Define.setMovieClipAlineation(_clip, _yaw);
} else if (_animation != ANIMATION_ENEMY_QUIET) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_QUIET), ANIMATION_ENEMY_QUIET, 0);
}
_iteratorToShoot++;
if (_iteratorToShoot > 40) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_BAZOKA, _pos, _yaw, _stepLength * 1.29, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
}
break;
case Define.OBJ_ENEMY_TYPE_GENERAL :
_local4 = Define.logicAlineation(_yaw, _pos, _local5._pos);
_yaw = _local4.x;
Define.setMovieClipAlineation(_clip, _yaw);
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
if (_local3 > _distanceToShoot) {
_iteratorToShoot++;
if (_iteratorToShoot > 40) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_NORMAL, _pos, _yaw, _stepLength * 2.8, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
} else {
_iteratorToShoot++;
if (_iteratorToShoot > 20) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_NORMAL, _pos, _yaw, _stepLength * 2.8, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
}
break;
case Define.OBJ_ENEMY_TYPE_MOTORBIKE :
switch (_behaviour) {
case BEHAVIOUR_GO_FOR_THE_PLAYER :
_local4 = Define.logicAlineation(_yaw, _pos, _local5._pos);
_yaw = _local4.x;
Define.setMovieClipAlineation(_clip, _yaw);
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
if ((_local3 > (_distanceToShoot >> 1)) && (_local3 < _distanceToShoot)) {
_iteratorToShoot++;
if (_iteratorToShoot > 10) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_LANZALLAMAS, _pos, _yaw, _stepLength * 1.5, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
}
if (_local3 < (_distanceToShoot >> 1)) {
_behaviour = BEHAVIOUR_AWAY_FROM_PLAYER;
_yawFixed = _yaw;
}
break;
case BEHAVIOUR_AWAY_FROM_PLAYER :
_yaw = _yawFixed;
Define.setMovieClipAlineation(_clip, _yaw);
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
var _local6 = Define.moveYaw(_pos, _yaw, _stepLength);
var _local8 = ((((_local6.x - 20) < 0) || ((_local6.y - 20) < 0)) || ((_local6.x + 20) > _gWorld._iWidthWorldComplete)) || ((_local6.y + 20) > _gWorld._iHeightWorldComplete);
if ((_gWorld.isCollision(_local6) == false) && (_local8 == false)) {
_pos.x = _local6.x;
_pos.y = _local6.y;
} else {
_behaviour = BEHAVIOUR_GO_FOR_THE_PLAYER;
}
if (_local3 <= _distanceToShoot) {
break;
}
_behaviour = BEHAVIOUR_GO_FOR_THE_PLAYER;
}
break;
case Define.OBJ_ENEMY_TYPE_TANK :
_local4 = Define.logicAlineation(_yaw, _pos, _local5._pos);
_yaw = _local4.x;
Define.setMovieClipAlineation(_clip, _yaw);
if (_local3 > _distanceToShoot) {
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
_iteratorToShoot++;
if (_iteratorToShoot > 45) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_BAZOKA, _pos, _yaw, _stepLength * 2, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
} else {
if (_animation != ANIMATION_ENEMY_QUIET) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_QUIET), ANIMATION_ENEMY_QUIET, 0);
}
_iteratorToShoot++;
if (_iteratorToShoot > 30) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_BAZOKA, _pos, _yaw, _stepLength * 2, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
}
break;
case Define.OBJ_ENEMY_TYPE_CHOPTER :
switch (_behaviour) {
case BEHAVIOUR_GO_FOR_THE_PLAYER :
_local4 = Define.logicAlineation(_yaw, _pos, _local5._pos);
_yaw = _local4.x;
Define.setMovieClipAlineation(_clip, _yaw);
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
if ((_local3 > (_distanceToShoot >> 1)) && (_local3 < _distanceToShoot)) {
_iteratorToShoot++;
if (_iteratorToShoot > 10) {
_iteratorToShoot = 0;
_root.instGame.insertShootAvailable(Define.OBJ_SHOOT_METRALLETA, _pos, _yaw, _stepLength * 1.7, SHOOT_FROM_ENEMY, Define.TOTAL_NUMBER_OF_SHOOTS_FOR_PLAYER, _root.instGame.gLimitOfTheNumberOfTotalShoots);
}
}
if (_local3 < (_distanceToShoot >> 1)) {
_behaviour = BEHAVIOUR_AWAY_FROM_PLAYER;
_yawFixed = _yaw;
}
break;
case BEHAVIOUR_AWAY_FROM_PLAYER :
_yaw = _yawFixed;
Define.setMovieClipAlineation(_clip, _yaw);
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
_pos = Define.moveYaw(_pos, _yaw, _stepLength);
if (_local3 <= _distanceToShoot) {
break;
}
_behaviour = BEHAVIOUR_GO_FOR_THE_PLAYER;
}
}
}
}
function logicEnemy() {
if (_impact > 0) {
_life = _life - _impact;
_impact = 0;
if (_life <= 0) {
_root.playGameSound(Define.SOUND_DEATH_VEHICLES, 1);
changeState(STATE_ENEMY_DEATH);
_root.instGame.logicInterfaceUpdateKills();
_life = 0;
}
}
switch (_state) {
case STATE_ENEMY_RUN :
if (_iterator < 10) {
_iterator++;
}
logicBehaviourEnemy();
break;
case STATE_ENEMY_DEATH :
_timeAcum = _timeAcum + _root.instGame.gTimeDif;
if (_timeAcum > 5000) {
desactiveElement();
changeState(-1);
}
if (_iterator < 10) {
_iterator++;
}
if (_iterator < 3) {
_animation = ANIMATION_ENEMY_DEATH;
_clip.gotoAndPlay(getEnemyNameAnimation(ANIMATION_ENEMY_DEATH));
}
if (_clip._visible == false) {
var _local4 = 4;
switch (_root.instGame.nmCurrentLevel) {
case 0 :
case 1 :
case 2 :
_local4 = 4;
break;
default :
_local4 = 6;
}
if (Define.randRange(0, 10) > _local4) {
var _local3 = Define.randRange(0, 6);
switch (_root.instGame.nmCurrentLevel) {
case 0 :
if (_local3 > 1) {
_local3 = -1;
}
break;
case 1 :
if (_local3 > 3) {
_local3 = -1;
}
break;
case 2 :
if (_local3 > 4) {
_local3 = -1;
}
break;
case 3 :
if (_local3 > 5) {
_local3 = -1;
}
break;
}
if (_local3 == 2) {
_local3 = -1;
if (Define.randRange(0, 10) > 7) {
_local3 = 2;
}
}
if (_local3 != -1) {
_root.instGame.insertItemAvailable(Define.OBJ_ITEM_LIFE + _local3, _pos);
}
}
desactiveElement();
changeState(-1);
}
break;
default :
desactiveElement();
}
}
function initNPC(id, type, pos, yaw, stepLength) {
if (Define.DEBUG_NPC) {
trace("attachGameMovie: NPC MOVIE ATTACHED");
}
init(type, pos, yaw, stepLength);
_id = id;
_clase = Define.CLASS_NPC;
_waypoint = new flash.geom.Point(-1, -1);
_iteratorVisibility = _id;
_iteratorToShoot = 0;
_isVisibleProtagonist = isVisiblePoint(_root.instGame.gProtagonist._pos);
_stepLength = _stepLength - Define.randRange(0, Math.floor(_stepLength / 3));
_nameDedicated = Define.getDedicatedName(Define.randRange(0, Define.TOTAL_NAMES_AVAILABLE));
_behaviour = 0;
switch (_type) {
case Define.OBJ_NPC_CAR_1 :
_distanceToShoot = _gWorld._blockSizeX + (Define.randRange(0, _gWorld._blockSizeX) / 2);
_life = 15;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_NPC_CAR);
break;
case Define.OBJ_NPC_CAR_2 :
_distanceToShoot = _gWorld._blockSizeX + (Define.randRange(0, _gWorld._blockSizeX) / 2);
_life = 15;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_NPC_CAR);
break;
case Define.OBJ_NPC_CAR_3 :
_distanceToShoot = _gWorld._blockSizeX + (Define.randRange(0, _gWorld._blockSizeX) / 2);
_life = 15;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_NPC_CAR);
break;
case Define.OBJ_NPC_HUMAN_1 :
_distanceToShoot = (_gWorld._blockSizeX / 2) + (Define.randRange(0, _gWorld._blockSizeX) / 2);
_life = 5;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_NPC_HUMAN);
break;
case Define.OBJ_NPC_HUMAN_2 :
_distanceToShoot = (_gWorld._blockSizeX / 2) + (Define.randRange(0, _gWorld._blockSizeX) / 2);
_life = 5;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_NPC_HUMAN);
break;
case Define.OBJ_NPC_HUMAN_3 :
_distanceToShoot = (_gWorld._blockSizeX / 2) + (Define.randRange(0, _gWorld._blockSizeX) / 2);
_life = 5;
_regionWaypoint = Define.randRange(0, 7);
_clip.swapDepths(_id + Define.LAYER_NPC_HUMAN);
}
_initialLifes = _life;
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_QUIET), ANIMATION_ENEMY_QUIET, 0);
changeState(STATE_NPC_RUN);
}
function logicBehaviourNPC() {
var _local7;
var _local8 = -1;
var _local4 = _root.instGame.gProtagonist;
var _local3 = Define.distancePoint(_pos, _local4._pos);
if (_local3 < ((_clip._width + _local4._clip._width) >> 1)) {
_impact = _life + 1;
return(undefined);
}
if (_isVisibleProtagonist == false) {
if (_animation != ANIMATION_ENEMY_QUIET) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_QUIET), ANIMATION_ENEMY_QUIET, 0);
}
logicBehaviourEnemy_FollowWaypoint(_local4._pos);
} else {
_iteratorVisibility++;
if (_iteratorVisibility > Define.TOTAL_NUMBER_OF_NPCS) {
_iteratorVisibility = 0;
_isVisibleProtagonist = isVisiblePoint(_local4._pos);
}
if ((_local3 > (_distanceToShoot << 2)) && (_behaviour == 0)) {
_yaw = Define.setUpYawToPoint(_pos, _local4._pos);
Define.setMovieClipAlineation(_clip, _yaw);
var _local5 = Define.moveYaw(_pos, _yaw, _stepLength);
if (_gWorld.isCollision(_local5) == false) {
_pos.x = _local5.x;
_pos.y = _local5.y;
}
_local3 = Define.distancePoint(_pos, _local4._pos);
if (_local3 <= (_distanceToShoot << 2)) {
_behaviour = 1;
switch (Define.randRange(0, 3)) {
case 0 :
_yaw = Define.getRadians(0);
break;
case 1 :
_yaw = Define.getRadians(90);
break;
case 2 :
_yaw = Define.getRadians(180);
break;
case 3 :
_yaw = Define.getRadians(270);
}
Define.setMovieClipAlineation(_clip, _yaw);
}
} else {
if (_local3 > (_distanceToShoot << 4)) {
_behaviour = 0;
}
if (_local3 > _distanceToShoot) {
if (_animation != ANIMATION_ENEMY_QUIET) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_QUIET), ANIMATION_ENEMY_QUIET, 0);
}
var _local5 = Define.moveYaw(_pos, _yaw, _stepLength);
if (_gWorld.isCollision(_local5) == false) {
_pos.x = _local5.x;
_pos.y = _local5.y;
} else {
switch (Define.randRange(0, 3)) {
case 0 :
_yaw = Define.getRadians(0);
break;
case 1 :
_yaw = Define.getRadians(90);
break;
case 2 :
_yaw = Define.getRadians(180);
break;
case 3 :
_yaw = Define.getRadians(270);
}
Define.setMovieClipAlineation(_clip, _yaw);
}
} else {
if (_animation != ANIMATION_ENEMY_WALK) {
changeAnimation(getEnemyNameAnimation(ANIMATION_ENEMY_WALK), ANIMATION_ENEMY_WALK, 0);
}
var _local6 = Define.getRadians(180);
_local7 = Define.logicAlineation(_yaw, _pos, _local4._pos);
_yaw = _local7.x;
Define.setMovieClipAlineation(_clip, _yaw + _local6);
var _local5 = Define.moveYaw(_pos, _yaw + _local6, _stepLength);
if (_gWorld.isCollision(_local5) == false) {
_pos.x = _local5.x;
_pos.y = _local5.y;
}
_local3 = Define.distancePoint(_pos, _local4._pos);
if (_local3 > _distanceToShoot) {
switch (Define.randRange(0, 3)) {
case 0 :
_yaw = Define.getRadians(0);
break;
case 1 :
_yaw = Define.getRadians(90);
break;
case 2 :
_yaw = Define.getRadians(180);
break;
case 3 :
_yaw = Define.getRadians(270);
}
Define.setMovieClipAlineation(_clip, _yaw);
}
}
}
}
}
function logicNPC() {
if (_impact > 0) {
_life = _life - _impact;
_impact = 0;
if (_life <= 0) {
if (_type <= Define.OBJ_NPC_CAR_3) {
_root.playGameSound(Define.SOUND_DEATH_VEHICLES, 1);
} else {
_root.playGameSound(Define.SOUND_DEATH_HUMAN, 1);
}
changeState(STATE_NPC_DESTROY);
_life = 0;
}
}
switch (_state) {
case STATE_NPC_RUN :
if (_iterator < 10) {
_iterator++;
}
logicBehaviourNPC();
break;
case STATE_NPC_FEAR :
break;
case STATE_NPC_DESTROY :
_timeAcum = _timeAcum + _root.instGame.gTimeDif;
if (_timeAcum > 5000) {
desactiveElement();
changeState(-1);
return(undefined);
}
if (_iterator < 10) {
_iterator++;
}
if (_iterator == 1) {
_animation = ANIMATION_ENEMY_DEATH;
_clip.gotoAndPlay(getEnemyNameAnimation(ANIMATION_ENEMY_DEATH));
}
if (_clip._visible == false) {
var _local4 = 4;
_local4 = 6;
if (Define.randRange(0, 10) > _local4) {
var _local3 = Define.randRange(0, 6);
switch (_root.instGame.nmCurrentLevel) {
case 0 :
if (_local3 > 1) {
_local3 = -1;
}
break;
case 1 :
if (_local3 > 3) {
_local3 = -1;
}
break;
case 2 :
if (_local3 > 4) {
_local3 = -1;
}
break;
case 3 :
if (_local3 > 5) {
_local3 = -1;
}
break;
}
if (_local3 == 2) {
_local3 = -1;
if (Define.randRange(0, 10) > 7) {
_local3 = 2;
}
}
if (_local3 != -1) {
_root.instGame.insertItemAvailable(Define.OBJ_ITEM_LIFE + _local3, _pos);
}
}
desactiveElement();
changeState(-1);
}
break;
default :
desactiveElement();
}
}
static var STATE_PROTAGONIST_PRESENTATION = 0;
static var STATE_PROTAGONIST_RUN = 1;
static var STATE_PROTAGONIST_WIN = 2;
static var STATE_PROTAGONIST_LOSE = 3;
static var ANIMATION_PROTAGONIST_QUIET = 0;
static var ANIMATION_PROTAGONIST_WALK = 1;
static var ANIMATION_PROTAGONIST_VICTORY = 2;
static var ANIMATION_PROTAGONIST_DEATH = 3;
static var STATE_SHOOT_RUN = 0;
static var STATE_SHOOT_EXPLOSION = 1;
static var STATE_SHOOT_NULL = 2;
static var SHOOT_FROM_PROTAGONIST = 1;
static var SHOOT_FROM_ENEMY = 2;
static var STATE_ITEM_RUN = 0;
static var STATE_ITEM_EXIT = 1;
static var STATE_ITEM_NULL = 2;
static var STATE_ENEMY_RUN = 0;
static var STATE_ENEMY_DEATH = 1;
static var ANIMATION_ENEMY_QUIET = 0;
static var ANIMATION_ENEMY_WALK = 1;
static var ANIMATION_ENEMY_DEATH = 2;
static var BEHAVIOUR_GO_FOR_THE_PLAYER = 0;
static var BEHAVIOUR_AWAY_FROM_PLAYER = 1;
static var STATE_NPC_RUN = 1;
static var STATE_NPC_FEAR = 2;
static var STATE_NPC_DESTROY = 3;
}
Symbol 2220 MovieClip [__Packages.Worldmap] Frame 0
class Worldmap
{
var _game, _world, _state, _matrixLevel, _currentLevel, _myCamera, _myLastCamera, _screenSize, _screenWidthDiv2, _screenHeightDiv2, _iFrontierXLow, _iFrontierYLow, _modeOfTiles, _docxml, _widthMatrix, _heightMatrix, _blockSizeX, _blockPotenceSizeX, _blockSizeY, _blockPotenceSizeY, _iFrontierXHigh, _iFrontierYHigh, _iWidthWorldComplete, _iHeightWorldComplete, _bitmapDataTileMap, _bitmapDataGlobalMap, _bitmapDataDust, _matrizAI, _totalCellMatriz, _iterator, _stepEarthquake;
function Worldmap (game, world, currentLevel, myCamera, screenSize, modeOfTiles) {
_game = game;
_world = world;
_state = STATE_NORMAL;
_matrixLevel = new Array();
_currentLevel = currentLevel;
_myCamera = new flash.geom.Point(myCamera.x, myCamera.y);
_myLastCamera = new flash.geom.Point(myCamera.x, myCamera.y);
_screenSize = new flash.geom.Point(screenSize.x, screenSize.y);
_screenWidthDiv2 = _screenSize.x / 2;
_screenHeightDiv2 = _screenSize.y / 2;
_iFrontierXLow = _screenWidthDiv2;
_iFrontierYLow = _screenHeightDiv2;
_modeOfTiles = modeOfTiles;
if (Define.ENABLE_XML_FILE_INTEGRATED) {
var _local20 = new String(cXml.XML_LEVELS[currentLevel]);
_docxml = new XML(_local20);
_docxml.ignoreWhite = true;
var _local12;
var _local15;
var _local17;
var _local16;
var _local14;
var _local13;
var _local25;
var _local26;
var _local5 = 0;
while (_local5 < _docxml.firstChild.childNodes.length) {
if (Define.DEBUG_XML_LOAD) {
if (_local5 != 6) {
trace((("Propiedad(" + _local5) + ")=") + _docxml.firstChild.childNodes[_local5].attributes.name);
}
}
var _local3 = _docxml.firstChild.childNodes[_local5].firstChild.nodeValue;
if (Define.DEBUG_XML_LOAD) {
trace((("Dato(" + _local5) + ")=") + _local3);
}
switch (_local5) {
case 0 :
_widthMatrix = new Number(_local3);
break;
case 1 :
_heightMatrix = new Number(_local3);
break;
case 2 :
_blockSizeX = new Number(_local3);
_blockPotenceSizeX = 7;
break;
case 3 :
_blockSizeY = new Number(_local3);
_blockPotenceSizeY = 7;
break;
case 4 :
_local12 = _local3.split(",");
break;
case 5 :
_local15 = _local3.split(",");
break;
case 6 :
_local17 = _local3.split(",");
break;
case 7 :
_local16 = _local3.split(",");
break;
case 8 :
_local14 = _local3.split(",");
break;
case 9 :
_local13 = _local3.split(",");
}
_local5++;
}
var _local18 = Number(_widthMatrix) * Number(_heightMatrix);
_matrixLevel = new Array(_local18);
var _local4 = 1;
while (_local4 <= _local18) {
var _local9 = new Number(_local12[_local4]);
var _local11 = new Number(_local15[_local4]);
var _local7 = new Number(_local17[_local4]);
var _local10 = new Number(_local16[_local4]);
var _local8 = new Number(_local14[_local4]);
var _local6 = new Number(_local13[_local4]);
_matrixLevel[_local4 - 1] = [Number(_local9), Number(_local11), Number(_local7), Number(_local10), Number(_local8), Number(_local6)];
_local4++;
}
_iFrontierXHigh = (_widthMatrix * _blockSizeX) - _iFrontierXLow;
_iFrontierYHigh = (_heightMatrix * _blockSizeY) - _iFrontierYLow;
_iWidthWorldComplete = _widthMatrix * _blockSizeX;
_iHeightWorldComplete = _heightMatrix * _blockSizeY;
switch (_root.gCurrentLevel) {
case 0 :
case 1 :
buildBoardBitmapData("tilemap1");
break;
case 2 :
case 3 :
buildBoardBitmapData("tilemap2");
break;
case 4 :
buildBoardBitmapData("tilemap4");
break;
default :
buildBoardBitmapData("tilemap3");
}
} else {
_docxml = new XML();
_docxml.ignoreWhite = true;
_docxml.onLoad = function () {
var _local11;
var _local14;
var _local16;
var _local15;
var _local13;
var _local12;
var _local18;
var _local19;
var _local4 = 0;
while (_local4 < _root.instGame.gWorld._docxml.firstChild.childNodes.length) {
if (Define.DEBUG_XML_LOAD) {
if (_local4 != 6) {
trace((("Propiedad(" + _local4) + ")=") + _root.instGame.gWorld._docxml.firstChild.childNodes[_local4].attributes.name);
}
}
var _local2 = _root.instGame.gWorld._docxml.firstChild.childNodes[_local4].firstChild.nodeValue;
if (Define.DEBUG_XML_LOAD) {
trace((("Dato(" + _local4) + ")=") + _local2);
}
switch (_local4) {
case 0 :
_root.instGame.gWorld._widthMatrix = new Number(_local2);
break;
case 1 :
_root.instGame.gWorld._heightMatrix = new Number(_local2);
break;
case 2 :
_root.instGame.gWorld._blockSizeX = new Number(_local2);
_root.instGame.gWorld._blockPotenceSizeX = 7;
break;
case 3 :
_root.instGame.gWorld._blockSizeY = new Number(_local2);
_root.instGame.gWorld._blockPotenceSizeY = 7;
break;
case 4 :
_local11 = _local2.split(",");
break;
case 5 :
_local14 = _local2.split(",");
break;
case 6 :
_local16 = _local2.split(",");
break;
case 7 :
_local15 = _local2.split(",");
break;
case 8 :
_local13 = _local2.split(",");
break;
case 9 :
_local12 = _local2.split(",");
}
_local4++;
}
var _local17 = Number(_root.instGame.gWorld._widthMatrix) * Number(_root.instGame.gWorld._heightMatrix);
_root.instGame.gWorld._matrixLevel = new Array(_local17);
var _local3 = 1;
while (_local3 <= _local17) {
var _local8 = new Number(_local11[_local3]);
var _local10 = new Number(_local14[_local3]);
var _local6 = new Number(_local16[_local3]);
var _local9 = new Number(_local15[_local3]);
var _local7 = new Number(_local13[_local3]);
var _local5 = new Number(_local12[_local3]);
_root.instGame.gWorld._matrixLevel[_local3 - 1] = [Number(_local8), Number(_local10), Number(_local6), Number(_local9), Number(_local7), Number(_local5)];
_local3++;
}
_root.instGame.gWorld._iFrontierXHigh = (_root.instGame.gWorld._widthMatrix * _root.instGame.gWorld._blockSizeX) - _root.instGame.gWorld._iFrontierXLow;
_root.instGame.gWorld._iFrontierYHigh = (_root.instGame.gWorld._heightMatrix * _root.instGame.gWorld._blockSizeY) - _root.instGame.gWorld._iFrontierYLow;
_root.instGame.gWorld._iWidthWorldComplete = _root.instGame.gWorld._widthMatrix * _root.instGame.gWorld._blockSizeX;
_root.instGame.gWorld._iHeightWorldComplete = _root.instGame.gWorld._heightMatrix * _root.instGame.gWorld._blockSizeY;
switch (_root.gCurrentLevel) {
case 0 :
case 1 :
_root.instGame.gWorld.buildBoardBitmapData("tilemap1");
break;
case 2 :
case 3 :
_root.instGame.gWorld.buildBoardBitmapData("tilemap2");
break;
case 4 :
_root.instGame.gWorld.buildBoardBitmapData("tilemap4");
break;
default :
_root.instGame.gWorld.buildBoardBitmapData("tilemap3");
}
_root.instGame.changeGeneralGameState(Define.STATE_GAME_LOADING);
};
_docxml.load(("levelsdec/level" + (_currentLevel + 1)) + ".xml");
}
}
function freeWorld() {
_world.removeMovieClip();
_matrixLevel.splice(0, _matrixLevel.length);
_bitmapDataTileMap.dispose();
_bitmapDataGlobalMap.dispose();
_bitmapDataDust.dispose();
}
function changeCamera(px, py) {
_myLastCamera.x = _myCamera.x;
_myLastCamera.y = _myCamera.y;
_myCamera.x = px;
_myCamera.y = py;
switch (_modeOfTiles) {
case 0 :
case 1 :
if (Math.abs(px) < _iFrontierXLow) {
_myCamera.x = _iFrontierXLow;
}
if (Math.abs(py) < _iFrontierYLow) {
_myCamera.y = _iFrontierYLow;
}
if (Math.abs(px) > _iFrontierXHigh) {
_myCamera.x = _iFrontierXHigh;
}
if (Math.abs(py) > _iFrontierYHigh) {
_myCamera.y = _iFrontierYHigh;
}
_world._x = (-_myCamera.x) + _screenWidthDiv2;
_world._y = (-_myCamera.y) + _screenHeightDiv2;
break;
default :
if (px < _iFrontierXLow) {
_myCamera.x = _iFrontierXLow;
}
if (py < _iFrontierYLow) {
_myCamera.y = _iFrontierYLow;
}
if (px > _iFrontierXHigh) {
_myCamera.x = _iFrontierXHigh;
}
if (py > _iFrontierYHigh) {
_myCamera.y = _iFrontierYHigh;
}
_world._x = _myCamera.x + _screenWidthDiv2;
_world._y = _myCamera.y + _screenHeightDiv2;
}
}
function getPointMatrix(pos) {
var _local2 = new flash.geom.Point(pos.x >> _blockPotenceSizeX, pos.y >> _blockPotenceSizeY);
return(_local2);
}
function getContent(p_pos, p_layer) {
if (p_pos.x < 0) {
return(-1);
}
if (p_pos.y < 0) {
return(-1);
}
if (p_pos.x >= _widthMatrix) {
return(-1);
}
if (p_pos.y >= _heightMatrix) {
return(-1);
}
return(_matrixLevel[(p_pos.x * _heightMatrix) + p_pos.y][p_layer]);
}
function getContent2(p_pos_x, p_pos_y, p_layer) {
if (p_pos_x < 0) {
return(-1);
}
if (p_pos_y < 0) {
return(-1);
}
if (p_pos_x >= _widthMatrix) {
return(-1);
}
if (p_pos_y >= _heightMatrix) {
return(-1);
}
return(_matrixLevel[(p_pos_x * _heightMatrix) + p_pos_y][p_layer]);
}
function setContent(p_pos, p_layer, p_cell) {
if (p_pos.x < 0) {
return(undefined);
}
if (p_pos.y < 0) {
return(undefined);
}
if (p_pos.x >= _widthMatrix) {
return(undefined);
}
if (p_pos.y >= _heightMatrix) {
return(undefined);
}
_matrixLevel[(p_pos.x * _heightMatrix) + p_pos.y][p_layer] = p_cell;
}
function getMaximumLayerValue(p_pos) {
var _local2 = (p_pos.x * _heightMatrix) + p_pos.y;
if (_matrixLevel[_local2][5] > 0) {
return(4);
}
if (_matrixLevel[_local2][4] > 0) {
return(3);
}
if (_matrixLevel[_local2][3] > 0) {
return(2);
}
if (_matrixLevel[_local2][2] > 0) {
return(1);
}
if (_matrixLevel[_local2][1] > 0) {
return(0);
}
return(-1);
}
function isCollision(posTest) {
var _local4;
var _local3;
var _local5 = Math.floor(posTest.x >> _blockPotenceSizeX);
var _local6 = Math.floor(posTest.y >> _blockPotenceSizeY);
var _local7 = _matrixLevel[(_local5 * _heightMatrix) + _local6][0];
switch (_local7) {
case COLISION_TYPE_EMPTY :
return(false);
case COLISION_TYPE_1 :
return(true);
case COLISION_TYPE_2 :
_local4 = posTest.x - (_local5 * _blockSizeX);
_local3 = _blockSizeY - (posTest.y - (_local6 * _blockSizeY));
if (testColisionDiagonal(315, _local4, _local3)) {
return(true);
}
return(false);
case COLISION_TYPE_3 :
_local4 = posTest.x - (_local5 * _blockSizeX);
_local3 = _blockSizeY - (posTest.y - (_local6 * _blockSizeY));
if (testColisionDiagonal(225, _local4, _local3)) {
return(true);
}
return(false);
case COLISION_TYPE_4 :
_local4 = posTest.x - (_local5 * _blockSizeX);
_local3 = _blockSizeY - (posTest.y - (_local6 * _blockSizeY));
if (testColisionDiagonal(45, _local4, _local3)) {
return(true);
}
return(false);
case COLISION_TYPE_5 :
_local4 = posTest.x - (_local5 * _blockSizeX);
_local3 = _blockSizeY - (posTest.y - (_local6 * _blockSizeY));
if (testColisionDiagonal(135, _local4, _local3)) {
return(true);
}
return(false);
}
return(true);
}
function testColisionDiagonal(grad, posTest_x, posTest_y) {
var _local2 = 0;
switch (grad) {
case 45 :
_local2 = (((-_blockSizeY) * posTest_x) + ((-_blockSizeX) * posTest_y)) + (_blockSizeX * _blockSizeY);
break;
case 135 :
_local2 = (_blockSizeY * posTest_x) + ((-_blockSizeX) * posTest_y);
break;
case 225 :
_local2 = ((_blockSizeY * posTest_x) + (_blockSizeX * posTest_y)) - (_blockSizeX * _blockSizeY);
break;
case 315 :
_local2 = ((-_blockSizeY) * posTest_x) + (_blockSizeX * posTest_y);
}
return(_local2 > 0);
}
function renderCellDust(renderCasilla, posCellScreen) {
var _local3 = Math.floor(renderCasilla / 3);
var _local2 = Math.floor(renderCasilla % 3);
_bitmapDataGlobalMap.copyPixels(_bitmapDataDust, new flash.geom.Rectangle(_local3 * _blockSizeX, _local2 * _blockSizeY, _blockSizeX, _blockSizeY), posCellScreen, _bitmapDataDust, new flash.geom.Point(0, 0), true);
}
function renderCell(i, j, posCellScreen, layer) {
var _local4 = (i * _heightMatrix) + j;
var _local3;
if (layer == -1) {
var _local2 = _matrixLevel[_local4][5];
if (_local2 == -1) {
_local2 = _matrixLevel[_local4][4];
}
if (_local2 == 0) {
_local2 = _matrixLevel[_local4][3];
}
if (_local2 == 0) {
_local2 = _matrixLevel[_local4][2];
}
if (_local2 == 0) {
_local2 = _matrixLevel[_local4][1];
}
_local3 = _local2;
} else {
_local3 = 0;
if (_matrixLevel[_local4][layer + 1] > 0) {
_local3 = _matrixLevel[_local4][layer + 1];
}
}
if (_local3 > 0) {
_local3 = _local3 - 1;
var _local7 = Math.floor(_local3 / 3);
var _local6 = Math.floor(_local3 % 3);
_bitmapDataGlobalMap.copyPixels(_bitmapDataTileMap, new flash.geom.Rectangle(_local7 * _blockSizeX, _local6 * _blockSizeY, _blockSizeX, _blockSizeY), posCellScreen, _bitmapDataTileMap, new flash.geom.Point(0, 0), true);
}
}
function getDirectionDestination(origin, destination) {
var _local2 = getPointMatrix(origin);
var _local3 = getPointMatrix(destination);
var _local4 = (_local2.x * _heightMatrix) + _local2.y;
var _local5 = (_local3.x * _heightMatrix) + _local3.y;
return(0);
}
function buildBoardBitmapData(linkageId) {
_bitmapDataTileMap = flash.display.BitmapData.loadBitmap(linkageId);
_bitmapDataDust = flash.display.BitmapData.loadBitmap("dust");
_bitmapDataGlobalMap = new flash.display.BitmapData(_blockSizeX * _widthMatrix, _blockSizeY * _heightMatrix, true);
var _local3 = 0;
while (_local3 < _widthMatrix) {
var _local2 = 0;
while (_local2 < _heightMatrix) {
renderCell(_local3, _local2, new flash.geom.Point(_local3 << _blockPotenceSizeX, _local2 << _blockPotenceSizeY), 0);
renderCell(_local3, _local2, new flash.geom.Point(_local3 << _blockPotenceSizeX, _local2 << _blockPotenceSizeY), 1);
renderCell(_local3, _local2, new flash.geom.Point(_local3 << _blockPotenceSizeX, _local2 << _blockPotenceSizeY), 2);
renderCell(_local3, _local2, new flash.geom.Point(_local3 << _blockPotenceSizeX, _local2 << _blockPotenceSizeY), 3);
renderCell(_local3, _local2, new flash.geom.Point(_local3 << _blockPotenceSizeX, _local2 << _blockPotenceSizeY), 4);
_local2++;
}
_local3++;
}
_world.attachBitmap(_bitmapDataGlobalMap, 0);
}
function getScreenPoint(ppos) {
var _local2 = new flash.geom.Point(ppos.x, ppos.y);
_local2.x = _local2.x - _myCamera.x;
_local2.y = _local2.y - _myCamera.y;
_local2.x = _local2.x + (_screenSize.x >> 1);
_local2.y = _local2.y + (_screenSize.y >> 1);
return(_local2);
}
function getWorldPoint(ppos) {
var _local2 = new flash.geom.Point(ppos.x, ppos.y);
_local2.x = _local2.x + _myCamera.x;
_local2.y = _local2.y + _myCamera.y;
_local2.x = _local2.x - (_screenSize.x >> 1);
_local2.y = _local2.y - (_screenSize.y >> 1);
return(_local2);
}
function setElementScreenPoint(p_clip, p_pos) {
var _local2 = getScreenPoint(p_pos);
p_clip._x = _local2.x;
p_clip._y = _local2.y;
}
function isInsideScreen(p_pos) {
var _local2 = (p_pos.x - _myCamera.x) + (_screenSize.x >> 1);
var _local3 = (p_pos.y - _myCamera.y) + (_screenSize.y >> 1);
return((((_local2 > 0) && (_local3 > 0)) && (_local2 < _screenSize.x)) && (_local3 < _screenSize.y));
}
function initAI() {
var _local2;
_matrizAI = new Array();
_totalCellMatriz = _widthMatrix * _heightMatrix;
_local2 = 0;
while (_local2 < _totalCellMatriz) {
_matrizAI.push([-1, -1, Define.DIRECTION_NONE, -1, 1000000, -1]);
_local2++;
}
}
function accionCalcularDireccionCoordenadas(x_o, y_o, x_d, y_d) {
if (y_o > y_d) {
return(Define.DIRECTION_UP);
}
if (y_o < y_d) {
return(Define.DIRECTION_DOWN);
}
if (x_o < x_d) {
return(Define.DIRECTION_RIGHT);
}
if (x_o > x_d) {
return(Define.DIRECTION_LEFT);
}
return(Define.DIRECTION_NONE);
}
function accionDistanciaCoordenadas(x_o, y_o, x_d, y_d) {
return(Math.abs(x_o - x_d) + Math.abs(y_o - y_d));
}
function accionHijoCorrecto(pos_x, pos_y, tamanyo_matriz) {
var _local6;
var _local2;
if ((pos_x < 0) || (pos_x >= _widthMatrix)) {
return(0);
}
if ((pos_y < 0) || (pos_y >= _heightMatrix)) {
return(0);
}
_local6 = getContent2(pos_x, pos_y, 0);
if (_local6 != COLISION_TYPE_EMPTY) {
return(0);
}
_local2 = 0;
while (_local2 <= tamanyo_matriz) {
if ((_matrizAI[_local2][0] == pos_x) && (_matrizAI[_local2][1] == pos_y)) {
return(0);
}
_local2++;
}
return(1);
}
function accionBuscarCamino(x_ori, y_ori, x_des, y_des) {
var _local3;
var _local6;
var _local11;
var _local7;
var _local5;
var _local4;
var _local2;
var _local12;
var _local8;
_local3 = 0;
while (_local3 < _totalCellMatriz) {
_matrizAI[_local3][0] = -1;
_matrizAI[_local3][1] = -1;
_matrizAI[_local3][2] = Define.DIRECTION_NONE;
_matrizAI[_local3][3] = -1;
_matrizAI[_local3][4] = 1000000 /* 0x0F4240 */;
_matrizAI[_local3][5] = -1;
_local3++;
}
_local2 = 0;
_matrizAI[_local2][0] = x_ori;
_matrizAI[_local2][1] = y_ori;
_matrizAI[_local2][2] = 1;
_matrizAI[_local2][3] = Define.DIRECTION_NONE;
if ((x_des == Define.DIRECTION_NONE) && (y_des == Define.DIRECTION_NONE)) {
_matrizAI[_local2][4] = 0;
} else {
_matrizAI[_local2][4] = accionDistanciaCoordenadas(x_ori, y_ori, x_des, y_des);
}
_matrizAI[_local2][5] = -1;
_local3 = 0;
do {
_local11 = 0;
if (_local2 > (_totalCellMatriz - 10)) {
return(Define.DIRECTION_NONE);
}
_local12 = 1000000 /* 0x0F4240 */;
_local3 = -1;
_local6 = 0;
while (_local6 <= _local2) {
if (_matrizAI[_local6][2] == 1) {
if (_matrizAI[_local6][4] < _local12) {
_local3 = _local6;
_local12 = _matrizAI[_local6][4];
}
}
_local6++;
}
if (_local3 == -1) {
return(Define.DIRECTION_NONE);
}
_local8 = _local3;
if ((_matrizAI[_local3][0] == x_des) && (_matrizAI[_local3][1] == y_des)) {
return(_matrizAI[_local8][3]);
}
_matrizAI[_local8][2] = 0;
_local5 = _matrizAI[_local3][0];
_local4 = _matrizAI[_local3][1] + 1;
if (accionHijoCorrecto(_local5, _local4, _local2) == 1) {
if (_matrizAI[_local8][3] == Define.DIRECTION_NONE) {
_local7 = Define.DIRECTION_DOWN;
} else {
_local7 = _matrizAI[_local8][3];
}
_local2++;
_matrizAI[_local2][0] = _local5;
_matrizAI[_local2][1] = _local4;
_matrizAI[_local2][2] = 1;
_matrizAI[_local2][3] = _local7;
if ((x_des == Define.DIRECTION_NONE) && (y_des == Define.DIRECTION_NONE)) {
_matrizAI[_local2][4] = 0;
} else {
_matrizAI[_local2][4] = accionDistanciaCoordenadas(_local5, _local4, x_des, y_des);
}
_matrizAI[_local2][5] = _local3;
_local11++;
}
_local5 = _matrizAI[_local3][0];
_local4 = _matrizAI[_local3][1] - 1;
if (accionHijoCorrecto(_local5, _local4, _local2) == 1) {
if (_matrizAI[_local8][3] == Define.DIRECTION_NONE) {
_local7 = Define.DIRECTION_UP;
} else {
_local7 = _matrizAI[_local8][3];
}
_local2++;
_matrizAI[_local2][0] = _local5;
_matrizAI[_local2][1] = _local4;
_matrizAI[_local2][2] = 1;
_matrizAI[_local2][3] = _local7;
if ((x_des == Define.DIRECTION_NONE) && (y_des == Define.DIRECTION_NONE)) {
_matrizAI[_local2][4] = 0;
} else {
_matrizAI[_local2][4] = accionDistanciaCoordenadas(_local5, _local4, x_des, y_des);
}
_matrizAI[_local2][5] = _local3;
_local11++;
}
_local5 = _matrizAI[_local3][0] - 1;
_local4 = _matrizAI[_local3][1];
if (accionHijoCorrecto(_local5, _local4, _local2) == 1) {
if (_matrizAI[_local8][3] == Define.DIRECTION_NONE) {
_local7 = Define.DIRECTION_LEFT;
} else {
_local7 = _matrizAI[_local8][3];
}
_local2++;
_matrizAI[_local2][0] = _local5;
_matrizAI[_local2][1] = _local4;
_matrizAI[_local2][2] = 1;
_matrizAI[_local2][3] = _local7;
if ((x_des == Define.DIRECTION_NONE) && (y_des == Define.DIRECTION_NONE)) {
_matrizAI[_local2][4] = 0;
} else {
_matrizAI[_local2][4] = accionDistanciaCoordenadas(_local5, _local4, x_des, y_des);
}
_matrizAI[_local2][5] = _local3;
_local11++;
}
_local5 = _matrizAI[_local3][0] + 1;
_local4 = _matrizAI[_local3][1];
if (accionHijoCorrecto(_local5, _local4, _local2) == 1) {
if (_matrizAI[_local8][3] == Define.DIRECTION_NONE) {
_local7 = Define.DIRECTION_RIGHT;
} else {
_local7 = _matrizAI[_local8][3];
}
_local2++;
_matrizAI[_local2][0] = _local5;
_matrizAI[_local2][1] = _local4;
_matrizAI[_local2][2] = 1;
_matrizAI[_local2][3] = _local7;
if ((x_des == Define.DIRECTION_NONE) && (y_des == Define.DIRECTION_NONE)) {
_matrizAI[_local2][4] = 0;
} else {
_matrizAI[_local2][4] = accionDistanciaCoordenadas(_local5, _local4, x_des, y_des);
}
_matrizAI[_local2][5] = _local3;
_local11++;
}
} while (true);
}
function logic() {
switch (_state) {
case STATE_NORMAL :
_iterator = 0;
break;
case STATE_EARTHQUAKE :
_iterator++;
switch (Math.floor((_iterator % 8) / 4)) {
case 0 :
changeCamera(_myCamera.x, _myCamera.y + _stepEarthquake);
break;
case 1 :
changeCamera(_myCamera.x, _myCamera.y - _stepEarthquake);
}
}
}
static var COLISION_TYPE_EMPTY = 0;
static var COLISION_TYPE_1 = 1;
static var COLISION_TYPE_2 = 2;
static var COLISION_TYPE_3 = 3;
static var COLISION_TYPE_4 = 4;
static var COLISION_TYPE_5 = 5;
static var STATE_NORMAL = 0;
static var STATE_EARTHQUAKE = 1;
}
Symbol 2221 MovieClip [__Packages.cXml] Frame 0
class cXml
{
function cXml () {
}
static var XML_LEVELS = ["<level><par name=\"matrixwidth\">8</par><par name=\"matrixheight\">8</par><par name=\"blocksizex\">128</par><par name=\"blocksizey\">128</par><par name=\"colision\">,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0</par><par name=\"render\">,2,3,3,3,3,3,3,2,4,5,5,4,4,5,5,4,4,5,5,4,4,5,5,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,5,5,4,4,5,5,4,4,5,5,4,4,5,5,4,2,3,3,3,3,3,3,2</par><par name=\"render1\">,0,0,0,0,0,0,0,0,0,37,39,0,0,37,39,0,0,43,45,0,0,43,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,39,0,0,37,39,0,0,43,45,0,0,43,45,0,0,0,0,0,0,0,0,0</par><par name=\"render2\">,0,0,0,0,0,0,0,0,0,28,30,0,0,28,30,0,0,34,36,0,0,34,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,30,0,0,28,30,0,0,34,36,0,0,34,36,0,0,0,0,0,0,0,0,0</par><par name=\"render3\">,0,0,0,0,0,0,0,0,0,19,21,0,0,19,21,0,0,25,27,0,0,25,27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,21,0,0,19,21,0,0,25,27,0,0,25,27,0,0,0,0,0,0,0,0,0</par><par name=\"render4\">,0,0,0,0,0,0,0,0,0,10,12,0,0,10,12,0,0,16,18,0,0,16,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,12,0,0,10,12,0,0,16,18,0,0,16,18,0,0,0,0,0,0,0,0,0</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">9</par><par name=\"blocksizex\">128</par><par name=\"blocksizey\">128</par><par name=\"colision\">,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,0,0,1,1,0,0,1,1,1,0,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,0,1,0,1,1,1,0</par><par name=\"render\">,4,3,3,3,3,3,3,3,4,4,5,5,4,4,5,5,5,4,4,5,5,4,4,5,5,5,4,4,5,5,4,4,5,5,5,4,4,3,2,3,4,3,3,3,4,4,5,4,5,4,3,3,3,4,4,3,2,3,4,4,5,5,4,4,5,4,5,4,4,5,5,4,4,3,2,3,4,3,3,3,4,4,5,4,5,4,3,3,3,4,4,3,2,3,4,5,5,5,4,4,5,4,5,4,5,5,5,4</par><par name=\"render1\">,0,0,0,0,0,0,0,0,0,0,37,39,0,0,37,38,39,0,0,40,42,0,0,40,41,42,0,0,43,45,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,9,0,9,0,0,0,0,0,0,0,0,0,0,0,37,39,0,0,9,0,9,0,0,43,45,0,0,0,0,0,0,0,0,0,0,0,9,0,9,0,0,0,0,0,0,0,0,0,0,37,38,39,0,0,9,0,9,0,43,44,45,0</par><par name=\"render2\">,0,0,0,0,0,0,0,0,0,0,28,30,0,0,28,29,30,0,0,31,33,0,0,31,32,33,0,0,34,36,0,0,34,35,36,0,0,0,0,0,0,0,0,0,0,0,8,0,8,0,0,0,0,0,0,0,0,0,0,0,28,30,0,0,8,0,8,0,0,34,36,0,0,0,0,0,0,0,0,0,0,0,8,0,8,0,0,0,0,0,0,0,0,0,0,28,29,30,0,0,8,0,8,0,34,35,36,0</par><par name=\"render3\">,0,0,0,0,0,0,0,0,0,0,19,21,0,0,19,20,21,0,0,22,24,0,0,22,23,24,0,0,25,27,0,0,25,26,27,0,0,0,0,0,0,0,0,0,0,0,7,0,7,0,0,0,0,0,0,0,0,0,0,0,19,21,0,0,7,0,7,0,0,25,27,0,0,0,0,0,0,0,0,0,0,0,7,0,7,0,0,0,0,0,0,0,0,0,0,19,20,21,0,0,7,0,7,0,25,26,27,0</par><par name=\"render4\">,0,0,0,0,0,0,0,0,0,0,10,12,0,0,10,11,12,0,0,13,15,0,0,13,14,15,0,0,16,0,0,0,16,17,18,0,0,0,0,0,0,0,0,0,0,0,6,0,6,0,0,0,0,0,0,0,0,0,0,0,10,12,0,0,6,0,6,0,0,16,18,0,0,0,0,0,0,0,0,0,0,0,6,0,6,0,0,0,0,0,0,0,0,0,0,10,11,12,0,0,6,0,6,0,16,17,18,0</par></level>", "<level><par name=\"matrixwidth\">10</par><par name=\"matrixheight\">15</par><par name=\"blocksizex\">128</par><par name=\"blocksizey\">128</par><par name=\"colision\">,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render\">,1,1,2,2,1,1,1,2,4,2,1,1,1,1,1,1,1,2,2,1,4,1,2,1,2,4,4,4,4,1,4,4,2,2,1,1,1,2,1,2,4,4,4,4,1,4,4,2,2,4,4,4,2,3,2,3,3,3,3,3,4,4,2,2,4,4,4,2,4,2,3,3,3,3,3,4,4,2,2,4,4,4,2,3,2,3,3,3,3,3,4,4,2,2,1,1,1,2,1,2,4,4,4,4,1,1,1,2,2,1,4,1,2,1,2,4,4,4,4,1,1,1,2,2,1,1,1,2,4,2,1,1,1,1,1,1,1,2,2,1,1,1,2,1,2,1,1,1,1,1</par><par name=\"render1\">,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,40,41,41,42,0,40,42,0,0,0,0,0,0,0,0,46,47,47,48,0,43,45,0,0,40,41,42,0,0,0,0,0,0,0,0,43,45,0,0,43,44,45,0,8,0,0,0,0,0,0,43,45,0,0,46,47,48,0,0,0,0,0,0,0,0,46,48,0,0,0,0,0,0,0,0,40,41,41,42,0,0,0,0,0,0,8,0,0,0,0,46,47,47,48,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render2\">,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,31,32,32,33,0,31,33,0,0,0,0,0,0,0,0,37,38,38,39,0,34,36,0,0,31,32,33,0,0,0,0,0,0,0,0,34,36,0,0,34,35,36,0,7,0,0,0,0,0,0,34,36,0,0,37,38,39,0,0,0,0,0,0,0,0,37,39,0,0,0,0,0,0,0,0,31,32,32,33,0,0,0,0,0,0,7,0,0,0,0,37,38,38,39,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render3\">,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,22,23,23,24,0,22,24,0,0,0,0,0,0,0,0,28,29,29,30,0,25,27,0,0,22,23,24,0,0,0,0,0,0,0,0,25,27,0,0,25,26,27,0,6,0,0,0,0,0,0,25,27,0,0,28,29,30,0,0,0,0,0,0,0,0,28,30,0,0,0,0,0,0,0,0,22,23,23,24,0,0,0,0,0,0,6,0,0,0,0,28,29,29,30,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render4\">,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,13,14,14,15,0,13,15,0,0,0,0,0,0,0,0,19,20,20,21,0,16,18,0,0,13,14,15,0,0,0,0,0,0,0,0,16,18,0,0,16,17,18,0,5,0,0,0,0,0,0,16,18,0,0,19,20,21,0,0,0,0,0,0,0,0,19,21,0,0,0,0,0,0,0,0,13,14,14,15,0,0,0,0,0,0,5,0,0,0,0,19,20,20,21,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par></level>", "<level><par name=\"matrixwidth\">20</par><par name=\"matrixheight\">12</par><par name=\"blocksizex\">128</par><par name=\"blocksizey\">128</par><par name=\"colision\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1</par><par name=\"render\">,1,1,1,1,1,2,2,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,4,4,4,4,2,2,4,4,4,4,1,1,4,4,4,4,2,2,4,4,4,4,1,1,4,4,4,4,2,2,4,4,4,4,1,3,3,3,3,3,2,2,3,3,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,4,4,4,1,1,2,2,1,1,4,4,4,4,4,4,1,4,2,2,4,1,4,4,4,4,4,4,1,1,2,2,1,1,4,4,4,4,4,4,1,1,2,2,1,1,4,4,4,4,4,4,1,4,2,2,4,1,4,4,4,3,3,3,3,3,2,2,3,3,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,1,1,1,1,4,2,2,4,1,1,1,1,4,4,4,1,1,2,2,1,1,4,4,4,4,4,4,1,1,2,2,1,1,4,4,4,4,4,4,1,4,2,2,4,1,4,4,4,4,4,4,1,1,2,2,1,1,4,4,4,4,4,4,1,1,2,2,1,1,4,4,4</par><par name=\"render1\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,41,41,42,0,0,40,41,41,42,0,0,43,44,44,45,0,0,43,44,44,45,0,0,46,47,47,48,0,0,46,47,47,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,41,42,0,0,0,0,0,0,40,41,42,43,44,45,0,12,0,0,8,0,43,44,45,43,44,45,0,0,0,0,0,0,43,44,45,43,44,45,0,0,0,0,0,0,43,44,45,46,47,48,0,8,0,0,12,0,46,47,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,8,0,0,0,0,40,41,42,0,0,0,0,0,0,40,41,42,43,44,45,0,0,0,0,0,0,43,44,45,43,44,45,0,8,0,0,12,0,43,44,45,43,44,45,0,0,0,0,0,0,43,44,45,46,47,48,0,0,0,0,0,0,46,47,48</par><par name=\"render2\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,32,32,33,0,0,31,32,32,33,0,0,34,35,35,36,0,0,34,35,35,36,0,0,37,38,38,39,0,0,37,38,38,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,32,33,0,0,0,0,0,0,31,32,33,34,35,36,0,11,0,0,7,0,34,35,36,34,35,36,0,0,0,0,0,0,34,35,36,34,35,36,0,0,0,0,0,0,34,35,36,37,38,39,0,7,0,0,11,0,37,38,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,7,0,0,0,0,31,32,33,0,0,0,0,0,0,31,32,33,34,35,36,0,0,0,0,0,0,34,35,36,34,35,36,0,7,0,0,11,0,34,35,36,34,35,36,0,0,0,0,0,0,34,35,36,37,38,39,0,0,0,0,0,0,37,38,39</par><par name=\"render3\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,23,24,0,0,22,23,23,24,0,0,25,26,26,27,0,0,25,26,26,27,0,0,28,29,29,30,0,0,28,29,29,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,24,0,0,0,0,0,0,22,23,24,25,26,27,0,10,0,0,6,0,25,26,27,25,26,27,0,0,0,0,0,0,25,26,27,25,26,27,0,0,0,0,0,0,25,26,27,28,29,30,0,6,0,0,10,0,28,29,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,6,0,0,0,0,22,23,24,0,0,0,0,0,0,22,23,24,25,26,27,0,0,0,0,0,0,25,26,27,25,26,27,0,6,0,0,10,0,25,26,27,25,26,27,0,0,0,0,0,0,25,26,27,28,29,30,0,0,0,0,0,0,28,29,30</par><par name=\"render4\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,14,14,15,0,0,13,14,14,15,0,0,16,17,17,18,0,0,16,17,17,18,0,0,19,20,20,21,0,0,19,20,20,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,14,15,0,0,0,0,0,0,13,14,15,16,17,18,0,9,0,0,5,0,16,17,18,16,17,18,0,0,0,0,0,0,16,17,18,16,17,18,0,0,0,0,0,0,16,17,18,19,20,21,0,5,0,0,9,0,19,20,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,5,0,0,0,0,13,14,15,0,0,0,0,0,0,13,14,15,16,17,18,0,0,0,0,0,0,16,17,18,16,17,18,0,5,0,0,9,0,16,17,18,16,17,18,0,0,0,0,0,0,16,17,18,19,20,21,0,0,0,0,0,0,19,20,21</par></level>", "<level><par name=\"matrixwidth\">20</par><par name=\"matrixheight\">9</par><par name=\"blocksizex\">128</par><par name=\"blocksizey\">128</par><par name=\"colision\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,0,0,0</par><par name=\"render\">,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,5,5,5,5,5,5,5,1,1,5,6,6,6,6,6,5,1,1,5,5,5,5,5,5,5,1,1,1,1,2,2,2,1,1,1,5,1,1,2,2,2,1,1,5,1,6,1,2,2,2,1,6,1,1,1,5,2,2,2,5,1,1,1,1,1,6,2,6,1,1,1,1,1,1,2,2,2,1,1,1,1,5,6,2,2,2,6,5,1,1,5,6,2,2,2,6,5,1,1,5,6,2,2,2,6,5,1,1,5,6,2,2,2,6,5,1,1,1,1,2,2,2,1,1,1,1,1,1,5,5,5,1,1,1,1,1,1,5,6,5,1,1,1,1,1,1,5,5,5,1,1,1</par><par name=\"render1\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,47,47,47,47,47,48,0,0,49,50,50,50,50,50,51,0,0,52,53,53,53,53,53,54,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,14,0,14,0,0,0,0,0,14,0,0,0,14,0,0,0,14,0,0,0,0,0,14,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,46,48,0,0,0,46,48,0,0,49,51,0,0,0,49,51,0,0,49,51,0,0,0,49,51,0,0,52,54,0,0,0,52,54,0,0,0,0,0,0,0,0,0,0,0,0,0,82,83,84,0,0,0,0,0,0,85,86,87,0,0,0,0,0,0,88,89,90,0,0,0</par><par name=\"render2\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,38,38,38,38,38,39,0,0,40,41,41,41,41,41,42,0,0,43,44,44,44,44,44,45,0,0,0,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,13,0,13,0,0,0,0,0,13,0,0,0,13,0,0,0,13,0,0,0,0,0,13,0,13,0,0,0,0,0,0,0,0,0,0,0,0,0,37,39,0,0,0,37,39,0,0,40,42,0,0,0,40,42,0,0,40,42,0,0,0,40,42,0,0,43,45,0,0,0,43,45,0,0,0,0,0,0,0,0,0,0,0,0,0,73,74,75,0,0,0,0,0,0,76,77,78,0,0,0,0,0,0,79,80,81,0,0,0</par><par name=\"render3\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,29,29,29,29,29,30,0,0,31,32,32,32,32,32,33,0,0,34,35,35,35,35,35,36,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,12,0,12,0,0,0,0,0,12,0,0,0,12,0,0,0,12,0,0,0,0,0,12,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,28,30,0,0,0,28,30,0,0,31,33,0,0,0,31,33,0,0,31,33,0,0,0,31,33,0,0,34,36,0,0,0,34,36,0,0,0,0,0,0,0,0,0,0,0,0,0,64,65,66,0,0,0,0,0,0,67,68,69,0,0,0,0,0,0,70,71,72,0,0,0</par><par name=\"render4\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,20,20,20,20,20,21,0,0,22,23,23,23,23,23,24,0,0,25,26,26,26,26,26,27,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,11,0,11,0,0,0,0,0,11,0,0,0,11,0,0,0,11,0,0,0,0,0,11,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,19,21,0,0,0,19,21,0,0,22,24,0,0,0,22,24,0,0,22,24,0,0,0,22,24,0,0,25,27,0,0,0,25,27,0,0,0,0,0,0,0,0,0,0,0,0,0,55,56,57,0,0,0,0,0,0,58,59,60,0,0,0,0,0,0,61,62,63,0,0,0</par></level>", "<level><par name=\"matrixwidth\">10</par><par name=\"matrixheight\">20</par><par name=\"blocksizex\">128</par><par name=\"blocksizey\">128</par><par name=\"colision\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,1,0,1,0,0,1,1,1,1,1,0,0,0,1,1,1,1,0,0,1,0,1,0,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,1,1,1,1,0,0,0,1,1,1,1,0,0,0,1,0,1,0,0,1,1,1,1,1,0,0,0,1,1,1,1,0,0,1,0,1,0,1,0,1,1,1,1,1,0,0,0,1,1,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render\">,3,3,3,3,3,3,3,4,3,3,3,3,3,3,3,3,3,3,3,3,1,1,5,5,5,5,2,2,5,1,6,1,5,2,1,1,1,1,1,2,1,1,5,6,6,5,2,2,1,5,1,5,1,2,5,5,5,5,5,2,1,1,5,5,5,5,2,2,5,1,6,1,5,2,5,6,6,6,5,2,3,3,3,3,3,3,2,2,1,5,1,5,1,2,5,6,6,6,5,2,3,3,3,3,3,3,2,2,5,1,6,1,5,2,5,6,6,6,5,2,1,1,5,5,5,5,2,2,1,5,1,5,1,2,5,6,6,6,5,2,1,1,5,6,6,5,2,2,5,1,6,1,5,2,5,5,5,5,5,2,1,1,5,5,5,5,2,2,1,5,1,5,1,2,1,1,1,1,1,2,3,3,3,3,3,3,3,4,3,3,3,3,3,3,3,3,3,3,3,3</par><par name=\"render1\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,47,47,48,0,0,10,0,10,0,10,0,0,0,0,0,0,0,0,0,49,50,50,51,0,0,0,14,0,14,0,0,46,47,47,47,48,0,0,0,52,53,53,54,0,0,10,0,10,0,10,0,49,50,50,50,51,0,0,0,0,0,0,0,0,0,0,14,0,14,0,0,49,50,50,50,51,0,0,0,0,0,0,0,0,0,10,0,10,0,10,0,49,50,50,50,51,0,0,0,46,47,47,48,0,0,0,14,0,14,0,0,49,50,50,50,51,0,0,0,49,50,50,51,0,0,10,0,10,0,10,0,52,53,53,53,54,0,0,0,52,53,53,54,0,0,0,14,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render2\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,38,38,39,0,0,9,0,9,0,9,0,0,0,0,0,0,0,0,0,40,41,41,42,0,0,0,13,0,13,0,0,37,38,38,38,39,0,0,0,43,44,44,45,0,0,9,0,9,0,9,0,40,41,41,41,42,0,0,0,0,0,0,0,0,0,0,13,0,13,0,0,40,41,41,41,42,0,0,0,0,0,0,0,0,0,9,0,9,0,9,0,40,41,41,41,42,0,0,0,37,38,38,39,0,0,0,13,0,13,0,0,40,41,41,41,42,0,0,0,40,41,41,42,0,0,9,0,9,0,9,0,43,44,44,44,45,0,0,0,43,44,44,45,0,0,0,13,0,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render3\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,29,29,30,0,0,8,0,8,0,8,0,0,0,0,0,0,0,0,0,31,32,32,33,0,0,0,12,0,12,0,0,28,29,29,29,30,0,0,0,34,35,35,36,0,0,8,0,8,0,8,0,31,32,32,32,33,0,0,0,0,0,0,0,0,0,0,12,0,12,0,0,31,32,32,32,33,0,0,0,0,0,0,0,0,0,8,0,8,0,8,0,31,32,32,32,33,0,0,0,28,29,29,30,0,0,0,12,0,12,0,0,31,32,32,32,33,0,0,0,31,32,32,33,0,0,8,0,8,0,8,0,34,35,35,35,36,0,0,0,34,35,35,36,0,0,0,12,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render4\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,20,20,21,0,0,7,0,7,0,7,0,0,0,0,0,0,0,0,0,22,23,23,24,0,0,0,11,0,11,0,0,19,20,20,20,21,0,0,0,25,26,26,27,0,0,7,0,7,0,7,0,22,23,23,23,24,0,0,0,0,0,0,0,0,0,0,11,0,11,0,0,22,23,23,23,24,0,0,0,0,0,0,0,0,0,7,0,7,0,7,0,22,23,23,23,24,0,0,0,19,20,20,21,0,0,0,11,0,11,0,0,22,23,23,23,24,0,0,0,22,23,23,24,0,0,7,0,7,0,7,0,25,26,26,26,27,0,0,0,25,26,26,27,0,0,0,11,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par></level>", "<level><par name=\"matrixwidth\">18</par><par name=\"matrixheight\">18</par><par name=\"blocksizex\">128</par><par name=\"blocksizey\">128</par><par name=\"colision\">,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,1,1,0,1,1,0,1,1,0,0,1,1,1,1,1,0,0,0,1,1,0,1,1,0,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,1,1,0,1,1,0,1,1,0,0,1,1,1,1,1,0,1,0,1,1,0,1,1,0,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0</par><par name=\"render\">,1,1,2,5,6,6,6,6,6,6,6,6,6,5,1,1,1,1,1,1,2,5,5,5,5,5,5,5,5,5,5,5,1,1,1,1,3,3,4,3,3,3,3,3,3,3,3,3,3,3,4,3,3,3,5,5,2,5,1,5,5,2,5,5,1,5,5,1,2,5,5,5,6,5,2,1,1,6,6,2,6,6,1,6,6,1,2,5,6,5,6,5,2,1,1,1,1,2,1,2,1,1,1,1,2,5,6,5,6,5,2,5,6,1,6,2,5,2,6,1,6,5,2,5,6,5,6,5,2,5,6,1,1,2,1,2,1,1,6,5,2,5,6,5,6,5,2,1,1,1,5,2,4,2,5,1,1,1,2,5,6,5,6,5,2,5,6,1,1,2,1,2,1,1,6,5,2,5,6,5,6,5,2,5,6,1,6,2,5,2,6,1,6,5,2,5,6,5,6,5,2,1,1,1,1,2,1,2,1,1,1,1,2,5,6,5,6,5,2,1,1,6,6,2,6,6,1,6,6,1,2,5,6,5,6,5,2,5,1,5,5,2,5,5,1,5,5,1,2,5,6,5,6,5,4,3,3,3,3,3,3,3,3,3,3,3,4,5,5,5,5,5,2,5,5,5,5,5,5,5,5,5,5,5,2,1,1,1,1,1,2,5,6,6,6,6,6,6,6,6,6,5,2,1,1,1,1,1,2,5,5,5,5,5,5,5,5,5,5,5,2,1,1,1</par><par name=\"render1\">,0,0,0,46,47,47,47,47,47,47,47,47,47,48,0,0,0,0,0,0,0,52,53,53,53,53,53,53,53,53,53,54,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,48,0,10,0,46,48,0,46,48,0,46,48,0,0,46,47,48,49,51,0,0,0,52,54,0,52,54,0,52,54,0,0,49,50,51,49,51,0,0,0,0,0,0,0,0,0,0,0,0,0,49,50,51,49,51,0,46,48,0,14,0,18,0,14,0,46,48,0,49,50,51,49,51,0,52,54,0,0,0,0,0,0,0,52,54,0,49,50,51,49,51,0,0,0,0,18,0,0,0,18,0,0,0,0,49,50,51,49,51,0,46,48,0,0,0,0,0,0,0,46,48,0,49,50,51,49,51,0,52,54,0,14,0,18,0,14,0,52,54,0,49,50,51,49,51,0,0,0,0,0,0,0,0,0,0,0,0,0,49,50,51,49,51,0,0,0,46,48,0,46,48,0,46,48,0,0,49,50,51,49,51,0,10,0,52,54,0,52,54,0,52,54,0,0,49,50,51,49,51,0,0,0,0,0,0,0,0,0,0,0,0,0,52,53,54,52,0,0,46,47,47,47,47,47,47,47,47,47,48,0,0,0,0,0,0,0,49,50,50,50,50,50,50,50,50,50,51,0,0,0,0,0,0,0,52,53,53,53,53,53,53,53,53,53,54,0,0,0,0</par><par name=\"render2\">,0,0,0,37,38,38,38,38,38,38,38,38,38,39,0,0,0,0,0,0,0,43,44,44,44,44,44,44,44,44,44,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,39,0,9,0,37,39,0,37,39,0,37,39,0,0,37,38,39,40,42,0,0,0,43,45,0,43,45,0,43,45,0,0,40,41,42,40,42,0,0,0,0,0,0,0,0,0,0,0,0,0,40,41,42,40,42,0,37,39,0,13,0,17,0,13,0,37,39,0,40,41,42,40,42,0,43,45,0,0,0,0,0,0,0,43,45,0,40,41,42,40,42,0,0,0,0,17,0,0,0,17,0,0,0,0,40,41,42,40,42,0,37,39,0,0,0,0,0,0,0,37,39,0,40,41,42,40,42,0,43,45,0,13,0,17,0,13,0,43,45,0,40,41,42,40,42,0,0,0,0,0,0,0,0,0,0,0,0,0,40,41,42,40,42,0,0,0,37,39,0,37,39,0,37,39,0,0,40,41,42,40,42,0,9,0,43,45,0,43,45,0,43,45,0,0,40,41,42,40,42,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,43,45,0,37,38,38,38,38,38,38,38,38,38,39,0,0,0,0,0,0,0,40,41,41,41,41,41,41,41,41,41,42,0,0,0,0,0,0,0,43,44,44,44,44,44,44,44,44,44,45,0,0,0,0</par><par name=\"render3\">,0,0,0,28,29,29,29,29,29,29,29,29,29,30,0,0,0,0,0,0,0,34,35,35,35,35,35,35,35,35,35,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,30,0,8,0,28,30,0,28,30,0,28,30,0,0,28,29,30,31,33,0,0,0,34,36,0,34,36,0,34,36,0,0,31,32,33,31,33,0,0,0,0,0,0,0,0,0,0,0,0,0,31,32,33,31,33,0,28,30,0,12,0,16,0,12,0,28,30,0,31,32,33,31,33,0,34,36,0,0,0,0,0,0,0,34,36,0,31,32,33,31,33,0,0,0,0,16,0,0,0,16,0,0,0,0,31,32,33,31,33,0,28,30,0,0,0,0,0,0,0,28,30,0,31,32,33,31,33,0,34,36,0,12,0,16,0,12,0,34,36,0,31,32,33,31,33,0,0,0,0,0,0,0,0,0,0,0,0,0,31,32,33,31,33,0,0,0,28,30,0,28,30,0,28,30,0,0,31,32,33,31,33,0,8,0,34,36,0,34,36,0,34,36,0,0,31,32,33,31,33,0,0,0,0,0,0,0,0,0,0,0,0,0,34,35,36,34,36,0,28,29,29,29,29,29,29,29,29,29,30,0,0,0,0,0,0,0,31,32,32,32,32,32,32,32,32,32,33,0,0,0,0,0,0,0,34,35,35,35,35,35,35,35,35,35,36,0,0,0,0</par><par name=\"render4\">,0,0,0,19,20,20,20,20,20,20,20,20,20,21,0,0,0,0,0,0,0,25,26,26,26,26,26,26,26,26,26,27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,21,0,7,0,19,21,0,19,21,0,19,21,0,0,19,20,21,22,24,0,0,0,25,27,0,25,27,0,25,27,0,0,22,23,24,22,24,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,24,22,24,0,19,21,0,11,0,15,0,11,0,19,21,0,22,23,24,22,24,0,25,27,0,0,0,0,0,0,0,25,27,0,22,23,24,22,24,0,0,0,0,15,0,0,0,15,0,0,0,0,22,23,24,22,24,0,19,21,0,0,0,0,0,0,0,19,21,0,22,23,24,22,24,0,25,27,0,11,0,15,0,11,0,25,27,0,22,23,24,22,24,0,0,0,0,0,0,0,0,0,0,0,0,0,22,23,24,22,24,0,0,0,19,21,0,19,21,0,19,21,0,0,22,23,24,22,24,0,7,0,25,27,0,25,27,0,25,27,0,0,22,23,24,22,24,0,0,0,0,0,0,0,0,0,0,0,0,0,25,26,27,25,27,0,19,20,20,20,20,20,20,20,20,20,21,0,0,0,0,0,0,0,22,23,23,23,23,23,23,23,23,23,24,0,0,0,0,0,0,0,25,26,26,26,26,26,26,26,26,26,27,0,0,0,0</par></level>", "<level><par name=\"matrixwidth\">16</par><par name=\"matrixheight\">16</par><par name=\"blocksizex\">128</par><par name=\"blocksizey\">128</par><par name=\"colision\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,1,0,0,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,1,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render\">,3,3,3,3,3,3,3,3,4,4,3,3,3,3,3,3,5,1,5,1,5,1,6,6,2,2,6,6,1,1,5,1,1,1,1,1,1,1,6,6,2,2,6,6,1,1,1,1,1,5,1,5,1,1,6,6,2,2,6,6,1,5,1,5,3,3,3,3,3,3,3,3,4,4,3,3,3,3,3,3,1,1,6,6,6,6,6,6,2,2,5,5,5,5,5,1,1,1,5,5,5,5,5,5,2,2,6,6,6,6,6,1,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,3,1,1,6,6,6,6,6,6,2,2,5,5,5,5,5,1,1,1,5,5,5,5,5,5,2,2,6,6,6,6,6,1,3,3,3,3,3,3,3,3,4,4,3,3,3,3,3,3,5,1,5,1,5,1,6,6,2,2,6,6,1,5,1,5,1,1,1,1,1,1,6,6,2,2,6,6,1,1,1,1,1,5,1,5,1,1,6,6,2,2,6,6,1,1,5,1,3,3,3,3,3,3,3,3,4,4,3,3,3,3,3,3</par><par name=\"render1\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,14,0,14,0,46,48,0,0,46,48,0,0,14,0,0,0,0,0,0,0,49,51,0,0,49,51,0,0,0,0,0,14,0,14,0,0,52,54,0,0,52,54,0,14,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,47,47,47,47,48,0,0,46,47,47,47,48,0,0,0,52,53,53,53,53,54,0,0,52,53,53,53,54,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,47,47,47,47,48,0,0,46,47,47,47,48,0,0,0,52,53,53,53,53,54,0,0,52,53,53,53,54,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,10,0,10,0,46,48,0,0,46,48,0,18,0,18,0,0,0,0,0,0,49,51,0,0,49,51,0,0,0,0,0,10,0,10,0,0,52,54,0,0,52,54,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render2\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,13,0,13,0,37,39,0,0,37,39,0,0,13,0,0,0,0,0,0,0,40,42,0,0,40,42,0,0,0,0,0,13,0,13,0,0,43,45,0,0,43,45,0,13,0,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,38,38,38,38,39,0,0,37,38,38,38,39,0,0,0,43,44,44,44,44,45,0,0,43,44,44,44,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,38,38,38,38,39,0,0,37,38,38,38,39,0,0,0,43,44,44,44,44,45,0,0,43,44,44,44,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,9,0,9,0,37,39,0,0,37,39,0,17,0,17,0,0,0,0,0,0,40,42,0,0,40,42,0,0,0,0,0,9,0,9,0,0,43,45,0,0,43,45,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render3\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,12,0,12,0,28,30,0,0,28,30,0,0,12,0,0,0,0,0,0,0,31,33,0,0,31,33,0,0,0,0,0,12,0,12,0,0,34,36,0,0,34,36,0,12,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,29,29,29,29,30,0,0,28,29,29,29,30,0,0,0,34,35,35,35,35,36,0,0,34,35,35,35,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,29,29,29,29,30,0,0,28,29,29,29,30,0,0,0,34,35,35,35,35,36,0,0,34,35,35,35,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,8,0,8,0,28,30,0,0,28,30,0,16,0,16,0,0,0,0,0,0,31,33,0,0,31,33,0,0,0,0,0,8,0,8,0,0,34,36,0,0,34,36,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par><par name=\"render4\">,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,11,0,11,0,19,21,0,0,19,21,0,0,11,0,0,0,0,0,0,0,22,24,0,0,22,24,0,0,0,0,0,11,0,11,0,0,25,27,0,0,25,27,0,11,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,20,20,20,20,21,0,0,19,20,20,20,21,0,0,0,25,26,26,26,26,27,0,0,25,26,26,26,27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,20,20,20,20,21,0,0,19,20,20,20,21,0,0,0,25,26,26,26,26,27,0,0,25,26,26,26,27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,7,0,7,0,19,21,0,0,19,21,0,15,0,15,0,0,0,0,0,0,22,24,0,0,22,24,0,0,0,0,0,7,0,7,0,0,25,27,0,0,25,27,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</par></level>"];
}
Symbol 2222 MovieClip [__Packages.cBuilding] Frame 0
class cBuilding
{
var _gWorld, _state, _pos, _impact, _iterator, _xBuildRemember, _yBuildRemember, _iRemember, _matrixBlocks, _iconMapArray, _iconMap;
function cBuilding (p_gWorld, p_pos) {
_gWorld = p_gWorld;
_state = STATE_NORMAL;
_pos = new flash.geom.Point(-1, -1);
_impact = -1;
_iterator = 0;
_xBuildRemember = -1;
_yBuildRemember = -1;
_iRemember = -1;
_matrixBlocks = new Array();
_iconMapArray = new Array();
makeSeed(p_pos);
if (Define.DEBUG_MAKE_BUILDING) {
trace(("+++ TOTAL BLOCKS BUILDING (" + _matrixBlocks.length) + ")");
var _local2 = 0;
while (_local2 < _matrixBlocks.length) {
var _local5 = _matrixBlocks[_local2][0];
var _local6 = _matrixBlocks[_local2][1];
var _local3 = _matrixBlocks[_local2][2];
var _local4 = _matrixBlocks[_local2][3];
var _local7 = _matrixBlocks[_local2][4];
trace((((((((("(x,y)=(" + _local5) + ",") + _local6) + ");levelLayer=") + _local3) + ";Life=") + _local4) + "; impact=") + _local7);
_local2++;
}
}
}
function freeResources() {
_matrixBlocks.splice(0, _matrixBlocks.length);
var _local2 = 0;
while (_local2 < _iconMapArray.length) {
_iconMapArray[_local2].removeMovieClip();
_local2++;
}
_iconMapArray.splice(0, _iconMapArray.length);
_iconMap.removeMovieClip();
}
function getSizeBuilding() {
var _local6 = new flash.geom.Point(1000, 1000);
var _local5 = new flash.geom.Point(-1000, -1000);
var _local4 = 0;
while (_local4 < _matrixBlocks.length) {
var _local2 = _matrixBlocks[_local4][0];
var _local3 = _matrixBlocks[_local4][1];
if (_local2 < _local6.x) {
_local6.x = _local2;
}
if (_local3 < _local6.y) {
_local6.y = _local3;
}
if (_local2 > _local5.x) {
_local5.x = _local2;
}
if (_local3 > _local5.y) {
_local5.y = _local3;
}
_local4++;
}
_local5.x = ((_local5.x - _local6.x) + 1) * _gWorld._blockSizeX;
_local5.y = ((_local5.y - _local6.y) + 1) * _gWorld._blockSizeY;
return(_local5);
}
function makeSeed(p_pos) {
var _local3 = _gWorld.getContent(p_pos, 0);
if ((_local3 != Worldmap.COLISION_TYPE_EMPTY) && (_local3 != -1)) {
var _local4 = isInside(p_pos);
if (_local4 < 0) {
_matrixBlocks.push([p_pos.x, p_pos.y, _gWorld.getMaximumLayerValue(p_pos), Define.NUMBER_HITS_BUILDING, 0]);
makeSeed(new flash.geom.Point(p_pos.x + 1, p_pos.y));
makeSeed(new flash.geom.Point(p_pos.x, p_pos.y + 1));
makeSeed(new flash.geom.Point(p_pos.x - 1, p_pos.y));
makeSeed(new flash.geom.Point(p_pos.x, p_pos.y - 1));
}
}
}
function isInside(p_pos) {
var _local2 = 0;
while (_local2 < _matrixBlocks.length) {
var _local3 = _matrixBlocks[_local2][0];
var _local4 = _matrixBlocks[_local2][1];
if ((p_pos.x == _local3) && (p_pos.y == _local4)) {
return(_local2);
}
_local2++;
}
return(-1);
}
function logicDamage() {
if ((_impact != -1) || ((_pos.x != -1) && (_pos.y != -1))) {
var _local2 = 0;
while (_local2 < _matrixBlocks.length) {
var _local3 = _matrixBlocks[_local2][0];
var _local4 = _matrixBlocks[_local2][1];
if ((_pos.x == _local3) && (_pos.y == _local4)) {
if (_impact != -1) {
_matrixBlocks[_local2][3] = _matrixBlocks[_local2][3] - _impact;
_impact = -1;
_iterator = 0;
_xBuildRemember = _local3;
_yBuildRemember = _local4;
_iRemember = _local2;
if ((_matrixBlocks[_local2][2] - 1) > 0) {
_gWorld.renderCell(_local3, _local4, new flash.geom.Point(_local3 << _gWorld._blockPotenceSizeX, _local4 << _gWorld._blockPotenceSizeY), _matrixBlocks[_local2][2] - 1);
}
if (_matrixBlocks[_local2][3] < 0) {
_matrixBlocks[_local2][2] = _matrixBlocks[_local2][2] - 1;
_matrixBlocks[_local2][3] = Define.NUMBER_HITS_BUILDING;
}
} else {
_iterator++;
if (_iterator > 3) {
_iterator = 0;
_pos.x = -1;
_pos.y = -1;
_xBuildRemember = -1;
_yBuildRemember = -1;
_iRemember = -1;
if (_matrixBlocks[_local2][2] <= 1) {
_gWorld.renderCell(_local3, _local4, new flash.geom.Point(_local3 << _gWorld._blockPotenceSizeX, _local4 << _gWorld._blockPotenceSizeY), 1);
_gWorld.setContent(new flash.geom.Point(_local3, _local4), 0, Worldmap.COLISION_TYPE_EMPTY);
_iconMapArray[_local2].gotoAndStop(3);
return(true);
}
if (_matrixBlocks[_local2][2] > 0) {
_gWorld.renderCell(_local3, _local4, new flash.geom.Point(_local3 << _gWorld._blockPotenceSizeX, _local4 << _gWorld._blockPotenceSizeY), _matrixBlocks[_local2][2]);
}
}
}
}
_local2++;
}
}
return(false);
}
function cancelDestructionAnimation() {
if (((_xBuildRemember != -1) && (_yBuildRemember != -1)) && (_iRemember != -1)) {
_iterator = 0;
_pos.x = -1;
_pos.y = -1;
if (_matrixBlocks[_iRemember][2] <= 1) {
_gWorld.renderCell(_xBuildRemember, _yBuildRemember, new flash.geom.Point(_xBuildRemember << _gWorld._blockPotenceSizeX, _yBuildRemember << _gWorld._blockPotenceSizeY), 1);
_gWorld.setContent(new flash.geom.Point(_xBuildRemember, _yBuildRemember), 0, Worldmap.COLISION_TYPE_EMPTY);
_iconMapArray[_iRemember].gotoAndStop(3);
} else if (_matrixBlocks[_iRemember][2] > 0) {
_gWorld.renderCell(_xBuildRemember, _yBuildRemember, new flash.geom.Point(_xBuildRemember << _gWorld._blockPotenceSizeX, _yBuildRemember << _gWorld._blockPotenceSizeY), _matrixBlocks[_iRemember][2]);
}
_xBuildRemember = -1;
_yBuildRemember = -1;
_iRemember = -1;
}
}
function isTotallyDestroyed() {
var _local2 = 0;
while (_local2 < _matrixBlocks.length) {
var _local3 = _matrixBlocks[_local2][0];
var _local4 = _matrixBlocks[_local2][1];
if (_gWorld.getContent(new flash.geom.Point(_local3, _local4), 0) != Worldmap.COLISION_TYPE_EMPTY) {
return(false);
}
_local2++;
}
return(true);
}
function logic() {
switch (_state) {
case STATE_NORMAL :
if (logicDamage()) {
if (isTotallyDestroyed()) {
_iterator = 0;
_state = STATE_DESTROYING;
}
}
break;
case STATE_DESTROYING :
if (_iterator < 1000) {
_iterator++;
}
if (_iterator == 1) {
_gWorld._state = Worldmap.STATE_EARTHQUAKE;
_gWorld._stepEarthquake = 3 * ((_matrixBlocks.length / 4) + 1);
_root.playGameSound(Define.SOUND_DESTRUCTION_BUILDING, 2);
}
if (_iterator < 4) {
var _local7 = 0;
while (_local7 < _iconMapArray.length) {
_iconMapArray[_local7].gotoAndStop(3);
_local7++;
}
}
if (_iterator < 120) {
var _local7 = 0;
while (_local7 < _matrixBlocks.length) {
var _local4 = _matrixBlocks[_local7][0];
var _local5 = _matrixBlocks[_local7][1];
_gWorld.renderCell(_local4, _local5, new flash.geom.Point(_local4 << _gWorld._blockPotenceSizeX, _local5 << _gWorld._blockPotenceSizeY), _matrixBlocks[_local7][2]);
var _local9 = Math.floor((_iterator % 30) / 10);
_gWorld.renderCellDust(_local9, new flash.geom.Point(_local4 << _gWorld._blockPotenceSizeX, _local5 << _gWorld._blockPotenceSizeY));
_local7++;
}
} else {
_gWorld._state = Worldmap.STATE_NORMAL;
var _local7 = 0;
while (_local7 < _matrixBlocks.length) {
var _local4 = _matrixBlocks[_local7][0];
var _local5 = _matrixBlocks[_local7][1];
_matrixBlocks[_local7][2] = _matrixBlocks[_local7][2] - 1;
_gWorld.renderCell(_local4, _local5, new flash.geom.Point(_local4 << _gWorld._blockPotenceSizeX, _local5 << _gWorld._blockPotenceSizeY), 0);
var _local6 = 3;
switch (_root.instGame.nmCurrentLevel) {
case 0 :
case 1 :
case 2 :
_local6 = 3;
break;
default :
_local6 = 5;
}
if (Define.randRange(0, 10) > _local6) {
var _local3 = Define.randRange(0, 6);
switch (_root.instGame.nmCurrentLevel) {
case 0 :
if (_local3 > 1) {
_local3 = -1;
}
break;
case 1 :
if (_local3 > 3) {
_local3 = -1;
}
break;
case 2 :
if (_local3 > 4) {
_local3 = -1;
}
break;
case 3 :
if (_local3 > 5) {
_local3 = -1;
}
break;
}
if (_local3 == 2) {
_local3 = -1;
if (Define.randRange(0, 10) > 7) {
_local3 = 2;
}
}
if (_local3 != -1) {
var _local8 = new flash.geom.Point((_local4 << _gWorld._blockPotenceSizeX) + (_gWorld._blockSizeX / 2), (_local5 << _gWorld._blockPotenceSizeY) + (_gWorld._blockSizeY / 2));
_root.instGame.insertItemAvailable(Define.OBJ_ITEM_LIFE + _local3, _local8);
}
}
_local7++;
}
_iconMap._visible = false;
_local7 = 0;
while (_local7 < _iconMapArray.length) {
_iconMapArray[_local7]._visible = false;
_local7++;
}
_root.instGame.gBuildingsDestroyed++;
_state = STATE_NULL;
}
break;
case STATE_NULL :
}
}
static var STATE_NORMAL = 0;
static var STATE_DESTROYING = 1;
static var STATE_NULL = 2;
}
Symbol 778 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 846 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 886 MovieClip Frame 128
stop();
Symbol 887 MovieClip Frame 272
_root.gotoAndPlay("logo");
Symbol 920 MovieClip Frame 189
_root.gotoAndPlay("main");
Symbol 928 Button
on (release) {
_root.gotoAndPlay("main");
}
Symbol 963 MovieClip [clipLogo] Frame 30
_root.mySoundTmp.attachSound("logomelody");
_root.mySoundTmp.start(0, 1);
Symbol 963 MovieClip [clipLogo] Frame 250
_root.gotoAndPlay("poxpower");
Symbol 964 Button
on (release) {
mySoundTmp.stop();
_root.gotoAndPlay("poxpower");
}
Symbol 991 MovieClip Frame 1
stop();
Symbol 991 MovieClip Frame 2
stop();
Symbol 991 MovieClip Frame 3
stop();
Symbol 991 MovieClip Frame 4
stop();
Symbol 991 MovieClip Frame 5
stop();
Symbol 992 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 992 MovieClip Frame 1
onClipEvent (load) {
this.datxt = "KILLS";
this.wid = 350;
this.bol = true;
}
Symbol 993 MovieClip [gameClip] Frame 1
function timelineFaster() {
nextFrame();
mainGameLogic();
updateAfterEvent();
}
function changeFrameRate(p_frameRate) {
gFramerate = p_frameRate;
clearInterval(tweenFaster);
if (gFramerate != Define.FAST_FRAME_RATE) {
_root.instGame.tweenFaster = setInterval(timelineFaster, gEfectiveFrameRate);
} else {
_root.instGame.tweenFaster = setInterval(timelineFaster, gFramerate);
}
}
function freeGame() {
gProtagonist.freeResources();
var _local1 = 0;
while (_local1 < gEnemies.length) {
gEnemies[_local1].freeResources();
_local1++;
}
gEnemies.splice(0, gEnemies.length);
_local1 = 0;
while (_local1 < gNPCs.length) {
gNPCs[_local1].freeResources();
_local1++;
}
gNPCs.splice(0, gNPCs.length);
_local1 = 0;
while (_local1 < gItems.length) {
gItems[_local1].freeResources();
_local1++;
}
gItems.splice(0, gItems.length);
_local1 = 0;
while (_local1 < gShoots.length) {
gShoots[_local1].freeResources();
_local1++;
}
gShoots.splice(0, gShoots.length);
_local1 = 0;
while (_local1 < gBuilding.length) {
gBuilding[_local1].freeResources();
_local1++;
}
gBuilding.splice(0, gBuilding.length);
gWorld.freeWorld();
gMirilla.removeMovieClip();
gPlayerInMap.removeMovieClip();
}
changeGeneralGameState = function (newState) {
gIterator = 0;
gLastStateGame = gStateGame;
gStateGame = newState;
if (Define.DEBUG_GENERAL) {
switch (gStateGame) {
case Define.STATE_GAME_PRE_LOADING :
trace("gStateGame=STATE_GAME_PRE_LOADING");
break;
case Define.STATE_GAME_LOADING :
trace("gStateGame=STATE_GAME_LOADING");
break;
case Define.STATE_GAME_PRESENTATION :
trace("gStateGame=STATE_GAME_PRESENTATION");
break;
case Define.STATE_GAME_RUN :
trace("gStateGame=STATE_GAME_RUN");
break;
case Define.STATE_GAME_VICTORY :
trace("gStateGame=STATE_GAME_VICTORY");
break;
case Define.STATE_GAME_LOSE :
trace("gStateGame=STATE_GAME_LOSE");
break;
default :
trace("gStateGame=NONE");
}
}
};
initGame = function (p_level) {
nmCurrentLevel = p_level;
if (p_level == 0) {
_root.instMovieIntro._visible = true;
_root.instMovieIntro.gotoAndPlay(1);
} else {
changeGeneralGameState(Define.STATE_GAME_PRE_LOADING);
}
};
buildingCreation = function () {
gBuilding = new Array();
var _local7 = 0;
while (_local7 < gWorld._widthMatrix) {
var _local3 = 0;
while (_local3 < gWorld._heightMatrix) {
var _local2 = new flash.geom.Point(_local7, _local3);
var _local6 = gWorld.getContent(_local2, 5);
if ((_local6 != Worldmap.COLISION_TYPE_EMPTY) && (_local6 != -1)) {
var _local4 = false;
var _local1 = 0;
while (_local1 < gBuilding.length) {
var _local5 = gBuilding[_local1].isInside(_local2);
if (_local5 >= 0) {
_local4 = true;
break;
}
_local1++;
}
if (_local4 == false) {
gBuilding.push(new cBuilding(gWorld, _local2));
}
}
_local3++;
}
_local7++;
}
if (Define.DEBUG_MAKE_BUILDING) {
trace("********************************************************");
trace(("Number of elements building (" + gBuilding.length) + ")");
trace("********************************************************");
}
};
buildingTestColision = function (p_pos, p_damage) {
var _local2 = 0;
while (_local2 < gBuilding.length) {
var _local1 = gBuilding[_local2];
var _local3 = _local1.isInside(p_pos);
if (_local3 >= 0) {
if (_local1._impact == -1) {
if ((_local1._pos.x != -1) && (_local1._pos.y != -1)) {
_local1.cancelDestructionAnimation();
}
_local1._pos = new flash.geom.Point(p_pos.x, p_pos.y);
_local1._impact = p_damage;
}
}
_local2++;
}
};
buildingTestDestruction = function (p_pos, p_range_x, p_range_y) {
var _local7 = new flash.geom.Point(0, 0);
var _local9 = 0;
while (_local9 < gBuilding.length) {
var _local1 = gBuilding[_local9];
if (_local1._state == cBuilding.STATE_NORMAL) {
var _local6 = 0;
while (_local6 < p_range_x) {
var _local4 = 0;
while (_local4 < p_range_y) {
_local7.x = p_pos.x + _local6;
_local7.y = p_pos.y + _local4;
var _local2 = _local1.isInside(_local7);
if (_local2 >= 0) {
var _local3 = _local1._matrixBlocks[_local2][0];
var _local5 = _local1._matrixBlocks[_local2][1];
_local1._iterator = 0;
_local1._pos.x = -1;
_local1._pos.y = -1;
_local1._impact = -1;
_local1._matrixBlocks[_local2][2] = 1;
_local1._iconMapArray[_local2].gotoAndStop(3);
gWorld.renderCell(_local3, _local5, new flash.geom.Point(_local3 << gWorld._blockPotenceSizeX, _local5 << gWorld._blockPotenceSizeY), _local1._matrixBlocks[_local2][2]);
gWorld.setContent(new flash.geom.Point(_local3, _local5), 0, Worldmap.COLISION_TYPE_EMPTY);
if (_local1.isTotallyDestroyed()) {
_local1._iterator = 0;
_local1._state = cBuilding.STATE_DESTROYING;
}
}
_local4++;
}
_local6++;
}
}
_local9++;
}
};
initObjects_Mirilla = function () {
var _local2 = "mirilla";
world.attachMovie("gameclipMirilla", _local2, Define.LAYER_MIRILLA);
world[_local2].pos = new flash.geom.Point(_root._xmouse, _root._ymouse);
gMirilla = world[_local2];
gMirilla._x = gMirilla.pos.x;
gMirilla._y = gMirilla.pos.y;
gMirilla.gotoAndStop(1);
};
logicObjects_Mirilla = function () {
gMirilla.pos.x = (_root._xmouse - gWorld._screenWidthDiv2) + gWorld._myCamera.x;
gMirilla.pos.y = (_root._ymouse - gWorld._screenHeightDiv2) + gWorld._myCamera.y;
gMirilla._x = gMirilla.pos.x;
gMirilla._y = gMirilla.pos.y;
};
buildFuntionalityMouse = function () {
Mouse.addListener(world);
world.onMouseDown = function () {
gProtagonist._onFire = true;
gProtagonist._iterator = 10;
};
world.onMouseUp = function () {
gProtagonist._onFire = false;
gProtagonist._iterator = 10;
};
};
insertShootAvailable = function (type, pos, yaw, stepLength, belongs, p_initialPoint, p_finalPoint) {
var _local1 = p_initialPoint;
while (_local1 < p_finalPoint) {
if (gShoots[_local1]._active == false) {
gShoots[_local1].initShoot(type, pos, yaw, stepLength, belongs);
gShoots[_local1]._impact = 0;
return(true);
}
_local1++;
}
return(false);
};
exploteAllShoots = function () {
var _local1 = 0;
while (_local1 < gLimitOfTheNumberOfTotalShoots) {
if (gShoots[_local1]._active == true) {
gShoots[_local1]._impact = 110;
}
_local1++;
}
};
insertItemAvailable = function (type, pos) {
var _local1 = 0;
while (_local1 < Define.TOTAL_NUMBER_OF_ITEMS) {
if (gItems[_local1]._active == false) {
gItems[_local1].initItem(type, pos);
break;
}
_local1++;
}
};
insertEnemyAvailable = function (type, pos, yaw, stepLength) {
var _local1 = 0;
while (_local1 < Define.TOTAL_NUMBER_OF_ENEMIES) {
if (gEnemies[_local1]._active == false) {
gEnemies[_local1].initEnemy(_local1, type, pos, yaw, stepLength);
break;
}
_local1++;
}
};
testImpactEnemy = function (pos, damage) {
var _local2 = 0;
while (_local2 < Define.TOTAL_NUMBER_OF_ENEMIES) {
var _local1 = gEnemies[_local2];
if (_local1._active == true) {
if (_local1._state != cObject.STATE_ENEMY_DEATH) {
if (Define.distancePoint(pos, _local1._pos) <= Define.DISTANCE_HIT_SHOOT_ENEMY) {
_local1._impact = _local1._impact + damage;
return(true);
}
}
}
_local2++;
}
return(false);
};
testImpactEnemyByClip = function (p_clip, damage) {
var _local2 = 0;
while (_local2 < Define.TOTAL_NUMBER_OF_ENEMIES) {
var _local1 = gEnemies[_local2];
if (_local1._active == true) {
if (_local1._state != cObject.STATE_ENEMY_DEATH) {
_local1.testClipColision(p_clip, damage);
}
}
_local2++;
}
return(false);
};
var gNumberActiveEnemies = 0;
var gTotalNumberAvailableOfEnemies;
var gActiveGrowNumberEnemies;
var gIteratorRegion = 0;
getPointRegionFree = function (p_region) {
var _local2 = new flash.geom.Point(-1, -1);
var _local1 = new flash.geom.Point(gProtagonist._pos.x >> gWorld._blockPotenceSizeX, gProtagonist._pos.y >> gWorld._blockPotenceSizeY);
switch (p_region) {
case 0 :
_local1.x = _local1.x - 4;
_local1.y = _local1.y - 4;
while (gWorld.getContent(_local1, 0) != Worldmap.COLISION_TYPE_EMPTY) {
_local1.x--;
_local1.y--;
if ((_local1.x < 0) || (_local1.y < 0)) {
return(_local2);
}
}
if (gWorld.isInsideScreen(_local1) == true) {
return(_local2);
}
break;
case 1 :
_local1.y = _local1.y - 4;
while (gWorld.getContent(_local1, 0) != Worldmap.COLISION_TYPE_EMPTY) {
_local1.y--;
if (_local1.y < 0) {
return(_local2);
}
}
if (gWorld.isInsideScreen(_local1) == true) {
return(_local2);
}
break;
case 2 :
_local1.x = _local1.x + 4;
_local1.y = _local1.y - 4;
while (gWorld.getContent(_local1, 0) != Worldmap.COLISION_TYPE_EMPTY) {
_local1.x++;
_local1.y--;
if ((_local1.x >= gWorld._screenSize.x) || (_local1.y < 0)) {
return(_local2);
}
}
if (gWorld.isInsideScreen(_local1) == true) {
return(_local2);
}
break;
case 3 :
_local1.x = _local1.x - 4;
while (gWorld.getContent(_local1, 0) != Worldmap.COLISION_TYPE_EMPTY) {
_local1.x--;
if (_local1.x < 0) {
return(_local2);
}
}
if (gWorld.isInsideScreen(_local1) == true) {
return(_local2);
}
break;
case 4 :
_local1.x = _local1.x + 4;
while (gWorld.getContent(_local1, 0) != Worldmap.COLISION_TYPE_EMPTY) {
_local1.x++;
if (_local1.x >= gWorld._screenSize.x) {
return(_local2);
}
}
if (gWorld.isInsideScreen(_local1) == true) {
return(_local2);
}
break;
case 5 :
_local1.x = _local1.x - 4;
_local1.y = _local1.y + 4;
while (gWorld.getContent(_local1, 0) != Worldmap.COLISION_TYPE_EMPTY) {
_local1.x--;
_local1.y++;
if ((_local1.x < 0) || (_local1.y >= gWorld._screenSize.y)) {
return(_local2);
}
}
if (gWorld.isInsideScreen(_local1) == true) {
return(_local2);
}
break;
case 6 :
_local1.y = _local1.y + 4;
while (gWorld.getContent(_local1, 0) != Worldmap.COLISION_TYPE_EMPTY) {
_local1.y++;
if (_local1.y >= gWorld._screenSize.y) {
return(_local2);
}
}
if (gWorld.isInsideScreen(_local1) == true) {
return(_local2);
}
break;
case 7 :
_local1.x = _local1.x + 4;
_local1.y = _local1.y + 4;
while (gWorld.getContent(_local1, 0) != Worldmap.COLISION_TYPE_EMPTY) {
_local1.x++;
_local1.y++;
if ((_local1.x >= gWorld._screenSize.y) || (_local1.y >= gWorld._screenSize.y)) {
return(_local2);
}
}
if (gWorld.isInsideScreen(_local1) != true) {
break;
}
return(_local2);
}
return(_local1);
};
logicEnemy = function () {
switch (nmCurrentLevel) {
case 6 :
if (gNumberActiveEnemies < gTotalNumberAvailableOfEnemies) {
gIteratorRegion++;
if (gIteratorRegion > 7) {
gIteratorRegion = 0;
}
var _local2 = getPointRegionFree(gIteratorRegion);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local5 = (_root.instGame.gBuildingsDestroyed * 100) / gBuilding.length;
if (_local5 > 50) {
if (gActiveGrowNumberEnemies == false) {
gActiveGrowNumberEnemies = true;
gTotalNumberAvailableOfEnemies++;
}
}
var _local4 = Define.randRange(0, 70);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
if ((_local4 >= 50) && (_local4 < 60)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_TANK, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 60) && (_local4 < 70)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_CHOPTER, _local2, 0, Define.SPEED_PROTAGONIST * 2);
}
}
}
break;
case 5 :
if (gNumberActiveEnemies < gTotalNumberAvailableOfEnemies) {
gIteratorRegion++;
if (gIteratorRegion > 7) {
gIteratorRegion = 0;
}
var _local2 = getPointRegionFree(gIteratorRegion);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local5 = (_root.instGame.gBuildingsDestroyed * 100) / gBuilding.length;
if (_local5 < 50) {
var _local4 = Define.randRange(0, 60);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
if ((_local4 >= 50) && (_local4 < 60)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_TANK, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
} else {
if (gActiveGrowNumberEnemies == false) {
gActiveGrowNumberEnemies = true;
gTotalNumberAvailableOfEnemies++;
}
var _local4 = Define.randRange(0, 70);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
if ((_local4 >= 50) && (_local4 < 60)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_TANK, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 60) && (_local4 < 70)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_CHOPTER, _local2, 0, Define.SPEED_PROTAGONIST * 2);
}
}
}
}
break;
case 4 :
if (gNumberActiveEnemies < gTotalNumberAvailableOfEnemies) {
gIteratorRegion++;
if (gIteratorRegion > 7) {
gIteratorRegion = 0;
}
var _local2 = getPointRegionFree(gIteratorRegion);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local5 = (_root.instGame.gBuildingsDestroyed * 100) / gBuilding.length;
if (_local5 < 50) {
var _local4 = Define.randRange(0, 50);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
} else {
if (gActiveGrowNumberEnemies == false) {
gActiveGrowNumberEnemies = true;
gTotalNumberAvailableOfEnemies++;
}
var _local4 = Define.randRange(0, 60);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
if ((_local4 >= 50) && (_local4 < 60)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_TANK, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
}
}
}
break;
case 3 :
if (gNumberActiveEnemies < gTotalNumberAvailableOfEnemies) {
gIteratorRegion++;
if (gIteratorRegion > 7) {
gIteratorRegion = 0;
}
var _local2 = getPointRegionFree(gIteratorRegion);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local5 = (_root.instGame.gBuildingsDestroyed * 100) / gBuilding.length;
if (_local5 < 50) {
var _local4 = Define.randRange(0, 40);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
} else {
if (gActiveGrowNumberEnemies == false) {
gActiveGrowNumberEnemies = true;
gTotalNumberAvailableOfEnemies++;
}
var _local4 = Define.randRange(0, 50);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
}
}
}
break;
case 2 :
if (gNumberActiveEnemies < gTotalNumberAvailableOfEnemies) {
gIteratorRegion++;
if (gIteratorRegion > 7) {
gIteratorRegion = 0;
}
var _local2 = getPointRegionFree(gIteratorRegion);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local5 = (_root.instGame.gBuildingsDestroyed * 100) / gBuilding.length;
if (_local5 < 50) {
var _local4 = Define.randRange(0, 30);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
} else {
if (gActiveGrowNumberEnemies == false) {
gActiveGrowNumberEnemies = true;
gTotalNumberAvailableOfEnemies++;
}
var _local4 = Define.randRange(0, 40);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
}
}
}
break;
case 1 :
if (gNumberActiveEnemies < gTotalNumberAvailableOfEnemies) {
gIteratorRegion++;
if (gIteratorRegion > 7) {
gIteratorRegion = 0;
}
var _local2 = getPointRegionFree(gIteratorRegion);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local5 = (_root.instGame.gBuildingsDestroyed * 100) / gBuilding.length;
if (_local5 < 50) {
var _local4 = Define.randRange(0, 10);
if ((_local4 >= 0) && (_local4 < 5)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 5) && (_local4 <= 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
} else {
if (gActiveGrowNumberEnemies == false) {
gActiveGrowNumberEnemies = true;
gTotalNumberAvailableOfEnemies++;
}
var _local4 = Define.randRange(0, 30);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
}
}
}
break;
case 0 :
if (gNumberActiveEnemies < gTotalNumberAvailableOfEnemies) {
gIteratorRegion++;
if (gIteratorRegion > 7) {
gIteratorRegion = 0;
}
var _local2 = getPointRegionFree(gIteratorRegion);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local5 = (_root.instGame.gBuildingsDestroyed * 100) / gBuilding.length;
if (_local5 < 50) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
} else {
if (gActiveGrowNumberEnemies == false) {
gActiveGrowNumberEnemies = true;
gTotalNumberAvailableOfEnemies++;
}
var _local4 = Define.randRange(0, 10);
if ((_local4 >= 0) && (_local4 < 5)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 5) && (_local4 <= 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
}
}
}
break;
case 7 :
if (gNumberActiveEnemies < gTotalNumberAvailableOfEnemies) {
gIteratorRegion++;
if (gIteratorRegion > 7) {
gIteratorRegion = 0;
}
var _local2 = getPointRegionFree(gIteratorRegion);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local5 = (_root.instGame.gBuildingsDestroyed * 100) / gBuilding.length;
if (gLevelOfKillsDone == 1) {
gLevelOfKillsDone = 0;
if (gTotalNumberAvailableOfEnemies < (Define.TOTAL_NUMBER_OF_ENEMIES - 1)) {
gTotalNumberAvailableOfEnemies++;
}
}
switch (gTotalNumberAvailableOfEnemies) {
case 3 :
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
break;
case 4 :
var _local4 = Define.randRange(0, 10);
if ((_local4 >= 0) && (_local4 < 5)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 5) && (_local4 <= 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
break;
case 5 :
_local4 = Define.randRange(0, 30);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
break;
case 6 :
_local4 = Define.randRange(0, 40);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
break;
case 7 :
_local4 = Define.randRange(0, 50);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
break;
case 8 :
_local4 = Define.randRange(0, 60);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
if ((_local4 >= 50) && (_local4 < 60)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_TANK, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
break;
default :
_local4 = Define.randRange(0, 70);
if ((_local4 >= 0) && (_local4 < 10)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BASIC, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 10) && (_local4 < 20)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MEDIUM, _local2, 0, Define.SPEED_PROTAGONIST);
}
if ((_local4 >= 20) && (_local4 < 30)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_BAZOKA, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if ((_local4 >= 30) && (_local4 < 40)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_GENERAL, _local2, 0, Define.SPEED_PROTAGONIST - 1.5);
}
if ((_local4 >= 40) && (_local4 < 50)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_MOTORBIKE, _local2, 0, Define.SPEED_PROTAGONIST + 4);
}
if ((_local4 >= 50) && (_local4 < 60)) {
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_TANK, _local2, 0, Define.SPEED_PROTAGONIST - 0.5);
}
if (!((_local4 >= 60) && (_local4 < 70))) {
break;
}
insertEnemyAvailable(Define.OBJ_ENEMY_TYPE_CHOPTER, _local2, 0, Define.SPEED_PROTAGONIST * 2);
}
}
}
break;
}
gNumberActiveEnemies = 0;
var _local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_ENEMIES) {
if (gEnemies[_local3].logic()) {
gNumberActiveEnemies++;
}
_local3++;
}
};
insertNPCAvailable = function (type, pos, yaw, stepLength) {
var _local1 = 0;
while (_local1 < Define.TOTAL_NUMBER_OF_NPCS) {
if (gNPCs[_local1]._active == false) {
gNPCs[_local1].initNPC(_local1, type, pos, yaw, stepLength);
break;
}
_local1++;
}
};
testImpactNPC = function (pos, damage) {
var _local2 = 0;
while (_local2 < Define.TOTAL_NUMBER_OF_NPCS) {
var _local1 = gNPCs[_local2];
if (_local1._active == true) {
if (_local1._state != cObject.STATE_NPC_DESTROY) {
if (Define.distancePoint(pos, _local1._pos) <= ((_local1._clip._width + _local1._clip._height) >> 2)) {
_local1._impact = _local1._impact + damage;
return(true);
}
}
}
_local2++;
}
return(false);
};
var gNumberActiveNPCs = 0;
var gTotalNumberAvailableOfNPCs;
var gIteratorRegionNPCs = 0;
logicNPC = function () {
if (gNumberActiveNPCs < gTotalNumberAvailableOfNPCs) {
gIteratorRegionNPCs++;
if (gIteratorRegionNPCs > 7) {
gIteratorRegionNPCs = 0;
}
var _local2 = getPointRegionFree(gIteratorRegionNPCs);
if ((_local2.x != -1) && (_local2.y != -1)) {
_local2.x = (_local2.x << gWorld._blockPotenceSizeX) + (gWorld._blockSizeX / 2);
_local2.y = (_local2.y << gWorld._blockPotenceSizeY) + (gWorld._blockSizeY / 2);
var _local3 = Define.OBJ_NPC_CAR_1 + Define.randRange(0, 5);
if (_local3 <= OBJ_NPC_CAR_3) {
insertNPCAvailable(_local3, _local2, 0, Define.SPEED_PROTAGONIST / 2);
} else {
insertNPCAvailable(_local3, _local2, 0, Define.SPEED_PROTAGONIST / 3);
}
}
}
gNumberActiveNPCs = 0;
var _local1 = 0;
while (_local1 < Define.TOTAL_NUMBER_OF_NPCS) {
if (gNPCs[_local1]._active == true) {
if (gNPCs[_local1].logic()) {
gNumberActiveNPCs++;
}
}
_local1++;
}
};
playEndSoundWin = function () {
if (Define.ENABLE_EXTRA_GREAT_SOUNDS) {
switch (_root.gCurrentLevel) {
case 0 :
_root.playGameSoundStops(Define.SOUND_FIN_LEVEL1, 1);
break;
case 1 :
_root.playGameSoundStops(Define.SOUND_FIN_LEVEL2, 1);
break;
case 2 :
_root.playGameSoundStops(Define.SOUND_FIN_LEVEL3, 1);
break;
case 3 :
_root.playGameSoundStops(Define.SOUND_FIN_LEVEL4, 1);
break;
case 4 :
_root.playGameSoundStops(Define.SOUND_FIN_LEVEL5, 1);
break;
case 5 :
_root.playGameSoundStops(Define.SOUND_FIN_LEVEL6, 1);
break;
case 6 :
_root.playGameSoundStops(Define.SOUND_FIN_LEVEL7, 1);
}
} else {
_root.playGameSoundStops(Define.SOUND_FIN_LEVEL1, 1);
}
};
mainGameLogic = function () {
var _local3;
switch (gStateGame) {
case Define.STATE_GAME_PRE_LOADING :
if (Define.ENABLE_XML_FILE_INTEGRATED == false) {
if (gIterator < 10) {
gIterator++;
}
if (gIterator == 1) {
gWorld = new Worldmap(this, world, nmCurrentLevel, new flash.geom.Point(100, 100), new flash.geom.Point(Stage.width, Stage.height), 1);
}
} else {
gWorld = new Worldmap(this, world, nmCurrentLevel, new flash.geom.Point(100, 100), new flash.geom.Point(Stage.width, Stage.height), 1);
changeGeneralGameState(Define.STATE_GAME_LOADING);
}
break;
case Define.STATE_GAME_LOADING :
if (gIterator < 10) {
gIterator++;
}
if (gIterator == 1) {
gWorld.initAI();
buildingCreation();
gBuildingsDestroyed = 0;
var _local16 = "nmProtagonist";
world.attachMovie("gameclipProtagonist", _local16, Define.LAYER_PROTAGONIST);
var _local20 = world[_local16];
gProtagonist = new cObject(gWorld, _local20, _local16);
gProtagonist.initProtagonist(Define.OBJ_PROTAGONIST, new flash.geom.Point(550, 550), 0, Define.SPEED_PROTAGONIST);
gEnemies = new Array(Define.TOTAL_NUMBER_OF_ENEMIES);
var _local12 = Define.LAYER_ENEMY_TYPE;
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_ENEMIES) {
var _local5 = "nmEnemy" + _local3;
world.attachMovie("gameClipEnemy", _local5, _local12 + _local3);
var _local9 = world[_local5];
gEnemies[_local3] = new cObject(gWorld, _local9, _local5);
_local3++;
}
gLimitOfTheNumberOfTotalShoots = Define.TOTAL_NUMBER_OF_SHOOTS;
switch (nmCurrentLevel) {
case 0 :
_root.gIsSurvivalMode = false;
gTotalNumberAvailableOfEnemies = 3;
break;
case 1 :
_root.gIsSurvivalMode = false;
gTotalNumberAvailableOfEnemies = 4;
break;
case 2 :
_root.gIsSurvivalMode = false;
gTotalNumberAvailableOfEnemies = 4;
break;
case 3 :
_root.gIsSurvivalMode = false;
gTotalNumberAvailableOfEnemies = 5;
break;
case 4 :
_root.gIsSurvivalMode = false;
gTotalNumberAvailableOfEnemies = 5;
break;
case 5 :
_root.gIsSurvivalMode = false;
gTotalNumberAvailableOfEnemies = 6;
break;
case 6 :
_root.gIsSurvivalMode = false;
gTotalNumberAvailableOfEnemies = 7;
break;
case 7 :
_root.gIsSurvivalMode = true;
gTotalNumberAvailableOfEnemies = 3;
gLimitOfTheNumberOfTotalShoots = Define.TOTAL_NUMBER_OF_SHOOTS + 20;
}
gActiveGrowNumberEnemies = false;
gNPCs = new Array(Define.TOTAL_NUMBER_OF_NPCS);
var _local14 = Define.LAYER_NPC_CAR;
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_NPCS) {
var _local4 = "nmNPC" + _local3;
world.attachMovie("gameClipNPC", _local4, _local14 + _local3);
var _local10 = world[_local4];
gNPCs[_local3] = new cObject(gWorld, _local10, _local4);
_local3++;
}
switch (nmCurrentLevel) {
case 0 :
gTotalNumberAvailableOfNPCs = 14;
break;
case 1 :
gTotalNumberAvailableOfNPCs = 5;
break;
case 2 :
gTotalNumberAvailableOfNPCs = 0;
break;
case 3 :
gTotalNumberAvailableOfNPCs = 0;
break;
case 4 :
gTotalNumberAvailableOfNPCs = 0;
break;
case 5 :
gTotalNumberAvailableOfNPCs = 0;
break;
case 6 :
gTotalNumberAvailableOfNPCs = 0;
break;
default :
gTotalNumberAvailableOfNPCs = 0;
}
gItems = new Array(Define.TOTAL_NUMBER_OF_ITEMS);
var _local13 = Define.LAYER_ITEM;
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_ITEMS) {
var _local7 = "nmItem" + _local3;
world.attachMovie("gameclipItem", _local7, _local13 + _local3);
var _local11 = world[_local7];
gItems[_local3] = new cObject(gWorld, _local11, _local7);
_local3++;
}
gShoots = new Array(gLimitOfTheNumberOfTotalShoots);
var _local15 = Define.LAYER_SHOOT;
_local3 = 0;
while (_local3 < gLimitOfTheNumberOfTotalShoots) {
var _local6 = "nmShoot" + _local3;
world.attachMovie("gameclipShootClip", _local6, _local15 + _local3);
var _local8 = world[_local6];
gShoots[_local3] = new cObject(gWorld, _local8, _local6);
_local3++;
}
buildFuntionalityMouse();
initObjects_Mirilla();
initInterface();
initInterfaceMap();
_root.instClipMenuResultGame._visible = false;
_root.instClipMenuResultGame.gotoAndStop("parar");
_root.instClipPresentationLevel._visible = true;
_root.instClipPresentationLevel.gotoAndPlay("Seccion1");
changeGeneralGameState(Define.STATE_GAME_PRESENTATION);
gAcumOfNumberFrameRate = 0;
gIteratorOfFrameRate = 0;
gEfectiveFrameRate = Define.NORMAL_FRAME_RATE;
switch (_root.nmDifficultySetted) {
case 0 :
if (gNumberTotalSuperBomb < 2) {
gNumberTotalSuperBomb = 2;
}
break;
case 1 :
if (gNumberTotalSuperBomb < 1) {
gNumberTotalSuperBomb = 1;
}
break;
case 2 :
gNumberTotalSuperBomb = 1;
break;
default :
gNumberTotalSuperBomb = 0;
}
logicInterfaceSuperBomb();
}
break;
case Define.STATE_GAME_PRESENTATION :
gMirilla._visible = false;
gWorld.changeCamera(gProtagonist._pos.x, gProtagonist._pos.y);
gProtagonist.logic();
if (gProtagonist._state == cObject.STATE_PROTAGONIST_RUN) {
_root.instClipPresentationLevel.gotoAndStop("vacio");
_root.instClipPresentationLevel._visible = false;
gMirilla._visible = true;
gTimeTotalDone = 0;
gEfectiveFrameRate = Define.NORMAL_FRAME_RATE;
changeGeneralGameState(Define.STATE_GAME_RUN);
switch (nmCurrentLevel) {
case 0 :
case 1 :
_root.playGameSoundBackground(Define.SOUND_BACKGROUND_A, 1000);
break;
case 2 :
case 3 :
_root.playGameSoundBackground(Define.SOUND_BACKGROUND_B, 1000);
break;
default :
_root.playGameSoundBackground(Define.SOUND_BACKGROUND_C, 1000);
}
}
break;
case Define.STATE_GAME_RUN :
if (Key.isDown(13)) {
_root.changeGameState(Define.STATEGENERAL_PAUSE);
return(undefined);
}
var _local17 = new Date().getTime();
gTimeDif = _local17 - gLastTimeCycleBefore;
if (gLastTimeCycleBefore != -1) {
gTimeTotalDone = gTimeTotalDone + gTimeDif;
gAcumTimeToSecond = gAcumTimeToSecond + gTimeDif;
if (gAcumTimeToSecond > 1000) {
gAcumOfNumberFrameRate = gAcumOfNumberFrameRate + gIteratorOfFrameRate;
if ((gIteratorOfFrameRate < Define.FRAME_RATE_OF_THE_GAME) && (gFramerate != Define.FAST_FRAME_RATE)) {
if (gEfectiveFrameRate > 1) {
gEfectiveFrameRate--;
}
changeFrameRate(gFramerate);
} else if ((gIteratorOfFrameRate > (Define.FRAME_RATE_OF_THE_GAME + 5)) && (gFramerate != Define.FAST_FRAME_RATE)) {
gEfectiveFrameRate++;
changeFrameRate(gFramerate);
}
gIteratorOfFrameRate = 0;
gAcumTimeToSecond = 0;
} else {
gIteratorOfFrameRate++;
}
} else {
gTimeDif = 1;
}
gLastTimeCycleBefore = _local17;
var _local19 = (gProtagonist._pos.x + gMirilla.pos.x) >> 1;
var _local18 = (gProtagonist._pos.y + gMirilla.pos.y) >> 1;
gWorld.changeCamera((gProtagonist._pos.x + _local19) >> 1, (gProtagonist._pos.y + _local18) >> 1);
gWorld.logic();
gProtagonist.logic();
logicEnemy();
logicNPC();
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_ITEMS) {
gItems[_local3].logic();
_local3++;
}
_local3 = 0;
while (_local3 < gBuilding.length) {
gBuilding[_local3].logic();
_local3++;
}
logicInterfaceMap();
_local3 = 0;
while (_local3 < gLimitOfTheNumberOfTotalShoots) {
gShoots[_local3].logic();
_local3++;
}
logicObjects_Mirilla();
if (gTimeacumFramerate < 0) {
if (gFramerate != Define.NORMAL_FRAME_RATE) {
logicInterfaceSpeedTime(0, 1000000);
changeFrameRate(Define.NORMAL_FRAME_RATE);
}
} else {
gTimeacumFramerate = gTimeacumFramerate - gTimeDif;
switch (gFramerate) {
case Define.SLOW_FRAME_RATE :
logicInterfaceSpeedTime(2, gTimeacumFramerate);
break;
case Define.FAST_FRAME_RATE :
logicInterfaceSpeedTime(1, gTimeacumFramerate);
}
}
if (gBuildingsDestroyed == gBuilding.length) {
if (_root.gIsSurvivalMode == false) {
changeGeneralGameState(Define.STATE_GAME_VICTORY);
return(undefined);
}
}
if (gProtagonist._life <= 0) {
changeGeneralGameState(Define.STATE_GAME_LOSE);
return(undefined);
}
break;
case Define.STATE_GAME_VICTORY :
if (gIterator < 45) {
gIterator++;
}
switch (gIterator) {
case 1 :
_root.stopGameSoundsBackground();
_root.instLabelEndGame._visible = true;
_root.instLabelEndGame._alpha = 9 + (gIterator * 2);
_root.instLabelEndGame.gotoAndStop("verde");
gProtagonist.changeState(cObject.STATE_PROTAGONIST_WIN);
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_ENEMIES) {
gEnemies[_local3]._impact = 1000;
gEnemies[_local3].logic();
_local3++;
}
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_NPCS) {
gNPCs[_local3]._impact = 1000;
gNPCs[_local3].logic();
_local3++;
}
_local3 = 0;
while (_local3 < gLimitOfTheNumberOfTotalShoots) {
gShoots[_local3].changeState(cObject.STATE_SHOOT_NULL);
gShoots[_local3].logic();
_local3++;
}
hideInterface();
gMirilla._visible = false;
changeFrameRate(Define.SLOW_FRAME_RATE);
break;
case 2 :
playEndSoundWin();
}
_root.instLabelEndGame._alpha = 9 + (gIterator * 2);
gWorld.changeCamera(gProtagonist._pos.x, gProtagonist._pos.y);
gProtagonist.logic();
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_ENEMIES) {
gEnemies[_local3].logic();
_local3++;
}
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_NPCS) {
gNPCs[_local3].logic();
_local3++;
}
if (gProtagonist._state == -1) {
changeGeneralGameState(Define.STATE_GAME_PAUSE);
_root.instLabelEndGame._visible = false;
_root.changeGameState(Define.STATEGENERAL_RESULT);
}
break;
case Define.STATE_GAME_LOSE :
if (gIterator < 45) {
gIterator++;
}
switch (gIterator) {
case 1 :
_root.stopGameSoundsBackground();
hideInterface();
gMirilla._visible = false;
_root.instLabelEndGame._visible = true;
_root.instLabelEndGame._alpha = 9 + (gIterator * 2);
_root.instLabelEndGame.gotoAndStop("blanco");
break;
case 2 :
_root.playGameSoundStops(Define.SOUND_GAME_OVER, 1);
}
_root.instLabelEndGame._alpha = 9 + (gIterator * 2);
gWorld.changeCamera(gProtagonist._pos.x, gProtagonist._pos.y);
gProtagonist.logic();
_local3 = 0;
while (_local3 < Define.TOTAL_NUMBER_OF_ENEMIES) {
gEnemies[_local3].logic();
_local3++;
}
_local3 = 0;
while (_local3 < gLimitOfTheNumberOfTotalShoots) {
gShoots[_local3].logic();
_local3++;
}
if (gProtagonist._state == -1) {
changeGeneralGameState(Define.STATE_GAME_PAUSE);
_root.instLabelEndGame._visible = false;
_root.changeGameState(Define.STATEGENERAL_RESULT);
}
break;
case Define.STATE_GAME_PAUSE :
}
};
var gNumberOfKills = 0;
var gLevelOfKillsDone = 0;
var gBarPlayerInitialWidth;
var gBarEnemyIterationsVisible;
var gBarEnemyInitialWidth;
var gBarCurrentTimeFast;
var gNumberTotalSuperBomb = 0;
instGameInterfaceBackground._visible = false;
instTextBoxNamePlayer._visible = false;
instBarLifePlayer._visible = false;
instInterfaceItem._visible = false;
instTextBoxBonus._visible = false;
instTextBoxKills._visible = false;
instTextBoxKills_Estatico._visible = false;
instGameClipInterfaceSuperBomb._visible = false;
instGameMap._visible = false;
initInterface = function () {
instGameInterfaceBackground._visible = true;
instTextBoxNamePlayer._visible = true;
instBarLifePlayer._visible = true;
gBarPlayerInitialWidth = 178;
instBarLifePlayer._width = gBarPlayerInitialWidth;
gNumberOfKills = 0;
gLevelOfKillsDone = 0;
instTextBoxKills._visible = true;
instTextBoxKills_Estatico._visible = true;
instTextBoxKills.text = "" + gNumberOfKills;
gBarEnemyIterationsVisible = 0;
gBarEnemyInitialWidth = instBarLifeEnemy._width;
gBarCurrentTimeFast = 1000000 /* 0x0F4240 */;
instGameClipInterfaceSuperBomb._visible = true;
instGameMap._visible = true;
};
hideInterface = function () {
instGameInterfaceBackground._visible = false;
instTextBoxNamePlayer._visible = false;
instBarLifePlayer._visible = false;
instInterfaceItem._visible = false;
instTextBoxBonus._visible = false;
instTextBoxKills._visible = false;
instTextBoxKills_Estatico._visible = false;
instGameClipInterfaceSuperBomb._visible = false;
instGameMap._visible = false;
};
logicInterfacePlayer = function () {
instBarLifePlayer._width = Math.floor((gProtagonist._life * gBarPlayerInitialWidth) / gProtagonist._initialLifes);
};
logicInterfaceUpdateKills = function () {
gNumberOfKills++;
instTextBoxKills.text = "" + gNumberOfKills;
if (_root.gIsSurvivalMode) {
if ((gNumberOfKills % 10) == 0) {
gLevelOfKillsDone = 1;
}
}
};
logicInterfaceUpdateWeapon = function (p_units, p_type) {
if (p_units > 0) {
instInterfaceItem._visible = true;
instTextBoxBonus._visible = true;
switch (p_type) {
case 0 :
instInterfaceItem.gotoAndStop("item_metralleta");
instTextBoxBonus.text = "" + p_units;
break;
case 1 :
instInterfaceItem.gotoAndStop("item_bazoka");
instTextBoxBonus.text = "" + p_units;
break;
case 2 :
instInterfaceItem.gotoAndStop("item_fire");
instTextBoxBonus.text = "" + p_units;
}
} else {
instTextBoxBonus._visible = false;
instInterfaceItem._visible = false;
}
};
logicInterfaceSuperBomb = function () {
instGameClipInterfaceSuperBomb.gotoAndStop(5 - gNumberTotalSuperBomb);
};
logicInterfaceSpeedTime = function (p_type, p_time) {
var _local1;
switch (p_type) {
case 0 :
gBarCurrentTimeFast = p_time;
break;
case 1 :
_local1 = Math.floor(p_time / 1000);
if (gBarCurrentTimeFast > _local1) {
gBarCurrentTimeFast = _local1;
}
break;
case 2 :
_local1 = Math.floor(p_time / 1000);
if (gBarCurrentTimeFast > _local1) {
gBarCurrentTimeFast = _local1;
}
if (gBarCurrentTimeFast < 3) {
gProtagonist._clip.instGameClipShield._alpha = gProtagonist._clip.instGameClipShield._alpha - 10;
if (gProtagonist._clip.instGameClipShield._alpha <= 0) {
gProtagonist._clip.instGameClipShield._alpha = 100;
}
}
if (gBarCurrentTimeFast > 0) {
break;
}
gProtagonist._clip.instGameClipShield._visible = false;
}
};
var gPlayerInMap;
translateCoordenatesToMap = function (p_x, p_y) {
return(new flash.geom.Point((p_x * Define.MINI_MAPT_WIDTH) / gWorld._iWidthWorldComplete, (p_y * Define.MINI_MAPT_HEIGHT) / gWorld._iHeightWorldComplete));
};
initInterfaceMap = function () {
var _local5 = 1;
var _local4 = 0;
while (_local4 < gBuilding.length) {
var _local12 = "nmBlockBuildingMap" + _local5;
instGameMap.attachMovie("gameMapUnitBuilding", _local12, _local5);
gBuilding[_local4]._iconMap = instGameMap[_local12];
var _local11 = translateCoordenatesToMap(gBuilding[_local4]._matrixBlocks[0][0] * gWorld._blockSizeX, gBuilding[_local4]._matrixBlocks[0][1] * gWorld._blockSizeY);
gBuilding[_local4]._iconMap._x = _local11.x;
gBuilding[_local4]._iconMap._y = _local11.y;
var _local3 = gBuilding[_local4].getSizeBuilding();
_local3 = translateCoordenatesToMap(_local3.x, _local3.y);
gBuilding[_local4]._iconMap._width = _local3.x;
gBuilding[_local4]._iconMap._height = _local3.y;
_local5++;
var _local2 = gBuilding[_local4];
var _local1 = 0;
while (_local1 < _local2._matrixBlocks.length) {
var _local6 = "nmBlockBuildingMap_Sub" + _local5;
instGameMap.attachMovie("gameMapUnitBuilding", _local6, _local5);
_local2._iconMapArray.push(instGameMap[_local6]);
var _local10 = _local2._matrixBlocks[_local1][0] * gWorld._blockSizeX;
var _local9 = _local2._matrixBlocks[_local1][1] * gWorld._blockSizeY;
var _local7 = Math.floor((_local10 * Define.MINI_MAPT_WIDTH) / gWorld._iWidthWorldComplete);
var _local8 = Math.floor((_local9 * Define.MINI_MAPT_HEIGHT) / gWorld._iHeightWorldComplete);
_local2._iconMapArray[_local1]._x = _local7;
_local2._iconMapArray[_local1]._y = _local8;
if (_local2._matrixBlocks.length > 1) {
}
_local3 = new flash.geom.Point(gWorld._blockSizeX, gWorld._blockSizeY);
_local3 = translateCoordenatesToMap(_local3.x, _local3.y);
_local2._iconMapArray[_local1]._width = _local3.x;
_local2._iconMapArray[_local1]._height = _local3.y;
_local2._iconMapArray[_local1].gotoAndStop(2);
_local5++;
_local1++;
}
_local4++;
}
var _local14 = "nmProtagonistMap";
instGameMap.attachMovie("gameMapProtagonist", _local14, _local5);
gPlayerInMap = instGameMap[_local14];
var _local13 = translateCoordenatesToMap(gProtagonist._pos.x, gProtagonist._pos.y);
gPlayerInMap._x = _local13.x;
gPlayerInMap._y = _local13.y;
};
logicInterfaceMap = function () {
var _local1 = translateCoordenatesToMap(gProtagonist._pos.x, gProtagonist._pos.y);
gPlayerInMap._x = _local1.x;
gPlayerInMap._y = _local1.y;
};
var gWorld;
var gBuilding;
var gProtagonist;
var gEnemies;
var gNPCs;
var gItems;
var gShoots;
var gMirilla;
var gTimeDif;
var gLastTimeCycleBefore = -1;
var gTimeTotalDone = 0;
var gAcumTimeToSecond = 0;
var gAcumOfNumberFrameRate = 0;
var gIteratorOfFrameRate = 0;
var gStateGame = -1;
var gLastStateGame = -1;
var nmCurrentLevel = 0;
var gFramerate = Define.NORMAL_FRAME_RATE;
var gEfectiveFrameRate = Define.NORMAL_FRAME_RATE;
var gTimeacumFramerate = -1;
var gBuildingsDestroyed;
var tweenFaster = setInterval(timelineFaster, gFramerate);
stop();
Symbol 1036 Button
on (release) {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_parent.gotoAndPlay("menuPlay");
}
Symbol 1044 Button
on (release) {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_parent.gotoAndPlay("settings");
}
Symbol 1052 Button
on (release) {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_parent.gotoAndPlay("help");
}
Symbol 1060 Button
on (release) {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_parent.gotoAndPlay("about");
}
Symbol 1064 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 1064 MovieClip Frame 1
onClipEvent (load) {
this.datxt = "More Games: NEWGROUNDS";
this.wid = 150;
this.bol = true;
}
Symbol 1065 MovieClip Frame 105
instRetroNewgroundsIcon.gotoAndStop("retro");
stop();
Instance of Symbol 1064 MovieClip in Symbol 1065 MovieClip Frame 105
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 1073 Button
on (release) {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.initGameStart(0);
}
Symbol 1081 Button
on (release) {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.nmLevelToShow = 0;
var difficultyTmpTraslate = _root.nmDifficultySetted;
_root.loadGameData();
_root.nmDifficultySetted = difficultyTmpTraslate;
gotoAndPlay ("menuLoad");
}
Symbol 1089 Button
on (release) {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("mainMenu");
}
Symbol 1097 Button
on (release) {
_root.gIsSurvivalMode = true;
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.initGameStart(Define.TOTAL_NUMBER_OF_LEVELS);
}
Symbol 1106 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "CONGRATULATIONS!! YOU HAVE DONE A GOOD CLEANING JOB!! (PRESS SPACE)";
this.wid = 300;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1109 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 1109 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "SORRY, PERHAPS YOU WOULD PREFER TO SIT AND HUMANS DESTROY THE UNIVERSE!! (PRESS SPACE)";
this.wid = 300;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1110 MovieClip Frame 1
stop();
Symbol 1110 MovieClip Frame 11
stop();
Symbol 1110 MovieClip Frame 21
stop();
Symbol 1110 MovieClip Frame 31
stop();
Symbol 1115 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 1
onClipEvent (load) {
this.datxt = "TIME DONE";
this.wid = 450;
this.bol = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 2
onClipEvent (load) {
this.datxt = "KILLS";
this.wid = 450;
this.bol = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "level1" in Symbol 1115 MovieClip Frame 3
onClipEvent (load) {
this.speed = 20;
this.datxt = "IN THE SMALL CITY";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 4
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 4
onClipEvent (load) {
this.speed = 20;
this.datxt = "CLEANING SMALL CITY";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 5
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 5
onClipEvent (load) {
this.speed = 20;
this.datxt = "THE SUNNY BEACH!!";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 6
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 6
onClipEvent (load) {
this.speed = 20;
this.datxt = "THE PALMS MUST BE FREE";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 7
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 7
onClipEvent (load) {
this.speed = 20;
this.datxt = "IN THE BIG CITY";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 8
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 8
onClipEvent (load) {
this.speed = 20;
this.datxt = "BIG CITY OF RATS";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 9
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 9
onClipEvent (load) {
this.speed = 20;
this.datxt = "THE NATURE MUST WIN!!!";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 10
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 10
onClipEvent (load) {
this.speed = 20;
this.datxt = "SURVIVAL!";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1115 MovieClip Frame 11
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1115 MovieClip Frame 11
onClipEvent (load) {
this.datxt = "NEW DESTRUCTION";
this.wid = 450;
this.bol = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1131 MovieClip [iconLevel] Frame 1
stop();
Symbol 1133 MovieClip [clipStatsInformation] Frame 1
instIncrementalText_Stats_TimeDone.gotoAndStop("time_done");
instIncrementalText_Stats_KillsDone.gotoAndStop("kills_done");
stop();
Symbol 1133 MovieClip [clipStatsInformation] Frame 3
instIncrementalText_Stats_NewDestruction.gotoAndStop("new_destruction");
stop();
Symbol 1143 MovieClip Frame 19
stop();
Instance of Symbol 1140 MovieClip in Symbol 1143 MovieClip Frame 19
/* no clip actions */
Symbol 1144 MovieClip Frame 11
stop();
Symbol 1146 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1146 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "NEXT";
this.wid = 450;
this.bol = true;
this.but = true;
}
Symbol 1146 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1146 MovieClip Frame 2
onClipEvent (load) {
this.speed = 20;
this.datxt = "BACK";
this.wid = 450;
this.bol = true;
this.but = true;
}
Symbol 1146 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1146 MovieClip Frame 3
onClipEvent (load) {
this.speed = 20;
this.datxt = "EXIT";
this.wid = 450;
this.bol = true;
this.but = true;
}
Symbol 1146 MovieClip Frame 4
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1146 MovieClip Frame 4
onClipEvent (load) {
this.speed = 20;
this.datxt = "RETRY";
this.wid = 450;
this.bol = true;
this.but = true;
}
Symbol 1147 Button
on (release) {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if (_root.gState == Define.STATEGENERAL_PAUSE) {
gotoAndPlay ("pause");
} else {
gotoAndPlay ("mainMenu");
}
}
Symbol 1148 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1148 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Difficulty Easy";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1148 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1148 MovieClip Frame 2
onClipEvent (load) {
this.speed = 20;
this.datxt = "Difficulty Normal";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1148 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1148 MovieClip Frame 3
onClipEvent (load) {
this.speed = 20;
this.datxt = "Difficulty High";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1148 MovieClip Frame 4
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1148 MovieClip Frame 4
onClipEvent (load) {
this.speed = 20;
this.datxt = "Difficulty Crazy";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1148 MovieClip Frame 5
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1148 MovieClip Frame 5
onClipEvent (load) {
this.speed = 20;
this.datxt = "1 SHOOT TO DIE";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1149 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1149 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Sound Off";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1149 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1149 MovieClip Frame 2
onClipEvent (load) {
this.speed = 20;
this.datxt = "Sound On";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1150 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1150 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Quality Low";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1150 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1150 MovieClip Frame 2
onClipEvent (load) {
this.speed = 20;
this.datxt = "Quality Medium";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1150 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 1150 MovieClip Frame 3
onClipEvent (load) {
this.speed = 20;
this.datxt = "Quality High";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1154 MovieClip [gameMapUnitBuilding] Frame 1
stop();
Symbol 1154 MovieClip [gameMapUnitBuilding] Frame 2
stop();
Symbol 1154 MovieClip [gameMapUnitBuilding] Frame 3
stop();
Symbol 1206 MovieClip Frame 38
stop();
_parent._visible = false;
Symbol 1260 MovieClip Frame 40
stop();
_parent._visible = false;
Symbol 1325 MovieClip Frame 40
stop();
_parent._visible = false;
Symbol 1383 MovieClip Frame 47
stop();
_parent._visible = false;
Symbol 1441 MovieClip Frame 39
stop();
_parent._visible = false;
Symbol 1493 MovieClip Frame 41
stop();
_parent._visible = false;
Symbol 1546 MovieClip Frame 50
stop();
_parent._visible = false;
Symbol 1547 MovieClip [gameClipEnemy] Frame 1
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 17
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 33
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 48
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 49
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 65
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 81
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 98
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 99
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 113
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 128
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 144
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 145
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 161
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 177
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 193
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 194
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 212
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 229
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 246
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 247
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 262
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 277
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 292
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 293
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 309
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 325
stop();
Symbol 1547 MovieClip [gameClipEnemy] Frame 341
stop();
Symbol 1593 MovieClip Frame 8
stop();
_parent._visible = false;
Symbol 1668 MovieClip Frame 28
stop();
_parent._visible = false;
Symbol 1687 MovieClip Frame 22
stop();
_parent._visible = false;
Symbol 1702 MovieClip Frame 26
stop();
_parent._visible = false;
Symbol 1751 MovieClip Frame 62
stop();
_parent._visible = false;
Symbol 1770 MovieClip Frame 13
stop();
_parent._visible = false;
Symbol 1771 MovieClip [gameclipShootClip] Frame 1
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 16
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 32
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 47
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 60
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 76
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 90
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 103
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 137
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 157
stop();
_visible = false;
Symbol 1771 MovieClip [gameclipShootClip] Frame 180
stop();
_visible = false;
Symbol 1771 MovieClip [gameclipShootClip] Frame 196
stop();
_visible = false;
Symbol 1771 MovieClip [gameclipShootClip] Frame 197
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 213
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 230
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 246
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 271
stop();
_visible = false;
Symbol 1771 MovieClip [gameclipShootClip] Frame 272
Symbol 1771 MovieClip [gameclipShootClip] Frame 281
stop();
_visible = false;
Symbol 1771 MovieClip [gameclipShootClip] Frame 293
stop();
_visible = false;
Symbol 1771 MovieClip [gameclipShootClip] Frame 294
stop();
Symbol 1771 MovieClip [gameclipShootClip] Frame 302
stop();
Symbol 1776 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1776 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "WEBSITE";
this.wid = 500;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("http://www.freecreationgames.net/", "_blank");
};
}
Symbol 1776 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1776 MovieClip Frame 2
onClipEvent (load) {
this.speed = 20;
this.datxt = "www.freecreationgames.net";
this.wid = 500;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("http://www.freecreationgames.net/", "_blank");
};
}
Symbol 1776 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1776 MovieClip Frame 3
onClipEvent (load) {
this.speed = 20;
this.datxt = "CONTACT";
this.wid = 500;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("http://www.freecreationgames.net", "_blank");
};
}
Symbol 1776 MovieClip Frame 4
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1776 MovieClip Frame 4
onClipEvent (load) {
this.speed = 20;
this.datxt = "contact@freecreationgames.net";
this.wid = 500;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("mailto:contact@freecreationgames.net", "_blank");
};
}
Symbol 1777 MovieClip Frame 1
stop();
Symbol 1777 MovieClip Frame 7
instWeb1.gotoAndStop("website");
instWeb2.gotoAndStop("website_free");
instWeb3.gotoAndStop("contact");
instWeb4.gotoAndStop("contact_free");
stop();
Symbol 1778 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 1778 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "YOU MUST DESTROY ALL THE BUILDINGS OF THE LEVEL";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 1
onClipEvent (load) {
this.datxt = "LOADING...";
this.wid = 450;
this.bol = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 2
onClipEvent (load) {
this.speed = 20;
this.datxt = "HELP 1 OF 3";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 3
onClipEvent (load) {
this.speed = 20;
this.datxt = "HELP 2 OF 3";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 4
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 4
onClipEvent (load) {
this.speed = 20;
this.datxt = "HELP 3 OF 3";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 5
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 5
onClipEvent (load) {
this.speed = 20;
this.datxt = "TEAM";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 6
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 6
onClipEvent (load) {
this.speed = 20;
this.datxt = "MUSIC";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 7
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 7
onClipEvent (load) {
this.speed = 20;
this.datxt = "FX SOUNDS";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 8
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 8
onClipEvent (load) {
this.speed = 20;
this.datxt = "WEBSITE";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 9
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 9
onClipEvent (load) {
this.speed = 20;
this.datxt = "CONGRATULATIONS";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 10
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 10
onClipEvent (load) {
this.speed = 20;
this.datxt = "SORRY";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1779 MovieClip Frame 11
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 1779 MovieClip Frame 11
onClipEvent (load) {
this.speed = 20;
this.datxt = "END GAME";
this.wid = 450;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 1794 MovieClip [buildingForHelp] Frame 1
stop();
Symbol 1794 MovieClip [buildingForHelp] Frame 9
stop();
Symbol 1794 MovieClip [buildingForHelp] Frame 18
stop();
Symbol 1794 MovieClip [buildingForHelp] Frame 26
stop();
Symbol 1893 MovieClip Frame 15
stop();
Symbol 1894 MovieClip Frame 18
stop();
Symbol 1909 MovieClip Frame 7
stop();
Symbol 1930 MovieClip Frame 5
stop();
Symbol 1935 MovieClip Frame 19
stop();
Symbol 1936 MovieClip [gameclipProtagonist] Frame 1
stop();
Symbol 1936 MovieClip [gameclipProtagonist] Frame 14
stop();
Symbol 1936 MovieClip [gameclipProtagonist] Frame 15
stop();
Symbol 1936 MovieClip [gameclipProtagonist] Frame 26
stop();
Symbol 1936 MovieClip [gameclipProtagonist] Frame 38
gotoAndPlay ("protagonist_quiet_metralladora");
Symbol 1936 MovieClip [gameclipProtagonist] Frame 50
gotoAndPlay ("protagonist_walk_metralladora");
Symbol 1936 MovieClip [gameclipProtagonist] Frame 62
gotoAndPlay ("protagonist_quiet_bazoka");
Symbol 1936 MovieClip [gameclipProtagonist] Frame 74
gotoAndPlay ("protagonist_walk_bazoka");
Symbol 1936 MovieClip [gameclipProtagonist] Frame 86
gotoAndPlay ("protagonist_quiet_fire");
Symbol 1936 MovieClip [gameclipProtagonist] Frame 98
gotoAndPlay ("protagonist_walk_fire");
Symbol 1936 MovieClip [gameclipProtagonist] Frame 99
stop();
Symbol 1936 MovieClip [gameclipProtagonist] Frame 112
stop();
Symbol 1936 MovieClip [gameclipProtagonist] Frame 113
stop();
Symbol 1936 MovieClip [gameclipProtagonist] Frame 153
stop();
Symbol 2028 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 2028 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Designer: FreeCreator";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 2029 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 2029 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Art: PoxPower";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 2030 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2030 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "Jiggly Puff Gas Huffer BY Corrosive Sensitive (prozacsmile)";
this.wid = 250;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("http://www.newgrounds.com/audio/listen/1594", "_blank");
};
}
Symbol 2030 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2030 MovieClip Frame 2
onClipEvent (load) {
this.speed = 20;
this.datxt = "the pineapple stand-in song BY Sticky";
this.wid = 300;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("http://www.newgrounds.com/audio/listen/18851", "_blank");
};
}
Symbol 2030 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2030 MovieClip Frame 3
onClipEvent (load) {
this.speed = 20;
this.datxt = "Og tel BY WinTang";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("http://www.newgrounds.com/audio/listen/43134", "_blank");
};
}
Symbol 2030 MovieClip Frame 4
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2030 MovieClip Frame 4
onClipEvent (load) {
this.speed = 20;
this.datxt = "Haunted Woods BY ParagonX9";
this.wid = 150;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("http://www.newgrounds.com/audio/listen/3773", "_blank");
};
}
Symbol 2030 MovieClip Frame 5
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2030 MovieClip Frame 5
onClipEvent (load) {
this.speed = 20;
this.datxt = "VISIT AUTHOR";
this.wid = 10;
this.bol = true;
this.but = true;
}
Symbol 2031 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 2031 MovieClip Frame 1
onClipEvent (load) {
this.speed = 100;
this.datxt = "PLAY";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
_root.stopGameSoundsBackground();
_root.stopGameSounds();
_root.playGameSoundBackground(Define.SOUND_BACKGROUND_A);
};
}
Symbol 2032 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 2032 MovieClip Frame 1
onClipEvent (load) {
this.speed = 100;
this.datxt = "PLAY";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
_root.stopGameSoundsBackground();
_root.stopGameSounds();
_root.playGameSoundBackground(Define.SOUND_BACKGROUND_B);
};
}
Symbol 2033 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 2033 MovieClip Frame 1
onClipEvent (load) {
this.speed = 100;
this.datxt = "PLAY";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
_root.stopGameSoundsBackground();
_root.stopGameSounds();
_root.playGameSoundBackground(Define.SOUND_BACKGROUND_C);
};
}
Symbol 2034 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 2034 MovieClip Frame 1
onClipEvent (load) {
this.speed = 100;
this.datxt = "PLAY";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
_root.stopGameSounds();
_root.stopGameSoundsBackground();
_root.playGameSound(Define.SOUND_MENU_MELODY);
};
}
Symbol 2037 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 2037 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "FX SOUNDS FROM WWW.FLASHKIT.COM";
this.wid = 350;
this.bol = true;
this.but = true;
this.onPress = function () {
getURL ("http://www.flashkit.com/", "_blank");
};
}
Symbol 2038 Button
on (release) {
textHTML = Define.getVoice(_root.gVoiceCounter);
_root.stopGameSounds();
_root.playGameSound(_root.gVoiceCounter);
_root.gVoiceCounter++;
if (_root.gVoiceCounter > Define.SOUND_ITEM_SUPERBOMB1) {
_root.gVoiceCounter = Define.SOUND_ITEM_MACHINEGUN;
}
}
Symbol 2039 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 678 MovieClip in Symbol 2039 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "PLAY";
this.wid = 350;
this.bol = true;
this.but = true;
}
Symbol 2040 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 2040 MovieClip Frame 1
onClipEvent (load) {
this.speed = 20;
this.datxt = "CONTINUE";
this.wid = 250;
this.bol = true;
this.but = true;
}
Symbol 2040 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 2040 MovieClip Frame 2
onClipEvent (load) {
this.speed = 20;
this.datxt = "SETTINGS";
this.wid = 250;
this.bol = true;
this.but = true;
}
Symbol 2040 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 2040 MovieClip Frame 3
onClipEvent (load) {
this.speed = 20;
this.datxt = "HELP";
this.wid = 250;
this.bol = true;
this.but = true;
}
Symbol 2040 MovieClip Frame 4
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip "instCoolTextBox" in Symbol 2040 MovieClip Frame 4
onClipEvent (load) {
this.speed = 20;
this.datxt = "EXIT";
this.wid = 250;
this.bol = true;
this.but = true;
}
Symbol 2104 MovieClip Frame 21
stop();
_parent._visible = false;
Symbol 2109 MovieClip Frame 21
stop();
_parent._visible = false;
Symbol 2114 MovieClip Frame 21
stop();
_parent._visible = false;
Symbol 2125 MovieClip Frame 8
stop();
_parent._visible = false;
Symbol 2132 MovieClip Frame 10
stop();
_parent._visible = false;
Symbol 2136 MovieClip Frame 6
stop();
_parent._visible = false;
Symbol 2137 MovieClip [gameClipNPC] Frame 1
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 16
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 31
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 46
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 60
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 73
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 88
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 102
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 116
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 131
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 143
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 155
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 168
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 180
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 192
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 205
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 217
stop();
Symbol 2137 MovieClip [gameClipNPC] Frame 229
stop();
Symbol 2141 MovieClip Frame 1
stop();
Symbol 2141 MovieClip Frame 12
instClipIncrementalText_Survival._visible = true;
instClipIncrementalText_Survival._x = 407.5;
instClipIncrementalText_Survival._y = 290;
instTextBack._x = 407.5;
instTextBack._y = 350;
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 23
limitOfLevelsDoneLoadLevel = 0;
switch (_root.nmDifficultySetted) {
case 0 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone_Easy + 1;
break;
case 1 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone + 1;
break;
case 2 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone_Hard + 1;
break;
case 3 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone_Crazy + 1;
break;
case 4 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone_JamesBond007 + 1;
}
delete instSelectedLevel.onRelease;
delete instBackLevel.onRelease;
delete instNextLevel.onRelease;
delete instSelectLevelEntry1.onRelease;
delete instSelectLevelEntry2.onRelease;
delete instSelectedLevel.onEnterFrame;
delete instBackLevel.onEnterFrame;
delete instNextLevel.onEnterFrame;
delete instSelectLevelEntry1.onEnterFrame;
delete instSelectLevelEntry2.onEnterFrame;
instSelectedLevel._y = -80;
instSelectedLevel.gotoAndStop("azul");
instBackLevel.gotoAndStop("azul");
instNextLevel.gotoAndStop("azul");
setElementsVisibility = function (optionVisibility) {
instSelectedLevel._visible = optionVisibility;
instBackLevel._visible = optionVisibility;
instNextLevel._visible = optionVisibility;
instSelectLevelEntry1._visible = optionVisibility;
instSelectLevelEntry2._visible = optionVisibility;
};
setElementsVisibility(true);
instBackLevel.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if ((_root.nmLevelToShow - 2) < 0) {
gotoAndPlay ("menuPlay");
} else {
_root.nmLevelToShow = _root.nmLevelToShow - 2;
gotoAndPlay ("menuLoad");
}
};
instNextLevel.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if ((_root.nmLevelToShow + 2) >= limitOfLevelsDoneLoadLevel) {
gotoAndPlay ("menuPlay");
} else {
_root.nmLevelToShow = _root.nmLevelToShow + 2;
gotoAndPlay ("menuLoad");
}
};
instSelectLevelEntry1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
setElementsVisibility(false);
_root.gHasBeenPreviouslyPlayedTutorial = true;
_root.initGameStart(_root.nmLevelToShow);
};
instSelectLevelEntry2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
setElementsVisibility(false);
_root.gHasBeenPreviouslyPlayedTutorial = true;
_root.initGameStart(_root.nmLevelToShow + 1);
};
setElementsVisibility(false);
instSelectedLevel._visible = true;
instBackLevel._visible = true;
instNextLevel._visible = true;
instSelectedLevel.instBigText.text = "Select Level";
if ((_root.nmLevelToShow - 2) < 0) {
}
if ((_root.nmLevelToShow + 2) >= limitOfLevelsDoneLoadLevel) {
}
if (_root.nmLevelToShow < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry1._visible = true;
instSelectLevelEntry1.instIconLevel.gotoAndStop(_root.nmLevelToShow + 1);
var valueTempMenuLoadLevelt;
switch (_root.nmDifficultySetted) {
case 0 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore_Easy[_root.nmLevelToShow];
break;
case 1 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore[_root.nmLevelToShow];
break;
case 2 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore_Hard[_root.nmLevelToShow];
break;
case 3 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore_Crazy[_root.nmLevelToShow];
break;
case 4 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow];
}
if (!isNaN(valueTempMenuLoadLevelt)) {
instSelectLevelEntry1.gotoAndStop("stadistics");
instSelectLevelEntry1.instTextDay.gotoAndStop("level" + (_root.nmLevelToShow + 1));
switch (_root.nmDifficultySetted) {
case 0 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Easy[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Easy[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore_Easy[_root.nmLevelToShow];
break;
case 1 :
var minutesDone = Math.floor(_root.gListLevelTimeScore[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore[_root.nmLevelToShow];
break;
case 2 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Hard[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Hard[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore_Hard[_root.nmLevelToShow];
break;
case 3 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Crazy[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Crazy[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore_Crazy[_root.nmLevelToShow];
break;
case 4 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore_JamesBond007[_root.nmLevelToShow];
}
} else {
instSelectLevelEntry1.gotoAndStop("newDay");
instSelectLevelEntry1.instTextDay.gotoAndStop("level" + (_root.nmLevelToShow + 1));
}
}
if ((_root.nmLevelToShow + 1) < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry2._visible = true;
instSelectLevelEntry2.instIconLevel.gotoAndStop(_root.nmLevelToShow + 2);
var valueTempMenuLoadLevelta;
switch (_root.nmDifficultySetted) {
case 0 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore_Easy[_root.nmLevelToShow + 1];
break;
case 1 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore[_root.nmLevelToShow + 1];
break;
case 2 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore_Hard[_root.nmLevelToShow + 1];
break;
case 3 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore_Crazy[_root.nmLevelToShow + 1];
break;
case 4 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow + 1];
}
if (!isNaN(valueTempMenuLoadLevelta)) {
instSelectLevelEntry2.gotoAndStop("stadistics");
instSelectLevelEntry2.instTextDay.gotoAndStop("level" + (_root.nmLevelToShow + 2));
switch (_root.nmDifficultySetted) {
case 0 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Easy[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Easy[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore_Easy[_root.nmLevelToShow + 1];
break;
case 1 :
var minutesDone = Math.floor(_root.gListLevelTimeScore[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore[_root.nmLevelToShow + 1];
break;
case 2 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Hard[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Hard[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore_Hard[_root.nmLevelToShow + 1];
break;
case 3 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Crazy[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Crazy[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore_Crazy[_root.nmLevelToShow + 1];
break;
case 4 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore_JamesBond007[_root.nmLevelToShow + 1];
}
} else {
instSelectLevelEntry2.gotoAndStop("newDay");
instSelectLevelEntry2.instTextDay.gotoAndStop("level" + (_root.nmLevelToShow + 2));
}
}
activeChangeColor = -1;
factorEscalaContraccion = 5;
instBackLevel.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackLevel.onRollOut = function () {
activeChangeColor = -1;
};
instNextLevel.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextLevel.onRollOut = function () {
activeChangeColor = -1;
};
applyMovementRotation = function (nmElementRotableCircle, numeroActivacion) {
if (activeChangeColor == numeroActivacion) {
nmElementRotableCircle._alpha = nmElementRotableCircle._alpha - factorEscalaContraccion;
if (nmElementRotableCircle._alpha < 10) {
nmElementRotableCircle._alpha = 100;
}
nmElementRotableCircle._rotation = nmElementRotableCircle._rotation + factorEscalaContraccion;
if (nmElementRotableCircle._rotation > 360) {
nmElementRotableCircle._rotation = 0;
}
} else {
nmElementRotableCircle._alpha = 100;
nmElementRotableCircle._rotation = 0;
}
};
instBackLevel.onEnterFrame = function () {
applyMovementRotation(this.instRotableCircle, 0);
};
instNextLevel.onEnterFrame = function () {
applyMovementRotation(this.instRotableCircle, 1);
};
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 25
limitOfLevelsDoneLoadLevel = 0;
switch (_root.nmDifficultySetted) {
case 0 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone_Easy + 1;
break;
case 1 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone + 1;
break;
case 2 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone_Hard + 1;
break;
case 3 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone_Crazy + 1;
break;
case 4 :
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone_JamesBond007 + 1;
}
delete instSelectedLevel.onRelease;
delete instBackLevel.onRelease;
delete instNextLevel.onRelease;
delete instSelectLevelEntry1.onRelease;
delete instSelectLevelEntry2.onRelease;
delete instSelectedLevel.onEnterFrame;
delete instBackLevel.onEnterFrame;
delete instNextLevel.onEnterFrame;
delete instSelectLevelEntry1.onEnterFrame;
delete instSelectLevelEntry2.onEnterFrame;
instSelectedLevel._y = -80;
instSelectedLevel.gotoAndStop("azul");
instBackLevel.gotoAndStop("azul");
instNextLevel.gotoAndStop("azul");
setElementsVisibility = function (optionVisibility) {
instSelectedLevel._visible = optionVisibility;
instBackLevel._visible = optionVisibility;
instNextLevel._visible = optionVisibility;
instSelectLevelEntry1._visible = optionVisibility;
instSelectLevelEntry2._visible = optionVisibility;
};
setElementsVisibility(true);
instBackLevel.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if ((_root.nmLevelToShow - 2) < 0) {
gotoAndPlay ("menuPlay");
} else {
_root.nmLevelToShow = _root.nmLevelToShow - 2;
gotoAndPlay ("menuLoad");
}
};
instNextLevel.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if ((_root.nmLevelToShow + 2) >= limitOfLevelsDoneLoadLevel) {
gotoAndPlay ("menuPlay");
} else {
_root.nmLevelToShow = _root.nmLevelToShow + 2;
gotoAndPlay ("menuLoad");
}
};
instSelectLevelEntry1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
setElementsVisibility(false);
_root.gHasBeenPreviouslyPlayedTutorial = true;
_root.initGameStart(_root.nmLevelToShow);
};
instSelectLevelEntry2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
setElementsVisibility(false);
_root.gHasBeenPreviouslyPlayedTutorial = true;
_root.initGameStart(_root.nmLevelToShow + 1);
};
setElementsVisibility(false);
instSelectedLevel._visible = true;
instBackLevel._visible = true;
instNextLevel._visible = true;
instSelectedLevel.instBigText.text = "Select Level";
if ((_root.nmLevelToShow - 2) < 0) {
instClipIncrementalText_Buttons_Left.gotoAndStop("exit");
} else {
instClipIncrementalText_Buttons_Left.gotoAndStop("back");
}
instClipIncrementalText_Buttons_Left.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if ((_root.nmLevelToShow - 2) < 0) {
gotoAndPlay ("menuPlay");
} else {
_root.nmLevelToShow = _root.nmLevelToShow - 2;
gotoAndPlay ("menuLoad");
}
};
if ((_root.nmLevelToShow + 2) >= limitOfLevelsDoneLoadLevel) {
instClipIncrementalText_Buttons_Right.gotoAndStop("exit");
} else {
instClipIncrementalText_Buttons_Right.gotoAndStop("next");
}
instClipIncrementalText_Buttons_Right.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if ((_root.nmLevelToShow + 2) >= limitOfLevelsDoneLoadLevel) {
gotoAndPlay ("menuPlay");
} else {
_root.nmLevelToShow = _root.nmLevelToShow + 2;
gotoAndPlay ("menuLoad");
}
};
if (_root.nmLevelToShow < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry1._visible = true;
instSelectLevelEntry1.instIconLevel.gotoAndStop(_root.nmLevelToShow + 1);
var valueTempMenuLoadLevelt;
switch (_root.nmDifficultySetted) {
case 0 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore_Easy[_root.nmLevelToShow];
break;
case 1 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore[_root.nmLevelToShow];
break;
case 2 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore_Hard[_root.nmLevelToShow];
break;
case 3 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore_Crazy[_root.nmLevelToShow];
break;
case 4 :
valueTempMenuLoadLevelt = _root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow];
}
if (!isNaN(valueTempMenuLoadLevelt)) {
instSelectLevelEntry1.gotoAndStop("stadistics");
instSelectLevelEntry1.instTextDay.gotoAndStop("level" + (_root.nmLevelToShow + 1));
switch (_root.nmDifficultySetted) {
case 0 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Easy[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Easy[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore_Easy[_root.nmLevelToShow];
break;
case 1 :
var minutesDone = Math.floor(_root.gListLevelTimeScore[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore[_root.nmLevelToShow];
break;
case 2 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Hard[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Hard[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore_Hard[_root.nmLevelToShow];
break;
case 3 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Crazy[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Crazy[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore_Crazy[_root.nmLevelToShow];
break;
case 4 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry1.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry1.instTextStars.text = "" + _root.gListLevelStarsScore_JamesBond007[_root.nmLevelToShow];
}
} else {
instSelectLevelEntry1.gotoAndStop("newDay");
instSelectLevelEntry1.instTextDay.gotoAndStop("level" + (_root.nmLevelToShow + 1));
}
}
if ((_root.nmLevelToShow + 1) < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry2._visible = true;
instSelectLevelEntry2.instIconLevel.gotoAndStop(_root.nmLevelToShow + 2);
var valueTempMenuLoadLevelta;
switch (_root.nmDifficultySetted) {
case 0 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore_Easy[_root.nmLevelToShow + 1];
break;
case 1 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore[_root.nmLevelToShow + 1];
break;
case 2 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore_Hard[_root.nmLevelToShow + 1];
break;
case 3 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore_Crazy[_root.nmLevelToShow + 1];
break;
case 4 :
valueTempMenuLoadLevelta = _root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow + 1];
}
if (!isNaN(valueTempMenuLoadLevelta)) {
instSelectLevelEntry2.gotoAndStop("stadistics");
instSelectLevelEntry2.instTextDay.gotoAndStop("level" + (_root.nmLevelToShow + 2));
switch (_root.nmDifficultySetted) {
case 0 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Easy[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Easy[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore_Easy[_root.nmLevelToShow + 1];
break;
case 1 :
var minutesDone = Math.floor(_root.gListLevelTimeScore[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore[_root.nmLevelToShow + 1];
break;
case 2 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Hard[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Hard[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore_Hard[_root.nmLevelToShow + 1];
break;
case 3 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_Crazy[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_Crazy[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore_Crazy[_root.nmLevelToShow + 1];
break;
case 4 :
var minutesDone = Math.floor(_root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow + 1] / 60000);
var secondsDone = Math.floor((_root.gListLevelTimeScore_JamesBond007[_root.nmLevelToShow + 1] / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instSelectLevelEntry2.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instSelectLevelEntry2.instTextStars.text = "" + _root.gListLevelStarsScore_JamesBond007[_root.nmLevelToShow + 1];
}
} else {
instSelectLevelEntry2.gotoAndStop("newDay");
instSelectLevelEntry2.instTextDay.gotoAndStop("level" + (_root.nmLevelToShow + 2));
}
}
activeChangeColor = -1;
factorEscalaContraccion = 5;
instBackLevel.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackLevel.onRollOut = function () {
activeChangeColor = -1;
};
instNextLevel.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextLevel.onRollOut = function () {
activeChangeColor = -1;
};
applyMovementRotation = function (nmElementRotableCircle, numeroActivacion) {
if (activeChangeColor == numeroActivacion) {
nmElementRotableCircle._alpha = nmElementRotableCircle._alpha - factorEscalaContraccion;
if (nmElementRotableCircle._alpha < 10) {
nmElementRotableCircle._alpha = 100;
}
nmElementRotableCircle._rotation = nmElementRotableCircle._rotation + factorEscalaContraccion;
if (nmElementRotableCircle._rotation > 360) {
nmElementRotableCircle._rotation = 0;
}
} else {
nmElementRotableCircle._alpha = 100;
nmElementRotableCircle._rotation = 0;
}
};
instBackLevel.onEnterFrame = function () {
applyMovementRotation(this.instRotableCircle, 0);
};
instNextLevel.onEnterFrame = function () {
applyMovementRotation(this.instRotableCircle, 1);
};
stop();
Symbol 2141 MovieClip Frame 26
instButtonSound.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if (_root.nmSoundEnabled == false) {
_root.nmSoundEnabled = true;
this.gotoAndStop(2);
} else {
_root.nmSoundEnabled = false;
_root.stopGameSounds();
this.gotoAndStop(1);
}
};
instButtonDifficulty.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.nmDifficultySetted = _root.nmDifficultySetted + 1;
if (_root.nmDifficultySetted > 4) {
_root.nmDifficultySetted = 0;
}
switch (_root.nmDifficultySetted) {
case 0 :
this.gotoAndStop(1);
break;
case 1 :
this.gotoAndStop(2);
break;
case 2 :
this.gotoAndStop(3);
break;
case 3 :
this.gotoAndStop(4);
break;
case 4 :
this.gotoAndStop(5);
}
};
instButtonQuality.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.gQualitySetted = _root.gQualitySetted + 1;
if (_root.gQualitySetted > 2) {
_root.gQualitySetted = 0;
}
switch (_root.gQualitySetted) {
case 0 :
_root._quality = "LOW";
this.gotoAndStop(1);
break;
case 1 :
_root._quality = "MEDIUM";
this.gotoAndStop(2);
break;
case 2 :
_root._quality = "HIGH";
this.gotoAndStop(3);
}
};
switch (_root.nmDifficultySetted) {
case 0 :
instButtonDifficulty.gotoAndStop(1);
break;
case 1 :
instButtonDifficulty.gotoAndStop(2);
break;
case 2 :
instButtonDifficulty.gotoAndStop(3);
break;
case 3 :
instButtonDifficulty.gotoAndStop(4);
break;
case 4 :
instButtonDifficulty.gotoAndStop(5);
}
switch (_root.gQualitySetted) {
case 0 :
instButtonQuality.gotoAndStop(1);
break;
case 1 :
instButtonQuality.gotoAndStop(2);
break;
case 2 :
instButtonQuality.gotoAndStop(3);
}
if (_root.nmSoundEnabled == 0) {
instButtonSound.gotoAndStop(1);
} else {
instButtonSound.gotoAndStop(2);
}
if (_root.gState == Define.STATEGENERAL_PAUSE) {
instButtonDifficulty._visible = false;
} else {
instButtonDifficulty._visible = true;
}
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 36
instSelectLevel_Help1of3Inc.gotoAndStop("help_1_of_3");
instBuildingForHelp1.gotoAndStop("section1");
instBuildingForHelp2.gotoAndStop("section2");
instBuildingForHelp3.gotoAndStop("section3");
instBuildingForHelp4.gotoAndStop("section4");
instBackHelp0.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if (_root.gState == Define.STATEGENERAL_PAUSE) {
gotoAndPlay ("pause");
} else {
gotoAndPlay ("mainMenu");
}
};
instNextHelp0.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help1");
};
instTitleHelp0.gotoAndStop("azul");
instExplanationHelp0.gotoAndStop("azul");
instBackHelp0.gotoAndStop("azul");
instNextHelp0.gotoAndStop("azul");
instClipIncrementalText_Button_Left_Help1.gotoAndStop("exit");
instClipIncrementalText_Button_Left_Help1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if (_root.gState == Define.STATEGENERAL_PAUSE) {
gotoAndPlay ("pause");
} else {
gotoAndPlay ("mainMenu");
}
};
instClipIncrementalText_Button_Right_Help1.gotoAndStop("next");
instClipIncrementalText_Button_Right_Help1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help1");
};
activeChangeColor = -1;
factorEscalaContraccion = 4;
instBackHelp0.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackHelp0.onRollOut = function () {
activeChangeColor = -1;
};
instNextHelp0.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextHelp0.onRollOut = function () {
activeChangeColor = -1;
};
instBackHelp0.onEnterFrame = function () {
if (activeChangeColor == 0) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
instNextHelp0.onEnterFrame = function () {
if (activeChangeColor == 1) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 44
instSelectLevel_Help2of3Inc.gotoAndStop("help_2_of_3");
instBackHelp1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help");
};
instNextHelp1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help2");
};
instTitleHelp1.gotoAndStop("azul");
instExplanationHelp1.gotoAndStop("azul");
instBackHelp1.gotoAndStop("azul");
instNextHelp1.gotoAndStop("azul");
instClipIncrementalText_Button_Left_Help2.gotoAndStop("back");
instClipIncrementalText_Button_Left_Help2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help");
};
instClipIncrementalText_Button_Right_Help2.gotoAndStop("next");
instClipIncrementalText_Button_Right_Help2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help2");
};
activeChangeColor = -1;
factorEscalaContraccion = 4;
instGameclipMirilla.onEnterFrame = function () {
this._x = _xmouse;
this._y = _ymouse;
};
instGameclipProtagonist.gotoAndPlay("protagonist_walk");
instGameclipProtagonist.instGameClipShield._visible = false;
instGameclipProtagonist.onEnterFrame = function () {
if (Key.isDown(39) || (Key.isDown(68))) {
this._x = this._x + 5;
if (this._x > Stage.width) {
this._x = 10;
}
}
if (Key.isDown(38) || (Key.isDown(87))) {
this._y = this._y - 5;
if (this._y < 0) {
this._y = Stage.height - 10;
}
}
if (Key.isDown(37) || (Key.isDown(65))) {
this._x = this._x - 5;
if (this._x < 0) {
this._x = Stage.width - 10;
}
}
if (Key.isDown(40) || (Key.isDown(83))) {
this._y = this._y + 5;
if (this._y > Stage.height) {
this._y = 10;
}
}
var _local2 = new flash.geom.Point(this._x, this._y);
var _local4 = new flash.geom.Point(_xmouse, _ymouse);
var _local3 = Define.setUpYawToPoint(_local2, _local4);
Define.setMovieClipAlineation(this, _local3);
};
instExplanationHelp1.instClipLinea1._visible = true;
instExplanationHelp1.instClipLinea2._visible = true;
instBackHelp1.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackHelp1.onRollOut = function () {
activeChangeColor = -1;
};
instNextHelp1.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextHelp1.onRollOut = function () {
activeChangeColor = -1;
};
instBackHelp1.onEnterFrame = function () {
if (activeChangeColor == 0) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
instNextHelp1.onEnterFrame = function () {
if (activeChangeColor == 1) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 52
instSelectLevel_Help3of3Inc.gotoAndStop("help_3_of_3");
instBackHelp2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help1");
};
instNextHelp2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if (_root.gState == Define.STATEGENERAL_PAUSE) {
gotoAndPlay ("pause");
} else {
gotoAndPlay ("mainMenu");
}
};
instTitleHelp2.gotoAndStop("azul");
instExplanationHelp2.gotoAndStop("azul");
instBackHelp2.gotoAndStop("azul");
instNextHelp2.gotoAndStop("azul");
instClipIncrementalText_Button_Left_Help3.gotoAndStop("back");
instClipIncrementalText_Button_Left_Help3.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help1");
};
instClipIncrementalText_Button_Right_Help3.gotoAndStop("exit");
instClipIncrementalText_Button_Right_Help3.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if (_root.gState == Define.STATEGENERAL_PAUSE) {
gotoAndPlay ("pause");
} else {
gotoAndPlay ("mainMenu");
}
};
activeChangeColor = -1;
factorEscalaContraccion = 4;
instGameclipItem1.gotoAndPlay("item_life");
instGameclipItem2.gotoAndPlay("item_metralleta");
instGameclipItem3.gotoAndPlay("item_bazoka");
instGameclipItem4.gotoAndPlay("item_fire");
instGameclipItem5.gotoAndPlay("item_fast");
instGameclipItem6.gotoAndPlay("item_slow");
instGameclipItem7.gotoAndPlay("item_super");
instBackHelp2.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackHelp2.onRollOut = function () {
activeChangeColor = -1;
};
instNextHelp2.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextHelp2.onRollOut = function () {
activeChangeColor = -1;
};
instBackHelp2.onEnterFrame = function () {
if (activeChangeColor == 0) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
instNextHelp2.onEnterFrame = function () {
if (activeChangeColor == 1) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 59
if (_root.gGameHasBeenCompleted == 0) {
instEndGameBackground._visible = false;
instMaintTitleIntro._visible = true;
} else {
instMaintTitleIntro._visible = false;
instEndGameBackground._visible = true;
instFreecreator._x = 53;
instFreecreator._y = 188;
instPowPower._x = 54.9;
instPowPower._y = 270.5;
}
instClipIncremental_AboutTeam.gotoAndStop("about_team");
instBackAbout.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("mainMenu");
};
instNextAbout.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about2");
};
instTitleAbout.gotoAndStop("azul");
instBackAbout.gotoAndStop("azul");
instNextAbout.gotoAndStop("azul");
instClipIncrementalText_Left_About1.gotoAndPlay("exit");
instClipIncrementalText_Left_About1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("mainMenu");
};
instClipIncrementalText_Right_About1.gotoAndPlay("next");
instClipIncrementalText_Right_About1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about2");
};
activeChangeColor = -1;
factorEscalaContraccion = 4;
instBackAbout.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackAbout.onRollOut = function () {
activeChangeColor = -1;
};
instNextAbout.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextAbout.onRollOut = function () {
activeChangeColor = -1;
};
designerActivated = 0;
musicianActivated = 0;
artistActivated = 0;
instCreditDesigner.onRelease = function () {
designerActivated = (designerActivated + 1) % 2;
};
instCreditArtist.onRelease = function () {
artistActivated = (artistActivated + 1) % 2;
};
instCreditMusician.onRelease = function () {
musicianActivated = (musicianActivated + 1) % 2;
};
instBackAbout.onEnterFrame = function () {
if (activeChangeColor == 0) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
instNextAbout.onEnterFrame = function () {
if (activeChangeColor == 1) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 67
if (_root.gGameHasBeenCompleted == 0) {
instEndGameBackground._visible = false;
instMaintTitleIntro._visible = true;
} else {
instMaintTitleIntro._visible = false;
instEndGameBackground._visible = true;
}
instClipIncremental_Music.gotoAndStop("about_music");
instSongAb1.gotoAndStop("song1");
instSongAb2.gotoAndStop("song2");
instSongAb3.gotoAndStop("song3");
instSongAb4.gotoAndStop("song4");
instSongAb_Autor1.gotoAndStop("author");
instSongAb_Autor2.gotoAndStop("author");
instSongAb_Autor3.gotoAndStop("author");
instSongAb_Autor4.gotoAndStop("author");
instBackAbout2.onRelease = function () {
_root.stopGameSounds();
_root.stopGameSoundsBackground();
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about");
};
instNextAbout2.onRelease = function () {
_root.stopGameSounds();
_root.stopGameSoundsBackground();
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about4");
};
instTitleCredits2.gotoAndStop("azul");
instBackAbout2.gotoAndStop("azul");
instNextAbout2.gotoAndStop("azul");
instClipIncrementalText_Left_About2.gotoAndPlay("back");
instClipIncrementalText_Left_About2.onRelease = function () {
_root.stopGameSounds();
_root.stopGameSoundsBackground();
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about");
};
instClipIncrementalText_Right_About2.gotoAndPlay("next");
instClipIncrementalText_Right_About2.onRelease = function () {
_root.stopGameSounds();
_root.stopGameSoundsBackground();
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about4");
};
instTitleCredits2._alpha = 80;
instFondoAbout2._alpha = 80;
activeChangeColor = -1;
factorEscalaContraccion = 4;
instBackAbout2.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackAbout2.onRollOut = function () {
activeChangeColor = -1;
};
instNextAbout2.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextAbout2.onRollOut = function () {
activeChangeColor = -1;
};
instBackAbout2.onEnterFrame = function () {
if (activeChangeColor == 0) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
instNextAbout2.onEnterFrame = function () {
if (activeChangeColor == 1) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Instance of Symbol 2030 MovieClip "instSongAb_Autor1" in Symbol 2141 MovieClip Frame 67
on (release) {
getURL ("http://prozacsmile.newgrounds.com/", "_blank");
}
Instance of Symbol 2030 MovieClip "instSongAb_Autor2" in Symbol 2141 MovieClip Frame 67
on (release) {
getURL ("http://sticky.newgrounds.com/", "_blank");
}
Instance of Symbol 2030 MovieClip "instSongAb_Autor3" in Symbol 2141 MovieClip Frame 67
on (release) {
getURL ("http://wintang.newgrounds.com/", "_blank");
}
Instance of Symbol 2030 MovieClip "instSongAb_Autor4" in Symbol 2141 MovieClip Frame 67
on (release) {
getURL ("http://paragonx9.newgrounds.com/", "_blank");
}
Symbol 2141 MovieClip Frame 75
if (_root.gGameHasBeenCompleted == 0) {
instEndGameBackground._visible = false;
instMaintTitleIntro._visible = true;
} else {
instMaintTitleIntro._visible = false;
instEndGameBackground._visible = true;
}
instClipIncremental_FX.gotoAndStop("about_fx_sounds");
instBackAbout3.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about2");
};
instNextAbout3.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about4");
};
instTitleCredits3.gotoAndStop("azul");
instBackAbout3.gotoAndStop("azul");
instNextAbout3.gotoAndStop("azul");
instClipIncrementalText_Left_About3.gotoAndPlay("back");
instClipIncrementalText_Left_About3.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about2");
};
instClipIncrementalText_Right_About3.gotoAndPlay("next");
instClipIncrementalText_Right_About3.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about4");
};
instTitleCredits3._alpha = 80;
instFondoAbout3._alpha = 80;
activeChangeColor = -1;
factorEscalaContraccion = 4;
instBackAbout3.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackAbout3.onRollOut = function () {
activeChangeColor = -1;
};
instNextAbout3.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextAbout3.onRollOut = function () {
activeChangeColor = -1;
};
instBackAbout3.onEnterFrame = function () {
if (activeChangeColor == 0) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
instNextAbout3.onEnterFrame = function () {
if (activeChangeColor == 1) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Instance of Symbol 2039 MovieClip in Symbol 2141 MovieClip Frame 75
on (release) {
textHTML = Define.getVoice(_root.gVoiceCounter);
_root.stopGameSounds();
_root.playGameSound(_root.gVoiceCounter);
_root.gVoiceCounter++;
if (_root.gVoiceCounter > Define.SOUND_ITEM_SUPERBOMB1) {
_root.gVoiceCounter = Define.SOUND_ITEM_MACHINEGUN;
}
}
Symbol 2141 MovieClip Frame 83
if (_root.gGameHasBeenCompleted == 0) {
instEndGameBackground._visible = false;
instMaintTitleIntro._visible = true;
} else {
instMaintTitleIntro._visible = false;
instEndGameBackground._visible = true;
}
instClipIncremental_Website.gotoAndStop("about_last_page");
instBackAbout4.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about2");
};
instNextAbout4.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("mainMenu");
if (_root.gGameHasBeenCompleted != 0) {
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
}
};
instTitleCredits4.gotoAndStop("azul");
instFondoAbout4.gotoAndStop("creditos");
instBackAbout4.gotoAndStop("azul");
instNextAbout4.gotoAndStop("azul");
instClipIncrementalText_Left_About4.gotoAndPlay("back");
instClipIncrementalText_Left_About4.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("about2");
};
instClipIncrementalText_Right_About4.gotoAndPlay("exit");
instClipIncrementalText_Right_About4.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("mainMenu");
if (_root.gGameHasBeenCompleted != 0) {
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
}
};
instTitleCredits4._alpha = 80;
instFondoAbout4._alpha = 80;
activeChangeColor = -1;
factorEscalaContraccion = 4;
instBackAbout4.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackAbout4.onRollOut = function () {
activeChangeColor = -1;
};
instNextAbout4.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextAbout4.onRollOut = function () {
activeChangeColor = -1;
};
instBackAbout4.onEnterFrame = function () {
if (activeChangeColor == 0) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
instNextAbout4.onEnterFrame = function () {
if (activeChangeColor == 1) {
this.instRotableCircle._alpha = this.instRotableCircle._alpha - factorEscalaContraccion;
if (this.instRotableCircle._alpha < 10) {
this.instRotableCircle._alpha = 100;
}
this.instRotableCircle._rotation = this.instRotableCircle._rotation + factorEscalaContraccion;
if (this.instRotableCircle._rotation > 360) {
this.instRotableCircle._rotation = 0;
}
} else {
this.instRotableCircle._alpha = 100;
this.instRotableCircle._rotation = 0;
}
};
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 91
stop();
instMaintTitleIntro.gotoAndStop("endintroanimation");
instMaintTitleIntro.intButtonPlayMainMenu._visible = false;
instMaintTitleIntro.intButtonSettingsMainMenu._visible = false;
instMaintTitleIntro.intButtonHelpMainMenu._visible = false;
instMaintTitleIntro.intButtonAboutMainMenu._visible = false;
Symbol 2141 MovieClip Frame 96
instButtonContinue.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.gGeneralIterator = 2;
};
instButtonSettings.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("settings");
};
instButtonHelp.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help");
};
instButtonExit.onRelease = function () {
_root.stopGameSoundsBackground();
_root.stopGameSounds();
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instGame.freeGame();
_root.changeGameState(Define.STATEGENERAL_MENU);
this._visible = true;
gotoAndPlay ("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
};
instLabelPause.gotoAndStop("azul");
instLabelPause.instBigText.text = "PAUSE";
instButtonContinue_Text.gotoAndStop("continue");
instButtonContinue_Text.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.gGeneralIterator = 2;
};
instButtonSettings_Text.gotoAndStop("settings");
instButtonSettings_Text.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("settings");
};
instButtonHelp_Text.gotoAndStop("help");
instButtonHelp_Text.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
gotoAndPlay ("help");
};
instButtonExit_Text.gotoAndStop("exit_menu");
instButtonExit_Text.onRelease = function () {
_root.stopGameSoundsBackground();
_root.stopGameSounds();
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instGame.freeGame();
_root.changeGameState(Define.STATEGENERAL_MENU);
this._visible = true;
gotoAndPlay ("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
};
activeChangeColor = -1;
factorEscalaContraccion = 4;
instButtonContinue.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instButtonContinue.onRollOut = function () {
activeChangeColor = -1;
};
instButtonSettings.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instButtonSettings.onRollOut = function () {
activeChangeColor = -1;
};
instButtonHelp.onRollOver = function () {
activeChangeColor = 2;
this.shiftInX = 0;
};
instButtonHelp.onRollOut = function () {
activeChangeColor = -1;
};
instButtonExit.onRollOver = function () {
activeChangeColor = 3;
this.shiftInX = 0;
};
instButtonExit.onRollOut = function () {
activeChangeColor = -1;
};
stop();
Symbol 2141 MovieClip Frame 108
stop();
Symbol 2141 MovieClip Frame 118
stop();
Symbol 2141 MovieClip Frame 126
stop();
Symbol 2142 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2142 MovieClip Frame 1
onClipEvent (load) {
this.datxt = "LEVEL 1";
this.wid = 450;
this.bol = true;
}
Symbol 2142 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2142 MovieClip Frame 2
onClipEvent (load) {
this.datxt = "LEVEL 2";
this.wid = 450;
this.bol = true;
}
Symbol 2142 MovieClip Frame 3
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2142 MovieClip Frame 3
onClipEvent (load) {
this.datxt = "LEVEL 3";
this.wid = 450;
this.bol = true;
}
Symbol 2142 MovieClip Frame 4
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2142 MovieClip Frame 4
onClipEvent (load) {
this.datxt = "LEVEL 4";
this.wid = 450;
this.bol = true;
}
Symbol 2142 MovieClip Frame 5
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2142 MovieClip Frame 5
onClipEvent (load) {
this.datxt = "LEVEL 5";
this.wid = 450;
this.bol = true;
}
Symbol 2142 MovieClip Frame 6
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2142 MovieClip Frame 6
onClipEvent (load) {
this.datxt = "LEVEL 6";
this.wid = 450;
this.bol = true;
}
Symbol 2142 MovieClip Frame 7
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2142 MovieClip Frame 7
onClipEvent (load) {
this.datxt = "LEVEL 7";
this.wid = 450;
this.bol = true;
}
Symbol 2142 MovieClip Frame 8
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2142 MovieClip Frame 8
onClipEvent (load) {
this.datxt = "LEVEL 8";
this.wid = 450;
this.bol = true;
}
Symbol 2151 MovieClip Frame 98
stop();
Symbol 2152 MovieClip Frame 97
stop();
Symbol 2153 MovieClip Frame 1
instClipLabelInformation.gotoAndStop("azul");
stop();
Symbol 2153 MovieClip Frame 2
instClipLabelInformation.gotoAndStop("azul");
stop();
Symbol 2153 MovieClip Frame 3
instClipLabelInformation.gotoAndStop("azul");
stop();
Symbol 2153 MovieClip Frame 4
instClipLabelInformation.gotoAndStop("azul");
stop();
Symbol 2153 MovieClip Frame 5
instClipLabelInformation.gotoAndStop("azul");
stop();
Symbol 2154 MovieClip Frame 1
instLetreroLevel.onRelease = function () {
this._alpha = 100;
gotoAndPlay ("Seccion2");
};
instLetreroLevel.gotoAndStop(Math.floor(_root.gCurrentLevel / 2) + 1);
instLetreroLevel.instTextLevel.gotoAndStop("level" + (_root.gCurrentLevel + 1));
instLetreroLevel.instTextLevelName.gotoAndStop("level" + (_root.gCurrentLevel + 1));
instLetreroLevel.instTextDifficultyLevel.gotoAndStop(_root.nmDifficultySetted + 1);
instLetreroLevel.instIconLevel.gotoAndStop(_root.gCurrentLevel + 1);
instLetreroLevel._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instLetreroLevel.onEnterFrame = function () {
this._x = this._x - (650 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 2154 MovieClip Frame 21
delete instLetreroLevel.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
if (Define.ENABLE_EXTRA_GREAT_SOUNDS) {
switch (_root.gCurrentLevel) {
case 0 :
_root.playGameSoundStops(Define.SOUND_INI_LEVEL1, 1);
break;
case 1 :
_root.playGameSoundStops(Define.SOUND_INI_LEVEL2, 1);
break;
case 2 :
_root.playGameSoundStops(Define.SOUND_INI_LEVEL3, 1);
break;
case 3 :
_root.playGameSoundStops(Define.SOUND_INI_LEVEL4, 1);
break;
case 4 :
_root.playGameSoundStops(Define.SOUND_INI_LEVEL5, 1);
break;
case 5 :
_root.playGameSoundStops(Define.SOUND_INI_LEVEL6, 1);
break;
case 6 :
_root.playGameSoundStops(Define.SOUND_INI_LEVEL7, 1);
}
} else {
_root.playGameSoundStops(Define.SOUND_INI_LEVEL1, 1);
}
instLetreroLevel.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instLetreroLevel.onRollOut = function () {
activeChangeColor = -1;
};
instLetreroLevel.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
stop();
Symbol 2154 MovieClip Frame 22
delete instLetreroLevel.onEnterFrame;
totalNumberFramesAnimationMainMenu = 20;
instLetreroLevel.onEnterFrame = function () {
this._x = this._x - (800 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha - (100 / totalNumberFramesAnimationMainMenu);
if (this._alpha < 5) {
this._visible = false;
_root.instGame.gProtagonist.changeState(cObject.STATE_PROTAGONIST_RUN);
}
};
Symbol 2154 MovieClip Frame 44
stop();
Symbol 2156 Button
on (release) {
var nameWrited = new String(instTextName.text);
var nameToSend = new String("");
var z = 0;
while (z < nameWrited.length) {
var charTmp = new Number(nameWrited.charCodeAt(z));
if ((((charTmp >= 65) && (charTmp <= 90)) || ((charTmp >= 97) && (charTmp <= 122))) || ((charTmp >= 48) && (charTmp <= 57))) {
nameToSend = nameToSend + nameWrited.charAt(z);
}
z++;
}
if (nameToSend.length > 1) {
var my_lv = new LoadVars();
my_lv.onLoad = function (success) {
if (success) {
switch (_root.nmDifficultySetted) {
case 0 :
getURL ("http://www.freecreationgames.net/?q=node/25", "_blank");
break;
case 1 :
getURL ("http://www.freecreationgames.net/?q=node/26", "_blank");
break;
case 2 :
getURL ("http://www.freecreationgames.net/?q=node/27", "_blank");
break;
case 3 :
getURL ("http://www.freecreationgames.net/?q=node/28", "_blank");
break;
case 4 :
getURL ("http://www.freecreationgames.net/?q=node/29", "_blank");
}
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
} else {
trace("Error loading/parsing LoadVars.");
}
};
my_lv.load((((((("http://www.freecreationgames.net/DeconstructorInsert.php?type_deconstructor=20&name_deconstructor=" + nameToSend) + "&timedone=") + _root.instGame.gTimeTotalDone) + "&killsdone=") + _root.instGame.gNumberOfKills) + "&difficultydone=") + _root.nmDifficultySetted);
}
}
Symbol 2157 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
this.datxt = "SUBMIT HIGHSCORE";
this.wid = 350;
this.bol = true;
}
Symbol 2157 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2157 MovieClip Frame 2
onClipEvent (load) {
this.datxt = "YOUR NAME";
this.wid = 350;
this.bol = true;
}
Symbol 2160 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2160 MovieClip Frame 1
onClipEvent (load) {
this.speed = 100;
this.datxt = "The work has been done. Time to come back home pacefully.... Meanwhile in the darkest places of the earth some souls scream continuously a single word.... REVEEENNGEE!!!!!!!";
this.wid = 400;
this.bol = true;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 2160 MovieClip Frame 2
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
stop();
Instance of Symbol 678 MovieClip in Symbol 2160 MovieClip Frame 2
onClipEvent (load) {
this.speed = 50;
this.datxt = "UNLOCKED BONUS GAME \" SURVIVAL\"";
this.wid = 700;
this.bol = true;
this.but = true;
}
Symbol 2161 MovieClip Frame 1
instClipIncrementalText_LableInform.gotoAndStop("loading");
stop();
Symbol 2161 MovieClip Frame 10
instInformSaveProgress.instTextMedium.text = "SAVING PROGRESS\nPLEASE WAIT";
instExit1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
};
instNext1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if (_root.gCurrentLevel < (Define.TOTAL_NUMBER_OF_LEVELS - 1)) {
_root.gCurrentLevel++;
_root.changeGameState(Define.STATEGENERAL_GAME);
} else {
gotoAndPlay ("endGame");
}
};
instLabelVictoria.gotoAndStop("azul");
instResultTime.gotoAndStop("azul");
instClipStatsInformation.gotoAndStop("stadistics");
instClipStatsInformation.instTextDay.gotoAndStop("level" + (_root.gCurrentLevel + 1));
var minutesDone = Math.floor(_root.instGame.gTimeTotalDone / 60000);
var secondsDone = Math.floor((_root.instGame.gTimeTotalDone / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instClipStatsInformation.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instClipStatsInformation.instTextStars.text = "" + _root.instGame.gNumberOfKills;
instClipStatsInformation.instIconLevel.gotoAndStop(_root.gCurrentLevel + 1);
instLabelVictoria._alpha = 0;
instResultTime._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instLabelVictoria.onEnterFrame = function () {
this._y = this._y + (120 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instResultTime.onEnterFrame = function () {
this.instRotableCircle._rotation = this.instRotableCircle._rotation - (360 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 2161 MovieClip Frame 31
delete instLabelVictoria.onEnterFrame;
instClipIncrementalText_Victory.gotoAndStop("congratulations");
instIncrementalText_grVictory_exit.gotoAndStop("exit");
instIncrementalText_grVictory_exit.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
};
instIncrementalText_grVictory_next.gotoAndStop("next");
instIncrementalText_grVictory_next.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
if (_root.gCurrentLevel < (Define.TOTAL_NUMBER_OF_LEVELS - 1)) {
_root.gCurrentLevel++;
_root.changeGameState(Define.STATEGENERAL_GAME);
} else {
gotoAndPlay ("endGame");
}
};
if (_root.gCurrentLevel >= (Define.TOTAL_NUMBER_OF_LEVELS - 1)) {
_root.gGameHasBeenCompleted = 1;
}
_root.saveGameDataLevel(_root.instGame.gTimeTotalDone, _root.instGame.gNumberOfKills);
_root.saveGameData();
instInformSaveProgress._visible = false;
activeChangeColor = -1;
factorEscalaContraccion = 4;
stop();
Symbol 2161 MovieClip Frame 36
instHighscoreText1.gotoAndStop("username");
instHighscoreText2.gotoAndStop("submit");
instExit1.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
};
instRetry2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.changeGameState(Define.STATEGENERAL_GAME);
gotoAndStop ("parar");
};
instIncrementalText_grVictory_exit.gotoAndStop("exit");
instIncrementalText_grVictory_exit.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
};
instIncrementalText_grLose_retry.gotoAndStop("retry");
instIncrementalText_grLose_retry.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.changeGameState(Define.STATEGENERAL_GAME);
gotoAndStop ("parar");
};
instLabelVictoria.gotoAndStop("azul");
instResultTime.gotoAndStop("azul");
instClipStatsInformation.gotoAndStop("stadistics");
instClipStatsInformation.instTextDay.gotoAndStop("level" + (_root.gCurrentLevel + 1));
var minutesDone = Math.floor(_root.instGame.gTimeTotalDone / 60000);
var secondsDone = Math.floor((_root.instGame.gTimeTotalDone / 1000) % 60);
var minutesDoneString = ("" + minutesDone);
var secondsDoneString = ("" + secondsDone);
if (minutesDone < 10) {
minutesDoneString = "0" + minutesDoneString;
}
if (secondsDone < 10) {
secondsDoneString = "0" + secondsDoneString;
}
instClipStatsInformation.instTextTime.text = (("" + minutesDoneString) + ":") + secondsDoneString;
instClipStatsInformation.instTextStars.text = "" + _root.instGame.gNumberOfKills;
instClipStatsInformation.instIconLevel.gotoAndStop(_root.gCurrentLevel + 1);
instClipIncrementalText_Victory.gotoAndStop("congratulations");
stop();
Instance of Symbol 2157 MovieClip "instHighscoreText2" in Symbol 2161 MovieClip Frame 36
on (release) {
var nameWrited = new String(_parent.instTextName.text);
var nameToSend = new String("");
var z = 0;
while (z < nameWrited.length) {
var charTmp = new Number(nameWrited.charCodeAt(z));
if ((((charTmp >= 65) && (charTmp <= 90)) || ((charTmp >= 97) && (charTmp <= 122))) || ((charTmp >= 48) && (charTmp <= 57))) {
nameToSend = nameToSend + nameWrited.charAt(z);
}
z++;
}
if (nameToSend.length > 1) {
var my_lv = new LoadVars();
my_lv.onLoad = function (success) {
if (success) {
switch (_root.nmDifficultySetted) {
case 0 :
getURL ("http://www.freecreationgames.net/?q=node/25", "_blank");
break;
case 1 :
getURL ("http://www.freecreationgames.net/?q=node/26", "_blank");
break;
case 2 :
getURL ("http://www.freecreationgames.net/?q=node/27", "_blank");
break;
case 3 :
getURL ("http://www.freecreationgames.net/?q=node/28", "_blank");
break;
case 4 :
getURL ("http://www.freecreationgames.net/?q=node/29", "_blank");
}
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
} else {
trace("Error loading/parsing LoadVars.");
}
};
my_lv.load((((((("http://www.freecreationgames.net/DeconstructorInsert.php?type_deconstructor=20&name_deconstructor=" + nameToSend) + "&timedone=") + _root.instGame.gTimeTotalDone) + "&killsdone=") + _root.instGame.gNumberOfKills) + "&difficultydone=") + _root.nmDifficultySetted);
}
}
Symbol 2161 MovieClip Frame 53
instExit2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
};
instRetry2.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.changeGameState(Define.STATEGENERAL_GAME);
gotoAndStop ("parar");
};
instLabelDerrota1.gotoAndStop("rojo");
instLabelDerrota1._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instLabelDerrota1.onEnterFrame = function () {
this._y = this._y + (120 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 2161 MovieClip Frame 73
delete instLabelDerrota1.onEnterFrame;
instClipIncrementalText_Lose.gotoAndStop("sorry");
instIncrementalText_grLose_exit.gotoAndStop("exit");
instIncrementalText_grLose_exit.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("mainMenu");
_root.playGameSoundStops(Define.SOUND_MENU_MELODY, 1);
};
instIncrementalText_grLose_retry.gotoAndStop("retry");
instIncrementalText_grLose_retry.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.changeGameState(Define.STATEGENERAL_GAME);
gotoAndStop ("parar");
};
activeChangeColor = -1;
factorEscalaContraccion = 4;
stop();
Symbol 2161 MovieClip Frame 75
instGameEnd_Unlocked.gotoAndStop("unlocked_survival");
instExitToCredits.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("about");
};
instLabelEndGame.gotoAndStop("rojo");
instClipIncrementalText_grTextEnd.gotoAndStop("end_game_gr");
instIncrementalText_grEnGame.gotoAndStop("exit");
instIncrementalText_grEnGame.onRelease = function () {
_root.playGameSound(Define.SOUNDS_SELECCION, 1);
_root.instClipMenuResultGame._alpha = 100;
_root.instClipMenuResultGame._visible = false;
_root.instGame.freeGame();
_root.instClipMenuGame._visible = true;
_root.instClipMenuGame.gotoAndPlay("about");
};
activeChangeColor = -1;
factorEscalaContraccion = 4;
stop();
Symbol 2161 MovieClip Frame 97
stop();
Symbol 2164 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 2164 MovieClip Frame 1
onClipEvent (load) {
this.speed = 0;
this.datxt = "SOMETHING IS ROTTEN...";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 2166 MovieClip Frame 21
stop();
Symbol 2167 Button
on (press) {
gotoAndStop (1);
_visible = false;
_root.instGame.changeGeneralGameState(Define.STATE_GAME_PRE_LOADING);
}
Symbol 2168 MovieClip Frame 21
stop();
Symbol 2171 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 2171 MovieClip Frame 1
onClipEvent (load) {
this.speed = 0;
this.datxt = "WHEN THIS BEAUTIFUL WORLD...";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 2174 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 2174 MovieClip Frame 1
onClipEvent (load) {
this.speed = 0;
this.datxt = "IS BEING DESTROYED IN THIS WAY.";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 2177 MovieClip Frame 1
function getLetter(h, str, bold, wid) {
var _local7 = str.isLowerCase(h.i);
if (!bold) {
if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-low", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-up", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
} else if (_local7) {
if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-lowbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-low", "char" + h.i, h.i);
}
} else if (str.charAt(h.i) != " ") {
l = h.attachMovie(str.charAt(h.i).toString() + "-upbold", "char" + h.i, h.i);
} else {
l = h.attachMovie("space-up", "char" + h.i, h.i);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(h.i);
var _local4 = _local2.toLowerCase();
if (_local4 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local7) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local5 = h.i + k;
if (str.charAt(_local5) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(h.i) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
if (h.i >= str.length) {
clearInterval(h.myInt);
}
h.i = h.i + 1;
}
function coolTxt(tar, str, x, y, wid, speed, bold) {
h = tar.createEmptyMovieClip("holder", 0);
clearInterval(h.myInt);
h._x = x;
h._y = y;
h.line = 0;
h.cv = 0;
h.i = 0;
if (speed > 0) {
h.myInt = setInterval(getLetter, speed, h, str, bold, wid, h.myint);
} else {
m = 0;
while (m < str.length) {
var _local5 = str.isLowerCase(m);
if (!bold) {
if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-low", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-up", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
} else if (_local5) {
if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-lowbold", "char" + m, m);
} else {
l = h.attachMovie("space-low", "char" + m, m);
}
} else if (str.charAt(m) != " ") {
l = h.attachMovie(str.charAt(m).toString() + "-upbold", "char" + m, m);
} else {
l = h.attachMovie("space-up", "char" + m, m);
}
i = 0;
while (i < alph.length) {
var _local2 = str.charAt(m);
var _local3 = _local2.toLowerCase();
if (_local3 == alph[i]) {
l.num = i;
}
if (_local2 == "'") {
l.num = 37;
}
if (_local2 == "!") {
l.num = 39;
}
if (_local2 == "0") {
l.num = 41;
}
i++;
}
l._x = h.cv;
if ((_local2 != " ") || (h.cv != 0)) {
if (_local5) {
h.cv = h.cv + parseInt(lc[l.num]);
} else {
h.cv = h.cv + parseInt(uc[l.num]);
}
}
l._y = h.line * 20;
k = 1;
while (k < 11) {
var _local4 = m + k;
if (str.charAt(_local4) == " ") {
var _local6 = k;
}
k++;
}
if (str.charAt(m) == " ") {
if (wid < (h.cv + (_local6 * 13))) {
h.line = h.line + 1;
h.cv = 0;
}
}
m++;
}
}
}
alph = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", ".", "-", "1", "2", "3", "4", "5", "6", "7", "8", "9", "'", "--", "/", "!", "0", "\"", "#", "$", "%", "&", "(", ")", "*", ",", ":", ";", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~", "+", "<", "<<", "=", ">", ">>", "\u00AE", "\u00A9");
lc = new Array();
uc = new Array();
lc[0] = 10;
uc[0] = 16;
lc[1] = 10;
uc[1] = 16;
lc[2] = 10;
uc[2] = 14;
lc[3] = 10;
uc[3] = 16;
lc[4] = 10;
uc[4] = 16;
lc[5] = 10;
uc[5] = 14;
lc[6] = 10;
uc[6] = 14;
lc[7] = 11;
uc[7] = 18;
lc[8] = 6;
uc[8] = 14;
lc[9] = 8;
uc[9] = 14;
lc[10] = 10;
uc[10] = 14;
lc[11] = 5;
uc[11] = 14;
lc[12] = 17;
uc[12] = 18;
lc[13] = 10;
uc[13] = 17;
lc[14] = 10;
uc[14] = 17;
lc[15] = 10;
uc[15] = 15;
lc[16] = 10;
uc[16] = 16;
lc[17] = 10;
uc[17] = 17;
lc[18] = 10;
uc[18] = 14;
lc[19] = 10;
uc[19] = 14;
lc[20] = 10;
uc[20] = 14;
lc[21] = 10;
uc[21] = 17;
lc[22] = 14;
uc[22] = 17;
lc[23] = 13;
uc[23] = 17;
lc[24] = 10;
uc[24] = 14;
lc[25] = 10;
uc[25] = 14;
lc[26] = 10;
uc[26] = 10;
lc[27] = 10;
uc[27] = 10;
lc[28] = 0;
uc[28] = 0;
lc[29] = 14;
uc[29] = 14;
lc[30] = 14;
uc[30] = 15;
lc[31] = 14;
uc[31] = 17;
lc[32] = 5;
uc[32] = 17;
lc[33] = 14;
uc[33] = 15;
lc[28] = 14;
uc[28] = 12;
lc[34] = 14;
uc[34] = 15;
lc[35] = 14;
uc[35] = 15;
lc[36] = 15;
uc[36] = 15;
lc[37] = 10;
uc[37] = 10;
lc[38] = 10;
uc[38] = 10;
lc[39] = 14;
uc[39] = 14;
lc[40] = 10;
uc[40] = 10;
lc[41] = 14;
uc[41] = 14;
lc[42] = 10;
uc[42] = 10;
lc[43] = 10;
uc[43] = 10;
lc[44] = 17;
uc[44] = 17;
lc[45] = 15;
uc[45] = 15;
lc[46] = 17;
uc[46] = 17;
lc[47] = 17;
uc[47] = 17;
lc[48] = 10;
uc[48] = 10;
lc[49] = 10;
uc[49] = 10;
lc[50] = 10;
uc[50] = 10;
lc[51] = 10;
uc[51] = 10;
lc[52] = 10;
uc[52] = 10;
lc[53] = 10;
uc[53] = 10;
lc[54] = 13;
uc[54] = 13;
lc[55] = 17;
uc[55] = 17;
lc[56] = 10;
uc[56] = 10;
lc[57] = 10;
uc[57] = 10;
lc[58] = 10;
uc[58] = 10;
lc[59] = 10;
uc[59] = 10;
lc[60] = 10;
uc[60] = 10;
lc[61] = 10;
uc[61] = 10;
lc[62] = 10;
uc[62] = 10;
lc[63] = 18;
uc[63] = 18;
lc[64] = 14;
uc[64] = 14;
lc[65] = 15;
uc[65] = 15;
lc[66] = 18;
uc[66] = 18;
lc[67] = 14;
uc[67] = 14;
lc[68] = 15;
uc[68] = 15;
lc[69] = 18;
uc[69] = 18;
lc[70] = 18;
uc[70] = 18;
lc[71] = 18;
uc[71] = 18;
String.prototype.isLowerCase = function (pos) {
if (!arguments.length) {
pos = 0;
}
if (pos >= this.length) {
return(false);
}
var _local3 = this.charCodeAt(pos);
return((_local3 > 96) && (_local3 < 123));
};
Instance of Symbol 669 MovieClip in Symbol 2177 MovieClip Frame 1
onClipEvent (load) {
this.speed = 0;
this.datxt = "WE MUST FINISH THIS TERRIBLE EXPERIMENT.";
this.wid = 400;
this.bol = false;
this.but = true;
this.onPress = function () {
trace("goodbye");
};
}
Symbol 2216 MovieClip Frame 242
stop();
_root.instMovieIntro._visible = false;
_root.instGame.changeGeneralGameState(Define.STATE_GAME_PRE_LOADING);
Symbol 2217 MovieClip Frame 358
stop();