Adobe Flex formating in textbox control

we are using adobe Flex 3.0  textbox control to display data from external xml file.
We would like to put bullet formats in the display (similar to how it is in any test editor like MSword)  how to get this done
tps2009Asked:
Who is Participating?
 
Jones911Commented:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
	<mx:Script>
		<![CDATA[
			private function init():void{
				textBox.htmlText = '<ul><li>Coffee</li><li>Milk</li></ul>';
			}
		]]>
	</mx:Script>
	
	<mx:Text id="textBox" x="200" y="143"  width="165" height="55"/>
	
</mx:Application>

Open in new window

0
 
lexxwernCommented:
As given in the example above, you can use the .htmlText property to render HTML data. You can refer to http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04.html for usage imformation. There are certain constraints at sometimes it will not render HTML exactly similar to web browsers.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.