i need to be able to format the label text in a tilelist with different styles (i.e bold for the name, smaller size font for descriptive text, etc) and want to use htmltext, but cant figure out how to get it in there. i am using an xml file to load the list, here is the code
function initImageBrowser(event:Event):void {
var myXML:XML = new XML(xmlLoader.data);
var item:XML;
for each (item in myXML.img) {
var thumb:String;
if (item.hasOwnProperty("@thumb")>0) {
thumb = item.@thumb;
}
tileList.addItem({label:item.attribute("desc").toX MLString(),
data:item.attribute("src").toXMLString(),
source:thumb});
}
Bookmarks