20081103

code:again

a_mc.stop();
a_mc._visible = false;
button_btn.onRelease = function() {
//a_mc._visible = true;
//a_mc.start();
/*
defaultLength = 4;
//char[] str = "c4d4e4f4g4a4b4c4";
str = musiccode1;
if (str != null || str.length > 0) {
for (i = 0; i < currentchar =" str[i];" nextchar =" 0;" nextchar =" str[i" length =" 0;" sharp =" 0;" nextchar ="="" sharp =" 1;" nextposition =" i"> 0 && i +1 + sharp < nextchar =" str[nextposition];">= '0' && nextchar <= '9') { length = nextchar - '0'; i = nextposition; } else { length = defaultLength; } // 여기까지해서 currentchar와 length확인 완료 if ((currentchar <= 'g' && currentchar >= 'a') || (currentchar <= 'G' && currentchar >= 'A') {
if (sharp == 0) {
gotoAndPlay(currentChar + "");
} else {
gotoAndPlay(currentChar + "+");
}
} else {
gotoAndPlay("r");
}
}
}
*/
};
submit_btn.onRelease = function() {
//a_mc._visible = true;
//a_mc.play();
gotoAndPlay("b");
//a_mc.stop();
};
stop();
//musiccode = musiccode1.toLowerCase();

No comments: