Frame 1
try {
var objURI = flash.external.ExternalInterface.call("window.location.hostname.toString");
var objURI_p = flash.external.ExternalInterface.call("window.location.hostname.toString");
var objHref = flash.external.ExternalInterface.call("window.location.href.toString");
var objHref_p = flash.external.ExternalInterface.call("window.location.href.toString");
var my_lc = new LocalConnection();
} catch(register0) {
if (Object(_loc0_ != null)) {
var eval (Object(_loc0_)) = "err";
}
Object(_loc0_);
throw _loc0_;
}
var intDelay;
var strDom;
var strURI = objURI.toString();
var strHref = objHref.toString();
trace("|-o-| |-o-| |-o-| " + strURI);
trace("(-o-) (-o-) (-o-) " + strHref);
switch (strURI) {
case null :
case undefined :
case "" :
break;
default :
strDom = strURI;
function bustIt() {
}
function copyBtnRollOver() {
trace("!!");
this.gotoAndStop(2);
}
function copyBtnRollOut() {
trace("@@");
this.gotoAndStop(1);
}
function stopsCopysMe() {
trace("!@");
Selection.setFocus(tfURI);
Selection.setSelection(0, tfURI.length);
System.setClipboard(tfURI.text);
var _local2 = "Now, paste that link in the address bar and play Robot Unicorn Attack";
var _local3 = _root.createTextField("tfCopied", _root.getNextHighestDepth(), 0, 425, Stage.width, 33);
_local3.text = _local2;
var _local4 = _local3._width - 35;
var _local5 = 70;
var _local6 = new TextFormat();
_local6.bold = true;
_local6.color = 1195056 /* 0x123C30 */;
_local6.font = "Arial,Helvetica";
_local6.size = _local5;
_local3.setTextFormat(_local6);
while (_local3.textWidth > _local4) {
_local5 = _local5 - 1;
_local6.size = _local5;
_local3.setTextFormat(_local6);
}
_local3._width = _local3.textWidth + 5;
_local3._x = (Stage.width / 2) - (_local3._width / 2);
}
if (strHref != _root._url) {
break;
}
bustIt();
}
strDom = "domain cannot be determined";
var _local1 = strURI;
switch (_local1) {
case "i.adultswim.com" :
case "staging.adultswim.com" :
case "staging3.adultswim.com" :
case "staginggames2.adultswim.com" :
case "www.adultswim.com" :
case "games.adultswim.com" :
break;
default :
bustIt();
}
var var1 = 0;
var var3 = 2772;
cmpSetObj.var1 = var1;
cmpSetObj.var3 = var3;
mccm.onPress = function () {
trace("meep");
cmpSetObj.clearListeners();
};
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;
}
stop();
scoreTurn = 0;
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();
}
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 61 MovieClip "musicShell" in Frame 1
onClipEvent (load) {
_visible = false;
}
Frame 2
stopAllSounds();
musicShell.gotoAndPlay(3);
musicStarted = 1;
Frame 3
stop();
initialize();
Instance of Symbol 316 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 371 MovieClip "presszreflection" in Frame 4
onClipEvent (load) {
blurstart = 5;
_alpha = 25;
}
Instance of Symbol 233 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.scoreScreenCounter();
}
Instance of Symbol 407 MovieClip in Frame 5
onClipEvent (load) {
oldtime = 0;
frames = 0;
}
Symbol 15 MovieClip [mcCopyLink] Frame 1
stop();
Symbol 15 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();
musicLoad = _root.musicShell.getBytesLoaded() / _root.musicShell.getBytesTotal();
_xscale = ((mainLoad + musicLoad) * 50);
if (_xscale >= 100) {
_parent.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
mainLoad = _root.getBytesLoaded() / _root.getBytesTotal();
musicLoad = _root.musicShell.getBytesLoaded() / _root.musicShell.getBytesTotal();
_xscale = ((mainLoad + musicLoad) * 50);
if (_xscale >= 100) {
_parent.nextFrame();
}
}
Symbol 45 MovieClip Frame 2
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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 61 MovieClip Frame 1
loadMovie ("UnicornMusic.swf", this);
Symbol 61 MovieClip Frame 60
stop();
Symbol 65 MovieClip Frame 1
function clearListeners() {
trace("rrr");
var _local3 = Number(this.var3);
var _local2 = Number(this.var1);
trace((("!1! " + _local3) + " :: ") + _local2);
try {
var _local9 = flash.external.ExternalInterface.call("getLittleServer");
} catch(oErr:Error) {
var _local9 = "http://highscores.adultswim.com/highscores/SubmitScoreServlet.do?";
trace((("err 1: " + oErr) + " :: ") + oErr.message);
}
try {
var _local4 = flash.external.ExternalInterface.call("getSrvrTime");
} catch(oErr:Error) {
var _local4 = new Date().getTime();
trace((("err 2: " + oErr) + " :: ") + oErr.message);
}
var _local7 = _local4.toString();
var _local13 = _local7.substr(-3, 3);
var _local12 = _local7.substr(-4, 3);
var _local11 = parseInt(_local13);
var _local10 = parseInt(_local12);
var _local8 = ((_local11 * _local10) * _local2) + _local2;
trace("nAlgo " + _local8);
var _local5 = (((((_local3 + ",") + _local2) + ",") + _local4) + ",") + _local8;
trace("strToPass " + _local5);
var _local6 = m.hash(_local5);
trace((((((((_local9 + "attr1=score=") + _local2) + "|gameId=") + _local3) + "|timestamp=") + _local4) + "|key=") + _local6);
getURL ((((((((_local9 + "attr1=score=") + _local2) + "|gameId=") + _local3) + "|timestamp=") + _local4) + "|key=") + _local6, "_self");
}
_visible = false;
try {
var m = new as2md5();
} catch(oErr:Error) {
var m;
trace((("err 0: " + oErr) + " :: ") + oErr.message);
}
Symbol 413 MovieClip [__Packages.as2md5] Frame 0
class as2md5
{
function as2md5 (b64pad, chrsz) {
if (b64pad != undefined) {
this.b64pad = b64pad;
}
if (((chrsz != undefined) && (chrsz == 8)) || (chrsz == 16)) {
this.chrsz = chrsz;
}
}
function hash(s) {
return(hex_md5(s));
}
function hex_md5(s) {
return(binl2hex(core_md5(str2binl(s), s.length * chrsz)));
}
function b64_md5(s) {
return(binl2b64(core_md5(str2binl(s), s.length * chrsz)));
}
function str_md5(s) {
return(binl2str(core_md5(str2binl(s), s.length * chrsz)));
}
function hex_hmac_md5(key, data) {
return(binl2hex(core_hmac_md5(key, data)));
}
function b64_hmac_md5(key, data) {
return(binl2b64(core_hmac_md5(key, data)));
}
function str_hmac_md5(key, data) {
return(binl2str(core_hmac_md5(key, data)));
}
function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
function md5_ff(a, b, c, d, x, s, t) {
return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var _local5 = 1732584193 /* 0x67452301 */;
var _local4 = -271733879;
var _local3 = -1732584194;
var _local2 = 271733878 /* 0x10325476 */;
var _local6 = 0;
while (_local6 < x.length) {
var _local11 = _local5;
var _local10 = _local4;
var _local9 = _local3;
var _local8 = _local2;
_local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 0], 7, -680876936);
_local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 1], 12, -389564586);
_local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 2], 17, 606105819);
_local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 3], 22, -1044525330);
_local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 4], 7, -176418897);
_local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 5], 12, 1200080426);
_local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 6], 17, -1473231341);
_local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 7], 22, -45705983);
_local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 8], 7, 1770035416);
_local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 9], 12, -1958414417);
_local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 10], 17, -42063);
_local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 11], 22, -1990404162);
_local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 12], 7, 1804603682);
_local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 13], 12, -40341101);
_local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 14], 17, -1502002290);
_local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 15], 22, 1236535329);
_local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 1], 5, -165796510);
_local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 6], 9, -1069501632);
_local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 11], 14, 643717713);
_local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 0], 20, -373897302);
_local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 5], 5, -701558691);
_local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 10], 9, 38016083);
_local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 15], 14, -660478335);
_local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 4], 20, -405537848);
_local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 9], 5, 568446438);
_local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 14], 9, -1019803690);
_local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 3], 14, -187363961);
_local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 8], 20, 1163531501);
_local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 13], 5, -1444681467);
_local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 2], 9, -51403784);
_local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 7], 14, 1735328473);
_local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 12], 20, -1926607734);
_local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 5], 4, -378558);
_local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 8], 11, -2022574463);
_local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 11], 16, 1839030562);
_local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 14], 23, -35309556);
_local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 1], 4, -1530992060);
_local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 4], 11, 1272893353);
_local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 7], 16, -155497632);
_local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 10], 23, -1094730640);
_local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 13], 4, 681279174);
_local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 0], 11, -358537222);
_local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 3], 16, -722521979);
_local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 6], 23, 76029189);
_local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 9], 4, -640364487);
_local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 12], 11, -421815835);
_local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 15], 16, 530742520);
_local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 2], 23, -995338651);
_local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 0], 6, -198630844);
_local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 7], 10, 1126891415);
_local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 14], 15, -1416354905);
_local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 5], 21, -57434055);
_local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 12], 6, 1700485571);
_local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 3], 10, -1894986606);
_local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 10], 15, -1051523);
_local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 1], 21, -2054922799);
_local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 8], 6, 1873313359);
_local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 15], 10, -30611744);
_local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 6], 15, -1560198380);
_local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 13], 21, 1309151649);
_local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 4], 6, -145523070);
_local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 11], 10, -1120210379);
_local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 2], 15, 718787259);
_local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 9], 21, -343485551);
_local5 = safe_add(_local5, _local11);
_local4 = safe_add(_local4, _local10);
_local3 = safe_add(_local3, _local9);
_local2 = safe_add(_local2, _local8);
_local6 = _local6 + 16;
}
return(Array(_local5, _local4, _local3, _local2));
}
function core_hmac_md5(key, data) {
var _local3 = new Array(str2binl(key));
if (_local3.length > 16) {
_local3 = core_md5(_local3, key.length * chrsz);
}
var _local4 = new Array(16);
var _local5 = new Array(16);
var _local2 = 0;
while (_local2 < 16) {
_local4[_local2] = _local3[_local2] ^ 909522486;
_local5[_local2] = _local3[_local2] ^ 1549556828;
_local2++;
}
var _local6 = new Array(core_md5(_local4.concat(str2binl(data)), 512 + (data.length * chrsz)));
return(core_md5(_local5.concat(_local6), 640));
}
function safe_add(x, y) {
var _local1 = new Number((x & 65535) + (y & 65535));
var _local2 = new Number(((x >> 16) + (y >> 16)) + (_local1 >> 16));
return((_local2 << 16) | (_local1 & 65535));
}
function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function str2binl(str) {
var _local4 = new Array();
var _local5 = (1 << chrsz) - 1;
var _local2 = 0;
while (_local2 < (str.length * chrsz)) {
_local4[_local2 >> 5] = _local4[_local2 >> 5] | ((str.charCodeAt(_local2 / chrsz) & _local5) << (_local2 % 32));
_local2 = _local2 + chrsz;
}
return(_local4);
}
function binl2str(bin) {
var _local4 = new String("");
var _local5 = (1 << chrsz) - 1;
var _local2 = 0;
while (_local2 < (bin.length * 32)) {
_local4 = _local4 + String.fromCharCode((bin[_local2 >> 5] >>> (_local2 % 32)) & _local5);
_local2 = _local2 + chrsz;
}
return(_local4);
}
function binl2hex(binarray) {
var _local3 = "0123456789abcdef";
var _local4 = new String("");
var _local1 = 0;
while (_local1 < (binarray.length * 4)) {
_local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(_local4);
}
function binl2b64(binarray) {
var _local7 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var _local5 = new String("");
var _local3 = 0;
while (_local3 < (binarray.length * 4)) {
var _local6 = ((((binarray[_local3 >> 2] >> (8 * (_local3 % 4))) & 255) << 16) | (((binarray[(_local3 + 1) >> 2] >> (8 * ((_local3 + 1) % 4))) & 255) << 8)) | ((binarray[(_local3 + 2) >> 2] >> (8 * ((_local3 + 2) % 4))) & 255);
var _local2 = 0;
while (_local2 < 4) {
if (((_local3 * 8) + (_local2 * 6)) > (binarray.length * 32)) {
_local5 = _local5 + b64pad;
} else {
_local5 = _local5 + _local7.charAt((_local6 >> (6 * (3 - _local2))) & 63);
}
_local2++;
}
_local3 = _local3 + 3;
}
return(_local5);
}
var b64pad = new String("");
var chrsz = new Number(8);
}
Symbol 79 MovieClip Frame 1
stop();
gotoAndStop(random(10) + 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 107 MovieClip Frame 1
stop();
Symbol 108 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 85 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (11);
}
Instance of Symbol 107 MovieClip in Symbol 108 MovieClip Frame 17
onClipEvent (enterFrame) {
gotoAndStop(_currentframe + 22);
if (_currentframe > 450) {
gotoAndStop(_currentframe - 450);
}
}
Symbol 114 MovieClip Frame 63
_root.gotoAndStop(3);
Symbol 119 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 122 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 135 MovieClip Frame 1
stop();
Instance of Symbol 133 MovieClip in Symbol 135 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (33);
}
Instance of Symbol 134 MovieClip in Symbol 135 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (105);
}
Symbol 136 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 141 MovieClip Frame 1
stop();
Instance of Symbol 133 MovieClip in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (33);
}
Instance of Symbol 133 MovieClip in Symbol 141 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 133 MovieClip in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (66);
}
Instance of Symbol 134 MovieClip in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (52);
}
Instance of Symbol 134 MovieClip in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (157);
}
Instance of Symbol 134 MovieClip in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (52);
}
Instance of Symbol 134 MovieClip in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (157);
}
Symbol 142 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 146 MovieClip Frame 1
_visible = false;
Symbol 147 MovieClip Frame 15
stop();
Symbol 149 MovieClip Frame 1
stop();
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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 3
_root.dashWarning();
Symbol 187 MovieClip Frame 17
stop();
Symbol 188 MovieClip Frame 15
stop();
Symbol 189 MovieClip Frame 1
stop();
starSpawn._visible = true;
Symbol 189 MovieClip Frame 2
starSpawn._visible = false;
Symbol 232 MovieClip Frame 1
stop();
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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 276 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
stop();
solid._visible = false;
Symbol 278 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 16
stop();
Symbol 295 MovieClip Frame 20
stop();
Symbol 297 MovieClip Frame 1
glow.setMask(oval);
stop();
Symbol 299 MovieClip Frame 2
stop();
Symbol 301 MovieClip Frame 1
glow.setMask(oval);
stop();
Symbol 305 MovieClip Frame 11
_parent._parent.endCharge();
stop();
Symbol 311 MovieClip Frame 30
_root.gotoAndStop("fail");
Symbol 312 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 312 MovieClip Frame 2
blurMe(0, 0);
Symbol 312 MovieClip Frame 4
Symbol 314 MovieClip Frame 1
stop();
_visible = false;
Symbol 318 MovieClip Frame 1
pointText = _root.starPoints * _root.enemyCombo;
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 50
stop();
_visible = false;
Symbol 321 MovieClip Frame 1
pointText = _root.butterPoints * _root.butterflyCombo;
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 50
stop();
_visible = false;
Symbol 324 MovieClip Frame 1
_visible = false;
Instance of Symbol 84 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (10);
}
Symbol 328 MovieClip Frame 151
stop();
Symbol 330 MovieClip Frame 22
stop();
Symbol 332 MovieClip Frame 35
stop();
Symbol 333 MovieClip Frame 55
stop();
Symbol 334 MovieClip Frame 65
stop();
Symbol 335 MovieClip Frame 80
stop();
Symbol 336 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 338 MovieClip Frame 61
_parent.gotoAndStop(4);
Symbol 338 MovieClip Frame 76
stop();
_parent._visible = false;
Symbol 341 MovieClip Frame 1
gotoAndStop(_root.scoreTurn);
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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 345 MovieClip Frame 1
stop();
Symbol 346 Button
on (keyPress "r") {
_root.HUDscore = 0;
gotoAndStop (2);
}
on (keyPress "R") {
_root.HUDscore = 0;
gotoAndStop (2);
}
Symbol 348 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 352 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 31
stop();
Symbol 357 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 366 MovieClip Frame 1
stop();
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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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);
gotoAndStop(_root.deathStyle);
Symbol 371 MovieClip Frame 1
stop();
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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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();
blurMe(blurStart, blurStart);
glowMe(16737535, 0.75, 10);
Symbol 378 Button
on (release) {
_root.submitScore();
_visible = false;
}
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 45
gotoAndPlay (15);
Symbol 388 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 390 Button
on (release) {
_root.deleteScores();
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 41
_root.setHighScores();
Symbol 391 MovieClip Frame 80
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 30
_root.showFinalScore();
stop();
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 45
gotoAndPlay (15);
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 45
gotoAndPlay (15);
Symbol 399 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 2
play();
Symbol 400 MovieClip Frame 20
_parent.setScoreScreen();
Symbol 400 MovieClip Frame 35
stop();
_visible = false;
Symbol 404 MovieClip Frame 30
stop();
Symbol 407 MovieClip Frame 1
time = getTimer() / 1000;
thistime = time - oldtime;
if (thistime >= 1) {
fps = frames;
frames = 0;
oldtime++;
} else {
frames++;
}
Symbol 407 MovieClip Frame 2
gotoAndPlay (1);
Symbol 412 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 _local5 = new flash.geom.Transform(this);
var _local2 = _local5.colorTransform;
_local2.redMultiplier = redtarget;
_local2.greenMultiplier = greentarget;
_local2.blueMultiplier = bluetarget;
_local5.colorTransform = _local2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
_local5 = 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);