Frame 2
stop();
ball.onPress = function () {
startDrag (this, true);
};
ball.onRelease = function () {
this.stopDrag();
play();
};
Frame 7
stop();
Symbol 10 Button
on (release) {
_root.play();
}
Symbol 11 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop (3);
}
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 20 MovieClip Frame 1
var ans;
ans = random(20);
if (ans == 0) {
answer.text = "Signs point to yes.";
}
if (ans == 1) {
answer.text = "Yes";
}
if (ans == 2) {
answer.text = "Reply hazy, try again.";
}
if (ans == 3) {
answer.text = "Without a doubt.";
}
if (ans == 4) {
answer.text = "My sources say no.";
}
if (ans == 5) {
answer.text = "As I see it, yes.";
}
if (ans == 6) {
answer.text = "You may rely on it.";
}
if (ans == 7) {
answer.text = "Concentrate and ask again.";
}
if (ans == 8) {
answer.text = "Outlook not so good.";
}
if (ans == 9) {
answer.text = "It is decidedly so.";
}
if (ans == 10) {
answer.text = "Better not tell you now.";
}
if (ans == 11) {
answer.text = "Very doubtful.";
}
if (ans == 12) {
answer.text = "Yes - definitely.";
}
if (ans == 13) {
answer.text = "It is certain.";
}
if (ans == 14) {
answer.text = "Cannot predict now.";
}
if (ans == 15) {
answer.text = "Most likely.";
}
if (ans == 16) {
answer.text = "Ask again later.";
}
if (ans == 17) {
answer.text = "My reply is no.";
}
if (ans == 18) {
answer.text = "Outlook good.";
}
if (ans == 19) {
answer.text = "Don't count on it.";
}
Symbol 22 MovieClip Frame 5
stop();
Symbol 26 Button
on (release) {
gotoAndStop (2);
}