This Label displays bold and italic HTML-formatted text."; // Set HTML formatted label private function displayHTML():void { simpleLabel.htmlText = htmlData; } // Set plain text formatted label private function displayText():void { simpleLabel.text = "This Label displays plain text."; } ]]>