Frame 1
function F_engineLoop() {
if (this.player.dead != 1) {
this.movePlayer();
this.checkDiamonds();
}
_root.pointArt.pointText = _root.HUDscore;
if (_root.pointArt._xscale > 100) {
_root.pointArt._xscale = _root.pointArt._xscale - 1;
_root.pointArt._yscale = _root.pointArt._xscale;
}
_root.setCamera();
}
function F_checkDot(dotName) {
tempDot = this["dot" + dotName];
colliderx = tempDot._x;
collidery = tempDot._y;
var _local3 = {x:colliderx, y:collidery};
this.localToGlobal(_local3);
dotHit = 0;
count = 1;
while (count < 3) {
if (_root.engine.world["building" + count].solid.hitTest(_local3.x, _local3.y, true)) {
dotHit = 1;
}
count++;
}
if (dotHit) {
return(1);
}
return(0);
}
function F_checkDiamonds() {
if (this.world.building1.diamond._visible == true) {
if (this.world.building1.diamond._currentframe == 1) {
if (this.player.hitbox.hitTest(this.world.building1.diamond.hitbox)) {
if ((this.player.animState == "charge") || (this.player.chargeEndTime > 0)) {
this.world.building1.diamond.gotoAndStop(2);
_root.cameraShake = 4;
_root.enemyCombo = _root.enemyCombo + 1;
_root.showPoints("Big", 1);
_root.HUDscore = _root.HUDscore + (starPoints * _root.enemyCombo);
_root.pointArt._xscale = _root.pointArt._xscale + (_root.enemyCombo * 4);
} else {
this.world.building1.diamond._x = this.world.building1.diamond._x + 15;
this.world.building1.diamond._rotation = this.world.building1.diamond._rotation + 10;
this.player.art.metalHit.gotoAndStop(2);
_root.deathStyle = 3;
this.player.deathTime(1);
}
} else if (this.world.building1.diamond.hitbox.hitTest(this.butterflybox)) {
_root.diamondCombo = 0;
this.world.building1.diamond._visible = false;
}
}
}
if (this.world.building2.diamond._visible == true) {
if (this.world.building2.diamond._currentframe == 1) {
if (this.player.hitbox.hitTest(this.world.building2.diamond.hitbox)) {
if ((this.player.animState == "charge") || (this.player.chargeEndTime > 0)) {
this.world.building2.diamond.gotoAndStop(2);
_root.cameraShake = 4;
_root.HUDdiamonds = _root.HUDdiamonds + 1;
_root.enemyCombo = _root.enemyCombo + 1;
_root.showPoints("Big", 2);
_root.HUDscore = _root.HUDscore + (starPoints * _root.enemyCombo);
_root.pointArt._xscale = _root.pointArt._xscale + (_root.enemyCombo * 4);
} else {
this.world.building2.diamond._x = this.world.building2.diamond._x + 15;
this.world.building2.diamond._rotation = this.world.building2.diamond._rotation + 10;
this.player.art.metalHit.gotoAndStop(2);
_root.deathStyle = 3;
this.player.deathTime(1);
}
} else if (this.world.building2.diamond.hitbox.hitTest(this.butterflybox)) {
_root.diamondCombo = 0;
this.world.building2.diamond._visible = false;
}
}
}
if (this.world.building1.butterfly._currentframe == 1) {
if (this.world.building1.butterfly._visible) {
this.world.building1.butterfly._x = this.world.building1.butterfly._x + 3;
if (this.player.hitbox.hitTest(this.world.building1.butterfly.art.wings)) {
this.world.building1.butterfly.gotoAndStop(2);
_root.butterflyCombo = _root.butterflyCombo + 1;
this.player.colorUp = 3;
_root.HUDscore = _root.HUDscore + (butterPoints * _root.butterflyCombo);
_root.pointArt._xscale = _root.pointArt._xscale + (_root.butterflyCombo * 2);
_root.showPoints("Small", 1);
}
if (this.world.building1.butterfly.hitbox.hitTest(this.butterflybox)) {
if (this.world.building1.butterfly._currentframe == 1) {
_root.butterflyCombo = 0;
}
}
}
}
if (this.world.building2.butterfly._currentframe == 1) {
if (this.world.building2.butterfly._visible) {
this.world.building2.butterfly._x = this.world.building2.butterfly._x + 3;
if (this.player.hitbox.hitTest(this.world.building2.butterfly.art.wings)) {
this.world.building2.butterfly.gotoAndStop(2);
_root.butterflyCombo = _root.butterflyCombo + 1;
this.player.colorUp = 3;
_root.HUDscore = _root.HUDscore + (butterPoints * _root.butterflyCombo);
_root.pointArt._xscale = _root.pointArt._xscale + (_root.butterflyCombo * 2);
_root.showPoints("Small", 2);
}
if (this.world.building2.butterfly.hitbox.hitTest(this.butterflybox)) {
if (this.world.building2.butterfly._currentframe == 1) {
_root.butterflyCombo = 0;
}
}
}
}
if (enemyCombo > bestStarCombo) {
bestStarCombo = enemyCombo;
}
if (butterflyCombo > bestFairyCombo) {
bestFairyCombo = butterflyCombo;
}
}
function F_checkOddLanding(landDirection) {
if (checkDot("BottomRoot")) {
count = 1;
while (count < 10) {
if (checkDot("BottomStick") == 0) {
travely(1);
} else {
count = 10;
}
count++;
}
} else {
count = 1;
while (count < 10) {
if (checkDot("BottomStick") == 0) {
_x = (_x + (1 * landDirection));
} else {
applyGravity = 0;
touchGround = 1;
count = 10;
}
count++;
}
}
}
function F_travelx(movex) {
this._x = this._x + movex;
}
function F_travely(movey) {
this._y = this._y + movey;
}
function F_moveWorldx(movex) {
count = 1;
while (count < 3) {
if (count == 1) {
otherBuilding = this.world.building2;
} else {
otherBuilding = this.world.building1;
}
building = this.world["building" + count];
building._x = building._x - movex;
_root.HUDscore = _root.HUDscore + int(movex / 8);
if (_root.HUDscore > 5000) {
if (dolphinLevel == 1) {
dolphinLevel = 2;
dolphins.gotoAndStop(2);
}
}
if (_root.HUDscore > 10000) {
if (dolphinLevel == 2) {
dolphinLevel = 3;
dolphins.gotoAndStop(3);
}
}
if (_root.HUDscore > 15000) {
if (dolphinLevel == 3) {
dolphinLevel = 4;
dolphins.gotoAndStop(4);
}
}
if (_root.HUDscore > 20000) {
if (dolphinLevel == 4) {
dolphinLevel = 5;
dolphins.gotoAndStop(5);
}
}
if (_root.HUDscore > 25000) {
if (dolphinLevel == 5) {
dolphinLevel = 6;
dolphins.gotoAndStop(6);
}
}
if (_root.HUDscore > 30000) {
if (dolphinLevel == 6) {
dolphinLevel = 7;
dolphins.gotoAndStop(7);
}
}
if (building.diamond._visible) {
_root["diamondEdgeTime" + count] = int(((engine._x - 640) + building._x) + building.diamond._x) / 20;
diamondTriggerTime = 25 + ((movex - 14) / 1.5);
if ((_root["diamondSpawn" + count] != 1) && (_root["diamondEdgeTime" + count] < diamondTriggerTime)) {
_root["diamondSpawn" + count] = 1;
building.diamond.starSpawn.gotoAndPlay(2);
_root.starTest.gotoAndPlay(2);
}
}
if (building._x < -1500) {
movexBuilding = int(movex / 1.5);
if (movexBuiling > 20) {
movexBuilding = 20;
}
building.gotoAndStop(random(movexBuilding) + 1);
building.solid._visible = false;
building.bloomArt.gotoAndStop(building._currentframe);
building.bloomArt.blurMe(12, 12);
building._x = ((((otherBuilding._x + (otherBuilding._width / 2)) + (building._width / 2)) + 400) + (movex * 8)) + random(100);
building._y = 300 + random(100);
_root["diamondSpawn" + count] = 0;
if (random(movex - 10) > 2) {
building.diamond._visible = true;
if (building.diamond._currentframe == 1) {
_root.enemyCombo = 0;
}
building.diamond.gotoAndStop(1);
targetnum = random(2) + 2;
targetdot = building["dot" + targetnum];
building.diamond._x = targetdot._x;
building.diamond._y = targetdot._y;
} else {
building.diamond._visible = false;
}
building.butterfly.gotoAndStop(1);
targetdot = building.dot1;
building.butterfly._x = targetdot._x - (400 + (movex * 2));
building.butterfly._y = (targetdot._y - 150) + random(30);
}
building = this.world["backa" + count];
building._x = building._x - (movex / 2);
building._y = 500 - (this._y / 2);
if (building._x < -700) {
building._x = building._x + (1400 + random(100));
buidling.inside._y = -50 + random(100);
if (random(2) == 0) {
building._xscale = building._xscale * -1;
}
}
building = this.world["backb" + count];
building._x = building._x - (movex / 8);
building._y = 500 - (this._y / 1.5);
if (building._x < -700) {
building._x = building._x + (1400 + random(100));
buidling.inside._y = -25 + random(50);
if (random(2) == 0) {
building._xscale = building._xscale * -1;
}
}
count++;
}
}
function setCamera() {
if (playerPointx > 380) {
} else if (playerPointx < 280) {
}
if (engine.player.dead != 1) {
engine._y = engine._y - ((playerPointy - 200) / 10);
if (engine._y < 0) {
engine._y = 0;
}
}
if (cameraShake > 0) {
engine._y = engine._y + (random(cameraShake * 3) * cameraShakeDir);
engine._x = engine._x + (random(cameraShake * 3) * cameraShakeDir);
cameraShakeDir = cameraShakeDir * -1;
cameraShake = cameraShake - 0.1;
} else {
cameraShake = 0;
}
if (engine._x > 321) {
engine._x = engine._x - 0.25;
} else if (engine._x < 319) {
engine._x = engine._x + 0.25;
}
}
function showPoints(psize, pnum) {
pointFX = _root["points" + psize];
fxy = _root.engine._y + (_root.engine.player._y - 10);
with (pointFX) {
_visible = true;
gotoAndPlay(2);
_x = 100;
_y = fxy;
}
}
function dashWarning() {
if (dashWarn < 3) {
dashWarn = dashWarn + 1;
dashText.gotoAndPlay(2);
}
}
function submitScore() {
var _local2 = _root.HUDfinalScore;
cmpSetObj.var1 = _local2;
cmpSetObj.clearListeners();
}
function F_movePlayer() {
with (engine.player) {
if (dropTime > 0) {
dropTime = dropTime - 1;
}
if (airChargeMeter < 100) {
airChargeMeter = airChargeMeter + 1;
}
_root.rainbowBar._xscale = airChargeMeter - 30;
if (_root.rainbowBar._xscale < 0) {
_root.rainbowBar._xscale = 0;
}
prevAnimState = animState;
rot4 = rot3;
rot3 = rot2;
rot2 = rot1;
rot1 = rotationTarget;
rotationTarget = 0;
art._rotation = (((rot1 + rot2) + rot3) + rot4) / 4;
if (art._rotation > 20) {
art._rotation = 20;
} else if (art._rotation < -20) {
art._rotation = -20;
}
if (Key.isDown(_root.p1r) || (Key.isDown(_root.p1rCase))) {
if (chargeCoolDown > 20) {
if (airChargeMeter > 40) {
_y = _y - 8;
airChargeMeter = airChargeMeter - 70;
chargeOffset = 15;
airCharged = 1;
airChargeCount = airChargeCount + 1;
chargeCoolDown = 0;
applyGravity = 0;
animState = "charge";
art.blurMe(30, 0);
colorUp = 4;
art.colorMe(colorUp, colorUp, colorUp);
}
}
}
if (chargeCoolDown < 21) {
chargeCoolDown = chargeCoolDown + 1;
}
if (chargeEndTime > 0) {
chargeEndTime = chargeEndTime - 1;
}
if (animState != "charge") {
if (Key.isDown(_root.p1u) || (Key.isDown(_root.p1uCase))) {
if (((applyGravity == 0) || (dropTime > 0)) || (jumpNum == 0)) {
if (!upPress) {
art.sparkleSound.gotoAndStop(2);
jumpNum = 1;
dropTime = 0;
touchGround = 0;
applyGravity = 1;
thrusty = jumpVel;
gravity = 0;
colorUp = 2;
airCharged = 0;
animState = "jump";
}
} else {
if ((!upPress) && (gravity > 6)) {
if (jumpNum == 1) {
art.jumpanim.rainbow.gotoAndStop(2);
jumpNum = 2;
applyGravity = 1;
thrusty = jumpVel;
gravity = 2;
animState = "jump";
colorUp = 3;
art.colorMe(colorUp, colorUp, colorUp);
}
}
gravity = gravity - 0.75;
}
upPress = 1;
} else {
upPress = 0;
}
}
speedx = maxspeedx;
_root.engine.moveWorldx(speedx);
if (maxspeedx < 50) {
maxspeedx = maxspeedx + 0.01;
}
_root.testVar6 = maxspeedx;
_x = (((speedx - 14) / 2) - 260) + offsetx;
if (offsetx > 0) {
offsetx = offsetx - 5;
} else {
offsetx = 0;
}
if (applyGravity && (animState != "charge")) {
fallSpeed = thrusty - gravity;
if (fallSpeed > 10) {
fallSpeed = 10;
}
travely(-fallSpeed);
gravity = gravity + 1.2;
}
touchCeiling = 0;
if (checkDot("Top")) {
touchCeiling = 1;
count = 1;
while (count < 20) {
if (checkDot("Top")) {
travely(1);
} else {
count = 21;
}
count++;
}
}
if (checkDot("Bottom")) {
touchGround = 1;
count = 1;
while (count < 20) {
if (checkDot("Bottom")) {
travely(-1);
rotationTarget = rotationTarget - (rotationStep + 1);
} else {
count = 21;
}
count++;
}
}
if (checkDot("Right")) {
_root.deathStyle = 2;
deathTime(1);
return(0);
}
if (applyGravity) {
art._rotation = 0;
rotationTarget = 0;
if (checkDot("TopRight")) {
touchCeiling = 1;
while (checkDot("TopRight")) {
travely(1);
}
}
if (checkDot("BottomLeft")) {
if (gravity > thrusty) {
if (touchGround == 0) {
checkOddLanding(-1);
}
}
if (touchGround == 0) {
while (checkDot("BottomLeft")) {
travely(-1);
}
}
}
if (checkDot("BottomRight")) {
if (gravity > thrusty) {
if (touchGround == 0) {
checkOddLanding(1);
}
}
if (touchGround == 0) {
while (checkDot("BottomRight")) {
travely(-1);
}
}
}
}
if (touchCeiling) {
if (applyGravity) {
thrusty = thrusty / 2;
}
}
if (touchGround) {
applyGravity = 0;
gravity = 0;
if (animState != "charge") {
animState = "run";
airCharged = 0;
airChargeCount = 0;
}
if ((applyGravity == 0) && (animState != "charge")) {
if (checkDot("BottomRoot")) {
count = 1;
while (count < 10) {
if (checkDot("BottomStick") == 0) {
travely(1);
rotationTarget = rotationTarget + rotationStep;
} else {
count = 10;
}
count++;
}
}
}
if (animState != "charge") {
if (checkDot("BottomStick") == 0) {
if (checkDot("BottomRightStick") == 0) {
if (checkDot("BottomLeftStick") == 0) {
touchGround = 0;
airCharged = 0;
dropTime = 10;
jumpNum = 1;
applyGravity = 1;
thrusty = jumpVel;
gravity = jumpVel;
animState = "jump";
}
}
}
}
}
var playerPoint = {x:_x, y:_y};
this.localToGlobal(playerPoint);
_root.playerPointx = playerPoint.x + 300;
_root.playerPointy = playerPoint.y;
if (colorUp > 1.2) {
colorUp = colorUp - 0.1;
art.colorMe(colorUp, colorUp, colorUp);
}
if (_y < -600) {
_y = -600;
}
if (this.dead != 1) {
art.gotoAndStop(animState);
if (animState == "run") {
if (prevAnimState != "run") {
airChargeMeter = 100;
art.runanim.gotoAndStop(200);
}
jumpNum = 0;
prevAnimFrame = animFrame;
animFrame = art.runanim._currentframe;
art.runanim.gotoAndStop(animFrame + int(speedx * 2));
if (animFrame > 450) {
art.runanim.gotoAndStop(animFrame - 450);
}
if ((prevAnimFrame < 90) && (animFrame > 90)) {
art.gallopSounds.gotoAndStop(2);
}
if ((prevAnimFrame < 150) && (animFrame > 150)) {
art.gallopSounds.gotoAndStop(3);
}
if ((prevAnimFrame < 180) && (animFrame > 180)) {
art.gallopSounds.gotoAndStop(4);
}
} else if (animState == "jump") {
art.jumpanim.gotoAndStop(int(gravity * 8.75));
} else if (animState == "charge") {
_root.engine.moveWorldx(speedx / 2);
offsetx = offsetx + chargeOffset;
chargeOffset = chargeOffset - 1;
if (chargeOffset < 0) {
chargeOffset = 0;
}
}
}
if (_y > 700) {
_root.deathStyle = 1;
deathTime(1);
}
}
}
function F_endCharge() {
with (engine.player) {
touchGround = 0;
if (jumpNum == 0) {
dropTime = 10;
} else {
jumpNum = 1;
}
chargeEndTime = 10;
applyGravity = 1;
thrusty = jumpVel;
gravity = jumpVel;
animState = "jump";
art.gotoAndStop("jump");
art.jumpanim.gotoAndStop(int(gravity * 8.75));
}
}
function F_deathTime(deathMethod) {
this.dead = 1;
lives.nextFrame();
if (deathMethod == 1) {
this.art.gotoAndStop("deathExplode");
_root.cameraShake = 6;
} else if (deathMethod == 2) {
this.art.gotoAndStop("deathFall");
}
}
function initialize() {
_quality = "medium";
_root.p1u = 90;
_root.p1uCase = 122;
_root.p1d = 83;
_root.p1l = 65;
_root.p1r = 88;
_root.p1rCase = 120;
_root.p1ps = 32;
_root.score = 0;
_root.HUDscore = 0;
_root.HUDdiamonds = 0;
_root.HUDbutterflies = 0;
_root.HUDfinalScore = 0;
_root.cameraShakeDir = 1;
_root.cameraShake = 0;
_root.butterflyCombo = 0;
_root.enemyCombo = 1;
_root.butterPoints = 10;
_root.starPoints = 100;
_root.dolphinLevel = 1;
_root.dashWarn = 0;
_root.deathStyle = 1;
if (_root.scoreTurn == 0) {
_root.score1 = 0;
_root.score2 = 0;
_root.score3 = 0;
_root.bestFairyCombo = 0;
_root.bestStarCombo = 0;
_root.scoreTurn = 1;
}
_root.lives.gotoAndStop(scoreTurn);
with (engine) {
originx = 320;
originy = 240;
player.thrusty = 0;
player.offsetx = 0;
player.gravity = 0;
player.applyGravity = 1;
player.maxspeedx = 14;
player.jumpVel = 14;
player.speedx = player.maxspeedx;
player.speedstep = 0.25;
player.dead = 0;
player.airCharged = 0;
player.airChargeCount = 0;
player.airChargeMeter = 100;
player.chargeCoolDown = 100;
player.chargeEndTime = 0;
player.dropTime = 0;
player.rotationStep = 2;
player.rotationTarget = 0;
player.rot1 = 0;
player.rot2 = 0;
player.rot3 = 0;
player.animState = "run";
player.colorUp = 4;
}
engine.player.checkDot = F_checkDot;
engine.player.endCharge = F_endCharge;
engine.player.deathTime = F_deathTime;
engine.player.checkOddLanding = F_checkOddLanding;
engine.player.travelx = F_travelx;
engine.player.travely = F_travely;
engine.engineLoop = F_engineLoop;
engine.moveWorldx = F_moveWorldx;
engine.movePlayer = F_movePlayer;
engine.checkDiamonds = F_checkDiamonds;
engine.world.building1.diamond._visible = false;
engine.world.building2.diamond._visible = false;
}
function saveCookie() {
shareObj = SharedObject.getLocal("shareObj");
_root.shareObj.data.scoreArray = highScores;
_root.shareObj.data.nameArray = highScoreNames;
_root.shareObj.data.flush();
}
function loadCookie() {
shareObj = SharedObject.getLocal("shareObj");
highScores = shareObj.data.scoreArray;
highScoreNames = shareObj.data.nameArray;
}
function deleteCookie() {
_root.shareObj.data.scoreArray = highScoresXX;
_root.shareObj.data.nameArray = highScoresXX;
_root.shareObj.data.flush();
}
function setHighScores() {
endOK = 1;
count = 1;
while (count <= 5) {
if (HUDfinalScore > highScores[count]) {
scoreNum = count;
count2 = 5;
while (count2 > scoreNum) {
highScores[count2] = highScores[count2 - 1];
count2--;
}
highScores[count] = HUDfinalScore;
finalbox["scorebox" + count].gotoAndPlay(2);
count = 6;
}
count++;
}
count = 1;
while (count <= 5) {
finalbox["score" + count].scoreText = highScores[count];
count++;
}
saveCookie();
}
function deleteScores() {
deleteCookie();
count = 1;
while (count <= 5) {
this["highScore" + count] = 6000 - (1000 * count);
count++;
}
highScores = new Array(0, highScore1, highScore2, highScore3, highScore4, highScore5);
highScoreNames = new Array("com", "com", "com", "com", "com");
highScoresXX = new Array(0, 0, 0, 0, 0);
saveCookie();
}
var intDelay;
var strDom;
var var1 = 0;
var var3 = 2772;
cmpSetObj.var1 = var1;
cmpSetObj.var3 = var3;
mccm.onPress = function () {
trace("meep");
cmpSetObj.clearListeners();
};
stop();
scoreTurn = 0;
count = 1;
while (count <= 5) {
this["highScore" + count] = 6000 - (1000 * count);
count++;
}
loadCookie();
if (highScores[5] <= 1000) {
highScores = new Array(0, highScore1, highScore2, highScore3, highScore4, highScore5);
highScoreNames = new Array("com", "com", "com", "com", "com");
highScoresXX = new Array(0, 0, 0, 0, 0);
saveCookie();
}
Instance of Symbol 65 MovieClip "musicShell" in Frame 1
onClipEvent (load) {
_visible = false;
}
Frame 2
stopAllSounds();
musicShell.gotoAndPlay(3);
musicStarted = 1;
Frame 3
stop();
initialize();
Instance of Symbol 325 MovieClip "engine" in Frame 3
onClipEvent (enterFrame) {
engineLoop();
}
Frame 4
function setScoreScreen() {
scoreArt1._visible = true;
scoreArt1.scoreText = score1;
if (scoreTurn > 1) {
scoreArt2._visible = true;
scoreArt2.scoreText = score2;
}
if (scoreTurn > 2) {
scoreArt3._visible = true;
scoreArt3.scoreText = score3;
}
if (scoreTurn == 1) {
scorebox1.gotoAndPlay(2);
} else if (scoreTurn == 2) {
scorebox2.gotoAndPlay(2);
}
if (scoreTurn == 3) {
scorebox3.gotoAndPlay(2);
} else {
endOK = 1;
scoreTurn = scoreTurn + 1;
}
}
function showFinalScore() {
scoreArtFinal._visible = true;
finalbox._visible = true;
finalbox.gotoAndPlay(2);
HUDfinalScore = (score1 + score2) + score3;
scoreArtFinal.scoreText = HUDfinalScore;
scoreTurn = 0;
}
function scoreScreenCounter() {
if (scoreTurn != 0) {
screenTime = screenTime - 1;
pressztext.timeText = int(screenTime / 30);
presszreflection.timeText = int(screenTime / 30);
if (screenTime <= 0) {
_root.HUDscore = 0;
gotoAndStop (3);
}
}
}
endOK = 0;
_root["score" + scoreTurn] = HUDscore;
scoreArtFairy.scoreText = _root.bestFairyCombo;
scoreArtStar.scoreText = _root.bestStarCombo;
if (scoreTurn == 1) {
scoreArt1._visible = false;
scoreArt2._visible = false;
scoreArt3._visible = false;
scoreStars1.gotoAndPlay(2);
}
if (scoreTurn == 2) {
scoreArt1.scoreText = score1;
scoreArt2._visible = false;
scoreArt3._visible = false;
scoreStars2.gotoAndPlay(2);
}
if (scoreTurn == 3) {
timerSound.gotoAndStop(2);
scoreArt3._visible = false;
scoreArt1.scoreText = score1;
scoreArt2.scoreText = score1;
scoreStars3.gotoAndPlay(2);
pressztext.gotoAndStop(2);
presszreflection.gotoAndStop(2);
}
scoreArtFinal._visible = false;
finalbox._visible = false;
screenTime = 270;
Instance of Symbol 373 MovieClip "presszreflection" in Frame 4
onClipEvent (load) {
blurstart = 5;
_alpha = 25;
}
Instance of Symbol 241 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.scoreScreenCounter();
}
Instance of Symbol 408 MovieClip in Frame 5
onClipEvent (load) {
oldtime = 0;
frames = 0;
}
Symbol 9 MovieClip [mcCopyLink] Frame 1
stop();
Symbol 9 MovieClip [mcCopyLink] Frame 2
stop();
Symbol 28 Button
on (release) {
nextFrame();
}
Symbol 37 MovieClip Frame 17
stop();
Symbol 41 Button
on (keyPress "z") {
_root.gotoAndStop(2);
}
on (keyPress "Z") {
_root.gotoAndStop(2);
}
Symbol 45 MovieClip Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
mainLoad = _root.getBytesLoaded() / _root.getBytesTotal();
_xscale = (mainLoad * 100);
if (_xscale >= 100) {
_parent.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
mainLoad = _root.getBytesLoaded() / _root.getBytesTotal();
_xscale = (mainLoad * 100);
if (_xscale >= 100) {
_parent.nextFrame();
}
}
Symbol 48 Button
on (release) {
nextFrame();
}
Symbol 53 Button
on (release) {
prevFrame();
}
Symbol 57 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 3;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16737535, 0.75, 10);
Symbol 59 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Symbol 64 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 6
stop();
Symbol 69 MovieClip Frame 1
function clearListeners() {
trace("rrr");
var _local4 = Number(this.var3);
var _local3 = Number(this.var1);
trace((("!1! " + _local4) + " :: ") + _local3);
var _local6 = "http://highscores.adultswim.com/highscores/SubmitScoreServlet.do?";
var _local14 = new Date();
var _local2 = _local14.getTime();
var _local5 = (substring(_local2.toString(), 0, _local2.toString().length - 3)) + "000";
_local2 = parseInt(_local5);
var _local10 = _local5.substr(-3, 3);
var _local11 = _local5.substr(-4, 3);
var _local12 = parseInt(_local10);
var _local13 = parseInt(_local11);
var _local7 = ((_local12 * _local13) * _local3) + _local3;
trace("nAlgo " + _local7);
var _local9 = (((((_local4 + ",") + _local3) + ",") + _local2) + ",") + _local7;
trace("strToPass " + _local9);
m.setText(_local9);
var _local8 = m.getHash();
trace((((((((_local6 + "attr1=score=") + _local3) + "|gameId=") + _local4) + "|timestamp=") + _local2) + "|key=") + _local8);
getURL ((((((((_local6 + "attr1=score=") + _local3) + "|gameId=") + _local4) + "|timestamp=") + _local2) + "|key=") + _local8, "_self");
}
_visible = false;
var m = new as2md5();
Symbol 414 MovieClip [__Packages.as2md5] Frame 0
class as2md5
{
var inText, hashValue, currentState, processArray;
function as2md5 () {
}
function getText() {
return(inText);
}
function setText(s) {
initialize(s);
}
function getHash() {
return(hashValue);
}
function toString() {
return(getHash());
}
function valueOf() {
return(toString());
}
function MD5Hash(s) {
initialize(s);
}
function initialize(s) {
inText = s;
if (currentState != undefined) {
delete currentState;
}
currentState = new Array(MD5_INIT_STATE_0, MD5_INIT_STATE_1, MD5_INIT_STATE_2, MD5_INIT_STATE_3);
hash();
}
function rotl(x, n) {
return((x << n) | (x >>> (32 - n)));
}
function au(x, y) {
var _local3 = x & 2147483648;
var _local2 = y & 2147483648;
var _local5 = x & 1073741824;
var _local4 = y & 1073741824;
var _local1 = (x & 1073741823) + (y & 1073741823);
if (_local5 & _local4) {
return(((_local1 ^ 2147483648) ^ _local3) ^ _local2);
}
if (_local5 | _local4) {
if (_local1 & 1073741824) {
return(((_local1 ^ 3221225472) ^ _local3) ^ _local2);
}
return(((_local1 ^ 1073741824) ^ _local3) ^ _local2);
}
var _local6 = (_local1 ^ _local3) ^ _local2;
return(_local6);
}
function ff(a, b, c, d, x, s, t) {
return(au(rotl(au(a, au(au((b & c) | ((~b) & d), x), t)), s), b));
}
function gg(a, b, c, d, x, s, t) {
return(au(rotl(au(a, au(au((b & d) | (c & (~d)), x), t)), s), b));
}
function hh(a, b, c, d, x, s, t) {
return(au(rotl(au(a, au(au((b ^ c) ^ d, x), t)), s), b));
}
function ii(a, b, c, d, x, s, t) {
return(au(rotl(au(a, au(au(c ^ (b | (~d)), x), t)), s), b));
}
function transform(X) {
var _local5 = currentState[0];
var _local4 = currentState[1];
var _local3 = currentState[2];
var _local2 = currentState[3];
_local5 = ff(_local5, _local4, _local3, _local2, X[0], MD5_S11, MD5_T01);
_local2 = ff(_local2, _local5, _local4, _local3, X[1], MD5_S12, MD5_T02);
_local3 = ff(_local3, _local2, _local5, _local4, X[2], MD5_S13, MD5_T03);
_local4 = ff(_local4, _local3, _local2, _local5, X[3], MD5_S14, MD5_T04);
_local5 = ff(_local5, _local4, _local3, _local2, X[4], MD5_S11, MD5_T05);
_local2 = ff(_local2, _local5, _local4, _local3, X[5], MD5_S12, MD5_T06);
_local3 = ff(_local3, _local2, _local5, _local4, X[6], MD5_S13, MD5_T07);
_local4 = ff(_local4, _local3, _local2, _local5, X[7], MD5_S14, MD5_T08);
_local5 = ff(_local5, _local4, _local3, _local2, X[8], MD5_S11, MD5_T09);
_local2 = ff(_local2, _local5, _local4, _local3, X[9], MD5_S12, MD5_T10);
_local3 = ff(_local3, _local2, _local5, _local4, X[10], MD5_S13, MD5_T11);
_local4 = ff(_local4, _local3, _local2, _local5, X[11], MD5_S14, MD5_T12);
_local5 = ff(_local5, _local4, _local3, _local2, X[12], MD5_S11, MD5_T13);
_local2 = ff(_local2, _local5, _local4, _local3, X[13], MD5_S12, MD5_T14);
_local3 = ff(_local3, _local2, _local5, _local4, X[14], MD5_S13, MD5_T15);
_local4 = ff(_local4, _local3, _local2, _local5, X[15], MD5_S14, MD5_T16);
_local5 = gg(_local5, _local4, _local3, _local2, X[1], MD5_S21, MD5_T17);
_local2 = gg(_local2, _local5, _local4, _local3, X[6], MD5_S22, MD5_T18);
_local3 = gg(_local3, _local2, _local5, _local4, X[11], MD5_S23, MD5_T19);
_local4 = gg(_local4, _local3, _local2, _local5, X[0], MD5_S24, MD5_T20);
_local5 = gg(_local5, _local4, _local3, _local2, X[5], MD5_S21, MD5_T21);
_local2 = gg(_local2, _local5, _local4, _local3, X[10], MD5_S22, MD5_T22);
_local3 = gg(_local3, _local2, _local5, _local4, X[15], MD5_S23, MD5_T23);
_local4 = gg(_local4, _local3, _local2, _local5, X[4], MD5_S24, MD5_T24);
_local5 = gg(_local5, _local4, _local3, _local2, X[9], MD5_S21, MD5_T25);
_local2 = gg(_local2, _local5, _local4, _local3, X[14], MD5_S22, MD5_T26);
_local3 = gg(_local3, _local2, _local5, _local4, X[3], MD5_S23, MD5_T27);
_local4 = gg(_local4, _local3, _local2, _local5, X[8], MD5_S24, MD5_T28);
_local5 = gg(_local5, _local4, _local3, _local2, X[13], MD5_S21, MD5_T29);
_local2 = gg(_local2, _local5, _local4, _local3, X[2], MD5_S22, MD5_T30);
_local3 = gg(_local3, _local2, _local5, _local4, X[7], MD5_S23, MD5_T31);
_local4 = gg(_local4, _local3, _local2, _local5, X[12], MD5_S24, MD5_T32);
_local5 = hh(_local5, _local4, _local3, _local2, X[5], MD5_S31, MD5_T33);
_local2 = hh(_local2, _local5, _local4, _local3, X[8], MD5_S32, MD5_T34);
_local3 = hh(_local3, _local2, _local5, _local4, X[11], MD5_S33, MD5_T35);
_local4 = hh(_local4, _local3, _local2, _local5, X[14], MD5_S34, MD5_T36);
_local5 = hh(_local5, _local4, _local3, _local2, X[1], MD5_S31, MD5_T37);
_local2 = hh(_local2, _local5, _local4, _local3, X[4], MD5_S32, MD5_T38);
_local3 = hh(_local3, _local2, _local5, _local4, X[7], MD5_S33, MD5_T39);
_local4 = hh(_local4, _local3, _local2, _local5, X[10], MD5_S34, MD5_T40);
_local5 = hh(_local5, _local4, _local3, _local2, X[13], MD5_S31, MD5_T41);
_local2 = hh(_local2, _local5, _local4, _local3, X[0], MD5_S32, MD5_T42);
_local3 = hh(_local3, _local2, _local5, _local4, X[3], MD5_S33, MD5_T43);
_local4 = hh(_local4, _local3, _local2, _local5, X[6], MD5_S34, MD5_T44);
_local5 = hh(_local5, _local4, _local3, _local2, X[9], MD5_S31, MD5_T45);
_local2 = hh(_local2, _local5, _local4, _local3, X[12], MD5_S32, MD5_T46);
_local3 = hh(_local3, _local2, _local5, _local4, X[15], MD5_S33, MD5_T47);
_local4 = hh(_local4, _local3, _local2, _local5, X[2], MD5_S34, MD5_T48);
_local5 = ii(_local5, _local4, _local3, _local2, X[0], MD5_S41, MD5_T49);
_local2 = ii(_local2, _local5, _local4, _local3, X[7], MD5_S42, MD5_T50);
_local3 = ii(_local3, _local2, _local5, _local4, X[14], MD5_S43, MD5_T51);
_local4 = ii(_local4, _local3, _local2, _local5, X[5], MD5_S44, MD5_T52);
_local5 = ii(_local5, _local4, _local3, _local2, X[12], MD5_S41, MD5_T53);
_local2 = ii(_local2, _local5, _local4, _local3, X[3], MD5_S42, MD5_T54);
_local3 = ii(_local3, _local2, _local5, _local4, X[10], MD5_S43, MD5_T55);
_local4 = ii(_local4, _local3, _local2, _local5, X[1], MD5_S44, MD5_T56);
_local5 = ii(_local5, _local4, _local3, _local2, X[8], MD5_S41, MD5_T57);
_local2 = ii(_local2, _local5, _local4, _local3, X[15], MD5_S42, MD5_T58);
_local3 = ii(_local3, _local2, _local5, _local4, X[6], MD5_S43, MD5_T59);
_local4 = ii(_local4, _local3, _local2, _local5, X[13], MD5_S44, MD5_T60);
_local5 = ii(_local5, _local4, _local3, _local2, X[4], MD5_S41, MD5_T61);
_local2 = ii(_local2, _local5, _local4, _local3, X[11], MD5_S42, MD5_T62);
_local3 = ii(_local3, _local2, _local5, _local4, X[2], MD5_S43, MD5_T63);
_local4 = ii(_local4, _local3, _local2, _local5, X[9], MD5_S44, MD5_T64);
currentState[0] = au(_local5, currentState[0]);
currentState[1] = au(_local4, currentState[1]);
currentState[2] = au(_local3, currentState[2]);
currentState[3] = au(_local2, currentState[3]);
}
function ConvertToWordArray() {
var _local4;
var _local5 = inText.length;
var _local7 = _local5 + 8;
var _local8 = (_local7 - (_local7 % 64)) / 64;
var _local6 = (_local8 + 1) * 16;
if (processArray != undefined) {
delete processArray;
}
processArray = new Array(_local6);
var _local3 = 0;
var _local2 = 0;
while (_local2 < _local5) {
_local4 = (_local2 - (_local2 % 4)) / 4;
_local3 = (_local2 % 4) * 8;
processArray[_local4] = processArray[_local4] | (inText.charCodeAt(_local2) << _local3);
_local2++;
}
_local4 = (_local2 - (_local2 % 4)) / 4;
_local3 = (_local2 % 4) * 8;
processArray[_local4] = processArray[_local4] | (128 << _local3);
processArray[_local6 - 2] = _local5 << 3;
processArray[_local6 - 1] = _local5 >>> 29;
}
function hash() {
ConvertToWordArray();
var _local3 = new Array(16);
var _local2 = 0;
while (_local2 < processArray.length) {
_local3 = processArray.slice(_local2, _local2 + 16);
transform(_local3);
_local2 = _local2 + 16;
}
hashValue = "";
_local2 = 0;
while (_local2 < 4) {
hashValue = hashValue.concat(int2hex(currentState[_local2]));
_local2++;
}
}
function int2hex(n, c) {
var _local4 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
var _local3 = "";
if ((c <= 0) or (c > 8)) {
c = 8;
}
if ((c % 2) == 1) {
c++;
}
var _local1 = 0;
while (_local1 < c) {
var _local2 = (n >>> (_local1 << 2)) & 255;
_local3 = _local3.concat(_local4[((_local2 & 240) >>> 4) & 15], _local4[_local2 & 15]);
_local1 = _local1 + 2;
}
return(_local3);
}
static var MD5_INIT_STATE_0 = 1732584193;
static var MD5_INIT_STATE_1 = 4023233417;
static var MD5_INIT_STATE_2 = 2562383102;
static var MD5_INIT_STATE_3 = 271733878;
static var MD5_S11 = 7;
static var MD5_S12 = 12;
static var MD5_S13 = 17;
static var MD5_S14 = 22;
static var MD5_S21 = 5;
static var MD5_S22 = 9;
static var MD5_S23 = 14;
static var MD5_S24 = 20;
static var MD5_S31 = 4;
static var MD5_S32 = 11;
static var MD5_S33 = 16;
static var MD5_S34 = 23;
static var MD5_S41 = 6;
static var MD5_S42 = 10;
static var MD5_S43 = 15;
static var MD5_S44 = 21;
static var MD5_T01 = 3614090360;
static var MD5_T02 = 3905402710;
static var MD5_T03 = 606105819;
static var MD5_T04 = 3250441966;
static var MD5_T05 = 4118548399;
static var MD5_T06 = 1200080426;
static var MD5_T07 = 2821735955;
static var MD5_T08 = 4249261313;
static var MD5_T09 = 1770035416;
static var MD5_T10 = 2336552879;
static var MD5_T11 = 4294925233;
static var MD5_T12 = 2304563134;
static var MD5_T13 = 1804603682;
static var MD5_T14 = 4254626195;
static var MD5_T15 = 2792965006;
static var MD5_T16 = 1236535329;
static var MD5_T17 = 4129170786;
static var MD5_T18 = 3225465664;
static var MD5_T19 = 643717713;
static var MD5_T20 = 3921069994;
static var MD5_T21 = 3593408605;
static var MD5_T22 = 38016083;
static var MD5_T23 = 3634488961;
static var MD5_T24 = 3889429448;
static var MD5_T25 = 568446438;
static var MD5_T26 = 3275163606;
static var MD5_T27 = 4107603335;
static var MD5_T28 = 1163531501;
static var MD5_T29 = 2850285829;
static var MD5_T30 = 4243563512;
static var MD5_T31 = 1735328473;
static var MD5_T32 = 2368359562;
static var MD5_T33 = 4294588738;
static var MD5_T34 = 2272392833;
static var MD5_T35 = 1839030562;
static var MD5_T36 = 4259657740;
static var MD5_T37 = 2763975236;
static var MD5_T38 = 1272893353;
static var MD5_T39 = 4139469664;
static var MD5_T40 = 3200236656;
static var MD5_T41 = 681279174;
static var MD5_T42 = 3936430074;
static var MD5_T43 = 3572445317;
static var MD5_T44 = 76029189;
static var MD5_T45 = 3654602809;
static var MD5_T46 = 3873151461;
static var MD5_T47 = 530742520;
static var MD5_T48 = 3299628645;
static var MD5_T49 = 4096336452;
static var MD5_T50 = 1126891415;
static var MD5_T51 = 2878612391;
static var MD5_T52 = 4237533241;
static var MD5_T53 = 1700485571;
static var MD5_T54 = 2399980690;
static var MD5_T55 = 4293915773;
static var MD5_T56 = 2240044497;
static var MD5_T57 = 1873313359;
static var MD5_T58 = 4264355552;
static var MD5_T59 = 2734768916;
static var MD5_T60 = 1309151649;
static var MD5_T61 = 4149444226;
static var MD5_T62 = 3174756917;
static var MD5_T63 = 718787259;
static var MD5_T64 = 3951481745;
}
Symbol 83 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 3;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
gotoAndStop(random(10) + 1);
stop();
glowMe(16737535, 0.75, 10);
Symbol 115 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 3;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
glowMe(16737535, 0.75, 10);
Instance of Symbol 89 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (11);
}
Instance of Symbol 115 MovieClip in Symbol 116 MovieClip Frame 17
onClipEvent (enterFrame) {
gotoAndStop(_currentframe + 22);
if (_currentframe > 450) {
gotoAndStop(_currentframe - 450);
}
}
Symbol 122 MovieClip Frame 63
_root.gotoAndStop(3);
Symbol 127 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(12, 12);
Symbol 130 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(12, 12);
Symbol 143 MovieClip Frame 1
stop();
Instance of Symbol 141 MovieClip in Symbol 143 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (33);
}
Instance of Symbol 142 MovieClip in Symbol 143 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (105);
}
Symbol 144 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(6, 6);
Symbol 149 MovieClip Frame 1
stop();
Instance of Symbol 141 MovieClip in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (33);
}
Instance of Symbol 141 MovieClip in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (66);
}
Instance of Symbol 142 MovieClip in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (52);
}
Instance of Symbol 142 MovieClip in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (157);
}
Instance of Symbol 142 MovieClip in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (52);
}
Instance of Symbol 142 MovieClip in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (157);
}
Symbol 150 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(6, 6);
Symbol 154 MovieClip Frame 1
_visible = false;
Symbol 155 MovieClip Frame 15
stop();
Symbol 157 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
stop();
blurMe(0, 0);
colorMe(1.5, 1.5, 1.5);
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 3
_root.dashWarning();
Symbol 195 MovieClip Frame 17
stop();
Symbol 196 MovieClip Frame 15
stop();
Symbol 197 MovieClip Frame 1
stop();
starSpawn._visible = true;
Symbol 197 MovieClip Frame 2
starSpawn._visible = false;
Symbol 240 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
stop();
blurMe(12, 12);
Symbol 284 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 1
stop();
solid._visible = false;
Symbol 286 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 16
stop();
Symbol 304 MovieClip Frame 20
stop();
Symbol 306 MovieClip Frame 1
glow.setMask(oval);
stop();
Symbol 308 MovieClip Frame 2
stop();
Symbol 310 MovieClip Frame 1
glow.setMask(oval);
stop();
Symbol 314 MovieClip Frame 11
_parent._parent.endCharge();
stop();
Symbol 320 MovieClip Frame 30
_root.gotoAndStop("fail");
Symbol 321 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(0, 0);
colorMe(1.5, 1.5, 1.5);
Symbol 321 MovieClip Frame 2
blurMe(0, 0);
Symbol 323 MovieClip Frame 1
stop();
_visible = false;
Symbol 327 MovieClip Frame 1
pointText = _root.starPoints * _root.enemyCombo;
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 50
stop();
_visible = false;
Symbol 330 MovieClip Frame 1
pointText = _root.butterPoints * _root.butterflyCombo;
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 50
stop();
_visible = false;
Symbol 333 MovieClip Frame 1
_visible = false;
Symbol 337 MovieClip Frame 151
stop();
Symbol 339 MovieClip Frame 22
stop();
Symbol 341 MovieClip Frame 35
stop();
Symbol 342 MovieClip Frame 55
stop();
Symbol 343 MovieClip Frame 65
stop();
Symbol 344 MovieClip Frame 80
stop();
Symbol 345 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(0, 0);
colorMe(1.5, 1.5, 1.5);
stop();
Symbol 347 MovieClip Frame 61
_parent.gotoAndStop(4);
Symbol 347 MovieClip Frame 76
stop();
_parent._visible = false;
Symbol 350 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 3;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
gotoAndStop(_root.scoreTurn);
stop();
glowMe(16737535, 0.75, 10);
Symbol 354 MovieClip Frame 1
stop();
Symbol 355 Button
on (keyPress "r") {
_root.HUDscore = 0;
gotoAndStop (2);
}
on (keyPress "R") {
_root.HUDscore = 0;
gotoAndStop (2);
}
Symbol 357 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16744627, 0.75, 10);
Symbol 359 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 1;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16744627, 0.75, 10);
Symbol 361 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 31
stop();
Symbol 366 Button
on (keyPress "z") {
if (endOK) {
_root.HUDscore = 0;
if (scoreTurn != 0) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
}
on (keyPress "Z") {
if (endOK) {
_root.HUDscore = 0;
if (scoreTurn != 0) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
}
Symbol 373 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 3;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
stop();
blurMe(blurStart, blurStart);
glowMe(16737535, 0.75, 10);
Symbol 380 Button
on (release) {
_root.submitScore();
_visible = false;
}
Symbol 388 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 45
gotoAndPlay (15);
Symbol 390 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 3;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(9510144, 0.75, 30);
Symbol 392 Button
on (release) {
_root.deleteScores();
}
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 41
_root.setHighScores();
Symbol 393 MovieClip Frame 80
stop();
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 30
_root.showFinalScore();
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 45
gotoAndPlay (15);
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 45
gotoAndPlay (15);
Symbol 401 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 3;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(9510144, 0.75, 30);
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 2
play();
Symbol 402 MovieClip Frame 20
_parent.setScoreScreen();
Symbol 402 MovieClip Frame 35
stop();
_visible = false;
Symbol 408 MovieClip Frame 1
time = getTimer() / 1000;
thistime = time - oldtime;
if (thistime >= 1) {
fps = frames;
frames = 0;
oldtime++;
} else {
frames++;
}
Symbol 408 MovieClip Frame 2
gotoAndPlay (1);
Symbol 413 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function colorMe(redtarget, greentarget, bluetarget) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local3.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var _local2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
_local2.quality = 3;
this.filters = [_local2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(9510144, 0.75, 30);