Frame 1
Stage.scaleMode = "noScale";
fscommand ("showmenu", "false");
myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
stop();
tim.timerr._visible = false;
_global.url1 = "http://www.gamesgames.com/moregames/?utm_source=brandedgames&utm_medium=horoscope_puzzle";
_global.url2 = "http://www.gamesgames.com/freegames/?utm_source=brandedgames&utm_medium=horoscope_puzzle";
_global.languagenm = 1;
_global.branding_nr = 17;
times = 0;
timesxxx = 1920;
rootstate = 1;
starrot = 0;
back1rot = 0;
back2rot = 0;
fixstar = 1;
cfixstar = 0;
rst = 0;
wronglines = 0;
truelines = 0;
truelinenm = 0;
starstate = 0;
startMC = 0;
currentMC = 0;
endMC = 0;
cname = new Array();
ctime = new Array();
mm = new Object();
_root.onEnterFrame = function () {
ifFrameLoaded (8) {
delete _root.onEnterFrame;
_root.gotoAndStop(3);
}
};
weblogo.onRelease = function () {
getURL (_global.url1, _blank);
};
var byteloaded;
var bytetotal;
tim.onEnterFrame = function () {
byteloaded = _root.getBytesLoaded();
bytetotal = _root.getBytesTotal();
tim.gotoAndStop(int((byteloaded / bytetotal) * 100));
};
Frame 2
stop();
l1._alpha = (l2._alpha = (l3._alpha = (l4._alpha = (l5._alpha = (l6._alpha = (l7._alpha = (l8._alpha = (l9._alpha = (l10._alpha = (l11._alpha = (l12._alpha = (l13._alpha = (l14._alpha = 50)))))))))))));
l1.onRollOver = function () {
this.getchoose = 1;
};
l1.onRollOut = function () {
this.getchoose = 0;
};
l1.onEnterFrame = function () {
if (this.getchoose == 0) {
if (this._alpha <= 50) {
this._alpha = 50;
}
if (this._alpha > 50) {
this._alpha = this._alpha - 5;
}
if (this._xscale <= 100) {
this._xscale = 100;
}
if (this._xscale > 100) {
this._xscale = this._xscale - 6;
}
if (this._yscale <= 100) {
this._yscale = 100;
}
if (this._yscale > 100) {
this._yscale = this._yscale - 6;
}
}
if (this.getchoose == 1) {
if (this._alpha >= 100) {
this._alpha = 100;
}
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
if (this._xscale >= 130) {
this._xscale = 130;
}
if (this._xscale < 130) {
this._xscale = this._xscale + 6;
}
if (this._yscale >= 130) {
this._yscale = 130;
}
if (this._yscale < 130) {
this._yscale = this._yscale + 6;
}
}
};
l2.onRollOver = l1.onRollOver;
l2.onRollOut = l1.onRollOut;
l2.onEnterFrame = l1.onEnterFrame;
l3.onRollOver = l1.onRollOver;
l3.onRollOut = l1.onRollOut;
l3.onEnterFrame = l1.onEnterFrame;
l4.onRollOver = l1.onRollOver;
l4.onRollOut = l1.onRollOut;
l4.onEnterFrame = l1.onEnterFrame;
l5.onRollOver = l1.onRollOver;
l5.onRollOut = l1.onRollOut;
l5.onEnterFrame = l1.onEnterFrame;
l6.onRollOver = l1.onRollOver;
l6.onRollOut = l1.onRollOut;
l6.onEnterFrame = l1.onEnterFrame;
l7.onRollOver = l1.onRollOver;
l7.onRollOut = l1.onRollOut;
l7.onEnterFrame = l1.onEnterFrame;
l8.onRollOver = l1.onRollOver;
l8.onRollOut = l1.onRollOut;
l8.onEnterFrame = l1.onEnterFrame;
l9.onRollOver = l1.onRollOver;
l9.onRollOut = l1.onRollOut;
l9.onEnterFrame = l1.onEnterFrame;
l10.onRollOver = l1.onRollOver;
l10.onRollOut = l1.onRollOut;
l10.onEnterFrame = l1.onEnterFrame;
l11.onRollOver = l1.onRollOver;
l11.onRollOut = l1.onRollOut;
l11.onEnterFrame = l1.onEnterFrame;
l12.onRollOver = l1.onRollOver;
l12.onRollOut = l1.onRollOut;
l12.onEnterFrame = l1.onEnterFrame;
l13.onRollOver = l1.onRollOver;
l13.onRollOut = l1.onRollOut;
l13.onEnterFrame = l1.onEnterFrame;
l14.onRollOver = l1.onRollOver;
l14.onRollOut = l1.onRollOut;
l14.onEnterFrame = l1.onEnterFrame;
l1.onRelease = function () {
_global.languagenm = 1;
_root.gotoAndStop(3);
};
l2.onRelease = function () {
_global.languagenm = 2;
_root.gotoAndStop(3);
};
l3.onRelease = function () {
_global.languagenm = 3;
_root.gotoAndStop(3);
};
l4.onRelease = function () {
_global.languagenm = 4;
_root.gotoAndStop(3);
};
l5.onRelease = function () {
_global.languagenm = 5;
_root.gotoAndStop(3);
};
l6.onRelease = function () {
_global.languagenm = 6;
_root.gotoAndStop(3);
};
l7.onRelease = function () {
_global.languagenm = 7;
_root.gotoAndStop(3);
};
l8.onRelease = function () {
_global.languagenm = 8;
_root.gotoAndStop(3);
};
l9.onRelease = function () {
_global.languagenm = 9;
_root.gotoAndStop(3);
};
l10.onRelease = function () {
_global.languagenm = 10;
_root.gotoAndStop(3);
};
l11.onRelease = function () {
_global.languagenm = 11;
_root.gotoAndStop(3);
};
l12.onRelease = function () {
_global.languagenm = 12;
_root.gotoAndStop(3);
};
l13.onRelease = function () {
_global.languagenm = 13;
_root.gotoAndStop(3);
};
l14.onRelease = function () {
_global.languagenm = 14;
_root.gotoAndStop(3);
};
Frame 3
function bstaraction() {
this.fnm = this.fnm + 1;
this._alpha = this._alpha + this.calpha;
if (this.fnm == this.fixframe) {
if (this._alpha > 80) {
this.calpha = -2;
}
if (this._alpha <= 80) {
this.calpha = 2;
}
this.fnm = 0;
}
}
stop();
delete _root.onEnterFrame;
linelayer.removeMovieClip();
Mouse.removeListener(mm);
var mysoundstate = 1;
var mysoundi = 70;
var my_sound = new Sound();
my_sound.attachSound("star_menu_bg");
my_sound.setVolume(100);
my_sound.start(0, 999);
var my_sound3 = new Sound();
my_sound3.attachSound("menu_press");
trueStars = new Array();
fStars = new Array();
lines = new Array();
oneclass = new Array(0, 1, 2, 3, 4);
twoclass = new Array(5, 6, 7, 8, 9, 10, 11);
trueSounds = new Array();
fSounds = new Array();
fSounds = ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c2", "c3", "c4", "d1", "d2", "d3", "e1", "e2", "e3", "f1", "f2", "f3", "g1", "g2", "g3", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3", "#f1", "#f2", "#f3", "#g1", "#g2", "#g3"];
cname = [];
ctime = [];
chooseconste = 0;
chooseconstenm = 4;
startgame.txt.gotoAndStop(languagenm);
moregames.txt.gotoAndStop(languagenm);
gamesforyoursite.txt.gotoAndStop(languagenm);
startgame._alpha = (moregames._alpha = (gamesforyoursite._alpha = 50));
startgame.onRollOver = function () {
var _local2 = new Sound();
_local2.attachSound("undosound");
_local2.start(0, 1);
_local2.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
this.getchoose = 1;
};
startgame.onRollOut = function () {
this.getchoose = 0;
};
startgame.onEnterFrame = function () {
if (this.getchoose == 0) {
if (this._alpha <= 50) {
this._alpha = 50;
}
if (this._alpha > 50) {
this._alpha = this._alpha - 5;
}
if (this._xscale <= 100) {
this._xscale = 100;
}
if (this._xscale > 100) {
this._xscale = this._xscale - 6;
}
if (this._yscale <= 100) {
this._yscale = 100;
}
if (this._yscale > 100) {
this._yscale = this._yscale - 6;
}
}
if (this.getchoose == 1) {
if (this._alpha >= 100) {
this._alpha = 100;
}
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
if (this._xscale >= 130) {
this._xscale = 130;
}
if (this._xscale < 130) {
this._xscale = this._xscale + 6;
}
if (this._yscale >= 130) {
this._yscale = 130;
}
if (this._yscale < 130) {
this._yscale = this._yscale + 6;
}
}
};
moregames.onRollOver = startgame.onRollOver;
moregames.onRollOut = startgame.onRollOut;
moregames.onEnterFrame = startgame.onEnterFrame;
gamesforyoursite.onRollOver = startgame.onRollOver;
gamesforyoursite.onRollOut = startgame.onRollOut;
gamesforyoursite.onEnterFrame = startgame.onEnterFrame;
moregames.onRelease = function () {
getURL (_global.url1, _blank);
};
gamesforyoursite.onRelease = function () {
getURL (_global.url2, _blank);
};
weblogo.onRelease = function () {
getURL (_global.url1, _blank);
};
startgame.onRelease = function () {
my_sound3.start(0, 1);
my_sound3.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
var _local3 = new Sound();
_local3.attachSound("menu_startgame_fx");
_local3.start(0, 1);
_local3.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
mysoundstate = 2;
backpic.onEnterFrame = function () {
this._y = this._y + 4;
weblogo._y = weblogo._y + 4;
if (this._y >= 0) {
this._y = 0;
delete this.onEnterFrame;
delete _root.onEnterFrame;
_root.gotoAndStop(5);
}
};
backpic2.onEnterFrame = function () {
this._y = this._y + 2;
back1._y = back1._y + 2.5;
back2._y = back2._y + 2.5;
back3._y = back3._y + 2.5;
if (this._y >= 0) {
this._y = 0;
delete this.onEnterFrame;
delete _root.onEnterFrame;
_root.gotoAndStop(5);
}
};
zz3.gotoAndPlay(2);
gametitle.onEnterFrame = function () {
this._alpha = this._alpha - 1;
if (this._alpha <= 0) {
this._alpha = 0;
delete this.onEnterFrame;
}
};
startgame._visible = (moregames._visible = (gamesforyoursite._visible = (about._visible = false)));
};
var mstarnm = 0;
var xpos = _xmouse;
var ypos = _ymouse;
var xpos1 = _xmouse;
var ypos1 = _ymouse;
var rst = 0;
var sounddiv = 0;
var soundid = 0;
var createsound = 10;
var poschange = 2;
_root.onEnterFrame = function () {
if (mysoundstate == 2) {
mysoundi = mysoundi - 2;
if (mysoundi <= 0) {
my_sound.stop();
my_sound = null;
}
if (mysoundi > 0) {
my_sound.setVolume(mysoundi);
}
}
xpos = _xmouse;
ypos = _ymouse;
poschange = Math.sqrt(((xpos - xpos1) * (xpos - xpos1)) + ((ypos - ypos1) * (ypos - ypos1))) / 10;
var _local4 = 0;
while (_local4 < poschange) {
mstarlayer.attachMovie("mstar", mstarnm, mstarnm);
mstarlayer[mstarnm]._x = _xmouse;
mstarlayer[mstarnm]._y = _ymouse;
mstarlayer[mstarnm]._xscale = (mstarlayer[mstarnm]._yscale = (Math.random() * 30) + 10);
mstarlayer[mstarnm].dx = (Math.random() * 2) - 1;
mstarlayer[mstarnm].dy = (Math.random() * 3) - 5;
mstarlayer[mstarnm].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this._alpha = this._alpha - 2;
this.dy = this.dy + 0.5;
if (this.dy > 7) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
mstarnm++;
mstarnm = mstarnm % 200;
xpos1 = _xmouse;
ypos1 = _ymouse;
_local4++;
}
if (sounddiv == 0) {
if (createsound <= 6) {
var _local6 = "m" + soundid;
_local6 = new Sound();
_local6.attachSound(soundid);
_local6.start(0, 1);
_local6.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
soundid++;
soundid = soundid % 10;
}
createsound = int(80 / (poschange + 1)) + 2;
if (createsound < 16) {
createsound = 2;
}
if ((createsound >= 16) && (createsound < 32)) {
createsound = 3;
}
if ((createsound >= 32) && (createsound < 48)) {
createsound = 4;
}
if ((createsound >= 48) && (createsound < 64)) {
createsound = 5;
}
if ((createsound >= 64) && (createsound < 80)) {
createsound = 6;
}
if (createsound >= 80) {
createsound = 7;
}
}
sounddiv++;
sounddiv = sounddiv % createsound;
if (rst == 10) {
var _local3 = 0;
while (_local3 < 10) {
back2.attachMovie("backstar", _local3, _local3);
back2[_local3]._xscale = (back2[_local3]._yscale = (Math.random() * 8) + 18);
back2[_local3].dx = int((Math.random() * 40) - 20);
back2[_local3].dy = int((Math.random() * 40) - 20);
back2[_local3].dxfix = back2[_local3].dx / 25;
back2[_local3].dyfix = back2[_local3].dy / 25;
back2[_local3].fixframe = int((Math.random() * 20) + 20);
back2[_local3].fnm = 0;
back2[_local3].calpha = 0;
var _local5 = int(Math.random() * 20) + 1;
back2[_local3].light.gotoAndPlay(_local5);
back2[_local3].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 35) {
this.onEnterFrame = bstaraction;
}
};
_local3++;
}
}
if (rst == 14) {
var _local2 = 0;
while (_local2 < 10) {
back1.attachMovie("backstar", _local2, _local2);
back1[_local2]._xscale = (back1[_local2]._yscale = (Math.random() * 8) + 19);
back1[_local2].dx = int((Math.random() * 40) - 20);
back1[_local2].dy = int((Math.random() * 40) - 20);
back1[_local2].dxfix = back1[_local2].dx / 25;
back1[_local2].dyfix = back1[_local2].dy / 25;
back1[_local2].fixframe = int((Math.random() * 20) + 20);
back1[_local2].fnm = 0;
back1[_local2].calpha = 0;
var _local5 = int(Math.random() * 20) + 1;
back1[_local2].light.gotoAndPlay(_local5);
back1[_local2].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 39) {
this.onEnterFrame = bstaraction;
}
};
_local2++;
}
}
if (rst < 60) {
rst++;
}
if (rst == 60) {
back1._rotation = back1._rotation - 0.1;
back2._rotation = back2._rotation + 0.15;
}
};
Frame 4
function bstaraction() {
this.fnm = this.fnm + 1;
this._alpha = this._alpha + this.calpha;
if (this.fnm == this.fixframe) {
if (this._alpha > 80) {
this.calpha = -2;
}
if (this._alpha <= 80) {
this.calpha = 2;
}
this.fnm = 0;
}
}
function findpos(xp) {
seachnm = 0;
yp = (Math.random() * 400) - 200;
var _local2 = 0;
while (_local2 < trueStars.length) {
if ((((starlayer[trueStars[_local2]]._x - xp) * (starlayer[trueStars[_local2]]._x - xp)) + ((starlayer[trueStars[_local2]]._y - yp) * (starlayer[trueStars[_local2]]._y - yp))) < 400) {
findpos(xp);
seachnm++;
if (seachnm == 250) {
break;
}
}
_local2++;
}
var _local1 = 0;
while (_local1 < fStars.length) {
if ((((starlayer[fStars[_local1]]._x - xp) * (starlayer[fStars[_local1]]._x - xp)) + ((starlayer[fStars[_local1]]._y - yp) * (starlayer[fStars[_local1]]._y - yp))) < 400) {
findpos(xp);
seachnm++;
if (seachnm == 250) {
break;
}
}
_local1++;
}
return(yp);
}
stop();
delete _root.onEnterFrame;
timer._visible = (undo._visible = (clean._visible = (finish._visible = false)));
constellations._alpha = 0;
makesure._visible = false;
var linelayer = _root.createEmptyMovieClip("linelayer", 100);
linelayer._x = 275;
linelayer._y = 230;
bluelayer.lineStyle(1.5, 6873599, 100);
var my_sound = new Sound();
my_sound.attachSound("star_show");
my_sound.start(0, 1);
my_sound.setVolume(70);
my_sound.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
gameover = false;
trueStars = [];
fStars = [];
lines = [];
trueSounds = [];
fSounds = [];
times = 0;
timesxxx = timesxxx + 100;
rootstate = 1;
starrot = 0;
back1rot = 0;
back2rot = 0;
fixstar = 1;
cfixstar = 0;
wronglines = 0;
truelines = 0;
truelinenm = 0;
starstate = 0;
startMC = 0;
currentMC = 0;
endMC = 0;
var rst = 0;
var lightnm = 0;
var lnm = 1;
var bsnm = 30;
var nm = ("line" + lnm);
var sounddiv = 0;
var soundid = 0;
var createsound = 10;
var clickherestate = 0;
var mousedown = false;
mm.onMouseUp = function () {
if ((starstate == 1) && (rootstate == 6)) {
if (currentMC != 0) {
if (startMC != 0) {
linelayer[nm].clear();
linelayer[nm].ok = 2;
starlayer[startMC].gotoAndStop(1);
startMC = 0;
endMC = 0;
starstate = 1;
}
if (startMC == 0) {
startMC = starlayer[currentMC].idname;
starlayer[startMC].gotoAndStop(2);
if (((chooseconste == 1) && (startMC == 1)) && (clickherestate == 0)) {
clickhere._x = starlayer[starlayer[1].target1]._x + 275;
clickhere._y = starlayer[starlayer[1].target1]._y + 230;
clickhere.gotoAndPlay(2);
}
createLine();
starstate = 1;
}
}
if (currentMC == 0) {
linelayer[nm].clear();
linelayer[nm].ok = 2;
starlayer[startMC].gotoAndStop(1);
startMC = 0;
endMC = 0;
starstate = 0;
}
}
if ((starstate == 2) && (rootstate == 6)) {
if (startMC != endMC) {
var _local2 = 1;
var _local1 = 0;
while (_local1 < lines.length) {
if (((lines[_local1].sMC == startMC) && (lines[_local1].eMC == endMC)) || ((lines[_local1].sMC == endMC) && (lines[_local1].eMC == startMC))) {
_local2 = 0;
}
_local1++;
}
if (_local2 == 0) {
linelayer[nm].clear();
linelayer[nm].ok = 2;
starlayer[startMC].gotoAndStop(1);
}
if (_local2 == 1) {
linelayer[nm].sMC = startMC;
linelayer[nm].eMC = endMC;
linelayer[nm].ok = 1;
if (((((((starlayer[startMC].target1 == endMC) || (starlayer[startMC].target2 == endMC)) || (starlayer[startMC].target3 == endMC)) || (starlayer[startMC].target4 == endMC)) || (starlayer[startMC].target5 == endMC)) || (starlayer[startMC].target6 == endMC)) || (starlayer[startMC].target7 == endMC)) {
linelayer[nm].trueline = 1;
truelines++;
} else {
linelayer[nm].wrongline = 1;
wronglines++;
}
if ((((chooseconste == 1) && (startMC == 1)) && (endMC == starlayer[1].target1)) && (clickherestate == 0)) {
clickhere._x = -50;
clickhere._y = -50;
clickhere.gotoAndStop(1);
clickherestate == 1;
}
starlayer[startMC].truechild = starlayer[startMC].truechild + 1;
starlayer[endMC].truechild = starlayer[endMC].truechild + 1;
lines.push(linelayer[nm]);
starlayer[startMC].gotoAndStop(1);
}
starstate = 1;
}
if (startMC == endMC) {
linelayer[nm].clear();
linelayer[nm].ok = 2;
starlayer[startMC].gotoAndStop(1);
starstate = 0;
}
startMC = 0;
endMC = 0;
}
mousedown = false;
};
var my_sound2 = new Sound(timer);
my_sound2.attachSound("game_bg_fx");
var volumne = 96;
_root.onEnterFrame = function () {
if (zz3._currentframe == 30) {
my_sound2.setVolume(0);
my_sound2.stop();
my_sound2 = null;
_root.gotoAndStop(7);
}
if (rootstate == 1) {
if (chooseconstenm == 0) {
trueSounds = [0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 0, 0, 0, 0];
fSounds = ["a1", "a3", "b1", "b2", "b3", "c1", "c4", "d1", "d2", "d3", "e1", "e2", "e3", "f1", "f2", "f3", "g1", "g2", "g3", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d3", "#f1", "#f3", "#g1", "#g2", "#g3"];
createTrueStar(74, -159, 2, 0, 0, 0, 0, 0, 0, 1, 0, 1, "#d3");
createTrueStar(111, -105, 1, 3, 0, 0, 0, 0, 0, 2, 0, 2, "c3");
createTrueStar(33, -45, 2, 4, 0, 0, 0, 0, 0, 2, 0, 3, "a2");
createTrueStar(-12, 46, 3, 5, 6, 0, 0, 0, 0, 3, 0, 4, "#f2");
createTrueStar(62, 132, 4, 0, 0, 0, 0, 0, 0, 1, 0, 5, "#d2");
createTrueStar(-125, 59, 4, 0, 0, 0, 0, 0, 0, 1, 0, 6, "c2");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.moveTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
constellations.gotoAndStop(1);
truelinenm = 5;
}
if (chooseconstenm == 1) {
trueSounds = [0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 0, 0, 0];
fSounds = ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c2", "c3", "c4", "d1", "d2", "d3", "e1", "e2", "e3", "f1", "f2", "f3", "g1", "g2", "g3", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3"];
createTrueStar(-90, -72, 3, 0, 0, 0, 0, 0, 0, 1, 0, 1, "#f1");
createTrueStar(92, -60, 3, 0, 0, 0, 0, 0, 0, 1, 0, 2, "#f2");
createTrueStar(-1, -27, 2, 4, 1, 0, 0, 0, 0, 3, 0, 3, "#f3");
createTrueStar(-1, 19, 3, 5, 6, 0, 0, 0, 0, 3, 0, 4, "#g1");
createTrueStar(-123, 51, 4, 0, 0, 0, 0, 0, 0, 1, 0, 5, "#g2");
createTrueStar(128, 56, 4, 0, 0, 0, 0, 0, 0, 1, 0, 6, "#g3");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.moveTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.moveTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
constellations.gotoAndStop(2);
truelinenm = 5;
}
if (chooseconstenm == 2) {
trueSounds = [0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 0, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a1", "a3", "b1", "b2", "b3", "c1", "c2", "c4", "d1", "d2", "d3", "e1", "e2", "e3", "g1", "g2", "g3", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3", "#f1", "#f2", "#f3", "#g1", "#g2", "#g3"];
createTrueStar(-156, 52, 3, 0, 0, 0, 0, 0, 0, 1, 0, 1, "f1");
createTrueStar(-74, 40, 3, 0, 0, 0, 0, 0, 0, 1, 0, 2, "f3");
createTrueStar(-43, -96, 2, 4, 1, 0, 0, 0, 0, 3, 0, 3, "c3");
createTrueStar(70, -97, 3, 5, 6, 0, 0, 0, 0, 3, 0, 4, "a2");
createTrueStar(105, 43, 4, 0, 0, 0, 0, 0, 0, 1, 0, 5, "f2");
createTrueStar(191, 51, 4, 0, 0, 0, 0, 0, 0, 1, 0, 6, "f3");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.moveTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.moveTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
constellations.gotoAndStop(3);
truelinenm = 5;
}
if (chooseconstenm == 3) {
trueSounds = [0, 1, 0, 2, 0, 0, 0, 3, 0, 0, 0, 4, 0, 5, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c2", "c4", "d1", "d2", "e1", "e2", "f1", "f2", "f3", "g2", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3", "#f1", "#f2", "#f3", "#g1", "#g2", "#g3"];
createTrueStar(-65, 99, 2, 0, 0, 0, 0, 0, 0, 1, 0, 1, "g1");
createTrueStar(-39, -20, 3, 1, 0, 0, 0, 0, 0, 2, 0, 2, "g3");
createTrueStar(34, -113, 2, 4, 0, 0, 0, 0, 0, 2, 0, 3, "e3");
createTrueStar(121, -65, 3, 5, 0, 0, 0, 0, 0, 2, 0, 4, "c3");
createTrueStar(151, -7, 4, 0, 0, 0, 0, 0, 0, 1, 0, 5, "d3");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
constellations.gotoAndStop(4);
truelinenm = 4;
}
if (chooseconstenm == 4) {
trueSounds = [0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 0, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c2", "c4", "d1", "d2", "d3", "e1", "e2", "e3", "f1", "f3", "g1", "g2", "g3", "#a3", "#c1", "#c2", "#c3", "#d1", "#d3", "#f1", "#f2", "#f3", "#g1", "#g3"];
createTrueStar(-133, 32, 2, 0, 0, 0, 0, 0, 0, 1, 0, 1, "#a1");
createTrueStar(-101, -42, 3, 1, 0, 0, 0, 0, 0, 2, 0, 2, "#g2");
createTrueStar(-77, -149, 2, 4, 0, 0, 0, 0, 0, 2, 0, 3, "#d2");
createTrueStar(40, -133, 3, 5, 0, 0, 0, 0, 0, 2, 0, 4, "#a2");
createTrueStar(48, -32, 4, 6, 0, 0, 0, 0, 0, 2, 0, 5, "f2");
createTrueStar(107, 65, 5, 0, 0, 0, 0, 0, 0, 1, 0, 6, "c3");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
constellations.gotoAndStop(5);
truelinenm = 5;
}
if (chooseconstenm == 5) {
trueSounds = [0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 8, 9, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c2", "d1", "d2", "d3", "e1", "e2", "f1", "g1", "#a1", "#a2", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3", "#f1", "#f2", "#f3", "#g1", "#g2"];
createTrueStar(35, -110, 2, 0, 0, 0, 0, 0, 0, 1, 0, 1, "c4");
createTrueStar(-9, -74, 3, 1, 0, 0, 0, 0, 0, 2, 0, 2, "#g3");
createTrueStar(-76, -53, 2, 4, 0, 0, 0, 0, 0, 2, 0, 3, "f3");
createTrueStar(-105, -1, 3, 5, 0, 0, 0, 0, 0, 2, 0, 4, "c3");
createTrueStar(-159, 65, 4, 6, 0, 0, 0, 0, 0, 2, 0, 5, "#a3");
createTrueStar(-23, 84, 5, 7, 0, 0, 0, 0, 0, 2, 0, 6, "g3");
createTrueStar(66, 88, 6, 8, 10, 0, 0, 0, 0, 3, 0, 7, "e3");
createTrueStar(149, 77, 7, 9, 0, 0, 0, 0, 0, 2, 0, 8, "c3");
createTrueStar(131, 16, 8, 10, 0, 0, 0, 0, 0, 2, 0, 9, "g2");
createTrueStar(83, 33, 7, 9, 0, 0, 0, 0, 0, 2, 0, 10, "f2");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
bluelayer.lineTo(starlayer[7]._x, starlayer[7]._y);
bluelayer.lineTo(starlayer[8]._x, starlayer[8]._y);
bluelayer.lineTo(starlayer[9]._x, starlayer[9]._y);
bluelayer.lineTo(starlayer[10]._x, starlayer[10]._y);
bluelayer.lineTo(starlayer[7]._x, starlayer[7]._y);
constellations.gotoAndStop(6);
truelinenm = 10;
}
if (chooseconstenm == 6) {
trueSounds = [0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 7, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c3", "c4", "d1", "d3", "e3", "f1", "f3", "g1", "g3", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3", "#f1", "#f2", "#f3", "#g1", "#g2", "#g3"];
createTrueStar(-207, -70, 2, 0, 0, 0, 0, 0, 0, 1, 0, 1, "e1");
createTrueStar(-107, -6, 3, 1, 0, 0, 0, 0, 0, 2, 0, 2, "e2");
createTrueStar(-6, 0, 2, 4, 7, 5, 0, 0, 0, 4, 0, 3, "g2");
createTrueStar(115, 118, 3, 0, 0, 0, 0, 0, 0, 1, 0, 4, "f2");
createTrueStar(107, -53, 3, 6, 0, 0, 0, 0, 0, 2, 0, 5, "c2");
createTrueStar(115, -129, 5, 0, 0, 0, 0, 0, 0, 1, 0, 6, "d2");
createTrueStar(-70, -91, 3, 8, 0, 0, 0, 0, 0, 2, 0, 7, "f2");
createTrueStar(-159, -143, 7, 0, 0, 0, 0, 0, 0, 1, 0, 8, "e2");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.moveTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
bluelayer.moveTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[7]._x, starlayer[7]._y);
bluelayer.lineTo(starlayer[8]._x, starlayer[8]._y);
constellations.gotoAndStop(7);
truelinenm = 7;
}
if (chooseconstenm == 7) {
trueSounds = [0, 1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 6, 0, 7, 0, 0, 0, 8, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a1", "a3", "b1", "b3", "c1", "c2", "c4", "d1", "e1", "e2", "e3", "f1", "f2", "f3", "g1", "g3", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3", "#f1", "#f2", "#f3", "#g1", "#g2", "#g3"];
createTrueStar(-108, 37, 4, 0, 0, 0, 0, 0, 0, 1, 0, 1, "d3");
createTrueStar(-43, 48, 4, 0, 0, 0, 0, 0, 0, 1, 0, 2, "a2");
createTrueStar(32, 95, 4, 0, 0, 0, 0, 0, 0, 1, 0, 3, "d2");
createTrueStar(-1, -42, 3, 5, 1, 2, 0, 0, 0, 4, 0, 4, "c3");
createTrueStar(-50, -135, 4, 6, 0, 0, 0, 0, 0, 2, 0, 5, "b2");
createTrueStar(24, -166, 5, 7, 0, 0, 0, 0, 0, 2, 0, 6, "c3");
createTrueStar(76, 63, 6, 8, 0, 0, 0, 0, 0, 2, 0, 7, "b2");
createTrueStar(138, 19, 7, 9, 0, 0, 0, 0, 0, 2, 0, 8, "g2");
createTrueStar(168, -48, 8, 0, 0, 0, 0, 0, 0, 1, 0, 9, "a2");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.moveTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.moveTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
bluelayer.lineTo(starlayer[7]._x, starlayer[7]._y);
bluelayer.lineTo(starlayer[8]._x, starlayer[8]._y);
bluelayer.lineTo(starlayer[9]._x, starlayer[9]._y);
constellations.gotoAndStop(8);
truelinenm = 8;
}
if (chooseconstenm == 8) {
trueSounds = [0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 0, 0, 8, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a1", "a2", "a3", "b1", "b3", "c1", "c3", "c4", "d1", "e1", "e2", "e3", "f1", "g2", "g3", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3", "#f1", "#f2", "#f3", "#g1"];
createTrueStar(-130, 104, 2, 0, 0, 0, 0, 0, 0, 1, 0, 1, "#g3");
createTrueStar(-67, 38, 3, 1, 0, 0, 0, 0, 0, 2, 0, 2, "f3");
createTrueStar(5, -12, 2, 4, 7, 0, 0, 0, 0, 3, 0, 3, "d3");
createTrueStar(98, 25, 3, 5, 0, 0, 0, 0, 0, 2, 0, 4, "b2");
createTrueStar(138, 112, 4, 6, 0, 0, 0, 0, 0, 2, 0, 5, "#g2");
createTrueStar(71, 112, 5, 0, 0, 0, 0, 0, 0, 1, 0, 6, "f2");
createTrueStar(15, -112, 3, 8, 0, 0, 0, 0, 0, 2, 0, 7, "d2");
createTrueStar(69, -140, 7, 9, 0, 0, 0, 0, 0, 2, 0, 8, "g1");
createTrueStar(132, -94, 8, 0, 0, 0, 0, 0, 0, 1, 0, 9, "c2");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
bluelayer.moveTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[7]._x, starlayer[7]._y);
bluelayer.lineTo(starlayer[8]._x, starlayer[8]._y);
bluelayer.lineTo(starlayer[9]._x, starlayer[9]._y);
constellations.gotoAndStop(9);
truelinenm = 8;
}
if (chooseconstenm == 9) {
trueSounds = [0, 1, 0, 2, 0, 3, 0, 0, 0, 4, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 7, 0, 8, 0, 0, 0, 9, 0, 0, 0, 10, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a2", "a3", "b1", "b2", "b3", "c1", "c4", "d1", "e1", "e2", "e3", "f1", "f2", "f3", "g1", "g2", "g3", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#f1", "#f2", "#f3", "#g1", "#g2", "#g3"];
createTrueStar(-62, -37, 4, 0, 0, 0, 0, 0, 0, 1, 0, 1, "#a1");
createTrueStar(-50, 76, 4, 3, 0, 0, 0, 0, 0, 2, 0, 2, "a1");
createTrueStar(-54, 171, 2, 0, 0, 0, 0, 0, 0, 1, 0, 3, "#a1");
createTrueStar(-14, -14, 7, 5, 1, 2, 0, 0, 0, 4, 0, 4, "d2");
createTrueStar(57, 16, 4, 6, 0, 0, 0, 0, 0, 2, 0, 5, "c2");
createTrueStar(33, 88, 5, 0, 0, 0, 0, 0, 0, 1, 0, 6, "#d3");
createTrueStar(-14, -79, 4, 8, 9, 0, 0, 0, 0, 3, 0, 7, "d3");
createTrueStar(-62, -108, 7, 0, 0, 0, 0, 0, 0, 1, 0, 8, "c3");
createTrueStar(33, -101, 7, 10, 0, 0, 0, 0, 0, 2, 0, 9, "d3");
createTrueStar(79, -126, 9, 11, 0, 0, 0, 0, 0, 2, 0, 10, "#a2");
createTrueStar(70, -57, 10, 0, 0, 0, 0, 0, 0, 1, 0, 11, "#a1");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.moveTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.moveTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
bluelayer.moveTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[7]._x, starlayer[7]._y);
bluelayer.lineTo(starlayer[8]._x, starlayer[8]._y);
bluelayer.moveTo(starlayer[7]._x, starlayer[7]._y);
bluelayer.lineTo(starlayer[9]._x, starlayer[9]._y);
bluelayer.lineTo(starlayer[10]._x, starlayer[10]._y);
bluelayer.lineTo(starlayer[11]._x, starlayer[11]._y);
constellations.gotoAndStop(10);
truelinenm = 10;
}
if (chooseconstenm == 10) {
trueSounds = [0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 0, 0, 0, 0, 0, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a3", "b1", "b3", "c1", "c2", "c4", "d1", "d2", "e1", "f1", "f2", "f3", "g1", "g2", "g3", "#a1", "#a2", "#a3", "#c1", "#c2", "#c3", "#d1", "#d2", "#d3", "#f1", "#f2", "#f3", "#g1", "#g2", "#g3"];
createTrueStar(-83, -109, 2, 0, 0, 0, 0, 0, 0, 1, 0, 1, "a1");
createTrueStar(-50, -59, 3, 1, 9, 0, 0, 0, 0, 3, 0, 2, "e2");
createTrueStar(-50, -9, 2, 4, 0, 0, 0, 0, 0, 2, 0, 3, "c3");
createTrueStar(-83, 45, 3, 5, 0, 0, 0, 0, 0, 2, 0, 4, "a2");
createTrueStar(-80, 118, 4, 6, 0, 0, 0, 0, 0, 2, 0, 5, "d3");
createTrueStar(47, 125, 5, 7, 0, 0, 0, 0, 0, 2, 0, 6, "a1");
createTrueStar(3, 61, 6, 8, 0, 0, 0, 0, 0, 2, 0, 7, "e3");
createTrueStar(35, 3, 7, 9, 0, 0, 0, 0, 0, 2, 0, 8, "b2");
createTrueStar(26, -59, 8, 10, 2, 0, 0, 0, 0, 3, 0, 9, "c3");
createTrueStar(63, -139, 9, 0, 0, 0, 0, 0, 0, 1, 0, 10, "a2");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
bluelayer.lineTo(starlayer[7]._x, starlayer[7]._y);
bluelayer.lineTo(starlayer[8]._x, starlayer[8]._y);
bluelayer.lineTo(starlayer[9]._x, starlayer[9]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.moveTo(starlayer[9]._x, starlayer[9]._y);
bluelayer.lineTo(starlayer[10]._x, starlayer[10]._y);
constellations.gotoAndStop(11);
truelinenm = 10;
}
if (chooseconstenm == 11) {
trueSounds = [0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0];
fSounds = ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c2", "c3", "c4", "d1", "d2", "d3", "e1", "e2", "e3", "f1", "f2", "f3", "g1", "g2", "g3", "#a1", "#a3", "#c1", "#d1", "#f1", "#g1", "#g3"];
createTrueStar(14, -162, 2, 0, 0, 0, 0, 0, 0, 1, 0, 1, "#f3");
createTrueStar(-1, -87, 1, 3, 0, 0, 0, 0, 0, 2, 0, 2, "#d3");
createTrueStar(-38, -47, 2, 4, 5, 7, 0, 0, 0, 4, 0, 3, "#c3");
createTrueStar(-102, 49, 3, 0, 0, 0, 0, 0, 0, 1, 0, 4, "#a2");
createTrueStar(-47, 58, 3, 6, 0, 0, 0, 0, 0, 2, 0, 5, "#g2");
createTrueStar(-24, 164, 5, 0, 0, 0, 0, 0, 0, 1, 0, 6, "#f2");
createTrueStar(14, 58, 3, 8, 0, 0, 0, 0, 0, 2, 0, 7, "#d2");
createTrueStar(90, 109, 7, 0, 0, 0, 0, 0, 0, 1, 0, 8, "#c2");
bluelayer.moveTo(starlayer[1]._x, starlayer[1]._y);
bluelayer.lineTo(starlayer[2]._x, starlayer[2]._y);
bluelayer.lineTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[4]._x, starlayer[4]._y);
bluelayer.moveTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[5]._x, starlayer[5]._y);
bluelayer.lineTo(starlayer[6]._x, starlayer[6]._y);
bluelayer.moveTo(starlayer[3]._x, starlayer[3]._y);
bluelayer.lineTo(starlayer[7]._x, starlayer[7]._y);
bluelayer.lineTo(starlayer[8]._x, starlayer[8]._y);
constellations.gotoAndStop(12);
truelinenm = 7;
}
if (chooseconste <= 2) {
if (chooseconste == 1) {
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 50);
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 51);
}
if (chooseconste == 2) {
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 50);
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 51);
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 52);
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 53);
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 54);
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 55);
}
starrot = 0;
back1rot = -0.15;
back2rot = 0.1;
}
if (chooseconste > 2) {
var _local12 = (int(Math.random() * 3) + chooseconste) + 5;
var _local7 = 0;
while (_local7 < _local12) {
createFStar(0, 0, 0, 0, 0, 0, 0, 0, 0, 50 + _local7);
_local7++;
}
var _local16 = Math.random() * 2;
if (_local16 <= 1) {
starrot = 0.2 + (Math.random() * 0.1);
}
if (_local16 > 1) {
starrot = -0.2 - (Math.random() * 0.1);
}
back1rot = starrot * -0.7;
back2rot = back1rot * -0.7;
}
bluelayer._alpha = 0;
rootstate = 2;
}
if (rootstate == 2) {
if (chooseconste == 1) {
if ((bluelayer._alpha > 20) && (remember._currentframe == 1)) {
remember.gotoAndPlay(2);
}
}
if (bluelayer._alpha < 100) {
bluelayer._alpha = bluelayer._alpha + 3;
}
if (bluelayer._alpha >= 100) {
bluelayer._alpha == 100;
rst = 0;
rootstate = 3;
}
}
if (rootstate == 3) {
if (rst < 60) {
rst++;
}
if (rst == 60) {
rootstate = 4;
}
}
if (rootstate == 4) {
if ((chooseconste > 3) || (chooseconste == 2)) {
var _local7 = 0;
while (_local7 < trueStars.length) {
if (starlayer[trueStars[_local7]]._alpha > 0) {
starlayer[trueStars[_local7]]._alpha = starlayer[trueStars[_local7]]._alpha - 3;
}
if (starlayer[trueStars[_local7]]._alpha <= 0) {
starlayer[trueStars[_local7]]._alpha = 0;
}
_local7++;
}
}
if (bluelayer._alpha > 0) {
bluelayer._alpha = bluelayer._alpha - 3;
}
if (bluelayer._alpha <= 0) {
bluelayer._alpha == 0;
rst = 0;
rootstate = 5;
}
}
if (rootstate == 5) {
if ((chooseconste > 3) || (chooseconste == 2)) {
var _local7 = 0;
while (_local7 < trueStars.length) {
if (starlayer[trueStars[_local7]]._alpha < 100) {
starlayer[trueStars[_local7]]._alpha = starlayer[trueStars[_local7]]._alpha + 2;
}
if (starlayer[trueStars[_local7]]._alpha >= 100) {
starlayer[trueStars[_local7]]._alpha = 100;
}
_local7++;
}
}
var _local7 = 0;
while (_local7 < fStars.length) {
if (starlayer[fStars[_local7]]._alpha < 100) {
starlayer[fStars[_local7]]._alpha = starlayer[fStars[_local7]]._alpha + 2;
}
if (starlayer[fStars[_local7]]._alpha >= 100) {
starlayer[fStars[_local7]]._alpha = 100;
timer._visible = (undo._visible = (clean._visible = (finish._visible = true)));
Mouse.addListener(mm);
rst = 0;
starstate = 0;
startMC = 0;
currentMC = 0;
rootstate = 6;
}
_local7++;
}
if (rst == 2) {
var _local15 = new Sound();
_local15.attachSound("starfx");
_local15.start(0, 1);
_local15.setVolume(30);
_local15.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
my_sound2.start(0, 999);
var _local8 = 0;
while (_local8 < 5) {
back3.attachMovie("backstar", _local8, _local8);
back3[_local8]._xscale = (back3[_local8]._yscale = (Math.random() * 8) + 14);
back3[_local8].dx = int((Math.random() * 40) - 20);
back3[_local8].dy = int((Math.random() * 40) - 20);
back3[_local8].dxfix = back3[_local8].dx / 25;
back3[_local8].dyfix = back3[_local8].dy / 25;
back3[_local8].fixframe = int((Math.random() * 30) + 30);
back3[_local8].fnm = 0;
back3[_local8].calpha = -0.5;
var _local9 = int(Math.random() * 20) + 1;
back3[_local8].light.gotoAndPlay(_local9);
back3[_local8].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 27) {
this.onEnterFrame = bstaraction;
}
};
_local8++;
}
}
if (rst == 6) {
var _local5 = 6;
while (_local5 < 12) {
back3.attachMovie("backstar", _local5, _local5);
back3[_local5]._xscale = (back3[_local5]._yscale = (Math.random() * 8) + 16);
back3[_local5].dx = int((Math.random() * 40) - 20);
back3[_local5].dy = int((Math.random() * 40) - 20);
back3[_local5].dxfix = back3[_local5].dx / 25;
back3[_local5].dyfix = back3[_local5].dy / 25;
back3[_local5].fixframe = int((Math.random() * 20) + 30);
back3[_local5].fnm = 0;
back3[_local5].calpha = 0;
var _local9 = int(Math.random() * 20) + 1;
back3[_local5].light.gotoAndPlay(_local9);
back3[_local5].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 31) {
this.onEnterFrame = bstaraction;
}
};
_local5++;
}
}
if (rst == 10) {
var _local4 = 0;
while (_local4 < 12) {
back2.attachMovie("backstar", _local4, _local4);
back2[_local4]._xscale = (back2[_local4]._yscale = (Math.random() * 8) + 18);
back2[_local4].dx = int((Math.random() * 40) - 20);
back2[_local4].dy = int((Math.random() * 40) - 20);
back2[_local4].dxfix = back2[_local4].dx / 25;
back2[_local4].dyfix = back2[_local4].dy / 25;
back2[_local4].fixframe = int((Math.random() * 20) + 20);
back2[_local4].fnm = 0;
back2[_local4].calpha = 0;
var _local9 = int(Math.random() * 20) + 1;
back2[_local4].light.gotoAndPlay(_local9);
back2[_local4].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 35) {
this.onEnterFrame = bstaraction;
}
};
_local4++;
}
}
if (rst == 14) {
var _local3 = 0;
while (_local3 < 12) {
back1.attachMovie("backstar", _local3, _local3);
back1[_local3]._xscale = (back1[_local3]._yscale = (Math.random() * 8) + 19);
back1[_local3].dx = int((Math.random() * 40) - 20);
back1[_local3].dy = int((Math.random() * 40) - 20);
back1[_local3].dxfix = back1[_local3].dx / 25;
back1[_local3].dyfix = back1[_local3].dy / 25;
back1[_local3].fixframe = int((Math.random() * 20) + 20);
back1[_local3].fnm = 0;
back1[_local3].calpha = 0;
var _local9 = int(Math.random() * 20) + 1;
back1[_local3].light.gotoAndPlay(_local9);
back1[_local3].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 39) {
this.onEnterFrame = bstaraction;
}
};
_local3++;
}
}
rst++;
}
if (rootstate == 6) {
starlayer._rotation = starlayer._rotation + starrot;
constellations._rotation = (bluelayer._rotation = starlayer._rotation);
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
times++;
if (chooseconste == 1) {
if (times == 5) {
howtoplay.gotoAndPlay(2);
}
if (times == 7) {
clickhere._x = starlayer[1]._x + 275;
clickhere._y = starlayer[1]._y + 230;
clickhere.gotoAndPlay(2);
}
}
var _local18 = int((times / timesxxx) * 100);
timer.gotoAndStop(_local18);
if (timer._currentframe == 99) {
Mouse.removeListener(mm);
if (languagenm == 1) {
ctime.push("failed");
}
if (languagenm == 2) {
ctime.push("failed");
}
if (languagenm == 3) {
ctime.push("Niet goed");
}
if (languagenm == 4) {
ctime.push("\u00C9chou\u00E9");
}
if (languagenm == 5) {
ctime.push("Falsch");
}
if (languagenm == 6) {
ctime.push("Has fallado");
}
if (languagenm == 7) {
ctime.push("Perdeu");
}
if (languagenm == 8) {
ctime.push("Falhou");
}
if (languagenm == 9) {
ctime.push("Hai perso");
}
if (languagenm == 10) {
ctime.push("Misslyckades");
}
if (languagenm == 11) {
ctime.push("Niepowodzenie");
}
if (languagenm == 12) {
ctime.push("\u041D\u0435\u0443\u0434\u0430\u0447\u0430");
}
if (languagenm == 13) {
ctime.push("Ba\u015Far\u0131s\u0131z");
}
if (languagenm == 14) {
ctime.push("Gagal");
}
gameover = true;
rootstate = 7;
}
if (mousedown == true) {
var _local11 = 0;
var _local7 = 0;
while (_local7 < trueStars.length) {
var _local6 = new Object();
_local6.x = starlayer[trueStars[_local7]]._x;
_local6.y = starlayer[trueStars[_local7]]._y;
starlayer.localToGlobal(_local6);
if ((((_xmouse - _local6.x) * (_xmouse - _local6.x)) + ((_ymouse - _local6.y) * (_ymouse - _local6.y))) < 400) {
currentMC = trueStars[_local7];
endMC = trueStars[_local7];
starstate = 2;
_local11 = 1;
}
_local7++;
}
var _local8 = 0;
while (_local8 < fStars.length) {
var _local6 = new Object();
_local6.x = starlayer[fStars[_local8]]._x;
_local6.y = starlayer[fStars[_local8]]._y;
starlayer.localToGlobal(_local6);
if ((((_xmouse - _local6.x) * (_xmouse - _local6.x)) + ((_ymouse - _local6.y) * (_ymouse - _local6.y))) < 400) {
currentMC = fStars[_local8];
endMC = fStars[_local8];
starstate = 2;
_local11 = 1;
}
_local8++;
}
if (_local11 == 0) {
currentMC = 0;
endMC = 0;
starstate = 1;
}
}
var _local10 = 1;
var _local7 = 0;
while (_local7 < trueStars.length) {
if (starlayer[trueStars[_local7]].truechild != starlayer[trueStars[_local7]].child) {
_local10 = 0;
}
_local7++;
}
var _local8 = 0;
while (_local8 < fStars.length) {
if (starlayer[fStars[_local8]].truechild != starlayer[fStars[_local8]].child) {
_local10 = 0;
}
_local8++;
}
if ((_local10 == 1) && (truelines == truelinenm)) {
makesure._visible = false;
clickhere.gotoAndStop(1);
rootstate = 7;
}
}
if (rootstate == 7) {
if ((chooseconste == 1) && (howtoplay._currentframe == 20)) {
howtoplay.gotoAndPlay(21);
clickhere._x = -50;
clickhere._y = -50;
}
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
if (linelayer._alpha > 0) {
linelayer._alpha = linelayer._alpha - 3;
}
if (linelayer._alpha <= 0) {
linelayer._alpha == 0;
}
if (bluelayer._alpha < 100) {
bluelayer._alpha = bluelayer._alpha + 3;
}
if (bluelayer._alpha >= 100) {
bluelayer._alpha == 100;
starrot = starrot * -20;
back1rot = back1rot * -20;
back2rot = back2rot * -20;
if (starlayer._rotation == 0) {
fixstar = 2;
}
if (starlayer._rotation > 0) {
fixstar = 1;
cfixstar = 0;
}
if (starlayer._rotation < 0) {
fixstar = 0;
cfixstar = 0;
}
rst = 0;
if (gameover == false) {
rootstate = 8;
}
if (gameover == true) {
rootstate = 12;
}
}
}
if (rootstate == 8) {
if (fixstar == 2) {
back1rot = back1rot * -0.05;
back2rot = back2rot * -0.05;
rootstate = 9;
}
if (fixstar == 1) {
starlayer._rotation = starlayer._rotation + starrot;
constellations._rotation = (bluelayer._rotation = starlayer._rotation);
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
if ((starrot <= 0) && (starlayer._rotation <= 0)) {
starlayer._rotation = 0;
constellations._rotation = (bluelayer._rotation = starlayer._rotation);
starrot = starrot * -0.05;
back1rot = back1rot * -0.05;
back2rot = back2rot * -0.05;
rootstate = 9;
}
if ((starrot > 0) && (starlayer._rotation >= 0)) {
if (cfixstar == 1) {
starlayer._rotation = 0;
constellations._rotation = (bluelayer._rotation = starlayer._rotation);
starrot = starrot * -0.05;
back1rot = back1rot * -0.05;
back2rot = back2rot * -0.05;
rootstate = 9;
}
}
if ((starrot > 0) && (starlayer._rotation < 0)) {
if (cfixstar == 0) {
cfixstar = 1;
}
}
}
if (fixstar == 0) {
starlayer._rotation = starlayer._rotation + starrot;
constellations._rotation = (bluelayer._rotation = starlayer._rotation);
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
if ((starrot >= 0) && (starlayer._rotation >= 0)) {
starlayer._rotation = 0;
constellations._rotation = (bluelayer._rotation = starlayer._rotation);
starrot = starrot * -0.05;
back1rot = back1rot * -0.05;
back2rot = back2rot * -0.05;
rootstate = 9;
}
if ((starrot < 0) && (starlayer._rotation <= 0)) {
if (cfixstar == 1) {
starlayer._rotation = 0;
constellations._rotation = (bluelayer._rotation = starlayer._rotation);
starrot = starrot * -0.05;
back1rot = back1rot * -0.05;
back2rot = back2rot * -0.05;
rootstate = 9;
}
}
if ((starrot < 0) && (starlayer._rotation > 0)) {
if (cfixstar == 0) {
cfixstar = 1;
}
}
}
if (volumne > 0) {
volumne = volumne - 1;
my_sound2.setVolume(volumne);
}
if (volumne <= 0) {
my_sound2.setVolume(0);
my_sound2.stop();
my_sound2 = null;
}
}
if (rootstate == 9) {
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
var _local7 = 0;
while (_local7 < fStars.length) {
if (starlayer[fStars[_local7]]._alpha > 0) {
starlayer[fStars[_local7]]._alpha = starlayer[fStars[_local7]]._alpha - 2;
}
if (starlayer[fStars[_local7]]._alpha <= 0) {
starlayer[fStars[_local7]]._alpha = 0;
}
_local7++;
}
if (constellations._alpha < 100) {
constellations._alpha = constellations._alpha + 1.5;
}
if (constellations._alpha >= 100) {
constellations._alpha = 100;
rst = 0;
rootstate = 10;
}
if (volumne > 0) {
volumne = volumne - 1;
my_sound2.setVolume(volumne);
}
if (volumne <= 0) {
my_sound2.setVolume(0);
my_sound2.stop();
my_sound2 = null;
}
}
if (rootstate == 10) {
my_sound2.setVolume(0);
my_sound2.stop();
my_sound2 = null;
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
if (sounddiv == 0) {
starlayer[trueSounds[soundid - 1]].gotoAndStop(1);
if (trueSounds[soundid] != 0) {
starlayer[trueSounds[soundid]].gotoAndStop(2);
var _local13 = "light" + lightnm;
starlayer.attachMovie("lighting", _local13, 500 + lightnm);
starlayer[_local13]._x = starlayer[trueSounds[soundid]]._x;
starlayer[_local13]._y = starlayer[trueSounds[soundid]]._y;
starlayer[_local13]._xscale = (starlayer[_local13]._yscale = 130);
lightnm++;
lightnm = lightnm % 50;
var _local15 = new Sound();
_local15.attachSound(starlayer[trueSounds[soundid]].soundnm);
_local15.start(0, 1);
_local15.setVolume(100);
_local15.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
}
if (soundid < trueSounds.length) {
soundid++;
}
if (soundid == trueSounds.length) {
my_sound2.setVolume(0);
my_sound2.stop();
my_sound2 = null;
levelcomplete.gotoAndPlay(2);
rootstate = 11;
}
}
sounddiv++;
sounddiv = sounddiv % 4;
}
if (rootstate == 11) {
if (levelcomplete._currentframe == 50) {
rootstate = 14;
}
}
if (rootstate == 12) {
rst++;
if (rst == 30) {
rootstate = 13;
}
}
if (rootstate == 13) {
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
if (zz3._currentframe == 1) {
linelayer.removeMovieClip();
Mouse.removeListener(mm);
zz3.gotoAndPlay(2);
}
if (zz3._currentframe == 29) {
my_sound2.setVolume(0);
my_sound2.stop();
my_sound2 = null;
var _local14 = new Sound(makesure);
_local14.attachSound("time over");
_local14.start(0, 1);
_local14.setVolume(90);
_local14.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
_root.gotoAndStop(7);
}
}
if (rootstate == 14) {
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
if (zz3._currentframe == 1) {
linelayer.removeMovieClip();
Mouse.removeListener(mm);
zz3.gotoAndPlay(2);
}
if (zz3._currentframe == 29) {
var _local17 = int(times / 24);
ctime.push(_local17);
my_sound2.setVolume(0);
my_sound2.stop();
my_sound2 = null;
_root.gotoAndStop(5);
}
}
if (rootstate == 15) {
starlayer._rotation = starlayer._rotation + starrot;
constellations._rotation = (bluelayer._rotation = starlayer._rotation);
back1._rotation = back1._rotation + back1rot;
back2._rotation = back2._rotation + back2rot;
}
};
createLine = function () {
nm = "line" + lnm;
linelayer.attachMovie("lineSprite", nm, lnm);
linelayer[nm]._x = 0;
linelayer[nm]._y = 0;
linelayer[nm].trueline = 0;
linelayer[nm].wrongline = 0;
linelayer[nm].ok = 0;
linelayer[nm].onEnterFrame = function () {
if (this.ok == 0) {
this.clear();
this.lineStyle(0, 16777215, 80);
if (startMC != 0) {
var _local4 = new Object();
_local4.x = starlayer[startMC]._x;
_local4.y = starlayer[startMC]._y;
starlayer.localToGlobal(_local4);
var _local9 = _local4.x - 275;
var _local6 = _local4.y - 230;
var _local12 = _xmouse - 275;
var _local11 = _ymouse - 230;
this.moveTo(_local9, _local6);
this.lineTo(_local12, _local11);
}
}
if (this.ok == 1) {
if (this.sMC == 0) {
this.ok = 2;
}
this.clear();
this.lineStyle(0, 16777215, 80);
var _local3 = new Object();
_local3.x = starlayer[this.sMC]._x;
_local3.y = starlayer[this.sMC]._y;
starlayer.localToGlobal(_local3);
var _local10 = _local3.x - 275;
var _local7 = _local3.y - 230;
var _local2 = new Object();
_local2.x = starlayer[this.eMC]._x;
_local2.y = starlayer[this.eMC]._y;
starlayer.localToGlobal(_local2);
var _local8 = _local2.x - 275;
var _local5 = _local2.y - 230;
this.moveTo(_local10, _local7);
this.lineTo(_local8, _local5);
}
if (this.ok == 2) {
this.clear();
this.removeMovieClip();
}
};
lnm++;
};
undo.onRelease = function () {
var _local1 = lines.pop();
starlayer[_local1.sMC].truechild = starlayer[_local1.sMC].truechild - 1;
starlayer[_local1.eMC].truechild = starlayer[_local1.eMC].truechild - 1;
if (_local1.trueline == 1) {
truelines--;
}
if (_local1.wrongline == 1) {
wronglines--;
}
_local1.clear();
_local1.ok = 2;
};
clean.onRelease = function () {
var _local2 = 0;
while (_local2 < lines.length) {
lines[_local2].clear();
lines[_local2].ok = 2;
_local2++;
}
lines = [];
truelines = 0;
wronglines = 0;
_local2 = 0;
while (_local2 < trueStars.length) {
starlayer[trueStars[_local2]].truechild = 0;
_local2++;
}
var _local1 = 0;
while (_local1 < fStars.length) {
starlayer[fStars[_local1]].truechild = 0;
_local1++;
}
};
finish.onRelease = function () {
if ((makesure._visible == false) && (rootstate == 6)) {
makesure._visible = true;
makesure._alpha = 0;
makesure.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
if (this._alpha >= 100) {
this._alpha = 100;
}
};
}
};
makesure.yes.onRelease = function () {
if (gameover == false) {
Mouse.removeListener(mm);
if (languagenm == 1) {
ctime.push("failed");
}
if (languagenm == 2) {
ctime.push("failed");
}
if (languagenm == 3) {
ctime.push("Niet goed");
}
if (languagenm == 4) {
ctime.push("\u00C9chou\u00E9");
}
if (languagenm == 5) {
ctime.push("Falsch");
}
if (languagenm == 6) {
ctime.push("Has fallado");
}
if (languagenm == 7) {
ctime.push("Perdeu");
}
if (languagenm == 8) {
ctime.push("Falhou");
}
if (languagenm == 9) {
ctime.push("Hai perso");
}
if (languagenm == 10) {
ctime.push("Misslyckades");
}
if (languagenm == 11) {
ctime.push("Niepowodzenie");
}
if (languagenm == 12) {
ctime.push("\u041D\u0435\u0443\u0434\u0430\u0447\u0430");
}
if (languagenm == 13) {
ctime.push("Ba\u015Far\u0131s\u0131z");
}
if (languagenm == 14) {
ctime.push("Gagal");
}
gameover = true;
makesure._visible = false;
rootstate = 7;
}
};
makesure.no.onRelease = function () {
makesure._visible = false;
};
createTrueStar = function (xpos, ypos, t1, t2, t3, t4, t5, t6, t7, cn, cnm, id, snm) {
var _local5 = starlayer.getNextHighestDepth();
starlayer.attachMovie("star", id, _local5);
starlayer[id]._x = xpos;
starlayer[id]._y = ypos;
starlayer[id].target1 = t1;
starlayer[id].target2 = t2;
starlayer[id].target3 = t3;
starlayer[id].target4 = t4;
starlayer[id].target5 = t5;
starlayer[id].target6 = t6;
starlayer[id].target7 = t7;
starlayer[id].child = cn;
starlayer[id].truechild = cnm;
starlayer[id].idname = id;
starlayer[id].soundnm = snm;
starlayer[id]._xscale = (starlayer[id]._yscale = (Math.random() * 10) + 65);
starlayer[id]._rotation = Math.random() * 360;
var _local6 = int(Math.random() * 20) + 1;
starlayer[id].star1.gotoAndPlay(_local6);
trueStars.push(id);
starlayer[id].onRollOver = function () {
currentMC = this.idname;
if (rootstate == 6) {
var _local3 = "light" + lightnm;
starlayer.attachMovie("lighting", _local3, 500 + lightnm);
starlayer[_local3]._x = this._x;
starlayer[_local3]._y = this._y;
lightnm++;
lightnm = lightnm % 50;
var _local2 = new Sound();
_local2.attachSound(this.soundnm);
_local2.start(0, 1);
_local2.setVolume(100);
_local2.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
if ((starstate == 1) && (startMC != 0)) {
endMC = this.idname;
starstate = 2;
}
if ((starstate == 1) && (startMC == 0)) {
startMC = 0;
endMC = 0;
starstate = 0;
}
if ((starstate == 0) && (startMC == 0)) {
starstate = 1;
}
if ((starstate == 0) && (startMC != 0)) {
startMC = 0;
endMC = 0;
starstate = 0;
}
}
};
starlayer[id].onDragOver = function () {
currentMC = this.idname;
if (rootstate == 6) {
if ((starstate == 1) && (startMC != 0)) {
endMC = this.idname;
starstate = 2;
}
if ((starstate == 1) && (startMC == 0)) {
startMC = 0;
endMC = 0;
starstate = 0;
}
if ((starstate == 0) && (startMC == 0)) {
starstate = 1;
}
if ((starstate == 0) && (startMC != 0)) {
startMC = 0;
endMC = 0;
starstate = 0;
}
}
};
starlayer[id].onRollOut = function () {
currentMC = 0;
if (rootstate == 6) {
if (startMC == 0) {
starstate = 0;
}
if (starstate == 2) {
endMC = 0;
starstate = 1;
}
}
};
starlayer[id].onDragOut = function () {
if ((starstate == 1) && (rootstate == 6)) {
mousedown = true;
startMC = starlayer[currentMC].idname;
starlayer[startMC].gotoAndStop(2);
if (((chooseconste == 1) && (startMC == 1)) && (clickherestate == 0)) {
clickhere._x = starlayer[starlayer[1].target1]._x + 275;
clickhere._y = starlayer[starlayer[1].target1]._y + 230;
clickhere.gotoAndPlay(2);
}
createLine();
starstate = 1;
currentMC = 0;
}
};
};
createFStar = function (t1, t2, t3, t4, t5, t6, t7, cn, cnm, id) {
var _local6 = starlayer.getNextHighestDepth();
starlayer.attachMovie("star", id, _local6);
var _local5 = (Math.random() * 440) - 220;
var _local7 = findpos(_local5);
starlayer[id]._x = _local5;
starlayer[id]._y = _local7;
starlayer[id].target1 = t1;
starlayer[id].target2 = t2;
starlayer[id].target3 = t3;
starlayer[id].target4 = t4;
starlayer[id].target5 = t5;
starlayer[id].target6 = t6;
starlayer[id].target7 = t7;
starlayer[id].child = cn;
starlayer[id].truechild = cnm;
starlayer[id].idname = id;
var _local8 = int(Math.random() * fSounds.length);
starlayer[id].soundnm = fSounds.splice(_local8, 1);
starlayer[id]._xscale = (starlayer[id]._yscale = (Math.random() * 10) + 60);
starlayer[id]._rotation = Math.random() * 360;
starlayer[id]._alpha = 0;
var _local9 = int(Math.random() * 20) + 1;
starlayer[id].star1.gotoAndPlay(_local9);
fStars.push(id);
starlayer[id].onRollOver = function () {
currentMC = this.idname;
if (rootstate == 6) {
var _local3 = "light" + lightnm;
starlayer.attachMovie("lighting", _local3, 500 + lightnm);
starlayer[_local3]._x = this._x;
starlayer[_local3]._y = this._y;
lightnm++;
lightnm = lightnm % 50;
var _local2 = new Sound();
_local2.attachSound(this.soundnm);
_local2.start(0, 1);
_local2.setVolume(100);
_local2.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
if ((starstate == 1) && (startMC != 0)) {
endMC = this.idname;
starstate = 2;
}
if ((starstate == 1) && (startMC == 0)) {
startMC = 0;
endMC = 0;
starstate = 0;
}
if ((starstate == 0) && (startMC == 0)) {
starstate = 1;
}
if ((starstate == 0) && (startMC != 0)) {
startMC = 0;
endMC = 0;
starstate = 0;
}
}
};
starlayer[id].onDragOver = function () {
currentMC = this.idname;
if (rootstate == 6) {
if ((starstate == 1) && (startMC != 0)) {
endMC = this.idname;
starstate = 2;
}
if ((starstate == 1) && (startMC == 0)) {
startMC = 0;
endMC = 0;
starstate = 0;
}
if ((starstate == 0) && (startMC == 0)) {
starstate = 1;
}
if ((starstate == 0) && (startMC != 0)) {
startMC = 0;
endMC = 0;
starstate = 0;
}
}
};
starlayer[id].onRollOut = function () {
currentMC = 0;
if (rootstate == 6) {
if (startMC == 0) {
starstate = 0;
}
if (starstate == 2) {
endMC = 0;
starstate = 1;
}
}
};
starlayer[id].onDragOut = function () {
if ((starstate == 1) && (rootstate == 6)) {
mousedown = true;
startMC = starlayer[currentMC].idname;
starlayer[startMC].gotoAndStop(2);
if (((chooseconste == 1) && (startMC == 1)) && (clickherestate == 0)) {
clickhere._x = starlayer[starlayer[1].target1]._x + 275;
clickhere._y = starlayer[starlayer[1].target1]._y + 230;
clickhere.gotoAndPlay(2);
}
createLine();
starstate = 1;
currentMC = 0;
}
};
if (seachnm == 250) {
starlayer[id].removeMovieClip();
}
};
var seachnm = 0;
var yp = ((Math.random() * 400) - 200);
Frame 5
stop();
delete _root.onEnterFrame;
linelayer.removeMovieClip();
Mouse.removeListener(mm);
rootstate = 1;
starrot = 0;
back1rot = 0;
back2rot = 0;
fixstar = 1;
cfixstar = 0;
wronglines = 0;
truelines = 0;
truelinenm = 0;
starstate = 0;
startMC = 0;
currentMC = 0;
endMC = 0;
mstarlayer.attachMovie("blanks", arrowmc, 0);
mstarlayer[arrowmc]._x = 350 + (Math.random() * 50);
mstarlayer[arrowmc]._y = 150 + (Math.random() * 110);
mstarlayer[arrowmc].dx = (250 - mstarlayer[arrowmc]._x) / 15;
mstarlayer[arrowmc].dy = (200 - mstarlayer[arrowmc]._y) / 15;
if (chooseconste == 12) {
_root.gotoAndStop(7);
}
if (chooseconste >= 5) {
var classlength = twoclass.length;
var index = int(Math.random() * classlength);
chooseconstenm = twoclass[index];
twoclass.splice(index, 1);
chooseconste++;
}
if (chooseconste <= 4) {
var classlength = oneclass.length;
var index = int(Math.random() * classlength);
chooseconstenm = oneclass[index];
oneclass.splice(index, 1);
chooseconste++;
}
switch (chooseconstenm) {
case 0 :
if (languagenm == 1) {
cname.push("Scorpio");
}
if (languagenm == 2) {
cname.push("Scorpio");
}
if (languagenm == 3) {
cname.push("Schorpioen");
}
if (languagenm == 4) {
cname.push("Scorpion");
}
if (languagenm == 5) {
cname.push("Skorpion");
}
if (languagenm == 6) {
cname.push("Escorpio");
}
if (languagenm == 7) {
cname.push("Escorpi\u00E3o");
}
if (languagenm == 8) {
cname.push("Escorpi\u00E3o");
}
if (languagenm == 9) {
cname.push("Scorpione");
}
if (languagenm == 10) {
cname.push("Skorpionen");
}
if (languagenm == 11) {
cname.push("Skorpion");
}
if (languagenm == 12) {
cname.push("\u0421\u043A\u043E\u0440\u043F\u0438\u043E\u043D");
}
if (languagenm == 13) {
cname.push("Akrep");
}
if (languagenm == 14) {
cname.push("Scorpio");
}
break;
case 1 :
if (languagenm == 1) {
cname.push("Cancer");
}
if (languagenm == 2) {
cname.push("Cancer");
}
if (languagenm == 3) {
cname.push("Kreeft");
}
if (languagenm == 4) {
cname.push("Cancer");
}
if (languagenm == 5) {
cname.push("Krebs");
}
if (languagenm == 6) {
cname.push("C\u00E1ncer");
}
if (languagenm == 7) {
cname.push("C\u00E2ncer");
}
if (languagenm == 8) {
cname.push("Caranguejo");
}
if (languagenm == 9) {
cname.push("Cancro");
}
if (languagenm == 10) {
cname.push("Kr\u00E4ftan");
}
if (languagenm == 11) {
cname.push("Rak");
}
if (languagenm == 12) {
cname.push("\u0420\u0430\u043A");
}
if (languagenm == 13) {
cname.push("Yenge\u00E7");
}
if (languagenm == 14) {
cname.push("Cancer");
}
break;
case 2 :
if (languagenm == 1) {
cname.push("Libra");
}
if (languagenm == 2) {
cname.push("Libra");
}
if (languagenm == 3) {
cname.push("Weegschaal");
}
if (languagenm == 4) {
cname.push("Balance");
}
if (languagenm == 5) {
cname.push("Waage");
}
if (languagenm == 6) {
cname.push("Libra");
}
if (languagenm == 7) {
cname.push("Libra");
}
if (languagenm == 8) {
cname.push("Balan\u00E7a");
}
if (languagenm == 9) {
cname.push("Bilancia");
}
if (languagenm == 10) {
cname.push("V\u00E5gen");
}
if (languagenm == 11) {
cname.push("Waga");
}
if (languagenm == 12) {
cname.push("\u0412\u0435\u0441\u044B");
}
if (languagenm == 13) {
cname.push("Terazi");
}
if (languagenm == 14) {
cname.push("Libra");
}
break;
case 3 :
if (languagenm == 1) {
cname.push("Aries");
}
if (languagenm == 2) {
cname.push("Aries");
}
if (languagenm == 3) {
cname.push("Ram");
}
if (languagenm == 4) {
cname.push("B\u00E9lier");
}
if (languagenm == 5) {
cname.push("Widder");
}
if (languagenm == 6) {
cname.push("Aries");
}
if (languagenm == 7) {
cname.push("\u00C1ries");
}
if (languagenm == 8) {
cname.push("Carneiro");
}
if (languagenm == 9) {
cname.push("Ariete");
}
if (languagenm == 10) {
cname.push("V\u00E4duren");
}
if (languagenm == 11) {
cname.push("Baran");
}
if (languagenm == 12) {
cname.push("\u041E\u0432\u0435\u043D");
}
if (languagenm == 13) {
cname.push("Ko\u00E7");
}
if (languagenm == 14) {
cname.push("Aries");
}
break;
case 4 :
if (languagenm == 1) {
cname.push("Gemini");
}
if (languagenm == 2) {
cname.push("Gemini");
}
if (languagenm == 3) {
cname.push("Tweelingen");
}
if (languagenm == 4) {
cname.push("G\u00E9meaux");
}
if (languagenm == 5) {
cname.push("Zwillinge");
}
if (languagenm == 6) {
cname.push("G\u00E9minis");
}
if (languagenm == 7) {
cname.push("G\u00EAmeos");
}
if (languagenm == 8) {
cname.push("G\u00E9meos");
}
if (languagenm == 9) {
cname.push("Gemelli");
}
if (languagenm == 10) {
cname.push("Tvillingarna");
}
if (languagenm == 11) {
cname.push("Bli\u017Ani\u0119ta");
}
if (languagenm == 12) {
cname.push("\u0411\u043B\u0438\u0437\u043D\u0435\u0446\u044B");
}
if (languagenm == 13) {
cname.push("\u0130kizler");
}
if (languagenm == 14) {
cname.push("Gemini");
}
break;
case 5 :
if (languagenm == 1) {
cname.push("Pisces");
}
if (languagenm == 2) {
cname.push("Pisces");
}
if (languagenm == 3) {
cname.push("Vissen");
}
if (languagenm == 4) {
cname.push("Poisson");
}
if (languagenm == 5) {
cname.push("Fische");
}
if (languagenm == 6) {
cname.push("Piscis");
}
if (languagenm == 7) {
cname.push("Peixes");
}
if (languagenm == 8) {
cname.push("Peixes");
}
if (languagenm == 9) {
cname.push("Pesci");
}
if (languagenm == 10) {
cname.push("Fiskarna");
}
if (languagenm == 11) {
cname.push("Ryby");
}
if (languagenm == 12) {
cname.push("\u0420\u044B\u0431\u044B");
}
if (languagenm == 13) {
cname.push("Bal\u0131k");
}
if (languagenm == 14) {
cname.push("Pisces");
}
break;
case 6 :
if (languagenm == 1) {
cname.push("Taurus");
}
if (languagenm == 2) {
cname.push("Taurus");
}
if (languagenm == 3) {
cname.push("Stier");
}
if (languagenm == 4) {
cname.push("Taureau");
}
if (languagenm == 5) {
cname.push("Stier");
}
if (languagenm == 6) {
cname.push("Tauro");
}
if (languagenm == 7) {
cname.push("Touro");
}
if (languagenm == 8) {
cname.push("Touro");
}
if (languagenm == 9) {
cname.push("Toro");
}
if (languagenm == 10) {
cname.push("Oxen");
}
if (languagenm == 11) {
cname.push("Byk");
}
if (languagenm == 12) {
cname.push("\u0422\u0435\u043B\u0435\u0446");
}
if (languagenm == 13) {
cname.push("Bo\u011Fa");
}
if (languagenm == 14) {
cname.push("Taurus");
}
break;
case 7 :
if (languagenm == 1) {
cname.push("Capricorn");
}
if (languagenm == 2) {
cname.push("Capricorn");
}
if (languagenm == 3) {
cname.push("Steenbok");
}
if (languagenm == 4) {
cname.push("Capricorne");
}
if (languagenm == 5) {
cname.push("Steinbock");
}
if (languagenm == 6) {
cname.push("Capricornio");
}
if (languagenm == 7) {
cname.push("Capric\u00F3rnio");
}
if (languagenm == 8) {
cname.push("Capric\u00F3rnio");
}
if (languagenm == 9) {
cname.push("Capricorno");
}
if (languagenm == 10) {
cname.push("Stenbocken");
}
if (languagenm == 11) {
cname.push("Kozioro\u017Cec");
}
if (languagenm == 12) {
cname.push("\u041A\u043E\u0437\u0435\u0440\u043E\u0433");
}
if (languagenm == 13) {
cname.push("O\u011Flak");
}
if (languagenm == 14) {
cname.push("Capricorn");
}
break;
case 8 :
if (languagenm == 1) {
cname.push("Leo");
}
if (languagenm == 2) {
cname.push("Leo");
}
if (languagenm == 3) {
cname.push("Leeuw");
}
if (languagenm == 4) {
cname.push("Lion");
}
if (languagenm == 5) {
cname.push("L\u00F6we");
}
if (languagenm == 6) {
cname.push("Leo");
}
if (languagenm == 7) {
cname.push("Le\u00E3o");
}
if (languagenm == 8) {
cname.push("Le\u00E3o");
}
if (languagenm == 9) {
cname.push("Leone");
}
if (languagenm == 10) {
cname.push("Lejonet");
}
if (languagenm == 11) {
cname.push("Lew");
}
if (languagenm == 12) {
cname.push("\u041B\u0435\u0432");
}
if (languagenm == 13) {
cname.push("Aslan");
}
if (languagenm == 14) {
cname.push("Leo");
}
break;
case 9 :
if (languagenm == 1) {
cname.push("Sagittarius");
}
if (languagenm == 2) {
cname.push("Sagittarius");
}
if (languagenm == 3) {
cname.push("Boogschutter");
}
if (languagenm == 4) {
cname.push("Sagittaire");
}
if (languagenm == 5) {
cname.push("Sch\u00FCtze");
}
if (languagenm == 6) {
cname.push("Sagitario");
}
if (languagenm == 7) {
cname.push("Sagit\u00E1rio");
}
if (languagenm == 8) {
cname.push("Sagit\u00E1rio");
}
if (languagenm == 9) {
cname.push("Sagittario");
}
if (languagenm == 10) {
cname.push("Skytten");
}
if (languagenm == 11) {
cname.push("Strzelec");
}
if (languagenm == 12) {
cname.push("\u0421\u0442\u0440\u0435\u043B\u0435\u0446");
}
if (languagenm == 13) {
cname.push("Yay");
}
if (languagenm == 14) {
cname.push("Sagitarius");
}
break;
case 10 :
if (languagenm == 1) {
cname.push("Virgo");
}
if (languagenm == 2) {
cname.push("Virgo");
}
if (languagenm == 3) {
cname.push("Maagd");
}
if (languagenm == 4) {
cname.push("Vierge");
}
if (languagenm == 5) {
cname.push("Jungfrau");
}
if (languagenm == 6) {
cname.push("Virgo");
}
if (languagenm == 7) {
cname.push("Virgem");
}
if (languagenm == 8) {
cname.push("Virgem");
}
if (languagenm == 9) {
cname.push("Vergine");
}
if (languagenm == 10) {
cname.push("Jungfrun");
}
if (languagenm == 11) {
cname.push("Panna");
}
if (languagenm == 12) {
cname.push("\u0414\u0435\u0432\u0430");
}
if (languagenm == 13) {
cname.push("Ba\u015Fak");
}
if (languagenm == 14) {
cname.push("Virgo");
}
break;
case 11 :
if (languagenm == 1) {
cname.push("Aquarius");
}
if (languagenm == 2) {
cname.push("Aquarius");
}
if (languagenm == 3) {
cname.push("Waterman");
}
if (languagenm == 4) {
cname.push("Verseau");
}
if (languagenm == 5) {
cname.push("Wassermann");
}
if (languagenm == 6) {
cname.push("Acuario");
}
if (languagenm == 7) {
cname.push("Aqu\u00E1rio");
}
if (languagenm == 8) {
cname.push("Aqu\u00E1rio");
}
if (languagenm == 9) {
cname.push("Acquario");
}
if (languagenm == 10) {
cname.push("Vattumannen");
}
if (languagenm == 11) {
cname.push("Wodnik");
}
if (languagenm == 12) {
cname.push("\u0412\u043E\u0434\u043E\u043B\u0435\u0439");
}
if (languagenm == 13) {
cname.push("Kova");
}
if (languagenm != 14) {
break;
}
cname.push("Aquarius");
}
var tt = 150;
var mstarnm = 1;
var xpos = _xmouse;
var ypos = _ymouse;
var xpos1 = _xmouse;
var ypos1 = _ymouse;
_root.onEnterFrame = function () {
if (tt == 149) {
var _local6 = new Sound();
_local6.attachSound("ringfx_short");
_local6.start(0, 1);
_local6.setVolume(50);
_local6.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
}
tt--;
if (tt > 134) {
levels.gotoAndStop(chooseconstenm + 1);
levelnmMC.gotoAndStop(chooseconste);
mstarlayer[arrowmc]._x = mstarlayer[arrowmc]._x + mstarlayer[arrowmc].dx;
mstarlayer[arrowmc]._y = mstarlayer[arrowmc]._y + mstarlayer[arrowmc].dy;
xpos = mstarlayer[arrowmc]._x;
ypos = mstarlayer[arrowmc]._y;
var _local5 = Math.sqrt(((xpos - xpos1) * (xpos - xpos1)) + ((ypos - ypos1) * (ypos - ypos1))) / 10;
var _local4 = 0;
while (_local4 < _local5) {
mstarlayer.attachMovie("mstar", mstarnm, mstarnm);
mstarlayer[mstarnm]._x = xpos;
mstarlayer[mstarnm]._y = ypos;
mstarlayer[mstarnm]._xscale = (mstarlayer[mstarnm]._yscale = (Math.random() * 30) + 10);
mstarlayer[mstarnm].dx = (Math.random() * 2) - 1;
mstarlayer[mstarnm].dy = (Math.random() * 3) - 5;
mstarlayer[mstarnm].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this._alpha = this._alpha - 2;
this.dy = this.dy + 0.5;
if (this.dy > 7) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
mstarnm++;
_local4++;
}
xpos1 = mstarlayer[arrowmc]._x;
ypos1 = mstarlayer[arrowmc]._y;
}
if (tt == 134) {
mstarlayer[arrowmc].removeMovieClip();
var _local3 = 0;
while (_local3 < 30) {
mstarlayer.attachMovie("mstar", _local3, _local3);
mstarlayer[_local3]._x = xpos;
mstarlayer[_local3]._y = ypos;
mstarlayer[_local3]._xscale = (mstarlayer[_local3]._yscale = (Math.random() * 30) + 10);
mstarlayer[_local3].dx = int((Math.random() * 40) - 20);
mstarlayer[_local3].dy = int((Math.random() * 40) - 20);
mstarlayer[_local3].dxfix = mstarlayer[_local3].dx / 10;
mstarlayer[_local3].dyfix = mstarlayer[_local3].dy / 10;
mstarlayer[_local3].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
this.dxfix = this.dx / 10;
this.dyfix = this.dy / 10;
this._alpha = this._alpha - 6;
if (tt == 119) {
this.removeMovieClip();
}
};
_local3++;
}
zz2.gotoAndPlay(3);
}
if ((tt <= 70) && (tt >= 50)) {
levels._alpha = levels._alpha - 5;
levelnmMC._alpha = levelnmMC._alpha - 5;
}
if (tt == 47) {
_root.gotoAndStop(4);
}
};
Frame 6
stop();
delete _root.onEnterFrame;
linelayer.removeMovieClip();
Mouse.removeListener(mm);
aircraft.yt = -0.2;
aircraft.dy = 0;
aircraft.onEnterFrame = function () {
if (this.dy >= 4.5) {
this.dy = 4.5;
this.yt = 0.2;
}
if (this.dy <= -4.2) {
this.dy = -4.2;
this.yt = -0.2;
}
if (this._y > 240) {
this._y = 240;
this.yt = 0.2;
}
this._y = this._y + (this.dy * 0.24);
this.dy = this.dy - this.yt;
};
var my_sound1 = new Sound();
my_sound1.attachSound("star line loss");
my_sound1.start(0, 999);
my_sound1.setVolume(80);
my_sound1.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
var snm = 1;
var sp = 1;
var mstarnm = 0;
var xpos = _xmouse;
var ypos = _ymouse;
var xpos1 = _xmouse;
var ypos1 = _ymouse;
_root.onEnterFrame = function () {
xpos = _xmouse;
ypos = _ymouse;
var _local3 = Math.sqrt(((xpos - xpos1) * (xpos - xpos1)) + ((ypos - ypos1) * (ypos - ypos1))) / 10;
var _local2 = 0;
while (_local2 < _local3) {
mstarlayer.attachMovie("mstar", mstarnm, mstarnm);
mstarlayer[mstarnm]._x = _xmouse;
mstarlayer[mstarnm]._y = _ymouse;
mstarlayer[mstarnm]._xscale = (mstarlayer[mstarnm]._yscale = (Math.random() * 30) + 10);
mstarlayer[mstarnm].dx = (Math.random() * 2) - 1;
mstarlayer[mstarnm].dy = (Math.random() * 3) - 5;
mstarlayer[mstarnm].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this._alpha = this._alpha - 2;
this.dy = this.dy + 0.5;
if (this.dy > 7) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
mstarnm++;
mstarnm = mstarnm % 300;
xpos1 = _xmouse;
ypos1 = _ymouse;
_local2++;
}
if (sp == 0) {
var _local4 = Math.random() * 2;
if (_local4 > 1) {
starlayer.attachMovie("sstar", snm, snm);
starlayer[snm]._xscale = (starlayer[snm]._yscale = (Math.random() * 30) + 70);
starlayer[snm]._x = (aircraft._x + (Math.random() * 20)) - 10;
starlayer[snm]._y = (aircraft._y + (Math.random() * 30)) - 15;
snm++;
snm = snm % 30;
}
if (_local4 <= 1) {
starlayer.attachMovie("sstar2", snm, snm);
starlayer[snm]._xscale = (starlayer[snm]._yscale = (Math.random() * 30) + 70);
starlayer[snm]._x = (aircraft._x + (Math.random() * 20)) - 10;
starlayer[snm]._y = (aircraft._y + (Math.random() * 32)) - 16;
snm++;
snm = snm % 30;
}
}
sp++;
sp = sp % 5;
};
playagain.onRelease = function () {
if (zz6._currentframe == 75) {
var _local2 = new Sound();
_local2.attachSound("menu_back");
_local2.start(0, 1);
_local2.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
zz6.gotoAndPlay(77);
}
};
moregames.onRelease = function () {
getURL (_global.url1, _blank);
};
weblogo.onRelease = function () {
getURL (_global.url1, _blank);
};
var volumne = 80;
zz6.onEnterFrame = function () {
if ((this._currentframe > 77) && (this._currentframe < 110)) {
volumne = volumne - 4;
if (volumne > 0) {
my_sound1.setVolume(volumne);
}
if (volumne <= 0) {
my_sound1.setVolume(0);
}
}
if (this._currentframe == 110) {
my_sound1.setVolume(0);
my_sound1.stop();
my_sound1 = null;
delete _root.onEnterFrame;
_root.gotoAndStop(3);
}
};
Frame 7
stop();
delete _root.onEnterFrame;
linelayer.removeMovieClip();
Mouse.removeListener(mm);
var i = 0;
var j = 0;
var gettime = 1;
var tt = 550;
_root.onEnterFrame = function () {
if (gettime == 0) {
if (i == cname.length) {
if (gameover == true) {
tt = 80;
}
if (gameover == false) {
tt = 0;
}
i++;
}
if (i < cname.length) {
constellationtxt.text = constellationtxt.text + (cname[i] + newline);
i++;
}
if (j < ctime.length) {
if (languagenm == 1) {
if (ctime[j] != "failed") {
timestxt.text = timestxt.text + (ctime[j] + " seconds\n");
}
if (ctime[j] == "failed") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 2) {
if (ctime[j] != "failed") {
timestxt.text = timestxt.text + (ctime[j] + " seconds\n");
}
if (ctime[j] == "failed") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 3) {
if (ctime[j] != "Niet goed") {
timestxt.text = timestxt.text + (ctime[j] + " Seconden\n");
}
if (ctime[j] == "Niet goed") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 4) {
if (ctime[j] != "\u00C9chou\u00E9") {
timestxt.text = timestxt.text + (ctime[j] + " Secondes\n");
}
if (ctime[j] == "\u00C9chou\u00E9") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 5) {
if (ctime[j] != "Falsch") {
timestxt.text = timestxt.text + (ctime[j] + " Sekunden\n");
}
if (ctime[j] == "Falsch") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 6) {
if (ctime[j] != "Has fallado") {
timestxt.text = timestxt.text + (ctime[j] + " Segundos\n");
}
if (ctime[j] == "Has fallado") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 7) {
if (ctime[j] != "Perdeu") {
timestxt.text = timestxt.text + (ctime[j] + " Segundos\n");
}
if (ctime[j] == "Perdeu") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 8) {
if (ctime[j] != "Falhou") {
timestxt.text = timestxt.text + (ctime[j] + " Segundos\n");
}
if (ctime[j] == "Falhou") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 9) {
if (ctime[j] != "Hai perso") {
timestxt.text = timestxt.text + (ctime[j] + " Secondi\n");
}
if (ctime[j] == "Hai perso") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 10) {
if (ctime[j] != "Misslyckades") {
timestxt.text = timestxt.text + (ctime[j] + " sekunder\n");
}
if (ctime[j] == "Misslyckades") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 11) {
if (ctime[j] != "Niepowodzenie") {
timestxt.text = timestxt.text + (ctime[j] + " Sekund\n");
}
if (ctime[j] == "Niepowodzenie") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 12) {
if (ctime[j] != "\u041D\u0435\u0443\u0434\u0430\u0447\u0430") {
timestxt.text = timestxt.text + (ctime[j] + " \u0421\u0435\u043A\u0443\u043D\u0434\n");
}
if (ctime[j] == "\u041D\u0435\u0443\u0434\u0430\u0447\u0430") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 13) {
if (ctime[j] != "Ba\u015Far\u0131s\u0131z") {
timestxt.text = timestxt.text + (ctime[j] + " saniye\n");
}
if (ctime[j] == "Ba\u015Far\u0131s\u0131z") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
if (languagenm == 14) {
if (ctime[j] != "Gagal") {
timestxt.text = timestxt.text + (ctime[j] + " Detik\n");
}
if (ctime[j] == "Gagal") {
timestxt.text = timestxt.text + (ctime[j] + newline);
}
}
j++;
}
}
gettime++;
gettime = gettime % 2;
tt++;
if (tt == 160) {
zz5.gotoAndPlay(22);
}
if (tt == 188) {
if (gameover == true) {
_root.gotoAndStop(6);
}
if (gameover == false) {
_root.gotoAndStop(8);
}
}
};
Frame 8
function bstaraction() {
this.fnm = this.fnm + 1;
this._alpha = this._alpha + this.calpha;
if (this.fnm == this.fixframe) {
if (this._alpha > 80) {
this.calpha = -2;
}
if (this._alpha <= 80) {
this.calpha = 2;
}
this.fnm = 0;
}
}
stop();
delete _root.onEnterFrame;
linelayer.removeMovieClip();
Mouse.removeListener(mm);
var my_sound1 = new Sound();
my_sound1.attachSound("star line win");
my_sound1.start(0, 999);
my_sound1.setVolume(90);
my_sound1.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
weblogo._visible = false;
var gettimer = 1;
var chooseb = int((Math.random() * 20) + 10);
var bnm = 0;
var rst = 0;
_root.onEnterFrame = function () {
if (gettimer == 0) {
chooseb = int((Math.random() * 20) + 10);
mstarlayer.attachMovie("blanks", bnm, bnm);
mstarlayer[bnm]._x = (Math.random() * 370) + 90;
mstarlayer[bnm]._y = 460;
mstarlayer[bnm].dy = -35 - (Math.random() * 5);
mstarlayer[bnm].onEnterFrame = function () {
this.dy = this.dy + 2;
this._y = this._y + this.dy;
if (this.dy >= 0) {
this.dy = 0;
var _local4 = (Math.random() * 8) + 25;
var _local2 = 1;
while (_local2 < _local4) {
var _local3 = bnm + _local2;
mstarlayer.attachMovie("backstar2", _local3, bnm + _local2);
mstarlayer[_local3]._x = this._x;
mstarlayer[_local3]._y = this._y;
mstarlayer[_local3]._xscale = (mstarlayer[_local3]._yscale = (Math.random() * 25) + 10);
mstarlayer[_local3].dx = int((Math.random() * 40) - 20);
mstarlayer[_local3].dy = int((Math.random() * 40) - 20);
mstarlayer[_local3].dxfix = mstarlayer[_local3].dx / 10;
mstarlayer[_local3].dyfix = mstarlayer[_local3].dy / 10;
mstarlayer[_local3].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
this.dxfix = this.dx / 10;
this.dyfix = this.dy / 10;
this._alpha = this._alpha - 6;
if (this._alpha <= 20) {
this.removeMovieClip();
}
};
_local3++;
_local3 = _local3 % 400;
_local2++;
}
this.removeMovieClip();
}
if (this.dy < 0) {
var _local3 = bnm + 1;
mstarlayer.attachMovie("mstar", _local3, bnm + 1);
mstarlayer[_local3]._x = this._x;
mstarlayer[_local3]._y = this._y;
mstarlayer[_local3]._xscale = (mstarlayer[_local3]._yscale = (Math.random() * 20) + 10);
mstarlayer[_local3].dx = (Math.random() * 2) - 1;
mstarlayer[_local3].dy = (Math.random() * 4) - 2;
mstarlayer[_local3].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this._alpha = this._alpha - 2;
this.dy = this.dy + 0.5;
if (this.dy > 7) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
bnm++;
_local3 = _local3 % 400;
}
};
bnm = bnm + 2;
bname = bname % 400;
}
gettimer++;
gettimer = gettimer % chooseb;
if (rst == 2) {
var _local5 = 0;
while (_local5 < 4) {
back3.attachMovie("backstar", _local5, _local5);
back3[_local5]._xscale = (back3[_local5]._yscale = (Math.random() * 8) + 14);
back3[_local5].dx = int((Math.random() * 40) - 20);
back3[_local5].dy = int((Math.random() * 40) - 20);
back3[_local5].dxfix = back3[_local5].dx / 25;
back3[_local5].dyfix = back3[_local5].dy / 25;
back3[_local5].fixframe = int((Math.random() * 30) + 30);
back3[_local5].fnm = 0;
back3[_local5].calpha = -0.5;
var _local7 = int(Math.random() * 20) + 1;
back3[_local5].light.gotoAndPlay(_local7);
back3[_local5].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 27) {
this.onEnterFrame = bstaraction;
}
};
_local5++;
}
}
if (rst == 6) {
var _local4 = 5;
while (_local4 < 10) {
back3.attachMovie("backstar", _local4, _local4);
back3[_local4]._xscale = (back3[_local4]._yscale = (Math.random() * 8) + 16);
back3[_local4].dx = int((Math.random() * 40) - 20);
back3[_local4].dy = int((Math.random() * 40) - 20);
back3[_local4].dxfix = back3[_local4].dx / 25;
back3[_local4].dyfix = back3[_local4].dy / 25;
back3[_local4].fixframe = int((Math.random() * 20) + 30);
back3[_local4].fnm = 0;
back3[_local4].calpha = 0;
var _local7 = int(Math.random() * 20) + 1;
back3[_local4].light.gotoAndPlay(_local7);
back3[_local4].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 31) {
this.onEnterFrame = bstaraction;
}
};
_local4++;
}
}
if (rst == 10) {
var _local3 = 0;
while (_local3 < 10) {
back2.attachMovie("backstar", _local3, _local3);
back2[_local3]._xscale = (back2[_local3]._yscale = (Math.random() * 8) + 18);
back2[_local3].dx = int((Math.random() * 40) - 20);
back2[_local3].dy = int((Math.random() * 40) - 20);
back2[_local3].dxfix = back2[_local3].dx / 25;
back2[_local3].dyfix = back2[_local3].dy / 25;
back2[_local3].fixframe = int((Math.random() * 20) + 20);
back2[_local3].fnm = 0;
back2[_local3].calpha = 0;
var _local7 = int(Math.random() * 20) + 1;
back2[_local3].light.gotoAndPlay(_local7);
back2[_local3].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 35) {
this.onEnterFrame = bstaraction;
}
};
_local3++;
}
}
if (rst == 14) {
var _local2 = 0;
while (_local2 < 10) {
back1.attachMovie("backstar", _local2, _local2);
back1[_local2]._xscale = (back1[_local2]._yscale = (Math.random() * 8) + 19);
back1[_local2].dx = int((Math.random() * 40) - 20);
back1[_local2].dy = int((Math.random() * 40) - 20);
back1[_local2].dxfix = back1[_local2].dx / 25;
back1[_local2].dyfix = back1[_local2].dy / 25;
back1[_local2].fixframe = int((Math.random() * 20) + 20);
back1[_local2].fnm = 0;
back1[_local2].calpha = 0;
var _local7 = int(Math.random() * 20) + 1;
back1[_local2].light.gotoAndPlay(_local7);
back1[_local2].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dx = this.dx - this.dxfix;
this.dy = this.dy - this.dyfix;
if (rst == 39) {
this.onEnterFrame = bstaraction;
}
};
_local2++;
}
}
if (rst < 60) {
rst++;
}
if (rst == 60) {
back1._rotation = back1._rotation - 0.1;
back2._rotation = back2._rotation + 0.15;
weblogo._visible = true;
}
};
weblogo.onRelease = function () {
getURL ("http://www.gamesgames.com", _blank);
};
playagain.onRelease = function () {
if (zz8._currentframe == 1) {
var _local2 = new Sound();
_local2.attachSound("menu_back");
_local2.start(0, 1);
_local2.onSoundComplete = function () {
delete this.onSoundComplete;
this=null;//parameter overwritten
};
zz8.gotoAndPlay(2);
}
};
var volumne = 40;
zz8.onEnterFrame = function () {
if ((this._currentframe > 2) && (this._currentframe < 50)) {
volumne = volumne - 1;
if (volumne > 0) {
my_sound1.setVolume(volumne);
}
if (volumne <= 0) {
my_sound1.setVolume(0);
}
}
if (this._currentframe == 50) {
my_sound1.setVolume(0);
my_sound1.stop();
my_sound1 = null;
delete _root.onEnterFrame;
_root.gotoAndStop(3);
}
};
Symbol 67 MovieClip [sstar2] Frame 42
this.removeMovieClip();
Symbol 74 MovieClip [sstar] Frame 32
this.removeMovieClip();
Symbol 79 MovieClip [lighting] Frame 15
this.removeMovieClip();
Symbol 88 MovieClip [star] Frame 1
stop();
Symbol 100 MovieClip Frame 1
var sznm = 1;
var szt = 0;
this.onEnterFrame = function () {
if (szt == 0) {
this.attachMovie("sz", sznm, sznm);
this[sznm]._x = (Math.random() * 4) - 2;
this[sznm]._y = (Math.random() * 4) - 2;
this[sznm]._xscale = (this[sznm]._yscale = (Math.random() * 30) + 80);
this[sznm].dy = Math.random() + 1;
this[sznm].dx = ((Math.random() * 2) - 1) * 0.2;
this[sznm].onEnterFrame = function () {
this._y = this._y + this.dy;
this._x = this._x + this.dx;
if (this._y > 26) {
this.removeMovieClip();
}
};
sznm++;
sznm = sznm % 30;
}
szt++;
szt = szt % 3;
};
Symbol 122 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 125 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 236 MovieClip Frame 1
gotoAndStop(_global.branding_nr);
Symbol 445 MovieClip Frame 2
stop();
t1.gotoAndStop(languagenm);
t2.gotoAndStop(languagenm);
t3.gotoAndStop(languagenm);
t4.gotoAndStop(languagenm);
t5.gotoAndStop(languagenm);
t6.gotoAndStop(languagenm);
t7.gotoAndStop(languagenm);
t8.gotoAndStop(languagenm);
t9.gotoAndStop(languagenm);
t10.gotoAndStop(languagenm);
t11.gotoAndStop(languagenm);
t12.gotoAndStop(languagenm);
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 50
stop();
Symbol 566 MovieClip Frame 1
txt.gotoAndStop(languagenm);
Symbol 567 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 20
stop();
Symbol 567 MovieClip Frame 40
stop();
Symbol 586 MovieClip Frame 2
stop();
txt.gotoAndStop(languagenm);
Symbol 605 MovieClip Frame 2
stop();
txt.gotoAndStop(languagenm);
Symbol 623 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 641 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 645 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 90
stop();
Symbol 669 MovieClip Frame 1
txt.gotoAndStop(languagenm);
Symbol 688 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 690 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 15
stop();
Symbol 706 MovieClip Frame 24
Symbol 706 MovieClip Frame 50
stop();
Symbol 716 MovieClip Frame 20
stop();
Symbol 727 MovieClip Frame 24
stop();
Symbol 743 MovieClip Frame 28
stop();
Symbol 751 MovieClip Frame 20
stop();
Symbol 767 MovieClip Frame 28
stop();
Symbol 776 MovieClip Frame 22
stop();
Symbol 786 MovieClip Frame 24
stop();
Symbol 798 MovieClip Frame 20
stop();
Symbol 809 MovieClip Frame 18
stop();
Symbol 818 MovieClip Frame 20
stop();
Symbol 825 MovieClip Frame 20
stop();
Symbol 832 MovieClip Frame 14
stop();
Symbol 833 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 834 MovieClip Frame 1
stop();
Symbol 834 MovieClip Frame 50
stop();
Symbol 835 MovieClip Frame 1
stop();
Symbol 835 MovieClip Frame 30
stop();
Symbol 848 MovieClip Frame 1
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 2
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 3
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 4
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 5
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 6
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 7
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 8
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 9
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 10
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 11
stop();
txt.gotoAndStop(languagenm);
Symbol 848 MovieClip Frame 12
stop();
txt.gotoAndStop(languagenm);
Symbol 861 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 877 MovieClip Frame 1
stop();
Symbol 877 MovieClip Frame 55
stop();
Symbol 878 MovieClip Frame 1
var sznm = 1;
var szt = 0;
this.onEnterFrame = function () {
this._rotation = this._rotation + 1;
if (szt == 0) {
this.attachMovie("backstar2", sznm, sznm);
this[sznm]._xscale = (this[sznm]._yscale = (Math.random() * 18) + 11);
this[sznm].dy = (Math.random() * 2) - 1;
this[sznm].dx = (Math.random() * 2) - 1;
this[sznm].onEnterFrame = function () {
this.dx = this.dx * 0.94;
this.dy = this.dy * 0.94;
this._y = this._y + this.dy;
this._x = this._x + this.dx;
this._alpha = this._alpha - 0.5;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
sznm++;
sznm = sznm % 50;
}
szt++;
szt = szt % 4;
};
Symbol 896 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 912 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 913 MovieClip Frame 1
this.gotoAndStop(_global.languagenm);
Symbol 919 MovieClip Frame 75
stop();
Symbol 919 MovieClip Frame 110
stop();
Symbol 936 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 937 MovieClip Frame 21
stop();
Symbol 937 MovieClip Frame 50
stop();
Symbol 954 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 955 MovieClip Frame 100
stop();
Symbol 972 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 982 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 994 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 1005 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 1016 MovieClip Frame 1
this.gotoAndStop(languagenm);
Symbol 1019 MovieClip Frame 140
stop();