Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("24ff61f8", this, 10301, true);
function OpenArmorGames() {
getURL ("http://www.armorgames.com", "_blank");
}
function OpenHeroInteractive() {
getURL ("http://www.herointeractive.com", "_blank");
}
function OpenPuzzleMaster() {
getURL ("http://armorgames.com/play/2554/starshine-2-puzzle-master", "_blank");
}
function Setup() {
canTween = true;
preFlag = false;
doURLvar = true;
counter = -1;
totalFileSize = _root.getBytesTotal();
startBytes = _root.getBytesLoaded();
nextTween = 0;
motionTweenSpeed = 0.3;
motionTweenSpeed2 = 0.75;
callToUse = "";
_global.clickLock = false;
_global.soundOn = true;
_global.musicOn = true;
_global.graphics = "HIGH";
_global.myMusicPlayer = new Music();
_global.SoundManager = new SoundPlayer();
_global.urlLoadedPuzzle = 0;
_global.currentDifficulty = 3;
_global.levels = new Array(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var _local3 = SharedObject.getLocal("userData");
if (_local3.data.levelsCompleted != undefined) {
_global.levels = _local3.data.levelsCompleted;
_global.currentDifficulty = _local3.data.difficultySetting;
if (_global.currentDifficulty == undefined) {
_global.currentDifficulty = 3;
}
}
_root.continue_btn.tabEnabled = false;
URLVariableJunk();
}
function Run() {
PreloaderStuff();
}
function URLVariableJunk() {
if (_root.puzzleID != undefined) {
_global.urlLoadedPuzzle = Number(_root.puzzleID);
}
doURLvar = false;
}
function PreloaderStuff() {
if (doURLvar == false) {
if (preFlag == false) {
if (counter == -1) {
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
myPercentLoaded = int(100 * amountLoaded);
_root.pre.preloader_mc.gotoAndStop(myPercentLoaded);
_root.pre.preloader_txt.text = myPercentLoaded + "%";
if (myPercentLoaded == 100) {
_root.pre.preloader_mc.gotoAndStop(100);
_root.pre.preloader_txt.text = myPercentLoaded + "%";
_root.pre.loading_mc.gotoAndStop("loaded");
var _local4 = true;
var _local3 = new Array();
_local3.push("http://www.herointeractive.com");
_local3.push("http://herointeractive.com");
_local3.push("http://www.flashgamelicense.com");
_local3.push("http://flashgamelicense.com");
_local3.push("http://www.armorgames.com");
_local3.push("http://armorgames.com");
_local3.push("http://games.armorgames.com");
var _local2 = 0;
while (_local2 < _local3.length) {
if (_url.substr(0, _local3[_local2].length) == _local3[_local2]) {
_local4 = true;
break;
}
_local2++;
}
if (_local4) {
MoveIt(_root.pre.preloader_mc, _root.pre.preloader_mc._x, _root.pre.preloader_mc._y - 40, motionTweenSpeed);
MoveIt(_root.pre.preloader_txt, _root.pre.preloader_txt._x, _root.pre.preloader_txt._y - 40, motionTweenSpeed);
MoveIt(_root.pre.loading_mc, _root.pre.loading_mc._x, _root.pre.loading_mc._y - 40, motionTweenSpeed);
MoveIt(_root.pre.adBoxBack, _root.pre.adBoxBack._x, _root.pre.adBoxBack._y + 25, motionTweenSpeed);
MoveIt(_root.pre.adBox, _root.pre.adBox._x, _root.pre.adBox._y + 25, motionTweenSpeed);
if (adFlag == false) {
MoveIt(_root.continue_btn, 256.05, _root.continue_btn._y + 80, motionTweenSpeed);
} else {
MoveIt(_root.continue_btn, 256.05, _root.continue_btn._y, motionTweenSpeed);
}
preFlag = true;
} else {
_root.gotoAndStop("lockedMessage");
}
}
} else {
counter--;
}
}
}
}
function OpenArmorGames() {
getURL ("http://www.armorgames.com", "_blank");
}
function OpenHeroInteractive() {
getURL ("http://www.herointeractive.com", "_blank");
}
function MoveIt(mClip, valX, valY, dur) {
nextTween++;
canTween = false;
if (nextTween == 1) {
moveMe1(mClip, valX, valY, dur);
} else if (nextTween == 2) {
moveMe2(mClip, valX, valY, dur);
} else if (nextTween == 3) {
moveMe3(mClip, valX, valY, dur);
} else if (nextTween == 4) {
moveMe4(mClip, valX, valY, dur);
} else if (nextTween == 5) {
moveMe5(mClip, valX, valY, dur);
} else if (nextTween == 6) {
moveMe6(mClip, valX, valY, dur);
} else if (nextTween == 7) {
moveMe7(mClip, valX, valY, dur);
} else if (nextTween == 8) {
moveMe8(mClip, valX, valY, dur);
} else if (nextTween == 9) {
moveMe9(mClip, valX, valY, dur);
} else if (nextTween == 10) {
moveMe10(mClip, valX, valY, dur);
} else if (nextTween == 11) {
moveMe11(mClip, valX, valY, dur);
} else if (nextTween == 12) {
moveMe12(mClip, valX, valY, dur);
} else if (nextTween == 13) {
moveMe13(mClip, valX, valY, dur);
} else if (nextTween == 14) {
moveMe14(mClip, valX, valY, dur);
} else if (nextTween == 15) {
moveMe15(mClip, valX, valY, dur);
} else if (nextTween == 16) {
moveMe16(mClip, valX, valY, dur);
} else if (nextTween == 17) {
moveMe17(mClip, valX, valY, dur);
} else if (nextTween == 18) {
moveMe18(mClip, valX, valY, dur);
} else if (nextTween == 19) {
moveMe19(mClip, valX, valY, dur);
} else if (nextTween == 20) {
moveMe20(mClip, valX, valY, dur);
} else if (nextTween == 21) {
moveMe21(mClip, valX, valY, dur);
} else if (nextTween == 22) {
moveMe22(mClip, valX, valY, dur);
} else if (nextTween == 23) {
moveMe23(mClip, valX, valY, dur);
} else if (nextTween == 24) {
moveMe24(mClip, valX, valY, dur);
} else if (nextTween == 25) {
moveMe25(mClip, valX, valY, dur);
} else if (nextTween == 26) {
moveMe26(mClip, valX, valY, dur);
} else if (nextTween == 27) {
moveMe27(mClip, valX, valY, dur);
} else if (nextTween == 28) {
moveMe28(mClip, valX, valY, dur);
} else if (nextTween == 29) {
moveMe29(mClip, valX, valY, dur);
} else if (nextTween == 30) {
moveMe30(mClip, valX, valY, dur);
} else if (nextTween == 31) {
moveMe1(mClip, valX, valY, dur);
nextTween = 1;
}
}
function moveMe1(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe2(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe3(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe4(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe5(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe6(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe7(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe8(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe9(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe10(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe11(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe12(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe13(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe14(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe15(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe16(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe17(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe18(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe19(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe20(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe21(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe22(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe23(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe24(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe25(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe26(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe27(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe28(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe29(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe30(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function WhenFinished() {
if (callToUse == "") {
} else if (callToUse == "preloader_finished") {
_root.gotoAndPlay("soundBuffer");
}
}
stop();
var additionalMenu = new ContextMenu();
additionalMenu.hideBuiltInItems();
var NewItem = new ContextMenuItem("Play More Games!", OpenArmorGames);
additionalMenu.customItems.push(NewItem);
NewItem = new ContextMenuItem("This Game Developed by Hero Interactive", OpenHeroInteractive);
additionalMenu.customItems.push(NewItem);
NewItem = new ContextMenuItem("Create Your Own Puzzles!", OpenPuzzleMaster);
additionalMenu.customItems.push(NewItem);
_root.menu = additionalMenu;
var canTween;
var preFlag;
var adFlag;
var counter;
var totalFileSize;
var startBytes;
var motionTweenSpeed;
var motionTweenSpeed2;
var nextTween;
var callToUse;
_global.currentLevelID = null;
_global.tutorialDone = false;
_global.dataPath = new DataObject();
_global.dataPath.mSet(2382752);
_global.doExcludePreloader = new DataObject();
_global.doExcludePreloader.mSet(59712137);
var adArray = new Array();
adArray.push("http://www.addictinggames.com");
adArray.push("http://addictinggames.com");
adArray.push("http://agstage.shockwave.com");
adArray.push("http://andkon.com");
adArray.push("http://www.andkon.com");
var i = 0;
while (i < adArray.length) {
if (_url.substr(0, adArray[i].length) == adArray[i]) {
_global.doExcludePreloader.Set(381594);
break;
}
i++;
}
if (_global.doExcludePreloader.Get() != -1) {
adFlag = false;
_root.pre.gotoAndStop("noAd");
_root.pre.adBox.gotoAndStop(2);
} else {
var CPMStarPoolID = 1052;
var CPMStarSubPoolID = 13;
System.security.allowDomain("server.cpmstar.com");
_root.pre.adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
}
_root.continue_btn.onRelease = function () {
callToUse = "preloader_finished";
MoveIt(_root.pre.preloader_mc, _root.pre.preloader_mc._x, 700, motionTweenSpeed2);
MoveIt(_root.pre.preloader_txt, _root.pre.preloader_txt._x, 700, motionTweenSpeed2);
MoveIt(_root.pre.loading_mc, _root.pre.loading_mc._x, 700, motionTweenSpeed2);
MoveIt(_root.pre.adBoxBack, _root.pre.adBoxBack._x, 700, motionTweenSpeed2);
MoveIt(_root.pre.adBox, _root.pre.adBox._x, 700, motionTweenSpeed2);
MoveIt(_root.continue_btn, _root.continue_btn._x, 700, motionTweenSpeed2);
};
var additionalMenu = new ContextMenu();
additionalMenu.hideBuiltInItems();
var NewItem = new ContextMenuItem("Play More Games!", OpenArmorGames);
additionalMenu.customItems.push(NewItem);
NewItem = new ContextMenuItem("This Game Developed by Hero Interactive", OpenHeroInteractive);
additionalMenu.customItems.push(NewItem);
_root.menu = additionalMenu;
Instance of Symbol 303 MovieClip "actions" in Frame 1
onClipEvent (load) {
_root.Setup();
}
onClipEvent (enterFrame) {
_root.Run();
}
Frame 3
function Setup() {
}
function Run() {
_global.myMusicPlayer.RunPlayer();
}
stop();
Instance of Symbol 303 MovieClip "actions" in Frame 3
onClipEvent (load) {
_root.Setup();
}
onClipEvent (enterFrame) {
_root.Run();
}
Frame 5
function Setup() {
if (_global.blnBFG) {
ReturnedFromGame();
}
canTween = true;
enterTest = false;
blnLoading = false;
blnURLLoad = false;
nextTween = 0;
motionTweenSpeed = 0.3;
motionTweenSpeed2 = 0.75;
wrapperMCX = _root.wrapperMC._x;
wrapperMCY = _root.wrapperMC._y;
callToUse = "";
whichMenuSection = "";
levelCode = "";
loadName = "myLoadNameIs";
_global.playMode = 1;
_global.currentLevel = -1;
_global.failState = 1;
_global.fromLoader = false;
_global.clickLock = false;
if (_global.musicOn == true) {
_global.myMusicPlayer.SetTrack("title");
_global.myMusicPlayer.SetMaxVolume(100);
_global.myMusicPlayer.PlayWithCrossFade(3);
}
}
function Run() {
EnterKeyDetect();
_global.myMusicPlayer.RunPlayer();
}
function LoadURLLevel(levelID) {
blnURLLoad = true;
AttachLoadWait();
blnLoading = true;
_global.currentLevelID = levelID;
var _local5 = String((((_global.currentLevelID + ",") + 0) + ",") + 1);
var _local2 = new DataEncrypter(128, 128);
var _local3 = _local2.encrypt(_local5, "zv3TayWxuyHCpRHw", "ECB");
var _local4 = "http://s1.herointeractive.com/starshine2/getPuzzle.php?sntPuzzle=" + _local3;
xmlPuzzleData.load(_local4);
}
function SelectLevel(strName) {
_global.SoundManager.PlaySound("buttonSound");
var _local2 = Number(strName.substr(1, 2));
_global.currentLevel = _local2;
_global.playMode = 1;
var _local3 = new LevelManager();
ParseLevel(_local3.GetLevelXML(_local2));
}
function ReturnedFromGame() {
Mouse.show();
RemoveLoadWait();
_root.wrapperMC._alpha = 0;
_root.wrapperMC.gotoAndStop(217);
_root.wrapperMC.starzz.gotoAndStop(232);
_global.blnBFG = false;
_root.buttonStars._x = 220.2;
_root.buttonStars._y = 219.2;
_root.main_menu.gotoAndStop("on");
AlphaIt(_root.wrapperMC, 100);
_root.buttonStars.gotoAndPlay("start");
}
function EnterKeyDetect() {
if (enterTest) {
if (Key.isDown(13)) {
if (blnLoading == false) {
LoadLevel(_root.level_wrap.level_code_txt.text);
}
}
}
}
function AlphaIt(mc, scale) {
this.onEnterFrame = function () {
if (scale < mc._alpha) {
mc._alpha = mc._alpha - 3;
if (mc._alpha <= scale) {
mc._alpha = scale;
mc._alpha = scale;
delete this.onEnterFrame;
}
} else {
mc._alpha = mc._alpha + 3;
if (mc._alpha >= scale) {
mc._alpha = scale;
mc._alpha = scale;
delete this.onEnterFrame;
}
}
};
}
function SetButtonCode() {
_root.buttonStars.main5.onRelease = function () {
_global.SoundManager.PlaySound("buttonSound");
_global.clickLock = false;
_root.buttonStars.main5.gotoAndPlay(1);
_root.buttonStars.gotoAndPlay("starsFall");
whichMenuSection = "play";
};
_root.buttonStars.main5.onRollOver = function () {
this.ring.gotoAndPlay(2);
_root.buttonStars.play_it.gotoAndPlay("open");
};
_root.buttonStars.main5.onRollOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.play_it.gotoAndStop("off");
};
_root.buttonStars.main5.onDragOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.play_it.gotoAndStop("off");
};
_root.buttonStars.main1.onRelease = function () {
_global.SoundManager.PlaySound("buttonSound");
_root.buttonStars.main1.gotoAndPlay(1);
_root.buttonStars.gotoAndPlay("starsFall");
whichMenuSection = "settings";
};
_root.buttonStars.main1.onRollOver = function () {
this.ring.gotoAndPlay(2);
_root.buttonStars.settings_it.gotoAndPlay("open");
};
_root.buttonStars.main1.onRollOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.settings_it.gotoAndStop("off");
};
_root.buttonStars.main1.onDragOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.settings_it.gotoAndStop("off");
};
_root.buttonStars.main2.onRelease = function () {
_global.SoundManager.PlaySound("buttonSound");
_root.buttonStars.main2.gotoAndPlay(1);
_root.buttonStars.gotoAndPlay("starsFall");
whichMenuSection = "credits";
};
_root.buttonStars.main2.onRollOver = function () {
this.ring.gotoAndPlay(2);
_root.buttonStars.credits_it.gotoAndPlay("open");
};
_root.buttonStars.main2.onRollOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.credits_it.gotoAndStop("off");
};
_root.buttonStars.main2.onDragOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.credits_it.gotoAndStop("off");
};
_root.buttonStars.main3.onRelease = function () {
getURL ("http://armorgames.com/play/2554/starshine-2-puzzle-master", "_blank");
};
_root.buttonStars.main3.onRollOver = function () {
this.ring.gotoAndPlay(2);
_root.buttonStars.puzzle_it.gotoAndPlay("open");
};
_root.buttonStars.main3.onRollOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.puzzle_it.gotoAndStop("off");
};
_root.buttonStars.main3.onDragOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.puzzle_it.gotoAndStop("off");
};
_root.buttonStars.main4.onRelease = function () {
_global.SoundManager.PlaySound("buttonSound");
_root.buttonStars.main4.gotoAndPlay(1);
getURL ("http://www.armorgames.com/", "_blank");
};
_root.buttonStars.main4.onRollOver = function () {
this.ring.gotoAndPlay(2);
_root.buttonStars.pmg_it.gotoAndPlay("open");
};
_root.buttonStars.main4.onRollOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.pmg_it.gotoAndStop("off");
};
_root.buttonStars.main4.onDragOut = function () {
this.ring.gotoAndStop(1);
_root.buttonStars.pmg_it.gotoAndStop("off");
};
}
function ButtonMove() {
_root.buttonStars._x = 220.2;
_root.buttonStars._y = 219.2;
_root.buttonStars.gotoAndPlay("start");
}
function AfterStarsFall() {
if (whichMenuSection == "play") {
_root.play_wrap.gotoAndPlay("on");
} else if (whichMenuSection == "settings") {
_root.settings_wrap.gotoAndPlay("toOn");
} else if (whichMenuSection == "credits") {
_root.credits_wrap.gotoAndPlay("toOn");
} else if (whichMenuSection == "puzzle_master") {
getURL ("http://www.herointeractive.com/", "_blank");
}
}
function BackFromCredits() {
RemoveLoadWait();
_global.SoundManager.PlaySound("buttonSound");
_root.credits_wrap.gotoAndPlay("toOff");
_root.buttonStars._x = 220.2;
_root.buttonStars._y = 219.2;
_root.buttonStars.gotoAndPlay("start");
}
function BackFromSettings() {
RemoveLoadWait();
_global.SoundManager.PlaySound("buttonSound");
_root.settings_wrap.gotoAndPlay("toOff");
_root.buttonStars._x = 220.2;
_root.buttonStars._y = 219.2;
_root.buttonStars.gotoAndPlay("start");
}
function BackFromPlay() {
RemoveLoadWait();
_global.SoundManager.PlaySound("buttonSound");
_root.play_wrap.gotoAndPlay("toOff");
_root.buttonStars._x = 220.2;
_root.buttonStars._y = 219.2;
_root.buttonStars.gotoAndPlay("start");
}
function BackFromLevel() {
RemoveLoadWait();
_global.SoundManager.PlaySound("buttonSound");
_global.clickLock = false;
_root.level_wrap.gotoAndPlay("toOff");
_root.play_wrap.gotoAndPlay("on");
}
function BackFromLevel2() {
RemoveLoadWait();
_global.SoundManager.PlaySound("buttonSound");
_root.level_wrap.gotoAndPlay("toOff2");
_root.play_wrap.gotoAndPlay("on");
}
function ScaleIt(mc, scale) {
this.onEnterFrame = function () {
if (scale < mc._xscale) {
mc._xscale = mc._xscale - 3;
mc._yscale = mc._yscale - 3;
if (mc._xscale <= scale) {
mc._xscale = scale;
mc._yscale = scale;
delete this.onEnterFrame;
}
} else {
mc._xscale = mc._xscale + 3;
mc._yscale = mc._yscale + 3;
if (mc._xscale >= scale) {
mc._xscale = scale;
mc._yscale = scale;
delete this.onEnterFrame;
}
}
};
}
function GoToGame(type) {
if (_global.clickLock == false) {
_global.SoundManager.PlaySound("buttonSound");
if (type == "standard") {
RemoveLoadWait();
_global.playMode = 1;
_root.play_wrap.gotoAndPlay("toOff");
_root.level_wrap.gotoAndPlay("on");
_global.clickLock = true;
} else if (type == "random") {
RemoveLoadWait();
_global.playMode = 2;
LoadRandomLevel();
_global.clickLock = true;
} else if (type == "specific") {
RemoveLoadWait();
_global.playMode = 3;
_root.play_wrap.gotoAndPlay("toOff");
_root.level_wrap.gotoAndPlay("on2");
_global.clickLock = true;
}
}
}
function LoadLevel(code) {
if (_global.clickLock == true) {
return(undefined);
}
_global.clickLock = true;
var _local5 = "";
var _local6 = false;
var _local3 = 0;
while (_local3 < code.length) {
if (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((code.charAt(_local3) == "a") || (code.charAt(_local3) == "b")) || (code.charAt(_local3) == "c")) || (code.charAt(_local3) == "d")) || (code.charAt(_local3) == "e")) || (code.charAt(_local3) == "f")) || (code.charAt(_local3) == "g")) || (code.charAt(_local3) == "h")) || (code.charAt(_local3) == "i")) || (code.charAt(_local3) == "j")) || (code.charAt(_local3) == "k")) || (code.charAt(_local3) == "l")) || (code.charAt(_local3) == "m")) || (code.charAt(_local3) == "n")) || (code.charAt(_local3) == "o")) || (code.charAt(_local3) == "p")) || (code.charAt(_local3) == "q")) || (code.charAt(_local3) == "r")) || (code.charAt(_local3) == "s")) || (code.charAt(_local3) == "t")) || (code.charAt(_local3) == "u")) || (code.charAt(_local3) == "v")) || (code.charAt(_local3) == "w")) || (code.charAt(_local3) == "x")) || (code.charAt(_local3) == "y")) || (code.charAt(_local3) == "z")) || (code.charAt(_local3) == "A")) || (code.charAt(_local3) == "B")) || (code.charAt(_local3) == "C")) || (code.charAt(_local3) == "D")) || (code.charAt(_local3) == "E")) || (code.charAt(_local3) == "F")) || (code.charAt(_local3) == "G")) || (code.charAt(_local3) == "H")) || (code.charAt(_local3) == "I")) || (code.charAt(_local3) == "J")) || (code.charAt(_local3) == "K")) || (code.charAt(_local3) == "L")) || (code.charAt(_local3) == "M")) || (code.charAt(_local3) == "N")) || (code.charAt(_local3) == "O")) || (code.charAt(_local3) == "P")) || (code.charAt(_local3) == "Q")) || (code.charAt(_local3) == "R")) || (code.charAt(_local3) == "S")) || (code.charAt(_local3) == "T")) || (code.charAt(_local3) == "U")) || (code.charAt(_local3) == "V")) || (code.charAt(_local3) == "W")) || (code.charAt(_local3) == "X")) || (code.charAt(_local3) == "Y")) || (code.charAt(_local3) == "Z")) || (code.charAt(_local3) == " ")) || (code.charAt(_local3) == "_")) || (code.charAt(_local3) == ".")) || (code.charAt(_local3) == ",")) || (code.charAt(_local3) == "<")) || (code.charAt(_local3) == ">")) || (code.charAt(_local3) == "/")) || (code.charAt(_local3) == "?")) || (code.charAt(_local3) == "'")) || (code.charAt(_local3) == ";")) || (code.charAt(_local3) == ":")) || (code.charAt(_local3) == "[")) || (code.charAt(_local3) == "]")) || (code.charAt(_local3) == "{")) || (code.charAt(_local3) == "}")) || (code.charAt(_local3) == "|")) || (code.charAt(_local3) == "=")) || (code.charAt(_local3) == "+")) || (code.charAt(_local3) == "-")) || (code.charAt(_local3) == ")")) || (code.charAt(_local3) == "(")) || (code.charAt(_local3) == "*")) || (code.charAt(_local3) == "&")) || (code.charAt(_local3) == "^")) || (code.charAt(_local3) == "%")) || (code.charAt(_local3) == "$")) || (code.charAt(_local3) == "#")) || (code.charAt(_local3) == "@")) || (code.charAt(_local3) == "!")) || (code.charAt(_local3) == "~")) || (code.charAt(_local3) == "`")) {
_local6 = true;
} else {
_local5 = _local5 + code.charAt(_local3);
}
_local3++;
}
_root.level_wrap.level_code_txt.text = _local5;
if (_local6 == false) {
if (code == "") {
_root.level_wrap.gotoAndPlay("toOff2");
_root.buttonStars._x = 220.2;
_root.buttonStars._y = 219.2;
_root.buttonStars.gotoAndPlay("start");
} else {
AttachLoadWait();
blnLoading = true;
_global.currentLevelID = int(code);
var _local10 = String((((_global.currentLevelID + ",") + 0) + ",") + 1);
var _local7 = new DataEncrypter(128, 128);
var _local8 = _local7.encrypt(_local10, "zv3TayWxuyHCpRHw", "ECB");
var _local9 = "http://s1.herointeractive.com/starshine2/getPuzzle.php?sntPuzzle=" + _local8;
xmlPuzzleData.load(_local9);
}
}
}
function LoadRandomLevel() {
AttachLoadWait();
_global.currentLevelID = 0;
var _local5 = String((((_global.currentLevelID + ",") + _global.currentDifficulty) + ",") + 1);
var _local2 = new DataEncrypter(128, 128);
var _local3 = _local2.encrypt(_local5, "zv3TayWxuyHCpRHw", "ECB");
var _local4 = "http://s1.herointeractive.com/starshine2/getPuzzle.php?sntPuzzle=" + _local3;
xmlPuzzleData.load(_local4);
}
function AttachLoadWait() {
RemoveLoadWait();
_root.attachMovie("databaseLoad2", loadName, _root.getNextHighestDepth());
_root[loadName]._x = 269.9;
_root[loadName]._y = 222.2;
}
function RemoveLoadWait() {
_root[loadName].removeMovieClip();
}
function ParseLevel(strPuzzleXML) {
xmlPuzzleData.parseXML(strPuzzleXML);
var _local22;
var _local24;
var _local25;
var _local20;
var _local18;
var _local19;
var _local21;
var _local23;
var _local26;
var _local5 = new Array();
var _local6 = xmlPuzzleData.firstChild.firstChild;
if (_local6.attributes.blnSuccess == 0) {
_global.currentLevelID = null;
blnLoading = false;
RemoveLoadWait();
_root.level_wrap.level_code_txt.text = "Invalid Level ID";
return(undefined);
}
_local6 = _local6.nextSibling;
_local22 = _local6.attributes.author;
_local24 = _local6.attributes.title;
_local25 = Number(_local6.attributes.hintOne);
_local20 = Number(_local6.attributes.hintTwo);
_local18 = Number(_local6.attributes.hintThree);
_local19 = Number(_local6.attributes.solution);
_local21 = Number(_local6.attributes.angle);
_local23 = Number(_local6.attributes.version);
_local26 = Number(_local6.attributes.difficulty);
intIdentity = Number(_local6.attributes.id);
_root.publicSetup.creator = String(_local6.attributes.author);
_local6 = _local6.nextSibling;
var _local4 = _local6.firstChild;
while (_local4) {
_local5.push({intObjectID:Number(_local4.attributes.id), intType:Number(_local4.attributes.type), intOrder:Number(_local4.attributes.order), intX:Number(_local4.attributes.xCoord), intY:Number(_local4.attributes.yCoord)});
_local4 = _local4.nextSibling;
}
var _local3 = 0;
while (_local3 < _local5.length) {
_root.publicSetup.objectList.push({id:_local5[_local3].intObjectID, typer:_local5[_local3].intType, order:_local5[_local3].intOrder, xVal:_local5[_local3].intX, yVal:_local5[_local3].intY});
_local3++;
}
var _local17 = 3;
if (_local20 == 0) {
_local17--;
}
if (_local18 == 0) {
_local17--;
}
_root.publicSetup.totalHints = _local17;
_root.publicSetup.winLevelAngle = _local21;
delete _root.publicSetup.arrHints;
_root.publicSetup.arrHints = new Array();
if (_local17 == 2) {
_root.publicSetup.arrHints.push(_local18);
_root.publicSetup.arrHints.push(_local19);
} else if (_local17 == 3) {
_root.publicSetup.arrHints.push(_local20);
_root.publicSetup.arrHints.push(_local18);
_root.publicSetup.arrHints.push(_local19);
}
_global.currentLevelID = intIdentity;
_root.gotoAndStop("puzzle");
}
function MoveIt(mClip, valX, valY, dur) {
nextTween++;
canTween = false;
if (nextTween == 1) {
moveMe1(mClip, valX, valY, dur);
} else if (nextTween == 2) {
moveMe2(mClip, valX, valY, dur);
} else if (nextTween == 3) {
moveMe3(mClip, valX, valY, dur);
} else if (nextTween == 4) {
moveMe4(mClip, valX, valY, dur);
} else if (nextTween == 5) {
moveMe5(mClip, valX, valY, dur);
} else if (nextTween == 6) {
moveMe6(mClip, valX, valY, dur);
} else if (nextTween == 7) {
moveMe7(mClip, valX, valY, dur);
} else if (nextTween == 8) {
moveMe8(mClip, valX, valY, dur);
} else if (nextTween == 9) {
moveMe9(mClip, valX, valY, dur);
} else if (nextTween == 10) {
moveMe10(mClip, valX, valY, dur);
} else if (nextTween == 11) {
moveMe11(mClip, valX, valY, dur);
} else if (nextTween == 12) {
moveMe12(mClip, valX, valY, dur);
} else if (nextTween == 13) {
moveMe13(mClip, valX, valY, dur);
} else if (nextTween == 14) {
moveMe14(mClip, valX, valY, dur);
} else if (nextTween == 15) {
moveMe15(mClip, valX, valY, dur);
} else if (nextTween == 16) {
moveMe16(mClip, valX, valY, dur);
} else if (nextTween == 17) {
moveMe17(mClip, valX, valY, dur);
} else if (nextTween == 18) {
moveMe18(mClip, valX, valY, dur);
} else if (nextTween == 19) {
moveMe19(mClip, valX, valY, dur);
} else if (nextTween == 20) {
moveMe20(mClip, valX, valY, dur);
} else if (nextTween == 21) {
moveMe21(mClip, valX, valY, dur);
} else if (nextTween == 22) {
moveMe22(mClip, valX, valY, dur);
} else if (nextTween == 23) {
moveMe23(mClip, valX, valY, dur);
} else if (nextTween == 24) {
moveMe24(mClip, valX, valY, dur);
} else if (nextTween == 25) {
moveMe25(mClip, valX, valY, dur);
} else if (nextTween == 26) {
moveMe26(mClip, valX, valY, dur);
} else if (nextTween == 27) {
moveMe27(mClip, valX, valY, dur);
} else if (nextTween == 28) {
moveMe28(mClip, valX, valY, dur);
} else if (nextTween == 29) {
moveMe29(mClip, valX, valY, dur);
} else if (nextTween == 30) {
moveMe30(mClip, valX, valY, dur);
} else if (nextTween == 31) {
moveMe1(mClip, valX, valY, dur);
nextTween = 1;
}
}
function moveMe1(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe2(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe3(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe4(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe5(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe6(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe7(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe8(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe9(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe10(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe11(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe12(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe13(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe14(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe15(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe16(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe17(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe18(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe19(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe20(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe21(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe22(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe23(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe24(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe25(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe26(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe27(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe28(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe29(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe30(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function WhenFinished() {
if (callToUse == "") {
} else if (callToUse == "toPuzzle") {
_root.gotoAndStop("puzzle");
callToUse = "";
}
}
stop();
var canTween;
var enterTest;
var blnLoading;
var blnURLLoad;
var nextTween;
var motionTweenSpeed;
var motionTweenSpeed2;
var wrapperMCX;
var wrapperMCY;
var callToUse;
var whichMenuSection;
var levelCode;
var loadName;
var xmlPuzzleData = new XML();
xmlPuzzleData.ignoreWhite = true;
var publicSetup = new PublicSetup();
xmlPuzzleData.onLoad = function (blnSuccess) {
var _local27;
var _local24;
var _local25;
var _local21;
var _local19;
var _local20;
var _local22;
var _local23;
var _local26;
var _local6 = new Array();
if (blnSuccess && (this.status == 0)) {
var _local7 = this.firstChild.firstChild;
if (_local7.attributes.blnSuccess == 0) {
_global.currentLevelID = null;
blnLoading = false;
_global.clickLock = false;
if (blnURLLoad == false) {
_root[loadName].gotoAndStop("fail");
_root.level_wrap.level_code_txt.text = "Invalid Level ID";
} else {
_root[loadName].gotoAndStop("URL_fail");
}
return(undefined);
}
_local7 = _local7.nextSibling;
_local27 = _local7.attributes.author;
_local24 = _local7.attributes.title;
_local25 = Number(_local7.attributes.hintOne);
_local21 = Number(_local7.attributes.hintTwo);
_local19 = Number(_local7.attributes.hintThree);
_local20 = Number(_local7.attributes.solution);
_local22 = Number(_local7.attributes.angle);
_local23 = Number(_local7.attributes.version);
_local26 = Number(_local7.attributes.difficulty);
intIdentity = Number(_local7.attributes.id);
_root.publicSetup.creator = String(_local7.attributes.author);
_local7 = _local7.nextSibling;
var _local5 = _local7.firstChild;
while (_local5) {
_local6.push({intObjectID:Number(_local5.attributes.id), intType:Number(_local5.attributes.type), intOrder:Number(_local5.attributes.order), intX:Number(_local5.attributes.xCoord), intY:Number(_local5.attributes.yCoord)});
_local5 = _local5.nextSibling;
}
var _local4 = 0;
while (_local4 < _local6.length) {
_root.publicSetup.objectList.push({id:_local6[_local4].intObjectID, typer:_local6[_local4].intType, order:_local6[_local4].intOrder, xVal:_local6[_local4].intX, yVal:_local6[_local4].intY});
_local4++;
}
var _local18 = 3;
if (_local21 == 0) {
_local18--;
}
if (_local19 == 0) {
_local18--;
}
_root.publicSetup.totalHints = _local18;
_root.publicSetup.winLevelAngle = _local22;
delete _root.publicSetup.arrHints;
_root.publicSetup.arrHints = new Array();
if (_local18 == 2) {
_root.publicSetup.arrHints.push(_local19);
_root.publicSetup.arrHints.push(_local20);
} else if (_local18 == 3) {
_root.publicSetup.arrHints.push(_local21);
_root.publicSetup.arrHints.push(_local19);
_root.publicSetup.arrHints.push(_local20);
}
_global.currentLevelID = intIdentity;
_root.gotoAndStop("puzzle");
} else {
_global.clickLock = false;
_global.currentLevelID = null;
if (blnURLLoad == false) {
_root[loadName].gotoAndStop("fail");
_root.level_wrap.level_code_txt.text = "Invalid Level ID";
} else {
_root[loadName].gotoAndStop("URL_fail");
}
}
};
Instance of Symbol 303 MovieClip "actions" in Frame 5
onClipEvent (load) {
_root.Setup();
}
onClipEvent (enterFrame) {
_root.Run();
}
Frame 7
function Setup() {
game.SetupClass();
canTween = true;
clearFlag = false;
nextTween = 0;
gRating = 0;
dRating = 0;
LevelIDJunk();
_global.flagger = false;
_global.failState = 2;
_global.urlLoadedPuzzle = 0;
_root.publicSetup.LoadLevelObjects();
if (_global.musicOn == true) {
_global.myMusicPlayer.SetTrack("main");
_global.myMusicPlayer.SetMaxVolume(100);
_global.myMusicPlayer.PlayWithCrossFade(3);
}
}
function Run() {
game.Run();
_global.myMusicPlayer.RunPlayer();
}
function LevelIDJunk() {
if (_global.playMode == 1) {
_root.level_ID_txt._visible = true;
_root.level_id_display_txt._visible = true;
_root.level_id_display_txt.text = _global.currentLevel;
} else if (_global.currentLevelID != null) {
_root.level_ID_txt._visible = true;
_root.level_id_display_txt._visible = true;
if (_global.currentLevelID == 0) {
_root.level_id_display_txt.text = (_global.currentLevelID + " Author: ") + _root.publicSetup.creator;
} else {
_root.level_id_display_txt.text = (_global.currentLevelID + " Author: ") + _root.publicSetup.creator;
}
} else {
game.stateSystem = 5;
_root.level_ID_txt._visible = false;
_root.level_id_display_txt._visible = false;
}
}
function LoadRandomLevel2(level, diff) {
var _local4 = String((((level + ",") + diff) + ",") + 1);
var _local2 = new DataEncrypter(128, 128);
var _local3 = _local2.encrypt(_local4, "zv3TayWxuyHCpRHw", "ECB");
var _local1 = "http://s1.herointeractive.com/starshine2/getPuzzle.php?sntPuzzle=" + _local3;
xmlNextLevelData.load(_local1);
}
function ParseLevel2(intPuzzleNumber) {
var _local21 = new LevelManager();
var _local23 = _local21.GetLevelXML(intPuzzleNumber);
xmlPuzzleData.parseXML(_local23);
var _local24;
var _local26;
var _local27;
var _local20;
var _local18;
var _local19;
var _local22;
var _local25;
var _local28;
var _local5 = new Array();
var _local6 = xmlPuzzleData.firstChild.firstChild;
if (_local6.attributes.blnSuccess == 0) {
_global.currentLevelID = null;
_root[loadName].gotoAndStop("fail");
blnLoading = false;
_root.level_wrap.level_code_txt.text = "Invalid Level ID";
return(undefined);
}
_local6 = _local6.nextSibling;
_local24 = _local6.attributes.author;
_local26 = _local6.attributes.title;
_local27 = Number(_local6.attributes.hintOne);
_local20 = Number(_local6.attributes.hintTwo);
_local18 = Number(_local6.attributes.hintThree);
_local19 = Number(_local6.attributes.solution);
_local22 = Number(_local6.attributes.angle);
_local25 = Number(_local6.attributes.version);
_local28 = Number(_local6.attributes.difficulty);
intIdentity = Number(_local6.attributes.id);
_root.publicSetup.creator = String(_local6.attributes.author);
_local6 = _local6.nextSibling;
var _local4 = _local6.firstChild;
while (_local4) {
_local5.push({intObjectID:Number(_local4.attributes.id), intType:Number(_local4.attributes.type), intOrder:Number(_local4.attributes.order), intX:Number(_local4.attributes.xCoord), intY:Number(_local4.attributes.yCoord)});
_local4 = _local4.nextSibling;
}
delete _root.publicSetup.objectList;
_root.publicSetup.objectList = new Array();
var _local3 = 0;
while (_local3 < _local5.length) {
_root.publicSetup.objectList.push({id:_local5[_local3].intObjectID, typer:_local5[_local3].intType, order:_local5[_local3].intOrder, xVal:_local5[_local3].intX, yVal:_local5[_local3].intY});
_local3++;
}
var _local17 = 3;
if (_local20 == 0) {
_local17--;
}
if (_local18 == 0) {
_local17--;
}
_root.publicSetup.totalHints = _local17;
_root.publicSetup.winLevelAngle = _local22;
delete _root.publicSetup.arrHints;
_root.publicSetup.arrHints = new Array();
if (_local17 == 2) {
_root.publicSetup.arrHints.push(_local18);
_root.publicSetup.arrHints.push(_local19);
} else if (_local17 == 3) {
_root.publicSetup.arrHints.push(_local20);
_root.publicSetup.arrHints.push(_local18);
_root.publicSetup.arrHints.push(_local19);
}
_global.currentLevelID = intIdentity;
_root.game.FinishedLoadingNextLevel();
}
function MoveIt(mClip, valX, valY, dur) {
nextTween++;
canTween = false;
if (nextTween == 1) {
moveMe1(mClip, valX, valY, dur);
} else if (nextTween == 2) {
moveMe2(mClip, valX, valY, dur);
} else if (nextTween == 3) {
moveMe3(mClip, valX, valY, dur);
} else if (nextTween == 4) {
moveMe4(mClip, valX, valY, dur);
} else if (nextTween == 5) {
moveMe5(mClip, valX, valY, dur);
} else if (nextTween == 6) {
moveMe6(mClip, valX, valY, dur);
} else if (nextTween == 7) {
moveMe7(mClip, valX, valY, dur);
} else if (nextTween == 8) {
moveMe8(mClip, valX, valY, dur);
} else if (nextTween == 9) {
moveMe9(mClip, valX, valY, dur);
} else if (nextTween == 10) {
moveMe10(mClip, valX, valY, dur);
} else if (nextTween == 11) {
moveMe11(mClip, valX, valY, dur);
} else if (nextTween == 12) {
moveMe12(mClip, valX, valY, dur);
} else if (nextTween == 13) {
moveMe13(mClip, valX, valY, dur);
} else if (nextTween == 14) {
moveMe14(mClip, valX, valY, dur);
} else if (nextTween == 15) {
moveMe15(mClip, valX, valY, dur);
} else if (nextTween == 16) {
moveMe16(mClip, valX, valY, dur);
} else if (nextTween == 17) {
moveMe17(mClip, valX, valY, dur);
} else if (nextTween == 18) {
moveMe18(mClip, valX, valY, dur);
} else if (nextTween == 19) {
moveMe19(mClip, valX, valY, dur);
} else if (nextTween == 20) {
moveMe20(mClip, valX, valY, dur);
} else if (nextTween == 21) {
moveMe21(mClip, valX, valY, dur);
} else if (nextTween == 22) {
moveMe22(mClip, valX, valY, dur);
} else if (nextTween == 23) {
moveMe23(mClip, valX, valY, dur);
} else if (nextTween == 24) {
moveMe24(mClip, valX, valY, dur);
} else if (nextTween == 25) {
moveMe25(mClip, valX, valY, dur);
} else if (nextTween == 26) {
moveMe26(mClip, valX, valY, dur);
} else if (nextTween == 27) {
moveMe27(mClip, valX, valY, dur);
} else if (nextTween == 28) {
moveMe28(mClip, valX, valY, dur);
} else if (nextTween == 29) {
moveMe29(mClip, valX, valY, dur);
} else if (nextTween == 30) {
moveMe30(mClip, valX, valY, dur);
} else if (nextTween == 31) {
moveMe1(mClip, valX, valY, dur);
nextTween = 1;
}
}
function moveMe1(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe2(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe3(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe4(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe5(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe6(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe7(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe8(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe9(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe10(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe11(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe12(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe13(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe14(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe15(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe16(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe17(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe18(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe19(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe20(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe21(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe22(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe23(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe24(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe25(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe26(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe27(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe28(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe29(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function moveMe30(mc, xVal, yVal, duration) {
var _local2 = mc._x;
var _local3 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local2, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local3, yVal, duration, true);
myTweening.FPS = FPSforTweenClass;
myTweening.onMotionFinished = function () {
canTween = true;
WhenFinished();
};
}
function WhenFinished() {
if (game.callToUse == "") {
} else if (game.callToUse == "main_menu") {
_root.gotoAndStop("menu");
}
}
stop();
var game = new StarShine2OriginalGame();
_global.clickLock = false;
var clearFlag;
var gRating;
var dRating;
var xmlNextLevelData = new XML();
xmlNextLevelData.ignoreWhite = true;
xmlNextLevelData.onLoad = function (blnSuccess) {
var _local27;
var _local24;
var _local25;
var _local21;
var _local19;
var _local20;
var _local22;
var _local23;
var _local26;
var _local6 = new Array();
if (blnSuccess && (this.status == 0)) {
var _local7 = this.firstChild.firstChild;
if (_local7.attributes.blnSuccess == 0) {
_global.currentLevelID = null;
_root[loadName].gotoAndStop("fail");
_global.clickLock = false;
_root.level_wrap.level_code_txt.text = "Invalid Level ID";
return(undefined);
}
_local7 = _local7.nextSibling;
_local27 = _local7.attributes.author;
_local24 = _local7.attributes.title;
_local25 = Number(_local7.attributes.hintOne);
_local21 = Number(_local7.attributes.hintTwo);
_local19 = Number(_local7.attributes.hintThree);
_local20 = Number(_local7.attributes.solution);
_local22 = Number(_local7.attributes.angle);
_local23 = Number(_local7.attributes.version);
_local26 = Number(_local7.attributes.difficulty);
intIdentity = Number(_local7.attributes.id);
_root.publicSetup.creator = String(_local7.attributes.author);
_local7 = _local7.nextSibling;
var _local5 = _local7.firstChild;
while (_local5) {
_local6.push({intObjectID:Number(_local5.attributes.id), intType:Number(_local5.attributes.type), intOrder:Number(_local5.attributes.order), intX:Number(_local5.attributes.xCoord), intY:Number(_local5.attributes.yCoord)});
_local5 = _local5.nextSibling;
}
delete _root.publicSetup.objectList;
_root.publicSetup.objectList = new Array();
var _local4 = 0;
while (_local4 < _local6.length) {
_root.publicSetup.objectList.push({id:_local6[_local4].intObjectID, typer:_local6[_local4].intType, order:_local6[_local4].intOrder, xVal:_local6[_local4].intX, yVal:_local6[_local4].intY});
_local4++;
}
var _local18 = 3;
if (_local21 == 0) {
_local18--;
}
if (_local19 == 0) {
_local18--;
}
_root.publicSetup.totalHints = _local18;
_root.publicSetup.winLevelAngle = _local22;
delete _root.publicSetup.arrHints;
_root.publicSetup.arrHints = new Array();
if (_local18 == 2) {
_root.publicSetup.arrHints.push(_local19);
_root.publicSetup.arrHints.push(_local20);
} else if (_local18 == 3) {
_root.publicSetup.arrHints.push(_local21);
_root.publicSetup.arrHints.push(_local19);
_root.publicSetup.arrHints.push(_local20);
}
_global.currentLevelID = intIdentity;
_root.game.FinishedLoadingNextLevel();
} else {
_global.currentLevelID = null;
_root[loadName].gotoAndStop("fail");
_root.level_wrap.level_code_txt.text = "Invalid Level ID";
}
};
Instance of Symbol 303 MovieClip "actions" in Frame 7
onClipEvent (load) {
_root.Setup();
}
onClipEvent (enterFrame) {
_root.Run();
}
Instance of Symbol 710 MovieClip "inGameTut" in Frame 7
onClipEvent (load) {
if (this.getDepth != 408000) {
this.swapDepths(408000);
}
if (_global.tutorialDone == false) {
this.gotoAndStop("on");
}
}
Frame 9
stop();
Frame 12
gotoAndPlay ("bufferComplete");
Frame 24
gotoAndPlay ("intro");
Frame 60
stop();
Frame 65
stop();
Symbol 5 MovieClip [reflection_star] Frame 1
stop();
Symbol 5 MovieClip [reflection_star] Frame 2
stop();
Symbol 8 MovieClip [reflection_particle] Frame 1
stop();
Symbol 10 MovieClip [blackhole_star] Frame 11
_root.game.RemoveEffect(this._name);
stop();
Symbol 13 MovieClip Frame 71
gotoAndPlay (38);
Symbol 15 MovieClip [13_mc] Frame 1
#initclip 54
Object.registerClass("13_mc", Particle_13);
#endinitclip
stop();
Symbol 15 MovieClip [13_mc] Frame 2
stop();
Symbol 17 MovieClip [14_mc] Frame 1
#initclip 31
Object.registerClass("14_mc", Particle_14);
#endinitclip
stop();
Symbol 17 MovieClip [14_mc] Frame 2
stop();
Symbol 19 MovieClip [11_mc] Frame 1
#initclip 32
Object.registerClass("11_mc", Particle_11);
#endinitclip
stop();
Symbol 19 MovieClip [11_mc] Frame 2
stop();
Symbol 21 MovieClip [12_mc] Frame 1
#initclip 33
Object.registerClass("12_mc", Particle_12);
#endinitclip
stop();
Symbol 21 MovieClip [12_mc] Frame 2
stop();
Symbol 29 MovieClip [questionNotification] Frame 1
stop();
Symbol 29 MovieClip [questionNotification] Frame 2
stop();
Symbol 38 Button
on (release) {
_root.game.SubmitLevel();
}
Symbol 41 Button
on (release) {
_root.game.CancelSubmit();
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 9
stop();
Symbol 47 MovieClip Frame 16
this.gotoAndStop("off");
Symbol 57 MovieClip [submitMenuBG] Frame 1
stop();
Symbol 57 MovieClip [submitMenuBG] Frame 10
stop();
Symbol 57 MovieClip [submitMenuBG] Frame 20
this.gotoAndStop("off");
Symbol 57 MovieClip [submitMenuBG] Frame 30
stop();
Symbol 57 MovieClip [submitMenuBG] Frame 118
_root.game.DoneDone();
_root.game.BackToMainMenu();
this.gotoAndStop("off");
Symbol 57 MovieClip [submitMenuBG] Frame 237
_root.game.DoneDone();
this.gotoAndStop("off");
Symbol 57 MovieClip [submitMenuBG] Frame 343
_root.game.DoneDone();
this.gotoAndStop("off");
Symbol 69 Button
on (release) {
_global.fromLoader = true;
_global.clickLock = false;
_root.game.FullRandom();
}
Symbol 73 Button
on (release) {
_root.game.BackToMainMenu();
}
Symbol 82 Button
on (release) {
_root.ReturnedFromGame();
}
Symbol 86 Button
on (release) {
_root.LoadURLLevel(_global.urlLoadedPuzzle);
}
Symbol 89 MovieClip [databaseLoad2] Frame 44
gotoAndPlay (1);
Symbol 89 MovieClip [databaseLoad2] Frame 45
if (_global.failState == 1) {
gotoAndStop ("menu_fail");
} else if (_global.failState == 2) {
gotoAndStop ("game_fail");
}
stop();
Symbol 89 MovieClip [databaseLoad2] Frame 46
stop();
Symbol 89 MovieClip [databaseLoad2] Frame 47
stop();
Symbol 89 MovieClip [databaseLoad2] Frame 48
stop();
Symbol 104 Button
on (release) {
_root.NoClear();
}
Symbol 110 Button
on (release) {
_root.Clear();
}
Symbol 112 MovieClip [clearMenu_mc] Frame 1
stop();
Symbol 112 MovieClip [clearMenu_mc] Frame 13
stop();
Symbol 112 MovieClip [clearMenu_mc] Frame 25
this.gotoAndStop("blank");
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Symbol 119 MovieClip Frame 3
stop();
Symbol 125 Button
on (release) {
_global.flagger = false;
this.gotoAndPlay("fadeOut");
}
Symbol 129 Button
on (release) {
_global.flagger = true;
this.gotoAndPlay("fadeOut");
}
Symbol 131 MovieClip [flagScreen] Frame 10
stop();
Symbol 131 MovieClip [flagScreen] Frame 20
_root.game.FlagWorks();
_root.game.stateSystem = 0;
if (_global.flagger == true) {
_root.game.BackToMainMenu();
}
this.removeMovieClip();
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
stop();
Symbol 142 MovieClip Frame 3
stop();
Symbol 142 MovieClip Frame 4
stop();
Symbol 142 MovieClip Frame 5
stop();
Symbol 142 MovieClip Frame 6
stop();
Symbol 142 MovieClip Frame 7
stop();
Symbol 142 MovieClip Frame 8
stop();
Symbol 142 MovieClip Frame 9
stop();
Symbol 142 MovieClip Frame 10
stop();
Symbol 143 MovieClip [o6_mc] Frame 1
#initclip 34
Object.registerClass("o6_mc", Particle_6);
#endinitclip
stop();
Symbol 143 MovieClip [o6_mc] Frame 2
stop();
Symbol 144 MovieClip [o7_mc] Frame 1
#initclip 35
Object.registerClass("o7_mc", Particle_7);
#endinitclip
stop();
Symbol 144 MovieClip [o7_mc] Frame 2
stop();
Symbol 145 MovieClip [o4_mc] Frame 1
#initclip 36
Object.registerClass("o4_mc", Particle_4);
#endinitclip
stop();
Symbol 145 MovieClip [o4_mc] Frame 2
stop();
Symbol 146 MovieClip [o5_mc] Frame 1
#initclip 37
Object.registerClass("o5_mc", Particle_5);
#endinitclip
stop();
Symbol 146 MovieClip [o5_mc] Frame 2
stop();
Symbol 148 MovieClip [o1_mc] Frame 1
#initclip 38
Object.registerClass("o1_mc", Particle_1);
#endinitclip
stop();
Symbol 148 MovieClip [o1_mc] Frame 2
stop();
Symbol 150 MovieClip [o3_mc] Frame 1
#initclip 39
Object.registerClass("o3_mc", Particle_3);
#endinitclip
stop();
Symbol 150 MovieClip [o3_mc] Frame 2
stop();
Symbol 152 MovieClip [o2_mc] Frame 1
#initclip 40
Object.registerClass("o2_mc", Particle_2);
#endinitclip
stop();
Symbol 152 MovieClip [o2_mc] Frame 2
stop();
Symbol 162 MovieClip [15_mc] Frame 1
#initclip 41
Object.registerClass("15_mc", Particle_15);
#endinitclip
stop();
Symbol 162 MovieClip [15_mc] Frame 2
stop();
Symbol 203 MovieClip [16_mc] Frame 1
#initclip 42
Object.registerClass("16_mc", Particle_16);
#endinitclip
stop();
Symbol 203 MovieClip [16_mc] Frame 2
stop();
Symbol 203 MovieClip [16_mc] Frame 3
stop();
Symbol 203 MovieClip [16_mc] Frame 4
stop();
Symbol 203 MovieClip [16_mc] Frame 5
stop();
Symbol 203 MovieClip [16_mc] Frame 6
stop();
Symbol 203 MovieClip [16_mc] Frame 7
stop();
Symbol 203 MovieClip [16_mc] Frame 8
stop();
Symbol 203 MovieClip [16_mc] Frame 9
stop();
Symbol 207 MovieClip Frame 1
this.gotoAndPlay(30);
Symbol 207 MovieClip Frame 30
this._rotation = _root.game.RandNum(0, 360);
var poop = _root.game.RandNum(70, 130);
this._xscale = poop;
this._yscale = poop;
this.gotoAndPlay(_root.game.RandNum(31, 90));
Symbol 207 MovieClip Frame 90
this.gotoAndPlay(2);
Symbol 223 MovieClip [18_mc] Frame 1
#initclip 43
Object.registerClass("18_mc", Particle_18);
#endinitclip
Symbol 224 MovieClip [7_mc] Frame 1
#initclip 44
Object.registerClass("7_mc", Particle_7);
#endinitclip
stop();
Symbol 224 MovieClip [7_mc] Frame 2
stop();
Symbol 225 MovieClip [4_mc] Frame 1
#initclip 45
Object.registerClass("4_mc", Particle_4);
#endinitclip
stop();
Symbol 225 MovieClip [4_mc] Frame 2
stop();
Symbol 226 MovieClip [5_mc] Frame 1
#initclip 46
Object.registerClass("5_mc", Particle_5);
#endinitclip
stop();
Symbol 226 MovieClip [5_mc] Frame 2
stop();
Symbol 227 MovieClip [10_mc] Frame 1
#initclip 47
Object.registerClass("10_mc", Particle_10);
#endinitclip
stop();
Symbol 227 MovieClip [10_mc] Frame 2
stop();
Symbol 228 MovieClip [9_mc] Frame 1
#initclip 48
Object.registerClass("9_mc", Particle_9);
#endinitclip
stop();
Symbol 228 MovieClip [9_mc] Frame 2
stop();
Symbol 229 MovieClip [8_mc] Frame 1
#initclip 49
Object.registerClass("8_mc", Particle_8);
#endinitclip
stop();
Symbol 229 MovieClip [8_mc] Frame 2
stop();
Symbol 235 MovieClip [2_mc] Frame 1
#initclip 50
Object.registerClass("2_mc", Particle_2);
#endinitclip
stop();
Symbol 235 MovieClip [2_mc] Frame 2
stop();
Symbol 236 MovieClip [3_mc] Frame 1
#initclip 51
Object.registerClass("3_mc", Particle_3);
#endinitclip
stop();
Symbol 236 MovieClip [3_mc] Frame 2
stop();
Symbol 237 MovieClip [1_mc] Frame 1
#initclip 52
Object.registerClass("1_mc", Particle_1);
#endinitclip
stop();
Symbol 237 MovieClip [1_mc] Frame 2
stop();
Symbol 238 MovieClip [6_mc] Frame 1
#initclip 53
Object.registerClass("6_mc", Particle_6);
#endinitclip
stop();
Symbol 238 MovieClip [6_mc] Frame 2
stop();
Symbol 258 MovieClip [tutorialMC] Frame 1
stop();
Symbol 258 MovieClip [tutorialMC] Frame 2
stop();
Symbol 260 MovieClip [mouseQuestionMark] Frame 1
stop();
Symbol 274 MovieClip Frame 1
r = random(200);
r = r + 50;
gotoAndPlay(r);
Symbol 281 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 60
this.gotoAndPlay("start");
Symbol 288 MovieClip Frame 62
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 2
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 2
stop();
Symbol 734 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 735 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 736 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 737 MovieClip [__Packages.DataObject] Frame 0
class DataObject
{
var arrElements, indexOne, indexTwo;
function DataObject () {
var _local3 = RandNum(55, 66);
arrElements = new Array(_local3);
var _local2 = 0;
while (_local2 < _local3) {
arrElements[_local2] = 0;
_local2++;
}
indexOne = -1;
indexTwo = -1;
}
function Set(dataValue) {
var _local6 = Math.round(Math.random() * dataValue);
var _local7 = dataValue - _local6;
indexOne = RandNum(0, arrElements.length - 4);
indexTwo = RandNum(0, arrElements.length - 4);
if (indexOne == indexTwo) {
if (indexOne == (arrElements.length - 1)) {
indexTwo = indexOne - 1;
} else {
indexTwo = indexOne + 1;
}
}
var _local5 = dataValue / (arrElements.length - 2);
var _local4 = dataValue;
var _local9 = arrElements.length;
var _local2 = 0;
while (_local2 < arrElements.length) {
if (_local2 == indexOne) {
arrElements[_local2] = _local6;
} else if (_local2 == indexTwo) {
arrElements[_local2] = _local7;
} else {
var _local3 = 0;
if (_local4 > 0) {
_local3 = Math.round((Math.random() * _local5) + (_local5 * 0.5));
if (_local3 > _local4) {
_local3 = _local4;
}
if (_local2 == (arrElements.length - 1)) {
_local3 = _local4;
}
_local4 = _local4 - _local3;
}
arrElements[_local2] = _local3;
}
_local2++;
}
}
function mSet(dataValue) {
var _local7 = 0;
while (_local7 < 10) {
var _local5 = Math.round(Math.random() * dataValue);
var _local8 = dataValue - _local5;
indexOne = RandNum(0, arrElements.length - 4);
indexTwo = RandNum(0, arrElements.length - 4);
if (indexOne == indexTwo) {
if (indexOne == (arrElements.length - 1)) {
indexTwo = indexOne - 1;
} else {
indexTwo = indexOne + 1;
}
}
var _local4 = dataValue / (arrElements.length - 2);
var _local10 = dataValue;
var _local9 = arrElements.length;
var _local2 = 0;
while (_local2 < arrElements.length) {
if (_local2 == indexOne) {
arrElements[_local2] = _local5;
} else if (_local2 == indexTwo) {
arrElements[_local2] = _local8;
} else {
var _local3 = 0;
_local3 = Math.round((Math.random() * (_local4 * 1.23)) + (_local4 * 0.75));
arrElements[_local2] = _local3;
}
_local2++;
}
if (Get() == -1) {
break;
}
_local7++;
}
}
function Get() {
var _local3 = 0;
var _local4 = 0;
var _local2 = 0;
while (_local2 < arrElements.length) {
if (_local2 == indexOne) {
_local3 = _local3 + arrElements[_local2];
} else if (_local2 == indexTwo) {
_local3 = _local3 + arrElements[_local2];
} else {
_local4 = _local4 + arrElements[_local2];
}
_local2++;
}
if (_local3 == _local4) {
return(_local3);
}
return(-1);
}
function Store() {
var _local2 = arrElements.slice();
_local2.splice(2, 0, indexOne);
_local2.splice(7, 0, indexTwo);
return(_local2);
}
function Load(originalArray) {
indexOne = originalArray[2];
indexTwo = originalArray[7];
delete arrElements;
arrElements = originalArray.slice();
arrElements.splice(7, 1);
arrElements.splice(2, 1);
}
function RandNum(minVal, maxVal) {
return(Math.round(Math.random() * (maxVal - minVal)) + minVal);
}
}
Symbol 738 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 739 MovieClip [__Packages.SoundPlayer] Frame 0
class SoundPlayer
{
var channelsAvailable, channel1, channel2, channel3, channel4, channel5, channel6, channel7, externalSoundVolume;
function SoundPlayer () {
channelsAvailable = new Array(true, true, true, true, true, true, true);
channel1 = new Sound(_root.soundOneClip);
channel2 = new Sound(_root.soundTwoClip);
channel3 = new Sound(_root.soundThreeClip);
channel4 = new Sound(_root.soundFourClip);
channel5 = new Sound(_root.soundFiveClip);
channel6 = new Sound(_root.soundSixClip);
channel7 = new Sound(_root.soundSevenClip);
externalSoundVolume = 100;
}
function CleanSounds(intIndex) {
channelsAvailable[intIndex] = true;
}
function PlaySound(linkIdentifier) {
if (_global.soundOn == true) {
var thisRef = this;
if (channelsAvailable[0] == true) {
channelsAvailable[0] = false;
delete channel1;
channel1 = new Sound(_root.soundOneClip);
channel1.attachSound(linkIdentifier);
channel1.setVolume(100);
channel1.start(0, 0);
channel1.onSoundComplete = function () {
thisRef.CleanSounds(0);
};
} else if (channelsAvailable[1] == true) {
channelsAvailable[1] = false;
delete channel2;
channel2 = new Sound(_root.soundTwoClip);
channel2.attachSound(linkIdentifier);
channel2.setVolume(100);
channel2.start(0, 0);
channel2.onSoundComplete = function () {
thisRef.CleanSounds(1);
};
} else if (channelsAvailable[4] == true) {
channelsAvailable[4] = false;
delete channel5;
channel5 = new Sound(_root.soundFiveClip);
channel5.attachSound(linkIdentifier);
channel5.setVolume(100);
channel5.start(0, 0);
channel5.onSoundComplete = function () {
thisRef.CleanSounds(4);
};
} else if (channelsAvailable[5] == true) {
channelsAvailable[5] = false;
delete channel6;
channel6 = new Sound(_root.soundSixClip);
channel6.attachSound(linkIdentifier);
channel6.setVolume(100);
channel6.start(0, 0);
channel6.onSoundComplete = function () {
thisRef.CleanSounds(5);
};
} else {
channelsAvailable[0] = false;
delete channel1;
channel1 = new Sound(_root.soundOneClip);
channel1.attachSound(linkIdentifier);
channel1.setVolume(100);
channel1.start(0, 0);
channel1.onSoundComplete = function () {
thisRef.CleanSounds(0);
};
}
}
}
function PlayBubbleSound(linkIdentifier) {
if (_global.soundOn == true) {
var thisRef = this;
if (channelsAvailable[2] == true) {
channelsAvailable[2] = false;
delete channel3;
channel3 = new Sound(_root.soundThreeClip);
channel3.attachSound(linkIdentifier);
channel3.setVolume(100);
channel3.start(0, 0);
channel3.onSoundComplete = function () {
thisRef.CleanSounds(2);
};
} else if (channelsAvailable[3] == true) {
channelsAvailable[3] = false;
delete channel4;
channel4 = new Sound(_root.soundFourClip);
channel4.attachSound(linkIdentifier);
channel4.setVolume(80);
channel4.start(0, 0);
channel4.onSoundComplete = function () {
thisRef.CleanSounds(3);
};
} else if (channelsAvailable[6] == true) {
channelsAvailable[6] = false;
delete channel7;
channel7 = new Sound(_root.soundSevenClip);
channel7.attachSound(linkIdentifier);
channel7.setVolume(60);
channel7.start(0, 0);
channel7.onSoundComplete = function () {
thisRef.CleanSounds(6);
};
}
}
}
function PlayExternalSound(urlPath) {
var thisRef = this;
if (channelsAvailable[0] == true) {
channelsAvailable[0] = false;
delete channel1;
channel1 = new Sound();
channel1.loadSound(urlPath, false);
channel1.setVolume(externalSoundVolume);
channel1.onLoad = function (loadedOK) {
if (loadedOK) {
this.start();
}
};
channel1.onSoundComplete = function () {
thisRef.CleanSounds(0);
};
} else if (channelsAvailable[1] == true) {
channelsAvailable[1] = false;
delete channel2;
channel2 = new Sound();
channel2.loadSound(urlPath, false);
channel2.setVolume(externalSoundVolume);
channel2.onLoad = function (loadedOK) {
if (loadedOK) {
this.start();
}
};
channel2.onSoundComplete = function () {
thisRef.CleanSounds(1);
};
} else {
channelsAvailable[0] = false;
delete channel1;
channel1 = new Sound();
channel1.loadSound(urlPath, false);
channel1.setVolume(externalSoundVolume);
channel1.onLoad = function (loadedOK) {
if (loadedOK) {
this.start();
}
};
channel1.onSoundComplete = function () {
thisRef.CleanSounds(0);
};
}
}
}
Symbol 740 MovieClip [__Packages.Music] Frame 0
class Music
{
var mySound, volume, currentTrack, inCrossfade, state, changeSongs, maxVolume, targetVolume, volumeSpeed;
function Music () {
mySound = new Sound(_root.dynamicMusicClip);
volume = 100;
currentTrack = "";
inCrossfade = false;
state = false;
changeSongs = true;
maxVolume = 60;
}
function StartFastSound() {
currentTrack = "bossMain";
mySound.stop();
mySound.attachSound(currentTrack);
volume = maxVolume;
mySound.setVolume(volume);
mySound.start(0, 2000);
state = true;
}
function SetMaxVolume(vol) {
maxVolume = vol;
}
function SetTrack(setMusic) {
if (setMusic == currentTrack) {
changeSongs = false;
} else {
changeSongs = true;
currentTrack = setMusic;
}
}
function Play() {
mySound.stop();
mySound.attachSound(currentTrack);
volume = maxVolume;
mySound.setVolume(volume);
mySound.start(0, 2000);
state = true;
}
function Stop() {
mySound.stop();
state = false;
}
function PlayWithCrossFade(secondDuration) {
if (changeSongs == true) {
if (state == true) {
inCrossfade = true;
targetVolume = 0;
var _local2 = secondDuration * 30;
volumeSpeed = (targetVolume - volume) / (_local2 / 2);
} else {
mySound.stop();
mySound.attachSound(currentTrack);
if (currentTrack != "bossIntro") {
mySound.start(0, 2000);
} else {
mySound.start(0, 0);
var thisRef = this;
mySound.onSoundComplete = function () {
thisRef.StartFastSound();
};
}
state = true;
inCrossfade = false;
targetVolume = maxVolume;
volume = 0;
mySound.setVolume(0);
var _local2 = secondDuration * 30;
volumeSpeed = (targetVolume - volume) / _local2;
}
}
}
function RunPlayer() {
if (targetVolume != volume) {
var _local2;
_local2 = volume + volumeSpeed;
if ((volumeSpeed < 0) && (_local2 < 0)) {
_local2 = 0;
} else if ((volumeSpeed > 0) && (_local2 > targetVolume)) {
_local2 = targetVolume;
}
volume = _local2;
mySound.setVolume(_local2);
}
if (inCrossfade == true) {
var thisMusic = this;
if (volume <= 0) {
volumeSpeed = volumeSpeed * -1;
inCrossfade = false;
targetVolume = maxVolume;
mySound.stop();
mySound.attachSound(currentTrack);
mySound.setVolume(0);
if (currentTrack != "bossIntro") {
mySound.start(0, 2000);
} else {
mySound.start(0, 0);
mySound.onSoundComplete = function () {
thisMusic.StartFastSound();
};
}
state = true;
}
}
}
}
Symbol 741 MovieClip [__Packages.Particle] Frame 0
class Particle extends MovieClip
{
var _objectType, _order, _subType, arrPieces, arrArrows, blnArrows, blnReflection, _x, _y, gotoAndStop, _name, getDepth;
function Particle () {
super();
_objectType = 0;
_order = 0;
_subType = 0;
arrPieces = new Array();
arrArrows = new Array();
blnArrows = false;
blnReflection = false;
Configure();
}
function Configure() {
}
function ArrowsOn(arrowDepth, X, Y) {
if (blnArrows == false) {
var _local8 = new Vector();
_local8._x = X - _x;
_local8._y = Y - _y;
var _local9 = Math.atan2(_local8._y, _local8._x);
var _local7 = (360 * _local9) / (Math.PI*2);
var _local4 = 0;
while (_local4 < arrPieces.length) {
var _local6 = _local7 + arrPieces[_local4].launchAngle;
var _local3 = "arrow_" + arrowDepth;
_root.attachMovie("arrow", _local3, arrowDepth);
arrArrows.push(_local3);
arrowDepth++;
_root.game.NextArrowDepth();
_root[_local3]._x = _x;
_root[_local3]._y = _y;
_root[_local3]._rotation = _local6;
_local4++;
}
blnArrows = true;
} else {
var _local8 = new Vector();
_local8._x = X - _x;
_local8._y = Y - _y;
var _local9 = Math.atan2(_local8._y, _local8._x);
var _local7 = (360 * _local9) / (Math.PI*2);
var _local4 = 0;
while (_local4 < arrPieces.length) {
var _local6 = _local7 + arrPieces[_local4].launchAngle;
_root[arrArrows[_local4]]._rotation = _local6;
_local4++;
}
}
}
function ArrowsOff() {
if (blnArrows == true) {
var _local3 = 0;
while (_local3 < arrArrows.length) {
_root[arrArrows[_local3]].removeMovieClip();
_local3++;
}
delete arrArrows;
arrArrows = new Array();
blnArrows = false;
}
}
function ResetRainbow() {
if (_objectType == 16) {
var _local2 = "";
switch (_subType) {
case 1 :
_local2 = "blue";
break;
case 2 :
_local2 = "purple";
break;
case 3 :
_local2 = "red";
break;
case 4 :
_local2 = "green";
break;
case 5 :
_local2 = "orange";
break;
case 6 :
_local2 = "black";
break;
case 7 :
_local2 = "yellow";
}
gotoAndStop(_local2);
}
}
function RainbowChange() {
if (_objectType == 16) {
_subType++;
if (_subType > 7) {
_subType = 1;
}
delete arrPieces;
arrPieces = new Array();
var _local2 = "";
switch (_subType) {
case 1 :
arrPieces.push({launchAngle:90});
arrPieces.push({launchAngle:-90});
_local2 = "blue";
break;
case 2 :
arrPieces.push({launchAngle:135});
_local2 = "purple";
break;
case 3 :
arrPieces.push({launchAngle:20});
arrPieces.push({launchAngle:-20});
_local2 = "red";
break;
case 4 :
arrPieces.push({launchAngle:0});
arrPieces.push({launchAngle:30});
arrPieces.push({launchAngle:60});
arrPieces.push({launchAngle:90});
arrPieces.push({launchAngle:120});
arrPieces.push({launchAngle:150});
arrPieces.push({launchAngle:180});
arrPieces.push({launchAngle:210});
arrPieces.push({launchAngle:240});
arrPieces.push({launchAngle:270});
arrPieces.push({launchAngle:300});
arrPieces.push({launchAngle:330});
_local2 = "green";
break;
case 5 :
arrPieces.push({launchAngle:180});
arrPieces.push({launchAngle:-60});
arrPieces.push({launchAngle:60});
_local2 = "orange";
break;
case 6 :
_local2 = "black";
break;
case 7 :
arrPieces.push({launchAngle:160});
arrPieces.push({launchAngle:-160});
_local2 = "yellow";
}
ArrowsOff();
gotoAndStop(_local2);
}
return(_subType);
}
function Collision(startX, startY) {
var _local7 = new Vector();
_local7._x = startX - _x;
_local7._y = startY - _y;
var _local8 = Math.atan2(_local7._y, _local7._x);
var _local6 = (360 * _local8) / (Math.PI*2);
var _local5 = 0;
while (_local5 < arrPieces.length) {
var _local4 = _local6 + arrPieces[_local5].launchAngle;
var _local3 = new Vector();
_local3._x = Math.cos((Math.PI * _local4) / 180) * _root.game.intParticleSpeed;
_local3._y = Math.sin((Math.PI * _local4) / 180) * _root.game.intParticleSpeed;
_root.game.LaunchProjectile(_local3._x, _local3._y, _x, _y, _local4);
_local5++;
}
}
function CreateReflectionStar() {
if (_objectType != 18) {
_root.water.container_mc.attachMovie("reflection_star", _name, getDepth());
blnReflection = true;
MoveReflection();
}
}
function MoveReflection() {
if (blnReflection == true) {
var intRatioHeight = (_y / (_root.backgrounder._height - _root.backgrounder._y));
intRatioHeight = (intRatioHeight * _root.water.container_mc._height) - 0;
intRatioHeight = (_root.water.container_mc._height - 0) - intRatioHeight;
var mcReflection = eval ("_root.water.container_mc." + _name);
mcReflection._x = _x;
mcReflection._y = intRatioHeight;
}
}
function ChangeReflectionState(myFrame) {
if (blnReflection == true) {
var mcReflect = eval ("_root.water.container_mc." + _name);
mcReflect.gotoAndStop(myFrame);
}
}
function RemoveReflection() {
if (blnReflection == true) {
var mcReflect = eval ("_root.water.container_mc." + _name);
mcReflect.removeMovieClip();
}
}
}
Symbol 742 MovieClip [__Packages.Vector] Frame 0
class Vector
{
var _x, _y;
function Vector () {
_x = 0;
_y = 0;
}
function Add(rightSide) {
_x = _x + rightSide._x;
_y = _y + rightSide._y;
}
function Scale(magnitude) {
_x = _x * magnitude;
_y = _y * magnitude;
}
function GetLength() {
var _local2 = (_x * _x) + (_y * _y);
return(Math.sqrt(_local2));
}
function ConvertToUnitVector() {
var _local2 = GetLength();
if (_local2 != 0) {
_x = _x / _local2;
_y = _y / _local2;
}
}
function GetAngle() {
var _local2 = Math.atan2(_y, _x);
var _local3 = (360 * _local2) / (Math.PI*2);
return(_local3);
}
function CreateVectorTowardsAngle(dblGivenAngle) {
dblGivenAngle = (dblGivenAngle * Math.PI) / 180;
_x = Math.cos(dblGivenAngle) * 1;
_y = Math.sin(dblGivenAngle) * 1;
}
function VecToAngle(dblGivenAngle, dblGivenScale) {
CreateVectorTowardsAngle(dblGivenAngle);
Scale(dblGivenScale);
}
function AngleToAlign(dblGivenAngle, dblVelocity, dblTurnSpeed) {
var _local5 = 0;
var _local2 = GetAngle();
var _local3 = 0;
var _local6 = "";
if (dblGivenAngle >= 0) {
_local5 = dblGivenAngle - 180;
if ((_local2 < dblGivenAngle) && (_local2 > _local5)) {
_local3 = (-dblTurnSpeed) * dblVelocity;
_local6 = _local6 + (((((" AAA " + dblGivenAngle) + " ") + _local2) + " ") + _local3);
if ((_local2 - dblGivenAngle) > _local3) {
_local3 = _local2 - dblGivenAngle;
}
} else {
_local3 = dblTurnSpeed * dblVelocity;
_local6 = _local6 + (((((" BBB " + dblGivenAngle) + " ") + _local2) + " ") + _local3);
if (_local2 >= 0) {
if (_local2 != _local5) {
if ((_local2 - dblGivenAngle) < _local3) {
_local3 = _local2 - dblGivenAngle;
}
}
}
}
} else {
_local5 = dblGivenAngle + 180;
if ((_local2 < _local5) && (_local2 > dblGivenAngle)) {
_local3 = dblTurnSpeed * dblVelocity;
_local6 = _local6 + (((((" CCC " + dblGivenAngle) + " ") + _local2) + " ") + _local3);
if ((_local2 - dblGivenAngle) < _local3) {
_local3 = _local2 - dblGivenAngle;
}
} else {
_local3 = (-dblTurnSpeed) * dblVelocity;
_local6 = _local6 + (((((" DDD " + dblGivenAngle) + " ") + _local2) + " ") + _local3);
if (_local2 < 0) {
if ((_local2 - dblGivenAngle) > _local3) {
_local3 = _local2 - dblGivenAngle;
}
}
}
}
if (Math.abs(_local3) > 30) {
} else if (_local2 == 0) {
}
return(_local3);
}
function Print() {
}
}
Symbol 743 MovieClip [__Packages.Particle_14] Frame 0
class Particle_14 extends Particle
{
var _objectType;
function Particle_14 () {
super();
}
function Configure() {
_objectType = 14;
}
}
Symbol 744 MovieClip [__Packages.Particle_11] Frame 0
class Particle_11 extends Particle
{
var _objectType;
function Particle_11 () {
super();
}
function Configure() {
_objectType = 11;
}
}
Symbol 745 MovieClip [__Packages.Particle_12] Frame 0
class Particle_12 extends Particle
{
var _objectType;
function Particle_12 () {
super();
}
function Configure() {
_objectType = 12;
}
}
Symbol 746 MovieClip [__Packages.Particle_6] Frame 0
class Particle_6 extends Particle
{
var _objectType;
function Particle_6 () {
super();
}
function Configure() {
_objectType = 6;
}
}
Symbol 747 MovieClip [__Packages.Particle_7] Frame 0
class Particle_7 extends Particle
{
var _objectType, arrPieces;
function Particle_7 () {
super();
}
function Configure() {
_objectType = 7;
arrPieces.push({launchAngle:160});
arrPieces.push({launchAngle:-160});
}
}
Symbol 748 MovieClip [__Packages.Particle_4] Frame 0
class Particle_4 extends Particle
{
var _objectType, arrPieces;
function Particle_4 () {
super();
}
function Configure() {
_objectType = 4;
arrPieces.push({launchAngle:0});
arrPieces.push({launchAngle:30});
arrPieces.push({launchAngle:60});
arrPieces.push({launchAngle:90});
arrPieces.push({launchAngle:120});
arrPieces.push({launchAngle:150});
arrPieces.push({launchAngle:180});
arrPieces.push({launchAngle:210});
arrPieces.push({launchAngle:240});
arrPieces.push({launchAngle:270});
arrPieces.push({launchAngle:300});
arrPieces.push({launchAngle:330});
}
}
Symbol 749 MovieClip [__Packages.Particle_5] Frame 0
class Particle_5 extends Particle
{
var _objectType, arrPieces;
function Particle_5 () {
super();
}
function Configure() {
_objectType = 5;
arrPieces.push({launchAngle:180});
arrPieces.push({launchAngle:-60});
arrPieces.push({launchAngle:60});
}
}
Symbol 750 MovieClip [__Packages.Particle_1] Frame 0
class Particle_1 extends Particle
{
var _objectType, arrPieces;
function Particle_1 () {
super();
}
function Configure() {
_objectType = 1;
arrPieces.push({launchAngle:90});
arrPieces.push({launchAngle:-90});
}
}
Symbol 751 MovieClip [__Packages.Particle_3] Frame 0
class Particle_3 extends Particle
{
var _objectType, arrPieces;
function Particle_3 () {
super();
}
function Configure() {
_objectType = 3;
arrPieces.push({launchAngle:20});
arrPieces.push({launchAngle:-20});
}
}
Symbol 752 MovieClip [__Packages.Particle_2] Frame 0
class Particle_2 extends Particle
{
var _objectType, arrPieces;
function Particle_2 () {
super();
}
function Configure() {
_objectType = 2;
arrPieces.push({launchAngle:135});
}
}
Symbol 753 MovieClip [__Packages.Particle_15] Frame 0
class Particle_15 extends Particle
{
var _objectType;
function Particle_15 () {
super();
}
function Configure() {
_objectType = 15;
}
}
Symbol 754 MovieClip [__Packages.Particle_16] Frame 0
class Particle_16 extends Particle
{
var _objectType;
function Particle_16 () {
super();
}
function Configure() {
_objectType = 16;
}
}
Symbol 755 MovieClip [__Packages.Particle_18] Frame 0
class Particle_18 extends Particle
{
var _objectType;
function Particle_18 () {
super();
}
function Configure() {
_objectType = 18;
}
}
Symbol 756 MovieClip [__Packages.Particle_10] Frame 0
class Particle_10 extends Particle
{
var _objectType;
function Particle_10 () {
super();
}
function Configure() {
_objectType = 10;
}
}
Symbol 757 MovieClip [__Packages.Particle_9] Frame 0
class Particle_9 extends Particle
{
var _objectType;
function Particle_9 () {
super();
}
function Configure() {
_objectType = 9;
}
}
Symbol 758 MovieClip [__Packages.Particle_8] Frame 0
class Particle_8 extends Particle
{
var _objectType;
function Particle_8 () {
super();
}
function Configure() {
_objectType = 8;
}
}
Symbol 759 MovieClip [__Packages.Particle_13] Frame 0
class Particle_13 extends Particle
{
var _objectType;
function Particle_13 () {
super();
}
function Configure() {
_objectType = 13;
}
}
Symbol 760 MovieClip [__Packages.LevelManager] Frame 0
class LevelManager
{
function LevelManager () {
}
function GetLevelXML(intGivenLevel) {
var _local1 = "";
switch (intGivenLevel) {
case 1 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100042\" author=\"Hero Interactive\" title=\"\" difficulty=\"1\" hintOne=\"0\" hintTwo=\"0\" hintThree=\"2\" solution=\"1\" angle=\"-57.9612584261667\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"1\" order=\"0\" xCoord=\"275\" yCoord=\"290\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"345\" yCoord=\"333\" /></puzzle_objects></starshine_puzzle>";
break;
case 2 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100043\" author=\"Hero Interactive\" title=\"\" difficulty=\"1\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"126.589333854392\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"1\" order=\"0\" xCoord=\"372\" yCoord=\"145\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"443\" yCoord=\"195\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"320\" yCoord=\"360\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"120\" yCoord=\"218\" /></puzzle_objects></starshine_puzzle>";
break;
case 3 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100044\" author=\"Hero Interactive\" title=\"\" difficulty=\"1\" hintOne=\"0\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"119.814801756019\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"355\" yCoord=\"152\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"391\" yCoord=\"287\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"161\" yCoord=\"341\" /></puzzle_objects></starshine_puzzle>";
break;
case 4 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100045\" author=\"Hero Interactive\" title=\"\" difficulty=\"2\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"120.561269352096\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"255\" yCoord=\"307\" /><object id=\"2\" type=\"2\" order=\"0\" xCoord=\"271\" yCoord=\"377\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"342\" yCoord=\"418\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"395\" yCoord=\"348\" /><object id=\"5\" type=\"1\" order=\"0\" xCoord=\"334\" yCoord=\"315\" /><object id=\"6\" type=\"2\" order=\"0\" xCoord=\"415\" yCoord=\"157\" /></puzzle_objects></starshine_puzzle>";
break;
case 5 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100046\" author=\"Hero Interactive\" title=\"\" difficulty=\"3\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-26.4126067693704\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"389\" yCoord=\"205\" /><object id=\"2\" type=\"2\" order=\"0\" xCoord=\"402\" yCoord=\"143\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"357\" yCoord=\"92\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"292\" yCoord=\"97\" /><object id=\"5\" type=\"2\" order=\"0\" xCoord=\"251\" yCoord=\"142\" /><object id=\"6\" type=\"2\" order=\"0\" xCoord=\"259\" yCoord=\"205\" /><object id=\"7\" type=\"4\" order=\"0\" xCoord=\"440\" yCoord=\"344\" /></puzzle_objects></starshine_puzzle>";
break;
case 6 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100058\" author=\"Hero Interactive\" title=\"\" difficulty=\"1\" hintOne=\"0\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"173.73221719784\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"3\" order=\"0\" xCoord=\"148\" yCoord=\"264\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"417\" yCoord=\"320\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"416\" yCoord=\"119\" /></puzzle_objects></starshine_puzzle>";
break;
case 7 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100059\" author=\"Hero Interactive\" title=\"\" difficulty=\"2\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"1\" solution=\"2\" angle=\"113.919892858912\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"3\" order=\"0\" xCoord=\"249\" yCoord=\"142\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"233\" yCoord=\"375\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"320\" yCoord=\"390\" /><object id=\"4\" type=\"6\" order=\"0\" xCoord=\"365\" yCoord=\"412\" /></puzzle_objects></starshine_puzzle>";
break;
case 8 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100060\" author=\"HeroInteractive\" title=\"\" difficulty=\"5\" hintOne=\"4\" hintTwo=\"2\" hintThree=\"1\" solution=\"3\" angle=\"152.566986217341\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"3\" order=\"0\" xCoord=\"415\" yCoord=\"128\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"175\" yCoord=\"269\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"343\" yCoord=\"216\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"253\" yCoord=\"163\" /><object id=\"5\" type=\"1\" order=\"0\" xCoord=\"236\" yCoord=\"89\" /><object id=\"6\" type=\"2\" order=\"0\" xCoord=\"150\" yCoord=\"108\" /><object id=\"7\" type=\"2\" order=\"0\" xCoord=\"111\" yCoord=\"188\" /><object id=\"8\" type=\"2\" order=\"0\" xCoord=\"165\" yCoord=\"353\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"256\" yCoord=\"395\" /></puzzle_objects></starshine_puzzle>";
break;
case 9 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100061\" author=\"Hero Interactive\" title=\"\" difficulty=\"2\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"1\" solution=\"2\" angle=\"150.871528350229\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"3\" order=\"0\" xCoord=\"301\" yCoord=\"115\" /><object id=\"2\" type=\"5\" order=\"0\" xCoord=\"301\" yCoord=\"240\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"238\" yCoord=\"318\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"300\" yCoord=\"423\" /></puzzle_objects></starshine_puzzle>";
break;
case 10 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100062\" author=\"Hero Interactive\" title=\"\" difficulty=\"2\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"88.7150274730877\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"7\" order=\"0\" xCoord=\"297\" yCoord=\"145\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"214\" yCoord=\"402\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"165\" yCoord=\"376\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"337\" yCoord=\"51\" /></puzzle_objects></starshine_puzzle>";
break;
case 11 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100064\" author=\"Hero Interactive\" title=\"\" difficulty=\"3\" hintOne=\"5\" hintTwo=\"1\" hintThree=\"2\" solution=\"3\" angle=\"52.0997232461767\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"195\" yCoord=\"287\" /><object id=\"2\" type=\"5\" order=\"0\" xCoord=\"385\" yCoord=\"161\" /><object id=\"3\" type=\"5\" order=\"0\" xCoord=\"335\" yCoord=\"275\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"310\" yCoord=\"37\" /><object id=\"5\" type=\"2\" order=\"0\" xCoord=\"118\" yCoord=\"189\" /></puzzle_objects></starshine_puzzle>";
break;
case 12 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100063\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"10\" hintTwo=\"2\" hintThree=\"3\" solution=\"1\" angle=\"-139.47409262348\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"7\" order=\"0\" xCoord=\"387\" yCoord=\"309\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"151\" yCoord=\"217\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"273\" yCoord=\"103\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"471\" yCoord=\"220\" /><object id=\"5\" type=\"2\" order=\"0\" xCoord=\"488\" yCoord=\"196\" /><object id=\"6\" type=\"2\" order=\"0\" xCoord=\"490\" yCoord=\"167\" /><object id=\"7\" type=\"2\" order=\"0\" xCoord=\"473\" yCoord=\"143\" /><object id=\"8\" type=\"2\" order=\"0\" xCoord=\"447\" yCoord=\"136\" /><object id=\"9\" type=\"2\" order=\"0\" xCoord=\"418\" yCoord=\"147\" /><object id=\"10\" type=\"5\" order=\"0\" xCoord=\"311\" yCoord=\"422\" /><object id=\"11\" type=\"4\" order=\"0\" xCoord=\"279\" yCoord=\"435\" /></puzzle_objects></starshine_puzzle>";
break;
case 13 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100065\" author=\"Hero Interactive\" title=\"\" difficulty=\"2\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"128.710998094227\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"197\" yCoord=\"371\" /><object id=\"2\" type=\"2\" order=\"0\" xCoord=\"387\" yCoord=\"393\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"416\" yCoord=\"379\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"426\" yCoord=\"348\" /><object id=\"5\" type=\"4\" order=\"0\" xCoord=\"292\" yCoord=\"95\" /></puzzle_objects></starshine_puzzle>";
break;
case 14 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100066\" author=\"Hero Interactive\" title=\"\" difficulty=\"4\" hintOne=\"8\" hintTwo=\"2\" hintThree=\"3\" solution=\"1\" angle=\"-87.9017114656468\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"7\" order=\"0\" xCoord=\"294\" yCoord=\"383\" /><object id=\"2\" type=\"7\" order=\"0\" xCoord=\"324\" yCoord=\"328\" /><object id=\"3\" type=\"7\" order=\"0\" xCoord=\"271\" yCoord=\"330\" /><object id=\"4\" type=\"6\" order=\"0\" xCoord=\"305\" yCoord=\"60\" /><object id=\"5\" type=\"6\" order=\"0\" xCoord=\"350\" yCoord=\"60\" /><object id=\"6\" type=\"6\" order=\"0\" xCoord=\"252\" yCoord=\"60\" /><object id=\"7\" type=\"6\" order=\"0\" xCoord=\"487\" yCoord=\"190\" /><object id=\"8\" type=\"6\" order=\"0\" xCoord=\"119\" yCoord=\"178\" /></puzzle_objects></starshine_puzzle>";
break;
case 15 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100067\" author=\"Hero Interactive\" title=\"\" difficulty=\"2\" hintOne=\"1\" hintTwo=\"5\" hintThree=\"3\" solution=\"4\" angle=\"-1.02256208206965\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"6\" order=\"0\" xCoord=\"299\" yCoord=\"410\" /><object id=\"2\" type=\"6\" order=\"0\" xCoord=\"389\" yCoord=\"310\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"142\" yCoord=\"239\" /><object id=\"4\" type=\"6\" order=\"0\" xCoord=\"105\" yCoord=\"244\" /><object id=\"5\" type=\"13\" order=\"0\" xCoord=\"229\" yCoord=\"144\" /></puzzle_objects></starshine_puzzle>";
break;
case 16 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100068\" author=\"Hero Interactive\" title=\"\" difficulty=\"7\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"90.1180002944062\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"1\" order=\"0\" xCoord=\"302\" yCoord=\"32\" /><object id=\"2\" type=\"2\" order=\"0\" xCoord=\"264\" yCoord=\"36\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"93\" yCoord=\"248\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"95\" yCoord=\"274\" /><object id=\"5\" type=\"2\" order=\"0\" xCoord=\"120\" yCoord=\"293\" /><object id=\"6\" type=\"3\" order=\"0\" xCoord=\"506\" yCoord=\"235\" /><object id=\"7\" type=\"3\" order=\"0\" xCoord=\"115\" yCoord=\"150\" /><object id=\"8\" type=\"3\" order=\"0\" xCoord=\"438\" yCoord=\"94\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"214\" yCoord=\"49\" /><object id=\"10\" type=\"3\" order=\"0\" xCoord=\"503\" yCoord=\"214\" /><object id=\"11\" type=\"3\" order=\"0\" xCoord=\"202\" yCoord=\"158\" /><object id=\"12\" type=\"10\" order=\"0\" xCoord=\"433\" yCoord=\"304\" /></puzzle_objects></starshine_puzzle>";
break;
case 17 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100081\" author=\"Hero Interactive\" title=\"\" difficulty=\"4\" hintOne=\"5\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-51.9893209141332\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"7\" order=\"0\" xCoord=\"335\" yCoord=\"195\" /><object id=\"2\" type=\"7\" order=\"0\" xCoord=\"391\" yCoord=\"159\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"370\" yCoord=\"72\" /><object id=\"4\" type=\"7\" order=\"0\" xCoord=\"248\" yCoord=\"234\" /><object id=\"5\" type=\"7\" order=\"0\" xCoord=\"380\" yCoord=\"218\" /><object id=\"6\" type=\"14\" order=\"0\" xCoord=\"333\" yCoord=\"398\" /><object id=\"7\" type=\"14\" order=\"0\" xCoord=\"149\" yCoord=\"283\" /></puzzle_objects></starshine_puzzle>";
break;
case 18 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100082\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"9\" hintTwo=\"2\" hintThree=\"8\" solution=\"1\" angle=\"-52.8783350894804\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"1\" order=\"0\" xCoord=\"232\" yCoord=\"331\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"375\" yCoord=\"153\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"276\" yCoord=\"74\" /><object id=\"4\" type=\"3\" order=\"0\" xCoord=\"443\" yCoord=\"331\" /><object id=\"5\" type=\"3\" order=\"0\" xCoord=\"245\" yCoord=\"188\" /><object id=\"6\" type=\"3\" order=\"0\" xCoord=\"320\" yCoord=\"287\" /><object id=\"7\" type=\"3\" order=\"0\" xCoord=\"176\" yCoord=\"195\" /><object id=\"8\" type=\"3\" order=\"0\" xCoord=\"312\" yCoord=\"394\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"156\" yCoord=\"347\" /></puzzle_objects></starshine_puzzle>";
break;
case 19 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100083\" author=\"Hero Interactive\" title=\"\" difficulty=\"4\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-26.2953431960649\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"344\" yCoord=\"211\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"377\" yCoord=\"103\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"387\" yCoord=\"295\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"419\" yCoord=\"328\" /><object id=\"5\" type=\"3\" order=\"0\" xCoord=\"472\" yCoord=\"321\" /><object id=\"6\" type=\"1\" order=\"0\" xCoord=\"203\" yCoord=\"330\" /><object id=\"7\" type=\"2\" order=\"0\" xCoord=\"265\" yCoord=\"369\" /><object id=\"8\" type=\"2\" order=\"0\" xCoord=\"322\" yCoord=\"353\" /><object id=\"9\" type=\"4\" order=\"0\" xCoord=\"446\" yCoord=\"121\" /><object id=\"10\" type=\"4\" order=\"0\" xCoord=\"123\" yCoord=\"244\" /></puzzle_objects></starshine_puzzle>";
break;
case 20 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100084\" author=\"Hero Interactive\" title=\"\" difficulty=\"1\" hintOne=\"0\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-58.615801665357\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"3\" order=\"1\" xCoord=\"355\" yCoord=\"142\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"325\" yCoord=\"325\" /><object id=\"3\" type=\"2\" order=\"2\" xCoord=\"255\" yCoord=\"316\" /></puzzle_objects></starshine_puzzle>";
break;
case 21 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100085\" author=\"Hero Interactive\" title=\"\" difficulty=\"3\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-13.9567455453695\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"219\" yCoord=\"258\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"289\" yCoord=\"140\" /><object id=\"3\" type=\"1\" order=\"1\" xCoord=\"247\" yCoord=\"353\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"348\" yCoord=\"366\" /><object id=\"5\" type=\"2\" order=\"2\" xCoord=\"347\" yCoord=\"308\" /><object id=\"6\" type=\"4\" order=\"3\" xCoord=\"243\" yCoord=\"219\" /></puzzle_objects></starshine_puzzle>";
break;
case 22 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100086\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"10\" hintTwo=\"9\" hintThree=\"21\" solution=\"20\" angle=\"-51.5511231430385\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"1\" xCoord=\"364\" yCoord=\"302\" /><object id=\"2\" type=\"2\" order=\"2\" xCoord=\"390\" yCoord=\"244\" /><object id=\"3\" type=\"2\" order=\"3\" xCoord=\"367\" yCoord=\"176\" /><object id=\"4\" type=\"2\" order=\"4\" xCoord=\"305\" yCoord=\"146\" /><object id=\"5\" type=\"2\" order=\"5\" xCoord=\"238\" yCoord=\"174\" /><object id=\"6\" type=\"2\" order=\"6\" xCoord=\"206\" yCoord=\"244\" /><object id=\"7\" type=\"2\" order=\"7\" xCoord=\"233\" yCoord=\"301\" /><object id=\"8\" type=\"2\" order=\"8\" xCoord=\"300\" yCoord=\"327\" /><object id=\"9\" type=\"7\" order=\"0\" xCoord=\"305\" yCoord=\"397\" /><object id=\"10\" type=\"7\" order=\"0\" xCoord=\"391\" yCoord=\"90\" /><object id=\"11\" type=\"7\" order=\"0\" xCoord=\"448\" yCoord=\"318\" /><object id=\"12\" type=\"7\" order=\"0\" xCoord=\"167\" yCoord=\"140\" /><object id=\"13\" type=\"7\" order=\"0\" xCoord=\"143\" yCoord=\"309\" /><object id=\"14\" type=\"7\" order=\"0\" xCoord=\"445\" yCoord=\"159\" /><object id=\"15\" type=\"7\" order=\"0\" xCoord=\"233\" yCoord=\"83\" /><object id=\"16\" type=\"7\" order=\"0\" xCoord=\"399\" yCoord=\"367\" /><object id=\"17\" type=\"7\" order=\"0\" xCoord=\"464\" yCoord=\"240\" /><object id=\"18\" type=\"7\" order=\"0\" xCoord=\"308\" yCoord=\"73\" /><object id=\"19\" type=\"7\" order=\"0\" xCoord=\"129\" yCoord=\"226\" /><object id=\"20\" type=\"7\" order=\"0\" xCoord=\"205\" yCoord=\"375\" /><object id=\"21\" type=\"14\" order=\"0\" xCoord=\"300\" yCoord=\"239\" /></puzzle_objects></starshine_puzzle>";
break;
case 23 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100090\" author=\"Hero Interactive\" title=\"\" difficulty=\"6.67\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-132.393648589017\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"236\" yCoord=\"164\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"295\" yCoord=\"156\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"174\" yCoord=\"219\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"159\" yCoord=\"283\" /><object id=\"5\" type=\"1\" order=\"0\" xCoord=\"248\" yCoord=\"416\" /><object id=\"6\" type=\"1\" order=\"0\" xCoord=\"433\" yCoord=\"292\" /><object id=\"7\" type=\"3\" order=\"0\" xCoord=\"295\" yCoord=\"91\" /><object id=\"8\" type=\"1\" order=\"0\" xCoord=\"373\" yCoord=\"403\" /><object id=\"9\" type=\"1\" order=\"0\" xCoord=\"314\" yCoord=\"419\" /></puzzle_objects></starshine_puzzle>";
break;
case 24 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100092\" author=\"Hero Interactive\" title=\"\" difficulty=\"8\" hintOne=\"5\" hintTwo=\"2\" hintThree=\"4\" solution=\"1\" angle=\"-145.989888284765\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"239\" yCoord=\"194\" /><object id=\"2\" type=\"5\" order=\"0\" xCoord=\"382\" yCoord=\"135\" /><object id=\"3\" type=\"4\" order=\"0\" xCoord=\"379\" yCoord=\"203\" /><object id=\"4\" type=\"6\" order=\"0\" xCoord=\"166\" yCoord=\"142\" /><object id=\"5\" type=\"6\" order=\"0\" xCoord=\"220\" yCoord=\"384\" /><object id=\"6\" type=\"6\" order=\"0\" xCoord=\"433\" yCoord=\"113\" /><object id=\"7\" type=\"6\" order=\"0\" xCoord=\"331\" yCoord=\"95\" /><object id=\"8\" type=\"6\" order=\"0\" xCoord=\"390\" yCoord=\"74\" /><object id=\"9\" type=\"6\" order=\"0\" xCoord=\"416\" yCoord=\"152\" /><object id=\"10\" type=\"6\" order=\"0\" xCoord=\"483\" yCoord=\"217\" /><object id=\"11\" type=\"6\" order=\"0\" xCoord=\"359\" yCoord=\"410\" /><object id=\"12\" type=\"6\" order=\"0\" xCoord=\"136\" yCoord=\"189\" /><object id=\"13\" type=\"6\" order=\"0\" xCoord=\"424\" yCoord=\"238\" /><object id=\"14\" type=\"6\" order=\"0\" xCoord=\"411\" yCoord=\"271\" /><object id=\"15\" type=\"6\" order=\"0\" xCoord=\"281\" yCoord=\"358\" /><object id=\"16\" type=\"6\" order=\"0\" xCoord=\"165\" yCoord=\"306\" /><object id=\"17\" type=\"6\" order=\"0\" xCoord=\"274\" yCoord=\"137\" /><object id=\"18\" type=\"6\" order=\"0\" xCoord=\"297\" yCoord=\"54\" /><object id=\"19\" type=\"6\" order=\"0\" xCoord=\"468\" yCoord=\"154\" /></puzzle_objects></starshine_puzzle>";
break;
case 25 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100093\" author=\"Hero Interactive\" title=\"\" difficulty=\"7\" hintOne=\"3\" hintTwo=\"9\" hintThree=\"2\" solution=\"1\" angle=\"-74.0800766242589\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"279\" yCoord=\"284\" /><object id=\"2\" type=\"5\" order=\"0\" xCoord=\"185\" yCoord=\"309\" /><object id=\"3\" type=\"6\" order=\"0\" xCoord=\"385\" yCoord=\"384\" /><object id=\"4\" type=\"5\" order=\"0\" xCoord=\"222\" yCoord=\"134\" /><object id=\"5\" type=\"6\" order=\"0\" xCoord=\"138\" yCoord=\"162\" /><object id=\"6\" type=\"5\" order=\"0\" xCoord=\"352\" yCoord=\"257\" /><object id=\"7\" type=\"5\" order=\"0\" xCoord=\"365\" yCoord=\"178\" /><object id=\"8\" type=\"5\" order=\"0\" xCoord=\"428\" yCoord=\"232\" /><object id=\"9\" type=\"6\" order=\"0\" xCoord=\"146\" yCoord=\"323\" /><object id=\"10\" type=\"6\" order=\"0\" xCoord=\"315\" yCoord=\"274\" /><object id=\"11\" type=\"6\" order=\"0\" xCoord=\"462\" yCoord=\"257\" /><object id=\"12\" type=\"6\" order=\"0\" xCoord=\"375\" yCoord=\"93\" /><object id=\"13\" type=\"6\" order=\"0\" xCoord=\"323\" yCoord=\"59\" /><object id=\"14\" type=\"6\" order=\"0\" xCoord=\"392\" yCoord=\"244\" /></puzzle_objects></starshine_puzzle>";
break;
case 26 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100094\" author=\"Hero Interactive\" title=\"\" difficulty=\"3\" hintOne=\"3\" hintTwo=\"2\" hintThree=\"4\" solution=\"1\" angle=\"-150.102234903467\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"275\" yCoord=\"216\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"128\" yCoord=\"336\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"260\" yCoord=\"415\" /><object id=\"4\" type=\"16\" order=\"0\" xCoord=\"191\" yCoord=\"238\" /></puzzle_objects></starshine_puzzle>";
break;
case 27 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100095\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"7\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-59.4387306479037\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"1\" order=\"0\" xCoord=\"234\" yCoord=\"346\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"348\" yCoord=\"136\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"439\" yCoord=\"184\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"240\" yCoord=\"60\" /><object id=\"5\" type=\"1\" order=\"0\" xCoord=\"156\" yCoord=\"227\" /><object id=\"6\" type=\"1\" order=\"0\" xCoord=\"234\" yCoord=\"267\" /><object id=\"7\" type=\"16\" order=\"0\" xCoord=\"404\" yCoord=\"249\" /><object id=\"8\" type=\"16\" order=\"0\" xCoord=\"196\" yCoord=\"146\" /></puzzle_objects></starshine_puzzle>";
break;
case 28 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100100\" author=\"Hero Interactive\" title=\"\" difficulty=\"8\" hintOne=\"8\" hintTwo=\"7\" hintThree=\"4\" solution=\"1\" angle=\"157.714014532113\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"13\" order=\"0\" xCoord=\"453\" yCoord=\"176\" /><object id=\"2\" type=\"16\" order=\"0\" xCoord=\"178\" yCoord=\"281\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"151\" yCoord=\"353\" /><object id=\"4\" type=\"6\" order=\"0\" xCoord=\"288\" yCoord=\"189\" /><object id=\"5\" type=\"5\" order=\"0\" xCoord=\"361\" yCoord=\"108\" /><object id=\"6\" type=\"1\" order=\"0\" xCoord=\"432\" yCoord=\"289\" /><object id=\"7\" type=\"6\" order=\"0\" xCoord=\"354\" yCoord=\"317\" /><object id=\"8\" type=\"6\" order=\"0\" xCoord=\"258\" yCoord=\"382\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"190\" yCoord=\"388\" /><object id=\"10\" type=\"6\" order=\"0\" xCoord=\"421\" yCoord=\"236\" /><object id=\"11\" type=\"6\" order=\"0\" xCoord=\"379\" yCoord=\"158\" /><object id=\"12\" type=\"6\" order=\"0\" xCoord=\"235\" yCoord=\"246\" /><object id=\"13\" type=\"6\" order=\"0\" xCoord=\"298\" yCoord=\"341\" /><object id=\"14\" type=\"14\" order=\"0\" xCoord=\"276\" yCoord=\"287\" /></puzzle_objects></starshine_puzzle>";
break;
case 29 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100101\" author=\"Hero Interactive\" title=\"\" difficulty=\"5\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-142.448198059857\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"7\" order=\"0\" xCoord=\"416\" yCoord=\"321\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"281\" yCoord=\"85\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"145\" yCoord=\"217\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"292\" yCoord=\"182\" /><object id=\"5\" type=\"3\" order=\"0\" xCoord=\"438\" yCoord=\"160\" /><object id=\"6\" type=\"3\" order=\"0\" xCoord=\"150\" yCoord=\"328\" /><object id=\"7\" type=\"1\" order=\"0\" xCoord=\"269\" yCoord=\"299\" /><object id=\"8\" type=\"7\" order=\"0\" xCoord=\"299\" yCoord=\"400\" /></puzzle_objects></starshine_puzzle>";
break;
case 30 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100102\" author=\"Hero Interactive\" title=\"\" difficulty=\"3\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"106.428011746758\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"1\" order=\"0\" xCoord=\"319\" yCoord=\"144\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"384\" yCoord=\"170\" /><object id=\"3\" type=\"15\" order=\"0\" xCoord=\"253\" yCoord=\"126\" /><object id=\"4\" type=\"3\" order=\"0\" xCoord=\"149\" yCoord=\"319\" /><object id=\"5\" type=\"6\" order=\"0\" xCoord=\"165\" yCoord=\"203\" /></puzzle_objects></starshine_puzzle>";
break;
case 31 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100103\" author=\"Hero Interactive\" title=\"\" difficulty=\"4\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-66.2625072370755\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"347\" yCoord=\"146\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"316\" yCoord=\"65\" /><object id=\"3\" type=\"15\" order=\"0\" xCoord=\"404\" yCoord=\"169\" /><object id=\"4\" type=\"7\" order=\"0\" xCoord=\"325\" yCoord=\"357\" /><object id=\"5\" type=\"1\" order=\"1\" xCoord=\"160\" yCoord=\"221\" /><object id=\"6\" type=\"4\" order=\"2\" xCoord=\"223\" yCoord=\"194\" /></puzzle_objects></starshine_puzzle>";
break;
case 32 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100104\" author=\"Hero Interactive\" title=\"\" difficulty=\"5\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-132.783504523386\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"171\" yCoord=\"105\" /><object id=\"2\" type=\"2\" order=\"0\" xCoord=\"134\" yCoord=\"215\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"215\" yCoord=\"386\" /><object id=\"4\" type=\"3\" order=\"1\" xCoord=\"428\" yCoord=\"274\" /><object id=\"5\" type=\"15\" order=\"0\" xCoord=\"312\" yCoord=\"390\" /><object id=\"6\" type=\"1\" order=\"0\" xCoord=\"252\" yCoord=\"295\" /><object id=\"7\" type=\"1\" order=\"2\" xCoord=\"228\" yCoord=\"60\" /><object id=\"8\" type=\"4\" order=\"3\" xCoord=\"308\" yCoord=\"291\" /><object id=\"9\" type=\"4\" order=\"4\" xCoord=\"233\" yCoord=\"169\" /></puzzle_objects></starshine_puzzle>";
break;
case 33 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100106\" author=\"Hero Interactive\" title=\"\" difficulty=\"7\" hintOne=\"2\" hintTwo=\"6\" hintThree=\"3\" solution=\"1\" angle=\"150.82439799135\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"216\" yCoord=\"294\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"146\" yCoord=\"328\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"219\" yCoord=\"222\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"170\" yCoord=\"169\" /><object id=\"5\" type=\"1\" order=\"0\" xCoord=\"243\" yCoord=\"95\" /><object id=\"6\" type=\"2\" order=\"0\" xCoord=\"277\" yCoord=\"335\" /><object id=\"7\" type=\"2\" order=\"0\" xCoord=\"344\" yCoord=\"322\" /><object id=\"8\" type=\"3\" order=\"0\" xCoord=\"381\" yCoord=\"265\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"350\" yCoord=\"401\" /><object id=\"10\" type=\"7\" order=\"0\" xCoord=\"448\" yCoord=\"260\" /><object id=\"11\" type=\"2\" order=\"0\" xCoord=\"282\" yCoord=\"131\" /><object id=\"12\" type=\"2\" order=\"0\" xCoord=\"336\" yCoord=\"135\" /><object id=\"13\" type=\"2\" order=\"0\" xCoord=\"377\" yCoord=\"96\" /></puzzle_objects></starshine_puzzle>";
break;
case 34 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100107\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"141.67192200202\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"247\" yCoord=\"290\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"238\" yCoord=\"395\" /><object id=\"3\" type=\"15\" order=\"0\" xCoord=\"182\" yCoord=\"180\" /><object id=\"4\" type=\"3\" order=\"0\" xCoord=\"367\" yCoord=\"103\" /><object id=\"5\" type=\"3\" order=\"0\" xCoord=\"305\" yCoord=\"104\" /><object id=\"6\" type=\"2\" order=\"0\" xCoord=\"176\" yCoord=\"291\" /><object id=\"7\" type=\"15\" order=\"0\" xCoord=\"171\" yCoord=\"107\" /><object id=\"8\" type=\"2\" order=\"0\" xCoord=\"393\" yCoord=\"294\" /><object id=\"9\" type=\"10\" order=\"0\" xCoord=\"467\" yCoord=\"311\" /></puzzle_objects></starshine_puzzle>";
break;
case 35 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100108\" author=\"Hero Interactive\" title=\"\" difficulty=\"1\" hintOne=\"0\" hintTwo=\"4\" hintThree=\"2\" solution=\"1\" angle=\"-125.094076922172\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"1\" order=\"0\" xCoord=\"263\" yCoord=\"172\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"149\" yCoord=\"241\" /><object id=\"3\" type=\"18\" order=\"0\" xCoord=\"235\" yCoord=\"330\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"291\" yCoord=\"355\" /></puzzle_objects></starshine_puzzle>";
break;
case 36 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100109\" author=\"Hero Interactive\" title=\"\" difficulty=\"3\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"20.5453059047467\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"426\" yCoord=\"283\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"475\" yCoord=\"263\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"413\" yCoord=\"136\" /><object id=\"4\" type=\"1\" order=\"0\" xCoord=\"262\" yCoord=\"78\" /><object id=\"5\" type=\"18\" order=\"0\" xCoord=\"206\" yCoord=\"296\" /><object id=\"6\" type=\"3\" order=\"0\" xCoord=\"254\" yCoord=\"401\" /><object id=\"7\" type=\"4\" order=\"0\" xCoord=\"236\" yCoord=\"314\" /></puzzle_objects></starshine_puzzle>";
break;
case 37 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100112\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-106.77208366633\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"270\" yCoord=\"149\" /><object id=\"2\" type=\"5\" order=\"0\" xCoord=\"184\" yCoord=\"100\" /><object id=\"3\" type=\"7\" order=\"0\" xCoord=\"187\" yCoord=\"253\" /><object id=\"4\" type=\"15\" order=\"0\" xCoord=\"153\" yCoord=\"350\" /><object id=\"5\" type=\"3\" order=\"0\" xCoord=\"405\" yCoord=\"260\" /><object id=\"6\" type=\"3\" order=\"0\" xCoord=\"380\" yCoord=\"125\" /><object id=\"7\" type=\"1\" order=\"1\" xCoord=\"127\" yCoord=\"224\" /><object id=\"8\" type=\"4\" order=\"0\" xCoord=\"429\" yCoord=\"107\" /><object id=\"9\" type=\"4\" order=\"2\" xCoord=\"292\" yCoord=\"76\" /></puzzle_objects></starshine_puzzle>";
break;
case 38 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100122\" author=\"Hero Interactive\" title=\"\" difficulty=\"9\" hintOne=\"3\" hintTwo=\"2\" hintThree=\"1\" solution=\"9\" angle=\"148.867574823651\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"178\" yCoord=\"309\" /><object id=\"2\" type=\"2\" order=\"0\" xCoord=\"179\" yCoord=\"269\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"139\" yCoord=\"225\" /><object id=\"4\" type=\"15\" order=\"0\" xCoord=\"294\" yCoord=\"70\" /><object id=\"5\" type=\"6\" order=\"0\" xCoord=\"238\" yCoord=\"153\" /><object id=\"6\" type=\"6\" order=\"0\" xCoord=\"266\" yCoord=\"155\" /><object id=\"7\" type=\"6\" order=\"0\" xCoord=\"297\" yCoord=\"153\" /><object id=\"8\" type=\"6\" order=\"0\" xCoord=\"333\" yCoord=\"153\" /><object id=\"9\" type=\"6\" order=\"0\" xCoord=\"423\" yCoord=\"156\" /><object id=\"10\" type=\"6\" order=\"0\" xCoord=\"139\" yCoord=\"152\" /><object id=\"11\" type=\"2\" order=\"0\" xCoord=\"494\" yCoord=\"216\" /><object id=\"12\" type=\"2\" order=\"0\" xCoord=\"451\" yCoord=\"325\" /><object id=\"13\" type=\"3\" order=\"0\" xCoord=\"261\" yCoord=\"117\" /><object id=\"14\" type=\"3\" order=\"0\" xCoord=\"374\" yCoord=\"428\" /><object id=\"15\" type=\"3\" order=\"0\" xCoord=\"140\" yCoord=\"118\" /><object id=\"16\" type=\"2\" order=\"0\" xCoord=\"471\" yCoord=\"311\" /><object id=\"17\" type=\"2\" order=\"0\" xCoord=\"428\" yCoord=\"100\" /><object id=\"18\" type=\"13\" order=\"0\" xCoord=\"234\" yCoord=\"420\" /></puzzle_objects></starshine_puzzle>";
break;
case 39 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100114\" author=\"Hero Interactive\" title=\"\" difficulty=\"7\" hintOne=\"6\" hintTwo=\"5\" hintThree=\"3\" solution=\"1\" angle=\"-26.6471367649186\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"7\" order=\"0\" xCoord=\"176\" yCoord=\"312\" /><object id=\"2\" type=\"18\" order=\"0\" xCoord=\"280\" yCoord=\"192\" /><object id=\"3\" type=\"1\" order=\"0\" xCoord=\"321\" yCoord=\"311\" /><object id=\"4\" type=\"3\" order=\"0\" xCoord=\"189\" yCoord=\"130\" /><object id=\"5\" type=\"1\" order=\"0\" xCoord=\"316\" yCoord=\"130\" /><object id=\"6\" type=\"3\" order=\"0\" xCoord=\"429\" yCoord=\"114\" /><object id=\"7\" type=\"1\" order=\"0\" xCoord=\"276\" yCoord=\"69\" /><object id=\"8\" type=\"3\" order=\"0\" xCoord=\"428\" yCoord=\"321\" /><object id=\"9\" type=\"5\" order=\"0\" xCoord=\"141\" yCoord=\"192\" /><object id=\"10\" type=\"3\" order=\"0\" xCoord=\"295\" yCoord=\"352\" /><object id=\"11\" type=\"7\" order=\"0\" xCoord=\"382\" yCoord=\"82\" /></puzzle_objects></starshine_puzzle>";
break;
case 40 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100123\" author=\"Hero Interactive\" title=\"\" difficulty=\"10\" hintOne=\"5\" hintTwo=\"7\" hintThree=\"4\" solution=\"2\" angle=\"133.56303871923\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"15\" order=\"0\" xCoord=\"152\" yCoord=\"234\" /><object id=\"2\" type=\"15\" order=\"0\" xCoord=\"414\" yCoord=\"123\" /><object id=\"3\" type=\"15\" order=\"0\" xCoord=\"179\" yCoord=\"76\" /><object id=\"4\" type=\"7\" order=\"0\" xCoord=\"379\" yCoord=\"170\" /><object id=\"5\" type=\"5\" order=\"0\" xCoord=\"317\" yCoord=\"354\" /><object id=\"6\" type=\"15\" order=\"0\" xCoord=\"373\" yCoord=\"409\" /><object id=\"7\" type=\"15\" order=\"0\" xCoord=\"260\" yCoord=\"290\" /><object id=\"8\" type=\"15\" order=\"0\" xCoord=\"365\" yCoord=\"67\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"279\" yCoord=\"38\" /><object id=\"10\" type=\"3\" order=\"0\" xCoord=\"432\" yCoord=\"348\" /><object id=\"11\" type=\"3\" order=\"0\" xCoord=\"484\" yCoord=\"315\" /><object id=\"12\" type=\"3\" order=\"0\" xCoord=\"112\" yCoord=\"263\" /><object id=\"13\" type=\"7\" order=\"0\" xCoord=\"407\" yCoord=\"198\" /><object id=\"14\" type=\"2\" order=\"0\" xCoord=\"454\" yCoord=\"155\" /><object id=\"15\" type=\"1\" order=\"0\" xCoord=\"147\" yCoord=\"145\" /><object id=\"16\" type=\"3\" order=\"0\" xCoord=\"115\" yCoord=\"304\" /><object id=\"17\" type=\"7\" order=\"0\" xCoord=\"341\" yCoord=\"119\" /></puzzle_objects></starshine_puzzle>";
break;
case 41 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100115\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-138.572285489447\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"3\" order=\"0\" xCoord=\"427\" yCoord=\"346\" /><object id=\"2\" type=\"3\" order=\"0\" xCoord=\"169\" yCoord=\"124\" /><object id=\"3\" type=\"2\" order=\"1\" xCoord=\"373\" yCoord=\"197\" /><object id=\"4\" type=\"1\" order=\"2\" xCoord=\"427\" yCoord=\"159\" /><object id=\"5\" type=\"5\" order=\"0\" xCoord=\"371\" yCoord=\"74\" /><object id=\"6\" type=\"5\" order=\"0\" xCoord=\"235\" yCoord=\"331\" /><object id=\"7\" type=\"3\" order=\"0\" xCoord=\"195\" yCoord=\"398\" /><object id=\"8\" type=\"6\" order=\"3\" xCoord=\"218\" yCoord=\"233\" /><object id=\"9\" type=\"6\" order=\"4\" xCoord=\"211\" yCoord=\"300\" /><object id=\"10\" type=\"1\" order=\"0\" xCoord=\"139\" yCoord=\"185\" /><object id=\"11\" type=\"1\" order=\"0\" xCoord=\"293\" yCoord=\"72\" /><object id=\"12\" type=\"1\" order=\"0\" xCoord=\"369\" yCoord=\"162\" /></puzzle_objects></starshine_puzzle>";
break;
case 42 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100113\" author=\"Hero Interactive\" title=\"\" difficulty=\"7\" hintOne=\"5\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"-100.096089690936\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"264\" yCoord=\"94\" /><object id=\"2\" type=\"2\" order=\"0\" xCoord=\"130\" yCoord=\"202\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"125\" yCoord=\"324\" /><object id=\"4\" type=\"7\" order=\"0\" xCoord=\"227\" yCoord=\"75\" /><object id=\"5\" type=\"3\" order=\"1\" xCoord=\"96\" yCoord=\"212\" /><object id=\"6\" type=\"2\" order=\"2\" xCoord=\"240\" yCoord=\"427\" /><object id=\"7\" type=\"1\" order=\"0\" xCoord=\"264\" yCoord=\"435\" /><object id=\"8\" type=\"4\" order=\"3\" xCoord=\"382\" yCoord=\"59\" /><object id=\"9\" type=\"3\" order=\"4\" xCoord=\"104\" yCoord=\"311\" /><object id=\"10\" type=\"4\" order=\"5\" xCoord=\"462\" yCoord=\"151\" /><object id=\"11\" type=\"4\" order=\"6\" xCoord=\"451\" yCoord=\"345\" /><object id=\"12\" type=\"4\" order=\"7\" xCoord=\"140\" yCoord=\"141\" /><object id=\"13\" type=\"4\" order=\"8\" xCoord=\"289\" yCoord=\"443\" /></puzzle_objects></starshine_puzzle>";
break;
case 43 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100121\" author=\"Hero Interactive\" title=\"\" difficulty=\"10\" hintOne=\"17\" hintTwo=\"10\" hintThree=\"2\" solution=\"1\" angle=\"132.672335534738\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"3\" order=\"0\" xCoord=\"299\" yCoord=\"239\" /><object id=\"2\" type=\"6\" order=\"0\" xCoord=\"230\" yCoord=\"326\" /><object id=\"3\" type=\"6\" order=\"0\" xCoord=\"255\" yCoord=\"343\" /><object id=\"4\" type=\"6\" order=\"0\" xCoord=\"352\" yCoord=\"336\" /><object id=\"5\" type=\"6\" order=\"0\" xCoord=\"395\" yCoord=\"325\" /><object id=\"6\" type=\"6\" order=\"0\" xCoord=\"401\" yCoord=\"97\" /><object id=\"7\" type=\"6\" order=\"0\" xCoord=\"432\" yCoord=\"126\" /><object id=\"8\" type=\"3\" order=\"0\" xCoord=\"453\" yCoord=\"371\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"291\" yCoord=\"435\" /><object id=\"10\" type=\"2\" order=\"0\" xCoord=\"188\" yCoord=\"345\" /><object id=\"11\" type=\"1\" order=\"0\" xCoord=\"190\" yCoord=\"386\" /><object id=\"12\" type=\"3\" order=\"0\" xCoord=\"498\" yCoord=\"249\" /><object id=\"13\" type=\"3\" order=\"0\" xCoord=\"470\" yCoord=\"303\" /><object id=\"14\" type=\"3\" order=\"0\" xCoord=\"415\" yCoord=\"220\" /><object id=\"15\" type=\"3\" order=\"0\" xCoord=\"502\" yCoord=\"284\" /><object id=\"16\" type=\"3\" order=\"0\" xCoord=\"139\" yCoord=\"359\" /><object id=\"17\" type=\"3\" order=\"0\" xCoord=\"460\" yCoord=\"156\" /><object id=\"18\" type=\"2\" order=\"0\" xCoord=\"472\" yCoord=\"140\" /><object id=\"19\" type=\"2\" order=\"0\" xCoord=\"471\" yCoord=\"120\" /><object id=\"20\" type=\"2\" order=\"0\" xCoord=\"455\" yCoord=\"108\" /><object id=\"21\" type=\"13\" order=\"0\" xCoord=\"128\" yCoord=\"155\" /><object id=\"22\" type=\"6\" order=\"1\" xCoord=\"108\" yCoord=\"221\" /><object id=\"23\" type=\"6\" order=\"2\" xCoord=\"407\" yCoord=\"74\" /><object id=\"24\" type=\"6\" order=\"3\" xCoord=\"221\" yCoord=\"425\" /><object id=\"25\" type=\"6\" order=\"4\" xCoord=\"104\" yCoord=\"252\" /><object id=\"26\" type=\"6\" order=\"5\" xCoord=\"273\" yCoord=\"44\" /></puzzle_objects></starshine_puzzle>";
break;
case 44 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100120\" author=\"Hero Interactive\" title=\"\" difficulty=\"7.33\" hintOne=\"7\" hintTwo=\"2\" hintThree=\"5\" solution=\"3\" angle=\"-177.153310726136\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"18\" order=\"0\" xCoord=\"252\" yCoord=\"133\" /><object id=\"2\" type=\"5\" order=\"0\" xCoord=\"216\" yCoord=\"351\" /><object id=\"3\" type=\"5\" order=\"0\" xCoord=\"430\" yCoord=\"240\" /><object id=\"4\" type=\"5\" order=\"0\" xCoord=\"332\" yCoord=\"392\" /><object id=\"5\" type=\"5\" order=\"0\" xCoord=\"160\" yCoord=\"211\" /><object id=\"6\" type=\"5\" order=\"0\" xCoord=\"124\" yCoord=\"304\" /><object id=\"7\" type=\"5\" order=\"0\" xCoord=\"353\" yCoord=\"111\" /><object id=\"8\" type=\"5\" order=\"0\" xCoord=\"365\" yCoord=\"167\" /><object id=\"9\" type=\"5\" order=\"0\" xCoord=\"238\" yCoord=\"94\" /><object id=\"10\" type=\"6\" order=\"0\" xCoord=\"450\" yCoord=\"135\" /><object id=\"11\" type=\"6\" order=\"0\" xCoord=\"150\" yCoord=\"110\" /><object id=\"12\" type=\"6\" order=\"0\" xCoord=\"231\" yCoord=\"407\" /><object id=\"13\" type=\"6\" order=\"0\" xCoord=\"254\" yCoord=\"437\" /><object id=\"14\" type=\"6\" order=\"0\" xCoord=\"328\" yCoord=\"43\" /></puzzle_objects></starshine_puzzle>";
break;
case 45 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100119\" author=\"Hero Interactive\" title=\"\" difficulty=\"10\" hintOne=\"10\" hintTwo=\"9\" hintThree=\"2\" solution=\"8\" angle=\"-94.7385984029726\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"2\" order=\"0\" xCoord=\"258\" yCoord=\"401\" /><object id=\"2\" type=\"2\" order=\"0\" xCoord=\"381\" yCoord=\"100\" /><object id=\"3\" type=\"2\" order=\"0\" xCoord=\"372\" yCoord=\"384\" /><object id=\"4\" type=\"18\" order=\"0\" xCoord=\"301\" yCoord=\"238\" /><object id=\"5\" type=\"2\" order=\"0\" xCoord=\"284\" yCoord=\"411\" /><object id=\"6\" type=\"2\" order=\"0\" xCoord=\"256\" yCoord=\"240\" /><object id=\"7\" type=\"2\" order=\"0\" xCoord=\"296\" yCoord=\"136\" /><object id=\"8\" type=\"2\" order=\"0\" xCoord=\"308\" yCoord=\"284\" /><object id=\"9\" type=\"2\" order=\"0\" xCoord=\"383\" yCoord=\"74\" /><object id=\"10\" type=\"2\" order=\"0\" xCoord=\"360\" yCoord=\"58\" /><object id=\"11\" type=\"2\" order=\"0\" xCoord=\"338\" yCoord=\"64\" /><object id=\"12\" type=\"2\" order=\"0\" xCoord=\"386\" yCoord=\"364\" /><object id=\"13\" type=\"2\" order=\"0\" xCoord=\"385\" yCoord=\"337\" /><object id=\"14\" type=\"2\" order=\"0\" xCoord=\"377\" yCoord=\"317\" /><object id=\"15\" type=\"2\" order=\"0\" xCoord=\"293\" yCoord=\"67\" /><object id=\"16\" type=\"2\" order=\"0\" xCoord=\"277\" yCoord=\"53\" /><object id=\"17\" type=\"2\" order=\"0\" xCoord=\"256\" yCoord=\"47\" /><object id=\"18\" type=\"2\" order=\"0\" xCoord=\"234\" yCoord=\"52\" /><object id=\"19\" type=\"2\" order=\"0\" xCoord=\"218\" yCoord=\"67\" /><object id=\"20\" type=\"2\" order=\"0\" xCoord=\"216\" yCoord=\"204\" /><object id=\"21\" type=\"2\" order=\"0\" xCoord=\"225\" yCoord=\"224\" /><object id=\"22\" type=\"2\" order=\"1\" xCoord=\"246\" yCoord=\"382\" /><object id=\"23\" type=\"2\" order=\"2\" xCoord=\"445\" yCoord=\"302\" /><object id=\"24\" type=\"16\" order=\"0\" xCoord=\"465\" yCoord=\"289\" /></puzzle_objects></starshine_puzzle>";
break;
case 46 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100111\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"3\" hintTwo=\"1\" hintThree=\"7\" solution=\"4\" angle=\"-124.17015804167\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"16\" order=\"0\" xCoord=\"211\" yCoord=\"268\" /><object id=\"2\" type=\"18\" order=\"0\" xCoord=\"350\" yCoord=\"369\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"194\" yCoord=\"104\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"398\" yCoord=\"381\" /><object id=\"5\" type=\"2\" order=\"0\" xCoord=\"431\" yCoord=\"400\" /><object id=\"6\" type=\"2\" order=\"0\" xCoord=\"448\" yCoord=\"384\" /><object id=\"7\" type=\"1\" order=\"0\" xCoord=\"218\" yCoord=\"351\" /><object id=\"8\" type=\"3\" order=\"0\" xCoord=\"450\" yCoord=\"203\" /><object id=\"9\" type=\"4\" order=\"0\" xCoord=\"185\" yCoord=\"403\" /><object id=\"10\" type=\"10\" order=\"0\" xCoord=\"362\" yCoord=\"65\" /><object id=\"11\" type=\"9\" order=\"0\" xCoord=\"115\" yCoord=\"278\" /></puzzle_objects></starshine_puzzle>";
break;
case 47 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100117\" author=\"Hero Interactive\" title=\"\" difficulty=\"6\" hintOne=\"4\" hintTwo=\"3\" hintThree=\"2\" solution=\"1\" angle=\"49.2025023061233\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"5\" order=\"0\" xCoord=\"348\" yCoord=\"293\" /><object id=\"2\" type=\"1\" order=\"0\" xCoord=\"370\" yCoord=\"219\" /><object id=\"3\" type=\"3\" order=\"0\" xCoord=\"308\" yCoord=\"198\" /><object id=\"4\" type=\"2\" order=\"0\" xCoord=\"409\" yCoord=\"185\" /><object id=\"5\" type=\"3\" order=\"0\" xCoord=\"437\" yCoord=\"151\" /><object id=\"6\" type=\"5\" order=\"0\" xCoord=\"218\" yCoord=\"281\" /><object id=\"7\" type=\"5\" order=\"0\" xCoord=\"338\" yCoord=\"344\" /><object id=\"8\" type=\"4\" order=\"1\" xCoord=\"326\" yCoord=\"52\" /><object id=\"9\" type=\"4\" order=\"2\" xCoord=\"151\" yCoord=\"166\" /><object id=\"10\" type=\"4\" order=\"3\" xCoord=\"165\" yCoord=\"354\" /><object id=\"11\" type=\"4\" order=\"4\" xCoord=\"337\" yCoord=\"413\" /><object id=\"12\" type=\"4\" order=\"5\" xCoord=\"437\" yCoord=\"229\" /></puzzle_objects></starshine_puzzle>";
break;
case 48 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100124\" author=\"Hero Interactive\" title=\"\" difficulty=\"10\" hintOne=\"11\" hintTwo=\"9\" hintThree=\"13\" solution=\"12\" angle=\"-116.623695762037\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"6\" order=\"0\" xCoord=\"216\" yCoord=\"415\" /><object id=\"2\" type=\"6\" order=\"0\" xCoord=\"222\" yCoord=\"394\" /><object id=\"3\" type=\"6\" order=\"0\" xCoord=\"179\" yCoord=\"357\" /><object id=\"4\" type=\"6\" order=\"0\" xCoord=\"159\" yCoord=\"365\" /><object id=\"5\" type=\"4\" order=\"0\" xCoord=\"188\" yCoord=\"390\" /><object id=\"6\" type=\"6\" order=\"0\" xCoord=\"199\" yCoord=\"353\" /><object id=\"7\" type=\"6\" order=\"0\" xCoord=\"233\" yCoord=\"376\" /><object id=\"8\" type=\"2\" order=\"0\" xCoord=\"334\" yCoord=\"170\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"408\" yCoord=\"88\" /><object id=\"10\" type=\"2\" order=\"0\" xCoord=\"293\" yCoord=\"327\" /><object id=\"11\" type=\"3\" order=\"0\" xCoord=\"121\" yCoord=\"169\" /><object id=\"12\" type=\"5\" order=\"0\" xCoord=\"240\" yCoord=\"125\" /><object id=\"13\" type=\"3\" order=\"0\" xCoord=\"122\" yCoord=\"295\" /><object id=\"14\" type=\"3\" order=\"0\" xCoord=\"359\" yCoord=\"394\" /><object id=\"15\" type=\"3\" order=\"0\" xCoord=\"306\" yCoord=\"71\" /><object id=\"16\" type=\"3\" order=\"0\" xCoord=\"104\" yCoord=\"283\" /><object id=\"17\" type=\"1\" order=\"0\" xCoord=\"435\" yCoord=\"293\" /><object id=\"18\" type=\"1\" order=\"0\" xCoord=\"433\" yCoord=\"321\" /><object id=\"19\" type=\"1\" order=\"0\" xCoord=\"402\" yCoord=\"258\" /><object id=\"20\" type=\"1\" order=\"0\" xCoord=\"397\" yCoord=\"320\" /><object id=\"21\" type=\"1\" order=\"0\" xCoord=\"472\" yCoord=\"352\" /><object id=\"22\" type=\"1\" order=\"0\" xCoord=\"477\" yCoord=\"263\" /><object id=\"23\" type=\"1\" order=\"0\" xCoord=\"372\" yCoord=\"349\" /><object id=\"24\" type=\"1\" order=\"0\" xCoord=\"383\" yCoord=\"59\" /><object id=\"25\" type=\"4\" order=\"0\" xCoord=\"261\" yCoord=\"49\" /></puzzle_objects></starshine_puzzle>";
break;
case 49 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100110\" author=\"Hero Interactive\" title=\"\" difficulty=\"9.33\" hintOne=\"3\" hintTwo=\"2\" hintThree=\"4\" solution=\"10\" angle=\"-6.71519856887858\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"15\" order=\"0\" xCoord=\"193\" yCoord=\"292\" /><object id=\"2\" type=\"5\" order=\"0\" xCoord=\"423\" yCoord=\"235\" /><object id=\"3\" type=\"7\" order=\"0\" xCoord=\"399\" yCoord=\"291\" /><object id=\"4\" type=\"6\" order=\"0\" xCoord=\"344\" yCoord=\"241\" /><object id=\"5\" type=\"3\" order=\"0\" xCoord=\"392\" yCoord=\"401\" /><object id=\"6\" type=\"3\" order=\"0\" xCoord=\"296\" yCoord=\"72\" /><object id=\"7\" type=\"3\" order=\"0\" xCoord=\"320\" yCoord=\"92\" /><object id=\"8\" type=\"3\" order=\"0\" xCoord=\"280\" yCoord=\"366\" /><object id=\"9\" type=\"3\" order=\"0\" xCoord=\"390\" yCoord=\"85\" /><object id=\"10\" type=\"3\" order=\"0\" xCoord=\"129\" yCoord=\"249\" /><object id=\"11\" type=\"18\" order=\"0\" xCoord=\"199\" yCoord=\"146\" /><object id=\"12\" type=\"2\" order=\"0\" xCoord=\"292\" yCoord=\"47\" /><object id=\"13\" type=\"2\" order=\"0\" xCoord=\"368\" yCoord=\"68\" /><object id=\"14\" type=\"2\" order=\"0\" xCoord=\"349\" yCoord=\"53\" /><object id=\"15\" type=\"2\" order=\"0\" xCoord=\"329\" yCoord=\"44\" /><object id=\"16\" type=\"2\" order=\"0\" xCoord=\"220\" yCoord=\"123\" /><object id=\"17\" type=\"4\" order=\"0\" xCoord=\"160\" yCoord=\"117\" /><object id=\"18\" type=\"6\" order=\"0\" xCoord=\"206\" yCoord=\"401\" /></puzzle_objects></starshine_puzzle>";
break;
case 50 :
_local1 = "<?xml version=\"1.0\" standalone=\"yes\" ?><starshine_puzzle><errorResults blnSuccess=\"1\" intError=\"0\" /><puzzle_details id=\"100116\" author=\"Hero Interactive\" title=\"\" difficulty=\"10\" hintOne=\"1\" hintTwo=\"4\" hintThree=\"2\" solution=\"3\" angle=\"-131.427714510553\" version=\"1\" /><puzzle_objects><object id=\"1\" type=\"16\" order=\"0\" xCoord=\"268\" yCoord=\"292\" /><object id=\"2\" type=\"16\" order=\"0\" xCoord=\"306\" yCoord=\"293\" /><object id=\"3\" type=\"16\" order=\"0\" xCoord=\"339\" yCoord=\"292\" /><object id=\"4\" type=\"3\" order=\"0\" xCoord=\"234\" yCoord=\"370\" /><object id=\"5\" type=\"5\" order=\"0\" xCoord=\"227\" yCoord=\"215\" /><object id=\"6\" type=\"18\" order=\"0\" xCoord=\"433\" yCoord=\"213\" /><object id=\"7\" type=\"2\" order=\"0\" xCoord=\"463\" yCoord=\"142\" /><object id=\"8\" type=\"2\" order=\"0\" xCoord=\"377\" yCoord=\"101\" /><object id=\"9\" type=\"2\" order=\"0\" xCoord=\"347\" yCoord=\"100\" /><object id=\"10\" type=\"15\" order=\"0\" xCoord=\"99\" yCoord=\"223\" /><object id=\"11\" type=\"2\" order=\"0\" xCoord=\"188\" yCoord=\"149\" /><object id=\"12\" type=\"2\" order=\"0\" xCoord=\"164\" yCoord=\"138\" /><object id=\"13\" type=\"2\" order=\"0\" xCoord=\"141\" yCoord=\"138\" /><object id=\"14\" type=\"2\" order=\"0\" xCoord=\"122\" yCoord=\"155\" /><object id=\"15\" type=\"2\" order=\"0\" xCoord=\"117\" yCoord=\"177\" /><object id=\"16\" type=\"1\" order=\"0\" xCoord=\"271\" yCoord=\"416\" /><object id=\"17\" type=\"1\" order=\"0\" xCoord=\"364\" yCoord=\"214\" /><object id=\"18\" type=\"2\" order=\"0\" xCoord=\"374\" yCoord=\"384\" /><object id=\"19\" type=\"2\" order=\"0\" xCoord=\"390\" yCoord=\"401\" /><object id=\"20\" type=\"2\" order=\"0\" xCoord=\"412\" yCoord=\"401\" /><object id=\"21\" type=\"2\" order=\"0\" xCoord=\"477\" yCoord=\"341\" /><object id=\"22\" type=\"2\" order=\"0\" xCoord=\"482\" yCoord=\"317\" /><object id=\"23\" type=\"2\" order=\"0\" xCoord=\"469\" yCoord=\"298\" /><object id=\"24\" type=\"2\" order=\"0\" xCoord=\"279\" yCoord=\"263\" /><object id=\"25\" type=\"2\" order=\"0\" xCoord=\"224\" yCoord=\"287\" /><object id=\"26\" type=\"2\" order=\"0\" xCoord=\"180\" yCoord=\"398\" /><object id=\"27\" type=\"6\" order=\"0\" xCoord=\"502\" yCoord=\"192\" /></puzzle_objects></starshine_puzzle>";
}
return(_local1);
}
}
Symbol 761 MovieClip [__Packages.DataEncrypter] Frame 0
class DataEncrypter
{
var roundsArray, shiftOffsets, Nb, Nk, Nr;
function DataEncrypter (keySize, blockSize) {
if (keySize != null) {
this.keySize = keySize;
}
if (blockSize != null) {
this.blockSize = blockSize;
}
roundsArray = [0, 0, 0, 0, [0, 0, 0, 0, 10, 0, 12, 0, 14], 0, [0, 0, 0, 0, 12, 0, 12, 0, 14], 0, [0, 0, 0, 0, 14, 0, 14, 0, 14]];
shiftOffsets = [0, 0, 0, 0, [0, 1, 2, 3], 0, [0, 1, 2, 3], 0, [0, 1, 3, 4]];
Nb = blockSize / 32;
Nk = keySize / 32;
Nr = roundsArray[Nk][Nb];
}
function encrypt(src, key, mode) {
var _local5 = new Array();
var _local6 = new Array();
var _local4 = blockSize / 8;
if (mode == "CBC") {
_local5 = getRandomBytes(_local4);
}
var _local7 = formatPlaintext(strToChars(src));
var _local8 = keyExpansion(strToChars(key));
var _local3 = 0;
while (_local3 < (_local7.length / _local4)) {
_local6 = _local7.slice(_local3 * _local4, (_local3 + 1) * _local4);
if (mode == "CBC") {
var _local2 = 0;
while (_local2 < _local4) {
_local6[_local2] = _local6[_local2] ^ _local5[(_local3 * _local4) + _local2];
_local2++;
}
}
_local5 = _local5.concat(encryption(_local6, _local8));
_local3++;
}
return(charsToHex(_local5));
}
function decrypt(src, key, mode) {
var _local5 = new Array();
var _local7 = new Array();
var _local6 = hexToChars(src);
var _local4 = blockSize / 8;
var _local8 = keyExpansion(strToChars(key));
var _local3 = (_local6.length / _local4) - 1;
while (_local3 > 0) {
_local7 = decryption(_local6.slice(_local3 * _local4, (_local3 + 1) * _local4), _local8);
if (mode == "CBC") {
var _local2 = 0;
while (_local2 < _local4) {
_local5[((_local3 - 1) * _local4) + _local2] = _local7[_local2] ^ _local6[((_local3 - 1) * _local4) + _local2];
_local2++;
}
} else {
_local5 = _local7.concat(_local5);
}
_local3--;
}
if (mode == "ECB") {
_local5 = decryption(_local6.slice(0, _local4), _local8).concat(_local5);
}
return(charsToStr(_local5));
}
function cyclicShiftLeft(src, pos) {
var _local2 = src.slice(0, pos);
src = src.slice(pos).concat(_local2);
return(src);
}
function xtime(poly) {
poly = poly << 1;
return(((poly & 256) ? (poly ^ 283) : (poly)));
}
function mult_GF256(x, y) {
var _local4 = 0;
var _local2 = 1;
while (_local2 < 256) {
if (x & _local2) {
_local4 = _local4 ^ y;
}
_local2 = _local2 * 2;
y = xtime(y);
}
return(_local4);
}
function byteSub(state, dir) {
if (dir == "encrypt") {
var _local5 = SBox;
} else {
var _local5 = SBoxInverse;
}
var _local3 = 0;
while (_local3 < 4) {
var _local2 = 0;
while (_local2 < Nb) {
state[_local3][_local2] = _local5[state[_local3][_local2]];
_local2++;
}
_local3++;
}
}
function shiftRow(state, dir) {
var _local2 = 1;
while (_local2 < 4) {
if (dir == "encrypt") {
state[_local2] = cyclicShiftLeft(state[_local2], shiftOffsets[Nb][_local2]);
} else {
state[_local2] = cyclicShiftLeft(state[_local2], Nb - shiftOffsets[Nb][_local2]);
}
_local2++;
}
}
function mixColumn(state, dir) {
var _local5 = new Array();
var _local2 = 0;
while (_local2 < Nb) {
var _local4 = 0;
while (_local4 < 4) {
if (dir == "encrypt") {
_local5[_local4] = ((mult_GF256(state[_local4][_local2], 2) ^ mult_GF256(state[(_local4 + 1) % 4][_local2], 3)) ^ state[(_local4 + 2) % 4][_local2]) ^ state[(_local4 + 3) % 4][_local2];
} else {
_local5[_local4] = ((mult_GF256(state[_local4][_local2], 14) ^ mult_GF256(state[(_local4 + 1) % 4][_local2], 11)) ^ mult_GF256(state[(_local4 + 2) % 4][_local2], 13)) ^ mult_GF256(state[(_local4 + 3) % 4][_local2], 9);
}
_local4++;
}
_local4 = 0;
while (_local4 < 4) {
state[_local4][_local2] = _local5[_local4];
_local4++;
}
_local2++;
}
}
function addRoundKey(state, roundKey) {
var _local2 = 0;
while (_local2 < Nb) {
state[0][_local2] = state[0][_local2] ^ (roundKey[_local2] & 255);
state[1][_local2] = state[1][_local2] ^ ((roundKey[_local2] >> 8) & 255);
state[2][_local2] = state[2][_local2] ^ ((roundKey[_local2] >> 16) & 255);
state[3][_local2] = state[3][_local2] ^ ((roundKey[_local2] >> 24) & 255);
_local2++;
}
}
function keyExpansion(key) {
var _local2 = 0;
Nk = keySize / 32;
Nb = blockSize / 32;
var _local4 = new Array();
Nr = roundsArray[Nk][Nb];
var _local3 = 0;
while (_local3 < Nk) {
_local4[_local3] = ((key[4 * _local3] | (key[(4 * _local3) + 1] << 8)) | (key[(4 * _local3) + 2] << 16)) | (key[(4 * _local3) + 3] << 24);
_local3++;
}
_local3 = Nk;
while (_local3 < (Nb * (Nr + 1))) {
_local2 = _local4[_local3 - 1];
if ((_local3 % Nk) == 0) {
_local2 = (((SBox[(_local2 >> 8) & 255] | (SBox[(_local2 >> 16) & 255] << 8)) | (SBox[(_local2 >> 24) & 255] << 16)) | (SBox[_local2 & 255] << 24)) ^ Rcon[Math.floor(_local3 / Nk) - 1];
} else if ((Nk > 6) && ((_local3 % Nk) == 4)) {
_local2 = (((SBox[(_local2 >> 24) & 255] << 24) | (SBox[(_local2 >> 16) & 255] << 16)) | (SBox[(_local2 >> 8) & 255] << 8)) | SBox[_local2 & 255];
}
_local4[_local3] = _local4[_local3 - Nk] ^ _local2;
_local3++;
}
return(_local4);
}
function Round(state, roundKey) {
byteSub(state, "encrypt");
shiftRow(state, "encrypt");
mixColumn(state, "encrypt");
addRoundKey(state, roundKey);
}
function InverseRound(state, roundKey) {
addRoundKey(state, roundKey);
mixColumn(state, "decrypt");
shiftRow(state, "decrypt");
byteSub(state, "decrypt");
}
function FinalRound(state, roundKey) {
byteSub(state, "encrypt");
shiftRow(state, "encrypt");
addRoundKey(state, roundKey);
}
function InverseFinalRound(state, roundKey) {
addRoundKey(state, roundKey);
shiftRow(state, "decrypt");
byteSub(state, "decrypt");
}
function encryption(block, expandedKey) {
block = packBytes(block);
addRoundKey(block, expandedKey);
var _local2 = 1;
while (_local2 < Nr) {
Round(block, expandedKey.slice(Nb * _local2, Nb * (_local2 + 1)));
_local2++;
}
FinalRound(block, expandedKey.slice(Nb * Nr));
return(unpackBytes(block));
}
function decryption(block, expandedKey) {
block = packBytes(block);
InverseFinalRound(block, expandedKey.slice(Nb * Nr));
var _local2 = Nr - 1;
while (_local2 > 0) {
InverseRound(block, expandedKey.slice(Nb * _local2, Nb * (_local2 + 1)));
_local2--;
}
addRoundKey(block, expandedKey);
return(unpackBytes(block));
}
function packBytes(octets) {
var _local2 = new Array();
_local2[0] = new Array();
_local2[1] = new Array();
_local2[2] = new Array();
_local2[3] = new Array();
var _local1 = 0;
while (_local1 < octets.length) {
_local2[0][_local1 / 4] = octets[_local1];
_local2[1][_local1 / 4] = octets[_local1 + 1];
_local2[2][_local1 / 4] = octets[_local1 + 2];
_local2[3][_local1 / 4] = octets[_local1 + 3];
_local1 = _local1 + 4;
}
return(_local2);
}
function unpackBytes(packed) {
var _local1 = new Array();
var _local2 = 0;
while (_local2 < packed[0].length) {
_local1[_local1.length] = packed[0][_local2];
_local1[_local1.length] = packed[1][_local2];
_local1[_local1.length] = packed[2][_local2];
_local1[_local1.length] = packed[3][_local2];
_local2++;
}
return(_local1);
}
function formatPlaintext(plaintext) {
var _local3 = blockSize / 8;
var _local2 = _local3 - (plaintext.length % _local3);
while ((_local2 > 0) && (_local2 < _local3)) {
plaintext[plaintext.length] = 0;
_local2--;
}
return(plaintext);
}
function getRandomBytes(howMany) {
var _local2 = new Array();
var _local1 = 0;
while (_local1 < howMany) {
_local2[_local1] = Math.round(Math.random() * 255);
_local1++;
}
return(_local2);
}
function hexToChars(hex) {
var _local3 = new Array();
var _local1 = ((hex.substr(0, 2) == "0x") ? 2 : 0);
while (_local1 < hex.length) {
_local3.push(parseInt(hex.substr(_local1, 2), 16));
_local1 = _local1 + 2;
}
return(_local3);
}
function charsToHex(chars) {
var _local4 = new String("");
var _local3 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
var _local1 = 0;
while (_local1 < chars.length) {
_local4 = _local4 + (_local3[chars[_local1] >> 4] + _local3[chars[_local1] & 15]);
_local1++;
}
return(_local4);
}
function charsToStr(chars) {
var _local3 = new String("");
var _local1 = 0;
while (_local1 < chars.length) {
_local3 = _local3 + String.fromCharCode(chars[_local1]);
_local1++;
}
return(_local3);
}
function strToChars(str) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < str.length) {
_local3.push(str.charCodeAt(_local1));
_local1++;
}
return(_local3);
}
var Rcon = [1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145];
var SBox = [99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22];
var SBoxInverse = [82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125];
var blockSize = 128;
var keySize = 128;
}
Symbol 762 MovieClip [__Packages.PublicSetup] Frame 0
class PublicSetup
{
var creator, hintName, objectList, arrOnScreen, arrHints, totalHints, winLevelAngle;
function PublicSetup () {
creator = "";
hintName = "myHint";
objectList = new Array();
arrOnScreen = new Array();
arrHints = new Array();
totalHints = 0;
winLevelAngle = 0;
}
function CleanArray() {
delete arrOnScreen;
arrOnScreen = new Array();
}
function DeleteAllObjects() {
var _local3 = 0;
while (_local3 < arrOnScreen.length) {
_root[arrOnScreen[_local3]].RemoveReflection();
_root[arrOnScreen[_local3]].removeMovieClip();
_local3++;
}
}
function LoadLevelObjects() {
CleanArray();
_root.game.ChangeHintCount();
var _local4 = 0;
while (_local4 < objectList.length) {
var _local3 = objectList[_local4].id + "_mc";
if (objectList[_local4].order != 0) {
_root.attachMovie(("o" + objectList[_local4].typer) + "_mc", _local3, _root.game.GetStarDepth());
_root[_local3].insideNumber_mc.gotoAndStop(objectList[_local4].order);
_root[_local3]._x = objectList[_local4].xVal;
_root[_local3]._y = objectList[_local4].yVal;
_root[_local3]._rotation = _root.game.RandNum(0, 360);
_root[_local3].CreateReflectionStar();
_root[_local3].insideNumber_mc._rotation = _root[_local3]._rotation * -1;
} else {
_root.attachMovie(objectList[_local4].typer + "_mc", _local3, _root.game.GetStarDepth());
_root[_local3]._x = objectList[_local4].xVal;
_root[_local3]._y = objectList[_local4].yVal;
_root[_local3]._rotation = _root.game.RandNum(0, 360);
_root[_local3].CreateReflectionStar();
}
_root[_local3]._order = objectList[_local4].order;
arrOnScreen.push(_local3);
_local4++;
}
_root.game.UpdateStarList(arrOnScreen);
}
function HintOne() {
_root.attachMovie("hintCircle", hintName, 60000);
_root[hintName]._x = _root[arrHints[0] + "_mc"]._x;
_root[hintName]._y = _root[arrHints[0] + "_mc"]._y;
_root[hintName].whichStar.gotoAndStop(3);
}
function HintTwo() {
_root.attachMovie("hintCircle", hintName, 60000);
if (totalHints == 3) {
_root[hintName]._x = _root[arrHints[1] + "_mc"]._x;
_root[hintName]._y = _root[arrHints[1] + "_mc"]._y;
} else if (totalHints == 2) {
_root[hintName]._x = _root[arrHints[0] + "_mc"]._x;
_root[hintName]._y = _root[arrHints[0] + "_mc"]._y;
}
_root[hintName].whichStar.gotoAndStop(2);
}
function HintThree() {
_root.attachMovie("hintCircle", hintName, 60000);
if (totalHints == 3) {
_root[hintName]._x = _root[arrHints[2] + "_mc"]._x;
_root[hintName]._y = _root[arrHints[2] + "_mc"]._y;
} else if (totalHints == 2) {
_root[hintName]._x = _root[arrHints[1] + "_mc"]._x;
_root[hintName]._y = _root[arrHints[1] + "_mc"]._y;
}
_root[hintName].whichStar.gotoAndStop(1);
}
function StartLocation() {
_root.attachMovie("hintArrow", hintName, 60000);
_root[hintName]._x = _root.backgrounder._x + (_root.backgrounder._width / 2);
_root[hintName]._y = _root.backgrounder._y + (_root.backgrounder._height / 2);
_root[hintName]._rotation = winLevelAngle;
}
function KillHints() {
_root[hintName].removeMovieClip();
}
}
Symbol 763 MovieClip [__Packages.StarShine2OriginalGame] Frame 0
class StarShine2OriginalGame
{
var projectileOnScreen, projectileOver, projectileModified, stageTest, blnReflectLine, callToUse, notificationName, motionTweenSpeed, motionTweenSpeed2, attemptsTally, arrowDepth, projectileDepth, effectDepth, starDepth, hintDeduct, intParticleSpeed, intParticleInterval, levelScore, stage6Num, stateSystem, notificationState, saveX, saveY, arrProjectiles, arrEffects, vecShootDir, mouseListener, saveTutorialDepth, arrStars, hintCount, intCurrentOrderRequirement, intParticleTimer;
function StarShine2OriginalGame () {
}
function StarShine2Game() {
SetupClass();
}
function SetupClass() {
projectileOnScreen = false;
projectileOver = false;
projectileModified = false;
stageTest = false;
blnReflectLine = false;
callToUse = "";
notificationName = "";
motionTweenSpeed = 0.3;
motionTweenSpeed2 = 0.75;
attemptsTally = -1;
arrowDepth = 15000;
projectileDepth = 5000;
effectDepth = 400000 /* 0x061A80 */;
starDepth = 50000;
ChangeHintCount();
hintDeduct = 0;
intParticleSpeed = 16;
intParticleInterval = 3;
levelScore = 10000;
stage6Num = 30;
if (_global.tutorialDone == false) {
stateSystem = 5;
} else {
stateSystem = 0;
}
notificationState = 0;
saveX = 0;
saveY = 0;
_root.MoveIt(_root.topLeftMenu, _root.topLeftMenu._x + 144, _root.topLeftMenu._y, motionTweenSpeed);
_root.MoveIt(_root.objectRight, _root.objectRight._x - 195, _root.objectRight._y, motionTweenSpeed);
AttemptsPlus();
var _local4 = new Array();
arrProjectiles = new Array();
arrEffects = new Array();
var thisRef = this;
vecShootDir = new Vector();
mouseListener = new Object();
mouseListener.onMouseDown = function () {
thisRef.MouseDown();
};
mouseListener.onMouseUp = function () {
thisRef.MouseUp();
};
Mouse.addListener(mouseListener);
if (_root.tutorialMC.getDepth() != 900000) {
saveTutorialDepth = _root.tutorialMC.getDepth();
_root.tutorialMC.swapDepths(900000);
}
}
function UpdateStarList(myStarList) {
delete arrStars;
arrStars = myStarList.slice();
_root.RemoveLoadWait();
}
function ChangeHintCount() {
if (_root.publicSetup.totalHints == 2) {
hintCount = 2;
} else if (_root.publicSetup.totalHints == 3) {
hintCount = 1;
}
}
function GetStarDepth() {
var _local2 = starDepth;
starDepth++;
if (starDepth > 60000) {
starDepth = 50000;
}
return(_local2);
}
function Run() {
NotificationMove();
switch (stateSystem) {
case 0 :
AimProjectile();
break;
case 1 :
MoveQuestionMark();
break;
case 2 :
MoveProjectile();
DetectParticleCollisions();
MoveProjectilesAndCollide();
CheckTimer();
break;
case 3 :
break;
case 4 :
stage6Num--;
if (stage6Num < 0) {
stateSystem = 3;
if (stageTest == true) {
stageTest = false;
_root.MoveIt(_root.topLeftMenu, _root.topLeftMenu._x - 144, _root.topLeftMenu._y, motionTweenSpeed);
if (_global.playMode == 1) {
var _local5 = _global.currentLevel + 1;
_global.levels[_local5] = 1;
var _local4 = SharedObject.getLocal("userData");
_local4.data.levelsCompleted = _global.levels;
_local4.flush();
_global.currentLevel++;
_root.publicSetup.DeleteAllObjects();
if (_global.currentLevel > 50) {
_global.currentLevel = 50;
if (_root.winScreen.getDepth != 409500) {
_root.winScreen.swapDepths(409500);
}
_root.winScreen.gotoAndStop("on");
} else {
_root.inGameScreen.gotoAndPlay("toWin");
}
} else if (_global.playMode == 2) {
_root.publicSetup.DeleteAllObjects();
_root.inGameScreen.gotoAndPlay("toWinR");
} else if (_global.playMode == 3) {
_root.publicSetup.DeleteAllObjects();
_root.inGameScreen.gotoAndPlay("toWinS");
}
}
stage6Num = 30;
}
break;
case 5 :
break;
case 6 :
stage6Num--;
if (stage6Num >= 0) {
break;
}
ResetTestMode();
stateSystem = 0;
stage6Num = 30;
}
}
function MouseDown() {
if (DetectIgnoredCollision() == false) {
var _local3 = DetectRainbowCollision();
if (_local3 == "") {
if (stateSystem == 0) {
if (notificationState == 0) {
_root[notificationName].removeMovieClip();
_root.RemoveLoadWait();
Shoot();
_root.publicSetup.KillHints();
AttemptsPlus();
}
}
} else {
_root[_local3].RainbowChange();
}
}
}
function MouseUp() {
}
function DetectIgnoredCollision() {
if (_root.topLeftMenu.hitTest(_root._xmouse, _root._ymouse, true)) {
return(true);
}
return(false);
}
function DetectRainbowCollision() {
var _local3 = 0;
while (_local3 < arrStars.length) {
if (_root[arrStars[_local3]]._objectType == 16) {
if (_root[arrStars[_local3]].hitTest(_root._xmouse, _root._ymouse, true) == true) {
return(arrStars[_local3]);
}
}
_local3++;
}
return("");
}
function AimProjectile() {
_root.projectile._visible = true;
var _local12 = new Vector();
_local12._x = _root._xmouse - ((_root.backgrounder._width / 2) + _root.backgrounder._x);
_local12._y = _root._ymouse - ((_root.backgrounder._height / 2) + _root.backgrounder._y);
var _local15 = Math.atan2(_local12._y, _local12._x);
var _local18 = (360 * _local15) / (Math.PI*2);
var _local7 = _root.backgrounder._width / 2;
_root.projectile._x = ((_local7 * Math.cos(_local15)) + (_root.backgrounder._width / 2)) + _root.backgrounder._x;
_root.projectile._y = ((_local7 * Math.sin(_local15)) + (_root.backgrounder._height / 2)) + _root.backgrounder._y;
_local12._x = ((_root.backgrounder._width / 2) + _root.backgrounder._x) - _root.projectile._x;
_local12._y = ((_root.backgrounder._height / 2) + _root.backgrounder._y) - _root.projectile._y;
_local15 = Math.atan2(_local12._y, _local12._x);
var _local14 = Math.cos(_local15) * (intParticleSpeed / intParticleInterval);
var _local13 = Math.sin(_local15) * (intParticleSpeed / intParticleInterval);
var _local10 = _root.projectile._x;
var _local11 = _root.projectile._y;
var _local6 = new Array(arrStars.length);
var _local5 = 0;
while (_local5 < _local6.length) {
_local6[_local5] = 0;
_local5++;
}
var _local17 = new Vector();
_local17._x = _local14;
_local17._y = _local13;
var _local16 = Math.round(_root.backgrounder._width / _local17.GetLength());
var _local9 = 0;
while (_local9 <= _local16) {
_local10 = _local10 + _local14;
_local11 = _local11 + _local13;
_local5 = 0;
while (_local5 < arrStars.length) {
var _local8 = GetObjectWidth(_root[arrStars[_local5]]._objectType) - 3;
var _local4 = _root[arrStars[_local5]]._x - _local10;
var _local3 = _root[arrStars[_local5]]._y - _local11;
_local7 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
if (_local7 <= _local8) {
_local6[_local5] = 1;
}
_local5++;
}
_local9++;
}
_local5 = 0;
while (_local5 < _local6.length) {
if (_local6[_local5] == 1) {
_root[arrStars[_local5]].ArrowsOn(arrowDepth, _root.projectile._x, _root.projectile._y);
} else {
_root[arrStars[_local5]].ArrowsOff();
}
_local5++;
}
}
function Shoot() {
saveX = _root.projectile._x;
saveY = _root.projectile._y;
var _local4 = new Vector();
_local4._x = ((_root.backgrounder._width / 2) + _root.backgrounder._x) - _root.projectile._x;
_local4._y = ((_root.backgrounder._height / 2) + _root.backgrounder._y) - _root.projectile._y;
var _local5 = Math.atan2(_local4._y, _local4._x);
vecShootDir._x = Math.cos(_local5) * intParticleSpeed;
vecShootDir._y = Math.sin(_local5) * intParticleSpeed;
var _local3 = 150;
do {
if (ProjectileOffScreen() != false) {
break;
}
_root.projectile._x = _root.projectile._x - vecShootDir._x;
_root.projectile._y = _root.projectile._y - vecShootDir._y;
_local3--;
} while (_local3 != 0);
var _local6 = (360 * _local5) / (Math.PI*2);
_root.projectile.gotoAndStop(2);
_root.projectile._rotation = _local6;
_root.backgrounder.gotoAndPlay("hide");
TurnOffAllArrows();
stateSystem = 2;
intCurrentOrderRequirement = 1;
intParticleTimer = getTimer();
}
function MoveProjectile() {
if (ProjectileOffScreen() == false) {
projectileOnScreen = true;
_root.projectile._x = _root.projectile._x + vecShootDir._x;
_root.projectile._y = _root.projectile._y + vecShootDir._y;
} else if (projectileOnScreen == true) {
projectileOver = true;
} else {
_root.projectile._x = _root.projectile._x + vecShootDir._x;
_root.projectile._y = _root.projectile._y + vecShootDir._y;
}
}
function LaunchProjectile(deltaX, deltaY, startX, startY, rot) {
var tempName = ("projectile_" + projectileDepth);
arrProjectiles.push({name:tempName, dX:deltaX, dY:deltaY, X:startX, Y:startY});
_root.attachMovie("shootingStar", tempName, projectileDepth);
_root[tempName]._x = startX;
_root[tempName]._y = startY;
_root[tempName]._rotation = rot;
projectileDepth++;
if (projectileDepth > 9999) {
projectileDepth = 5000;
}
_root.water.container_mc.attachMovie("reflection_particle", tempName, projectileDepth - 1);
var pntLocation = GlobalToReflection(startX, startY);
var mcReflection = eval ("_root.water.container_mc." + tempName);
mcReflection._x = pntLocation.x;
mcReflection._y = pntLocation.y;
}
function ProjectileOffScreen() {
var _local2 = false;
if (((_root.projectile._x + _root.projectile._width) < 0) || ((_root.projectile._x - _root.projectile._width) > Stage.width)) {
_local2 = true;
}
if (((_root.projectile._y + _root.projectile._height) < 0) || ((_root.projectile._y - _root.projectile._height) > Stage.height)) {
_local2 = true;
}
return(_local2);
}
function MoveProjectilesAndCollide() {
var queueRemoval = new Array();
var queueRemovalParticles = new Array();
var t = 1;
while (t <= intParticleInterval) {
var i = 0;
while (i < arrProjectiles.length) {
_root[arrProjectiles[i].name]._x = _root[arrProjectiles[i].name]._x + (arrProjectiles[i].dX / intParticleInterval);
_root[arrProjectiles[i].name]._y = _root[arrProjectiles[i].name]._y + (arrProjectiles[i].dY / intParticleInterval);
if (t == intParticleInterval) {
var mcReflection = eval ("_root.water.container_mc." + arrProjectiles[i].name);
var pntLocation = GlobalToReflection(_root[arrProjectiles[i].name]._x, _root[arrProjectiles[i].name]._y);
mcReflection._x = pntLocation.x;
mcReflection._y = pntLocation.y;
}
if (blnReflectLine == true) {
if ((_root[arrProjectiles[i].name]._y > _root.line._y) && ((_root[arrProjectiles[i].name]._y - (arrProjectiles[i].dY * t)) <= _root.line._y)) {
arrProjectiles[i].dY = arrProjectiles[i].dY * -1;
_root[arrProjectiles[i].name].inside.cacheAsBitmap = false;
var vecGetRotation = new Vector();
vecGetRotation._x = arrProjectiles[i].dX;
vecGetRotation._y = arrProjectiles[i].dY;
_root[arrProjectiles[i].name]._rotation = vecGetRotation.GetAngle();
}
}
if (((_root[arrProjectiles[i].name]._x + _root[arrProjectiles[i].name]._width) < 0) || ((_root[arrProjectiles[i].name]._x - _root[arrProjectiles[i].name]._width) > Stage.width)) {
queueRemovalParticles.push({name:arrProjectiles[i].name, black:false});
}
if (((_root[arrProjectiles[i].name]._y + _root[arrProjectiles[i].name]._height) < 0) || ((_root[arrProjectiles[i].name]._y - _root[arrProjectiles[i].name]._height) > Stage.height)) {
queueRemovalParticles.push({name:arrProjectiles[i].name, black:false});
}
i++;
}
var p = 0;
while (p < arrProjectiles.length) {
var i = 0;
while (i < arrStars.length) {
var vecDistance = new Vector();
vecDistance._x = _root[arrStars[i]]._x - _root[arrProjectiles[p].name]._x;
vecDistance._y = _root[arrStars[i]]._y - _root[arrProjectiles[p].name]._y;
if (_root[arrStars[i]]._objectType == 18) {
var intMaxRange = 75;
var intMaxForce = 4;
var blnEaten = false;
if (vecDistance.GetLength() <= 10) {
queueRemovalParticles.push({name:arrProjectiles[p].name, black:true, x:_root[arrProjectiles[p].name]._x, y:_root[arrProjectiles[p].name]._y});
blnEaten = true;
}
if ((vecDistance.GetLength() <= intMaxRange) && (blnEaten == false)) {
var intPower = (((intMaxRange - vecDistance.GetLength()) / intMaxRange) * intMaxForce);
vecDistance.ConvertToUnitVector();
vecDistance.Scale(intPower);
var vecConvertToLength = new Vector();
vecConvertToLength._x = arrProjectiles[p].dX;
vecConvertToLength._y = arrProjectiles[p].dY;
var intLength = vecConvertToLength.GetLength();
vecConvertToLength.Add(vecDistance);
vecDistance.ConvertToUnitVector();
vecDistance.Scale(intLength);
arrProjectiles[p].dX = vecConvertToLength._x;
arrProjectiles[p].dY = vecConvertToLength._y;
_root[arrProjectiles[p].name].inside.cacheAsBitmap = false;
_root[arrProjectiles[p].name]._rotation = vecConvertToLength.GetAngle();
}
} else {
var dist2Check = (GetObjectWidth(_root[arrStars[i]]._objectType) - 2);
if (vecDistance.GetLength() <= dist2Check) {
if ((_root[arrStars[i]]._order == 0) || (_root[arrStars[i]]._order == intCurrentOrderRequirement)) {
if (_root[arrProjectiles[p].name].inside.cacheAsBitmap == false) {
queueRemoval.push({name:arrStars[i], X:_root[arrStars[i]]._x - (arrProjectiles[p].dX * intParticleInterval), Y:_root[arrStars[i]]._y - (arrProjectiles[p].dY * intParticleInterval), collide:true});
} else {
queueRemoval.push({name:arrStars[i], X:arrProjectiles[p].X, Y:arrProjectiles[p].Y, collide:true});
}
queueRemovalParticles.push({name:arrProjectiles[p].name, black:false});
if (_root[arrStars[i]]._order != 0) {
intCurrentOrderRequirement++;
}
if ((_root[arrStars[i]]._objectType >= 8) && (_root[arrStars[i]]._objectType <= 14)) {
_global.SoundManager.PlaySound("collectSound");
var intLightType = (_root[arrStars[i]]._objectType - 7);
var n = 0;
while (n < arrStars.length) {
if (_root[arrStars[n]]._objectType == intLightType) {
queueRemoval.push({name:arrStars[n], X:0, Y:0, collide:false});
}
if (_root[arrStars[n]]._objectType == (intLightType + 7)) {
queueRemoval.push({name:arrStars[n], X:0, Y:0, collide:false});
}
n++;
}
}
}
}
}
i++;
}
p++;
}
t++;
}
var i = 0;
while (i < queueRemovalParticles.length) {
if (RemoveProjectile(queueRemovalParticles[i].name) == true) {
if (queueRemovalParticles[i].black == true) {
Effect_Blackhole(queueRemovalParticles[i].x, queueRemovalParticles[i].y);
}
}
i++;
}
var i = 0;
while (i < queueRemoval.length) {
if (RemoveTestStar(queueRemoval[i].name) == true) {
if (queueRemoval[i].collide == true) {
_global.SoundManager.PlaySound("collectSound");
_root[queueRemoval[i].name].Collision(queueRemoval[i].X, queueRemoval[i].Y);
if (_root[queueRemoval[i].name]._objectType == 15) {
DisplayReflectLine();
}
}
_root[queueRemoval[i].name].gotoAndStop(2);
_root[queueRemoval[i].name].ChangeReflectionState(2);
intParticleTimer = getTimer();
}
i++;
}
if ((arrProjectiles.length == 0) && (projectileOver == true)) {
if (CheckWinCondition() == false) {
stateSystem = 6;
} else {
stageTest = true;
stateSystem = 4;
}
}
}
function GlobalToReflection(myX, myY) {
var _local3 = {x:0, y:0};
var _local2 = myY / (_root.backgrounder._height - _root.backgrounder._y);
_local2 = (_local2 * _root.water.container_mc._height) - 0;
_local2 = (_root.water.container_mc._height - 0) - _local2;
if (_local2 < (_root.water.container_mc._y * -1)) {
myX = -200;
}
_local3.x = myX;
_local3.y = _local2;
return(_local3);
}
function DisplayReflectLine() {
if (blnReflectLine == false) {
_root.line.gotoAndPlay("fadeIn");
blnReflectLine = true;
}
}
function HideReflectLine() {
if (blnReflectLine == true) {
_root.line.gotoAndPlay("fadeOut");
blnReflectLine = false;
}
}
function DetectParticleCollisions() {
var _local6 = new Array();
var _local13 = _root.projectile._x - vecShootDir._x;
var _local12 = _root.projectile._y - vecShootDir._y;
var _local4 = new Vector();
var _local20 = 1;
while (_local20 <= intParticleInterval) {
_local13 = _local13 + (vecShootDir._x / intParticleInterval);
_local12 = _local12 + (vecShootDir._y / intParticleInterval);
var _local8 = 0;
while (_local8 < arrStars.length) {
_local4._x = _local13 - _root[arrStars[_local8]]._x;
_local4._y = _local12 - _root[arrStars[_local8]]._y;
if (_root[arrStars[_local8]]._objectType == 18) {
_local4._x = _root[arrStars[_local8]]._x - _local13;
_local4._y = _root[arrStars[_local8]]._y - _local12;
var _local9 = 75;
var _local17 = 4;
var _local11 = false;
if (_local4.GetLength() <= 10) {
_root.projectile._x = -200;
Effect_Blackhole(_local13, _local12);
_local11 = true;
}
if ((_local4.GetLength() <= _local9) && (_local11 == false)) {
var _local15 = ((_local9 - _local4.GetLength()) / _local9) * _local17;
_local4.ConvertToUnitVector();
_local4.Scale(_local15);
var _local7 = new Vector();
_local7._x = vecShootDir._x;
_local7._y = vecShootDir._y;
var _local19 = _local7.GetLength();
_local7.Add(_local4);
_local4.ConvertToUnitVector();
_local4.Scale(_local19);
vecShootDir._x = _local7._x;
vecShootDir._y = _local7._y;
_root.projectile._rotation = _local7.GetAngle();
projectileModified = true;
}
} else {
var _local18 = GetObjectWidth(_root[arrStars[_local8]]._objectType) - 2;
if (_local4.GetLength() <= _local18) {
if ((_root[arrStars[_local8]]._order == 0) || (_root[arrStars[_local8]]._order == intCurrentOrderRequirement)) {
_local6.push({name:arrStars[_local8], collide:true});
if (_root[arrStars[_local8]]._order != 0) {
intCurrentOrderRequirement++;
}
if ((_root[arrStars[_local8]]._objectType >= 8) && (_root[arrStars[_local8]]._objectType <= 14)) {
_global.SoundManager.PlaySound("collectSound");
var _local10 = _root[arrStars[_local8]]._objectType - 7;
var _local5 = 0;
while (_local5 < arrStars.length) {
if (_root[arrStars[_local5]]._objectType == _local10) {
_local6.push({name:arrStars[_local5], collide:false});
}
if (_root[arrStars[_local5]]._objectType == (_local10 + 7)) {
_local6.push({name:arrStars[_local5], collide:false});
}
_local5++;
}
}
}
}
}
_local8++;
}
_local20++;
}
var _local8 = 0;
while (_local8 < _local6.length) {
if (RemoveTestStar(_local6[_local8].name) == true) {
_root[_local6[_local8].name].gotoAndStop(2);
_root[_local6[_local8].name].ChangeReflectionState(2);
intParticleTimer = getTimer();
if (_local6[_local8].collide == true) {
_global.SoundManager.PlaySound("collectSound");
if (projectileModified == true) {
var _local22 = _root[_local6[_local8].name]._x - vecShootDir._x;
var _local21 = _root[_local6[_local8].name]._y - vecShootDir._y;
_root[_local6[_local8].name].Collision(_local22, _local21);
} else {
_root[_local6[_local8].name].Collision(saveX, saveY);
}
if (_root[_local6[_local8].name]._objectType == 15) {
DisplayReflectLine();
}
}
}
_local8++;
}
}
function CheckWinCondition() {
var _local3 = 0;
while (_local3 < arrStars.length) {
if (_root[arrStars[_local3]]._objectType != 18) {
return(false);
}
_local3++;
}
return(true);
}
function TurnOffAllArrows() {
var _local3 = 0;
while (_local3 < arrStars.length) {
_root[arrStars[_local3]].ArrowsOff();
_local3++;
}
}
function NextArrowDepth() {
arrowDepth++;
if (arrowDepth > 39999) {
arrowDepth = 15000;
}
}
function CheckTimer() {
if ((getTimer() - intParticleTimer) > 5000) {
RemoveAllProjectiles();
intParticleTimer = getTimer();
}
}
function RemoveAllProjectiles() {
var _local3 = arrProjectiles.slice();
var _local2 = 0;
while (_local2 < _local3.length) {
RemoveProjectile(_local3[_local2].name);
_local2++;
}
}
function RemoveProjectile(myName) {
var p = 0;
while (p < arrProjectiles.length) {
if (myName == arrProjectiles[p].name) {
var mcReflection = eval ("_root.water.container_mc." + arrProjectiles[p].name);
mcReflection.removeMovieClip();
_root[arrProjectiles[p].name].removeMovieClip();
arrProjectiles.splice(p, 1);
return(true);
}
p++;
}
return(false);
}
function RemoveTestStar(myName) {
var _local2 = 0;
while (_local2 < arrStars.length) {
if (arrStars[_local2] == myName) {
arrStars.splice(_local2, 1);
return(true);
}
_local2++;
}
return(false);
}
function ResetTestMode() {
delete arrStars;
arrStars = _root.publicSetup.arrOnScreen.slice();
var _local3 = 0;
while (_local3 < arrStars.length) {
_root[arrStars[_local3]].ChangeReflectionState(1);
_root[arrStars[_local3]].gotoAndStop(1);
if (_root[arrStars[_local3]]._order != 0) {
_root[arrStars[_local3]].insideNumber_mc.gotoAndStop(_root[arrStars[_local3]]._order);
_root[arrStars[_local3]].insideNumber_mc._rotation = _root[arrStars[_local3]]._rotation * -1;
}
if (_root[arrStars[_local3]]._objectType == 16) {
_root[arrStars[_local3]].ResetRainbow();
}
_local3++;
}
HideReflectLine();
_root.projectile.gotoAndStop(1);
_root.backgrounder.gotoAndPlay(1);
projectileOnScreen = false;
projectileOver = false;
projectileModified = false;
RemoveAllParticles();
TurnOffAllArrows();
_root.MoveIt(_root.topLeftMenu, 14, _root.topLeftMenu._y, motionTweenSpeed);
}
function RemoveAllParticles() {
var _local3 = 0;
while (_local3 < arrProjectiles.length) {
_root[arrProjectiles[_local3].name].removeMovieClip();
_local3++;
}
delete arrProjectiles;
arrProjectiles = new Array();
}
function CreateEffect(effectName, effectLocation, lockLocation, lockTarget) {
var _local3 = "effect_" + effectDepth;
_root.attachMovie(effectName, _local3, effectDepth);
_root[_local3].gotoAndStop(effectName);
_root[_local3]._x = effectLocation._x;
_root[_local3]._y = effectLocation._y;
arrEffects.push({name:_local3, locked:lockLocation, target:lockTarget});
effectDepth++;
if (effectDepth > 405000) {
effectDepth = 400000 /* 0x061A80 */;
}
return(_local3);
}
function CleanEffects() {
var _local3 = 0;
while (_local3 < arrEffects.length) {
_root[arrEffects[_local3].name].removeMovieClip();
_local3++;
}
delete arrEffects;
arrEffects = new Array();
}
function RemoveEffect(strName) {
var _local3 = 0;
while (_local3 < arrEffects.length) {
if (strName == arrEffects[_local3].name) {
_root[arrEffects[_local3].name].removeMovieClip();
arrEffects.splice(_local3, 1);
break;
}
_local3++;
}
}
function Effect_Blackhole(xLoc, yLoc) {
var _local2 = new Vector();
_local2._x = xLoc;
_local2._y = yLoc;
CreateEffect("blackhole_star", _local2, false, "");
}
function Easier() {
if (_global.clickLock == false) {
_global.SoundManager.PlaySound("buttonSound");
_root.AttachLoadWait();
LoadNextLevel(-0.2);
_global.clickLock = true;
}
}
function Same() {
if (_global.clickLock == false) {
_global.SoundManager.PlaySound("buttonSound");
_root.AttachLoadWait();
LoadNextLevel(0);
_global.clickLock = true;
}
}
function Harder() {
if (_global.clickLock == false) {
_global.SoundManager.PlaySound("buttonSound");
_root.AttachLoadWait();
LoadNextLevel(0.2);
_global.clickLock = true;
}
}
function FullRandom() {
if (_global.clickLock == false) {
_global.clickLock = true;
_global.SoundManager.PlaySound("buttonSound");
_root.AttachLoadWait();
_root.publicSetup.KillHints();
SubmitRatings(_global.currentLevelID, _root.gRating, _root.dRating);
attemptsTally = 0;
_root.objectRight.attempts_txt.text = attemptsTally;
if (_global.fromLoader == false) {
_root.inGameScreen.gotoAndPlay("offWinR");
}
ResetTestMode();
_root.LoadRandomLevel2(0, 0);
_global.fromLoader = false;
}
}
function LoadNextLevel(intOffset) {
_global.currentDifficulty = _global.currentDifficulty + intOffset;
var _local4 = SharedObject.getLocal("userData");
_local4.data.difficultySetting = _global.currentDifficulty;
_local4.flush();
_root.publicSetup.KillHints();
attemptsTally = 0;
_root.objectRight.attempts_txt.text = attemptsTally;
_root.inGameScreen.gotoAndPlay("offWinR");
ResetTestMode();
if (_global.currentDifficulty > 10) {
_global.currentDifficulty = 10;
} else if (_global.currentDifficulty < 0) {
_global.currentDifficulty = 0;
}
_root.LoadRandomLevel2(0, _global.currentDifficulty);
}
function NextRegularLevel(intLoadLevel) {
_root.publicSetup.KillHints();
SubmitRatings(_global.currentLevelID, _root.gRating, _root.dRating);
attemptsTally = 0;
_root.objectRight.attempts_txt.text = attemptsTally;
_root.inGameScreen.gotoAndPlay("offWinR");
ResetTestMode();
_root.ParseLevel2(intLoadLevel);
}
function FinishedLoadingNextLevel() {
_global.clickLock = false;
stateSystem = 0;
hintDeduct = 0;
_root.publicSetup.LoadLevelObjects();
_root.LevelIDJunk();
_root.gRating = 0;
_root.dRating = 0;
}
function MainMenu() {
SubmitRatings(_global.currentLevelID, _root.gRating, _root.dRating);
if (_global.playMode == 1) {
_root.inGameScreen.gotoAndPlay("offWin");
} else if (_global.playMode == 2) {
_root.inGameScreen.gotoAndPlay("offWinR");
} else if (_global.playMode == 3) {
_root.inGameScreen.gotoAndPlay("offWinS");
}
_root.gRating = 0;
_root.dRating = 0;
BackToMainMenu();
}
function GetScores() {
levelScore = 10000 - ((attemptsTally - 1) * 100);
levelScore = levelScore - (hintDeduct * 2500);
var _local4 = String(attemptsTally - 1);
var _local3 = String(levelScore);
if (_local3 < 0) {
_local3 = 0;
}
_root.inGameScreen.perfect.text = 10000;
_root.inGameScreen.attempts.text = _local4 + " x -100";
_root.inGameScreen.hints.text = hintDeduct + " x -2500";
_root.inGameScreen.score.text = _local3;
attemptsTally = 0;
}
function NextLevel() {
}
function SubmitRatings(id, gRate, dRate) {
var _local1 = new LoadVars();
var _local3 = new LoadVars();
var _local5 = String((((id + ",") + gRate) + ",") + dRate);
var _local2 = new DataEncrypter(128, 128);
var _local4 = _local2.encrypt(_local5, "zv3TayWxuyHCpRHw", "ECB");
_local1.sntRating = _local4;
var _local6 = "http://s1.herointeractive.com/starshine2/setRating.php";
_local1.sendAndLoad(_local6, _local3, "POST");
}
function HintPressed() {
if (stateSystem != 2) {
_global.SoundManager.PlaySound("buttonSound");
if (hintCount == 1) {
_root.publicSetup.KillHints();
_root.publicSetup.HintOne();
} else if (hintCount == 2) {
_root.publicSetup.KillHints();
_root.publicSetup.HintTwo();
} else if (hintCount == 3) {
_root.publicSetup.KillHints();
_root.publicSetup.HintThree();
} else {
_root.publicSetup.KillHints();
_root.publicSetup.StartLocation();
hintCount--;
if (_root.publicSetup.totalHints == 2) {
hintDeduct = 2;
} else if (_root.publicSetup.totalHints == 3) {
hintDeduct = 3;
}
}
hintCount++;
hintDeduct++;
}
}
function AttemptsPlus() {
attemptsTally++;
_root.objectRight.attempts_txt.text = attemptsTally;
}
function BackToMainMenu() {
_root.RemoveLoadWait();
_root.winScreen.gotoAndStop("off");
_global.SoundManager.PlaySound("buttonSound");
_root.publicSetup.KillHints();
TurnOffAllArrows();
RemoveAllParticles();
_root.MoveIt(_root.level_ID_txt, _root.level_ID_txt._x, _root.level_ID_txt._y + 50, motionTweenSpeed);
_root.MoveIt(_root.level_id_display_txt, _root.level_id_display_txt._x, _root.level_id_display_txt._y + 50, motionTweenSpeed);
if (stateSystem != 4) {
_root.backgrounder.gotoAndPlay("hide");
}
_root.water.gotoAndPlay("goAway");
_root.sky.gotoAndPlay("goAway");
_root.starsmoon.gotoAndPlay("goAway");
_root.treesAndRocks.gotoAndPlay("goAway");
_root.publicSetup.DeleteAllObjects();
Mouse.removeListener(mouseListener);
_root.MoveIt(_root.topLeftMenu, _root.topLeftMenu._x - 144, _root.topLeftMenu._y, motionTweenSpeed);
_global.blnBFG = true;
callToUse = "main_menu";
_root.tutorialMC.swapDepths(saveTutorialDepth);
_root.MoveIt(_root.objectRight, _root.objectRight._x + 141, _root.objectRight._y, motionTweenSpeed);
}
function MainOver() {
if (notificationState == 1) {
_root[notificationName].removeMovieClip();
}
notificationState = 1;
notificationName = "Notify_" + _root.getNextHighestDepth();
_root.attachMovie("mainMenuNotification", notificationName, _root.getNextHighestDepth());
_root[notificationName]._visible = false;
_root[notificationName]._x = _xmouse;
_root[notificationName]._y = _ymouse;
}
function MainOut() {
_root[notificationName].removeMovieClip();
notificationState = 0;
}
function MainDragOut() {
_root[notificationName].removeMovieClip();
notificationState = 0;
}
function NotificationMove() {
if (notificationState == 1) {
_root[notificationName]._visible = true;
_root[notificationName]._x = _xmouse;
_root[notificationName]._y = _ymouse + 30;
}
}
function MoveQuestionMark() {
if (stateSystem == 1) {
_root.questionMark._x = _xmouse;
_root.questionMark._y = _ymouse;
}
}
function HelpModeInit() {
if (_global.playMode != 1) {
if (stateSystem == 0) {
_global.SoundManager.PlaySound("buttonSound");
stateSystem = 5;
_root.attachMovie("flagScreen", "flaggy", _root.getNextHighestDepth());
_root.flaggy._x = 194.6;
_root.flaggy._y = 186.3;
}
}
}
function HelpRollOver() {
if (notificationState == 1) {
_root[notificationName].removeMovieClip();
}
notificationState = 1;
notificationName = "Notify_" + _root.getNextHighestDepth();
_root.attachMovie("questionNotification", notificationName, _root.getNextHighestDepth());
if (_global.playMode == 1) {
_root[notificationName].gotoAndStop(2);
}
_root[notificationName]._visible = false;
_root[notificationName]._x = _xmouse;
_root[notificationName]._y = _ymouse;
}
function HelpRollOut() {
_root[notificationName].removeMovieClip();
notificationState = 0;
}
function HelpDragOut() {
_root[notificationName].removeMovieClip();
notificationState = 0;
}
function FlagWorks() {
if (_global.flagger == true) {
var _local2 = new LoadVars();
var _local4 = new LoadVars();
var _local7 = String(_global.currentLevelID);
var _local3 = new DataEncrypter(128, 128);
var _local5 = _local3.encrypt(_local7, "zv3TayWxuyHCpRHw", "ECB");
_local2.sntPuzzle = _local5;
var _local6 = "http://s1.herointeractive.com/starshine2/setFlag.php";
_local2.sendAndLoad(_local6, _local4, "POST");
}
}
function GetObjectWidth(myType) {
switch (myType) {
case 1 :
case 2 :
case 3 :
case 4 :
case 5 :
case 6 :
case 7 :
case 15 :
case 16 :
return(14);
case 8 :
case 9 :
case 10 :
case 11 :
case 12 :
case 13 :
case 14 :
return(20);
}
return(0);
}
function RandNum(minVal, maxVal) {
return(Math.round(Math.random() * (maxVal - minVal)) + minVal);
}
}
Symbol 315 MovieClip Frame 220
stop();
Instance of Symbol 315 MovieClip in Symbol 327 MovieClip Frame 1
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Instance of Symbol 326 MovieClip in Symbol 327 MovieClip Frame 229
on (release) {
getURL ("http://armorgames.com/play/2554/starshine-2-puzzle-master", "_blank");
}
Symbol 327 MovieClip Frame 401
_root.gotoAndStop("menu");
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 78
this.gotoAndPlay(2);
Symbol 336 MovieClip Frame 101
this.gotoAndPlay(65);
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 16
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 15
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 13
stop();
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 26
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 22
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 15
stop();
Symbol 402 MovieClip Frame 89
_root.AfterStarsFall();
stop();
Symbol 404 MovieClip Frame 53
stop();
Symbol 406 MovieClip Frame 11
stop();
Symbol 406 MovieClip Frame 37
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Instance of Symbol 410 MovieClip in Symbol 413 MovieClip Frame 1
on (release) {
getURL ("http://www.herointeractive.com", "_blank");
}
Symbol 413 MovieClip Frame 232
stop();
Symbol 414 MovieClip Frame 217
if (_global.urlLoadedPuzzle != 0) {
_global.playMode = 3;
_root.LoadURLLevel(_global.urlLoadedPuzzle);
stop();
} else {
_root.menuNotify.gotoAndPlay("start");
}
Symbol 414 MovieClip Frame 225
_root.ButtonMove();
_root.main_menu.gotoAndStop("on");
stop();
Symbol 420 Button
on (release) {
getURL ("http://www.herointeractive.com/", "_blank");
}
Symbol 426 Button
on (release) {
getURL ("http://www.herointeractive.com/", "_blank");
}
Symbol 432 Button
on (release) {
getURL ("http://mailto:calkutta1@gmail.com", "_blank");
}
Symbol 436 Button
on (press) {
_root.BackFromCredits();
}
Symbol 437 MovieClip Frame 1
_root.SetButtonCode();
stop();
Symbol 437 MovieClip Frame 21
backer.tabEnabled = false;
stop();
Symbol 437 MovieClip Frame 40
this.gotoAndStop("off");
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 2
stop();
Symbol 450 Button
on (press) {
_root.BackFromSettings();
}
Symbol 451 MovieClip Frame 1
_root.SetButtonCode();
stop();
Instance of Symbol 439 MovieClip "low" in Symbol 451 MovieClip Frame 2
onClipEvent (load) {
if (_quality == "LOW") {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_quality != "LOW") {
this.gotoAndStop("off");
}
}
on (release) {
_quality = "LOW";
this._parent.high.gotoAndStop("off");
this._parent.med.gotoAndStop("off");
}
Instance of Symbol 439 MovieClip "med" in Symbol 451 MovieClip Frame 2
onClipEvent (load) {
if (_quality == "MEDIUM") {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_quality != "MEDIUM") {
this.gotoAndStop("off");
}
}
on (release) {
_quality = "MEDIUM";
this._parent.high.gotoAndStop("off");
this._parent.low.gotoAndStop("off");
}
Instance of Symbol 439 MovieClip "high" in Symbol 451 MovieClip Frame 2
onClipEvent (load) {
if (_quality == "HIGH") {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_quality != "HIGH") {
this.gotoAndStop("off");
}
}
on (release) {
_quality = "HIGH";
this._parent.low.gotoAndStop("off");
this._parent.med.gotoAndStop("off");
}
Instance of Symbol 439 MovieClip "musicOn" in Symbol 451 MovieClip Frame 2
onClipEvent (load) {
if (_global.musicOn == true) {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_global.musicOn != true) {
this.gotoAndStop("off");
}
}
on (release) {
_global.musicOn = true;
this._parent.musicOff.gotoAndStop("off");
_global.myMusicPlayer.SetTrack("titleMusic");
_global.myMusicPlayer.SetMaxVolume(100);
_global.myMusicPlayer.PlayWithCrossFade(3);
}
Instance of Symbol 439 MovieClip "musicOff" in Symbol 451 MovieClip Frame 2
onClipEvent (load) {
if (_global.musicOn == false) {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_global.musicOn == true) {
this.gotoAndStop("off");
}
}
on (release) {
_global.musicOn = false;
this._parent.musicOn.gotoAndStop("off");
_global.myMusicPlayer.Stop();
}
Instance of Symbol 439 MovieClip "soundsOn" in Symbol 451 MovieClip Frame 2
onClipEvent (load) {
if (_global.soundOn == true) {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_global.soundOn != true) {
this.gotoAndStop("off");
}
}
on (release) {
_global.soundOn = true;
this._parent.soundsOff.gotoAndStop("off");
}
Instance of Symbol 439 MovieClip "soundsOff" in Symbol 451 MovieClip Frame 2
onClipEvent (load) {
if (_global.soundOn == false) {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_global.soundOn == true) {
this.gotoAndStop("off");
}
}
on (release) {
_global.soundOn = false;
this._parent.soundsOn.gotoAndStop("off");
}
Symbol 451 MovieClip Frame 15
backer.tabEnabled = false;
stop();
Symbol 451 MovieClip Frame 30
this.gotoAndStop("off");
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 2
stop();
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 2
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 2
stop();
Symbol 479 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 2
stop();
Symbol 480 Button
on (press) {
_root.BackFromPlay();
}
Symbol 481 MovieClip Frame 1
_root.SetButtonCode();
stop();
Instance of Symbol 460 MovieClip "psg" in Symbol 481 MovieClip Frame 6
on (release) {
_root.GoToGame("standard");
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
on (dragOver) {
this.gotoAndStop("on");
}
Instance of Symbol 468 MovieClip "prp" in Symbol 481 MovieClip Frame 6
on (release) {
_root.GoToGame("random");
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
on (dragOver) {
this.gotoAndStop("on");
}
Instance of Symbol 473 MovieClip "lsp" in Symbol 481 MovieClip Frame 6
on (release) {
_root.GoToGame("specific");
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
on (dragOver) {
this.gotoAndStop("on");
}
Instance of Symbol 479 MovieClip in Symbol 481 MovieClip Frame 6
on (release) {
getURL ("http://armorgames.com/play/2554/starshine-2-puzzle-master", "_blank");
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
on (dragOver) {
this.gotoAndStop("on");
}
Symbol 481 MovieClip Frame 19
back_btn.tabEnabled = false;
stop();
Symbol 481 MovieClip Frame 38
this.gotoAndStop("off");
Symbol 487 Button
on (press) {
_root.SelectLevel(this._name);
}
Symbol 488 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 2
stop();
Symbol 541 MovieClip Frame 1
stop();
l1.tabEnabled = false;
l2.tabEnabled = false;
l3.tabEnabled = false;
l4.tabEnabled = false;
l5.tabEnabled = false;
l6.tabEnabled = false;
l7.tabEnabled = false;
l8.tabEnabled = false;
l9.tabEnabled = false;
l10.tabEnabled = false;
l11.tabEnabled = false;
l12.tabEnabled = false;
l13.tabEnabled = false;
l14.tabEnabled = false;
l15.tabEnabled = false;
l16.tabEnabled = false;
l17.tabEnabled = false;
l18.tabEnabled = false;
l19.tabEnabled = false;
l20.tabEnabled = false;
l21.tabEnabled = false;
l22.tabEnabled = false;
l23.tabEnabled = false;
l24.tabEnabled = false;
l25.tabEnabled = false;
l26.tabEnabled = false;
l27.tabEnabled = false;
l28.tabEnabled = false;
l29.tabEnabled = false;
l30.tabEnabled = false;
l31.tabEnabled = false;
l32.tabEnabled = false;
l33.tabEnabled = false;
l34.tabEnabled = false;
l35.tabEnabled = false;
l36.tabEnabled = false;
l37.tabEnabled = false;
l38.tabEnabled = false;
l39.tabEnabled = false;
l40.tabEnabled = false;
l41.tabEnabled = false;
l42.tabEnabled = false;
l43.tabEnabled = false;
l44.tabEnabled = false;
l45.tabEnabled = false;
l46.tabEnabled = false;
l47.tabEnabled = false;
l48.tabEnabled = false;
l49.tabEnabled = false;
l50.tabEnabled = false;
var movName;
var i = 1;
while (i < _global.levels.length) {
movName = "l" + i;
var mcButtonRef = eval ("_root.level_wrap.menu_mc." + movName);
if (_global.levels[i] == 1) {
mcButtonRef.gotoAndStop("unlocked");
} else {
mcButtonRef.gotoAndStop("locked");
}
i++;
}
Symbol 542 Button
on (press) {
_root.BackFromLevel();
}
Symbol 546 Button
on (press) {
_root.BackFromLevel2();
}
Symbol 552 Button
on (press) {
_root.LoadLevel(this.level_code_txt.text);
}
Symbol 553 MovieClip Frame 1
_root.SetButtonCode();
stop();
Symbol 553 MovieClip Frame 15
backer.tabEnabled = false;
stop();
Symbol 553 MovieClip Frame 27
this.gotoAndStop("off");
Symbol 553 MovieClip Frame 28
_root.enterTest = false;
Symbol 553 MovieClip Frame 41
_root.enterTest = true;
_global.clickLock = false;
stop();
Symbol 553 MovieClip Frame 42
_root.enterTest = false;
Symbol 553 MovieClip Frame 55
this.gotoAndStop("off");
Symbol 556 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 218
gotoAndStop ("off");
Symbol 558 MovieClip Frame 20
stop();
Symbol 558 MovieClip Frame 28
stop();
Symbol 559 MovieClip Frame 20
stop();
Symbol 559 MovieClip Frame 28
stop();
Symbol 567 MovieClip Frame 1
this.inside_mc._visible = false;
stop();
Symbol 568 MovieClip Frame 20
stop();
Symbol 568 MovieClip Frame 28
stop();
Symbol 570 MovieClip Frame 20
stop();
Symbol 570 MovieClip Frame 28
stop();
Symbol 577 Button
on (release) {
_root.game.HelpModeInit();
}
on (rollOver) {
_root.game.HelpRollOver();
}
on (rollOut) {
_root.game.HelpRollOut();
}
on (dragOut) {
_root.game.HelpDragOut();
}
Symbol 585 Button
on (release) {
_root.game.BackToMainMenu();
_root.inGameTut.gotoAndStop("off");
}
on (rollOver) {
_root.game.MainOver();
}
on (rollOut) {
_root.game.MainOut();
}
on (dragOut) {
_root.game.MainDragOut();
}
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 2
stop();
Symbol 599 Button
on (rollOver) {
_root.tutorialMC.gotoAndStop("on");
}
on (rollOut) {
_root.tutorialMC.gotoAndStop("off");
}
on (dragOut) {
_root.tutorialMC.gotoAndStop("off");
}
on (dragOver) {
_root.tutorialMC.gotoAndStop("on");
}
Symbol 600 MovieClip Frame 1
m.tabEnabled = false;
question.tabEnabled = false;
hint_btn.tabEnabled = false;
Instance of Symbol 592 MovieClip "hint_btn" in Symbol 600 MovieClip Frame 1
on (release) {
if (_root.game.stateSystem != 5) {
_root.game.HintPressed();
}
}
on (rollOver) {
if (_root.game.stateSystem != 5) {
this.gotoAndStop("on");
}
}
on (rollOut) {
if (_root.game.stateSystem != 5) {
this.gotoAndStop("off");
}
}
on (dragOut) {
if (_root.game.stateSystem != 5) {
this.gotoAndStop("off");
}
}
Symbol 608 MovieClip Frame 15
stop();
Symbol 608 MovieClip Frame 29
stop();
Symbol 610 MovieClip Frame 1
stop();
Symbol 610 MovieClip Frame 20
stop();
Symbol 610 MovieClip Frame 40
this.gotoAndStop("off");
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 2
stop();
Symbol 625 Button
on (release) {
getURL ("http://armorgames.com/play/2554/starshine-2-puzzle-master", "_blank");
}
Symbol 628 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 631 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 2
stop();
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 2
stop();
Symbol 654 Button
on (release) {
_root.game.FullRandom();
}
Symbol 657 MovieClip Frame 1
stop();
Symbol 657 MovieClip Frame 2
stop();
Symbol 660 MovieClip Frame 1
stop();
Symbol 660 MovieClip Frame 2
stop();
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
stop();
Instance of Symbol 672 MovieClip "d1" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 1;
_parent.orange._x = -130.5;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -130.5;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d2" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 2;
_parent.orange._x = -117.5;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -117.5;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d3" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 3;
_parent.orange._x = -103.5;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -103.5;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d4" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 4;
_parent.orange._x = -89.5;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -89.5;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d5" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 5;
_parent.orange._x = -75.5;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -75.5;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d6" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 6;
_parent.orange._x = -61.5;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -61.5;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d7" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 7;
_parent.orange._x = -48;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -48;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d8" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 8;
_parent.orange._x = -34;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -34;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d9" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 9;
_parent.orange._x = -19.5;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -19.5;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d10" in Symbol 673 MovieClip Frame 1
on (release) {
_root.dRating = 10;
_parent.orange._x = -3.5;
_global.locker = true;
}
on (rollOver) {
if (_global.locker == false) {
_parent.orange._x = -3.5;
}
}
on (rollOut) {
if (_global.locker == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d1" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 1;
_parent.orange._x = -130.5;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -130.5;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d2" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 2;
_parent.orange._x = -117.5;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -117.5;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d3" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 3;
_parent.orange._x = -103.5;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -103.5;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d4" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 4;
_parent.orange._x = -89.5;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -89.5;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d5" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 5;
_parent.orange._x = -75.5;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -75.5;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d6" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 6;
_parent.orange._x = -61.5;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -61.5;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d7" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 7;
_parent.orange._x = -48;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -48;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d8" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 8;
_parent.orange._x = -34;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -34;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d9" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 9;
_parent.orange._x = -19.5;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -19.5;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Instance of Symbol 672 MovieClip "d10" in Symbol 674 MovieClip Frame 1
on (release) {
_root.gRating = 10;
_parent.orange._x = -3.5;
_global.locker2 = true;
}
on (rollOver) {
if (_global.locker2 == false) {
_parent.orange._x = -3.5;
}
}
on (rollOut) {
if (_global.locker2 == false) {
_parent.orange._x = -147;
}
}
Symbol 688 MovieClip Frame 1
stop();
Instance of Symbol 631 MovieClip "rMainMenu_btn" in Symbol 688 MovieClip Frame 4
on (release) {
_root.game.MainMenu();
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
Instance of Symbol 634 MovieClip "nextLevel_btn" in Symbol 688 MovieClip Frame 4
on (release) {
_root.game.NextRegularLevel(_global.currentLevel);
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
Symbol 688 MovieClip Frame 10
_global.locker = false;
_global.locker2 = false;
_root.game.GetScores();
nextLevel_btn.tabEnabled = false;
rMainMenu_btn.tabEnabled = false;
ma.tabEnabled = false;
pl.tabEnabled = false;
stop();
Symbol 688 MovieClip Frame 20
this.gotoAndStop("off");
Symbol 688 MovieClip Frame 21
this.attemps.text = "";
this.score.text = "";
this.hints.text = "";
this.perfect.text = "";
Instance of Symbol 657 MovieClip "rSame_btn" in Symbol 688 MovieClip Frame 23
on (release) {
_root.game.Same();
}
Instance of Symbol 660 MovieClip "rHarder_btn" in Symbol 688 MovieClip Frame 23
on (release) {
_root.game.Harder();
}
Instance of Symbol 663 MovieClip "rEasier_btn" in Symbol 688 MovieClip Frame 23
on (release) {
_root.game.Easier();
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
Symbol 688 MovieClip Frame 29
_global.locker = false;
_global.locker2 = false;
_root.game.GetScores();
rSame_btn.tabEnabled = false;
rHarder_btn.tabEnabled = false;
randomLevel_btn.tabEnabled = false;
rMainMenu_btn.tabEnabled = false;
stop();
Instance of Symbol 631 MovieClip "rMainMenu_btn" in Symbol 688 MovieClip Frame 29
on (release) {
_root.game.MainMenu();
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
Instance of Symbol 657 MovieClip "rSame_btn" in Symbol 688 MovieClip Frame 29
on (release) {
_root.game.Same();
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
Instance of Symbol 660 MovieClip "rHarder_btn" in Symbol 688 MovieClip Frame 29
on (release) {
_root.game.Harder();
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
Symbol 688 MovieClip Frame 30
this.attempts.text = "";
this.score.text = "";
this.hints.text = "";
this.perfect.text = "";
Instance of Symbol 657 MovieClip "rSame_btn" in Symbol 688 MovieClip Frame 36
on (release) {
_root.game.Same();
}
Instance of Symbol 660 MovieClip "rHarder_btn" in Symbol 688 MovieClip Frame 36
on (release) {
_root.game.Harder();
}
Symbol 688 MovieClip Frame 39
this.gotoAndStop("off");
Symbol 688 MovieClip Frame 40
this.attemps.text = "";
this.score.text = "";
this.hints.text = "";
this.perfect.text = "";
Instance of Symbol 631 MovieClip "rMainMenu_btn" in Symbol 688 MovieClip Frame 42
on (release) {
_root.game.MainMenu();
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
Symbol 688 MovieClip Frame 48
_global.locker = false;
_global.locker2 = false;
_root.game.GetScores();
rMainMenu_btn.tabEnabled = false;
stop();
Symbol 688 MovieClip Frame 49
this.attempts.text = "";
this.score.text = "";
this.hints.text = "";
this.perfect.text = "";
Symbol 688 MovieClip Frame 58
this.gotoAndStop("off");
Symbol 695 Button
on (release) {
gotoAndStop ("on2");
}
Symbol 699 Button
on (release) {
_root.game.stateSystem = 0;
gotoAndStop ("off");
_global.tutorialDone = true;
}
Symbol 707 Button
on (release) {
_root.game.stateSystem = 0;
gotoAndStop ("off");
_global.tutorialDone = true;
}
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 2
stop();
Symbol 710 MovieClip Frame 3
stop();
Symbol 715 Button
on (release) {
getURL ("http://armorgames.com/play/2554/starshine-2-puzzle-master", "_blank");
}
Symbol 719 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 723 Button
on (release) {
_root.game.BackToMainMenu();
}
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 2
stop();