Frame 1
function fnInit() {
level = 1;
setNum = 1;
orbsToDisarm = 7;
availableSets = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
lastFrames = [117, 210, 303, 395, 487, 579, 670, 762, 854, 947, 1039, 1130, 1221, 1312, 1403];
orbsPerLevel = [2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4];
orbList = [];
}
function fnContinue() {
score = 0;
gotoAndPlay ("play_again");
}
function fnStartOver() {
score = 0;
level = 1;
setNum = 1;
gotoAndPlay ("play_again");
}
function fnStartGame() {
score_txt.text = "0";
fnStartLevel(level);
}
function fnStartLevel(vLevel) {
if (level > 7) {
orbsToDisarm = 10;
}
_global.gGameOn = true;
level_txt.text = String(level);
zaps = 0;
zaps_txt.text = "0";
orbsDisarmed = 0;
var _local1 = 0;
orbsFront_mc.gotoAndPlay("set_" + setNum);
orbsBack_mc.gotoAndPlay("set_" + setNum);
_local1 = 1;
while (_local1 <= orbsPerLevel[setNum - 1]) {
var _local2 = new Orb();
orbList.push(_local2);
_local1++;
}
updateInterval = 0;
orbUpdater_mc.onEnterFrame = fnUpdateOrbStates;
}
function fnEndLevel() {
getURL (("javascript:_hbSet('c3','Star+Wars+Online+Game-Battle+Orbs|Level+" + level) + "');_hbSend();");
fnPauseGame();
level++;
if (level < 15) {
setNum = level;
} else {
var _local1 = Math.floor(Math.random() * availableSets.length);
setNum = availableSets[_local1];
availableSets.splice(_local1, 1);
if (availableSets.length == 0) {
availableSets = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
}
}
orbList.splice(0);
levelChange_mc.gotoAndPlay("change");
}
function fnHelp() {
fnPauseGame();
help_mc.gotoAndStop(2);
}
function fnCloseHelp() {
fnRestartGame();
help_mc.gotoAndStop(1);
}
function fnPauseGame() {
_global.gGameOn = false;
orbsFront_mc.stop();
orbsBack_mc.stop();
luke_mc.anim_mc.stop();
}
function fnRestartGame() {
_global.gGameOn = true;
orbsFront_mc.play();
orbsBack_mc.play();
luke_mc.anim_mc.play();
}
function fnEndGame() {
fnPauseGame();
orbList.splice(0);
gotoAndPlay ("end");
}
function fnUpdateOrbStates() {
if (gGameOn) {
updateInterval++;
for (var i in orbList) {
var _local1 = orbList[i];
if (_local1.vLoc == "back") {
var _local2 = null;
for (var _local3 in orbList) {
if ((orbList[_local3].orbNum == orbList[i].orbNum) && (i != _local3)) {
_local2 = orbList[_local3];
break;
}
}
if ((((updateInterval % _local1.activationInterval) == 0) && (updateInterval != 0)) && (_local1.vState == "neutral")) {
_local1.changeState("arming");
if (_local2 != null) {
_local2.changeState("arming");
}
_local1.warningStart = updateInterval;
} else if ((_local1.vState == "arming") && ((updateInterval - _local1.warningStart) == _local1.warningDuration)) {
_local1.changeState("flashing");
if (_local2 != null) {
_local2.changeState("flashing");
}
_local1.warningStart = null;
_local1.flashingStart = updateInterval;
} else if ((_local1.vState == "flashing") && ((updateInterval - _local1.flashingStart) == _local1.flashingDuration)) {
_local1.fireZap(true);
_local1.changeState("neutral");
if (_local2 != null) {
_local2.changeState("neutral");
}
_local1.flashingStart = null;
}
}
}
}
}
function fnCreateOrb(vNum, vFront) {
var _local1 = new Orb(vNum, vFront);
orbList.push(_local1);
}
function Orb(vNum, vFront) {
var _local1 = this;
var _local3 = vNum;
if (_local3 == null) {
_local3 = orbList.length + 1;
}
if (vFront) {
_local1.clip = orbsFront_mc[("orb" + _local3) + "_mc"];
_local1.vLoc = "front";
} else {
_local1.clip = orbsBack_mc[("orb" + _local3) + "_mc"];
_local1.vLoc = "back";
}
_local1.orbNum = _local3;
_local1.disarmed = false;
if (vFront) {
for (var i in orbList) {
if ((orbList[i].vLoc == "back") && (orbList[i].orbNum == _local3)) {
var _local2 = orbList[i];
_local1.vState = orbList[i].vState;
break;
}
}
if (((updateInterval - _local2.flashingStart) > _local2.flashingDuration) && (_local2.vState == "flashing")) {
_local1.changeState("neutral");
}
if (_local1.vState == "neutral") {
_local1.l1CF = 1;
_local1.l2CF = 1;
_local1.l3CF = 1;
} else if (_local1.vState == "arming") {
_local1.l1CF = 30;
_local1.l2CF = 30;
_local1.l3CF = 30;
_local1.clip.light1_mc.gotoAndStop(30);
_local1.clip.light2_mc.gotoAndStop(30);
_local1.clip.light3_mc.gotoAndStop(30);
} else {
_local1.l1CF = 60;
_local1.l2CF = 60;
_local1.l3CF = 60;
_local1.clip.light1_mc.gotoAndStop(60);
_local1.clip.light2_mc.gotoAndStop(60);
_local1.clip.light3_mc.gotoAndStop(60);
}
} else {
_local1.vState = "neutral";
_local1.activationInterval = _local3 * 20;
_local1.warningStart = null;
if (level < 8) {
_local1.activationInterval = _local3 * 10;
_local1.warningDuration = 55;
_local1.flashingDuration = 60;
} else if (level < 16) {
_local1.warningDuration = 50;
_local1.flashingDuration = 40;
} else if (level < 24) {
_local1.warningDuration = 50;
_local1.flashingDuration = 35;
} else {
_local1.warningDuration = 40;
_local1.flashingDuration = 30;
}
_local1.flashingStart = null;
}
_local1.clip.vObj = _local1;
_local1.clip.onEnterFrame = updateOrb;
}
function fnGetZapped() {
zaps++;
zaps_txt.text = String(zaps);
luke_mc.gotoAndStop(2);
var _local1 = Math.floor(Math.random() * 5) + 1;
luke_mc.hitSpot_mc.gotoAndStop(2);
luke_mc.hitSpot_mc.rotateTowardsOrb();
luke_mc.anim_mc.gotoAndPlay("hit_" + _local1);
}
function fnCheckGameOver() {
if (zaps >= 3) {
fnEndGame();
}
}
function fnCheckLevelCompletion() {
if (orbsDisarmed >= orbsToDisarm) {
fnEndLevel();
}
}
function fnUpdateScore() {
if (score < 0) {
score = 0;
}
score_txt.text = String(score);
}
_global.gameRoot = this;
_global.gGameOn = false;
var musicOn = true;
var whichTrack = 1;
var orbsPerLevel;
var level;
var score;
var setNum;
var orbsDisarmed;
var orbList;
var zaps;
var orbsToDisarm;
_global.radiansToDegrees = function (radians) {
return((radians / Math.PI) * 180);
};
MovieClip.prototype.rotateTowardsMouse = function () {
var _local2 = this;
var _local1 = {x:_local2._x, y:_local2._y};
_local2._parent.localToGlobal(_local1);
var deltaX = (_xmouse - _local1.x);
var deltaY = (_ymouse - _local1.y);
var _local3 = Math.atan2(deltaY, deltaX);
rotationAngle = radiansToDegrees(_local3);
_local2._rotation = rotationAngle;
};
MovieClip.prototype.rotateTowardsLuke = function () {
var _local2 = {x:452, y:226};
var _local1 = {x:orbClicked._x, y:orbClicked._y};
orbClicked._parent.localToGlobal(_local1);
var deltaX = (_local2.x - _local1.x);
var deltaY = (_local2.y - _local1.y);
var _local3 = Math.atan2(deltaY, deltaX);
rotationAngle = radiansToDegrees(_local3);
this._rotation = rotationAngle;
};
MovieClip.prototype.rotateTowardsOrb = function () {
var orb = {x:orbClicked._x, y:orbClicked._y};
orbClicked._parent.localToGlobal(orb);
var _local1 = {x:luke_mc.hitSpot_mc._x, y:luke_mc.hitSpot_mc._y};
luke_mc.localToGlobal(_local1);
var deltaX = (hit.x - _local1.x);
var _local3 = hit.y - _local1.y;
var _local2 = Math.atan2(_local3, deltaX);
rotationAngle = radiansToDegrees(_local2);
this._rotation = rotationAngle;
};
Orb.prototype.remove = function () {
var _local1 = this;
for (i in orbList) {
if (_local1 == orbList[i]) {
orbList.splice(i, 1);
}
}
};
Orb.prototype.changeState = function (vState) {
var _local1 = this;
var _local2 = vState;
trace(orbList);
for (var _local3 in orbList) {
trace((orbList[_local3].orbNum + "=") + _local1.orbNum);
if ((orbList[_local3].orbNum == _local1.orbNum) && (orbList[_local3] != _local1)) {
orbList[_local3].vState = _local2;
trace(orbList[_local3].vLoc);
break;
}
}
_local1.vState = _local2;
if (_local2 == "neutral") {
_local1.disarmed = false;
}
trace(_local1.vLoc);
_local1.clip.gotoAndStop(_local2);
};
Orb.prototype.fireZap = function (vHit) {
var _local1 = this;
_local1.clip.laser_mc.gotoAndStop(2);
orbClicked = _local1.clip;
_local1.clip.laser_mc.rotateTowardsLuke();
_local1.clip.vHit = vHit;
};
MovieClip.prototype.updateOrb = function () {
var _local1 = this;
if (gGameOn) {
if (_local1._currentframe < _local1._totalframes) {
_local1.gotoAndStop(_local1._currentframe + 1);
} else {
_local1.gotoAndStop(1);
}
if (_local1.vObj.vState == "neutral") {
var _local2 = 1;
while (_local2 < 4) {
if (_local1.vObj[("l" + _local2) + "CF"] < 19) {
_local1[("light" + _local2) + "_mc"].gotoAndStop(_local1.vObj[("l" + _local2) + "CF"] + 1);
} else {
_local1[("light" + _local2) + "_mc"].gotoAndStop("neutral");
}
_local1.vObj[("l" + _local2) + "CF"] = _local1[("light" + _local2) + "_mc"]._currentframe;
_local2++;
}
} else if (_local1.vObj.vState == "arming") {
var _local2 = 1;
while (_local2 < 4) {
if (_local1.vObj[("l" + _local2) + "CF"] < 20) {
_local1[("light" + _local2) + "_mc"].gotoAndStop(20);
} else if (_local1.vObj[("l" + _local2) + "CF"] < 49) {
_local1[("light" + _local2) + "_mc"].gotoAndStop(Number(_local1.vObj[("l" + _local2) + "CF"] + 1));
} else {
_local1[("light" + _local2) + "_mc"].gotoAndStop("arming");
}
_local1.vObj[("l" + _local2) + "CF"] = _local1[("light" + _local2) + "_mc"]._currentframe;
_local2++;
}
} else if (_local1.vObj.vState == "flashing") {
var _local2 = 1;
while (_local2 < 4) {
if (_local1.vObj[("l" + _local2) + "CF"] < 50) {
_local1[("light" + _local2) + "_mc"].gotoAndStop(50);
} else if (_local1.vObj[("l" + _local2) + "CF"] < 90) {
_local1[("light" + _local2) + "_mc"].gotoAndStop(_local1.vObj[("l" + _local2) + "CF"] + 1);
} else {
_local1[("light" + _local2) + "_mc"].gotoAndStop("flashing");
}
_local1.vObj[("l" + _local2) + "CF"] = _local1[("light" + _local2) + "_mc"]._currentframe;
_local2++;
}
}
}
};
Orb.prototype.click = function () {
var _local2 = this;
if (gGameOn && (_local2.disarmed == false)) {
if (_local2.vState == "flashing") {
rotator_mc.rotateTowardsMouse();
var _local1 = rotationAngle;
if (_local1 < 0) {
if (_local1 < -157.5) {
luke_mc.anim_mc.gotoAndPlay("m13");
} else if (_local1 < -135) {
luke_mc.anim_mc.gotoAndPlay("m14");
} else if (_local1 < -112.5) {
luke_mc.anim_mc.gotoAndPlay("m15");
} else if (_local1 < -90) {
luke_mc.anim_mc.gotoAndPlay("m16");
} else if (_local1 < -67.5) {
luke_mc.anim_mc.gotoAndPlay("m1");
} else if (_local1 < -45) {
luke_mc.anim_mc.gotoAndPlay("m2");
} else if (_local1 < -22.5) {
luke_mc.anim_mc.gotoAndPlay("m3");
} else if (_local1 < 0) {
luke_mc.anim_mc.gotoAndPlay("m4");
}
} else if (_local1 > 157.5) {
luke_mc.anim_mc.gotoAndPlay("m12");
} else if (_local1 > 135) {
luke_mc.anim_mc.gotoAndPlay("m11");
} else if (_local1 > 112.5) {
luke_mc.anim_mc.gotoAndPlay("m10");
} else if (_local1 > 90) {
luke_mc.anim_mc.gotoAndPlay("m9");
} else if (_local1 > 67.5) {
luke_mc.anim_mc.gotoAndPlay("m8");
} else if (_local1 > 45) {
luke_mc.anim_mc.gotoAndPlay("m7");
} else if (_local1 > 22.5) {
luke_mc.anim_mc.gotoAndPlay("m6");
} else if (_local1 > 0) {
luke_mc.anim_mc.gotoAndPlay("m5");
}
_local2.disarmed = true;
orbClicked = _local2.clip;
orbsDisarmed++;
score = score + 10;
} else if (_local2.vState == "arming") {
_local2.changeState("neutral");
bc.start();
score = score - 5;
} else {
_local2.changeState("neutral");
score = score - 10;
}
fnUpdateScore();
}
};
Frame 2
if (_framesloaded >= 4) {
gotoAndPlay ("loader");
}
Frame 3
gotoAndPlay (1);
Frame 4
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes;
percentDone = int((loadedBytes / totalBytes) * 100);
bar.gotoAndStop(percentDone);
pLoad_txt.text = percentDone + "%";
if (_framesloaded == _totalframes) {
gotoAndPlay ("start");
}
Frame 5
gotoAndPlay ("loader");
Frame 7
bc = new Sound(AudioBadClick_MC);
bc.attachSound("BadClick");
bc.setVolume(50);
fnInit();
Frame 25
stop();
Frame 39
stop();
Frame 40
AudioMainMusic_MC.gotoAndPlay("Track1");
Frame 54
stop();
fnStartGame();
Instance of Symbol 214 MovieClip in Frame 54
/* no clip actions */
Frame 62
play();
Frame 64
AudioMainMusic_MC.gotoAndPlay("Stop");
Instance of Symbol 231 MovieClip in Frame 71
onClipEvent (load) {
this.score_txt.text = String(gameRoot.score);
this.level_txt.text = String(gameRoot.level);
}
Frame 81
stop();
Frame 100
if (musicOn == true) {
AudioMainMusic_MC.play();
}
Frame 102
gotoAndStop ("game");
Symbol 7 MovieClip Frame 1
bar.stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 12
gameRoot.whichTrack = 1;
gotoAndStop ("park");
Symbol 49 MovieClip Frame 24
gameRoot.whichTrack = 2;
gotoAndStop ("park");
Symbol 49 MovieClip Frame 34
gotoAndStop ("park");
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 3
stop();
Symbol 54 MovieClip Frame 5
stop();
Symbol 54 MovieClip Frame 7
gotoAndStop ("park");
Symbol 57 MovieClip Frame 1
stop();
Symbol 80 Button
on (release) {
getURL ("javascript:_hbSet('c3','Star+Wars+Online+Game-Battle+Orbs|Plays');_hbVisitorSeg('1','Star+Wars+Online+Game-Battle+Orbs','/entertainment/online+games/Action+Games');");
play();
}
Symbol 106 Button
on (release) {
play();
}
Symbol 117 Button
on (release) {
getURL ("javascript:_hbSet('c3','Star+Wars+Online+Game-Battle+Orbs|Plays');_hbVisitorSeg('1','Star+Wars+Online+Game-Battle+Orbs','/entertainment/online+games/Action+Games');");
play();
}
Symbol 123 MovieClip Frame 3
_parent._parent.vObj.changeState("neutral");
if (_parent._parent.vHit) {
gameRoot.fnGetZapped();
}
_parent.gotoAndStop(1);
Symbol 125 MovieClip Frame 1
stop();
Symbol 127 Button
on (press) {
this.vObj.click();
}
Symbol 145 MovieClip Frame 117
gotoAndPlay ("loop1");
Symbol 145 MovieClip Frame 210
gotoAndPlay ("loop2");
Symbol 145 MovieClip Frame 303
gotoAndPlay ("loop3");
Symbol 145 MovieClip Frame 395
gotoAndPlay ("loop4");
Symbol 145 MovieClip Frame 487
gotoAndPlay ("loop5");
Symbol 145 MovieClip Frame 579
gotoAndPlay ("loop6");
Symbol 145 MovieClip Frame 670
gotoAndPlay ("loop7");
Symbol 145 MovieClip Frame 762
gotoAndPlay ("loop8");
Symbol 145 MovieClip Frame 854
gotoAndPlay ("loop9");
Symbol 145 MovieClip Frame 947
gotoAndPlay ("loop10");
Symbol 145 MovieClip Frame 1039
gotoAndPlay ("loop11");
Symbol 145 MovieClip Frame 1130
gotoAndPlay ("loop12");
Symbol 145 MovieClip Frame 1221
gotoAndPlay ("loop13");
Symbol 145 MovieClip Frame 1312
gotoAndPlay ("loop14");
Symbol 145 MovieClip Frame 1403
gotoAndPlay ("loop15");
Symbol 189 MovieClip Frame 31
gameRoot.fnCheckLevelCompletion();
play();
Symbol 189 MovieClip Frame 117
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 122
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 133
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 137
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 150
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 155
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 167
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 170
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 183
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 187
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 198
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 203
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 214
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 218
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 230
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 234
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 246
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 251
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 262
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 267
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 278
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 281
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 294
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 298
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 310
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 315
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 326
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 331
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 343
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 348
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 357
gotoAndPlay ("loop");
Symbol 189 MovieClip Frame 362
gameRoot.orbClicked.vObj.fireZap(false);
Symbol 189 MovieClip Frame 373
gotoAndPlay ("loop");
Symbol 191 MovieClip Frame 4
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 17
gameRoot.fnCheckGameOver();
_parent.gotoAndStop(1);
Symbol 195 MovieClip Frame 34
gameRoot.fnCheckGameOver();
_parent.gotoAndStop(1);
Symbol 195 MovieClip Frame 50
gameRoot.fnCheckGameOver();
_parent.gotoAndStop(1);
Symbol 195 MovieClip Frame 67
gameRoot.fnCheckGameOver();
_parent.gotoAndStop(1);
Symbol 195 MovieClip Frame 84
gameRoot.fnCheckGameOver();
_parent.gotoAndStop(1);
Symbol 196 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 36
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 56
orb2_mc.vObj.remove();
gameRoot.fnCreateOrb(1, true);
Symbol 198 MovieClip Frame 90
orb1_mc.vObj.remove();
Symbol 198 MovieClip Frame 97
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 117
orb2_mc.vObj.remove();
gotoAndPlay ("loop1");
Symbol 198 MovieClip Frame 149
gameRoot.fnCreateOrb(1, true);
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 190
orb1_mc.vObj.remove();
orb2_mc.vObj.remove();
Symbol 198 MovieClip Frame 210
gotoAndPlay ("loop2");
Symbol 198 MovieClip Frame 242
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 283
orb2_mc.vObj.remove();
Symbol 198 MovieClip Frame 303
gotoAndPlay ("loop3");
Symbol 198 MovieClip Frame 314
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 395
orb2_mc.vObj.remove();
gotoAndPlay ("loop4");
Symbol 198 MovieClip Frame 406
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 426
orb2_mc.vObj.remove();
Symbol 198 MovieClip Frame 474
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 487
orb2_mc.vObj.remove();
gotoAndPlay ("loop5");
Symbol 198 MovieClip Frame 498
gameRoot.fnCreateOrb(1, true);
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 518
orb3_mc.vObj.remove();
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 539
orb1_mc.vObj.remove();
Symbol 198 MovieClip Frame 559
orb2_mc.vObj.remove();
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 579
orb3_mc.vObj.remove();
gotoAndPlay ("loop6");
Symbol 198 MovieClip Frame 589
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 609
orb3_mc.vObj.remove();
gameRoot.fnCreateOrb(1, true);
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 650
orb1_mc.vObj.remove();
orb2_mc.vObj.remove();
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 670
orb1_mc.vObj.remove();
orb2_mc.vObj.remove();
orb3_mc.vObj.remove();
gotoAndPlay ("loop7");
Symbol 198 MovieClip Frame 681
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 701
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 742
orb2_mc.vObj.remove();
Symbol 198 MovieClip Frame 762
orb3_mc.vObj.remove();
gotoAndPlay ("loop8");
Symbol 198 MovieClip Frame 773
gameRoot.fnCreateOrb(1, true);
Symbol 198 MovieClip Frame 793
gameRoot.fnCreateOrb(2, true);
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 834
orb2_mc.vObj.remove();
orb3_mc.vObj.remove();
Symbol 198 MovieClip Frame 854
orb1_mc.vObj.remove();
gotoAndPlay ("loop9");
Symbol 198 MovieClip Frame 866
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 886
orb3_mc.vObj.remove();
gameRoot.fnCreateOrb(1, true);
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 927
gameRoot.fnCreateOrb(3, true);
orb1_mc.vObj.remove();
orb2_mc.vObj.remove();
Symbol 198 MovieClip Frame 947
orb3_mc.vObj.remove();
gotoAndPlay ("loop10");
Symbol 198 MovieClip Frame 958
gameRoot.fnCreateOrb(2, true);
gameRoot.fnCreateOrb(4, true);
Symbol 198 MovieClip Frame 978
orb4_mc.vObj.remove();
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 998
gameRoot.fnCreateOrb(1, true);
Symbol 198 MovieClip Frame 999
orb2_mc.vObj.remove();
Symbol 198 MovieClip Frame 1019
orb3_mc.vObj.remove();
gameRoot.fnCreateOrb(4, true);
Symbol 198 MovieClip Frame 1039
orb1_mc.vObj.remove();
orb4_mc.vObj.remove();
gotoAndPlay ("loop11");
Symbol 198 MovieClip Frame 1049
gameRoot.fnCreateOrb(3, true);
gameRoot.fnCreateOrb(4, true);
Symbol 198 MovieClip Frame 1069
orb3_mc.vObj.remove();
gameRoot.fnCreateOrb(1, true);
Symbol 198 MovieClip Frame 1103
orb1_mc.vObj.remove();
Symbol 198 MovieClip Frame 1110
gameRoot.fnCreateOrb(3, true);
orb1_mc.vObj.remove();
Symbol 198 MovieClip Frame 1130
orb3_mc.vObj.remove();
orb4_mc.vObj.remove();
gotoAndPlay ("loop12");
Symbol 198 MovieClip Frame 1140
gameRoot.fnCreateOrb(1, true);
gameRoot.fnCreateOrb(4, true);
Symbol 198 MovieClip Frame 1160
orb1_mc.vObj.remove();
orb4_mc.vObj.remove();
gameRoot.fnCreateOrb(3, true);
Symbol 198 MovieClip Frame 1167
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 1194
orb2_mc.vObj.remove();
Symbol 198 MovieClip Frame 1201
orb3_mc.vObj.remove();
gameRoot.fnCreateOrb(1, true);
gameRoot.fnCreateOrb(4, true);
Symbol 198 MovieClip Frame 1221
orb1_mc.vObj.remove();
orb4_mc.vObj.remove();
gotoAndPlay ("loop13");
Symbol 198 MovieClip Frame 1231
gameRoot.fnCreateOrb(4, true);
Symbol 198 MovieClip Frame 1251
gameRoot.fnCreateOrb(1, true);
gameRoot.fnCreateOrb(2, true);
gameRoot.fnCreateOrb(3, true);
orb4_mc.vObj.remove();
Symbol 198 MovieClip Frame 1292
orb1_mc.vObj.remove();
orb2_mc.vObj.remove();
orb3_mc.vObj.remove();
gameRoot.fnCreateOrb(4, true);
Symbol 198 MovieClip Frame 1312
orb4_mc.vObj.remove();
gotoAndPlay ("loop14");
Symbol 198 MovieClip Frame 1322
gameRoot.fnCreateOrb(4, true);
Symbol 198 MovieClip Frame 1342
gameRoot.fnCreateOrb(1, true);
gameRoot.fnCreateOrb(2, true);
Symbol 198 MovieClip Frame 1383
orb1_mc.vObj.remove();
orb2_mc.vObj.remove();
Symbol 198 MovieClip Frame 1403
orb4_mc.vObj.remove();
gotoAndPlay ("loop15");
Symbol 201 MovieClip Frame 1
stop();
Symbol 206 Button
on (rollOver) {
fnHelp();
}
on (rollOut, dragOver, releaseOutside) {
fnCloseHelp();
}
Symbol 208 Button
on (release) {
if (gameRoot.musicOn == true) {
gameRoot.AudioMainMusic_MC.gotoAndPlay("Stop");
gameRoot.musicOn = false;
}
gotoAndStop (2);
}
Symbol 213 Button
on (release) {
if (gameRoot.musicOn == false) {
if (gameRoot.whichTrack == 1) {
gameRoot.AudioMainMusic_MC.gotoAndPlay("Track1");
} else {
gameRoot.AudioMainMusic_MC.gotoAndPlay("Track2");
}
gameRoot.musicOn = true;
}
gotoAndStop (1);
}
Symbol 214 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 1
stop();
fnChangeLevel();
Symbol 219 MovieClip Frame 8
gameRoot.AudioTransition_MC.play();
Instance of Symbol 218 MovieClip "levelText_mc" in Symbol 219 MovieClip Frame 11
onClipEvent (load) {
this.levelNum_txt.text = String(gameRoot.level);
}
Symbol 219 MovieClip Frame 14
gameRoot.AudioMainMusic_MC.gotoAndPlay("Stop");
Symbol 219 MovieClip Frame 48
if (gameRoot.whichTrack == 1) {
gameRoot.AudioMainMusic_MC.gotoAndPlay("Track2");
} else {
gameRoot.AudioMainMusic_MC.gotoAndPlay("Track1");
}
Symbol 219 MovieClip Frame 49
gameRoot.fnStartLevel(gameRoot.level);
gotoAndStop (1);
Symbol 234 Button
on (release) {
getURL ("javascript:_hbSet('c3','Star+Wars+Online+Game-Battle+Orbs|Plays');_hbVisitorSeg('1','Star+Wars+Online+Game-Battle+Orbs','/entertainment/online+games/Action+Games');");
gameRoot.fnStartOver();
}
Symbol 235 Button
on (release) {
getURL ("javascript:_hbSet('c3','Star+Wars+Online+Game-Battle+Orbs|Plays');_hbVisitorSeg('1','Star+Wars+Online+Game-Battle+Orbs','/entertainment/online+games/Action+Games');");
gameRoot.fnContinue();
}