World_of_difference_on_right_of_expression_DM
forked from Dictation Machine Beta_clean (diff: 413)
ActionScript3 source code
/**
* Copyright andrewexex886 ( http://wonderfl.net/user/andrewexex886 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/zA9Q
*/
// forked from andrewexex886's Dictation Machine Beta_clean
// forked from andrewexex886's forked from: Dictation Machine Beta
// forked from andrewexex886's Dictation Machine Beta
package {
import flash.net.URLRequest;
import flash.media.Sound;
import flash.text.TextFormat;
import flash.display.Stage;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
import flash.text.TextField;
import flash.text.TextFieldType;
import flash.display.Sprite;
import flash.ui.Keyboard;
public class FlashTest extends Sprite {
private var butt:Sprite;
private var tf:TextField;
private var tf2:TextField;
private var vocalLibE:Array=[""];
private var vocalLibC:Array=["點擊Enter開始"];
private var vocalLibS:Array=[""];
private var vocalLibLenght:int;
private var nowVocalNum:int=0;
private var fStage:Stage;
private var mySound:Sound = new Sound();
//XML
private var SelectedCourseName:Array;
private var SelectedCourseTotal:int;
private var VocabXML:XML;
private var VocabTotal:int;
public function FlashTest() {
fStage=stage;
//XML Data
SelectedCourseName=["World_of_difference_on_right_of_expression"];
//SelectedCourseName=["long_term_vision","Anthropology","Ashes","Baby","Blind","Bulletin","Beauty","Binding"];
SelectedCourseTotal=SelectedCourseName.length;
VocabXML=<VocabularyLibrary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>abuse</Eng>
<Chi>濫用</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/abuse%402.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>accordingly</Eng>
<Chi>據此</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/a/ac/acc/accordingly%23_us_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>activist</Eng>
<Chi>活躍分子</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/a/ac/act/activist%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>against</Eng>
<Chi>反對</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/a/ag/aga/against%23_gb_2.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>Athens</Eng>
<Chi>雅典</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/!Athens.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>blasphemy</Eng>
<Chi>褻瀆</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/b/bl/bla/blasphemy%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>border</Eng>
<Chi>邊界</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/border.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>cadet</Eng>
<Chi>學員</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/c/ca/cad/cadet%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>caliph</Eng>
<Chi>哈里發</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/c/ca/cal/caliph%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>century</Eng>
<Chi>世紀</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/c/ce/cen/century%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>christianity</Eng>
<Chi>基督教</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/c/ch/chr/christianity%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>citizen</Eng>
<Chi>公民</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/c/ci/cit/citizen%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>communication</Eng>
<Chi>通訊</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/c/co/com/communication%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>constraint</Eng>
<Chi>限制</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/constraint.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>contract</Eng>
<Chi>契約</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/contract%401.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>couple</Eng>
<Chi>結合</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/couple.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>declaration</Eng>
<Chi>宣言</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/declaration.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>defined</Eng>
<Chi>定義</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/defined.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>denial</Eng>
<Chi>否認</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/d/de/den/denial%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>enlightenment</Eng>
<Chi>啟蒙</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/e/en/enl/enlightenment%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>enshrine</Eng>
<Chi>供奉</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/e/en/ens/enshrine%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>ethics</Eng>
<Chi>倫理學</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/ethics.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>Europe</Eng>
<Chi>歐洲</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/e/eu/eur/europe%231_us_2.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>evaluate</Eng>
<Chi>評估</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/e/ev/eva/evaluate%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>expression</Eng>
<Chi>表達</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/e/ex/exp/expression%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>formed</Eng>
<Chi>形成</Chi>
<Sou>http://img.tfd.com/pron/mp3/en/UK/dg/dgdssksfskdodoh7.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>France</Eng>
<Chi>法國</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/!France.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>French</Eng>
<Chi>法國的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/f/fr/fre/french%231_gb_4.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>held</Eng>
<Chi>hold過去式</Chi>
<Sou>http://img.tfd.com/pron/mp3/en/UK/dg/dgdtdsdndyht.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>holocaust</Eng>
<Chi>大屠殺</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/h/ho/hol/holocaust%23_us_2.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>human rights</Eng>
<Chi>人權</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/human_rights.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>in other words</Eng>
<Chi>換句話說</Chi>
<Sou></Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>individual</Eng>
<Chi>個人的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/i/in/ind/individual%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>individualism</Eng>
<Chi>個人主義</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/i/in/ind/individualism%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>Islamic</Eng>
<Chi>伊斯蘭的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/!Islamic.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>journalist</Eng>
<Chi>記者</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/j/jo/jou/journalist%23_us_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>led</Eng>
<Chi>lead過去式</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/l/le/led/led%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>local</Eng>
<Chi>當地的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/l/lo/loc/local%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>merely</Eng>
<Chi>只不過是</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/m/me/mer/merely%23_us_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>nation</Eng>
<Chi>國民</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/nation.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>opinion</Eng>
<Chi>意見</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/o/op/opi/opinion%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>outlaw</Eng>
<Chi>宣佈為不合法</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/outlaw.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>passage</Eng>
<Chi>段落</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/p/pa/pas/passage%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>pearl</Eng>
<Chi>珍珠</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/p/pe/pea/pearl%23_us_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>period</Eng>
<Chi>時期</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/p/pe/per/period%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>pillar</Eng>
<Chi>支柱</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/p/pi/pil/pillar%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>precious</Eng>
<Chi>珍貴的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/p/pr/pre/precious%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>progressive</Eng>
<Chi>進步的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/p/pr/pro/progressive%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>publish</Eng>
<Chi>出版</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/publish.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>punishable</Eng>
<Chi>可以處罰的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/p/pu/pun/punishable%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>regard</Eng>
<Chi>把…視為</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/r/re/reg/regard%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>relevant</Eng>
<Chi>相關的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/r/re/rel/relevant%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>researcher</Eng>
<Chi>研究員</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/researcher.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>responsible</Eng>
<Chi>負責</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/r/re/res/responsible%23_us_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>revolution</Eng>
<Chi>革命</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/r/re/rev/revolution%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>rise</Eng>
<Chi>上升</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/r/ri/ris/rise%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>roman</Eng>
<Chi>羅馬的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/roman.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>rome</Eng>
<Chi>羅馬</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/r/ro/rom/rome%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>Rousseau</Eng>
<Chi>盧梭</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/!Rousseau.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>social</Eng>
<Chi>社會的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/s/so/soc/social%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>speech</Eng>
<Chi>講話</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/s/sp/spe/speech%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>statement</Eng>
<Chi>聲明</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/statement.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>such</Eng>
<Chi>這樣的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/s/su/suc/such%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>themselves</Eng>
<Chi>他們自己</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/t/th/the/themselves%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>theories</Eng>
<Chi>理論</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/de/0/theory.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>thousand</Eng>
<Chi>千</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/t/th/tho/thousand%23_gb_1.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>vary</Eng>
<Chi>不同</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/v/va/var/vary%23_us_2.mp3</Sou>
</Vocabulary>
<Vocabulary>
<Course>World_of_difference_on_right_of_expression</Course>
<Eng>vital</Eng>
<Chi>極重要的</Chi>
<Sou>http://www.gstatic.com/dictionary/static/sounds/lf/0/v/vi/vit/vital%23_gb_1.mp3</Sou>
</Vocabulary>
</VocabularyLibrary>
;
//XML setup
XML_to_Array();
//set Length
vocalLibLenght=vocalLibE.length;
//setup textField
tf = new TextField();
this.addChild(tf);
tf.type=TextFieldType.INPUT;
tf.border=true;
tf.y=50;
tf.width=200;
tf.height=40;
tf2 = new TextField;
tf2.text=vocalLibC[0];
tf2.selectable=false;
tf2.width=200;
tf2.height=40;
this.addChild(tf2);
var txtF:TextFormat= new TextFormat("Arial",30);
//tf.defaultTextFormat=txtF;
tf.defaultTextFormat=txtF;
tf2.defaultTextFormat=txtF;
tf2.setTextFormat(txtF);
//Button
butt=new Sprite();
butt.graphics.beginFill(0,1);;
butt.graphics.drawRect(0,0,50,50);
butt.graphics.endFill();
butt.x=300;
butt.buttonMode=true;
addChild(butt);
butt.addEventListener(MouseEvent.CLICK,postAnsButt);
stage.addEventListener(KeyboardEvent.KEY_DOWN,postAnsKeyboard);
}
private function postAnsButt(E:MouseEvent=null):void{
if(checkAnswer(tf.text)){
//randomGetVocal();
orderGetVocal();
}else{
tf2.appendText("X");
}
tf.text="";
mySound.play();
}
private function postAnsKeyboard(E:KeyboardEvent=null):void{
if(E.keyCode==Keyboard.ENTER){
postAnsButt();
}else if(E.keyCode==Keyboard.F1){
tf.text=vocalLibE[nowVocalNum];
}
}
private function randomGetVocal():void{
nowVocalNum=Math.round(Math.random() * (vocalLibLenght-1));
tf2.text=vocalLibC[nowVocalNum];
}
private function orderGetVocal():void{
if(nowVocalNum>=(vocalLibLenght-1)){
nowVocalNum=0;
}else{
nowVocalNum++;
}
tf2.text=vocalLibC[nowVocalNum];
playmp3(vocalLibS[nowVocalNum]);
}
private function checkAnswer(ans:String):Boolean{
if(ans==vocalLibE[nowVocalNum]){
return true;
}
return false;
}
private function playmp3(mp3url:String=null):void{
mySound = new Sound();
var request:URLRequest = new URLRequest(mp3url);
mySound.addEventListener(Event.ID3, Id3Handler);
mySound.load(request);
mySound.play();
}
private function Id3Handler(event:Event):void {
trace(String("播放mp3:"+mySound.id3.artist));
}
private function XML_to_Array():void{
VocabTotal=VocabXML.Vocabulary.length();
var k:int=0;
for(k=0;k<VocabTotal;k++){
if(check_Selected_Course(VocabXML.Vocabulary.Course[k])){
vocalLibE.push(VocabXML.Vocabulary.Eng[k]);
vocalLibC.push(VocabXML.Vocabulary.Chi[k]);
vocalLibS.push(VocabXML.Vocabulary.Sou[k]);
}
}
}
private function check_Selected_Course(incourse:String):Boolean{
var i:int=0;
while(i<SelectedCourseTotal){
if(incourse==SelectedCourseName[i]){
return true;
}
i++;
}
return false;
}
}
}
