In the Language Reference for the htmlText property, it says:

 

The <li> tag places a bullet in front of the text that it encloses.
Note: Because Flash Player does not recognize ordered and unordered list
tags (<ol> and <ul>, they do not modify how your list is rendered. All
lists are unordered and all list items use bullets.

 

So I don't think the Flash Player supports displaying anything except a
bullet if you're using <li>. Maybe you can use an <img> to display your
custom image before a <p>.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of baton22
Sent: Thursday, August 21, 2008 3:38 PM
To: [email protected]
Subject: [flexcoders] htmlText: LI element, replace bullet w/ image?

 


Hi,
I am using the htmlText attribute to populate a LI bullet list of items
in a
TextArea.

I would like to replace the circle bullets with a small custom image.

I tried using the CSS style: list-style-image:
url('/assets/img/myImage.png') to no avail. Does anyone have an example
of
this working in flex?
-- 
View this message in context:
http://www.nabble.com/htmlText%3A-LI-element%2C-replace-bullet-w--image-
-tp19098343p19098343.html
<http://www.nabble.com/htmlText%3A-LI-element%2C-replace-bullet-w--image
--tp19098343p19098343.html> 
Sent from the FlexCoders mailing list archive at Nabble.com.

 

Reply via email to