To me it looks like you are assigning the text at runtime, so there is
no escaping needed. Only if the text is inserted at compile time, you
need escaping, because the text is inserted into the xml , which
wouldn't be valid thereafter.

Cheers,
Ralf.

On 7/9/06, grant.straker <[EMAIL PROTECTED]> wrote:
> 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
>
>
>
>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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