Hi Alex Thanks for good pointer. I will explore this and i think this should work.
Great ilikeflex --- In flexcoders@yahoogroups.com, "oneworld95" <oneworl...@...> wrote: > > Look on this page: > http://livedocs.adobe.com/flex/3/langref/flash/text/TextField.html#htm lText > > The <textformat> tag and its attributes should get you what you need. > Look at the indent, leftmargin, etc. to place your nested <li> items > where you need them. And get rid of the <ul> tags. > > - Alex > > --- In flexcoders@yahoogroups.com, "ilikeflex" <ilikeflex@> wrote: > > > > Hi Alex > > > > Thanks for the information. > > Is their any workaround .If you want to display such list. > > > > Thanks > > ilikeflex > > > > --- In flexcoders@yahoogroups.com, "oneworld95" <oneworld95@> > > wrote: > > > > > > The htmlText in the TextArea control supports only a limited number > > of > > > HTML tags; take a look at this blog post for more info: > > > http://devharbor.blogspot.com/2008/12/display-html-file-in-flex- > > textarea.html > > > > > > I don't think the <ul> tag is supported; nor can it be nested. To > > > create lists, you simply use the <li> tag. > > > > > > - Alex > > > > > > --- In flexcoders@yahoogroups.com, "ilikeflex" <ilikeflex@> wrote: > > > > > > > > Hi > > > > > > > > I want to have this kind of look > > > > http://www.w3schools.com/tags/tryit.asp? > > filename=tryhtml_nestedlists2 > > > > > > > > I made the following in TextArea > > > > > > > > <mx:TextArea id="txtAccounts" editable="false" > > borderThickness="1" > > > > condenseWhite="true" width="100%" height="100%" > > > > > <mx:htmlText> > > > > <![CDATA[ > > > > <ul> > > > > <li>Coffee</li> > > > > <li>Tea</li> > > > > <ul> > > > > <li>Black tea</li> > > > > <li>Green tea</li> > > > > <ul> > > > > <li>China</li> > > > > <li>Africa</li> > > > > </ul> > > > > </ul> > > > > <li>Milk</li> > > > > </ul> > > > > ]]> > > > > </mx:htmlText> > > > > </mx:TextArea> > > > > > > > > But i do not get the desired result. > > > > > > > > Any pointers. > > > > > > > > Thanks > > > > ilikeflex > > > > > > > > > >