I’m trying to output a sentence containing 4 variables, with their values emboldened using the following code:
<mx:Text width='100%' y='307'> <mx:htmlText> <![CDATA[Showing data from <b>{labelStartTime.text} {labelStartDate.text}</b> to <b>{labelEndTime.text} {labelEndDate.text}</b>]]> </mx:htmlText> </mx:Text>
However, this just outputs the variable names, rather than their values. I’m sure I’m missing something simple, but I’d appreciate any pointers.
Cheers.
I know of a workaround:
Actionscript:
Mxml: