How to do binding inside htmltext CDATA

Posted by Hichem on Stack Overflow See other posts from Stack Overflow or by Hichem
Published on 2010-03-18T14:03:34Z Indexed on 2010/03/19 5:41 UTC
Read the original article Hit count: 324

Filed under:
|
|
|

I couldn't find a way to bind a variable inside the htmlText property of a Text component i want to be able to do something like this :

<mx:Text id="bodyText"  styleName="bodyText">
<mx:htmlText >
    <![CDATA[<img src='assets.OrangeRect' align='left' hspace='0' vspace='4'/>    Bonjour {UserData.name} ]]>

    </mx:htmlText>
</mx:Text>

i want to bind UserData.name

© Stack Overflow or respective owner

Related posts about flex

Related posts about as3