I'm playing around with a messaging type of application. Does anyone know how, or of any tutorials on to "appending" html text to text areas in flex and flex mobile projects? And specifically how I could take that and basically "append" a sprite inline to the text when i need to? Something simple like:
Username: some text right here!
So, Anyone have any experience "appending" sprites or simple text formatting? Thanks I'm realy stumped on how to solve these issues!
EDIT: Based on an answer below it was sugguested that it's as simple as...
textAreaInstance.htmlText += "<b>Username:</b> some text right here!";
But its not. you can't do .htmltext
with a text area. you can on a text field, so i tried
var TF:TextField = new TextField();
TF.width = 200;
TF.height = 200;
TF.htmlText="Image in textfield: <img src='http://upload.pusha.se/3/HittaTidning_75.jpg' hspace='0' vspace='0'>";
//then i go to my text area instance and tried to add it the way you suggested
text_area_instance.text += TF;
All this displays is [object TextField]