This content has been marked as final. Show 8 replies
In your htmlText, have this:
I want to control the space between the lines of bullet point. How do I apply the html css file on the html code in flex?
Except for adding <br> after the <li></li>, I don't know if you can control it.
I tried margin and padding as below
<p style="margin: 0px; padding: 0px">
<ul style="margin: 0px;">
<li style="margin: 0px; padding: 0px">ABC</li>
<li style="margin: 0px; padding: 0px">XYZ</li>
It seems that Flex ignores the values. 100px or 0px gives the same result.
Flex does not support all of HTML or CSS, but is rather limited. AIR is better. Search FB3 help sys or LiveDocs for what HTML and CSS is supported.
Does AIR have full html support?
It uses WebKit, so I believe at least the HTML control has full-support. I'm not sure if that extends to htmlText properties.
FLEX does not support the <ul> tag. Just use the <li> tag on its own.
Search help under "flash.text.TextField.htmlText" for details.