Frame 1
var NoMenu = new ContextMenu();
NoMenu.hideBuiltInItems();
this.menu = NoMenu;
fscommand ("allowscale", false);
fscommand ("showmenu", false);
rezTotal = getBytesTotal();
rezLoaded = getBytesLoaded();
_root.rezPercent = Math.round(rezLoaded / (rezTotal / 100));
if (rezTotal == rezLoaded) {
_root.soundsw = 1;
gotoAndStop (10);
}
Frame 2
gotoAndPlay (1);
Frame 3
function UpdateScore() {
scoreS = "000" + _root.tScore.toString();
scoreL = scoreS.length;
ccdc = 0;
while (ccdc < scoreL) {
sbasket[ccdc] = scoreS.charAt((scoreL - ccdc) - 1);
ccdc++;
}
aaa = 0;
while (aaa <= 9) {
if (sbasket[0] == aaa.toString()) {
score1MC.gotoAndStop(aaa + 2);
}
if (sbasket[1] == aaa.toString()) {
score2MC.gotoAndStop(aaa + 2);
}
if (sbasket[2] == aaa.toString()) {
score3MC.gotoAndStop(aaa + 2);
}
aaa++;
}
}
Mouse.show();
var sbasket = Array(5);
var mbasket = Array(5);
var scoreS = "";
var matchS = "";
sbc = 0;
while (sbc < 3) {
sbasket[sbc] = 0;
mbasket[sbc] = 0;
sbc++;
}
countmc = 0;
stop();
Instance of Symbol 36 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.soundsw == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 4
function initialize() {
_root.hitme = Math.floor((Math.random() * 16) + 1);
if (_root.hitme == 1) {
_root.board.t1.gotoAndPlay(2);
}
if (_root.hitme == 2) {
_root.board.t2.gotoAndPlay(2);
}
if (_root.hitme == 3) {
_root.board.t3.gotoAndPlay(2);
}
if (_root.hitme == 4) {
_root.board.t4.gotoAndPlay(2);
}
if (_root.hitme == 5) {
_root.board.t5.gotoAndPlay(2);
}
if (_root.hitme == 6) {
_root.board.t6.gotoAndPlay(2);
}
if (_root.hitme == 7) {
_root.board.t7.gotoAndPlay(2);
}
if (_root.hitme == 8) {
_root.board.t8.gotoAndPlay(2);
}
if (_root.hitme == 9) {
_root.board.t9.gotoAndPlay(2);
}
if (_root.hitme == 10) {
_root.board.t10.gotoAndPlay(2);
}
if (_root.hitme == 11) {
_root.board.t11.gotoAndPlay(2);
}
if (_root.hitme == 12) {
_root.board.t12.gotoAndPlay(2);
}
if (_root.hitme == 13) {
_root.board.t13.gotoAndPlay(2);
}
if (_root.hitme == 14) {
_root.board.t14.gotoAndPlay(2);
}
if (_root.hitme == 15) {
_root.board.t15.gotoAndPlay(2);
}
if (_root.hitme == 16) {
_root.board.t16.gotoAndPlay(2);
}
}
_root.tScore = 0;
_root.UpdateScore();
stop();
initialize();
this.onEnterFrame = function () {
Mouse.hide();
diffy = _ymouse - ball._y;
diffx = _xmouse - ball._x;
diffy2 = _ymouse - ball2._y;
diffx2 = _xmouse - ball2._x;
diffy3 = _ymouse - ball3._y;
diffx3 = _xmouse - ball3._x;
ball._y = ball._y + (diffy / 2);
ball._x = ball._x + (diffx / 2);
ball2._y = ball2._y + (diffy2 / 2.3);
ball2._x = ball2._x + (diffx2 / 2.3);
ball3._y = ball3._y + (diffy3 / 2.6);
ball3._x = ball3._x + (diffx3 / 2.6);
};
Instance of Symbol 91 MovieClip "ball" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.board.t1) && (_root.hitme == 1)) {
_root.board.t1.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t2) && (_root.hitme == 2)) {
_root.board.t2.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t3) && (_root.hitme == 3)) {
_root.board.t3.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t4) && (_root.hitme == 4)) {
_root.board.t4.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t5) && (_root.hitme == 5)) {
_root.board.t5.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t6) && (_root.hitme == 6)) {
_root.board.t6.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t7) && (_root.hitme == 7)) {
_root.board.t7.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t8) && (_root.hitme == 8)) {
_root.board.t8.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t9) && (_root.hitme == 9)) {
_root.board.t9.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t10) && (_root.hitme == 10)) {
_root.board.t10.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t11) && (_root.hitme == 11)) {
_root.board.t11.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t12) && (_root.hitme == 12)) {
_root.board.t12.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t13) && (_root.hitme == 13)) {
_root.board.t13.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t14) && (_root.hitme == 14)) {
_root.board.t14.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t15) && (_root.hitme == 15)) {
_root.board.t15.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board.t16) && (_root.hitme == 16)) {
_root.board.t16.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t1) && (_root.hitme == 1)) {
_root.board2.t1.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t2) && (_root.hitme == 2)) {
_root.board2.t2.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t3) && (_root.hitme == 3)) {
_root.board2.t3.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t4) && (_root.hitme == 4)) {
_root.board2.t4.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t5) && (_root.hitme == 5)) {
_root.board2.t5.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t6) && (_root.hitme == 6)) {
_root.board2.t6.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t7) && (_root.hitme == 7)) {
_root.board2.t7.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t8) && (_root.hitme == 8)) {
_root.board2.t8.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t9) && (_root.hitme == 9)) {
_root.board2.t9.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t10) && (_root.hitme == 10)) {
_root.board2.t10.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t11) && (_root.hitme == 11)) {
_root.board2.t11.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t12) && (_root.hitme == 12)) {
_root.board2.t12.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t13) && (_root.hitme == 13)) {
_root.board2.t13.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t14) && (_root.hitme == 14)) {
_root.board2.t14.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t15) && (_root.hitme == 15)) {
_root.board2.t15.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.board2.t16) && (_root.hitme == 16)) {
_root.board2.t16.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.trap1)) {
_root.trap1.gotoAndPlay(2);
_root.resettarget();
_root.newtarget.gotoAndPlay(2);
}
if (this.hitTest(_root.trap2)) {
_root.trap2.gotoAndPlay(2);
_root.resettarget();
_root.newtarget.gotoAndPlay(2);
}
if (this.hitTest(_root.trap3)) {
_root.trap3.gotoAndPlay(2);
_root.resettarget();
_root.newtarget.gotoAndPlay(2);
}
if (this.hitTest(_root.trap4)) {
_root.trap4.gotoAndPlay(2);
_root.resettarget();
_root.newtarget.gotoAndPlay(2);
}
if (this.hitTest(_root.rot.board.t1) && (_root.hitme == 1)) {
_root.rot.board.t1.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t2) && (_root.hitme == 2)) {
_root.rot.board.t2.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t3) && (_root.hitme == 3)) {
_root.rot.board.t3.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t4) && (_root.hitme == 4)) {
_root.rot.board.t4.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t5) && (_root.hitme == 5)) {
_root.rot.board.t5.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t6) && (_root.hitme == 6)) {
_root.rot.board.t6.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t7) && (_root.hitme == 7)) {
_root.rot.board.t7.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t8) && (_root.hitme == 8)) {
_root.rot.board.t8.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t9) && (_root.hitme == 9)) {
_root.rot.board.t9.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t10) && (_root.hitme == 10)) {
_root.rot.board.t10.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t11) && (_root.hitme == 11)) {
_root.rot.board.t11.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t12) && (_root.hitme == 12)) {
_root.rot.board.t12.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t13) && (_root.hitme == 13)) {
_root.rot.board.t13.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t14) && (_root.hitme == 14)) {
_root.rot.board.t14.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t15) && (_root.hitme == 15)) {
_root.rot.board.t15.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot.board.t16) && (_root.hitme == 16)) {
_root.rot.board.t16.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t1) && (_root.hitme == 1)) {
_root.rot2.boardx.t1.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t2) && (_root.hitme == 2)) {
_root.rot2.boardx.t2.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t3) && (_root.hitme == 3)) {
_root.rot2.boardx.t3.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t4) && (_root.hitme == 4)) {
_root.rot2.boardx.t4.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t5) && (_root.hitme == 5)) {
_root.rot2.boardx.t5.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t6) && (_root.hitme == 6)) {
_root.rot2.boardx.t6.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t7) && (_root.hitme == 7)) {
_root.rot2.boardx.t7.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t8) && (_root.hitme == 8)) {
_root.rot2.boardx.t8.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t9) && (_root.hitme == 9)) {
_root.rot2.boardx.t9.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t10) && (_root.hitme == 10)) {
_root.rot2.boardx.t10.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t11) && (_root.hitme == 11)) {
_root.rot2.boardx.t11.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t12) && (_root.hitme == 12)) {
_root.rot2.boardx.t12.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t13) && (_root.hitme == 13)) {
_root.rot2.boardx.t13.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t14) && (_root.hitme == 14)) {
_root.rot2.boardx.t14.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t15) && (_root.hitme == 15)) {
_root.rot2.boardx.t15.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.rot2.boardx.t16) && (_root.hitme == 16)) {
_root.rot2.boardx.t16.gotoAndStop(1);
_root.hitsnd.play();
_root.tScore++;
_root.UpdateScore();
_root.initialize();
}
if (this.hitTest(_root.traprot.traps.t1)) {
_root.traprot.traps.t1.trap1.gotoAndPlay(2);
_root.resettarget();
_root.newtarget.gotoAndPlay(2);
}
if (this.hitTest(_root.traprot.traps.t2)) {
_root.traprot.traps.t2.trap2.gotoAndPlay(2);
_root.resettarget();
_root.newtarget.gotoAndPlay(2);
}
if (this.hitTest(_root.traprot.traps.t3)) {
_root.traprot.traps.t3.trap3.gotoAndPlay(2);
_root.resettarget();
_root.newtarget.gotoAndPlay(2);
}
if (this.hitTest(_root.traprot.traps.t4)) {
_root.traprot.traps.t4.trap4.gotoAndPlay(2);
_root.resettarget();
_root.newtarget.gotoAndPlay(2);
}
}
Frame 5
function resettarget() {
_root.hitme = 0;
}
function initialize() {
_root.hitme = Math.floor((Math.random() * 16) + 1);
if (_root.hitme == 1) {
_root.board2.t1.gotoAndPlay(2);
}
if (_root.hitme == 2) {
_root.board2.t2.gotoAndPlay(2);
}
if (_root.hitme == 3) {
_root.board2.t3.gotoAndPlay(2);
}
if (_root.hitme == 4) {
_root.board2.t4.gotoAndPlay(2);
}
if (_root.hitme == 5) {
_root.board2.t5.gotoAndPlay(2);
}
if (_root.hitme == 6) {
_root.board2.t6.gotoAndPlay(2);
}
if (_root.hitme == 7) {
_root.board2.t7.gotoAndPlay(2);
}
if (_root.hitme == 8) {
_root.board2.t8.gotoAndPlay(2);
}
if (_root.hitme == 9) {
_root.board2.t9.gotoAndPlay(2);
}
if (_root.hitme == 10) {
_root.board2.t10.gotoAndPlay(2);
}
if (_root.hitme == 11) {
_root.board2.t11.gotoAndPlay(2);
}
if (_root.hitme == 12) {
_root.board2.t12.gotoAndPlay(2);
}
if (_root.hitme == 13) {
_root.board2.t13.gotoAndPlay(2);
}
if (_root.hitme == 14) {
_root.board2.t14.gotoAndPlay(2);
}
if (_root.hitme == 15) {
_root.board2.t15.gotoAndPlay(2);
}
if (_root.hitme == 16) {
_root.board2.t16.gotoAndPlay(2);
}
}
_root.UpdateScore();
stop();
initialize();
this.onEnterFrame = function () {
Mouse.hide();
diffy = _ymouse - ball._y;
diffx = _xmouse - ball._x;
diffy2 = _ymouse - ball2._y;
diffx2 = _xmouse - ball2._x;
diffy3 = _ymouse - ball3._y;
diffx3 = _xmouse - ball3._x;
ball._y = ball._y + (diffy / 2);
ball._x = ball._x + (diffx / 2);
ball2._y = ball2._y + (diffy2 / 2.3);
ball2._x = ball2._x + (diffx2 / 2.3);
ball3._y = ball3._y + (diffy3 / 2.6);
ball3._x = ball3._x + (diffx3 / 2.6);
};
Frame 6
function resettarget() {
_root.hitme = 0;
}
function initialize() {
_root.hitme = Math.floor((Math.random() * 16) + 1);
if (_root.hitme == 1) {
_root.rot.board.t1.gotoAndPlay(2);
}
if (_root.hitme == 2) {
_root.rot.board.t2.gotoAndPlay(2);
}
if (_root.hitme == 3) {
_root.rot.board.t3.gotoAndPlay(2);
}
if (_root.hitme == 4) {
_root.rot.board.t4.gotoAndPlay(2);
}
if (_root.hitme == 5) {
_root.rot.board.t5.gotoAndPlay(2);
}
if (_root.hitme == 6) {
_root.rot.board.t6.gotoAndPlay(2);
}
if (_root.hitme == 7) {
_root.rot.board.t7.gotoAndPlay(2);
}
if (_root.hitme == 8) {
_root.rot.board.t8.gotoAndPlay(2);
}
if (_root.hitme == 9) {
_root.rot.board.t9.gotoAndPlay(2);
}
if (_root.hitme == 10) {
_root.rot.board.t10.gotoAndPlay(2);
}
if (_root.hitme == 11) {
_root.rot.board.t11.gotoAndPlay(2);
}
if (_root.hitme == 12) {
_root.rot.board.t12.gotoAndPlay(2);
}
if (_root.hitme == 13) {
_root.rot.board.t13.gotoAndPlay(2);
}
if (_root.hitme == 14) {
_root.rot.board.t14.gotoAndPlay(2);
}
if (_root.hitme == 15) {
_root.rot.board.t15.gotoAndPlay(2);
}
if (_root.hitme == 16) {
_root.rot.board.t16.gotoAndPlay(2);
}
}
stop();
initialize();
this.onEnterFrame = function () {
Mouse.hide();
diffy = _ymouse - ball._y;
diffx = _xmouse - ball._x;
diffy2 = _ymouse - ball2._y;
diffx2 = _xmouse - ball2._x;
diffy3 = _ymouse - ball3._y;
diffx3 = _xmouse - ball3._x;
ball._y = ball._y + (diffy / 2);
ball._x = ball._x + (diffx / 2);
ball2._y = ball2._y + (diffy2 / 2.3);
ball2._x = ball2._x + (diffx2 / 2.3);
ball3._y = ball3._y + (diffy3 / 2.6);
ball3._x = ball3._x + (diffx3 / 2.6);
};
Frame 7
function resettarget() {
_root.hitme = 0;
}
function initialize() {
_root.hitme = Math.floor((Math.random() * 16) + 1);
if (_root.hitme == 1) {
_root.rot2.boardx.t1.gotoAndPlay(2);
}
if (_root.hitme == 2) {
_root.rot2.boardx.t2.gotoAndPlay(2);
}
if (_root.hitme == 3) {
_root.rot2.boardx.t3.gotoAndPlay(2);
}
if (_root.hitme == 4) {
_root.rot2.boardx.t4.gotoAndPlay(2);
}
if (_root.hitme == 5) {
_root.rot2.boardx.t5.gotoAndPlay(2);
}
if (_root.hitme == 6) {
_root.rot2.boardx.t6.gotoAndPlay(2);
}
if (_root.hitme == 7) {
_root.rot2.boardx.t7.gotoAndPlay(2);
}
if (_root.hitme == 8) {
_root.rot2.boardx.t8.gotoAndPlay(2);
}
if (_root.hitme == 9) {
_root.rot2.boardx.t9.gotoAndPlay(2);
}
if (_root.hitme == 10) {
_root.rot2.boardx.t10.gotoAndPlay(2);
}
if (_root.hitme == 11) {
_root.rot2.boardx.t11.gotoAndPlay(2);
}
if (_root.hitme == 12) {
_root.rot2.boardx.t12.gotoAndPlay(2);
}
if (_root.hitme == 13) {
_root.rot2.boardx.t13.gotoAndPlay(2);
}
if (_root.hitme == 14) {
_root.rot2.boardx.t14.gotoAndPlay(2);
}
if (_root.hitme == 15) {
_root.rot2.boardx.t15.gotoAndPlay(2);
}
if (_root.hitme == 16) {
_root.rot2.boardx.t16.gotoAndPlay(2);
}
}
stop();
initialize();
this.onEnterFrame = function () {
Mouse.hide();
diffy = _ymouse - ball._y;
diffx = _xmouse - ball._x;
diffy2 = _ymouse - ball2._y;
diffx2 = _xmouse - ball2._x;
diffy3 = _ymouse - ball3._y;
diffx3 = _xmouse - ball3._x;
ball._y = ball._y + (diffy / 2);
ball._x = ball._x + (diffx / 2);
ball2._y = ball2._y + (diffy2 / 2.3);
ball2._x = ball2._x + (diffx2 / 2.3);
ball3._y = ball3._y + (diffy3 / 2.6);
ball3._x = ball3._x + (diffx3 / 2.6);
};
Frame 8
_root.UpdateScore();
this.onEnterFrame = function () {
Mouse.show();
};
stop();
Frame 10
var gameSound = new Sound();
gameSound.setVolume(75);
gameSound.attachSound("soundtrack");
gameSound.stop();
gameSound.start();
gameSound.onSoundComplete = function () {
gameSound.start();
};
_root.gotoAndStop(11);
Frame 11
stop();
Instance of Symbol 178 MovieClip in Frame 11
on (release) {
getURL ("http://www.neenja.com", "_blank");
}
Instance of Symbol 6 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _root.rezPercent * 1.86;
}
Symbol 19 Button
on (press) {
_root.gotoAndStop(4);
}
Symbol 24 Button
on (press) {
_root.gotoAndStop(9);
}
Symbol 29 Button
on (release) {
getURL ("http://www.neenja.com", "_blank");
}
Symbol 32 Button
on (press) {
_root.soundsw = 0;
_root.gameSound.setVolume(0);
gotoAndStop (2);
}
Symbol 35 Button
on (press) {
_root.soundsw = 1;
_root.gameSound.setVolume(75);
gotoAndStop (1);
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 3
stop();
Symbol 60 MovieClip Frame 4
stop();
Symbol 60 MovieClip Frame 5
stop();
Symbol 60 MovieClip Frame 6
stop();
Symbol 60 MovieClip Frame 7
stop();
Symbol 60 MovieClip Frame 8
stop();
Symbol 60 MovieClip Frame 9
stop();
Symbol 60 MovieClip Frame 10
stop();
Symbol 60 MovieClip Frame 11
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 10
_root.initialize();
Symbol 72 MovieClip Frame 450
_root.gotoAndStop(5);
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
stop();
Instance of Symbol 77 MovieClip "t1" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 1) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t9" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 9) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t10" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 10) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t8" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 8) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t7" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 7) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t6" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 6) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t5" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 5) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t4" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 4) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t3" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 3) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t2" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 2) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t16" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 16) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t15" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 15) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t14" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 14) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t13" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 13) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t12" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 12) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t11" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot.board._rotation;
if (_root.hitme != 11) {
this.gotoAndStop(1);
}
}
Symbol 86 Button
on (press) {
_root.gotoAndStop(8);
}
Symbol 93 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 450
_root.gotoAndStop(6);
Symbol 100 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 450
_root.gotoAndStop(7);
Symbol 108 MovieClip Frame 450
_root.gotoAndStop(8);
Instance of Symbol 77 MovieClip "t1" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 1) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t9" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 9) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t10" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 10) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t8" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 8) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t7" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 7) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t6" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 6) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t5" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 5) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t4" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 4) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t3" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 3) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t2" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 2) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t16" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 16) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t15" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 15) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t14" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 14) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t13" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 13) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t12" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 12) {
this.gotoAndStop(1);
}
}
Instance of Symbol 77 MovieClip "t11" in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.rot2.boardx._rotation;
if (_root.hitme != 11) {
this.gotoAndStop(1);
}
}
Instance of Symbol 113 MovieClip "t1" in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.traprot.traps._rotation;
}
Instance of Symbol 114 MovieClip "t2" in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.traprot.traps._rotation;
}
Instance of Symbol 115 MovieClip "t3" in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.traprot.traps._rotation;
}
Instance of Symbol 116 MovieClip "t4" in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -1 * _root.traprot.traps._rotation;
}
Symbol 125 Button
on (press) {
_root.gotoAndStop(3);
}
Symbol 178 MovieClip Frame 179
_root.gotoAndStop(3);