views:

30

answers:

1

I'm loading the XML into a text field as htmlText.

The StyleSheet class in Flash only supports a subset of CSS1–which debuted in 1996!–and doesn't support list-style-type or list-style-image. I'd specifically like to substitute an image instead of the default disc for an unordered list.

If you've had success implementing a work-around, I'd love to hear about it!

+1  A: 

The only workaround I can think of would be to use the <img /> tag to display your bullet images in the TextField.

You'll need to structure the HTML to simulate a list:

e.g. (Sorry about the poor formatting, it's not letting me put in the tags properly)
< p> < img src="bullet" />Line 1.< br/> < img src="bullet" />Line 2.< br/> < /p>

You can see my post here for details on how to display embedded images in TextFields (both Flash and Flex):
http://stackoverflow.com/questions/783710/flex-embeded-images-in-htmltext/1726573#1726573

Sly_cardinal