PDA

View Full Version : HTML in XML


MadamZuZu
05-01-2007, 08:23 PM
hi :)

i currently have a LIST, which read a XMLList w/ a repeater. and dipslyas proper information in a text box below.
i was wondering if it was possible to somehow format the text displayed with HTML?


Thanks!

dr_zeus
05-01-2007, 09:28 PM
Many Flex controls have an htmlText property that allows them to display very basic html.

MadamZuZu
05-02-2007, 07:41 PM
im doing it like this right now

<mx:Accordion id="password" width="100%" height="100%">
<mx:VBox label="How do I reset my password?" width="100%" height="100%">
<mx:Text width="100%" height="100%">
<mx:htmlText>
<![CDATA[blah blah blah blah blah]]>
</mx:htmlText>
</mx:Text>
</mx:VBox>
</mx:accordian>


but there is no scroll bar, if there is too much text, it's just gone, i can't scroll... any ideas?