Hi --

I want to output a variable and hardcoded text in the htmlText property of a 
Text component. 

Here's what I tried first: 

content.htmlText = "<b>The account " + this.acctName + " has been created </b>."

('acctName' is a private var that has accessor methods to get/set it.) 

That didn't work, so I read thru the archives and found a solution that didn't 
work either. 

[Bindable]
private var msgString:String = "<b>The account " + {acctName} + " has been 
created </b>. 

content.htmlText = "{msgString}"

What am I missing here? Can anyone offer any helpful pointers? 

Reply via email to