Frame 1
textyText = (getBytesLoaded() + " / ") + getBytesTotal();
PercentLoaded = (getBytesLoaded() / getBytesTotal()) * 100;
if (PercentLoaded != 100) {
gotoAndPlay(nextFrame);
} else {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
clearInterval(_global.outComeTally);
clearInterval(_global.circleMovesTimer);
clearInterval(_global.outComeGetScore);
clearInterval(_global.outCome);
clearInterval(_global.outComeNextLevel);
clearInterval(_global.titlefunct);
stop();
Frame 4
clearInterval(_global.titlefunct);
stop();
Frame 5
_global.Interval = 1850;
_global.Increment = 4;
Wrong = 5;
_global.ChoiceArray = ["0", "0", "0", "0"];
if (_global.maxScore == undefined) {
_global.maxScore = 0;
}
_global.heartLevel;
if (_global.Right == undefined) {
_global.Right = 0;
}
_global.keyPresses = 3;
_global.StopClipsOnce = false;
_global.MaxReach = false;
_global.StartIncrease = false;
_global.Level = 3;
if (_global.soundsOn == undefined) {
_global.soundsOn = true;
}
if (_global.firstTime == undefined) {
_global.firstTime = true;
}
_global.firstTime3 = true;
_global.firstTime2 = true;
_global.firstTime7 = true;
_global.firstTime9 = true;
_global.firstTime92 = true;
speedIncrease.stop();
Diff = 1;
Right = 0;
Tally = 0;
stop();
timer = function () {
if (Diff < 10) {
if (Tally == _global.Increment) {
Diff++;
Tally = 0;
_global.StartIncrease = true;
speedIncrease.play();
}
}
};
_global.outComeTally = setInterval(timer, 100);
timerNextLevel = function () {
if (_root._root.Wrong < 1) {
_global.Right = Right;
gotoAndPlay ("finl");
}
};
_global.outComeNextLevel = setInterval(timerNextLevel, 10);
Frame 6
stopAllSounds();
clearInterval(_global.outComeTally);
clearInterval(_global.circleMovesTimer);
clearInterval(_global.outComeGetScore);
clearInterval(_global.outCome);
clearInterval(_global.outComeNextLevel);
finalScore = _global.Right;
if (_global.Right > _global.maxScore) {
_global.maxScore = _global.Right;
}
HfinalScore = _global.maxScore;
stop();
Symbol 15 Button
on (release) {
getURL ("http://www.peturo.com", "blank");
}
Symbol 21 MovieClip Frame 29
stop();
Symbol 23 Button
on (release) {
clearInterval(_global.titlefunct);
gotoAndStop ("intr");
}
Symbol 28 Button
on (release) {
gotoAndPlay ("strt");
}
Symbol 31 Button
on (release) {
getURL ("http://www.peturo.com", "blank");
}
Symbol 43 Button
on (release) {
if (_global.soundsOn == true) {
_global.soundsOn = false;
stopAllSounds();
onOff = "Off";
} else if (_global.soundsOn == false) {
_global.soundsOn = true;
onOff = "On";
_root.musics.gotoAndPlay(1);
}
}
Symbol 44 MovieClip Frame 1
if (_global.soundsOn == true) {
onOff = "On";
} else if (_global.soundsOn == false) {
onOff = "Off";
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 3
stop();
Symbol 51 MovieClip Frame 1
heart = false;
squareRight = false;
squareWrong = false;
Symbol 51 MovieClip Frame 2
numberText = (Math.round(Math.random() * 4) - 0) + 1;
numberText22 = Math.round(Math.random() * 100) - 0;
if (numberText22 < 10) {
box.gotoAndPlay(3);
numberText = "";
heart = true;
} else {
box.gotoAndPlay(1);
}
SquareHit = _global.SquarePosition;
Symbol 51 MovieClip Frame 98
if (heart) {
if (_global.keyPresses == SquareHit) {
if (_global.soundsOn == true) {
_root._root.heartSound.gotoAndPlay(1);
}
_root._root.Wrong++;
}
} else if ((_global.Level == numberText) && (_global.keyPresses == SquareHit)) {
_root._root.Right++;
_root._root.Tally++;
_root._root.squareHit.gotoAndPlay(1);
} else {
if (_global.soundsOn == true) {
_root._root.MisSound.gotoAndPlay(1);
}
_root._root.Wrong--;
_root._root.scoreUp.gotoAndPlay(1);
}
Symbol 51 MovieClip Frame 100
gotoAndStop (1);
Symbol 52 MovieClip Frame 1
cantStop = true;
timer2 = function () {
if (_global.StartIncrease == true) {
if ((_global.Interval > 300) && (cantStop == true)) {
_global.Interval = _global.Interval - 150;
cantStop = true;
_global.MaxReach = false;
} else {
cantStop = false;
}
}
_global.StartIncrease = false;
};
_global.outComeGetScore = setInterval(timer2, 10);
Symbol 53 MovieClip Frame 1
if (_global.StopClipsOnce == false) {
clip01.stop();
clip02.stop();
clip03.stop();
clip04.stop();
clip00.stop();
_global.StopClipsOnce = true;
}
gotoAndStop (2);
Symbol 53 MovieClip Frame 2
timer = function () {
_global.clipPlay = Math.round(Math.random() * 4) - 0;
if (f == undefined) {
f = 0;
}
if (f >= 3) {
p = 1;
while (p < _global.ChoiceArray.length) {
_global.ChoiceArray[p] = _global.ChoiceArray[p - 1];
p++;
}
}
_global.ChoiceArray[f] = _global.clipPlay;
if (f >= 3) {
} else {
f++;
}
var _local2 = 0;
while (_local2 < _global.ChoiceArray.length) {
if (_global.clipPlay == _global.ChoiceArray[_local2]) {
clearInterval(_global.outCome);
gotoAndPlay (1);
}
_local2++;
}
if (_global.clipPlay == 0) {
clip00.play();
_global.SquarePosition = 1;
} else if (_global.clipPlay == 1) {
clip01.play();
_global.SquarePosition = 5;
} else if (_global.clipPlay == 2) {
clip02.play();
_global.SquarePosition = 4;
} else if (_global.clipPlay == 3) {
clip03.play();
_global.SquarePosition = 3;
} else if (_global.clipPlay == 4) {
clip04.play();
_global.SquarePosition = 2;
}
clearInterval(_global.outCome);
gotoAndPlay (1);
};
_global.outCome = setInterval(timer, _global.Interval);
stop();
Symbol 57 Button
on (release) {
stopAllSounds();
gotoAndStop ("begn");
}
Symbol 61 MovieClip Frame 1
timer = function () {
thisNumberText = _global.Level;
};
_global.circleMovesTimer = setInterval(timer, 10);
Symbol 62 Button
on (keyPress "<Up>") {
positionOn = getProperty(keykey, _y);
if (_global.keyPresses == 5) {
UP = positionON;
} else {
UP = positionOn - 38;
_global.keyPresses++;
}
setProperty(keykey, _y , UP);
}
on (keyPress "<Down>") {
positionOn = getProperty(keykey, _y);
if (_global.keyPresses == 1) {
DOWN = positionON;
} else {
DOWN = positionOn + 38;
_global.keyPresses--;
}
setProperty(keykey, _y , DOWN);
}
on (keyPress "<Right>") {
if (_global.Level < 5) {
_global.Level++;
}
}
on (keyPress "<Left>") {
if (_global.Level > 1) {
_global.Level--;
}
}
Symbol 64 MovieClip Frame 1
if (_global.firstTime == true) {
_global.firstTime = false;
gotoAndPlay (3);
} else if (_global.soundsOn == true) {
gotoAndPlay (3);
} else {
stop();
}
Symbol 64 MovieClip Frame 253
if (_global.soundsOn == false) {
stopAllSounds();
gotoAndStop (1);
} else {
stop();
}
Symbol 66 MovieClip Frame 2
if (_global.firstTime7 == true) {
gotoAndStop (1);
_global.firstTime7 = false;
} else if (_global.soundsOn == true) {
gotoAndPlay (3);
} else {
gotoAndStop (1);
}
Symbol 66 MovieClip Frame 4
stop();
Symbol 68 MovieClip Frame 2
if (_global.firstTime9 == true) {
gotoAndStop (1);
_global.firstTime9 = false;
} else if (_global.soundsOn == true) {
gotoAndPlay (3);
} else {
gotoAndStop (1);
}
Symbol 68 MovieClip Frame 4
stop();
Symbol 70 MovieClip Frame 2
if (_global.firstTime92 == true) {
gotoAndStop (1);
_global.firstTime92 = false;
} else if (_global.soundsOn == true) {
gotoAndPlay (3);
} else {
gotoAndStop (1);
}
Symbol 70 MovieClip Frame 4
stop();
Symbol 72 MovieClip Frame 20
gotoAndStop (1);
Symbol 74 MovieClip Frame 10
stop();
Symbol 80 Button
on (release) {
gotoAndStop ("begn");
}
Symbol 83 Button
on (release) {
getURL ("http://www.peturo.com", "blank");
}