Frame 1
function fnx1() {
if (bgm) {
music.stop();
bgm = false;
} else {
music.start(0, 100);
bgm = true;
}
b1.play();
}
function fnx2() {
if (sfx) {
sfx = false;
} else {
sfx = true;
}
b2.play();
}
function fnx3() {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
} else {
_quality == "HIGH";
}
b3.play();
}
function fnx4() {
gotoAndPlay (2);
}
function fnx5() {
getURL ("http://www.geocities.com/jetriconew/", "_blank");
}
stop();
Stage.scaleMode = "noScale";
Stage.align = "TL";
fscommand ("trapallkeys", true);
var RCMenu = new ContextMenu();
RCMenu.hideBuiltInItems();
var cmi1 = new ContextMenuItem("Music", fnx1);
var cmi2 = new ContextMenuItem("Sounds", fnx2);
var cmi3 = new ContextMenuItem("Graphics", fnx3);
var cmi4 = new ContextMenuItem("Restart Game", fnx4);
var cmi5 = new ContextMenuItem("Dragonjet Games", fnx5);
cmi4.separatorBefore = true;
RCMenu.customItems.push(cmi1);
RCMenu.customItems.push(cmi2);
RCMenu.customItems.push(cmi3);
RCMenu.customItems.push(cmi4);
RCMenu.customItems.push(cmi5);
this.menu = RCMenu;
cmi1.enabled = false;
cmi2.enabled = false;
cmi3.enabled = false;
cmi4.enabled = false;
Frame 2
var roar = new Sound();
roar.attachSound("djroar");
stopAllSounds();
roar.start(0, 1);
cmi1.enabled = false;
cmi2.enabled = false;
cmi3.enabled = false;
cmi4.enabled = false;
Frame 41
function create(a, b, c, d, e, f) {
ask.push(a);
c1.push(b);
c2.push(c);
c3.push(d);
c4.push(e);
ans.push(f);
}
function newQuestion() {
if (ok) {
if (sfx) {
yehey.start(0, 1);
}
ran = random(ask.length);
asker.ask = ask[ran];
ask.splice(ran, 1);
asker.c1 = c1[ran];
c1.splice(ran, 1);
asker.c2 = c2[ran];
c2.splice(ran, 1);
asker.c3 = c3[ran];
c3.splice(ran, 1);
asker.c4 = c4[ran];
c4.splice(ran, 1);
asker.ans = ans[ran];
ans.splice(ran, 1);
ok = false;
} else {
wrong();
}
}
function wrong() {
gotoAndPlay (59);
}
stop();
sb.onPress = function () {
play();
};
bgm = true;
sfx = true;
_quality = "HIGH";
var music = new Sound();
music.attachSound("flute");
music.start(0, 100);
var yehey = new Sound();
yehey.attachSound("yey");
var lose = new Sound();
lose.attachSound("bang");
var ask = new Array();
var c1 = new Array();
var c2 = new Array();
var c3 = new Array();
var c4 = new Array();
var ans = new Array();
var asked = new Array();
create("What fo you call the parts of a cone?", "Parabola", "Ellipse", "Conic Sections", "Hyperbols", 3);
create("Complete the song: I have a _____, a song to sing, to help me cope with anything...", "Dream", "Stream", "Queen", "Cream", 1);
create("What is the reciprocal identity of Sine Function?", "Tangent", "Cosecant", "Arc Sine", "Cosine", 2);
create("How do you close the Test Movie Window in Flash?", "CTRL + W", "CTRL + X", "SPACEBAR", "ESC", 1);
create("Who is this game's model?", "Ye SoYa", "Red", "Hye-jin Han", "Maria Ozawa", 4);
create("Who is the first Taewang of the Kingdom of Goguryeo?", "Yuri", "Hae Mosu", "Dongmyeong", "Dae Sou", 3);
create("Who created this flash game?", "JCarlo", "Hammy777", "Jumong", "dragonjet", 4);
create("Which Country is the Han Dynasty?", "Japan", "China", "Korea", "Mongolia", 2);
create("Which of these is a method of Sound Class in ActionScript?", "play()", "start()", "pause()", "position", 2);
create("What is the constant value of Array's Unique Sort Property?", "1", "3", "4", "7", 3);
create("Why is Sun's programming language called JAVA? They are...", "Shits", "Acronyms", "Pre-historic", "Dinking coffee", 4);
create("The Lothar's Edge was droppe During the...", "First War", "Second War", "Battle of Mt Hyjal", "Ancients", 2);
create("What does NaN mean in flash?", "Not Allowed Value", "Short for Null", "Undefined", "Not A Number", 4);
create("How many questions does this quiz have?", "15", "16", "17", "20", 2);
create("Which game does the background music come from?", "Bible Black", "Warcraft 3", "Age of Mythology", "Legend of Zelda", 1);
create("Bonus Question:", "Answer", "Wrong", "Wrong", "Wrong", 1);
Frame 42
djsclip.onRollOver = function () {
djsclip.gotoAndStop(2);
};
djsclip.onRollOut = function () {
djsclip.gotoAndStop(1);
};
djsclip.onPress = function () {
getURL ("http://www.geocities.com/jetriconew/", "_blank");
};
b1.onPress = function () {
if (bgm) {
music.stop();
bgm = false;
} else {
music.start(0, 100);
bgm = true;
}
b1.play();
};
b2.onPress = function () {
if (sfx) {
sfx = false;
} else {
sfx = true;
}
b2.play();
};
b3.onPress = function () {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
} else {
_quality == "HIGH";
}
b3.play();
};
b4.onPress = function () {
gotoAndPlay (2);
};
stop();
ok = true;
newQuestion();
cmi1.enabled = true;
cmi2.enabled = true;
cmi3.enabled = true;
cmi4.enabled = true;
Frame 43
stop();
newQuestion();
Frame 44
stop();
newQuestion();
Frame 45
stop();
newQuestion();
Frame 46
stop();
newQuestion();
Frame 47
stop();
newQuestion();
Frame 48
stop();
newQuestion();
Frame 49
stop();
newQuestion();
Frame 50
stop();
newQuestion();
Frame 51
stop();
newQuestion();
Frame 52
stop();
newQuestion();
Frame 53
stop();
newQuestion();
Frame 54
stop();
newQuestion();
Frame 55
stop();
newQuestion();
Frame 56
stop();
newQuestion();
Frame 57
stop();
newQuestion();
Frame 58
djsclip.onRollOver = function () {
djsclip.play();
};
djsclip.onRollOut = function () {
djsclip.play();
};
djsclip.onPress = function () {
getURL ("http://www.geocities.com/jetriconew/", "_blank");
};
stop();
reset.onPress = function () {
gotoAndPlay (2);
};
Frame 59
stopAllSounds();
cmi1.enabled = false;
cmi2.enabled = false;
cmi3.enabled = false;
cmi4.enabled = false;
Frame 69
lose.start(0, 1);
Symbol 17 MovieClip Frame 1
stop();
onEnterFrame = function () {
a = _root.getBytesLoaded();
b = _root.getBytesTotal();
per = Math.round((a / b) * 100);
loadbar._xscale = per;
if (per == 100) {
gotoAndStop (2);
onEnterFrame = function () {
};
}
per = per + "%";
a = Math.ceil(a / 1024) + " kB";
b = Math.ceil(b / 1024) + " kB";
};
Symbol 17 MovieClip Frame 2
_root.gotoAndPlay(2);
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
stop();
Symbol 41 MovieClip Frame 1
function check(clicked) {
if (clicked == ans) {
_root.play();
_root.ok = true;
} else {
_root.wrong();
}
}
stop();
but1.onPress = function () {
check(1);
};
but2.onPress = function () {
check(2);
};
but3.onPress = function () {
check(3);
};
but4.onPress = function () {
check(4);
};
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
Symbol 48 MovieClip Frame 3
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();