Frame 1
function playSong(id, vol) {
var _local2 = new Sound(this);
if (vol != undefined) {
_local2.setVolume(vol);
} else {
_local2.setVolume(50);
}
_local2.attachSound(id);
_local2.start();
if (id == "start") {
guitar.timer = 0;
}
}
stop();
Stage.scaleMode = "noScale";
Stage.showMenu = false;
System.useCodepage = true;
fscommand ("trapallkeys", true);
Instance of Symbol 131 MovieClip in Frame 1
onClipEvent (load) {
perc = 0;
}
onClipEvent (enterFrame) {
mask._xscale = perc * 1.05;
gbt = _root.getBytesTotal();
gbl = _root.getBytesLoaded();
perc = (gbl / gbt) * 100;
_parent.perc_text = int(perc) + "%";
if (perc >= 100) {
_root.nextFrame();
}
}
Instance of Symbol 139 MovieClip in Frame 1
onClipEvent (load) {
_visible = false;
}
Frame 2
stop();
Instance of Symbol 148 MovieClip in Frame 2
onClipEvent (load) {
timer = 0;
timer_flag = false;
play();
}
onClipEvent (enterFrame) {
function endLogo() {
gotoAndPlay (20);
}
if (timer_flag == true) {
timer++;
if (timer > 42) {
if (_currentframe < 20) {
endLogo();
}
delete timer_flag;
delete timer;
}
}
if (_currentframe >= 30) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (_currentframe < 20) {
endLogo();
}
}
Frame 3
stop();
var intro_sound = new Sound();
intro_sound.loadSound("http://guitar-hero.do.am/game/Songs/Intro.mp3", true);
intro_sound.start();
intro_sound.setVolume(50);
load_game = true;
songs_playlist_link = "http://guitar-hero.do.am/game/Songs/songs_list.xml";
levelmatrix = [0, 75000, 150000, 275000, 450000, 650000, 875000, 1125000, 1400000, 1675000, 2325000, 2900000, 4050000, 5775000, 8075000, 11325000, 15575000, 19958750, 25970750, 29978750, 36617000, 46887500, 57533750, 69432500, 84462500, 98365250];
Frame 4
function init() {
if ((shared_object.data.account1 != undefined) && (shared_object.data.account1 != "")) {
account1 = shared_object.data.account1;
} else {
account1 = "<\u041F\u0443\u0441\u0442\u043E>";
}
if ((shared_object.data.account2 != undefined) && (shared_object.data.account2 != "")) {
account2 = shared_object.data.account2;
} else {
account2 = "<\u041F\u0443\u0441\u0442\u043E>";
}
if ((shared_object.data.account3 != undefined) && (shared_object.data.account3 != "")) {
account3 = shared_object.data.account3;
} else {
account3 = "<\u041F\u0443\u0441\u0442\u043E>";
}
profile.account_1.name_text = account1;
profile.account_2.name_text = account2;
profile.account_3.name_text = account3;
if (closedisable == true) {
profile.close._visible = false;
}
}
function load_account(n) {
if (_root["account" + n] != "<\u041F\u0443\u0441\u0442\u043E>") {
profile.gotoAndStop(3);
profile.account = n;
profile.profile_name = "Profile: " + _root["account" + n];
_root.account_n = n;
} else {
profile.gotoAndStop(2);
profile.account = n;
}
}
function saveAccountName(name, acc) {
shared_object.flush();
shared_object.data["account" + acc] = name;
_root["account" + acc] = name;
shared_object.data["songs_count" + acc] = 0;
songs_bitrate = (shared_object.data["songs_bitrate" + acc] = 96);
down_key = (shared_object.data["down_key" + acc] = 219);
up_key = (shared_object.data["up_key" + acc] = 221);
string_a_key = (shared_object.data["string_a_key" + acc] = 49);
string_b_key = (shared_object.data["string_b_key" + acc] = 50);
string_c_key = (shared_object.data["string_c_key" + acc] = 51);
string_d_key = (shared_object.data["string_d_key" + acc] = 52);
string_e_key = (shared_object.data["string_e_key" + acc] = 53);
flash_key = (shared_object.data["flash_key" + acc] = 80);
backstring_light_key = (shared_object.data["backstring_light_key" + acc] = 79);
pause_key = (shared_object.data["pause_key" + acc] = 32);
guitarnum = (shared_object.data["guitarnum" + acc] = 1);
_quality = ((shared_object.data["quality" + acc] = "MEDIUM"));
zonenum = (shared_object.data["zonenum" + acc] = 1);
tapping_duration = (shared_object.data["tapping_duration" + acc] = 0);
tapping_notes = (shared_object.data["tapping_notes" + acc] = 0);
max_multiple = (shared_object.data["max_multiple" + acc] = 4);
bonusbar_capacity = (shared_object.data["bonusbar_capacity" + acc] = 200);
starting_capacity = (shared_object.data["starting_capacity" + acc] = 0);
skill_points = (shared_object.data["skill_points" + acc] = 5);
gamelevel = (shared_object.data["userlevel" + acc] = 1);
var _local4 = new XML();
_local4.ignoreWhite = true;
_local4.load(songs_playlist_link);
_local4.onLoad = function () {
songlist_array = [];
c = Number(this.childNodes[0].attributes.count);
i = 0;
while (i < c) {
songlist_array[i] = this.childNodes[1].childNodes[i].attributes.link;
i++;
}
songs_count = songlist_array.length;
i = 0;
while (i < songs_count) {
var _local2 = String(this.childNodes[1].childNodes[i].attributes.songid);
shared_object.data[(("songhighacc" + acc) + "_") + _local2] = 0;
shared_object.data[(("songaward" + acc) + "_") + _local2] = 1;
shared_object.data[(("songhighscore" + acc) + "_") + _local2] = 0;
i++;
}
};
_root.account_n = acc;
loadProfileWindow();
profile._visible = false;
delete closedisable;
play_bt._visible = (options_bt._visible = (help_bt._visible = (profile_bt._visible = true)));
}
function loadProfileWindow() {
profile.gotoAndStop(1);
profile._visible = true;
profile.account_1.name_text = account1;
profile.account_2.name_text = account2;
profile.account_3.name_text = account3;
if (closedisable == true) {
profile.close._visible = false;
}
}
function clearProfileData(profile_number) {
shared_object.data["account" + profile_number] = undefined;
_root["account" + profile_number] = "<\u041F\u0443\u0441\u0442\u043E>";
loadProfileWindow();
}
function load_profile(n) {
songs_bitrate = shared_object.data["songs_bitrate" + n];
down_key = shared_object.data["down_key" + n];
up_key = shared_object.data["up_key" + n];
string_a_key = shared_object.data["string_a_key" + n];
string_b_key = shared_object.data["string_b_key" + n];
string_c_key = shared_object.data["string_c_key" + n];
string_d_key = shared_object.data["string_d_key" + n];
string_e_key = shared_object.data["string_e_key" + n];
flash_key = shared_object.data["flash_key" + n];
backstring_light_key = shared_object.data["backstring_light_key" + n];
pause_key = shared_object.data["pause_key" + n];
guitarnum = shared_object.data["guitarnum" + n];
_quality = shared_object.data["quality" + n];
zonenum = shared_object.data["zonenum" + n];
tapping_duration = shared_object.data["tapping_duration" + n];
tapping_notes = shared_object.data["tapping_notes" + n];
max_multiple = shared_object.data["max_multiple" + n];
bonusbar_capacity = shared_object.data["bonusbar_capacity" + n];
starting_capacity = shared_object.data["starting_capacity" + n];
skill_points = shared_object.data["skill_points" + n];
if (!isNaN(shared_object.data["userlevel" + n])) {
gamelevel = shared_object.data["userlevel" + n];
} else {
gamelevel = (shared_object.data["userlevel" + n] = 1);
}
profile._visible = false;
play_bt._visible = (options_bt._visible = (help_bt._visible = (profile_bt._visible = true)));
delete closedisable;
}
function applyCheat(cheat) {
if (cheat == "guitar1") {
shared_object.data["g1unl" + account_n] = true;
trace("Steve Vai Ibanez Unlocked");
} else if (cheat == "guitar2") {
shared_object.data["g2unl" + account_n] = true;
trace("Armor Custom Unlocked");
} else if (cheat == "guitar3") {
shared_object.data["g3unl" + account_n] = true;
trace("Shinigami Unlocked");
} else if (cheat == "skills") {
if (shared_object.data["skills_applied" + account_n] != true) {
shared_object.data["skill_points" + account_n] = shared_object.data["skill_points" + account_n] + 50;
shared_object.data["skills_applied" + account_n] = true;
}
} else if (cheat == "mediator") {
shared_object.data["skills_mediator" + account_n] = true;
}
cheatcode._visible = false;
}
stop();
var shared_object = SharedObject.getLocal("guitar_hero");
if (load_game == true) {
closedisable = true;
play_bt._visible = (options_bt._visible = (help_bt._visible = (profile_bt._visible = false)));
init();
}
Instance of Symbol 233 MovieClip "profile" in Frame 4
onClipEvent (load) {
this._visible = false;
btn.useHandCursor = false;
}
onClipEvent (enterFrame) {
if (_root.load_game == true) {
this._visible = true;
delete _root.load_game;
}
}
Instance of Symbol 247 MovieClip "cheatcode" in Frame 4
onClipEvent (load) {
this._visible = false;
timer = 0;
btn.useHandCursor = false;
}
onClipEvent (enterFrame) {
function apply_cheatcode(code) {
str = "";
i = 0;
while (i < code.length) {
str = str + code.substr(i, 1);
str = str + code.substr(i + 2, 1);
str = str + code.substr(i + 1, 1);
str = str + code.substr(i + 3, 1);
i = i + 4;
}
decode(str);
}
function decode(str) {
cheatlink = "";
i = 0;
while (i < 4) {
if (str.substr(i * 2, 2) == "01") {
cheatlink = cheatlink + "Z";
} else if (str.substr(i * 2, 2) == "02") {
cheatlink = cheatlink + "X";
} else if (str.substr(i * 2, 2) == "03") {
cheatlink = cheatlink + "C";
} else if (str.substr(i * 2, 2) == "04") {
cheatlink = cheatlink + "V";
} else if (str.substr(i * 2, 2) == "05") {
cheatlink = cheatlink + "B";
} else if (str.substr(i * 2, 2) == "06") {
cheatlink = cheatlink + "N";
} else if (str.substr(i * 2, 2) == "07") {
cheatlink = cheatlink + "M";
} else if (str.substr(i * 2, 2) == "08") {
cheatlink = cheatlink + ",";
} else if (str.substr(i * 2, 2) == "09") {
cheatlink = cheatlink + ".";
} else if (str.substr(i * 2, 2) == "10") {
cheatlink = cheatlink + "}";
} else if (str.substr(i * 2, 2) == "11") {
cheatlink = cheatlink + "A";
} else if (str.substr(i * 2, 2) == "12") {
cheatlink = cheatlink + "S";
} else if (str.substr(i * 2, 2) == "13") {
cheatlink = cheatlink + "D";
} else if (str.substr(i * 2, 2) == "14") {
cheatlink = cheatlink + "F";
} else if (str.substr(i * 2, 2) == "15") {
cheatlink = cheatlink + "G";
} else if (str.substr(i * 2, 2) == "16") {
cheatlink = cheatlink + "H";
} else if (str.substr(i * 2, 2) == "17") {
cheatlink = cheatlink + "J";
} else if (str.substr(i * 2, 2) == "18") {
cheatlink = cheatlink + "K";
} else if (str.substr(i * 2, 2) == "19") {
cheatlink = cheatlink + "L";
} else if (str.substr(i * 2, 2) == "20") {
cheatlink = cheatlink + ";";
} else if (str.substr(i * 2, 2) == "21") {
cheatlink = cheatlink + "Q";
} else if (str.substr(i * 2, 2) == "22") {
cheatlink = cheatlink + "W";
} else if (str.substr(i * 2, 2) == "23") {
cheatlink = cheatlink + "E";
} else if (str.substr(i * 2, 2) == "24") {
cheatlink = cheatlink + "R";
} else if (str.substr(i * 2, 2) == "25") {
cheatlink = cheatlink + "T";
} else if (str.substr(i * 2, 2) == "26") {
cheatlink = cheatlink + "Y";
} else if (str.substr(i * 2, 2) == "27") {
cheatlink = cheatlink + "U";
} else if (str.substr(i * 2, 2) == "28") {
cheatlink = cheatlink + "I";
} else if (str.substr(i * 2, 2) == "29") {
cheatlink = cheatlink + "O";
} else if (str.substr(i * 2, 2) == "30") {
cheatlink = cheatlink + "P";
} else if (str.substr(i * 2, 2) == "31") {
cheatlink = cheatlink + "[";
} else if (str.substr(i * 2, 2) == "32") {
cheatlink = cheatlink + "]";
} else if (str.substr(i * 2, 2) == "33") {
cheatlink = cheatlink + "1";
} else if (str.substr(i * 2, 2) == "34") {
cheatlink = cheatlink + "2";
} else if (str.substr(i * 2, 2) == "35") {
cheatlink = cheatlink + "3";
} else if (str.substr(i * 2, 2) == "36") {
cheatlink = cheatlink + "4";
} else if (str.substr(i * 2, 2) == "37") {
cheatlink = cheatlink + "5";
} else if (str.substr(i * 2, 2) == "38") {
cheatlink = cheatlink + "6";
} else if (str.substr(i * 2, 2) == "39") {
cheatlink = cheatlink + "7";
} else if (str.substr(i * 2, 2) == "40") {
cheatlink = cheatlink + "8";
} else if (str.substr(i * 2, 2) == "41") {
cheatlink = cheatlink + "9";
} else if (str.substr(i * 2, 2) == "42") {
cheatlink = cheatlink + "0";
} else if (str.substr(i * 2, 2) == "43") {
cheatlink = cheatlink + "+";
} else if (str.substr(i * 2, 2) == "44") {
cheatlink = cheatlink + "-";
} else if (str.substr(i * 2, 2) == "45") {
cheatlink = cheatlink + "_";
} else if (str.substr(i * 2, 2) == "46") {
cheatlink = cheatlink + "=";
} else if (str.substr(i * 2, 2) == "47") {
cheatlink = cheatlink + "z";
} else if (str.substr(i * 2, 2) == "48") {
cheatlink = cheatlink + "x";
} else if (str.substr(i * 2, 2) == "49") {
cheatlink = cheatlink + "c";
} else if (str.substr(i * 2, 2) == "50") {
cheatlink = cheatlink + "v";
} else if (str.substr(i * 2, 2) == "51") {
cheatlink = cheatlink + "b";
} else if (str.substr(i * 2, 2) == "52") {
cheatlink = cheatlink + "n";
} else if (str.substr(i * 2, 2) == "53") {
cheatlink = cheatlink + "m";
} else if (str.substr(i * 2, 2) == "54") {
cheatlink = cheatlink + "a";
} else if (str.substr(i * 2, 2) == "55") {
cheatlink = cheatlink + "s";
} else if (str.substr(i * 2, 2) == "56") {
cheatlink = cheatlink + "d";
} else if (str.substr(i * 2, 2) == "57") {
cheatlink = cheatlink + "f";
} else if (str.substr(i * 2, 2) == "58") {
cheatlink = cheatlink + "g";
} else if (str.substr(i * 2, 2) == "59") {
cheatlink = cheatlink + "h";
} else if (str.substr(i * 2, 2) == "60") {
cheatlink = cheatlink + "j";
} else if (str.substr(i * 2, 2) == "61") {
cheatlink = cheatlink + "k";
} else if (str.substr(i * 2, 2) == "62") {
cheatlink = cheatlink + "l";
} else if (str.substr(i * 2, 2) == "63") {
cheatlink = cheatlink + "q";
} else if (str.substr(i * 2, 2) == "64") {
cheatlink = cheatlink + "w";
} else if (str.substr(i * 2, 2) == "65") {
cheatlink = cheatlink + "e";
} else if (str.substr(i * 2, 2) == "66") {
cheatlink = cheatlink + "r";
} else if (str.substr(i * 2, 2) == "67") {
cheatlink = cheatlink + "t";
} else if (str.substr(i * 2, 2) == "68") {
cheatlink = cheatlink + "y";
} else if (str.substr(i * 2, 2) == "69") {
cheatlink = cheatlink + "u";
} else if (str.substr(i * 2, 2) == "70") {
cheatlink = cheatlink + "i";
} else if (str.substr(i * 2, 2) == "71") {
cheatlink = cheatlink + "o";
} else if (str.substr(i * 2, 2) == "72") {
cheatlink = cheatlink + "p";
} else if (str.substr(i * 2, 2) == "73") {
cheatlink = cheatlink + "{";
} else if (str.substr(i * 2, 2) == "74") {
cheatlink = cheatlink + "!";
} else if (str.substr(i * 2, 2) == "75") {
cheatlink = cheatlink + "@";
} else if (str.substr(i * 2, 2) == "76") {
cheatlink = cheatlink + "$";
} else if (str.substr(i * 2, 2) == "77") {
cheatlink = cheatlink + "%";
} else if (str.substr(i * 2, 2) == "78") {
cheatlink = cheatlink + "^";
} else if (str.substr(i * 2, 2) == "79") {
cheatlink = cheatlink + "(";
} else if (str.substr(i * 2, 2) == "80") {
cheatlink = cheatlink + ")";
} else if (str.substr(i * 2, 2) == "81") {
cheatlink = cheatlink + "`";
} else if (str.substr(i * 2, 2) == "82") {
cheatlink = cheatlink + "~";
}
i++;
}
loadXml(cheatlink);
}
function loadXml(link) {
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load("http://guitar-hero.do.am/game/cheatcodes/" + link);
_local3.onLoad = function (succes) {
if (!succes) {
gotoAndStop (2);
} else if (this.childNodes[0].attributes.username == _root["account" + _root.account_n]) {
_root.applyCheat(this.childNodes[0].attributes.cheattype);
}
};
}
if (Key.isDown(90)) {
timer++;
} else if (timer != 0) {
timer = 0;
}
if (timer >= 90) {
if (_root.profile._visible == false) {
_visible = true;
}
}
}
Frame 5
stop();
Mouse.addListener(this);
this.onMouseWheel = function (delta, options_wnd) {
h = options_wnd.scrollbar.scrollbar._height - 30;
h2 = options_wnd.list._height - options_wnd.scrollbar.list_height;
options_wnd.scrollbar.slider._y = options_wnd.scrollbar.slider._y + (((50 * ((-delta) / 3)) * h) / h2);
};
Instance of Symbol 324 MovieClip "options_wnd" in Frame 5
onClipEvent (load) {
key10 = _root.pause_key;
key9 = _root.backstring_light_key;
key8 = _root.flash_key;
key7 = _root.down_key;
key6 = _root.up_key;
key5 = _root.string_a_key;
key4 = _root.string_b_key;
key3 = _root.string_c_key;
key2 = _root.string_d_key;
key1 = _root.string_e_key;
qual = "Quality: " + String(_root._quality).toLowerCase();
}
onClipEvent (enterFrame) {
function decode(number) {
if (number == 8) {
return("Backspace");
}
if (number == 9) {
return("Tab");
}
if (number == 12) {
return("Clear");
}
if (number == 13) {
return("Enter");
}
if (number == 16) {
return("Shift");
}
if (number == 17) {
return("Control");
}
if (number == 18) {
return("Alt");
}
if (number == 19) {
return("Pause");
}
if (number == 20) {
return("Caps Lock");
}
if (number == 27) {
return("Esc");
}
if (number == 32) {
return("Space");
}
if (number == 33) {
return("Page Up");
}
if (number == 34) {
return("Page Down");
}
if (number == 35) {
return("End");
}
if (number == 36) {
return("Home");
}
if (number == 37) {
return("\u2190");
}
if (number == 38) {
return("\u2191");
}
if (number == 39) {
return("\u2192");
}
if (number == 40) {
return("\u2193");
}
if (number == 45) {
return("Insert");
}
if (number == 46) {
return("Delete");
}
if (number == 47) {
return("Help");
}
if (number == 48) {
return("0");
}
if (number == 49) {
return("1");
}
if (number == 50) {
return("2");
}
if (number == 51) {
return("3");
}
if (number == 52) {
return("4");
}
if (number == 53) {
return("5");
}
if (number == 54) {
return("6");
}
if (number == 55) {
return("7");
}
if (number == 56) {
return("8");
}
if (number == 57) {
return("9");
}
if (number == 65) {
return("A");
}
if (number == 66) {
return("B");
}
if (number == 67) {
return("C");
}
if (number == 68) {
return("D");
}
if (number == 69) {
return("E");
}
if (number == 70) {
return("F");
}
if (number == 71) {
return("G");
}
if (number == 72) {
return("H");
}
if (number == 73) {
return("I");
}
if (number == 74) {
return("J");
}
if (number == 75) {
return("K");
}
if (number == 76) {
return("L");
}
if (number == 77) {
return("M");
}
if (number == 78) {
return("N");
}
if (number == 79) {
return("O");
}
if (number == 80) {
return("P");
}
if (number == 81) {
return("Q");
}
if (number == 82) {
return("R");
}
if (number == 83) {
return("S");
}
if (number == 84) {
return("T");
}
if (number == 85) {
return("U");
}
if (number == 86) {
return("V");
}
if (number == 87) {
return("W");
}
if (number == 88) {
return("X");
}
if (number == 89) {
return("Y");
}
if (number == 90) {
return("Z");
}
if (number == 91) {
return("L Window");
}
if (number == 92) {
return("R Window");
}
if (number == 93) {
return("List");
}
if (number == 95) {
return("Sleep");
}
if (number == 96) {
return("Num 0");
}
if (number == 97) {
return("Num 1");
}
if (number == 98) {
return("Num 2");
}
if (number == 99) {
return("Num 3");
}
if (number == 100) {
return("Num 4");
}
if (number == 101) {
return("Num 5");
}
if (number == 102) {
return("Num 6");
}
if (number == 103) {
return("Num 7");
}
if (number == 104) {
return("Num 8");
}
if (number == 105) {
return("Num 9");
}
if (number == 106) {
return("Num *");
}
if (number == 107) {
return("Num +");
}
if (number == 108) {
return("Enter");
}
if (number == 109) {
return("Num -");
}
if (number == 110) {
return("Num .");
}
if (number == 111) {
return("Num /");
}
if (number == 112) {
return("F1");
}
if (number == 113) {
return("F2");
}
if (number == 114) {
return("F3");
}
if (number == 115) {
return("F4");
}
if (number == 116) {
return("F5");
}
if (number == 117) {
return("F6");
}
if (number == 118) {
return("F7");
}
if (number == 119) {
return("F8");
}
if (number == 120) {
return("F9");
}
if (number == 121) {
return("F10");
}
if (number == 122) {
return("F11");
}
if (number == 123) {
return("F12");
}
if (number == 144) {
return("Num Lock");
}
if (number == 145) {
return("Scroll Lock");
}
if (number == 166) {
return("Multi 'Back'");
}
if (number == 167) {
return("Multi 'Forward'");
}
if (number == 168) {
return("Multi 'Refresh'");
}
if (number == 169) {
return("Multi 'Stop'");
}
if (number == 170) {
return("Multi 'Search'");
}
if (number == 171) {
return("Multi 'Favorites'");
}
if (number == 172) {
return("Multi 'Home'");
}
if (number == 173) {
return("Multi 'Mute'");
}
if (number == 174) {
return("Multi 'Volume -'");
}
if (number == 175) {
return("Multi 'Volume +'");
}
if (number == 176) {
return("Multi 'Next'");
}
if (number == 177) {
return("Multi 'Previous'");
}
if (number == 178) {
return("Multi 'Stop'");
}
if (number == 179) {
return("Multi 'Play'");
}
if (number == 180) {
return("Multi 'E-Mail'");
}
if (number == 181) {
return("Multi 'Mediaplayer'");
}
if (number == 182) {
return("Multi 'My Computer'");
}
if (number == 183) {
return("Multi 'Calculator'");
}
if (number == 186) {
return(":;");
}
if (number == 187) {
return("=+");
}
if (number == 188) {
return("<,");
}
if (number == 189) {
return("-_");
}
if (number == 190) {
return(">.");
}
if (number == 191) {
return("/?");
}
if (number == 192) {
return("`~");
}
if (number == 219) {
return("{[");
}
if (number == 220) {
return("\\");
}
if (number == 221) {
return("}]");
}
if (number == 222) {
return("'\"");
}
if (number == 255) {
return("Power");
}
}
key_1 = decode(key1);
key_2 = decode(key2);
key_3 = decode(key3);
key_4 = decode(key4);
key_5 = decode(key5);
key_6 = decode(key6);
key_7 = decode(key7);
key_8 = decode(key8);
key_9 = decode(key9);
key_10 = decode(key10);
}
Frame 6
stop();
var shared_object = SharedObject.getLocal("guitar_hero");
if (shared_object.data["g1unl" + account_n] == true) {
guitar1_unlocked = true;
}
if (shared_object.data["g2unl" + account_n] == true) {
guitar2_unlocked = true;
}
if (shared_object.data["g3unl" + account_n] == true) {
guitar3_unlocked = true;
}
trace((levelmatrix[gamelevel] + ", level: ") + gamelevel);
onEnterFrame = function () {
if (totalscore >= levelmatrix[gamelevel]) {
gamelevel++;
skill_points = skill_points + 5;
shared_object.data["userlevel" + account_n] = gamelevel;
store_clip.skills.updateskills();
}
nextlevelScore = levelmatrix[gamelevel] + " \u043E\u0447\u043A.";
};
Instance of Symbol 411 MovieClip "guitarselect" in Frame 6
onClipEvent (load) {
_alpha = 100;
_visible = false;
}
Frame 7
function init_albums() {
var _local4 = SharedObject.getLocal("guitar_hero");
songs_count = songlist_array.length;
i = 0;
while (i < songs_count) {
var _local3 = String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.songid);
list.attachMovie("cd", "cd" + i, list.getNextHighestDepth());
clip = _root.list["cd" + i];
clip._y = (175 * i) + 65;
clip.songid = _local3;
clip.artist = String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.artist);
clip.song = String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.songname);
clip.len = String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.len);
clip.difficulty.gotoAndStop(String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.difficulty));
if (String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.new_song) == "true") {
clip.new_song._visible = true;
} else {
clip.new_song._visible = false;
}
if (_local4.data[(("songhighscore" + _root.account_n) + "_") + _local3] != undefined) {
clip.highscore = _local4.data[(("songhighscore" + _root.account_n) + "_") + _local3];
} else {
clip.highscore = (_local4.data[(("songhighscore" + _root.account_n) + "_") + _local3] = 0);
}
if (_local4.data[(("songhighacc" + _root.account_n) + "_") + _local3] != undefined) {
clip.accuracy = _local4.data[(("songhighacc" + _root.account_n) + "_") + _local3] + "%";
} else {
_local4.data[(("songhighacc" + _root.account_n) + "_") + _local3] = 0;
clip.accuracy = "0%";
}
if (_local4.data[(("songaward" + _root.account_n) + "_") + _local3] != undefined) {
clip.award = _local4.data[(("songaward" + _root.account_n) + "_") + _local3];
} else {
clip.award = (_local4.data[(("songaward" + _root.account_n) + "_") + _local3] = 1);
}
if ((String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.image) != undefined) && (String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.image) != "")) {
clip.cover.loadMovie(String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.image));
}
clip.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.fon._alpha = 100;
} else {
this.fon._alpha = 0;
}
};
playSongButton = clip.attachMovie("interface_buttons", "play_song", cd.getNextHighestDepth());
playSongButton._y = 12.5;
playSongButton._x = 740;
playSongButton.number = i;
playSongButton.difficulty = String(songs_playlist_xml.childNodes[1].childNodes[i].attributes.difficulty);
playSongButton.label = "Play Song";
playSongButton.onPress = function () {
_root.track = this.number;
_root.difficulty = this.difficulty;
_root.gotoAndStop("load_song");
};
i++;
}
}
function getScore(n) {
if (!isNaN(n)) {
return(n);
}
return(0);
}
stop();
totalscore = 0;
var songs_playlist_xml = new XML();
songs_playlist_xml.ignoreWhite = true;
songs_playlist_xml.load(songs_playlist_link);
songs_playlist_xml.onLoad = function () {
songlist_array = [];
c = Number(this.childNodes[0].attributes.count);
i = 0;
while (i < c) {
songlist_array[i] = this.childNodes[1].childNodes[i].attributes.link;
i++;
}
songlist_array = [];
c = Number(this.childNodes[0].attributes.count);
i = 0;
while (i < c) {
songlist_array[i] = this.childNodes[1].childNodes[i].attributes.link;
i++;
}
songs_count = songlist_array.length;
i = 0;
while (i < songs_count) {
var _local3 = String(this.childNodes[1].childNodes[i].attributes.songid);
totalscore = totalscore + getScore(shared_object.data[(("songhighscore" + _root.account_n) + "_") + _local3]);
i++;
}
init_albums();
};
Mouse.addListener(_root);
_root.onMouseWheel = function (delta, _root) {
h = scrollbar.scrollbar_height - 30;
h2 = list._height - scrollbar.list_height;
scrollbar.slider._y = scrollbar.slider._y + (((50 * ((-delta) / 3)) * h) / h2);
};
Instance of Symbol 412 MovieClip "list" in Frame 7
onClipEvent (load) {
}
Instance of Symbol 418 MovieClip "scrollbar" in Frame 7
onClipEvent (load) {
list_height = 490;
scrollbar_height = 490;
}
Frame 8
function initMusic() {
music = new Sound();
music.loadSound(link, true);
music.stop();
loading_flag = true;
}
function format(number) {
if (number < 10) {
return("0" + number);
}
return(number);
}
function render() {
if (g_index < g_string.length) {
g_lastpos = g_lastpos + (450 / getTemp(g_index));
if (g_string.substr(g_index, 1) == "0") {
g_array[g_arrindex] = Math.round(g_lastpos);
g_array[g_arrindex + 1] = "normal";
g_arrindex = g_arrindex + 2;
} else if (g_string.substr(g_index, 1) == "L") {
g_array[g_arrindex] = Math.round(g_lastpos);
g_array[g_arrindex + 1] = "line" + format(((g_string.indexOf("E", g_index) - g_index) * 450) / getTemp(g_index));
g_arrindex = g_arrindex + 2;
}
g_index++;
}
if (r_index < r_string.length) {
r_lastpos = r_lastpos + (450 / getTemp(r_index));
if (r_string.substr(r_index, 1) == "0") {
r_array[r_arrindex] = Math.round(r_lastpos);
r_array[r_arrindex + 1] = "normal";
r_arrindex = r_arrindex + 2;
} else if (r_string.substr(r_index, 1) == "L") {
r_array[r_arrindex] = Math.round(r_lastpos);
r_array[r_arrindex + 1] = "line" + format(((r_string.indexOf("E", r_index) - r_index) * 450) / getTemp(r_index));
r_arrindex = r_arrindex + 2;
}
r_index++;
}
if (y_index < y_string.length) {
y_lastpos = y_lastpos + (450 / getTemp(y_index));
if (y_string.substr(y_index, 1) == "0") {
y_array[y_arrindex] = Math.round(y_lastpos);
y_array[y_arrindex + 1] = "normal";
y_arrindex = y_arrindex + 2;
} else if (y_string.substr(y_index, 1) == "L") {
y_array[y_arrindex] = Math.round(y_lastpos);
y_array[y_arrindex + 1] = "line" + format(((y_string.indexOf("E", y_index) - y_index) * 450) / getTemp(y_index));
y_arrindex = y_arrindex + 2;
}
y_index++;
}
if (b_index < b_string.length) {
b_lastpos = b_lastpos + (450 / getTemp(b_index));
if (b_string.substr(b_index, 1) == "0") {
b_array[b_arrindex] = Math.round(b_lastpos);
b_array[b_arrindex + 1] = "normal";
b_arrindex = b_arrindex + 2;
} else if (b_string.substr(b_index, 1) == "L") {
b_array[b_arrindex] = Math.round(b_lastpos);
b_array[b_arrindex + 1] = "line" + format(((b_string.indexOf("E", b_index) - b_index) * 450) / getTemp(b_index));
b_arrindex = b_arrindex + 2;
}
b_index++;
}
if (d_index < d_string.length) {
d_lastpos = d_lastpos + (450 / getTemp(d_index));
if (d_string.substr(d_index, 1) == "0") {
d_array[d_arrindex] = Math.round(d_lastpos);
d_array[d_arrindex + 1] = "normal";
d_arrindex = d_arrindex + 2;
} else if (d_string.substr(d_index, 1) == "L") {
d_array[d_arrindex] = Math.round(d_lastpos);
d_array[d_arrindex + 1] = "line" + format(((d_string.indexOf("E", d_index) - d_index) * 450) / getTemp(d_index));
d_arrindex = d_arrindex + 2;
}
d_index++;
}
if (((((d_index >= d_string.length) && (b_index >= b_string.length)) && (y_index >= y_string.length)) && (r_index >= r_string.length)) && (g_index >= g_string.length)) {
if (restart != true) {
initMusic();
} else {
music.start(0);
music.stop();
loading_flag = true;
delete restart;
}
delete initMatrix;
}
}
function getTemp(index) {
var _local2 = song_xml.childNodes[4].attributes.count;
var _local1 = _local2;
while (_local1 > 0) {
if (index >= Number(String(song_xml.childNodes[4].attributes["tempindex_" + _local1]))) {
return(Number(String(song_xml.childNodes[4].attributes["tempvalue_" + _local1])));
}
_local1--;
}
}
stop();
intro_sound.stop();
config_link = songlist_array[track];
loading_flag = false;
g_array = [];
r_array = [];
y_array = [];
b_array = [];
d_array = [];
g_index = 0;
r_index = 0;
y_index = 0;
b_index = 0;
d_index = 0;
g_lastpos = 0;
r_lastpos = 0;
y_lastpos = 0;
b_lastpos = 0;
d_lastpos = 0;
g_arrindex = 0;
r_arrindex = 0;
y_arrindex = 0;
b_arrindex = 0;
d_arrindex = 0;
initMatrix = false;
var song_xml = new XML();
song_xml.ignoreWhite = true;
song_xml.load(config_link);
song_xml.onLoad = function () {
_root.link = this.childNodes[1].attributes["rate_" + songs_bitrate];
g_string = String(song_xml.childNodes[5].childNodes[4].childNodes);
r_string = String(song_xml.childNodes[5].childNodes[3].childNodes);
y_string = String(song_xml.childNodes[5].childNodes[2].childNodes);
b_string = String(song_xml.childNodes[5].childNodes[1].childNodes);
d_string = String(song_xml.childNodes[5].childNodes[0].childNodes);
initMatrix = true;
tabulature_offset = Number(String(this.childNodes[3].childNodes));
};
onEnterFrame = function () {
if (initMatrix == true) {
percent_loaded = ("\u0413\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0442\u0430\u0431\u0443\u043B\u0430\u0442\u0443\u0440\u044B... " + int((((((g_index + r_index) + y_index) + b_index) + d_index) * 100) / ((((g_string.length + r_string.length) + y_string.length) + b_string.length) + d_string.length))) + "%";
render();
render();
render();
render();
render();
render();
render();
render();
render();
render();
}
};
Instance of Symbol 428 MovieClip in Frame 8
onClipEvent (load) {
perc = 0;
_parent.percent_loaded = "\u0413\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0442\u0430\u0431\u0443\u043B\u0430\u0442\u0443\u0440\u044B...";
}
onClipEvent (enterFrame) {
perc = (_root.music.getBytesLoaded() / _root.music.getBytesTotal()) * 100;
if (_root.loading_flag) {
_parent.percent_loaded = ("\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430... " + int(perc)) + "%";
}
_rotation = (_rotation + 2);
if (((perc >= 100) && (_root.loading_flag)) && (_root.music.getBytesTotal() > 1024)) {
_root.gotoAndStop("song_play");
}
}
Frame 9
function init() {
songid = String(songs_playlist_xml.childNodes[1].childNodes[track].attributes.songid);
guitars_tappings = [200, 300, 350, 360, 360, 420, 360, 400, 430, 500, 0, 800, 2500, 3000, 5000];
guitars_tappingNotes = [2, 3, 4, 4, 4, 5, 5, 5, 6, 6, 0, 10, 10, 10, 15];
guitars_notecatch = [2, 2, 1, 2, 3, 2, 1, 2, 4, 4, 5, 5, 6, 7, 9];
guitars_rocmeter = [1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 1, 1, 1, 0.75];
guitars_bonusbar = [1, 1, 1, 1, 2, 2, 3, 3, 3, 4, 5, 5, 6, 6, 10];
score = 0;
multiple = 0;
game_flag = true;
game_over = false;
g_objectarray = [];
r_objectarray = [];
y_objectarray = [];
b_objectarray = [];
d_objectarray = [];
end = false;
if (difficulty.toUpperCase() == "EASY") {
game_speed = 10;
} else if (difficulty.toUpperCase() == "MEDIUM") {
game_speed = 12;
} else if (difficulty.toUpperCase() == "HARD") {
game_speed = 14;
}
offset_delay = int(565 / game_speed);
timer = -offset_delay;
string_g_count = 0;
string_r_count = 0;
string_y_count = 0;
string_b_count = 0;
string_d_count = 0;
name_depth = 0;
rock_percent = 50;
sync = false;
missed = 0;
totalnotes = ((((g_array.length + r_array.length) + y_array.length) + b_array.length) + d_array.length) / 2;
}
function failed() {
for (i in d_objectarray) {
delete d_objectarray[i].onEnterFrame;
d_objectarray[i].removeMovieClip();
}
for (i in b_objectarray) {
delete b_objectarray[i].onEnterFrame;
b_objectarray[i].removeMovieClip();
}
for (i in y_objectarray) {
delete y_objectarray[i].onEnterFrame;
y_objectarray[i].removeMovieClip();
}
for (i in r_objectarray) {
delete r_objectarray[i].onEnterFrame;
r_objectarray[i].removeMovieClip();
}
for (i in g_objectarray) {
delete g_objectarray[i].onEnterFrame;
g_objectarray[i].removeMovieClip();
}
pause_window.gotoAndStop("Failed");
pause_window.percent = Math.round((music.position * 100) / music.duration) + "%";
stopAllSounds();
playSong("Failed");
pause_window.shape = true;
game_flag = false;
game_over = true;
pausebutton._visible = false;
}
function tip(type, label) {
tiptext.gotoAndPlay(type);
tiptext.tip.label = label;
}
function gamePause() {
if (!end) {
playSong("wip");
if (game_flag == true) {
music.stop();
pause_window.gotoAndStop(1);
pause_window.shape = true;
game_flag = false;
} else {
pause_window.shape = false;
if (timer > 0) {
music.start(Math.round(music.position / 10) / 100);
}
game_flag = true;
}
}
}
function quit_song() {
for (i in g_objectarray) {
g_objectarray[i].removeMovieClip();
}
for (i in r_objectarray) {
r_objectarray[i].removeMovieClip();
}
for (i in y_objectarray) {
y_objectarray[i].removeMovieClip();
}
for (i in b_objectarray) {
b_objectarray[i].removeMovieClip();
}
for (i in d_objectarray) {
d_objectarray[i].removeMovieClip();
}
stopAllSounds();
gotoAndStop ("Game");
intro_sound.start();
}
function saveSongResult() {
for (i in g_objectarray) {
g_objectarray[i].removeMovieClip();
}
for (i in r_objectarray) {
r_objectarray[i].removeMovieClip();
}
for (i in y_objectarray) {
y_objectarray[i].removeMovieClip();
}
for (i in b_objectarray) {
b_objectarray[i].removeMovieClip();
}
for (i in d_objectarray) {
d_objectarray[i].removeMovieClip();
}
var _local2 = SharedObject.getLocal("guitar_hero");
if (((_local2.data[(("songhighscore" + _root.account_n) + "_") + songid] == undefined) || (_local2.data[(("songhighscore" + _root.account_n) + "_") + songid] == "")) || (_local2.data[(("songhighscore" + _root.account_n) + "_") + songid] < score)) {
_local2.data[(("songhighscore" + _root.account_n) + "_") + songid] = score;
}
if (((_local2.data[(("songhighacc" + _root.account_n) + "_") + songid] == undefined) || (_local2.data[(("songhighacc" + _root.account_n) + "_") + songid] == "")) || (_local2.data[(("songhighacc" + _root.account_n) + "_") + songid] < int(((totalnotes - missed) / totalnotes) * 100))) {
_local2.data[(("songhighacc" + _root.account_n) + "_") + songid] = int(((totalnotes - missed) / totalnotes) * 100);
}
notesmiss = int(((totalnotes - missed) / totalnotes) * 100);
if (notesmiss < 75) {
aw = 1;
} else if (notesmiss < 90) {
aw = 2;
} else if (notesmiss < 100) {
aw = 3;
} else if (notesmiss == 100) {
aw = 4;
}
if (((_local2.data[(("songaward" + _root.account_n) + "_") + songid] == undefined) || (_local2.data[(("songaward" + _root.account_n) + "_") + songid] == "")) || (_local2.data[(("songaward" + _root.account_n) + "_") + songid] < aw)) {
_local2.data[(("songaward" + _root.account_n) + "_") + songid] = aw;
}
stopAllSounds();
gotoAndStop ("Game");
intro_sound.start();
}
function restart_song() {
for (i in g_objectarray) {
g_objectarray[i].removeMovieClip();
}
for (i in r_objectarray) {
r_objectarray[i].removeMovieClip();
}
for (i in y_objectarray) {
y_objectarray[i].removeMovieClip();
}
for (i in b_objectarray) {
b_objectarray[i].removeMovieClip();
}
for (i in d_objectarray) {
d_objectarray[i].removeMovieClip();
}
restart = true;
gotoAndStop ("load_song");
}
function finish_song() {
notes = ((totalnotes - missed) + "/") + totalnotes;
accuracy = int(((totalnotes - missed) / totalnotes) * 100) + "%";
notesmiss = int(((totalnotes - missed) / totalnotes) * 100);
if (notesmiss < 75) {
aw = 1;
} else if (notesmiss < 90) {
aw = 2;
} else if (notesmiss < 100) {
aw = 3;
} else if (notesmiss == 100) {
aw = 4;
}
pause_window.gotoAndStop("You_rock");
pause_window.award.gotoAndStop(aw);
pause_window.multiple_top = multiple_top;
getLevelUp();
stopAllSounds();
playSong("finish");
pause_window.shape = true;
game_flag = false;
game_over = true;
pausebutton._visible = false;
}
function adjustColor(object, brightness, contrast, saturation, hue) {
function setBrightness(value) {
var _local1 = (value / 100) * 255;
var _local2 = [1, 0, 0, 0, _local1, 0, 1, 0, 0, _local1, 0, 0, 1, 0, _local1, 0, 0, 0, 1, 0];
_matrix = mMultiply(_matrix, _local2);
}
function setContrast(value) {
var _local1 = value / 100;
var _local2 = 1 + ((value > 0) ? (4 * _local1) : (_local1));
var _local3 = (-128 * _local1) * ((value > 0) ? 5 : 1);
var _local5 = [_local2, 0, 0, 0, _local3, 0, _local2, 0, 0, _local3, 0, 0, _local2, 0, _local3, 0, 0, 0, 1, 0];
_matrix = mMultiply(_matrix, _local5);
}
function setSaturation(value) {
var _local2 = 1 + ((value > 0) ? (3 * (value / 100)) : (value / 100));
var _local6 = 0.212671;
var _local7 = 0.71516;
var _local4 = 0.072169;
var _local1 = 1 - _local2;
var _local12 = (_local1 * _local6) + _local2;
var _local5 = _local1 * _local6;
var _local11 = (_local1 * _local7) + _local2;
var _local8 = _local1 * _local7;
var _local13 = (_local1 * _local4) + _local2;
var _local3 = _local1 * _local4;
var _local10 = [_local12, _local8, _local3, 0, 0, _local5, _local11, _local3, 0, 0, _local5, _local8, _local13, 0, 0, 0, 0, 0, 1, 0];
_matrix = mMultiply(_matrix, _local10);
}
function setHue(value) {
var _local6 = (value * Math.PI) / 180;
var _local1 = Math.cos(_local6);
var _local2 = Math.sin(_local6);
var _local4 = 0.213;
var _local3 = 0.715;
var _local5 = 0.072;
var _local7 = [(_local4 + (_local1 * (1 - _local4))) + (_local2 * (-_local4)), (_local3 + (_local1 * (-_local3))) + (_local2 * (-_local3)), (_local5 + (_local1 * (-_local5))) + (_local2 * (1 - _local5)), 0, 0, (_local4 + (_local1 * (-_local4))) + (_local2 * 0.143), (_local3 + (_local1 * (1 - _local3))) + (_local2 * 0.14), (_local5 + (_local1 * (-_local5))) + (_local2 * -0.283), 0, 0, (_local4 + (_local1 * (-_local4))) + (_local2 * (-(1 - _local4))), (_local3 + (_local1 * (-_local3))) + (_local2 * _local3), (_local5 + (_local1 * (1 - _local5))) + (_local2 * _local5), 0, 0, 0, 0, 0, 1, 0];
_matrix = mMultiply(_matrix, _local7);
}
function mMultiply(m1, m2) {
var _local6 = new Array(20);
var _local2 = 0;
while (_local2 < 19) {
var _local1 = 0;
while (_local1 < 5) {
var _local5 = (((m1[_local2] * m2[_local1]) + (m1[_local2 + 1] * m2[_local1 + 5])) + (m1[_local2 + 2] * m2[_local1 + 10])) + (m1[_local2 + 3] * m2[_local1 + 15]);
if (_local1 == 4) {
_local5 = _local5 + m1[_local2 + 4];
}
_local6[_local2 + _local1] = _local5;
_local1++;
}
_local2 = _local2 + 5;
}
return(_local6);
}
function resetMatrix() {
_matrix = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
}
resetMatrix();
setBrightness(brightness);
setContrast(contrast);
setSaturation(saturation);
setHue(hue);
var _local24 = new flash.filters.ColorMatrixFilter(_matrix);
object.filters = [_local24];
}
function updateRockPercent() {
currentbrightness = ((rock_percent * (rockmeter.brightnessmax - rockmeter.brightnessmin)) / 100) + rockmeter.brightnessmin;
currentsaturation = ((rock_percent * (rockmeter.saturationmax - rockmeter.saturationmin)) / 100) + rockmeter.saturationmin;
currenthue = ((rock_percent * (rockmeter.huemax - rockmeter.huemin)) / 100) + rockmeter.huemin;
adjustColor(rockmeter.shape, int(currentbrightness), 0, int(currentsaturation), int(currenthue));
}
function setGlow(object, color, alpha, xblur, yblur, strength, quality, inner, knockout) {
if (_root._quality == "HIGH") {
var _local4 = new flash.filters.GlowFilter(color, alpha, xblur, yblur, strength, quality, inner, knockout);
} else if (_root._quality == "MEDIUM") {
var _local4 = new flash.filters.GlowFilter(color, alpha, xblur + 2, yblur + 2, strength, 1, inner, knockout);
} else if (_root._quality == "LOW") {
var _local4 = new flash.filters.GlowFilter(color, alpha, xblur + 4, yblur + 4, 1, 1, inner, knockout);
}
object.filters = [_local4];
}
function deleteGlow(object) {
object.filters = null;
}
function getLevelUp() {
if (Number((totalscore + score) - getScore(shared_object.data[(("songhighscore" + _root.account_n) + "_") + songid])) >= levelmatrix[gamelevel]) {
trace("true");
pause_window.levelup._visible = true;
} else {
pause_window.levelup._visible = false;
}
}
function getScore(n) {
if (!isNaN(n)) {
return(n);
}
return(0);
}
function changeKeyboardSet(key1, key2, key3, key4, key5, key6, key7, key8, key9, key10) {
var _local2 = SharedObject.getLocal("guitar_hero");
_root.pause_key = key10;
_root.backstring_light_key = key9;
_root.flash_key = key8;
_root.down_key = key7;
_root.up_key = key6;
_root.string_a_key = key5;
_root.string_b_key = key4;
_root.string_c_key = key3;
_root.string_d_key = key2;
_root.string_e_key = key1;
_local2.data["pause_key" + _root.account_n] = key10;
_local2.data["backstring_light_key" + _root.account_n] = key9;
_local2.data["flash_key" + _root.account_n] = key8;
_local2.data["down_key" + _root.account_n] = key7;
_local2.data["up_key" + _root.account_n] = key6;
_local2.data["string_a_key" + _root.account_n] = key5;
_local2.data["string_b_key" + _root.account_n] = key4;
_local2.data["string_c_key" + _root.account_n] = key3;
_local2.data["string_d_key" + _root.account_n] = key2;
_local2.data["string_e_key" + _root.account_n] = key1;
}
stop();
stopAllSounds();
init();
onEnterFrame = function () {
if (game_flag == true) {
if (timer < 0) {
timer++;
}
if (!sync) {
if (timer == 0) {
music.start();
sync = true;
}
} else {
timer = Math.round(Number((music.position * 30) / 1000));
}
if (((timer + offset_delay) - tabulature_offset) > g_array[string_g_count]) {
name_depth++;
if (g_array[string_g_count + 1] == "normal") {
clip = attachMovie("key", "g_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("g");
clip._x = 480;
clip.fired = false;
clip.tapping = false;
clip.type = "normal";
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > 620) {
this.removeMovieClip();
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop("f");
}
} else if (_root.flashlight == false) {
if (this._currentframe != 1) {
this.gotoAndStop("g");
}
}
};
} else if (g_array[string_g_count + 1].substr(0, 4) == "line") {
clip = attachMovie("line", "g_" + name_depth, 5000 + name_depth);
clip.bg.gotoAndStop(1);
clip.key.gotoAndStop(1);
clip.type = "line";
clip.bg._height = int(Number(g_array[string_g_count + 1].substr(4, 3)) * game_speed);
clip.bg._alpha = 75;
clip._x = 480;
clip.tapping = false;
clip.fired = false;
clip.flashglow = false;
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > (585 + this.bg._height)) {
this.removeMovieClip();
if (g_objectarray[0] == this) {
g_objectarray.splice(0, 1);
}
}
if (_root.flashlight == true) {
if ((this.pressed == true) && (this.flashglow != true)) {
this.flashglow = true;
_root.setGlow(this.bg, 183293, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 6) {
this.bg.gotoAndStop(6);
this.key.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if ((this.pressed == true) && (this.flashglow != false)) {
this.flashglow = false;
_root.setGlow(this.bg, 65280, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 1) {
this.bg.gotoAndStop(1);
this.key.gotoAndStop(1);
}
}
};
}
g_objectarray.push(clip);
string_g_count = string_g_count + 2;
}
if (((timer + offset_delay) - tabulature_offset) > r_array[string_r_count]) {
name_depth++;
if (r_array[string_r_count + 1] == "normal") {
clip = attachMovie("key", "r_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("r");
clip._x = 440;
clip.tapping = false;
clip.fired = false;
clip.type = "normal";
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > 620) {
this.removeMovieClip();
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop("f");
}
} else if (_root.flashlight == false) {
if (this._currentframe != 2) {
this.gotoAndStop("r");
}
}
};
} else if (r_array[string_r_count + 1].substr(0, 4) == "line") {
clip = attachMovie("line", "r_" + name_depth, 5000 + name_depth);
clip.bg.gotoAndStop(2);
clip.key.gotoAndStop(2);
clip.type = "line";
clip._x = 440;
clip.h = int(Number(r_array[string_r_count + 1].substr(4, 3)) * game_speed);
clip.bg._alpha = 75;
clip.tapping = false;
clip.fired = false;
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > (585 + this.bg._height)) {
this.removeMovieClip();
if (r_objectarray[0] == this) {
r_objectarray.splice(0, 1);
}
}
if (this.bg._height != this.h) {
this.bg._height = this.h;
}
if (_root.flashlight == true) {
if ((this.pressed == true) && (this.flashglow != true)) {
this.flashglow = true;
_root.setGlow(this.bg, 183293, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 6) {
this.bg.gotoAndStop(6);
this.key.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if ((this.pressed == true) && (this.flashglow != false)) {
this.flashglow = false;
_root.setGlow(this.bg, 16711680, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 2) {
this.bg.gotoAndStop(2);
this.key.gotoAndStop(2);
}
}
};
}
r_objectarray.push(clip);
string_r_count = string_r_count + 2;
}
if (((timer + offset_delay) - tabulature_offset) > y_array[string_y_count]) {
name_depth++;
if (y_array[string_y_count + 1] == "normal") {
clip = attachMovie("key", "y_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("y");
clip._x = 400;
clip.tapping = false;
clip.fired = false;
clip.type = "normal";
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > 620) {
this.removeMovieClip();
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop("f");
}
} else if (_root.flashlight == false) {
if (this._currentframe != 2) {
this.gotoAndStop("y");
}
}
};
} else if (y_array[string_y_count + 1].substr(0, 4) == "line") {
clip = attachMovie("line", "y_" + name_depth, 5000 + name_depth);
clip.bg.gotoAndStop(3);
clip.key.gotoAndStop(3);
clip.type = "line";
clip.bg._height = int(Number(y_array[string_y_count + 1].substr(4, 3)) * game_speed);
clip.bg._alpha = 75;
clip.tapping = false;
clip._x = 400;
clip.fired = false;
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > (585 + this.bg._height)) {
this.removeMovieClip();
if (y_objectarray[0] == this) {
y_objectarray.splice(0, 1);
}
}
if (_root.flashlight == true) {
if ((this.pressed == true) && (this.flashglow != true)) {
this.flashglow = true;
_root.setGlow(this.bg, 183293, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 6) {
this.bg.gotoAndStop(6);
this.key.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if ((this.pressed == true) && (this.flashglow != false)) {
this.flashglow = false;
_root.setGlow(this.bg, 16776960, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 3) {
this.bg.gotoAndStop(3);
this.key.gotoAndStop(3);
}
}
};
}
y_objectarray.push(clip);
string_y_count = string_y_count + 2;
}
if (((timer + offset_delay) - tabulature_offset) > b_array[string_b_count]) {
name_depth++;
if (b_array[string_b_count + 1] == "normal") {
clip = attachMovie("key", "b_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("b");
clip._x = 360;
clip.tapping = false;
clip.fired = false;
clip.type = "normal";
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > 620) {
this.removeMovieClip();
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop("f");
}
} else if (_root.flashlight == false) {
if (this._currentframe != 4) {
this.gotoAndStop("b");
}
}
};
} else if (b_array[string_b_count + 1].substr(0, 4) == "line") {
clip = attachMovie("line", "b_" + name_depth, 5000 + name_depth);
clip.bg.gotoAndStop(4);
clip.key.gotoAndStop(4);
clip.type = "line";
clip._x = 360;
clip.h = int(Number(b_array[string_b_count + 1].substr(4, 3)) * game_speed);
clip.bg._alpha = 75;
clip.tapping = false;
clip.fired = false;
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > (585 + this.bg._height)) {
this.removeMovieClip();
if (b_objectarray[0] == this) {
b_objectarray.splice(0, 1);
}
}
if (this.bg._height != this.h) {
this.bg._height = this.h;
}
if (_root.flashlight == true) {
if ((this.pressed == true) && (this.flashglow != true)) {
this.flashglow = true;
_root.setGlow(this.bg, 183293, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 6) {
this.bg.gotoAndStop(6);
this.key.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if ((this.pressed == true) && (this.flashglow != false)) {
this.flashglow = false;
_root.setGlow(this.bg, 26367, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 4) {
this.bg.gotoAndStop(4);
this.key.gotoAndStop(4);
}
}
};
}
b_objectarray.push(clip);
string_b_count = string_b_count + 2;
}
if (((timer + offset_delay) - tabulature_offset) > d_array[string_d_count]) {
name_depth++;
if (d_array[string_d_count + 1] == "normal") {
clip = attachMovie("key", "d_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("dy");
clip._x = 320;
clip.tapping = false;
clip.fired = false;
clip.type = "normal";
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > 620) {
this.removeMovieClip();
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop("f");
}
} else if (_root.flashlight == false) {
if (this._currentframe != 5) {
this.gotoAndStop("d");
}
}
};
} else if (d_array[string_d_count + 1].substr(0, 4) == "line") {
clip = attachMovie("line", "d_" + name_depth, 5000 + name_depth);
clip.bg.gotoAndStop(5);
clip.key.gotoAndStop(5);
clip.type = "line";
clip._x = 320;
clip.h = int(Number(d_array[string_d_count + 1].substr(4, 3)) * game_speed);
clip.bg._alpha = 75;
clip.tapping = false;
clip.fired = false;
clip.onEnterFrame = function () {
if (_root._currentframe != 9) {
this.removeMovieClip();
}
if (_root.game_flag == true) {
this._y = this._y + _root.game_speed;
}
if (this._y > (585 + this.bg._height)) {
this.removeMovieClip();
if (d_objectarray[0] == this) {
d_objectarray.splice(0, 1);
}
}
if (this.bg._height != this.h) {
this.bg._height = this.h;
}
if (_root.flashlight == true) {
if ((this.pressed == true) && (this.flashglow != true)) {
this.flashglow = true;
_root.setGlow(this.bg, 183293, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 6) {
this.bg.gotoAndStop(6);
this.key.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if ((this.pressed == true) && (this.flashglow != false)) {
this.flashglow = false;
_root.setGlow(this.bg, 16746496, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 5) {
this.bg.gotoAndStop(5);
this.key.gotoAndStop(5);
}
}
};
}
d_objectarray.push(clip);
string_d_count = string_d_count + 2;
}
}
music.onSoundComplete = function () {
finish_song();
end = true;
};
if (rock_percent <= 0) {
if (game_flag == true) {
failed();
}
}
};
updateRockPercent();
Instance of Symbol 433 MovieClip in Frame 9
onClipEvent (load) {
gotoAndStop(_root.zonenum);
}
Instance of Symbol 531 MovieClip "guitar" in Frame 9
onClipEvent (load) {
a_flag = false;
b_flag = false;
c_flag = false;
d_flag = false;
e_flag = false;
_root.multiple_top = 0;
UpKeyDowned = false;
DownKeyDowned = false;
if (_root.difficulty.toUpperCase() == "EASY") {
notecost = 50;
} else if (_root.difficulty.toUpperCase() == "MEDIUM") {
notecost = 75;
} else if (_root.difficulty.toUpperCase() == "HARD") {
notecost = 100;
}
string_a_down = false;
string_b_down = false;
string_c_down = false;
string_d_down = false;
string_e_down = false;
button_a._alpha = 0;
button_b._alpha = 0;
button_c._alpha = 0;
button_d._alpha = 0;
button_e._alpha = 0;
e_tapping = true;
d_tapping = true;
c_tapping = true;
b_tapping = true;
a_tapping = true;
max_distance = (40 + ((_root.guitars_notecatch[_root.guitarnum - 1] - 1) * 5)) + (_root.game_speed / 2);
started = false;
timer = 0;
tapping = false;
tapping_count = 0;
tapping_timer = 0;
max_tapping_timer = (_root.tapping_duration + _root.guitars_tappings[_root.guitarnum - 1]) * 0.03;
max_tapping_count = _root.tapping_notes + _root.guitars_tappingNotes[_root.guitarnum - 1];
leads.gotoAndStop(_root.guitarnum);
grif.gotoAndStop(_root.guitarnum);
_root.playSong("start");
multiple_flag1 = false;
multiple_flag2 = false;
multiple_flag3 = false;
multiple_flag4 = false;
multiple_flag5 = false;
multiple_flag6 = false;
fire_depth = 0;
listTime_when_aString_pressed = 0;
listTime_when_bString_pressed = 0;
listTime_when_cString_pressed = 0;
listTime_when_dString_pressed = 0;
listTime_when_eString_pressed = 0;
}
onClipEvent (enterFrame) {
function getMultiple() {
if (_root.flashlight == false) {
if ((int(_root.multiple / 10) + 1) < (_root.max_multiple + 1)) {
return(int(_root.multiple / 10) + 1);
}
return(_root.max_multiple);
}
if (_root.flashlight == true) {
if ((Math.ceil((_root.multiple + 1) / 10) * 2) < ((_root.max_multiple * 2) + 1)) {
if ((Math.ceil((_root.multiple + 1) / 10) * 2) <= 20) {
return(Math.ceil((_root.multiple + 1) / 10) * 2);
}
return(20);
}
if ((_root.max_multiple * 2) <= 20) {
return(_root.max_multiple * 2);
}
return(20);
}
}
function ydistance(mc, coord) {
return(Math.abs(mc._y - coord));
}
function reset_multiples_flag() {
multiple_flag1 = false;
multiple_flag2 = false;
multiple_flag3 = false;
multiple_flag4 = false;
multiple_flag5 = false;
multiple_flag6 = false;
multiple_flag7 = false;
}
function addscore() {
_root.score = _root.score + (notecost * getMultiple());
if ((!_root.flashlight) && (!_root.backlight)) {
if (_root.mini_guitar.glow < _root.bonusbar_capacity) {
_root.mini_guitar.glow = _root.mini_guitar.glow + int(_root.guitars_bonusbar[_root.guitarnum - 1] * (_root.bonusbar_capacity / 200));
} else {
_root.mini_guitar.glow = _root.bonusbar_capacity;
}
}
_root.multiple++;
if (_root.rock_percent < 100) {
_root.rock_percent = _root.rock_percent + getMultiple();
} else if (_root.rock_percent > 100) {
_root.rock_percent = 100;
}
_root.updateRockPercent();
}
function addscore2() {
_root.score = _root.score + int(getMultiple() * (notecost / 30));
if ((!_root.flashlight) && (!_root.backlight)) {
if (_root.mini_guitar.glow < _root.bonusbar_capacity) {
_root.mini_guitar.glow = _root.mini_guitar.glow + (int(_root.guitars_bonusbar[_root.guitarnum - 1] * (_root.bonusbar_capacity / 200)) / 30);
} else {
_root.mini_guitar.glow = _root.bonusbar_capacity;
}
}
}
function attachFire(t) {
fire_depth++;
if (_root.flashlight == false) {
fire_clip = _root.attachMovie(t, t + fire_depth, _root.getNextHighestDepth());
} else {
fire_clip = _root.attachMovie("fire_flashlight", "fire_flashlight" + fire_depth, _root.getNextHighestDepth());
}
fire_clip._y = 565;
fire_clip._alpha = 100;
fire_clip.cacheAsBitmap = true;
_root[t + (fire_depth - 3)]._alpha = _root[t + (fire_depth - 3)]._alpha - 50;
_root[t + (fire_depth - 4)].removeMovieClip();
if (t == "fire_orange") {
fire_clip._x = 320;
} else if (t == "fire_blue") {
fire_clip._x = 360;
} else if (t == "fire_yellow") {
fire_clip._x = 400;
} else if (t == "fire_red") {
fire_clip._x = 440;
} else if (t == "fire_green") {
fire_clip._x = 480;
}
}
function setAlpha(obj, alpha) {
obj.dalpha = alpha;
obj.onEnterFrame = function () {
if (this._alpha != this.dalpha) {
this._alpha = this._alpha + Math.ceil((this.dalpha - this._alpha) / 4);
} else if (this._alpha != this.dalpha) {
delete this.onEnterFrame;
}
};
}
if (_root.multiple > _root.multiple_top) {
_root.multiple_top = _root.multiple;
}
if (tapping == true) {
tapping_timer++;
if (tapping_timer > max_tapping_timer) {
tapping_timer = 0;
tapping = false;
}
}
if (_root.multiple == 50) {
if (!multiple_flag1) {
_root.tip("green", "50 \u043D\u043E\u0442 \u043A\u043E\u043C\u0431\u043E!");
multiple_flag1 = true;
}
} else if (_root.multiple == 100) {
if (!multiple_flag2) {
_root.tip("blue", "100 \u043D\u043E\u0442 \u043A\u043E\u043C\u0431\u043E! +" + (int(_root.max_multiple / 4) * 5000));
_root.score = _root.score + (int(_root.max_multiple / 4) * 5000);
multiple_flag2 = true;
}
} else if (_root.multiple == 200) {
if (!multiple_flag3) {
_root.tip("blue", "200 \u043D\u043E\u0442 \u043A\u043E\u043C\u0431\u043E! +" + (int(_root.max_multiple / 4) * 15000));
_root.score = _root.score + (int(_root.max_multiple / 4) * 15000);
multiple_flag3 = true;
}
} else if (_root.multiple == 300) {
if (!multiple_flag4) {
_root.tip("blue", "300 \u043D\u043E\u0442 \u043A\u043E\u043C\u0431\u043E! +" + (int(_root.max_multiple / 4) * 25000));
_root.score = _root.score + (int(_root.max_multiple / 4) * 25000);
multiple_flag4 = true;
}
} else if (_root.multiple == 400) {
if (!multiple_flag7) {
_root.tip("purple", "400 \u043D\u043E\u0442 \u043A\u043E\u043C\u0431\u043E! \u041F\u043E\u043B\u043D\u044B\u0439 \u0431\u043E\u043D\u0443\u0441\u0431\u0430\u0440");
_root.mini_guitar.glow = _root.bonusbar_capacity;
multiple_flag7 = true;
}
} else if (_root.multiple == 500) {
if (!multiple_flag5) {
_root.tip("blue", "500 \u043D\u043E\u0442 \u043A\u043E\u043C\u0431\u043E! +" + (int(_root.max_multiple / 4) * 50000));
_root.score = _root.score + (int(_root.max_multiple / 4) * 50000);
multiple_flag5 = true;
}
} else if (_root.multiple == 1000) {
if (!multiple_flag6) {
_root.tip("blue", "1000 \u043D\u043E\u0442 \u043A\u043E\u043C\u0431\u043E! +" + (int(_root.max_multiple / 4) * 150000));
_root.score = _root.score + (int(_root.max_multiple / 4) * 150000);
multiple_flag6 = true;
}
}
if (_root.flashlight == true) {
if (light._alpha < 100) {
light._alpha = light._alpha + 10;
}
if (light._visible == false) {
light._visible = true;
}
} else if (_root.flashlight == false) {
if (light._alpha > 0) {
light._alpha = light._alpha - 5;
}
if (light._visible == true) {
light._visible = false;
}
}
if (_root.backlight == true) {
if (backstring_light._alpha < 100) {
backstring_light._alpha = backstring_light._alpha + 10;
}
if (backstring_light._visible == false) {
backstring_light._visible = true;
}
} else if (_root.backlight == false) {
if (backstring_light._alpha > 0) {
backstring_light._alpha = backstring_light._alpha - 5;
}
if (backstring_light._visible == true) {
backstring_light._visible = false;
}
}
if (_root.g_objectarray[0]._y > 605) {
if (_root.g_objectarray[0].tapping == true) {
if (_root.g_objectarray[0].type == "normal") {
addscore();
_root.g_objectarray.splice(0, 1);
}
} else if (_root.g_objectarray[0].type == "normal") {
_root.g_objectarray[0].removeMovieClip();
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.g_objectarray.splice(0, 1);
} else if (_root.g_objectarray[0].type == "line") {
if (_root.g_objectarray[0].pressed != true) {
_root.deleteGlow(_root.g_objectarray[0].bg);
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.g_objectarray.splice(0, 1);
}
}
}
if (_root.r_objectarray[0]._y > 605) {
if (_root.r_objectarray[0].tapping == true) {
if (_root.r_objectarray[0].type == "normal") {
addscore();
_root.r_objectarray.splice(0, 1);
}
} else if (_root.r_objectarray[0].type == "normal") {
_root.r_objectarray[0].removeMovieClip();
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.r_objectarray.splice(0, 1);
} else if (_root.r_objectarray[0].type == "line") {
if (_root.r_objectarray[0].pressed != true) {
_root.deleteGlow(_root.r_objectarray[0].bg);
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.r_objectarray.splice(0, 1);
}
}
}
if (_root.y_objectarray[0]._y > 605) {
if (_root.y_objectarray[0].tapping == true) {
if (_root.y_objectarray[0].type == "normal") {
addscore();
_root.y_objectarray.splice(0, 1);
}
} else if (_root.y_objectarray[0].type == "normal") {
_root.y_objectarray[0].removeMovieClip();
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.y_objectarray.splice(0, 1);
} else if (_root.y_objectarray[0].type == "line") {
if (_root.y_objectarray[0].pressed != true) {
_root.deleteGlow(_root.y_objectarray[0].bg);
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.y_objectarray.splice(0, 1);
}
}
}
if (_root.b_objectarray[0]._y > 605) {
if (_root.b_objectarray[0].tapping == true) {
if (_root.b_objectarray[0].type == "normal") {
addscore();
_root.b_objectarray.splice(0, 1);
}
} else if (_root.b_objectarray[0].type == "normal") {
_root.b_objectarray[0].removeMovieClip();
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.b_objectarray.splice(0, 1);
} else if (_root.b_objectarray[0].type == "line") {
if (_root.b_objectarray[0].pressed != true) {
_root.deleteGlow(_root.b_objectarray[0].bg);
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.b_objectarray.splice(0, 1);
}
}
}
if (_root.d_objectarray[0]._y > 605) {
if (_root.d_objectarray[0].tapping == true) {
if (_root.d_objectarray[0].type == "normal") {
addscore();
_root.d_objectarray.splice(0, 1);
}
} else if (_root.d_objectarray[0].type == "normal") {
_root.d_objectarray[0].removeMovieClip();
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.d_objectarray.splice(0, 1);
} else if (_root.d_objectarray[0].type == "line") {
if (_root.d_objectarray[0].pressed != true) {
_root.deleteGlow(_root.d_objectarray[0].bg);
_root.multiple = 0;
reset_multiples_flag();
_root.music.setVolume(30);
if (_root.rock_percent > 0) {
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
} else if (_root.rock_percent < 0) {
_root.rock_percent = 0;
}
_root.updateRockPercent();
_root.missed++;
_root.d_objectarray.splice(0, 1);
}
}
}
if (started == false) {
timer++;
if (button_a._alpha < 100) {
button_a._alpha = button_a._alpha + 10;
button_b._alpha = button_b._alpha + 10;
button_c._alpha = button_c._alpha + 10;
button_d._alpha = button_d._alpha + 10;
button_e._alpha = button_e._alpha + 10;
}
if (timer == 45) {
button_e.pressed = true;
}
if (timer == 48) {
button_e.pressed = false;
button_d.pressed = true;
}
if (timer == 51) {
button_d.pressed = false;
button_c.pressed = true;
}
if (timer == 54) {
button_c.pressed = false;
button_b.pressed = true;
}
if (timer == 57) {
button_b.pressed = false;
button_a.pressed = true;
}
if (timer == 60) {
button_a.pressed = false;
delete timer;
delete started;
}
}
if ((((tapping == true) && (!Key.isDown(_root.down_key))) && (!Key.isDown(_root.up_key))) || (_root.backlight == true)) {
if ((Key.isDown(_root.string_a_key) && (!a_tapping)) || (_root.backlight == true)) {
if (((ydistance(_root.d_objectarray[0], 565) < (_root.game_speed + 1)) && (_root.backlight == false)) || ((_root.d_objectarray[0]._y > (565 - _root.game_speed)) && (_root.backlight == true))) {
tapping_count++;
if (tapping_count > max_tapping_count) {
tapping_count = 0;
tapping = false;
}
if (_root.d_objectarray[0].type == "normal") {
_root.d_objectarray[0].tapping = true;
_root.d_objectarray[0]._alpha = 0;
} else if (_root.d_objectarray[0].type == "line") {
if (_root.d_objectarray[0].pressed != true) {
_root.setGlow(_root.d_objectarray[0].bg, 16746496, 75, 12, 12, 2, 1, false, false);
_root.d_objectarray[0].pressed = true;
}
}
if (_root.d_objectarray[0].fired == false) {
if (_root.d_objectarray[0].type == "line") {
_root.multiple++;
}
attachFire("fire_orange");
_root.d_objectarray[0].fired = true;
}
a_tapping = true;
}
}
if ((Key.isDown(_root.string_b_key) && (!b_tapping)) || (_root.backlight == true)) {
if (((ydistance(_root.b_objectarray[0], 565) < (_root.game_speed + 1)) && (_root.backlight == false)) || ((_root.b_objectarray[0]._y > (565 - _root.game_speed)) && (_root.backlight == true))) {
tapping_count++;
if (tapping_count > max_tapping_count) {
tapping_count = 0;
tapping = false;
}
if (_root.b_objectarray[0].type == "normal") {
_root.b_objectarray[0].tapping = true;
_root.b_objectarray[0]._alpha = 0;
} else if (_root.b_objectarray[0].type == "line") {
if (_root.b_objectarray[0].pressed != true) {
_root.setGlow(_root.b_objectarray[0].bg, 26367, 75, 12, 12, 2, 1, false, false);
_root.b_objectarray[0].pressed = true;
}
}
if (_root.b_objectarray[0].fired == false) {
if (_root.b_objectarray[0].type == "line") {
_root.multiple++;
}
attachFire("fire_blue");
_root.b_objectarray[0].fired = true;
}
b_tapping = true;
}
}
if ((Key.isDown(_root.string_c_key) && (!c_tapping)) || (_root.backlight == true)) {
if (((ydistance(_root.y_objectarray[0], 565) < (_root.game_speed + 1)) && (_root.backlight == false)) || ((_root.y_objectarray[0]._y > (565 - _root.game_speed)) && (_root.backlight == true))) {
tapping_count++;
if (tapping_count > max_tapping_count) {
tapping_count = 0;
tapping = false;
}
if (_root.y_objectarray[0].type == "normal") {
_root.y_objectarray[0].tapping = true;
_root.y_objectarray[0]._alpha = 0;
} else if (_root.y_objectarray[0].type == "line") {
if (_root.y_objectarray[0].pressed != true) {
_root.setGlow(_root.y_objectarray[0].bg, 16776960, 75, 12, 12, 2, 1, false, false);
_root.y_objectarray[0].pressed = true;
}
}
if (_root.y_objectarray[0].fired == false) {
if (_root.y_objectarray[0].type == "line") {
_root.multiple++;
}
attachFire("fire_yellow");
_root.y_objectarray[0].fired = true;
}
c_tapping = true;
}
}
if ((Key.isDown(_root.string_d_key) && (!d_tapping)) || (_root.backlight == true)) {
if (((ydistance(_root.r_objectarray[0], 565) < (_root.game_speed + 1)) && (_root.backlight == false)) || ((_root.r_objectarray[0]._y > (565 - _root.game_speed)) && (_root.backlight == true))) {
tapping_count++;
if (tapping_count > max_tapping_count) {
tapping_count = 0;
tapping = false;
}
if (_root.r_objectarray[0].type == "normal") {
_root.r_objectarray[0].tapping = true;
_root.r_objectarray[0]._alpha = 0;
} else if (_root.r_objectarray[0].type == "line") {
if (_root.r_objectarray[0].pressed != true) {
_root.setGlow(_root.r_objectarray[0].bg, 16711680, 75, 12, 12, 2, 1, false, false);
_root.r_objectarray[0].pressed = true;
}
}
if (_root.r_objectarray[0].fired == false) {
if (_root.r_objectarray[0].type == "line") {
_root.multiple++;
}
attachFire("fire_red");
_root.r_objectarray[0].fired = true;
}
d_tapping = true;
}
}
if ((Key.isDown(_root.string_e_key) && (!e_tapping)) || (_root.backlight == true)) {
if (((ydistance(_root.g_objectarray[0], 565) < (_root.game_speed + 1)) && (_root.backlight == false)) || ((_root.g_objectarray[0]._y > (565 - _root.game_speed)) && (_root.backlight == true))) {
tapping_count++;
if (tapping_count > max_tapping_count) {
tapping_count = 0;
tapping = false;
}
if (_root.g_objectarray[0].type == "normal") {
_root.g_objectarray[0].tapping = true;
_root.g_objectarray[0]._alpha = 0;
} else if (_root.g_objectarray[0].type == "line") {
if (_root.g_objectarray[0].pressed != true) {
_root.setGlow(_root.g_objectarray[0].bg, 65280, 75, 12, 12, 2, 1, false, false);
_root.g_objectarray[0].pressed = true;
}
}
if (_root.g_objectarray[0].fired == false) {
if (_root.g_objectarray[0].type == "line") {
_root.multiple++;
}
attachFire("fire_green");
_root.g_objectarray[0].fired = true;
}
e_tapping = true;
}
}
}
if (Key.isDown(_root.string_e_key) || (_root.backlight == true)) {
if ((_root.g_objectarray[0].type == "line") && (_root.g_objectarray[0].pressed == true)) {
addscore2();
}
}
if (Key.isDown(_root.string_d_key) || (_root.backlight == true)) {
if ((_root.r_objectarray[0].type == "line") && (_root.r_objectarray[0].pressed == true)) {
addscore2();
}
}
if (Key.isDown(_root.string_c_key) || (_root.backlight == true)) {
if ((_root.y_objectarray[0].type == "line") && (_root.y_objectarray[0].pressed == true)) {
addscore2();
}
}
if (Key.isDown(_root.string_b_key) || (_root.backlight == true)) {
if ((_root.b_objectarray[0].type == "line") && (_root.b_objectarray[0].pressed == true)) {
addscore2();
}
}
if (Key.isDown(_root.string_a_key) || (_root.backlight == true)) {
if ((_root.d_objectarray[0].type == "line") && (_root.d_objectarray[0].pressed == true)) {
addscore2();
}
}
}
onClipEvent (enterFrame) {
if (_root.game_flag == true) {
if ((UpKeyDowned == true) || (DownKeyDowned == true)) {
tapping = false;
if (Key.isDown(_root.string_a_key)) {
string_a_down = true;
string_a.play();
if (((ydistance(_root.d_objectarray[0], 565) < max_distance) && (_root.d_objectarray[0].type == "normal")) || ((ydistance(_root.d_objectarray[0], 555) < (max_distance + 20)) && (_root.d_objectarray[0].type == "line"))) {
e_tapping = false;
d_tapping = false;
c_tapping = false;
b_tapping = false;
addscore();
attachFire("fire_orange");
if (_root.d_objectarray[0].type == "normal") {
_root.d_objectarray[0].removeMovieClip();
_root.d_objectarray.splice(0, 1);
} else if (_root.d_objectarray[0].type == "line") {
_root.multiple++;
_root.setGlow(_root.d_objectarray[0].bg, 16746496, 75, 12, 12, 2, 1, false, false);
_root.d_objectarray[0].pressed = true;
}
listTime_when_aString_pressed = getTimer();
} else {
e_tapping = true;
d_tapping = true;
c_tapping = true;
b_tapping = true;
a_tapping = true;
_root.playSong("wrong_" + (random(3) + 1));
_root.music.setVolume(30);
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
_root.updateRockPercent();
_root.multiple = 0;
reset_multiples_flag();
}
}
if (Key.isDown(_root.string_b_key)) {
string_b_down = true;
string_b.play();
if (ydistance(_root.b_objectarray[0], 565) < max_distance) {
e_tapping = false;
d_tapping = false;
c_tapping = false;
a_tapping = false;
attachFire("fire_blue");
if (_root.b_objectarray[0].type == "normal") {
addscore();
_root.b_objectarray[0].removeMovieClip();
_root.b_objectarray.splice(0, 1);
} else if (_root.b_objectarray[0].type == "line") {
_root.multiple++;
_root.setGlow(_root.b_objectarray[0].bg, 26367, 75, 12, 12, 2, 1, false, false);
_root.b_objectarray[0].pressed = true;
}
listTime_when_bString_pressed = getTimer();
} else {
_root.playSong("wrong_" + (random(3) + 1));
_root.music.setVolume(30);
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
_root.updateRockPercent();
_root.multiple = 0;
reset_multiples_flag();
}
}
if (Key.isDown(_root.string_c_key)) {
string_c_down = true;
string_c.play();
if (ydistance(_root.y_objectarray[0], 565) < max_distance) {
e_tapping = false;
d_tapping = false;
b_tapping = false;
a_tapping = false;
attachFire("fire_yellow");
if (_root.y_objectarray[0].type == "normal") {
_root.y_objectarray[0].removeMovieClip();
_root.y_objectarray.splice(0, 1);
addscore();
} else if (_root.y_objectarray[0].type == "line") {
_root.multiple++;
_root.setGlow(_root.y_objectarray[0].bg, 16776960, 75, 12, 12, 2, 1, false, false);
_root.y_objectarray[0].pressed = true;
}
listTime_when_cString_pressed = getTimer();
} else {
e_tapping = true;
d_tapping = true;
c_tapping = true;
b_tapping = true;
a_tapping = true;
_root.playSong("wrong_" + (random(3) + 1));
_root.music.setVolume(30);
_root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
_root.updateRockPercent();
_root.multiple = 0;
reset_multiples_flag();
}
}
if (Key.isDown(_root.string_d_key)) {
string_d_down = true;
string_d.play();
if (ydistance(_root.r_objectarray[0], 565) < max_distance) {
e_tapping = false;
c_tapping = false;
b_tapping = false;
a_tapping = false;
attachFire("fire_red");
if (_root.r_objectarray[0].type == "normal") {
addscore();
_root.r_objectarray[0].removeMovieClip();
_root.r_objectarray.splice(0, 1);
} else if (_root.r_objectarray[0].type == "line") {
_root.multiple++;
_root.setGlow(_root.r_objectarray[0].bg, 16711680, 75, 12, 12, 2, 1, false, false);
_root.r_objectarray[0].pressed = true;
}
listTime_when_dString_pressed = getTimer();
} else {
e_tapping = true;
d_tapping = true;
c_tapping = true;
b_tapping = true;
a_tapping = true;
_root.playSong("wrong_" + (random(3) + 1));
_root.music.setVolume(30);
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
_root.updateRockPercent();
_root.multiple = 0;
reset_multiples_flag();
}
}
if (Key.isDown(_root.string_e_key)) {
string_e_down = true;
string_e.play();
if (ydistance(_root.g_objectarray[0], 565) < max_distance) {
d_tapping = false;
c_tapping = false;
b_tapping = false;
a_tapping = false;
addscore();
attachFire("fire_green");
if (_root.g_objectarray[0].type == "normal") {
_root.g_objectarray[0].removeMovieClip();
_root.g_objectarray.splice(0, 1);
} else if (_root.g_objectarray[0].type == "line") {
_root.multiple++;
_root.setGlow(_root.g_objectarray[0].bg, 65280, 75, 12, 12, 2, 1, false, false);
_root.g_objectarray[0].pressed = true;
}
listTime_when_eString_pressed = getTimer();
} else {
e_tapping = true;
d_tapping = true;
c_tapping = true;
b_tapping = true;
a_tapping = true;
_root.playSong("wrong_" + (random(3) + 1));
_root.music.setVolume(30);
_root.rock_percent = _root.rock_percent - (1 + (_root.guitars_rocmeter[_root.guitarnum - 1] * 2));
_root.updateRockPercent();
_root.multiple = 0;
reset_multiples_flag();
}
}
if (DownKeyDowned == true) {
DownKeyDowned = undefined;
}
if (UpKeyDowned == true) {
UpKeyDowned = undefined;
}
}
}
}
onClipEvent (keyDown) {
if (_root.game_flag == true) {
if (Key.getCode() == _root.up_key) {
if (UpKeyDowned == false) {
UpKeyDowned = true;
}
}
if (Key.getCode() == _root.down_key) {
if (DownKeyDowned == false) {
DownKeyDowned = true;
}
}
if (Key.getCode() == _root.string_a_key) {
button_a.pressed = true;
}
if (Key.getCode() == _root.string_b_key) {
button_b.pressed = true;
}
if (Key.getCode() == _root.string_c_key) {
button_c.pressed = true;
}
if (Key.getCode() == _root.string_d_key) {
button_d.pressed = true;
}
if (Key.getCode() == _root.string_e_key) {
button_e.pressed = true;
}
}
}
onClipEvent (keyUp) {
if (_root.game_flag == true) {
if (Key.getCode() == _root.up_key) {
UpKeyDowned = false;
}
if (Key.getCode() == _root.down_key) {
DownKeyDowned = false;
}
if ((Key.getCode() == _root.down_key) || (Key.getCode() == _root.up_key)) {
tapping = true;
tapping_count = 0;
tapping_timer = 0;
string_a_down = false;
string_b_down = false;
string_c_down = false;
string_d_down = false;
string_e_down = false;
}
if (Key.getCode() == _root.string_a_key) {
if ((_root.d_objectarray[0].type == "line") && (_root.d_objectarray[0].pressed == true)) {
_root.deleteGlow(_root.d_objectarray[0].bg);
_root.d_objectarray[0].pressed = false;
_root.d_objectarray.splice(0, 1);
}
button_a.pressed = false;
}
if (Key.getCode() == _root.string_b_key) {
if ((_root.b_objectarray[0].type == "line") && (_root.b_objectarray[0].pressed == true)) {
_root.deleteGlow(_root.b_objectarray[0].bg);
_root.b_objectarray[0].pressed = false;
_root.b_objectarray.splice(0, 1);
}
button_b.pressed = false;
}
if (Key.getCode() == _root.string_c_key) {
if ((_root.y_objectarray[0].type == "line") && (_root.y_objectarray[0].pressed == true)) {
_root.deleteGlow(_root.y_objectarray[0].bg);
_root.y_objectarray[0].pressed = false;
_root.y_objectarray.splice(0, 1);
}
button_c.pressed = false;
}
if (Key.getCode() == _root.string_d_key) {
if ((_root.r_objectarray[0].type == "line") && (_root.r_objectarray[0].pressed == true)) {
_root.deleteGlow(_root.r_objectarray[0].bg);
_root.r_objectarray[0].pressed = false;
_root.r_objectarray.splice(0, 1);
}
button_d.pressed = false;
}
if (Key.getCode() == _root.string_e_key) {
if ((_root.g_objectarray[0].type == "line") && (_root.g_objectarray[0].pressed == true)) {
_root.deleteGlow(_root.g_objectarray[0].bg);
_root.g_objectarray[0].pressed = false;
_root.g_objectarray.splice(0, 1);
}
button_e.pressed = false;
}
_root.music.setVolume(100);
}
}
Instance of Symbol 630 MovieClip "mini_guitar" in Frame 9
onClipEvent (load) {
glow = _root.bonusbar_capacity * (_root.starting_capacity / 100);
_root.glowmax = _root.bonusbar_capacity;
gotoAndStop(_root.guitarnum);
_root.flashlight = false;
_root.backlight = false;
flag = false;
}
onClipEvent (keyDown) {
if (_root.game_flag == true) {
if (Key.getCode() == _root.flash_key) {
if (_root.flashlight == false) {
if (glow > 15) {
_root.tip("blue", "\u041C\u043E\u043B\u043D\u0438\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430! \u041E\u0447\u043A\u0438 x2");
_root.flashlight = true;
}
} else if (_root.flashlight == true) {
_root.tip("red", "\u041C\u043E\u043B\u043D\u0438\u044F \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0430!");
_root.flashlight = false;
}
} else if (Key.getCode() == _root.backstring_light_key) {
if (_root.backlight == false) {
if (glow > 15) {
_root.tip("green", "\u0422\u044D\u043F\u043F\u0438\u043D\u0433! \u0410\u0432\u0442\u043E-\u0438\u0433\u0440\u0430 \u043D\u043E\u0442");
_root.backlight = true;
}
} else if (_root.backlight == true) {
_root.tip("green", "\u0422\u044D\u043F\u043F\u0438\u043D\u0433 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D!");
_root.backlight = false;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flashlight == true) {
if (glow > 0) {
if (_root.game_flag == true) {
glow--;
}
} else {
_root.flashlight = false;
}
}
if (_root.backlight == true) {
if (glow > 2) {
if (_root.game_flag == true) {
glow = glow - 2;
}
} else {
_root.backlight = false;
}
}
}
Instance of Symbol 636 MovieClip in Frame 9
onClipEvent (load) {
_alpha = 0;
show = false;
percent = 0;
p_flag = true;
}
onClipEvent (enterFrame) {
if (_root.multiple > 30) {
show = true;
} else {
show = false;
}
if (show == true) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if (p_flag == true) {
percent = 100;
p_flag = false;
}
} else if (show == false) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
}
if (p_flag == false) {
p_flag = true;
}
}
if (_root.multiple >= 1000) {
if (_currentframe != 2) {
percent = 100;
gotoAndStop (2);
}
} else if (_currentframe != 1) {
gotoAndStop (1);
}
if (percent > 0) {
_root.adjustColor(this, int(percent), int(percent), int(percent), int(percent / 4));
percent = percent - 5;
}
}
Instance of Symbol 644 MovieClip "rockmeter" in Frame 9
onClipEvent (load) {
huemin = -100;
huemax = 0;
saturationmin = 20;
saturationmax = 0;
brightnessmin = -40;
brightnessmax = 0;
}
onClipEvent (enterFrame) {
if (meter._rotation != (0.9 * _root.rock_percent)) {
meter._rotation = (highlight._rotation = 0.9 * _root.rock_percent);
}
}
Instance of Symbol 648 MovieClip "tiptext" in Frame 9
onClipEvent (load) {
flag = true;
flag2 = false;
}
onClipEvent (enterFrame) {
if (_root.game_flag == true) {
if (flag == false) {
if (this._currentframe != 1) {
play();
}
flag = true;
}
} else if (_root.game_flag == false) {
if (flag == true) {
stop();
flag = false;
}
}
if (this._currentframe != 1) {
if (flag2 == false) {
this.swapDepths(_root.getNextHighestDepth());
flag2 = true;
}
} else if (flag2 != false) {
flag2 = false;
}
if (_root._currentframe != 9) {
this.removeMovieClip();
}
}
Instance of Symbol 651 MovieClip "pausebutton" in Frame 9
onClipEvent (enterFrame) {
onRelease = function () {
_root.gamePause();
};
}
onClipEvent (keyDown) {
if ((Key.getCode() == _root.pause_key) && (_root.game_over == false)) {
_root.gamePause();
}
}
Instance of Symbol 712 MovieClip "pause_window" in Frame 9
onClipEvent (load) {
this._visible = false;
this._alpha = 0;
shape = false;
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root._currentframe != 9) {
this.removeMovieClip();
this._alpha = 0;
this._visible = false;
}
if (shape == false) {
if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
_alpha = 0;
this._visible = false;
delete shape;
}
} else if (shape == true) {
if (this._visible == false) {
this._visible = true;
}
if (_alpha < 100) {
_alpha = (_alpha + 20);
} else {
_alpha = 100;
delete shape;
}
}
}
Frame 10
function setGlow(object, color, alpha, xblur, yblur, strength, quality, inner, knockout) {
var _local1 = new flash.filters.GlowFilter(color, alpha, xblur, yblur, strength, quality, inner, knockout);
object.filters = [_local1];
}
function deleteGlow(object) {
object.filters = null;
}
stop();
intro_sound.setVolume(10);
Symbol 38 MovieClip Frame 1
stop();
Symbol 51 MovieClip [key] Frame 1
stop();
Symbol 59 MovieClip [key_tutorial] Frame 1
stop();
Symbol 63 MovieClip [fire_orange] Frame 20
this.removeMovieClip();
Symbol 67 MovieClip [fire_yellow] Frame 20
this.removeMovieClip();
Symbol 71 MovieClip [fire_flashlight] Frame 20
this.removeMovieClip();
Symbol 75 MovieClip [fire_blue] Frame 20
this.removeMovieClip();
Symbol 79 MovieClip [fire_red] Frame 20
this.removeMovieClip();
Symbol 83 MovieClip [fire_green] Frame 20
this.removeMovieClip();
Symbol 85 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 1
stop();
Instance of Symbol 109 MovieClip "award_clip" in Symbol 115 MovieClip [cd] Frame 1
onClipEvent (load) {
gotoAndStop(_parent.award);
}
Symbol 124 MovieClip [interface_buttons] Frame 1
stop();
Symbol 136 MovieClip Frame 1
startTime = getTimer();
Symbol 136 MovieClip Frame 30
totalTime = getTimer() - startTime;
totalFrames = 30;
fps = totalFrames / (totalTime / 1000);
cpu = int((fps / 30) * 100);
if (cpu <= 100) {
_parent.perfomance = ("CPU: " + cpu) + " %";
} else {
_parent.perfomance = "CPU: 100 %";
}
Symbol 148 MovieClip Frame 18
stop();
timer_flag = true;
Symbol 148 MovieClip Frame 30
stop();
Symbol 159 MovieClip Frame 49
_root.nextFrame();
Symbol 162 MovieClip Frame 41
stop();
Symbol 170 Button
on (release) {
gotoAndStop ("Game");
playSong("click", 300);
}
Symbol 174 Button
on (release) {
gotoAndStop ("help");
playSong("click", 300);
}
Symbol 178 Button
on (release) {
gotoAndStop ("Options");
playSong("click", 300);
}
Symbol 181 Button
on (release) {
loadProfileWindow();
}
Symbol 183 Button
on (press) {
}
Symbol 201 MovieClip Frame 1
stop();
Symbol 204 Button
on (release) {
_visible = false;
}
Symbol 213 Button
on (release) {
_root.saveAccountName(new_name, this.account);
}
Symbol 216 Button
on (release) {
_root.loadProfileWindow();
}
Symbol 222 Button
on (release) {
_root.load_profile(this.account);
}
Symbol 225 Button
on (release) {
clear_verify._visible = true;
}
Symbol 229 Button
on (release) {
_root.clearProfileData(_parent.account);
_visible = false;
}
Symbol 230 Button
on (release) {
_visible = false;
}
Symbol 232 MovieClip Frame 1
stop();
Instance of Symbol 196 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
_root.setGlow(this, 6710886, 100, 10, 10, 1, 1, false, false);
}
Symbol 233 MovieClip Frame 1
stop();
Instance of Symbol 196 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
var glow_high = (new flash.filters.GlowFilter(6710886, 100, 10, 10, 1, 1, false, false));
this.filters = new Array(glow_high);
}
Instance of Symbol 201 MovieClip "account_1" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
onRelease = function () {
_root.load_account(1);
};
}
Instance of Symbol 201 MovieClip "account_2" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
onRelease = function () {
_root.load_account(2);
};
}
Instance of Symbol 201 MovieClip "account_3" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
onRelease = function () {
_root.load_account(3);
};
}
Instance of Symbol 208 MovieClip in Symbol 233 MovieClip Frame 2
onClipEvent (load) {
_root.setGlow(this, 6710886, 100, 10, 10, 1, 1, false, false);
}
Instance of Symbol 232 MovieClip "clear_verify" in Symbol 233 MovieClip Frame 3
onClipEvent (load) {
this._visible = false;
}
Symbol 238 Button
on (release) {
apply_cheatcode(cheat);
}
Symbol 245 Button
on (release) {
prevFrame();
}
Symbol 247 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
_root.setGlow(this, 6710886, 100, 10, 10, 1, 1, false, false);
}
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
stop();
Symbol 259 MovieClip Frame 3
stop();
Symbol 259 MovieClip Frame 4
stop();
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 1;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 2;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 3;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 4;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 5;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 6;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 7;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
_parent.qual = "\u0421\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u0435: " + String(_root._quality).toLowerCase();
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
if (_root._quality == "LOW") {
_root._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
_root._quality = "HIGH";
} else if (_root._quality == "HIGH") {
_root._quality = "LOW";
}
_parent.qual = "\u0421\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u0435: " + String(_root._quality).toLowerCase();
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
_parent.s_qual = ("\u0411\u0438\u0442\u0440\u0435\u0439\u0442 \u0437\u0432\u0443\u043A\u0430: " + _root.songs_bitrate) + " kbs";
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
if (_root.songs_bitrate == 96) {
_root.songs_bitrate = 128;
} else if (_root.songs_bitrate == 128) {
_root.songs_bitrate = 192;
} else if (_root.songs_bitrate == 192) {
_root.songs_bitrate = 64;
} else {
_root.songs_bitrate = 96;
}
_parent.s_qual = ("\u0411\u0438\u0442\u0440\u0435\u0439\u0442 \u0437\u0432\u0443\u043A\u0430: " + _root.songs_bitrate) + " kbs";
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 8;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 9;
};
}
Instance of Symbol 251 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
onRollOver = function () {
_alpha = 100;
};
onRollOut = function () {
_alpha = 0;
};
onRelease = function () {
_parent._parent.new_key._visible = true;
_parent._parent.new_key.return_key = 10;
};
}
Instance of Symbol 287 MovieClip "scrollbar" in Symbol 289 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_height != _parent.scrollbar_height) {
_height = _parent.scrollbar_height;
}
}
Instance of Symbol 288 MovieClip "slider" in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
_ymin = _y;
_ymax = (_ymin + _parent.scrollbar_height) - 30;
drag = false;
drag_flag = false;
this._visible = false;
list_ymin = _parent._parent.list._y;
list_dy = 0;
q = undefined;
}
onClipEvent (mouseDown) {
if ((((_parent._xmouse > (_x - (_width / 2))) && (_parent._xmouse < (_x + (_width / 2)))) && (_parent._ymouse > (_y - (_height / 2)))) && (_parent._ymouse < (_y + (_height / 2)))) {
if (drag_flag == true) {
q = _root._quality;
_root._quality = "LOW";
drag = true;
}
}
}
onClipEvent (mouseUp) {
if (drag == true) {
_root._quality = q;
delete q;
drag = false;
}
}
onClipEvent (enterFrame) {
if (_ymax != ((_ymin + _parent.scrollbar_height) - 30)) {
_ymax = (_ymin + _parent.scrollbar_height) - 30;
}
if (drag == true) {
_y = _parent._ymouse;
}
if (_parent._parent.list._height <= _parent.list_height) {
if (this._visible != false) {
drag_flag = false;
_y = _ymin;
this._visible = false;
}
} else if (this._visible != true) {
drag_flag = true;
this._visible = true;
}
if (_parent._parent.list._y != (list_ymin - list_dy)) {
_parent._parent.list._y = list_ymin - list_dy;
}
if (this._y > _ymax) {
this._y = _ymax;
}
if (this._y < _ymin) {
this._y = _ymin;
}
list_dy = ((_y - _ymin) / (_ymax - _ymin)) * (_parent._parent.list._height - _parent.list_height);
}
Symbol 295 Button
on (release) {
_root.pause_key = key10;
_root.backstring_light_key = key9;
_root.flash_key = key8;
_root.down_key = key7;
_root.up_key = key6;
_root.string_a_key = key5;
_root.string_b_key = key4;
_root.string_c_key = key3;
_root.string_d_key = key2;
_root.string_e_key = key1;
var shared_object = SharedObject.getLocal("guitar_hero");
shared_object.data["songs_bitrate" + _root.account_n] = _root.songs_bitrate;
shared_object.data["pause_key" + _root.account_n] = key10;
shared_object.data["backstring_light_key" + _root.account_n] = key9;
shared_object.data["flash_key" + _root.account_n] = key8;
shared_object.data["down_key" + _root.account_n] = key7;
shared_object.data["up_key" + _root.account_n] = key6;
shared_object.data["string_a_key" + _root.account_n] = key5;
shared_object.data["string_b_key" + _root.account_n] = key4;
shared_object.data["string_c_key" + _root.account_n] = key3;
shared_object.data["string_d_key" + _root.account_n] = key2;
shared_object.data["string_e_key" + _root.account_n] = key1;
shared_object.data["quality" + _root.account_n] = _root._quality;
_root.playSong("click", 300);
_root.gotoAndStop("Main");
}
Symbol 298 Button
on (release) {
_root.playSong("click", 300);
_root.gotoAndStop("Main");
}
Symbol 301 Button
on (release) {
keyboard_settings._visible = true;
}
Symbol 314 Button
on (rollOver) {
keyb_set.gotoAndStop(1);
}
on (release) {
_parent.key1 = 53;
_parent.key2 = 52;
_parent.key3 = 51;
_parent.key4 = 50;
_parent.key5 = 49;
_parent.key6 = 221;
_parent.key7 = 219;
_parent.key8 = 80;
_parent.key9 = 79;
_parent.key10 = 32;
_visible = false;
}
Symbol 316 Button
on (rollOver) {
keyb_set.gotoAndStop(2);
}
on (release) {
_parent.key1 = 86;
_parent.key2 = 67;
_parent.key3 = 88;
_parent.key4 = 90;
_parent.key5 = 16;
_parent.key6 = 39;
_parent.key7 = 37;
_parent.key8 = 38;
_parent.key9 = 40;
_parent.key10 = 27;
_visible = false;
}
Symbol 318 Button
on (rollOver) {
keyb_set.gotoAndStop(3);
}
on (release) {
_parent.key1 = 16;
_parent.key2 = 191;
_parent.key3 = 190;
_parent.key4 = 188;
_parent.key5 = 77;
_parent.key6 = 65;
_parent.key7 = 68;
_parent.key8 = 87;
_parent.key9 = 83;
_parent.key10 = 27;
_visible = false;
}
Symbol 319 Button
on (release) {
_visible = false;
}
Instance of Symbol 312 MovieClip "keyb_set" in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 285 MovieClip "list" in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
this.setMask(_parent.mask);
}
Instance of Symbol 289 MovieClip "scrollbar" in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
list_height = 450;
scrollbar_height = 450;
}
Instance of Symbol 320 MovieClip "keyboard_settings" in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
bt.useHandCursor = false;
}
Instance of Symbol 323 MovieClip "new_key" in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
return_key = undefined;
}
onClipEvent (keyDown) {
if (this._visible == true) {
_parent["key" + return_key] = Key.getCode();
_parent["key_" + return_key] = _parent.decode(_parent["key_" + return_key]);
_visible = false;
}
}
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 16
stop();
Symbol 363 Button
on (release) {
_root.gotoAndStop("Game");
}
Symbol 373 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 1
stop();
Instance of Symbol 124 MovieClip [interface_buttons] "apply" in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
label = "\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C";
_visible = false;
}
onClipEvent (enterFrame) {
if (((((_parent.historic_tapping_duration != _root.tapping_duration) || (_parent.historic_tapping_notes != _root.tapping_notes)) || (_parent.historic_max_multiple != _root.max_multiple)) || (_parent.historic_bonusbar_capacity != _root.bonusbar_capacity)) || (_root.starting_capacity != _parent.historic_starting_capacity)) {
if (this._visible != true) {
this._visible = true;
}
} else if (this._visible != false) {
this._visible = false;
}
onRelease = function () {
var _local3 = SharedObject.getLocal("guitar_hero");
_local3.data["tapping_duration" + _root.account_n] = _parent.historic_tapping_duration;
_local3.data["tapping_notes" + _root.account_n] = _parent.historic_tapping_notes;
_local3.data["max_multiple" + _root.account_n] = _parent.historic_max_multiple;
_local3.data["bonusbar_capacity" + _root.account_n] = _parent.historic_bonusbar_capacity;
_local3.data["skill_points" + _root.account_n] = _parent.historic_skill_points;
_local3.data["starting_capacity" + _root.account_n] = _parent.historic_starting_capacity;
_root.tapping_duration = _parent.historic_tapping_duration;
_root.tapping_notes = _parent.historic_tapping_notes;
_root.max_multiple = _parent.historic_max_multiple;
_root.bonusbar_capacity = _parent.historic_bonusbar_capacity;
_root.skill_points = _parent.historic_skill_points;
_root.starting_capacity = _parent.historic_starting_capacity;
};
}
Instance of Symbol 124 MovieClip [interface_buttons] "undo" in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
label = "\u041E\u0442\u043C\u0435\u043D\u0430";
_visible = false;
}
onClipEvent (enterFrame) {
if (((((_parent.historic_tapping_duration != _root.tapping_duration) || (_parent.historic_tapping_notes != _root.tapping_notes)) || (_parent.historic_max_multiple != _root.max_multiple)) || (_parent.historic_bonusbar_capacity != _root.bonusbar_capacity)) || (_root.starting_capacity != _parent.historic_starting_capacity)) {
if (this._visible != true) {
this._visible = true;
}
} else if (this._visible != false) {
this._visible = false;
}
onRelease = function () {
_parent.historic_tapping_duration = _root.tapping_duration;
_parent.historic_tapping_notes = _root.tapping_notes;
_parent.historic_max_multiple = _root.max_multiple;
_parent.historic_bonusbar_capacity = _root.bonusbar_capacity;
_parent.historic_skill_points = _root.skill_points;
_parent.historic_starting_capacity = _root.starting_capacity;
};
}
Instance of Symbol 373 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
label = "+100 (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: 1 \u043E\u0447\u043A.\u0443\u043C.)";
var glow_low = (new flash.filters.GlowFilter(26112, 100, 10, 10, 1, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(16711680, 50, 14, 14, 1, 1, false, false));
var glow_high = (new flash.filters.GlowFilter(26112, 100, 14, 14, 2, 1, false, false));
this.filters = new Array(glow_low);
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.historic_tapping_duration >= 2000) {
if (_currentframe != 2) {
gotoAndStop (2);
this.filters = new Array(glow_red);
this._visible = true;
delete onRollOver;
delete onRollOut;
delete onRelease;
}
} else {
if (_currentframe != 1) {
gotoAndStop (1);
}
if (_parent.historic_skill_points >= 1) {
if (this._visible != true) {
this._visible = true;
}
} else if (this._visible != false) {
this._visible = false;
}
onRollOver = function () {
this.filters = new Array(glow_high);
};
onRollOut = function () {
this.filters = new Array(glow_low);
};
onRelease = function () {
_parent.historic_tapping_duration = _parent.historic_tapping_duration + 100;
_parent.historic_skill_points--;
};
}
}
Instance of Symbol 373 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
label = "+1 (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: 1 \u043E\u0447\u043A.\u0443\u043C.)";
var glow_low = (new flash.filters.GlowFilter(26112, 100, 10, 10, 1, 1, false, false));
var glow_high = (new flash.filters.GlowFilter(26112, 100, 14, 14, 2, 1, false, false));
this.filters = new Array(glow_low);
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.historic_skill_points >= 1) {
if (this._visible != true) {
this._visible = true;
}
} else if (this._visible != false) {
this._visible = false;
}
onRollOver = function () {
this.filters = new Array(glow_high);
};
onRollOut = function () {
this.filters = new Array(glow_low);
};
onRelease = function () {
_parent.historic_tapping_notes = _parent.historic_tapping_notes + 1;
_parent.historic_skill_points--;
};
}
Instance of Symbol 373 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
label = ("+1 (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: " + Math.ceil((_parent.historic_max_multiple / 2) + 1)) + " \u043E\u0447\u043A.\u0443\u043C.)";
var glow_low = (new flash.filters.GlowFilter(26112, 100, 10, 10, 1, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(16711680, 50, 14, 14, 1, 1, false, false));
var glow_high = (new flash.filters.GlowFilter(26112, 100, 14, 14, 2, 1, false, false));
this.filters = new Array(glow_low);
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.historic_max_multiple >= 20) {
if (_currentframe != 2) {
gotoAndStop (2);
this.filters = new Array(glow_red);
this._visible = true;
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
}
} else {
if (_currentframe != 1) {
gotoAndStop (1);
}
if (_parent.historic_skill_points >= Math.ceil((_parent.historic_max_multiple / 2) + 1)) {
if (this._visible != true) {
this._visible = true;
label = ("+1 (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: " + Math.ceil((_parent.historic_max_multiple / 2) + 1)) + " \u043E\u0447\u043A.\u0443\u043C.)";
}
} else if (this._visible != false) {
this._visible = false;
}
this.onRollOver = function () {
this.filters = new Array(glow_high);
};
this.onRollOut = function () {
this.filters = new Array(glow_low);
};
this.onRelease = function () {
_parent.historic_skill_points = _parent.historic_skill_points - Math.ceil((_parent.historic_max_multiple / 2) + 1);
_parent.historic_max_multiple = _parent.historic_max_multiple + 1;
label = ("+1 (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: " + Math.ceil((_parent.historic_max_multiple / 2) + 1)) + " \u043E\u0447\u043A.\u0443\u043C.)";
};
}
}
Instance of Symbol 373 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
label = "+25 (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: 2 \u043E\u0447\u043A.\u0443\u043C.)";
var glow_low = (new flash.filters.GlowFilter(26112, 100, 10, 10, 1, 1, false, false));
var glow_high = (new flash.filters.GlowFilter(26112, 100, 14, 14, 2, 1, false, false));
this.filters = new Array(glow_low);
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.historic_skill_points >= 2) {
if (this._visible != true) {
this._visible = true;
}
} else if (this._visible != false) {
this._visible = false;
}
onRollOver = function () {
this.filters = new Array(glow_high);
};
onRollOut = function () {
this.filters = new Array(glow_low);
};
onRelease = function () {
_parent.historic_bonusbar_capacity = _parent.historic_bonusbar_capacity + 25;
_parent.historic_skill_points = _parent.historic_skill_points - 2;
};
}
Instance of Symbol 373 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
label = ("+5% (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: " + Math.ceil((_parent.historic_starting_capacity / 10) + 1)) + " \u043E\u0447\u043A.\u0443\u043C.)";
var glow_low = (new flash.filters.GlowFilter(26112, 100, 10, 10, 1, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(16711680, 50, 14, 14, 1, 1, false, false));
var glow_high = (new flash.filters.GlowFilter(26112, 100, 14, 14, 2, 1, false, false));
this.filters = new Array(glow_low);
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.historic_starting_capacity >= 100) {
if (_currentframe != 2) {
_parent.historic_starting_capacity = 100;
gotoAndStop (2);
this.filters = new Array(glow_red);
this._visible = true;
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
}
} else {
if (_currentframe != 1) {
gotoAndStop (1);
}
if (_parent.historic_skill_points >= Math.ceil((_parent.historic_starting_capacity / 10) + 1)) {
if (this._visible != true) {
this._visible = true;
label = ("+5% (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: " + Math.ceil((_parent.historic_starting_capacity / 10) + 1)) + " \u043E\u0447\u043A.\u0443\u043C.)";
}
} else if (this._visible != false) {
this._visible = false;
}
this.onRollOver = function () {
this.filters = new Array(glow_high);
};
this.onRollOut = function () {
this.filters = new Array(glow_low);
};
this.onRelease = function () {
_parent.historic_skill_points = _parent.historic_skill_points - Math.ceil((_parent.historic_starting_capacity / 10) + 1);
_parent.historic_starting_capacity = _parent.historic_starting_capacity + 5;
label = ("+5% (\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C: " + Math.ceil((_parent.historic_starting_capacity / 10) + 1)) + " \u043E\u0447\u043A.\u0443\u043C.)";
};
}
}
Instance of Symbol 377 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
label = _parent.historic_skill_points;
}
onClipEvent (enterFrame) {
if (_parent.historic_skill_points > 0) {
if (_currentframe != 2) {
gotoAndStop (2);
}
} else if (_currentframe != 1) {
gotoAndStop (1);
}
if (label != _parent.historic_skill_points) {
label = _parent.historic_skill_points;
}
}
Instance of Symbol 359 MovieClip "mini_guitar" in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
var glow_low = (new flash.filters.GlowFilter(16777215, 50, 10, 10, 1, 1, false, false));
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
this.filters = new Array(glow_low);
gotoAndStop(_root.guitarnum);
if (_root.guitarnum == 1) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Songwriter Deluxe";
} else if (_root.guitarnum == 2) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Epiphone Vintage G400";
} else if (_root.guitarnum == 3) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Les Paul Studio";
} else if (_root.guitarnum == 4) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Historic SG Custom Reissue";
} else if (_root.guitarnum == 5) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Epiphone Korina Explorer";
} else if (_root.guitarnum == 6) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Flying V";
} else if (_root.guitarnum == 7) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP LTD AX2E";
} else if (_root.guitarnum == 8) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP Alexi600";
} else if (_root.guitarnum == 9) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Ibanez JS20S";
} else if (_root.guitarnum == 10) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP LTD Serpent 600";
} else if (_root.guitarnum == 11) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Dean Dime-O-Flame ML";
} else if (_root.guitarnum == 12) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Dean Razorback";
} else if (_root.guitarnum == 13) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Steve Vai Ibanez";
} else if (_root.guitarnum == 14) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP Armor Custom";
} else if (_root.guitarnum == 15) {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Shinigami \"God Of Death\"";
}
}
onClipEvent (enterFrame) {
if (_currentframe != _root.guitarnum) {
gotoAndStop(_root.guitarnum);
}
onRollOver = function () {
this.filters = new Array(glow_high);
};
onRollOut = function () {
this.filters = new Array(glow_low);
};
onRelease = function () {
_parent._visible = false;
_root.guitarselect._visible = true;
_root.guitarselect.guitarlist.reload_clips();
};
}
Instance of Symbol 378 MovieClip "skills" in Symbol 383 MovieClip Frame 1
onClipEvent (load) {
historic_tapping_duration = _root.tapping_duration;
historic_tapping_notes = _root.tapping_notes;
historic_max_multiple = _root.max_multiple;
historic_bonusbar_capacity = _root.bonusbar_capacity;
historic_skill_points = _root.skill_points;
historic_starting_capacity = _root.starting_capacity;
}
onClipEvent (enterFrame) {
function updateskills() {
historic_skill_points = _root.skill_points;
}
historic_starting_capacity_text = historic_starting_capacity + " %";
}
Symbol 401 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 1
function getFormat(n, s) {
if (n >= 1000000) {
if ((n - (int(n / 1000000) * 1000000)) == 0) {
return(int(n / 1000000) + ",000,000");
}
return((int(n / 1000000) + ",") + getFormat(n - (int(n / 1000000) * 1000000)));
}
if (n >= 1000) {
return((int(n / 1000) + ",") + getFormat(n - (int(n / 1000) * 1000)));
}
if (n >= 100) {
return(n);
}
if (n >= 10) {
if (!s) {
return("0" + n);
}
return(n);
}
if (!s) {
return("00" + n);
}
return(n);
}
function reload_clips() {
var _local2 = SharedObject.getLocal("guitar_hero");
_local2.data["guitarnum" + _root.account_n] = _root.guitarnum;
guitar_1.reLoad();
guitar_2.reLoad();
guitar_3.reLoad();
guitar_4.reLoad();
guitar_5.reLoad();
guitar_6.reLoad();
guitar_7.reLoad();
guitar_8.reLoad();
guitar_9.reLoad();
guitar_10.reLoad();
guitar_11.reLoad();
guitar_12.reLoad();
guitar_13.reLoad();
guitar_14.reLoad();
guitar_15.reLoad();
}
Instance of Symbol 359 MovieClip "guitar_1" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 0;
currentguitar = 1;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Songwriter Deluxe";
_parent._parent.features.tapping_duration = 200;
_parent._parent.features.tapping_count = 2;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(1);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Songwriter Deluxe";
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Songwriter Deluxe";
_parent._parent.features.tapping_duration = 200;
_parent._parent.features.tapping_count = 2;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(1);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_2" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 125000 /* 0x01E848 */;
currentguitar = 2;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Epiphone Vintage G400";
_parent._parent.features.tapping_duration = 300;
_parent._parent.features.tapping_count = 3;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(1);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Epiphone Vintage G400";
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Epiphone Vintage G400";
_parent._parent.features.tapping_duration = 300;
_parent._parent.features.tapping_count = 3;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(1);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_3" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 225000 /* 0x036EE8 */;
currentguitar = 3;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Les Paul Studio";
_parent._parent.features.tapping_duration = 350;
_parent._parent.features.tapping_count = 4;
_parent._parent.features.distance.gotoAndStop(1);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(1);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Les Paul Studio";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Les Paul Studio";
_parent._parent.features.tapping_duration = 350;
_parent._parent.features.tapping_count = 4;
_parent._parent.features.distance.gotoAndStop(1);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(1);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_4" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 350000 /* 0x055730 */;
currentguitar = 4;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Historic SG Custom Reissue";
_parent._parent.features.tapping_duration = 360;
_parent._parent.features.tapping_count = 4;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(1);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Historic SG Custom Reissue";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Historic SG Custom Reissue";
_parent._parent.features.tapping_duration = 360;
_parent._parent.features.tapping_count = 4;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(1);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_5" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 475000 /* 0x073F78 */;
currentguitar = 5;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Epiphone Korina Explorer";
_parent._parent.features.tapping_duration = 360;
_parent._parent.features.tapping_count = 4;
_parent._parent.features.distance.gotoAndStop(3);
_parent._parent.features.rockmeter.gotoAndStop(2);
_parent._parent.features.bonusbar.gotoAndStop(2);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Epiphone Korina Explorer";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Epiphone Korina Explorer";
_parent._parent.features.tapping_duration = 360;
_parent._parent.features.tapping_count = 4;
_parent._parent.features.distance.gotoAndStop(3);
_parent._parent.features.rockmeter.gotoAndStop(2);
_parent._parent.features.bonusbar.gotoAndStop(2);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_6" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 750000 /* 0x0B71B0 */;
currentguitar = 6;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Flying V";
_parent._parent.features.tapping_duration = 420;
_parent._parent.features.tapping_count = 5;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(2);
_parent._parent.features.bonusbar.gotoAndStop(2);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Flying V";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: Gibson Flying V";
_parent._parent.features.tapping_duration = 420;
_parent._parent.features.tapping_count = 5;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(2);
_parent._parent.features.bonusbar.gotoAndStop(2);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_7" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 1000000 /* 0x0F4240 */;
currentguitar = 7;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP LTD AX2E";
_parent._parent.features.tapping_duration = 360;
_parent._parent.features.tapping_count = 5;
_parent._parent.features.distance.gotoAndStop(1);
_parent._parent.features.rockmeter.gotoAndStop(2);
_parent._parent.features.bonusbar.gotoAndStop(3);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP LTD AX2E";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP LTD AX2E";
_parent._parent.features.tapping_duration = 360;
_parent._parent.features.tapping_count = 5;
_parent._parent.features.distance.gotoAndStop(1);
_parent._parent.features.rockmeter.gotoAndStop(2);
_parent._parent.features.bonusbar.gotoAndStop(3);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_8" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 1500000 /* 0x16E360 */;
currentguitar = 8;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "ESP Alexi600";
_parent._parent.features.tapping_duration = 400;
_parent._parent.features.tapping_count = 5;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(2);
_parent._parent.features.bonusbar.gotoAndStop(3);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP Alexi600";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "ESP Alexi600";
_parent._parent.features.tapping_duration = 400;
_parent._parent.features.tapping_count = 5;
_parent._parent.features.distance.gotoAndStop(2);
_parent._parent.features.rockmeter.gotoAndStop(2);
_parent._parent.features.bonusbar.gotoAndStop(3);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_9" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 2000000 /* 0x1E8480 */;
currentguitar = 9;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "Ibanez JS20S";
_parent._parent.features.tapping_duration = 430;
_parent._parent.features.tapping_count = 6;
_parent._parent.features.distance.gotoAndStop(4);
_parent._parent.features.rockmeter.gotoAndStop(3);
_parent._parent.features.bonusbar.gotoAndStop(3);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Ibanez JS20S";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "Ibanez JS20S";
_parent._parent.features.tapping_duration = 430;
_parent._parent.features.tapping_count = 6;
_parent._parent.features.distance.gotoAndStop(4);
_parent._parent.features.rockmeter.gotoAndStop(3);
_parent._parent.features.bonusbar.gotoAndStop(3);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_10" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 3000000 /* 0x2DC6C0 */;
currentguitar = 10;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "ESP LTD Serpent 600";
_parent._parent.features.tapping_duration = 500;
_parent._parent.features.tapping_count = 6;
_parent._parent.features.distance.gotoAndStop(4);
_parent._parent.features.rockmeter.gotoAndStop(3);
_parent._parent.features.bonusbar.gotoAndStop(4);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP LTD Serpent 600";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "ESP LTD Serpent 600";
_parent._parent.features.tapping_duration = 500;
_parent._parent.features.tapping_count = 6;
_parent._parent.features.distance.gotoAndStop(4);
_parent._parent.features.rockmeter.gotoAndStop(3);
_parent._parent.features.bonusbar.gotoAndStop(4);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_11" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 5000000 /* 0x4C4B40 */;
currentguitar = 11;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "Dean Dime-O-Flame ML";
_parent._parent.features.tapping_duration = 0;
_parent._parent.features.tapping_count = 0;
_parent._parent.features.distance.gotoAndStop(5);
_parent._parent.features.rockmeter.gotoAndStop(3);
_parent._parent.features.bonusbar.gotoAndStop(5);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Dean Dime-O-Flame ML";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "Dean Dime-O-Flame ML";
_parent._parent.features.tapping_duration = 0;
_parent._parent.features.tapping_count = 0;
_parent._parent.features.distance.gotoAndStop(5);
_parent._parent.features.rockmeter.gotoAndStop(3);
_parent._parent.features.bonusbar.gotoAndStop(5);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_12" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
need = 7500000 /* 0x7270E0 */;
currentguitar = 12;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
} else {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
}
onClipEvent (enterFrame) {
function reLoad() {
if (_root.guitarnum != currentguitar) {
if (_root.totalscore >= need) {
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 100;
this.gotoAndStop("notavaible");
need_text = ("Need " + _parent.getFormat(need - _root.totalscore, true)) + "\nscorepoints \nmore";
}
this.filters = new Array();
} else if (_root.guitarnum == currentguitar) {
_alpha = 75;
gotoAndStop(currentguitar);
this.filters = new Array(glow_red);
}
flag = true;
}
if ((_root.totalscore >= need) && (_root.guitarnum != currentguitar)) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "Dean Razorback";
_parent._parent.features.tapping_duration = 800;
_parent._parent.features.tapping_count = 10;
_parent._parent.features.distance.gotoAndStop(5);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(5);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Dean Razorback";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
if (flag != true) {
flag = true;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "Dean Razorback";
_parent._parent.features.tapping_duration = 800;
_parent._parent.features.tapping_count = 10;
_parent._parent.features.distance.gotoAndStop(5);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(5);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_13" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
currentguitar = 13;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitar1_unlocked == true) {
if (_root.guitarnum == currentguitar) {
this.filters = new Array(glow_red);
}
_x = 1917;
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 0;
_x = 200;
}
}
onClipEvent (enterFrame) {
function reLoad() {
this.filters = new Array();
flag = true;
}
if (_root.guitar1_unlocked == true) {
if (flag == true) {
_x = 1917;
_alpha = 75;
if (_root.guitarnum != currentguitar) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "Ibanes JEM77V Steve Vai";
_parent._parent.features.tapping_duration = 2500;
_parent._parent.features.tapping_count = 10;
_parent._parent.features.distance.gotoAndStop(7);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(8);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: Steve Vai Ibanez";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
} else {
this.filters = new Array(glow_red);
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "Ibanes JEM77V Steve Vai";
_parent._parent.features.tapping_duration = 2500;
_parent._parent.features.tapping_count = 10;
_parent._parent.features.distance.gotoAndStop(7);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(8);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
}
delete flag;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
_alpha = 0;
_x = 200;
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_14" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
currentguitar = 14;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitar2_unlocked == true) {
if (_root.guitarnum == currentguitar) {
this.filters = new Array(glow_red);
}
if (_root.guitar1_unlocked == true) {
_x = 2067;
} else {
_x = 1917;
}
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 0;
_x = 200;
}
}
onClipEvent (enterFrame) {
function reLoad() {
this.filters = new Array();
flag = true;
}
if (_root.guitar2_unlocked == true) {
if (flag == true) {
if (_root.guitar1_unlocked == true) {
_x = 2067;
} else {
_x = 1917;
}
_alpha = 75;
if (_root.guitarnum != currentguitar) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "ESP Armor Custom";
_parent._parent.features.tapping_duration = 3000;
_parent._parent.features.tapping_count = 10;
_parent._parent.features.distance.gotoAndStop(10);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(7);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "\u0413\u0438\u0442\u0430\u0440\u0430: ESP Armor Custom";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
} else {
this.filters = new Array(glow_red);
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "ESP Armor Custom";
_parent._parent.features.tapping_duration = 3000;
_parent._parent.features.tapping_count = 10;
_parent._parent.features.distance.gotoAndStop(10);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(7);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
}
delete flag;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
_alpha = 0;
_x = 200;
delete flag;
}
}
Instance of Symbol 359 MovieClip "guitar_15" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
currentguitar = 15;
var glow_high = (new flash.filters.GlowFilter(16777215, 100, 14, 14, 2, 1, false, false));
var glow_red = (new flash.filters.GlowFilter(6553600, 75, 14, 14, 2, 1, false, false));
if (_root.guitar3_unlocked == true) {
if (_root.guitarnum == currentguitar) {
this.filters = new Array(glow_red);
}
if (_root.guitar1_unlocked == true) {
if (_root.guitar2_unlocked == true) {
_x = 2217;
} else {
_x = 2067;
}
} else if (_root.guitar2_unlocked == true) {
_x = 2067;
} else {
_x = 1917;
}
_alpha = 75;
gotoAndStop(currentguitar);
} else {
_alpha = 0;
_x = 200;
}
}
onClipEvent (enterFrame) {
function reLoad() {
this.filters = new Array();
flag = true;
}
if (_root.guitar3_unlocked == true) {
if (flag == true) {
if (_root.guitar1_unlocked == true) {
if (_root.guitar2_unlocked == true) {
_x = 2217;
} else {
_x = 2067;
}
} else if (_root.guitar2_unlocked == true) {
_x = 2067;
} else {
_x = 1917;
}
_alpha = 75;
if (_root.guitarnum != currentguitar) {
onRollOver = function () {
_alpha = 100;
this.filters = new Array(glow_high);
_parent._parent.features._visible = true;
_parent._parent.features.model = "Shinigami \"God Of Death\"";
_parent._parent.features.tapping_duration = 5000;
_parent._parent.features.tapping_count = 15;
_parent._parent.features.distance.gotoAndStop(11);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(11);
};
onRollOut = function () {
_alpha = 75;
this.filters = new Array();
_parent._parent.features._visible = false;
};
onRelease = function () {
_root.guitar_modelName = "Shinigami \"God Of Death\"";
_root.guitarnum = currentguitar;
_parent.reload_clips();
_root.guitarselect._visible = false;
_root.store_clip._visible = true;
};
} else {
this.filters = new Array(glow_red);
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
onRollOver = function () {
if (_root.guitarnum == currentguitar) {
_parent._parent.features._visible = true;
_parent._parent.features.model = "Shinigami \"God Of Death\"";
_parent._parent.features.tapping_duration = 5000;
_parent._parent.features.tapping_count = 15;
_parent._parent.features.distance.gotoAndStop(11);
_parent._parent.features.rockmeter.gotoAndStop(1);
_parent._parent.features.bonusbar.gotoAndStop(11);
}
};
onRollOut = function () {
_parent._parent.features._visible = false;
};
}
delete flag;
}
} else if (flag == true) {
delete this.onRollOver;
delete this.onRollOut;
delete this.onRelease;
_alpha = 0;
_x = 200;
delete flag;
}
}
Symbol 410 Button
on (release) {
_visible = false;
_root.store_clip._visible = true;
}
Symbol 411 MovieClip Frame 1
stop();
Instance of Symbol 407 MovieClip "features" in Symbol 411 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 408 MovieClip "guitarlist" in Symbol 411 MovieClip Frame 1
onClipEvent (load) {
_x = -350;
dx = 0;
this.setMask(_parent.mask);
xm = 0;
}
onClipEvent (enterFrame) {
if (_parent._visible == true) {
if (xm > 300) {
this._x = this._x - ((xm - 300) / 2);
} else if (xm < -300) {
this._x = this._x - ((xm + 300) / 2);
}
if (_x < ((-_width) + 300)) {
_x = ((-_width) + 300);
} else if (_x > -350) {
_x = -350;
}
} else if (_x != -350) {
xm = 0;
_x = -350;
}
}
onClipEvent (mouseMove) {
xm = _parent._xmouse;
}
Instance of Symbol 287 MovieClip "scrollbar" in Symbol 418 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_height != _parent.scrollbar_height) {
_height = _parent.scrollbar_height;
}
}
Instance of Symbol 417 MovieClip "slider" in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
_ymin = _y;
_ymax = (_ymin + _parent.scrollbar_height) - 30;
drag = false;
drag_flag = false;
this._visible = false;
list_ymin = 0;
list_dy = 0;
}
onClipEvent (mouseDown) {
if ((((_parent._xmouse > (_x - (_width / 2))) && (_parent._xmouse < (_x + (_width / 2)))) && (_parent._ymouse > (_y - (_height / 2)))) && (_parent._ymouse < (_y + (_height / 2)))) {
if (drag_flag == true) {
drag = true;
}
}
}
onClipEvent (mouseUp) {
if (drag == true) {
drag = false;
}
}
onClipEvent (enterFrame) {
if (_ymax != ((_ymin + _parent.scrollbar_height) - 30)) {
_ymax = (_ymin + _parent.scrollbar_height) - 30;
}
if (drag == true) {
_y = _parent._ymouse;
}
if (_parent._parent.list._height <= _parent.list_height) {
if (this._visible != false) {
drag_flag = false;
_y = _ymin;
this._visible = false;
}
} else if (this._visible != true) {
drag_flag = true;
this._visible = true;
}
if (_parent._parent.list._y != (list_ymin - list_dy)) {
_parent._parent.list._y = list_ymin - list_dy;
}
if (this._y > _ymax) {
this._y = _ymax;
}
if (this._y < _ymin) {
this._y = _ymin;
}
list_dy = ((_y - _ymin) / (_ymax - _ymin)) * (_parent._parent.list._height - _parent.list_height);
}
Symbol 420 Button
on (release) {
gotoAndStop ("Main");
}
Symbol 423 Button
on (release) {
gotoAndStop ("store");
}
Symbol 433 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 20
gotoAndPlay (1);
Symbol 465 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 42
gotoAndPlay (1);
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 7
gotoAndStop (1);
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 2
stop();
Symbol 509 MovieClip Frame 3
stop();
Symbol 509 MovieClip Frame 4
stop();
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 2
stop();
Symbol 516 MovieClip Frame 3
stop();
Symbol 516 MovieClip Frame 4
stop();
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 2
stop();
Symbol 523 MovieClip Frame 3
stop();
Symbol 523 MovieClip Frame 4
stop();
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 2
stop();
Symbol 530 MovieClip Frame 3
stop();
Symbol 530 MovieClip Frame 4
stop();
Instance of Symbol 445 MovieClip "light" in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
_alpha = 0;
flag = true;
}
onClipEvent (enterFrame) {
if (_root.game_flag == true) {
if (flag == false) {
play();
flag = true;
}
} else if (_root.game_flag == false) {
if (flag == true) {
stop();
flag = false;
}
}
}
Instance of Symbol 489 MovieClip "leads" in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
this.setMask(_parent.guitar_mask);
}
onClipEvent (enterFrame) {
if (_y > 0) {
_y = (_y - (_height / 2));
}
if (_root.game_flag == true) {
_y = (_y + _root.game_speed);
}
}
Instance of Symbol 492 MovieClip "backstring_light" in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
_alpha = 0;
flag = true;
}
onClipEvent (enterFrame) {
if (_root.game_flag == true) {
if (flag == false) {
play();
flag = true;
}
} else if (_root.game_flag == false) {
if (flag == true) {
stop();
flag = false;
}
}
}
Instance of Symbol 509 MovieClip "button_a" in Symbol 531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (pressed == true) {
gotoAndStop (2);
} else if (pressed == false) {
gotoAndStop (1);
}
}
Instance of Symbol 516 MovieClip "button_b" in Symbol 531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (pressed == true) {
gotoAndStop (2);
} else if (pressed == false) {
gotoAndStop (1);
}
}
Instance of Symbol 523 MovieClip "button_c" in Symbol 531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (pressed == true) {
gotoAndStop (2);
} else if (pressed == false) {
gotoAndStop (1);
}
}
Instance of Symbol 530 MovieClip "button_d" in Symbol 531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (pressed == true) {
gotoAndStop (2);
} else if (pressed == false) {
gotoAndStop (1);
}
}
Instance of Symbol 259 MovieClip "button_e" in Symbol 531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (pressed == true) {
gotoAndStop (2);
} else if (pressed == false) {
gotoAndStop (1);
}
}
Symbol 567 MovieClip Frame 1
stop();
Instance of Symbol 567 MovieClip in Symbol 622 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.flashlight == false) {
if (int(_root.multiple / 10) < _root.max_multiple) {
if (this._currentframe != (int(_root.multiple / 10) + 1)) {
this.gotoAndStop(int(_root.multiple / 10) + 1);
}
} else if (this._currentframe != _root.max_multiple) {
this.gotoAndStop(_root.max_multiple);
}
} else if (_root.flashlight == true) {
if ((Math.ceil(_root.multiple / 10) * 2) < (_root.max_multiple * 2)) {
if (this._currentframe != (Math.ceil(_root.multiple / 10) * 2)) {
this.gotoAndStop(Math.ceil(_root.multiple / 10) * 2);
}
} else if (this._currentframe != (_root.max_multiple * 2)) {
this.gotoAndStop(_root.max_multiple * 2);
}
}
}
Instance of Symbol 618 MovieClip in Symbol 622 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe != (_root.multiple + 1)) {
gotoAndStop(_root.multiple + 1);
}
}
Instance of Symbol 623 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_xscale != (Math.round((_root.music.position * 50) / _root.music.duration) * 2)) {
_xscale = (Math.round((_root.music.position * 50) / _root.music.duration) * 2);
}
}
Instance of Symbol 623 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
_xscale = 0;
}
onClipEvent (enterFrame) {
if (_xscale != (Math.round((_root.mini_guitar.glow * 50) / _root.glowmax) * 2)) {
_xscale = (Math.round((_root.mini_guitar.glow * 50) / _root.glowmax) * 2);
}
if (_xscale > 100) {
_xscale = 100;
}
}
Instance of Symbol 623 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
_xscale = 0;
scale = 0;
}
onClipEvent (enterFrame) {
if (scale != (Math.round((_root.mini_guitar.glow * 50) / _root.glowmax) * 2)) {
scale = Math.round((_root.mini_guitar.glow * 50) / _root.glowmax) * 2;
}
if (scale > 100) {
scale = 100;
}
if (_xscale != scale) {
if (_alpha < 100) {
_alpha = (_alpha + 25);
}
_xscale = (_xscale + Math.ceil((scale - _xscale) / 4));
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Symbol 630 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 50
gotoAndStop (1);
Symbol 648 MovieClip Frame 99
gotoAndStop (1);
Symbol 648 MovieClip Frame 148
gotoAndStop (1);
Symbol 648 MovieClip Frame 197
gotoAndStop (1);
Symbol 648 MovieClip Frame 246
gotoAndStop (1);
Symbol 651 MovieClip Frame 1
stop();
Symbol 656 Button
on (release) {
_root.gamePause();
shape = false;
}
Symbol 659 Button
on (release) {
_root.restart_song();
shape = false;
}
Symbol 662 Button
on (release) {
_root.quit_song();
shape = false;
}
Symbol 665 Button
on (release) {
keyboard_settings._visible = true;
}
Symbol 670 Button
on (rollOver) {
keyb_set.gotoAndStop(1);
}
on (release) {
_root.changeKeyboardSet(53, 52, 51, 50, 49, 221, 219, 80, 79, 32);
_visible = false;
}
Symbol 672 Button
on (rollOver) {
keyb_set.gotoAndStop(2);
}
on (release) {
_root.changeKeyboardSet(86, 67, 88, 90, 16, 39, 37, 38, 40, 27);
_visible = false;
}
Symbol 674 Button
on (rollOver) {
keyb_set.gotoAndStop(3);
}
on (release) {
_root.changeKeyboardSet(16, 191, 190, 188, 77, 65, 68, 87, 83, 27);
_visible = false;
}
Instance of Symbol 668 MovieClip in Symbol 676 MovieClip Frame 1
onClipEvent (load) {
_root.setGlow(this, 6710886, 100, 10, 10, 1, 1, false, false);
}
Instance of Symbol 312 MovieClip "keyb_set" in Symbol 676 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 690 Button
on (release) {
stopAllSounds();
_root.restart_song();
shape = false;
}
Symbol 693 Button
on (release) {
stopAllSounds();
_root.saveSongResult();
shape = false;
}
Symbol 701 MovieClip Frame 1
stop();
Symbol 711 Button
on (release) {
stopAllSounds();
_root.quit_song();
shape = false;
}
Symbol 712 MovieClip Frame 1
stop();
Instance of Symbol 653 MovieClip in Symbol 712 MovieClip Frame 1
onClipEvent (load) {
_root.setGlow(this, 6710886, 100, 10, 10, 1, 1, false, false);
}
Instance of Symbol 676 MovieClip "keyboard_settings" in Symbol 712 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
bt.useHandCursor = false;
}
Symbol 712 MovieClip Frame 11
stop();
Instance of Symbol 678 MovieClip in Symbol 712 MovieClip Frame 11
onClipEvent (load) {
_root.setGlow(this, 6710886, 100, 10, 10, 1, 1, false, false);
}
Symbol 715 Button
on (release) {
_root.intro_sound.setVolume(50);
_root.gotoAndStop("Main");
}
Symbol 720 MovieClip Frame 1
stop();
Symbol 723 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 1
stop();
Symbol 729 MovieClip Frame 1
stop();
Symbol 732 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 1
stop();
Symbol 738 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 1
stop();
Symbol 742 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 1
stop();
Instance of Symbol 720 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_e_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 723 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_d_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 726 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_c_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 729 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_b_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 732 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_a_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 736 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.down_key)) {
if (this._currentframe != 3) {
gotoAndStop (3);
}
} else if (Key.isDown(_root.up_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 738 MovieClip "green_ok" in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_e_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 740 MovieClip "red_ok" in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_e_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 742 MovieClip "yellow_ok" in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_e_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 744 MovieClip "blue_ok" in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_e_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 746 MovieClip "orange_ok" in Symbol 747 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_e_key)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Symbol 749 Button
on (press) {
_parent.nextFrame();
}
Symbol 750 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 2
stop();
Symbol 879 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 2
stop();
Symbol 880 MovieClip Frame 1
stop();
Symbol 880 MovieClip Frame 2
stop();
Symbol 881 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 2
stop();
Symbol 883 MovieClip Frame 1
stop();
Symbol 883 MovieClip Frame 2
stop();
Instance of Symbol 876 MovieClip "leads" in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
this.setMask(_parent.guitar_mask);
}
onClipEvent (enterFrame) {
if (_parent._parent.game_pause == false) {
this._y = this._y + 5;
if (_y > 585) {
_y = (_y - 585);
}
}
}
Instance of Symbol 878 MovieClip "button_a" in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_a_key) && (_parent._parent.game_pause == false)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 879 MovieClip "button_b" in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_b_key) && (_parent._parent.game_pause == false)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 880 MovieClip "button_c" in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_c_key) && (_parent._parent.game_pause == false)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 881 MovieClip "button_d" in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_d_key) && (_parent._parent.game_pause == false)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 883 MovieClip "button_e" in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.string_e_key) && (_parent._parent.game_pause == false)) {
if (this._currentframe != 2) {
gotoAndStop (2);
}
} else if (this._currentframe != 1) {
gotoAndStop (1);
}
}
Symbol 910 MovieClip Frame 1
stop();
Instance of Symbol 747 MovieClip "Tutorial_guitar" in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
g_count = 1;
r_count = 1;
y_count = 1;
b_count = 1;
o_count = 1;
UpKeyDowned = false;
DownKeyDowned = false;
orange_ok._visible = false;
blue_ok._visible = false;
yellow_ok._visible = false;
red_ok._visible = false;
green_ok._visible = false;
}
onClipEvent (enterFrame) {
if ((UpKeyDowned == true) || (DownKeyDowned == true)) {
if (Key.isDown(_root.string_e_key)) {
if (g_count == 1) {
_root.playSong("g_1", 100);
} else if (g_count == 2) {
_root.playSong("g_2", 100);
} else if (g_count == 3) {
_root.playSong("g_3", 100);
green_ok._visible = true;
}
g_count++;
}
if (Key.isDown(_root.string_d_key)) {
if (r_count == 1) {
_root.playSong("r_1", 100);
} else if (r_count == 2) {
_root.playSong("r_2", 100);
} else if (r_count == 3) {
_root.playSong("r_3", 100);
red_ok._visible = true;
}
r_count++;
}
if (Key.isDown(_root.string_c_key)) {
if (y_count == 1) {
_root.playSong("y_1", 100);
} else if (y_count == 2) {
_root.playSong("y_2", 100);
} else if (y_count == 3) {
_root.playSong("y_3", 100);
yellow_ok._visible = true;
}
y_count++;
}
if (Key.isDown(_root.string_b_key)) {
if (b_count == 1) {
_root.playSong("b_1", 100);
} else if (b_count == 2) {
_root.playSong("b_2", 100);
} else if (b_count == 3) {
_root.playSong("b_3", 100);
blue_ok._visible = true;
}
b_count++;
}
if (Key.isDown(_root.string_a_key)) {
if (o_count == 1) {
_root.playSong("o_1", 100);
} else if (o_count == 2) {
_root.playSong("o_2", 100);
} else if (o_count == 3) {
_root.playSong("o_3", 100);
orange_ok._visible = true;
}
o_count++;
}
if (DownKeyDowned == true) {
DownKeyDowned = undefined;
}
if (UpKeyDowned == true) {
UpKeyDowned = undefined;
}
}
}
onClipEvent (keyDown) {
if (Key.getCode() == _root.up_key) {
if (UpKeyDowned == false) {
UpKeyDowned = true;
}
}
if (Key.getCode() == _root.down_key) {
if (DownKeyDowned == false) {
DownKeyDowned = true;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.up_key) {
UpKeyDowned = false;
}
if (Key.getCode() == _root.down_key) {
DownKeyDowned = false;
}
}
Instance of Symbol 750 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
label = "\u0421\u044B\u0433\u0440\u0430\u0439 \u043A\u0430\u0436\u0434\u0443\u044E \u043D\u043E\u0442\u0443 3 \u0440\u0430\u0437\u0430";
}
onClipEvent (enterFrame) {
if (((((_parent.Tutorial_guitar.g_count > 3) && (_parent.Tutorial_guitar.r_count > 3)) && (_parent.Tutorial_guitar.y_count > 3)) && (_parent.Tutorial_guitar.b_count > 3)) && (_parent.Tutorial_guitar.o_count > 3)) {
if (this._currentframe != 2) {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.down_key);
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.up_key);
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.string_a_key);
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.string_b_key);
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.string_c_key);
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.string_e_key);
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.string_d_key);
}
Symbol 910 MovieClip Frame 2
function attachFire(t) {
fire_depth++;
fire_clip = attachMovie(t, t + fire_depth, this.getNextHighestDepth());
fire_clip._y = 360;
fire_clip._alpha = 100;
this[t + (fire_depth - 3)]._alpha = this[t + (fire_depth - 3)]._alpha - 50;
this[t + (fire_depth - 4)].removeMovieClip();
if (t == "fire_orange") {
fire_clip._x = 87;
} else if (t == "fire_blue") {
fire_clip._x = 120;
} else if (t == "fire_yellow") {
fire_clip._x = 154;
} else if (t == "fire_red") {
fire_clip._x = 186;
} else if (t == "fire_green") {
fire_clip._x = 220;
}
}
game_pause = true;
name_depth = 1;
timer = 15;
object_array = [];
timeout = 30;
win = false;
fire_depth = 0;
this.onEnterFrame = function () {
if ((game_pause == false) && (win == false)) {
timer++;
if (timer > timeout) {
name_depth++;
clip = attachMovie("key", "g_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("g");
clip._xscale = (clip._yscale = 85);
clip._x = 220;
clip._y = -70;
clip.onEnterFrame = function () {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (_root._currentframe != 10) {
this.removeMovieClip();
}
if (game_pause == false) {
this._y = this._y + 5;
}
if (this._y > 390) {
this.removeMovieClip();
object_array.splice(0, 1);
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if (this._currentframe != 1) {
this.gotoAndStop(1);
}
}
};
timeout = (random(2) * 30) + 30;
object_array.push(clip);
timer = 0;
}
}
};
Instance of Symbol 750 MovieClip "bt1" in Symbol 910 MovieClip Frame 2
onClipEvent (load) {
label = "\u0421\u044B\u0433\u0440\u0430\u0439 8 \u043D\u043E\u0442 \u0434\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F";
}
onClipEvent (enterFrame) {
if (_parent.tutorial2.count >= 8) {
if (this._currentframe != 2) {
_parent.win = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 884 MovieClip "tutorial2" in Symbol 910 MovieClip Frame 2
onClipEvent (load) {
count = 0;
_parent.hits = 0;
fire_depth = 0;
UpKeyDowned = false;
DownKeyDowned = false;
}
onClipEvent (enterFrame) {
if (count <= 8) {
_parent.hits = count + "/8";
} else {
_parent.hits = "8/8";
}
if ((UpKeyDowned == true) || (DownKeyDowned == true)) {
if (Key.isDown(_root.string_e_key)) {
if (Math.abs(_parent.object_array[0]._y - 360) < 30) {
_root.playSong("g_3", 100);
_parent.attachFire("fire_green");
_parent.object_array[0].removeMovieClip();
_parent.object_array.splice(0, 1);
count++;
}
}
if (DownKeyDowned == true) {
DownKeyDowned = undefined;
}
if (UpKeyDowned == true) {
UpKeyDowned = undefined;
}
}
}
onClipEvent (keyDown) {
if (Key.getCode() == _root.up_key) {
if (UpKeyDowned == false) {
UpKeyDowned = true;
}
}
if (Key.getCode() == _root.down_key) {
if (DownKeyDowned == false) {
DownKeyDowned = true;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
if (count < 8) {
_parent.press_spacebar.shape = true;
_parent.game_pause = false;
}
}
if (Key.getCode() == _root.up_key) {
UpKeyDowned = false;
}
if (Key.getCode() == _root.down_key) {
DownKeyDowned = false;
}
}
Instance of Symbol 886 MovieClip "press_spacebar" in Symbol 910 MovieClip Frame 2
onClipEvent (enterFrame) {
if (shape == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
this.removeMovieClip();
}
}
}
Symbol 910 MovieClip Frame 3
game_pause = true;
name_depth = 1;
timer = 15;
for (i in g_object_array) {
g_object_array[i].removeMovieClip();
}
g_object_array = [];
r_object_array = [];
y_object_array = [];
timeout = 30;
nextNote = ["g", "r", "y", "g", "y", "r", "g", "r", "y", "g", "y", "r", "y", "r", "g", "r", "y", "g", "y", "r", "y", "r", "g", "r", "y", "g", "y", "r"];
win = false;
this.onEnterFrame = function () {
if ((game_pause == false) && (win == false)) {
timer++;
if (timer > timeout) {
if (nextNote[name_depth] == "g") {
name_depth++;
clip = attachMovie("key", "g_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("g");
clip._xscale = (clip._yscale = 85);
clip._x = 220;
clip._y = -70;
clip.onEnterFrame = function () {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (_root._currentframe != 10) {
this.removeMovieClip();
}
if (game_pause == false) {
this._y = this._y + 5;
}
if (this._y > 390) {
this.removeMovieClip();
g_object_array.splice(0, 1);
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if (this._currentframe != 1) {
this.gotoAndStop(1);
}
}
};
g_object_array.push(clip);
} else if (nextNote[name_depth] == "r") {
name_depth++;
clip = attachMovie("key", "r_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("r");
clip._xscale = (clip._yscale = 85);
clip._x = 186;
clip._y = -70;
clip.onEnterFrame = function () {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (_root._currentframe != 10) {
this.removeMovieClip();
}
if (game_pause == false) {
this._y = this._y + 5;
}
if (this._y > 390) {
this.removeMovieClip();
r_object_array.splice(0, 1);
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if (this._currentframe != 1) {
this.gotoAndStop(1);
}
}
};
r_object_array.push(clip);
} else if (nextNote[name_depth] == "y") {
name_depth++;
clip = attachMovie("key", "y_" + name_depth, 5000 + name_depth);
clip.gotoAndStop("y");
clip._xscale = (clip._yscale = 85);
clip._x = 154;
clip._y = -70;
clip.onEnterFrame = function () {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (_root._currentframe != 10) {
this.removeMovieClip();
}
if (game_pause == false) {
this._y = this._y + 5;
}
if (this._y > 390) {
this.removeMovieClip();
y_object_array.splice(0, 1);
}
if (_root.flashlight == true) {
if (this._currentframe != 6) {
this.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if (this._currentframe != 1) {
this.gotoAndStop(1);
}
}
};
y_object_array.push(clip);
}
timeout = (random(2) * 30) + 30;
timer = 0;
}
}
};
Instance of Symbol 750 MovieClip "bt2" in Symbol 910 MovieClip Frame 3
onClipEvent (load) {
label = "\u0421\u044B\u0433\u0440\u0430\u0439 8 \u043D\u043E\u0442 \u0434\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F";
}
onClipEvent (enterFrame) {
if (_parent.tutorial3.count >= 8) {
if (this._currentframe != 2) {
_parent.win = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 884 MovieClip "tutorial3" in Symbol 910 MovieClip Frame 3
onClipEvent (load) {
count = 0;
_parent.hits = 0;
fire_depth = 0;
UpKeyDowned = false;
DownKeyDowned = false;
}
onClipEvent (enterFrame) {
if (count <= 8) {
_parent.hits = count + "/8";
} else {
_parent.hits = "8/8";
}
if ((UpKeyDowned == true) || (DownKeyDowned == true)) {
if (Key.isDown(_root.string_e_key)) {
if (Math.abs(_parent.g_object_array[0]._y - 360) < 30) {
_root.playSong("g_3", 100);
_parent.attachFire("fire_green");
_parent.g_object_array[0].removeMovieClip();
_parent.g_object_array.splice(0, 1);
count++;
}
}
if (Key.isDown(_root.string_d_key)) {
if (Math.abs(_parent.r_object_array[0]._y - 360) < 30) {
_root.playSong("r_3", 100);
_parent.attachFire("fire_red");
_parent.r_object_array[0].removeMovieClip();
_parent.r_object_array.splice(0, 1);
count++;
}
}
if (Key.isDown(_root.string_c_key)) {
if (Math.abs(_parent.y_object_array[0]._y - 360) < 30) {
_root.playSong("y_3", 100);
_parent.attachFire("fire_yellow");
_parent.y_object_array[0].removeMovieClip();
_parent.y_object_array.splice(0, 1);
count++;
}
}
if (DownKeyDowned == true) {
DownKeyDowned = undefined;
}
if (UpKeyDowned == true) {
UpKeyDowned = undefined;
}
}
}
onClipEvent (keyDown) {
if (Key.getCode() == _root.up_key) {
if (UpKeyDowned == false) {
UpKeyDowned = true;
}
}
if (Key.getCode() == _root.down_key) {
if (DownKeyDowned == false) {
DownKeyDowned = true;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
if (count < 8) {
_parent.press_spacebar2.shape = true;
_parent.game_pause = false;
}
}
if (Key.getCode() == _root.up_key) {
UpKeyDowned = false;
}
if (Key.getCode() == _root.down_key) {
DownKeyDowned = false;
}
}
Instance of Symbol 886 MovieClip "press_spacebar2" in Symbol 910 MovieClip Frame 3
onClipEvent (enterFrame) {
if (shape == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
this.removeMovieClip();
}
}
}
Symbol 910 MovieClip Frame 4
game_pause = true;
name_depth = 1;
timer = 15;
for (i in g_object_array) {
g_object_array[i].removeMovieClip();
}
for (i in r_object_array) {
r_object_array[i].removeMovieClip();
}
for (i in y_object_array) {
y_object_array[i].removeMovieClip();
}
g_object_array = [];
timeout = 30;
win = false;
this.onEnterFrame = function () {
if ((game_pause == false) && (win == false)) {
timer++;
if (timer > timeout) {
name_depth++;
clip = attachMovie("line", "g_" + name_depth, 5000 + name_depth);
clip.bg.gotoAndStop(1);
clip.key.gotoAndStop(1);
clip.type = "line";
clip.bg._height = 300;
clip.bg._alpha = 75;
clip._y = -70;
clip._x = 220;
clip.fired = false;
clip.flashglow = false;
clip.onEnterFrame = function () {
if (_root._currentframe != 10) {
this.removeMovieClip();
}
if (game_pause == false) {
this._y = this._y + 5;
}
if (this._y > (390 + this.bg._height)) {
if (this.miss == false) {
tutorial4.count++;
}
this.removeMovieClip();
if (g_object_array[0] == this) {
g_object_array.splice(0, 1);
}
}
if (_root.flashlight == true) {
if ((this.pressed == true) && (this.flashglow != true)) {
this.flashglow = true;
_root.setGlow(this.bg, 183293, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 6) {
this.bg.gotoAndStop(6);
this.key.gotoAndStop(6);
}
} else if (_root.flashlight == false) {
if ((this.pressed == true) && (this.flashglow != false)) {
this.flashglow = false;
_root.setGlow(this.bg, 65280, 75, 12, 12, 2, 1, false, false);
}
if (this.bg._currentframe != 1) {
this.bg.gotoAndStop(1);
this.key.gotoAndStop(1);
}
}
};
g_object_array.push(clip);
timeout = (random(2) * 30) + 120;
timer = 0;
}
}
};
Instance of Symbol 750 MovieClip "bt3" in Symbol 910 MovieClip Frame 4
onClipEvent (load) {
label = "\u0421\u044B\u0433\u0440\u0430\u0439 \u0434\u0432\u0435 \u0434\u043B\u0438\u043D\u043D\u044B\u0435 \u043D\u043E\u0442\u044B";
}
onClipEvent (enterFrame) {
if (_parent.tutorial4.count >= 2) {
if (this._currentframe != 2) {
_parent.win = true;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 884 MovieClip "tutorial4" in Symbol 910 MovieClip Frame 4
onClipEvent (load) {
count = 0;
_parent.hits = 0;
fire_depth = 0;
UpKeyDowned = false;
DownKeyDowned = false;
fired_timer = 0;
}
onClipEvent (enterFrame) {
if (count <= 2) {
_parent.hits = count + "/2";
} else {
_parent.hits = "2/2";
}
if ((UpKeyDowned == true) || (DownKeyDowned == true)) {
if (Key.isDown(_root.string_e_key)) {
if (Math.abs(_parent.g_object_array[0]._y - 360) < 30) {
_root.playSong("g_3", 100);
_parent.g_object_array[0].miss = false;
_root.setGlow(_parent.g_object_array[0].bg, 65280, 75, 12, 12, 2, 1, false, false);
_parent.g_object_array[0].pressed = true;
}
}
if (DownKeyDowned == true) {
DownKeyDowned = undefined;
}
if (UpKeyDowned == true) {
UpKeyDowned = undefined;
}
}
if (_parent.g_object_array[0].pressed == true) {
if (fired_timer > 10) {
_parent.attachFire("fire_green");
fired_timer = 0;
} else {
fired_timer++;
}
}
}
onClipEvent (keyDown) {
if (Key.getCode() == _root.up_key) {
if (UpKeyDowned == false) {
UpKeyDowned = true;
}
}
if (Key.getCode() == _root.down_key) {
if (DownKeyDowned == false) {
DownKeyDowned = true;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
if (count < 8) {
_parent.press_spacebar3.shape = true;
_parent.game_pause = false;
}
}
if (Key.getCode() == _root.up_key) {
UpKeyDowned = false;
}
if (Key.getCode() == _root.down_key) {
DownKeyDowned = false;
}
if (Key.getCode() == _root.string_e_key) {
if (_parent.g_object_array[0].pressed == true) {
_root.deleteGlow(_parent.g_object_array[0].bg);
_parent.g_object_array[0].pressed = false;
_parent.g_object_array[0].miss = true;
_parent.g_object_array.splice(0, 1);
}
}
}
Instance of Symbol 886 MovieClip "press_spacebar3" in Symbol 910 MovieClip Frame 4
onClipEvent (enterFrame) {
if (shape == true) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
this.removeMovieClip();
}
}
}
Symbol 910 MovieClip Frame 5
for (i in g_object_array) {
g_object_array[i].removeMovieClip();
}
g_object_array = [];
r_object_array = [];
y_object_array = [];
Instance of Symbol 750 MovieClip "bt3" in Symbol 910 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(_root.flash_key);
}
Instance of Symbol 872 MovieClip in Symbol 910 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(_root.backstring_light_key);
}
Symbol 912 MovieClip Frame 1
function decode(number) {
if (number == 8) {
return("Back");
}
if (number == 9) {
return("Tab");
}
if (number == 12) {
return("Clear");
}
if (number == 13) {
return("Enter");
}
if (number == 16) {
return("Shift");
}
if (number == 17) {
return("Control");
}
if (number == 18) {
return("Alt");
}
if (number == 19) {
return("Pause");
}
if (number == 20) {
return("Caps Lock");
}
if (number == 27) {
return("Esc");
}
if (number == 32) {
return("Space");
}
if (number == 33) {
return("Page Up");
}
if (number == 34) {
return("Page Down");
}
if (number == 35) {
return("End");
}
if (number == 36) {
return("Home");
}
if (number == 37) {
return("\u2190");
}
if (number == 38) {
return("\u2191");
}
if (number == 39) {
return("\u2192");
}
if (number == 40) {
return("\u2193");
}
if (number == 45) {
return("Insert");
}
if (number == 46) {
return("Delete");
}
if (number == 47) {
return("Help");
}
if (number == 48) {
return("0");
}
if (number == 49) {
return("1");
}
if (number == 50) {
return("2");
}
if (number == 51) {
return("3");
}
if (number == 52) {
return("4");
}
if (number == 53) {
return("5");
}
if (number == 54) {
return("6");
}
if (number == 55) {
return("7");
}
if (number == 56) {
return("8");
}
if (number == 57) {
return("9");
}
if (number == 65) {
return("A");
}
if (number == 66) {
return("B");
}
if (number == 67) {
return("C");
}
if (number == 68) {
return("D");
}
if (number == 69) {
return("E");
}
if (number == 70) {
return("F");
}
if (number == 71) {
return("G");
}
if (number == 72) {
return("H");
}
if (number == 73) {
return("I");
}
if (number == 74) {
return("J");
}
if (number == 75) {
return("K");
}
if (number == 76) {
return("L");
}
if (number == 77) {
return("M");
}
if (number == 78) {
return("N");
}
if (number == 79) {
return("O");
}
if (number == 80) {
return("P");
}
if (number == 81) {
return("Q");
}
if (number == 82) {
return("R");
}
if (number == 83) {
return("S");
}
if (number == 84) {
return("T");
}
if (number == 85) {
return("U");
}
if (number == 86) {
return("V");
}
if (number == 87) {
return("W");
}
if (number == 88) {
return("X");
}
if (number == 89) {
return("Y");
}
if (number == 90) {
return("Z");
}
if (number == 91) {
return("L Window");
}
if (number == 92) {
return("R Window");
}
if (number == 93) {
return("List");
}
if (number == 95) {
return("Sleep");
}
if (number == 96) {
return("Num 0");
}
if (number == 97) {
return("Num 1");
}
if (number == 98) {
return("Num 2");
}
if (number == 99) {
return("Num 3");
}
if (number == 100) {
return("Num 4");
}
if (number == 101) {
return("Num 5");
}
if (number == 102) {
return("Num 6");
}
if (number == 103) {
return("Num 7");
}
if (number == 104) {
return("Num 8");
}
if (number == 105) {
return("Num 9");
}
if (number == 106) {
return("Num *");
}
if (number == 107) {
return("Num +");
}
if (number == 108) {
return("Enter");
}
if (number == 109) {
return("Num -");
}
if (number == 110) {
return("Num .");
}
if (number == 111) {
return("Num /");
}
if (number == 112) {
return("F1");
}
if (number == 113) {
return("F2");
}
if (number == 114) {
return("F3");
}
if (number == 115) {
return("F4");
}
if (number == 116) {
return("F5");
}
if (number == 117) {
return("F6");
}
if (number == 118) {
return("F7");
}
if (number == 119) {
return("F8");
}
if (number == 120) {
return("F9");
}
if (number == 121) {
return("F10");
}
if (number == 122) {
return("F11");
}
if (number == 123) {
return("F12");
}
if (number == 144) {
return("Num Lock");
}
if (number == 145) {
return("Scroll Lock");
}
if (number == 166) {
return("Multi 'Back'");
}
if (number == 167) {
return("Multi 'Forward'");
}
if (number == 168) {
return("Multi 'Refresh'");
}
if (number == 169) {
return("Multi 'Stop'");
}
if (number == 170) {
return("Multi 'Search'");
}
if (number == 171) {
return("Multi 'Favorites'");
}
if (number == 172) {
return("Multi 'Home'");
}
if (number == 173) {
return("Multi 'Mute'");
}
if (number == 174) {
return("Multi 'Volume -'");
}
if (number == 175) {
return("Multi 'Volume +'");
}
if (number == 176) {
return("Multi 'Next'");
}
if (number == 177) {
return("Multi 'Previous'");
}
if (number == 178) {
return("Multi 'Stop'");
}
if (number == 179) {
return("Multi 'Play'");
}
if (number == 180) {
return("Multi 'E-Mail'");
}
if (number == 181) {
return("Multi 'Mediaplayer'");
}
if (number == 182) {
return("Multi 'My Computer'");
}
if (number == 183) {
return("Multi 'Calculator'");
}
if (number == 186) {
return(":;");
}
if (number == 187) {
return("=+");
}
if (number == 188) {
return("<,");
}
if (number == 189) {
return("-_");
}
if (number == 190) {
return(">.");
}
if (number == 191) {
return("/?");
}
if (number == 192) {
return("`~");
}
if (number == 219) {
return("{[");
}
if (number == 220) {
return("\\");
}
if (number == 221) {
return("}]");
}
if (number == 222) {
return("'\"");
}
if (number == 255) {
return("Power");
}
}