Combined Code
movieClip 7 {
}
movieClip 32 {
}
movieClip 33 mcBusted {
}
movieClip 38 mcCopyLink {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 1 {
var var1 = 0;
var var3 = 2772;
cmpSetObj.var1 = var1;
cmpSetObj.var3 = var3;
mccm.onPress = function () {
trace('meep');
cmpSetObj.clearListeners();
};
}
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 -= 1;
_root.pointArt._yscale = _root.pointArt._xscale;
}
_root.setCamera();
}
function F_checkDot(dotName) {
tempDot = this['dot' + dotName];
colliderx = tempDot._x;
collidery = tempDot._y;
var v3 = {'x': colliderx, 'y': collidery};
this.localToGlobal(v3);
dotHit = 0;
count = 1;
while (count < 3) {
if (_root.engine.world['building' + count].solid.hitTest(v3.x, v3.y, true)) {
dotHit = 1;
}
++count;
}
if (dotHit) {
return 1;
return undefined;
}
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 = 5;
_root.enemyCombo += 1;
_root.showPoints('Big', 1);
_root.HUDscore += starPoints * _root.enemyCombo;
_root.pointArt._xscale += _root.enemyCombo * 4;
} else {
this.world.building1.diamond._x += 15;
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 = 5;
_root.HUDdiamonds += 1;
_root.enemyCombo += 1;
_root.showPoints('Big', 2);
_root.HUDscore += starPoints * _root.enemyCombo;
_root.pointArt._xscale += _root.enemyCombo * 4;
} else {
this.world.building2.diamond._x += 15;
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 += 3;
if (this.player.hitbox.hitTest(this.world.building1.butterfly.art.wings)) {
this.world.building1.butterfly.gotoAndStop(2);
_root.butterflyCombo += 1;
this.player.colorUp = 3;
_root.HUDscore += butterPoints * _root.butterflyCombo;
_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 += 3;
if (this.player.hitbox.hitTest(this.world.building2.butterfly.art.wings)) {
this.world.building2.butterfly.gotoAndStop(2);
_root.butterflyCombo += 1;
this.player.colorUp = 3;
_root.HUDscore += butterPoints * _root.butterflyCombo;
_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;
}
return undefined;
}
count = 1;
for (;;) {
if (count >= 10) {
return undefined;
}
if (checkDot('BottomStick') == 0) {
_x = _x + 1 * landDirection;
} else {
applyGravity = 0;
touchGround = 1;
count = 10;
}
++count;
}
}
function F_travelx(movex) {
this._x += movex;
}
function F_travely(movey) {
this._y += movey;
}
function F_moveWorldx(movex) {
count = 1;
for (;;) {
if (count >= 3) {
return undefined;
}
if (count == 1) {
otherBuilding = this.world.building2;
} else {
otherBuilding = this.world.building1;
}
building = this.world['building' + count];
building._x -= movex;
_root.HUDscore += int(movex * 100);
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 -= movex / 2;
building._y = 500 - this._y / 2;
if (building._x < -700) {
building._x += 1400 + random(100);
buidling.inside._y = -50 + random(100);
if (random(2) == 0) {
building._xscale *= -1;
}
}
building = this.world['backb' + count];
building._x -= movex / 8;
building._y = 500 - this._y / 1.5;
if (building._x < -700) {
building._x += 1400 + random(100);
buidling.inside._y = -25 + random(50);
if (random(2) == 0) {
building._xscale *= -1;
}
}
++count;
}
}
function setCamera() {
if (playerPointx <= 380) {
playerPointx >= 280;
}
if (engine.player.dead != 1) {
engine._y -= (playerPointy - 200) / 10;
if (engine._y < 0) {
engine._y = 0;
}
}
if (cameraShake > 0) {
engine._y += random(cameraShake * 3) * cameraShakeDir;
engine._x += random(cameraShake * 3) * cameraShakeDir;
cameraShakeDir *= -1;
cameraShake -= 0.1;
} else {
cameraShake = 0;
}
if (engine._x > 321) {
engine._x -= 0.25;
return undefined;
}
if (engine._x < 319) {
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 += 1;
dashText.gotoAndPlay(2);
}
}
function submitScore() {
var v2 = _root.HUDfinalScore;
cmpSetObj.var1 = v2;
cmpSetObj.clearListeners();
}
}
frame 1 {
function F_movePlayer() {
with (engine.player) {
if (dropTime > 0) {
dropTime -= 1;
}
if (airChargeMeter < 100) {
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 -= 8;
airChargeMeter -= 70;
chargeOffset = 15;
airCharged = 1;
airChargeCount += 1;
chargeCoolDown = 0;
applyGravity = 0;
animState = 'charge';
art.blurMe(30, 0);
colorUp = 4;
art.colorMe(colorUp, colorUp, colorUp);
}
}
}
if (chargeCoolDown < 21) {
chargeCoolDown += 1;
}
if (chargeEndTime > 0) {
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 -= 0.75;
}
upPress = 1;
} else {
upPress = 0;
}
}
speedx = maxspeedx;
_root.engine.moveWorldx(speedx);
if (maxspeedx < 50) {
maxspeedx += 0.01;
}
_root.testVar6 = maxspeedx;
_x = (speedx - 14) / 2 - 260 + offsetx;
if (offsetx > 0) {
offsetx -= 5;
} else {
offsetx = 0;
}
if (applyGravity && animState != 'charge') {
fallSpeed = thrusty - gravity;
if (fallSpeed > 10) {
fallSpeed = 10;
}
travely(-fallSpeed);
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 -= 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 /= 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 += 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 -= 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 += chargeOffset;
chargeOffset -= 1;
if (chargeOffset < 0) {
chargeOffset = 0;
}
}
}
}
}
if (_y <= 700) {
return undefined;
}
_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;
return undefined;
}
if (deathMethod == 2) {
this.art.gotoAndStop('deathFall');
}
}
}
frame 1 {
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;
}
frame 1 {
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();
}
}
// unknown tag 88 length 93
movieClip 44 {
}
movieClip 46 {
}
movieClip 55 {
}
movieClip 65 {
}
movieClip 66 {
}
button 68 {
on (release) {
nextFrame();
}
}
movieClip 70 {
}
movieClip 71 {
}
movieClip 72 {
}
movieClip 73 {
}
movieClip 76 {
}
movieClip 77 {
frame 17 {
stop();
}
}
movieClip 93 {
}
movieClip 94 {
}
button 95 {
on (keyPress 'z') {
_root.gotoAndStop(2);
}
on (keyPress 'Z') {
_root.gotoAndStop(2);
}
}
movieClip 99 {
}
movieClip 100 {
}
movieClip 101 {
}
movieClip 102 {
frame 1 {
stop();
}
instance of movieClip 44 {
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 movieClip 44 {
onClipEvent (enterFrame) {
mainLoad = _root.getBytesLoaded() / _root.getBytesTotal();
musicLoad = _root.musicShell.getBytesLoaded() / _root.musicShell.getBytesTotal();
_xscale = (mainLoad + musicLoad) * 50;
if (_xscale >= 100) {
_parent.nextFrame();
}
}
}
}
movieClip 104 {
}
button 105 {
on (release) {
nextFrame();
}
}
button 115 {
on (release) {
prevFrame();
}
}
movieClip 117 {
}
movieClip 164 {
}
movieClip 165 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16737535, 0.75, 10);
}
}
movieClip 167 {
frame 1 {
stop();
}
}
movieClip 190 {
}
movieClip 191 {
frame 1 {
function clearListeners() {
trace('rrr');
var v4 = Number(this.var3);
var v2 = Number(this.var1);
trace('!1! ' + v4 + ' :: ' + v2);
var v5 = flash.external.ExternalInterface.call('getLittleServer');
var v3 = flash.external.ExternalInterface.call('getSrvrTime');
var v7 = v3.toString();
var v10 = v7.substr(-3, 3);
var v11 = v7.substr(-4, 3);
var v12 = parseInt(v10);
var v13 = parseInt(v11);
var v6 = v12 * v13 * v2 + v2;
trace('nAlgo ' + v6);
var v9 = v4 + ',' + v2 + ',' + v3 + ',' + v6;
trace('strToPass ' + v9);
var v8 = m.hash(v9);
trace(v5 + 'attr1=score=' + v2 + '|gameId=' + v4 + '|timestamp=' + v3 + '|key=' + v8);
getURL(v5 + 'attr1=score=' + v2 + '|gameId=' + v4 + '|timestamp=' + v3 + '|key=' + v8, '_self');
}
_visible = false;
var m = new as2md5();
}
}
movieClip 560 __Packages.as2md5 {
#initclip
if (!_global.as2md5) {
var v1 = function (b64pad, chrsz) {
if (b64pad != undefined) {
this.b64pad = b64pad;
}
if (chrsz != undefined && chrsz == 8 || chrsz == 16) {
this.chrsz = chrsz;
}
};
_global.as2md5 = v1;
var v2 = v1.prototype;
v2.hash = function (s) {
return this.hex_md5(s);
};
v2.hex_md5 = function (s) {
return this.binl2hex(this.core_md5(this.str2binl(s), s.length * this.chrsz));
};
v2.b64_md5 = function (s) {
return this.binl2b64(this.core_md5(this.str2binl(s), s.length * this.chrsz));
};
v2.str_md5 = function (s) {
return this.binl2str(this.core_md5(this.str2binl(s), s.length * this.chrsz));
};
v2.hex_hmac_md5 = function (key, data) {
return this.binl2hex(this.core_hmac_md5(key, data));
};
v2.b64_hmac_md5 = function (key, data) {
return this.binl2b64(this.core_hmac_md5(key, data));
};
v2.str_hmac_md5 = function (key, data) {
return this.binl2str(this.core_hmac_md5(key, data));
};
v2.md5_cmn = function (q, a, b, x, s, t) {
return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(a, q), this.safe_add(x, t)), s), b);
};
v2.md5_ff = function (a, b, c, d, x, s, t) {
return this.md5_cmn(b & c | b ^ 4294967295.0 & d, a, b, x, s, t);
};
v2.md5_gg = function (a, b, c, d, x, s, t) {
return this.md5_cmn(b & d | ~(c & d), a, b, x, s, t);
};
v2.md5_hh = function (a, b, c, d, x, s, t) {
return this.md5_cmn(b ^ c ^ d, a, b, x, s, t);
};
v2.md5_ii = function (a, b, c, d, x, s, t) {
return this.md5_cmn(c ^ (b | ~d), a, b, x, s, t);
};
v2.core_md5 = function (x, len) {
x[len >> 5] |= 128 << len % 32;
x[(len + 64 >>> 9 << 4) + 14] = len;
var v2 = 1732584193;
var v3 = -271733879;
var v4 = -1732584194;
var v5 = 271733878;
var v6 = 0;
while (v6 < x.length) {
var v10 = v2;
var v11 = v3;
var v8 = v4;
var v9 = v5;
v2 = this.md5_ff(v2, v3, v4, v5, x[v6 + 0], 7, -680876936);
v5 = this.md5_ff(v5, v2, v3, v4, x[v6 + 1], 12, -389564586);
v4 = this.md5_ff(v4, v5, v2, v3, x[v6 + 2], 17, 606105819);
v3 = this.md5_ff(v3, v4, v5, v2, x[v6 + 3], 22, -1044525330);
v2 = this.md5_ff(v2, v3, v4, v5, x[v6 + 4], 7, -176418897);
v5 = this.md5_ff(v5, v2, v3, v4, x[v6 + 5], 12, 1200080426);
v4 = this.md5_ff(v4, v5, v2, v3, x[v6 + 6], 17, -1473231341);
v3 = this.md5_ff(v3, v4, v5, v2, x[v6 + 7], 22, -45705983);
v2 = this.md5_ff(v2, v3, v4, v5, x[v6 + 8], 7, 1770035416);
v5 = this.md5_ff(v5, v2, v3, v4, x[v6 + 9], 12, -1958414417);
v4 = this.md5_ff(v4, v5, v2, v3, x[v6 + 10], 17, -42063);
v3 = this.md5_ff(v3, v4, v5, v2, x[v6 + 11], 22, -1990404162);
v2 = this.md5_ff(v2, v3, v4, v5, x[v6 + 12], 7, 1804603682);
v5 = this.md5_ff(v5, v2, v3, v4, x[v6 + 13], 12, -40341101);
v4 = this.md5_ff(v4, v5, v2, v3, x[v6 + 14], 17, -1502002290);
v3 = this.md5_ff(v3, v4, v5, v2, x[v6 + 15], 22, 1236535329);
v2 = this.md5_gg(v2, v3, v4, v5, x[v6 + 1], 5, -165796510);
v5 = this.md5_gg(v5, v2, v3, v4, x[v6 + 6], 9, -1069501632);
v4 = this.md5_gg(v4, v5, v2, v3, x[v6 + 11], 14, 643717713);
v3 = this.md5_gg(v3, v4, v5, v2, x[v6 + 0], 20, -373897302);
v2 = this.md5_gg(v2, v3, v4, v5, x[v6 + 5], 5, -701558691);
v5 = this.md5_gg(v5, v2, v3, v4, x[v6 + 10], 9, 38016083);
v4 = this.md5_gg(v4, v5, v2, v3, x[v6 + 15], 14, -660478335);
v3 = this.md5_gg(v3, v4, v5, v2, x[v6 + 4], 20, -405537848);
v2 = this.md5_gg(v2, v3, v4, v5, x[v6 + 9], 5, 568446438);
v5 = this.md5_gg(v5, v2, v3, v4, x[v6 + 14], 9, -1019803690);
v4 = this.md5_gg(v4, v5, v2, v3, x[v6 + 3], 14, -187363961);
v3 = this.md5_gg(v3, v4, v5, v2, x[v6 + 8], 20, 1163531501);
v2 = this.md5_gg(v2, v3, v4, v5, x[v6 + 13], 5, -1444681467);
v5 = this.md5_gg(v5, v2, v3, v4, x[v6 + 2], 9, -51403784);
v4 = this.md5_gg(v4, v5, v2, v3, x[v6 + 7], 14, 1735328473);
v3 = this.md5_gg(v3, v4, v5, v2, x[v6 + 12], 20, -1926607734);
v2 = this.md5_hh(v2, v3, v4, v5, x[v6 + 5], 4, -378558);
v5 = this.md5_hh(v5, v2, v3, v4, x[v6 + 8], 11, -2022574463);
v4 = this.md5_hh(v4, v5, v2, v3, x[v6 + 11], 16, 1839030562);
v3 = this.md5_hh(v3, v4, v5, v2, x[v6 + 14], 23, -35309556);
v2 = this.md5_hh(v2, v3, v4, v5, x[v6 + 1], 4, -1530992060);
v5 = this.md5_hh(v5, v2, v3, v4, x[v6 + 4], 11, 1272893353);
v4 = this.md5_hh(v4, v5, v2, v3, x[v6 + 7], 16, -155497632);
v3 = this.md5_hh(v3, v4, v5, v2, x[v6 + 10], 23, -1094730640);
v2 = this.md5_hh(v2, v3, v4, v5, x[v6 + 13], 4, 681279174);
v5 = this.md5_hh(v5, v2, v3, v4, x[v6 + 0], 11, -358537222);
v4 = this.md5_hh(v4, v5, v2, v3, x[v6 + 3], 16, -722521979);
v3 = this.md5_hh(v3, v4, v5, v2, x[v6 + 6], 23, 76029189);
v2 = this.md5_hh(v2, v3, v4, v5, x[v6 + 9], 4, -640364487);
v5 = this.md5_hh(v5, v2, v3, v4, x[v6 + 12], 11, -421815835);
v4 = this.md5_hh(v4, v5, v2, v3, x[v6 + 15], 16, 530742520);
v3 = this.md5_hh(v3, v4, v5, v2, x[v6 + 2], 23, -995338651);
v2 = this.md5_ii(v2, v3, v4, v5, x[v6 + 0], 6, -198630844);
v5 = this.md5_ii(v5, v2, v3, v4, x[v6 + 7], 10, 1126891415);
v4 = this.md5_ii(v4, v5, v2, v3, x[v6 + 14], 15, -1416354905);
v3 = this.md5_ii(v3, v4, v5, v2, x[v6 + 5], 21, -57434055);
v2 = this.md5_ii(v2, v3, v4, v5, x[v6 + 12], 6, 1700485571);
v5 = this.md5_ii(v5, v2, v3, v4, x[v6 + 3], 10, -1894986606);
v4 = this.md5_ii(v4, v5, v2, v3, x[v6 + 10], 15, -1051523);
v3 = this.md5_ii(v3, v4, v5, v2, x[v6 + 1], 21, -2054922799);
v2 = this.md5_ii(v2, v3, v4, v5, x[v6 + 8], 6, 1873313359);
v5 = this.md5_ii(v5, v2, v3, v4, x[v6 + 15], 10, -30611744);
v4 = this.md5_ii(v4, v5, v2, v3, x[v6 + 6], 15, -1560198380);
v3 = this.md5_ii(v3, v4, v5, v2, x[v6 + 13], 21, 1309151649);
v2 = this.md5_ii(v2, v3, v4, v5, x[v6 + 4], 6, -145523070);
v5 = this.md5_ii(v5, v2, v3, v4, x[v6 + 11], 10, -1120210379);
v4 = this.md5_ii(v4, v5, v2, v3, x[v6 + 2], 15, 718787259);
v3 = this.md5_ii(v3, v4, v5, v2, x[v6 + 9], 21, -343485551);
v2 = this.safe_add(v2, v10);
v3 = this.safe_add(v3, v11);
v4 = this.safe_add(v4, v8);
v5 = this.safe_add(v5, v9);
v6 += 16;
}
return Array(v2, v3, v4, v5);
};
v2.core_hmac_md5 = function (key, data) {
var v3 = new Array(this.str2binl(key));
if (v3.length > 16) {
v3 = this.core_md5(v3, key.length * this.chrsz);
}
var v5 = new Array(16);
var v4 = new Array(16);
var v2 = 0;
while (v2 < 16) {
v5[v2] = v3[v2] ^ 909522486;
v4[v2] = v3[v2] ^ 1549556828;
++v2;
}
var v6 = new Array(this.core_md5(v5.concat(this.str2binl(data)), 512 + data.length * this.chrsz));
return this.core_md5(v4.concat(v6), 640);
};
v2.safe_add = function (x, y) {
var v1 = new Number((x & 65535) + (y & 65535));
var v2 = new Number((x >> 16) + (y >> 16) + (v1 >> 16));
return v2 << 16 | v1 & 65535;
};
v2.bit_rol = function (num, cnt) {
return num << cnt | num >>> 32 - cnt;
};
v2.str2binl = function (str) {
var v3 = new Array();
var v5 = (1 << this.chrsz) - 1;
var v2 = 0;
while (v2 < str.length * this.chrsz) {
v3[v2 >> 5] |= (str.charCodeAt(v2 / this.chrsz) & v5) << v2 % 32;
v2 += this.chrsz;
}
return v3;
};
v2.binl2str = function (bin) {
var v3 = new String('');
var v5 = (1 << this.chrsz) - 1;
var v2 = 0;
while (v2 < bin.length * 32) {
v3 += String.fromCharCode(bin[v2 >> 5] >>> v2 % 32 & v5);
v2 += this.chrsz;
}
return v3;
};
v2.binl2hex = function (binarray) {
var v4 = '0123456789abcdef';
var v3 = new String('');
var v1 = 0;
while (v1 < binarray.length * 4) {
v3 += v4.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 + 4 & 15) + v4.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 & 15);
++v1;
}
return v3;
};
v2.binl2b64 = function (binarray) {
var v7 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
var v4 = new String('');
var v2 = 0;
while (v2 < binarray.length * 4) {
var v6 = (binarray[v2 >> 2] >> 8 * v2 % 4 & 255) << 16 | (binarray[v2 + 1 >> 2] >> 8 * (v2 + 1) % 4 & 255) << 8 | binarray[v2 + 2 >> 2] >> 8 * (v2 + 2) % 4 & 255;
var v3 = 0;
while (v3 < 4) {
if (v2 * 8 + v3 * 6 > binarray.length * 32) {
v4 += this.b64pad;
} else {
v4 += v7.charAt(v6 >> 6 * (3 - v3) & 63);
}
++v3;
}
v2 += 3;
}
return v4;
};
v2.b64pad = new String('');
v2.chrsz = new Number(8);
ASSetPropFlags(_global.as2md5.prototype, null, 1);
}
#endinitclip
}
frame 2 {
musicStarted = 1;
}
movieClip 194 {
}
movieClip 198 {
frame 1 {
stop();
gotoAndStop(random(10) + 1);
}
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16737535, 0.75, 10);
}
}
movieClip 201 {
}
movieClip 202 {
}
movieClip 203 {
}
movieClip 204 {
}
movieClip 219 {
}
movieClip 224 {
}
movieClip 228 {
frame 1 {
stop();
}
}
movieClip 229 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
glowMe(16737535, 0.75, 10);
}
instance of movieClip 204 {
onClipEvent (load) {
gotoAndPlay(11);
}
}
instance of movieClip 228 {
onClipEvent (enterFrame) {
gotoAndStop(_currentframe + 22);
if (_currentframe > 450) {
gotoAndStop(_currentframe - 450);
}
}
}
}
movieClip 235 {
frame 63 {
_root.gotoAndStop(3);
}
}
frame 3 {
stop();
initialize();
}
movieClip 237 {
}
movieClip 239 {
}
movieClip 240 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(12, 12);
}
}
movieClip 242 {
}
movieClip 243 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(12, 12);
}
}
movieClip 245 {
}
movieClip 247 {
}
movieClip 252 {
}
movieClip 253 {
}
movieClip 254 {
}
movieClip 255 {
}
movieClip 256 {
frame 1 {
stop();
}
instance of movieClip 254 {
onClipEvent (load) {
gotoAndPlay(33);
}
}
instance of movieClip 255 {
onClipEvent (load) {
gotoAndPlay(105);
}
}
}
movieClip 257 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(6, 6);
}
}
movieClip 259 {
}
movieClip 262 {
frame 1 {
stop();
}
instance of movieClip 254 {
onClipEvent (load) {
gotoAndPlay(33);
}
}
instance of movieClip 254 {
onClipEvent (load) {
gotoAndPlay(66);
}
}
instance of movieClip 255 {
onClipEvent (load) {
gotoAndPlay(52);
}
}
instance of movieClip 255 {
onClipEvent (load) {
gotoAndPlay(157);
}
}
instance of movieClip 255 {
onClipEvent (load) {
gotoAndPlay(52);
}
}
instance of movieClip 255 {
onClipEvent (load) {
gotoAndPlay(157);
}
}
}
movieClip 263 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(6, 6);
}
}
movieClip 265 {
}
movieClip 267 {
frame 1 {
_visible = false;
}
}
movieClip 268 {
frame 15 {
stop();
}
}
movieClip 270 {
frame 1 {
stop();
}
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(0, 0);
colorMe(1.5, 1.5, 1.5);
}
}
movieClip 274 {
}
movieClip 275 {
frame 1 {
stop();
}
frame 3 {
_root.dashWarning();
}
}
movieClip 308 {
frame 17 {
stop();
}
}
movieClip 309 {
frame 15 {
stop();
}
}
movieClip 310 {
frame 1 {
stop();
starSpawn._visible = true;
}
frame 2 {
starSpawn._visible = false;
}
}
movieClip 312 {
}
movieClip 361 {
frame 1 {
stop();
}
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(12, 12);
}
}
movieClip 362 {
}
movieClip 364 {
}
movieClip 366 {
}
movieClip 368 {
}
movieClip 372 {
}
movieClip 374 {
}
movieClip 378 {
}
movieClip 383 {
}
movieClip 387 {
}
movieClip 391 {
}
movieClip 395 {
}
movieClip 397 {
}
movieClip 401 {
}
movieClip 405 {
}
movieClip 409 {
}
movieClip 411 {
}
movieClip 415 {
}
movieClip 419 {
}
movieClip 423 {
}
movieClip 427 {
}
movieClip 431 {
}
movieClip 432 {
}
movieClip 433 {
frame 1 {
stop();
}
}
movieClip 434 {
frame 1 {
stop();
solid._visible = false;
}
}
movieClip 435 {
frame 1 {
stop();
}
}
movieClip 437 {
}
movieClip 438 {
frame 1 {
stop();
}
}
movieClip 440 {
frame 1 {
stop();
}
}
movieClip 442 {
}
movieClip 445 {
}
movieClip 447 {
}
movieClip 450 {
}
movieClip 451 {
frame 16 {
stop();
}
}
movieClip 452 {
frame 20 {
stop();
}
}
movieClip 454 {
frame 1 {
glow.setMask(oval);
stop();
}
}
movieClip 455 {
}
movieClip 456 {
frame 2 {
stop();
}
}
movieClip 457 {
}
movieClip 458 {
frame 1 {
glow.setMask(oval);
stop();
}
}
movieClip 460 {
}
movieClip 461 {
}
movieClip 462 {
frame 11 {
_parent._parent.endCharge();
stop();
}
}
movieClip 467 {
}
movieClip 468 {
frame 30 {
_root.gotoAndStop('fail');
}
}
movieClip 469 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(0, 0);
colorMe(1.5, 1.5, 1.5);
}
frame 2 {
blurMe(0, 0);
}
}
movieClip 471 {
frame 1 {
stop();
_visible = false;
}
}
movieClip 472 {
}
movieClip 473 {
}
instance engine of movieClip 473 {
onClipEvent (enterFrame) {
engineLoop();
}
}
// unknown tag 88 length 63
movieClip 476 {
frame 1 {
pointText = _root.starPoints * _root.enemyCombo;
}
}
movieClip 477 {
frame 1 {
stop();
}
frame 50 {
stop();
_visible = false;
}
}
movieClip 479 {
frame 1 {
pointText = _root.butterPoints * _root.butterflyCombo;
}
}
movieClip 480 {
frame 1 {
stop();
}
frame 50 {
stop();
_visible = false;
}
}
movieClip 481 {
frame 1 {
_visible = false;
}
}
movieClip 484 {
instance of movieClip 203 {
onClipEvent (data) {
}
}
}
movieClip 485 {
frame 151 {
stop();
}
}
movieClip 487 {
frame 22 {
stop();
}
}
movieClip 489 {
frame 35 {
stop();
}
}
movieClip 490 {
frame 55 {
stop();
}
}
movieClip 491 {
frame 65 {
stop();
}
}
movieClip 492 {
frame 80 {
stop();
}
}
movieClip 493 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(0, 0);
colorMe(1.5, 1.5, 1.5);
}
frame 1 {
stop();
}
}
movieClip 495 {
frame 61 {
_parent.gotoAndStop(4);
}
frame 76 {
stop();
_parent._visible = false;
}
}
movieClip 496 {
frame 1 {
gotoAndStop(_root.scoreTurn);
}
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16737535, 0.75, 10);
}
}
movieClip 500 {
}
movieClip 501 {
frame 1 {
stop();
}
}
button 502 {
on (keyPress 'r') {
_root.HUDscore = 0;
gotoAndStop(2);
}
on (keyPress 'R') {
_root.HUDscore = 0;
gotoAndStop(2);
}
}
movieClip 504 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16744627, 0.75, 10);
}
}
movieClip 506 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 1;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16744627, 0.75, 10);
}
}
movieClip 507 {
frame 1 {
stop();
}
}
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);
return undefined;
}
endOK = 1;
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 -= 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;
}
button 510 {
on (keyPress 'z') {
if (endOK) {
_root.HUDscore = 0;
if (scoreTurn == 0) {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}
}
on (keyPress 'Z') {
if (endOK) {
_root.HUDscore = 0;
if (scoreTurn == 0) {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}
}
}
movieClip 512 {
}
movieClip 514 {
frame 1 {
stop();
}
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(16737535, 0.75, 10);
gotoAndStop(_root.deathStyle);
}
}
movieClip 517 {
}
movieClip 518 {
frame 1 {
stop();
}
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
blurMe(blurStart, blurStart);
glowMe(16737535, 0.75, 10);
}
}
instance presszreflection of movieClip 518 {
onClipEvent (load) {
blurstart = 5;
_alpha = 25;
}
}
movieClip 521 {
}
movieClip 526 {
}
movieClip 527 {
}
movieClip 528 {
}
button 529 {
on (release) {
_root.submitScore();
_visible = false;
}
}
movieClip 530 {
}
movieClip 533 {
}
movieClip 535 {
}
movieClip 536 {
frame 1 {
stop();
}
frame 45 {
gotoAndPlay(15);
}
}
// unknown tag 88 length 63
movieClip 539 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(9510144, 0.75, 30);
}
}
button 541 {
on (release) {
_root.deleteScores();
}
}
movieClip 542 {
frame 1 {
stop();
}
frame 41 {
_root.setHighScores();
}
frame 80 {
stop();
}
}
movieClip 544 {
frame 1 {
stop();
}
frame 30 {
_root.showFinalScore();
stop();
}
}
movieClip 546 {
frame 1 {
stop();
}
frame 45 {
gotoAndPlay(15);
}
}
movieClip 548 {
frame 1 {
stop();
}
frame 45 {
gotoAndPlay(15);
}
}
movieClip 550 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(9510144, 0.75, 30);
}
}
movieClip 551 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 20 {
_parent.setScoreScreen();
}
frame 35 {
stop();
_visible = false;
}
}
instance of movieClip 362 {
onClipEvent (enterFrame) {
_root.scoreScreenCounter();
}
}
movieClip 553 {
}
movieClip 555 {
frame 1 {
time = getTimer() / 1000;
thistime = time - oldtime;
if (thistime >= 1) {
fps = frames;
frames = 0;
++oldtime;
} else {
++frames;
}
}
frame 2 {
gotoAndPlay(1);
}
}
instance of movieClip 555 {
onClipEvent (load) {
oldtime = 0;
frames = 0;
}
}
movieClip 557 {
}
movieClip 559 {
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 v3 = new flash.geom.Transform(this);
var v2 = v3.colorTransform;
v2.redMultiplier = redtarget;
v2.greenMultiplier = greentarget;
v2.blueMultiplier = bluetarget;
v3.colorTransform = v2;
if (redtarget == 1) {
if (greentarget == 1) {
if (bluetarget == 1) {
v3 = new flash.geom.Transform(this);
}
}
}
}
function glowMe(glowColor, glowAlpha, glowBlur) {
var v2 = new flash.filters.GlowFilter(glowColor, glowAlpha, glowBlur, glowBlur, 2, 1);
v2.quality = 3;
this.filters = [v2];
if (glowAlpha == 0) {
this.filters = new Array();
}
}
stop();
glowMe(9510144, 0.75, 30);
}
}