as blu3bird suggested -PHP Code:var feedBack:Array = new Array(
["Right. You answered correctly!"],
["Wrong. You suck."]);
var tmp:Array = new Array();
for(var n=0;n!=feedBack.length;n++)
tmp[n] = feedBack[n][0].split(". ");
txt1.html = true;
txt1.htmlText = "<b>"+tmp[0][0]+".</b> "+tmp[0][1];
txt2.html = true;
txt2.htmlText = "<b>"+tmp[1][0]+".</b> "+tmp[1][1];




Reply With Quote