Frame 1
this.attachMovie("start", "start", 100);
this.start._x = 200;
this.start._y = 245;
this.attachMovie("line", "line", 50);
Instance of Symbol 114 MovieClip "timer" in Frame 1
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < 5) {
this["zero" + i].gotoAndStop(1);
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= 3600) ? 3600 : (resetNum));
secNum = "" + (resetNum % 60);
minNum = ((resetNum >= 60) ? ("" + Math.floor(resetNum / 60)) : "0");
i = secNum.length;
while (i < 2) {
secNum = "n" + secNum;
i++;
}
i = minNum.length;
while (i < 2) {
minNum = "n" + minNum;
i++;
}
i = 3;
while (i < 5) {
zerofsetNum = ((parseInt(minNum.charAt(4 - i)) + 1) ? (parseInt(minNum.charAt(4 - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
i = 1;
while (i < 3) {
zerofsetNum = ((parseInt(secNum.charAt(2 - i)) + 1) ? (parseInt(secNum.charAt(2 - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
function TimeSet(setNum) {
defaultNum = setNum;
progNum = getTimer();
this.CounterSet(setNum);
}
function TimeAttack() {
if (activeNum) {
progNum = (getTimer() - progNum) / 1000;
timeNum = Math.ceil((defaultNum = defaultNum - progNum));
timeNum = ((timeNum < 0) ? 0 : (timeNum));
timeNum = ((3600 < timeNum) ? 3600 : (timeNum));
this.CounterReset(timeNum);
this.BarReset(timeNum);
progNum = getTimer();
if (0 >= timeNum) {
activeNum = false;
this._parent.center.main.GameOver();
}
} else {
progNum = getTimer();
}
}
function MoveCheck(movecheckNum) {
activeNum = movecheckNum;
}
function ColorChange(colorNum) {
this.zero1.Move(colorNum);
this.zero2.Move(colorNum);
this.zero3.Move(colorNum);
this.zero4.Move(colorNum);
this.zeros.Move(colorNum);
}
var activeNum = false;
var timemaxNum = 180;
var secNum = 0;
var minNum = 0;
var timeNum;
var progNum;
var defaultNum;
this.TimeSet(timemaxNum);
}
onClipEvent (enterFrame) {
this.TimeAttack();
}
Instance of Symbol 121 MovieClip "bt_stop" in Frame 1
onClipEvent (load) {
function SoundEffect(soundNum) {
this["sound" + soundNum].start(0, 1);
}
function Move(moveNum) {
if (moveNum == 0) {
this.gotoAndStop("sleep");
} else if (moveNum == 1) {
if (activeNum) {
this.gotoAndStop("on");
} else {
this.gotoAndStop("off");
}
} else if (moveNum == 2) {
this.gotoAndStop("over");
} else if (moveNum == 3) {
this.SoundEffect(3);
this._parent.center.main.GameBreak();
activeNum = !activeNum;
if (activeNum) {
this.gotoAndStop("on");
} else {
this.gotoAndStop("off");
}
}
}
function Change(changeNum) {
if (changeNum == 0) {
this.gotoAndStop("sleep");
} else if (changeNum == 1) {
activeNum = true;
this.gotoAndStop("on");
} else if (changeNum == 2) {
activeNum = false;
this.gotoAndStop("off");
}
}
var activeNum = true;
sound3 = new Sound(this);
sound3.attachSound("sound3");
this.Move(0);
}
Instance of Symbol 123 MovieClip "scorer" in Frame 1
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(0);
}
Instance of Symbol 126 MovieClip "totaler" in Frame 1
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = 166 - (i * 19);
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
this._visible = 0;
var countsNum = 4;
this.CounterSet(0);
}
Instance of Symbol 126 MovieClip "hiscorer" in Frame 1
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = 166 - (i * 19);
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
this._visible = 0;
var countsNum = 4;
this.CounterSet(0);
}
Instance of Symbol 128 MovieClip "leveler" in Frame 1
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
lvNum = resetNum;
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var moveNum = 1;
var countsNum = 1;
var lvNum = 1;
var maxlvNum = 20;
this.CounterSet(lvNum);
}
Frame 2
this.gotoAndPlay(_currentframe + 1);
Frame 3
this.gotoAndPlay(_currentframe + 1);
Frame 5
this.gotoAndPlay(_currentframe - 1);
Frame 6
this.gotoAndPlay(_currentframe - 1);
Symbol 40 Button
on (press) {
this._parent._parent.MainCheck(parseInt(this._name));
}
Symbol 58 MovieClip [bomb] Frame 8
this.removeMovieClip();
Symbol 70 MovieClip [obj99] Frame 4
this.stop();
Instance of Symbol 78 MovieClip "main" in Symbol 79 MovieClip [center] Frame 1
onClipEvent (load) {
function SoundEffect(soundNum) {
if (soundNum == 1) {
this["sound" + soundNum].setVolume(200);
this["sound" + soundNum].start(0.04, 1);
} else if (soundNum == 3) {
this["sound" + soundNum].setVolume(500);
this["sound" + soundNum].start(0, 1);
} else {
this["sound" + soundNum].setVolume(100);
this["sound" + soundNum].start(0, 1);
}
}
function DataAttach() {
activeNum = 0;
spaceNum = 0;
Ymove = [];
TypeData = [];
mapNum = this.RandStage();
this.DataSet(mapNum);
this.GroupAttach();
i = 1;
while (i < (xmaxNum - 1)) {
j = 0;
while (j < ymaxNum) {
(((TypeData[i + (j * xmaxNum)] != 0) && (TypeData[i + (j * xmaxNum)] != null)) ? ((typeNum = TypeData[i + (j * xmaxNum)])) : ((typeNum = 0)));
this["group" + i].attachMovie("obj" + typeNum, i + (j * xmaxNum), i + (j * xmaxNum));
this["group" + i][i + (j * xmaxNum)]._y = mainyNum - (mainyNum + ((spaceNum * objyNum) + (objyNum / 2)));
Ymove[i + (j * xmaxNum)] = mainyNum - ((j - spaceNum) * objyNum);
spaceNum = spaceNum + 1;
j++;
}
spaceNum = 0;
i++;
}
spaceNum = 0;
modeNum = 4;
}
function GroupAttach() {
i = 1;
while (i < (xmaxNum - 1)) {
this.attachMovie("group", "group" + i, 100 + i);
this["group" + i]._x = (i * objxNum) - (objxNum / 2);
i++;
}
}
function RandStage() {
randNum = Math.ceil(Math.random() * 10);
((10 < randNum) ? ((randNum = 10)) : (randNum));
((randNum < 1) ? ((randNum = 1)) : (randNum));
if (Stage[randNum] == 1) {
Stage[randNum] = 0;
return(randNum);
}
if (Stage[randNum] == 0) {
return(this.RandStage());
}
}
function DataSet(dataNum) {
((dataNum == 1) ? ((TypeData = [0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 5, 5, 4, 4, 4, 5, 5, 4, 4, 4, 0, 0, 5, 200, 4, 200, 4, 5, 1, 4, 4, 1, 0, 0, 5, 200, 4, 4, 4, 5, 1, 4, 4, 1, 0, 0, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 0, 0, 5, 5, 4, 4, 4, 5, 5, 4, 4, 4, 0, 0, 5, 200, 4, 200, 4, 5, 1, 4, 4, 1, 0, 0, 5, 200, 4, 4, 4, 5, 5, 4, 4, 1, 0, 0, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 0])) : 0);
((dataNum == 2) ? ((TypeData = [0, 5, 5, 4, 3, 3, 2, 2, 2, 200, 1, 0, 0, 5, 5, 4, 10, 3, 2, 10, 2, 200, 1, 0, 0, 4, 4, 4, 3, 3, 2, 2, 2, 200, 1, 0, 0, 4, 200, 4, 3, 90, 2, 200, 200, 200, 1, 0, 0, 4, 200, 4, 3, 3, 2, 200, 1, 1, 1, 0, 0, 1, 1, 1, 5, 2, 3, 3, 4, 4, 4, 0, 0, 1, 5, 1, 5, 2, 3, 90, 5, 5, 4, 0, 0, 1, 5, 1, 5, 2, 3, 3, 4, 4, 4, 0, 0, 1, 5, 1, 5, 2, 90, 3, 5, 5, 4, 0, 0, 1, 1, 1, 2, 2, 3, 3, 4, 4, 4, 0])) : 0);
((dataNum == 3) ? ((TypeData = [0, 200, 200, 90, 200, 200, 3, 3, 2, 3, 3, 0, 0, 200, 90, 90, 90, 200, 3, 3, 2, 3, 3, 0, 0, 90, 90, 90, 90, 90, 2, 2, 2, 2, 2, 0, 0, 4, 4, 90, 4, 4, 3, 2, 2, 2, 3, 0, 0, 4, 4, 90, 4, 4, 3, 3, 2, 3, 3, 0, 0, 3, 3, 10, 3, 3, 4, 4, 1, 4, 4, 0, 0, 3, 10, 10, 10, 3, 4, 4, 1, 4, 4, 0, 0, 10, 10, 10, 10, 10, 1, 1, 1, 1, 1, 0, 0, 3, 3, 10, 3, 3, 200, 1, 1, 1, 200, 0, 0, 3, 3, 10, 3, 3, 200, 200, 1, 200, 200, 0])) : 0);
((dataNum == 4) ? ((TypeData = [0, 5, 200, 4, 5, 3, 5, 2, 5, 1, 1, 0, 0, 200, 4, 5, 3, 5, 2, 5, 1, 10, 10, 0, 0, 4, 5, 3, 5, 2, 5, 1, 90, 5, 5, 0, 0, 5, 4, 5, 3, 5, 2, 5, 1, 10, 10, 0, 0, 5, 5, 4, 5, 3, 5, 2, 5, 1, 1, 0, 0, 1, 1, 5, 2, 5, 3, 5, 4, 5, 5, 0, 0, 10, 10, 1, 5, 2, 5, 3, 5, 4, 5, 0, 0, 5, 5, 90, 1, 5, 2, 5, 3, 5, 4, 0, 0, 10, 10, 1, 5, 2, 5, 3, 5, 4, 200, 0, 0, 1, 1, 5, 2, 5, 3, 5, 4, 200, 5, 0])) : 0);
((dataNum == 5) ? ((TypeData = [0, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 0, 0, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 0, 0, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 0, 0, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 0, 0, 10, 4, 5, 4, 5, 4, 5, 4, 5, 10, 0, 0, 10, 5, 4, 5, 4, 5, 4, 5, 4, 10, 0, 0, 10, 4, 200, 4, 200, 4, 200, 4, 200, 10, 0, 0, 10, 5, 1, 5, 1, 5, 1, 5, 1, 10, 0, 0, 10, 1, 5, 1, 5, 1, 5, 1, 5, 10, 0, 0, 10, 5, 1, 5, 1, 5, 1, 5, 1, 10, 0])) : 0);
((dataNum == 6) ? ((TypeData = [0, 3, 5, 3, 4, 4, 4, 5, 2, 5, 90, 0, 0, 3, 5, 3, 4, 5, 4, 2, 5, 2, 90, 0, 0, 3, 3, 3, 4, 5, 4, 2, 5, 5, 90, 0, 0, 3, 5, 3, 4, 4, 4, 2, 5, 5, 10, 0, 0, 3, 5, 3, 4, 5, 4, 2, 5, 2, 10, 0, 0, 5, 3, 5, 4, 4, 5, 5, 2, 5, 10, 0, 0, 5, 200, 5, 200, 5, 200, 5, 200, 5, 200, 0, 0, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 0, 0, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 0, 0, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 0])) : 0);
((dataNum == 7) ? ((TypeData = [0, 5, 3, 3, 3, 5, 5, 2, 2, 2, 5, 0, 0, 3, 10, 10, 10, 3, 2, 10, 10, 10, 2, 0, 0, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 0, 0, 3, 90, 3, 90, 3, 2, 90, 2, 90, 2, 0, 0, 200, 3, 3, 3, 200, 200, 2, 2, 2, 200, 0, 0, 5, 1, 1, 1, 5, 5, 4, 4, 4, 5, 0, 0, 1, 90, 90, 90, 1, 4, 90, 90, 90, 4, 0, 0, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 0, 0, 1, 10, 1, 10, 1, 4, 10, 4, 10, 4, 0, 0, 200, 1, 1, 1, 200, 200, 4, 4, 4, 200, 0])) : 0);
((dataNum == 8) ? ((TypeData = [0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 1, 1, 4, 4, 2, 2, 3, 3, 200, 200, 0, 0, 200, 1, 1, 4, 4, 2, 2, 3, 3, 200, 0, 0, 5, 5, 3, 3, 2, 2, 4, 4, 1, 1, 0, 0, 5, 3, 3, 2, 2, 4, 4, 1, 1, 5, 0, 0, 1, 1, 4, 4, 2, 2, 3, 3, 200, 200, 0, 0, 200, 1, 1, 4, 4, 2, 2, 3, 3, 200, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 0])) : 0);
((dataNum == 9) ? ((TypeData = [0, 90, 5, 3, 2, 3, 1, 4, 1, 5, 90, 0, 0, 5, 5, 3, 2, 2, 4, 4, 1, 5, 5, 0, 0, 2, 200, 3, 2, 3, 1, 4, 1, 200, 4, 0, 0, 5, 5, 3, 2, 3, 1, 4, 1, 5, 5, 0, 0, 10, 5, 3, 3, 3, 1, 1, 1, 5, 10, 0, 0, 10, 5, 1, 1, 1, 3, 3, 3, 5, 10, 0, 0, 5, 5, 1, 4, 1, 3, 2, 3, 5, 5, 0, 0, 4, 200, 1, 4, 1, 3, 2, 3, 200, 2, 0, 0, 5, 5, 1, 4, 4, 2, 2, 3, 5, 5, 0, 0, 90, 5, 1, 4, 1, 3, 2, 3, 5, 90, 0])) : 0);
((dataNum == 10) ? ((TypeData = [0, 2, 2, 1, 1, 4, 4, 1, 1, 2, 2, 0, 0, 2, 2, 1, 1, 90, 90, 1, 1, 2, 2, 0, 0, 200, 3, 1, 1, 1, 1, 1, 1, 3, 200, 0, 0, 200, 3, 1, 1, 4, 4, 1, 1, 3, 200, 0, 0, 2, 2, 1, 1, 4, 4, 4, 1, 2, 2, 0, 0, 2, 2, 1, 1, 1, 1, 4, 4, 2, 2, 0, 0, 200, 3, 4, 4, 1, 1, 4, 4, 3, 200, 0, 0, 200, 3, 4, 4, 1, 1, 4, 4, 3, 200, 0, 0, 2, 2, 10, 4, 4, 4, 4, 10, 2, 2, 0, 0, 2, 2, 1, 4, 4, 4, 4, 1, 2, 2, 0])) : 0);
((dataNum == 11) ? ((TypeData = [])) : 0);
((dataNum == 12) ? ((TypeData = [])) : 0);
((dataNum == 13) ? ((TypeData = [])) : 0);
}
function Mode1() {
if (4 < waitNum) {
waitNum = 0;
modeNum = 0;
this.ResetYobj();
} else {
waitNum++;
}
}
function Mode2() {
gravityNum = gravityNum + 1;
movecheckNum = 0;
soundcheckNum = 0;
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if ((Ymove[i] != null) && (0 < Ymove[i])) {
nextNum = speedNum * gravityNum;
if (nextNum < Ymove[i]) {
Ymove[i] = Ymove[i] - nextNum;
} else {
nextNum = Ymove[i];
Ymove[i] = 0;
if (soundcheckNum == 0) {
this.SoundEffect(1);
soundcheckNum = 1;
}
}
this["group" + (i % xmaxNum)][i]._y = this["group" + (i % xmaxNum)][i]._y + nextNum;
movecheckNum = 1;
}
i++;
}
soundcheckNum = 0;
if (movecheckNum == 0) {
gravityNum = 0;
modeNum = 0;
this.ResetXobj();
}
}
function Mode3() {
gravityNum = gravityNum + 1;
movecheckNum = 0;
soundcheckNum = 0;
i = 1;
while (i < (xmaxNum - 1)) {
if ((Xmove[i] != null) && (0 < Xmove[i])) {
nextNum = SpeedNum * gravityNum;
if (nextNum < Xmove[i]) {
Xmove[i] = Xmove[i] - nextNum;
} else {
nextNum = Xmove[i];
Xmove[i] = 0;
if (soundcheckNum == 0) {
this.SoundEffect(1);
soundcheckNum = 1;
}
}
this["group" + i]._x = this["group" + i]._x - nextNum;
movecheckNum = 1;
}
i++;
}
soundcheckNum = 0;
if (movecheckNum == 0) {
if (chainNum == 0) {
gravityNum = 0;
getchNum = 1;
modeNum = 0;
this.OverCheck();
} else {
gravityNum = 0;
getchNum = getchNum + 1;
modeNum = 0;
this.objDelete3();
}
}
}
function Mode4() {
movecheckNum = 0;
soundcheckNum = 0;
gravityNum = gravityNum + 1;
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if ((Ymove[i] != null) && (0 < Ymove[i])) {
nextNum = speedNum * gravityNum;
if (nextNum < Ymove[i]) {
Ymove[i] = Ymove[i] - nextNum;
} else {
nextNum = Ymove[i];
Ymove[i] = 0;
if (soundcheckNum == 0) {
this.SoundEffect(1);
soundcheckNum = 1;
}
}
this["group" + (i % xmaxNum)][i]._y = this["group" + (i % xmaxNum)][i]._y + nextNum;
movecheckNum = 1;
}
i++;
}
soundcheckNum = 0;
if (movecheckNum == 0) {
gravityNum = 0;
modeNum = 0;
this._parent._parent.bt_stop.Change(1);
activeNum = 1;
this._parent._parent.timer.MoveCheck(1);
this.OverCheck();
}
}
function MainCheck(checkNum) {
if ((breakNum == 1) && (activeNum == 1)) {
activeNum = 0;
this._parent._parent.timer.MoveCheck(0);
scheckNum = TypeData[checkNum];
resultsNum = ObjCheck(checkNum);
countNum = 0;
((resultsNum < comboNum) ? (this.ObjDelete0()) : (this.ObjDelete1()));
}
}
function ObjCheck(checkNum) {
countNum++;
CheckData[checkNum] = 1;
if ((CheckData[checkNum - 1] == 0) && (TypeData[checkNum - 1] != null)) {
if (((TypeData[checkNum] == TypeData[checkNum - 1]) || (TypeData[checkNum - 1] == 200)) || (TypeData[checkNum - 1] == scheckNum)) {
CheckData[checkNum] = 1;
this.ObjCheck(checkNum - 1);
} else {
CheckData[checkNum] = 1;
}
}
if ((CheckData[checkNum + 1] == 0) && (TypeData[checkNum + 1] != null)) {
if (((TypeData[checkNum] == TypeData[checkNum + 1]) || (TypeData[checkNum + 1] == 200)) || (TypeData[checkNum + 1] == scheckNum)) {
CheckData[checkNum] = 1;
this.ObjCheck(checkNum + 1);
} else {
CheckData[checkNum] = 1;
}
}
if ((CheckData[checkNum + xmaxNum] == 0) && (TypeData[checkNum + xmaxNum] != null)) {
if (((TypeData[checkNum] == TypeData[checkNum + xmaxNum]) || (TypeData[checkNum + xmaxNum] == 200)) || (TypeData[checkNum + xmaxNum] == scheckNum)) {
CheckData[checkNum] = 1;
this.ObjCheck(checkNum + xmaxNum);
} else {
CheckData[checkNum] = 1;
}
}
if ((CheckData[checkNum - xmaxNum] == 0) && (TypeData[checkNum - xmaxNum] != null)) {
if (((TypeData[checkNum] == TypeData[checkNum - xmaxNum]) || (TypeData[checkNum - xmaxNum] == 200)) || (TypeData[checkNum - xmaxNum] == scheckNum)) {
CheckData[checkNum] = 1;
this.ObjCheck(checkNum - xmaxNum);
} else {
CheckData[checkNum] = 1;
}
}
return(countNum);
}
function OverCheck() {
overcheckNum = 0;
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if (((((((((CheckData[i] != null) && (CheckData[i] == 0)) && (TypeData[i] != null)) && (TypeData[i] != 0)) && (TypeData[i] != 10)) && (TypeData[i] != 90)) && (TypeData[i] != 100)) && (TypeData[i] != 200)) && (TypeData[i] != 1000)) {
scheckNum = TypeData[i];
resultsNum = ObjCheck(i);
countNum = 0;
if (resultsNum >= comboNum) {
overcheckNum = 1;
}
}
i++;
}
if (overcheckNum == 1) {
overcheckNum = 0;
this.objDelete0();
} else if (TypeData[1] == 0) {
this.GameClear();
} else {
clearcheckNum = 0;
this.GameOver();
}
}
function ResetYobj() {
Ymove = [];
i = 1;
while (i < (xmaxNum - 1)) {
Space = [];
spaceNum = 0;
j = 0;
while (j < ymaxNum) {
if ((TypeData[i + (j * xmaxNum)] != null) && (TypeData[i + (j * xmaxNum)] != 0)) {
Space.push(TypeData[i + (j * xmaxNum)]);
if (0 < spaceNum) {
nameNum = i + ((j - spaceNum) * xmaxNum);
typeNum = TypeData[i + (j * xmaxNum)];
this["group" + (nameNum % xmaxNum)].attachMovie("obj" + typeNum, nameNum, nameNum);
this["group" + (nameNum % xmaxNum)][nameNum]._y = (mainyNum - (objyNum / 2)) - (j * objyNum);
Ymove[nameNum] = spaceNum * objyNum;
}
} else if (TypeData[i + (j * xmaxNum)] == 0) {
spaceNum = spaceNum + 1;
}
j++;
}
j = 0;
while (j < ymaxNum) {
if (Space[j] != null) {
TypeData[i + (j * xmaxNum)] = Space[j];
} else {
TypeData[i + (j * xmaxNum)] = 0;
}
j++;
}
i++;
}
this.objDelete2();
modeNum = 2;
}
function ResetXobj() {
Xmove = [];
Space = [];
spaceNum = 0;
i = 1;
while (i < (xmaxNum - 1)) {
if (TypeData[i] != 0) {
Space.push(i);
if (0 < spaceNum) {
this.attachMovie("group", "group" + (i - spaceNum), 100 + (i - spaceNum));
this["group" + (i - spaceNum)]._x = (i * objxNum) - (objxNum / 2);
Xmove[i - spaceNum] = spaceNum * objxNum;
j = 0;
while (j < ymaxNum) {
nameNum = (i - spaceNum) + (j * xmaxNum);
typeNum = TypeData[i + (j * xmaxNum)];
this["group" + (i - spaceNum)].attachMovie("obj" + typeNum, nameNum, nameNum);
this["group" + (i - spaceNum)][nameNum]._y = (mainyNum - (objyNum / 2)) - (j * objyNum);
j++;
}
}
} else if (TypeData[i] == 0) {
this["group" + i].removeMovieClip();
spaceNum = spaceNum + 1;
}
i++;
}
i = 1;
while (i < (xmaxNum - 1)) {
j = 0;
while (j < ymaxNum) {
if (Space[i - 1] != null) {
TypeData[i + (j * xmaxNum)] = TypeData[Space[i - 1] + (j * xmaxNum)];
} else {
TypeData[i + (j * xmaxNum)] = 0;
}
j++;
}
i++;
}
this.objDelete2();
modeNum = 3;
}
function ObjDelete0() {
i = 0;
while (i < (xmaxNum * ymaxNum)) {
CheckData[i] = 0;
i++;
}
this._parent._parent.timer.MoveCheck(1);
activeNum = 1;
}
function ObjDelete1() {
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if ((TypeData[i] == 10) && ((((CheckData[i - 1] == 1) || (CheckData[i + 1] == 1)) || (CheckData[i - xmaxNum] == 1)) || (CheckData[i + xmaxNum] == 1))) {
TypeData[i] = 100;
chainyNum = this["group" + (i % xmaxNum)][i]._y;
this["group" + (i % xmaxNum)].attachMovie("obj99", i, i);
this["group" + (i % xmaxNum)][i]._y = chainyNum;
chainNum = 1;
}
i++;
}
soundcheckNum = 0;
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if (CheckData[i] == 1) {
this._parent.attachMovie("bomb", i + 300, i + 300);
this._parent[i + 300]._x = this["group" + (i % xmaxNum)]._x;
this._parent[i + 300]._y = this["group" + (i % xmaxNum)][i]._y;
if (soundcheckNum == 0) {
this.SoundEffect(2);
soundcheckNum = 1;
}
this["group" + (i % xmaxNum)][i].removeMovieClip();
TypeData[i] = 0;
getbcNum = getbcNum + 1;
}
CheckData[i] = 0;
i++;
}
soundcheckNum = 0;
doneNum = doneNum + getbcNum;
getscNum = getbcNum;
scoreNum = scoreNum + getscNum;
this._parent._parent.scorer.CounterReset(scoreNum);
this._parent._parent.totaler.CounterReset(doneNum);
getbcNum = 0;
getscNum = 0;
modeNum = 1;
}
function ObjDelete2() {
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if ((TypeData[i] == 0) || (TypeData[i] == null)) {
this["group" + (i % xmaxNum)].attachMovie("obj0", i, i);
this["group" + (i % xmaxNum)][i].removeMovieClip();
}
i++;
}
}
function ObjDelete3() {
chainNum = 0;
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if (TypeData[i] == 100) {
this._parent.attachMovie("bomb", i + 300, i + 300);
this._parent[i + 300]._x = this["group" + (i % xmaxNum)]._x;
this._parent[i + 300]._y = this["group" + (i % xmaxNum)][i]._y;
this["group" + (i % xmaxNum)][i].removeMovieClip();
getbcNum = getbcNum + 1;
if (((((((CheckData[i - 1] != null) && (CheckData[i - 1] == 0)) && (TypeData[i - 1] != null)) && (TypeData[i - 1] != 0)) && (TypeData[i - 1] != 10)) && (TypeData[i - 1] != 100)) && (TypeData[i - 1] != 1000)) {
CheckData[i - 1] = 1;
}
if (((((((CheckData[i + 1] != null) && (CheckData[i + 1] == 0)) && (TypeData[i + 1] != null)) && (TypeData[i + 1] != 0)) && (TypeData[i + 1] != 10)) && (TypeData[i + 1] != 100)) && (TypeData[i + 1] != 1000)) {
CheckData[i + 1] = 1;
}
if (((((((CheckData[i - xmaxNum] != null) && (CheckData[i - xmaxNum] == 0)) && (TypeData[i - xmaxNum] != null)) && (TypeData[i - xmaxNum] != 0)) && (TypeData[i - xmaxNum] != 10)) && (TypeData[i - xmaxNum] != 100)) && (TypeData[i - xmaxNum] != 1000)) {
CheckData[i - xmaxNum] = 1;
}
if (((((((CheckData[i + xmaxNum] != null) && (CheckData[i + xmaxNum] == 0)) && (TypeData[i + xmaxNum] != null)) && (TypeData[i + xmaxNum] != 0)) && (TypeData[i + xmaxNum] != 10)) && (TypeData[i + xmaxNum] != 100)) && (TypeData[i + xmaxNum] != 1000)) {
CheckData[i + xmaxNum] = 1;
}
TypeData[i] = 1000;
}
i++;
}
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if (TypeData[i] == 10) {
if ((((TypeData[i - 1] == 1000) || (TypeData[i + 1] == 1000)) || (TypeData[i - xmaxNum] == 1000)) || (TypeData[i + xmaxNum] == 1000)) {
TypeData[i] = 100;
chainyNum = this["group" + (i % xmaxNum)][i]._y;
this["group" + (i % xmaxNum)].attachMovie("obj99", i, i);
this["group" + (i % xmaxNum)][i]._y = chainyNum;
chainNum = 1;
}
}
i++;
}
i = 0;
while (i < (xmaxNum * ymaxNum)) {
if (TypeData[i] == 1000) {
TypeData[i] = 0;
}
i++;
}
this.objDelete1();
}
function GameBreak() {
breakNum = !breaKNum;
if (activeNum == 1) {
this._parent._parent.timer.MoveCheck(breakNum);
}
(this._parent.pause ? (this._parent.pause.removeMovieClip()) : (this._parent.attachMovie("pause", "pause", 999)));
(breakNum ? ((this._y = this._y + 400)) : ((this._y = this._y - 400)));
}
function DataSend() {
urlNum = "http://www.kakunin.com/cgi-bin/project/www.nifty.com/bbn2/cgi-bin/game/g1/p1.cgi?fs=" + scoreNum;
this.getURL(("javascript:newwin('" + urlNum) + "');");
}
function GameOver() {
this._parent.attachMovie("over", "over", 100);
this._parent.over._x = 160;
this._parent.over._y = 160;
modeNum = 0;
this._parent._parent.bt_stop.Change(0);
this._parent._parent.timer.MoveCheck(0);
activeNum = 0;
}
function GameClear() {
if (levelNum != 5) {
this._parent.attachMovie("clear", "clear", 100);
this._parent.clear._x = 160;
this._parent.clear._y = 160;
this._parent._parent.timer.MoveCheck(0);
modeNum = 0;
this._parent._parent.bt_stop.Change(0);
this._parent._parent.timer.MoveCheck(0);
activeNum = 0;
} else {
this._parent.attachMovie("allclear", "allclear", 100);
this._parent.allclear._x = 160;
this._parent.allclear._y = 160;
this._parent._parent.timer.MoveCheck(0);
modeNum = 0;
this._parent._parent.bt_stop.Change(0);
this._parent._parent.timer.MoveCheck(0);
activeNum = 0;
}
}
function GameAllNext() {
this._parent._parent.scorer.CounterReset(scoreNum);
modeNum = 0;
activeNum = 0;
this.GameOver();
}
function GameNext() {
TypeData = [];
CheckData = [];
i = 0;
while (i < (xmaxNum * ymaxNum)) {
TypeData.push(0);
CheckData.push(0);
i++;
}
this._parent._parent.scorer.CounterReset(scoreNum);
levelNum = levelNum + 1;
this._parent._parent.leveler.CounterReset(levelNum);
this._parent._parent.timer.TimeSet(this._parent._parent.timer.timemaxNum);
this.DataAttach();
}
function GameReset() {
hiscoreNum = ((hiscoreNum < scoreNum) ? (scoreNum) : (hiscoreNum));
this.ObjDelete0();
activeNum = 0;
countNum = 0;
modeNum = 0;
chainNum = 0;
levelNum = 1;
doneNum = 0;
scoreNum = 0;
getbcNum = 0;
getscNum = 0;
Stage = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
this.DataAttach();
this._parent._parent.timer.MoveCheck(0);
this._parent._parent.timer.TimeSet(this._parent._parent.timer.timemaxNum);
this._parent._parent.leveler.CounterReset(levelNum);
this._parent._parent.scorer.CounterReset(scoreNum);
this._parent._parent.totaler.CounterReset(doneNum);
this._parent._parent.hiscorer.CounterReset(hiscoreNum);
this._parent._parent.hiscorer.CenterAttach(hiscoreNum);
}
TypeData = new Array();
CheckData = new Array();
Ymove = new Array();
Xmove = new Array();
Space = new Array();
Stage = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
var activeNum = 0;
var modeNum = 0;
var xmaxNum = 10;
var ymaxNum = 10;
var objxNum = 32;
var objyNum = 31;
var mainyNum = 310;
var comboNum = 2;
var countNum = 0;
var speedNum = 5;
var gravityNum = 0;
var spaceNum = 0;
var chainNum = 0;
var scoreNum = 0;
var getscNum = 0;
var getbcNum = 0;
var getchNum = 1;
var hiscoreNum = 0;
var doneNum = 0;
var levelNum = 1;
var waitNum = 0;
var breakNum = 1;
var scheckNum;
xmaxNum = xmaxNum + 2;
i = 0;
while (i < (xmaxNum * ymaxNum)) {
CheckData.push(0);
i++;
}
sound1 = new Sound(this);
sound1.attachSound("sound1");
sound2 = new Sound(this);
sound2.attachSound("sound2");
sound3 = new Sound(this);
sound3.attachSound("sound3");
this.DataAttach();
}
onClipEvent (enterFrame) {
if (breakNum == 1) {
if (modeNum == 1) {
this.Mode1();
} else if (modeNum == 2) {
this.Mode2();
} else if (modeNum == 3) {
this.Mode3();
} else if (modeNum == 4) {
this.Mode4();
}
}
}
Symbol 83 Button
on (press) {
background.modeNum = 20;
}
Symbol 87 MovieClip [allclear] Frame 1
this.stop();
Instance of Symbol 81 MovieClip "background" in Symbol 87 MovieClip [allclear] Frame 1
onClipEvent (load) {
function Mode0() {
timeNum = timeNum + 1;
((timeNum >= 6) ? ((modeNum = 10)) : (modeNum));
}
function Mode10() {
alphaNum = alphaNum / 2;
this._alpha = Math.floor(100 - alphaNum);
scaleNum = Math.floor(scaleNum / 2);
this._xscale = 100 + scaleNum;
this._yscale = 100 + scaleNum;
if (this._xscale != 100) {
(modeNum);// not popped
} else {
(this._parent.gotoAndStop(2));// not popped
}
(((this._xscale == 100) && (this._alpha == 100)) ? ((modeNum = 0)) : (modeNum));
}
function Mode20() {
alphaNum = alphaNum + 8;
scaleNum = Math.floor(scaleNum / 2);
this._xscale = this._xscale / 2;
this._yscale = this._yscale / 2;
this._parent.gotoAndStop(3);
this._alpha = Math.floor(100 - alphaNum);
((0 >= this._alpha) ? ((modeNum = 30)) : (modeNum));
}
function Mode30() {
this._parent._parent._parent.center.main.GameAllNext();
this._parent.removeMovieClip();
}
modeNum = 0;
alphaNum = 100;
timeNum = 0;
scaleNum = 1000;
this._xscale = scaleNum;
this._yscale = scaleNum;
this._alpha = 0;
}
onClipEvent (enterFrame) {
((modeNum == 0) ? (this.Mode0()) : (modeNum));
((modeNum == 10) ? (this.Mode10()) : (modeNum));
((modeNum == 20) ? (this.Mode20()) : (modeNum));
((modeNum == 30) ? (this.Mode30()) : (modeNum));
}
Symbol 87 MovieClip [allclear] Frame 2
this.stop();
Instance of Symbol 85 MovieClip in Symbol 87 MovieClip [allclear] Frame 2
onClipEvent (load) {
function CounterSet(scoreNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero3", "zero" + i, i);
this["zero" + i]._x = 48 - (i * 16);
i++;
}
this.CounterReset(scoreNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((Number(resetNum.charAt(countsNum - i)) + 1) ? (Number(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var scoreNum = this._parent._parent._parent.timer.timeNum;
var countsNum = 3;
this.CounterSet(scoreNum);
this._parent._parent._parent.center.main.scoreNum = this._parent._parent._parent.center.main.scoreNum + scoreNum;
this._parent._parent._parent.scorer.CounterReset(this._parent._parent._parent.center.main.scoreNum);
}
Symbol 87 MovieClip [allclear] Frame 3
this.stop();
Symbol 89 Button
on (press) {
background.modeNum = 20;
this._parent.line.modeNum = 1;
}
Symbol 91 MovieClip [start] Frame 1
this.stop();
Instance of Symbol 88 MovieClip "background" in Symbol 91 MovieClip [start] Frame 1
onClipEvent (load) {
function Mode0() {
timeNum = timeNum + 1;
((timeNum >= 6) ? ((modeNum = 10)) : (modeNum));
}
function Mode10() {
alphaNum = alphaNum / 2;
this._alpha = Math.floor(100 - alphaNum);
scaleNum = Math.floor(scaleNum / 2);
this._xscale = 100 + scaleNum;
this._yscale = 100 + scaleNum;
if (this._xscale != 100) {
(modeNum);// not popped
} else {
(this._parent.gotoAndStop(2));// not popped
}
(((this._xscale == 100) && (this._alpha == 100)) ? ((modeNum = 0)) : (modeNum));
}
function Mode20() {
alphaNum = alphaNum + 8;
scaleNum = Math.floor(scaleNum / 2);
this._xscale = this._xscale / 2;
this._yscale = this._yscale / 2;
this._parent.gotoAndStop(3);
this._alpha = Math.floor(100 - alphaNum);
((0 >= this._alpha) ? ((modeNum = 30)) : (modeNum));
}
function Mode30() {
this._parent._parent.attachMovie("center", "center", 1);
this._parent._parent.center._x = 40;
this._parent._parent.center._y = 85;
this._parent.removeMovieClip();
}
modeNum = 0;
alphaNum = 100;
timeNum = 0;
scaleNum = 1000;
this._xscale = scaleNum;
this._yscale = scaleNum;
this._alpha = 0;
}
onClipEvent (enterFrame) {
((modeNum == 0) ? (this.Mode0()) : (modeNum));
((modeNum == 10) ? (this.Mode10()) : (modeNum));
((modeNum == 20) ? (this.Mode20()) : (modeNum));
((modeNum == 30) ? (this.Mode30()) : (modeNum));
}
Symbol 91 MovieClip [start] Frame 2
this.stop();
Symbol 91 MovieClip [start] Frame 3
this.stop();
Symbol 95 MovieClip [clear] Frame 1
this.stop();
Instance of Symbol 92 MovieClip "background" in Symbol 95 MovieClip [clear] Frame 1
onClipEvent (load) {
function Mode0() {
timeNum = timeNum + 1;
((timeNum >= 6) ? ((modeNum = 10)) : (modeNum));
}
function Mode10() {
alphaNum = alphaNum / 2;
this._alpha = Math.floor(100 - alphaNum);
scaleNum = Math.floor(scaleNum / 2);
this._xscale = 100 + scaleNum;
this._yscale = 100 + scaleNum;
if (this._xscale != 100) {
(modeNum);// not popped
} else {
(this._parent.gotoAndStop(2));// not popped
}
(((this._xscale == 100) && (this._alpha == 100)) ? ((modeNum = 0)) : (modeNum));
}
function Mode20() {
this._parent._parent._parent.timer.ColorChange(2);
alphaNum = alphaNum + 8;
scaleNum = Math.floor(scaleNum / 2);
this._xscale = this._xscale / 2;
this._yscale = this._yscale / 2;
this._parent.gotoAndStop(3);
this._alpha = Math.floor(100 - alphaNum);
((0 >= this._alpha) ? ((modeNum = 30)) : (modeNum));
}
function Mode30() {
this._parent._parent._parent.center.main.GameNext();
this._parent.removeMovieClip();
}
modeNum = 0;
alphaNum = 100;
timeNum = 0;
scaleNum = 1000;
this._xscale = scaleNum;
this._yscale = scaleNum;
this._alpha = 0;
}
onClipEvent (enterFrame) {
((modeNum == 0) ? (this.Mode0()) : (modeNum));
((modeNum == 10) ? (this.Mode10()) : (modeNum));
((modeNum == 20) ? (this.Mode20()) : (modeNum));
((modeNum == 30) ? (this.Mode30()) : (modeNum));
}
Symbol 95 MovieClip [clear] Frame 2
this._parent._parent.timer.ColorChange(1);
this.stop();
Instance of Symbol 93 MovieClip in Symbol 95 MovieClip [clear] Frame 2
onClipEvent (load) {
function CounterSet(scoreNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero3", "zero" + i, i);
this["zero" + i]._x = 48 - (i * 16);
i++;
}
this.CounterReset(scoreNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((Number(resetNum.charAt(countsNum - i)) + 1) ? (Number(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var scoreNum = this._parent._parent._parent.timer.timeNum;
var countsNum = 3;
this.CounterSet(scoreNum);
this._parent._parent._parent.center.main.scoreNum = this._parent._parent._parent.center.main.scoreNum + scoreNum;
this._parent._parent._parent.scorer.CounterReset(this._parent._parent._parent.center.main.scoreNum);
}
Symbol 95 MovieClip [clear] Frame 3
this.stop();
Symbol 98 MovieClip [over] Frame 1
this.stop();
Instance of Symbol 96 MovieClip "background" in Symbol 98 MovieClip [over] Frame 1
onClipEvent (load) {
function Mode0() {
timeNum = timeNum + 1;
((timeNum >= 6) ? ((modeNum = 10)) : (modeNum));
}
function Mode10() {
alphaNum = alphaNum / 2;
this._alpha = Math.floor(100 - alphaNum);
scaleNum = Math.floor(scaleNum / 2);
this._xscale = 100 + scaleNum;
this._yscale = 100 + scaleNum;
if (this._xscale != 100) {
(modeNum);// not popped
} else {
(this._parent.gotoAndStop(2));// not popped
}
(((this._xscale == 100) && (this._alpha == 100)) ? ((modeNum = 0)) : (modeNum));
}
function Mode20() {
alphaNum = alphaNum + 8;
scaleNum = Math.floor(scaleNum / 2);
this._xscale = this._xscale / 2;
this._yscale = this._yscale / 2;
this._parent.gotoAndStop(3);
this._alpha = Math.floor(100 - alphaNum);
((0 >= this._alpha) ? ((modeNum = 30)) : (modeNum));
}
function Mode30() {
this._parent._parent._parent.center.main.GameReset();
this._parent.removeMovieClip();
}
modeNum = 0;
alphaNum = 100;
timeNum = 0;
scaleNum = 1000;
this._xscale = scaleNum;
this._yscale = scaleNum;
this._alpha = 0;
}
onClipEvent (enterFrame) {
((modeNum == 0) ? (this.Mode0()) : (modeNum));
((modeNum == 10) ? (this.Mode10()) : (modeNum));
((modeNum == 20) ? (this.Mode20()) : (modeNum));
((modeNum == 30) ? (this.Mode30()) : (modeNum));
}
Symbol 98 MovieClip [over] Frame 2
this.stop();
Symbol 98 MovieClip [over] Frame 3
this.stop();
Symbol 101 MovieClip [line] Frame 1
function Move() {
if (modeNum == 1) {
this._alpha = this._alpha - 8;
((this._alpha < 0) ? (this.removeMovieClip()) : (modeNum));
}
}
var modeNum = 0;
Symbol 101 MovieClip [line] Frame 2
this.Move();
Symbol 101 MovieClip [line] Frame 3
this.gotoAndPlay(_currentframe - 1);
Instance of Symbol 103 MovieClip [zero2] "zero1" in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
function Move(x) {
if (x == 2) {
colordata.setTransform(color2);
} else if (x == 1) {
colordata.setTransform(color1);
}
}
colordata = new Color(this);
color1 = {ra:"100", rb:"0", ga:"100", gb:"-50", ba:"100", bb:"-256", aa:"100", ab:"256"};
color2 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
}
Instance of Symbol 103 MovieClip [zero2] "zero2" in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
function Move(x) {
if (x == 2) {
colordata.setTransform(color2);
} else if (x == 1) {
colordata.setTransform(color1);
}
}
colordata = new Color(this);
color1 = {ra:"100", rb:"0", ga:"100", gb:"-50", ba:"100", bb:"-256", aa:"100", ab:"256"};
color2 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
}
Instance of Symbol 103 MovieClip [zero2] "zero3" in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
function Move(x) {
if (x == 2) {
colordata.setTransform(color2);
} else if (x == 1) {
colordata.setTransform(color1);
}
}
colordata = new Color(this);
color1 = {ra:"100", rb:"0", ga:"100", gb:"-50", ba:"100", bb:"-256", aa:"100", ab:"256"};
color2 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
}
Instance of Symbol 103 MovieClip [zero2] "zero4" in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
function Move(x) {
if (x == 2) {
colordata.setTransform(color2);
} else if (x == 1) {
colordata.setTransform(color1);
}
}
colordata = new Color(this);
color1 = {ra:"100", rb:"0", ga:"100", gb:"-50", ba:"100", bb:"-256", aa:"100", ab:"256"};
color2 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
}
Instance of Symbol 112 MovieClip "zeros" in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
function Move(x) {
if (x == 2) {
colordata.setTransform(color2);
} else if (x == 1) {
colordata.setTransform(color1);
}
}
colordata = new Color(this);
color1 = {ra:"100", rb:"0", ga:"100", gb:"-50", ba:"100", bb:"-256", aa:"100", ab:"256"};
color2 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
}
Symbol 118 Button
on (rollOut) {
this.Move(1);
}
on (rollOver) {
this.Move(2);
}
on (press) {
this.Move(3);
}
Symbol 121 MovieClip Frame 1
this.stop();
Symbol 121 MovieClip Frame 2
this.stop();
Symbol 121 MovieClip Frame 3
this.stop();
Symbol 121 MovieClip Frame 4
this.stop();