I'm trying to use a variable to populate a htmlText control.

This works

<mx:Text width="90%"  htmlText="{valueObject.body}" >
        </mx:Text>

This doesn't

   <mx:Text width="100%" >
        <mx:htmlText>
            <![CDATA[{valueObject.body}]]>
        </mx:htmlText>
    </mx:Text>

I need the later as my HTML contains a lot of markup that requires
escaping.

I'm sure its a very simple solution but I can't find any examples in
the docs.

Cheers

Grant








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to