Get rid of the <li> in your AS code.

var txt = txt.split('<li>').join('&#249;');
myfield.htmlText = txt;

-josh


On Jun 1, 2006, at 12:35a, GregoryN wrote:

Hello Josh,

Thanks for your reply.
The matter is that I HAVE to use LI as same text is used by
alternative non-flash versions.

All text data for this application is stored in DB .
When someone comes to see it, a script (SWFObject and some
server-side) checks if this user have proper flash player installed.
If not (or if this is SE), they will see HTML version.
And, as the text for this HTML version is taken from the same DB
records, it is preferably that I use LI for list which is standard/SE
compliant way to go.

This is why I am stick to using LI, not just "any bullet".

More suggestions?



--
Best regards,
 GregoryN
================================
http://GOusable.com
Flash components development.
Usability services.

------------ Josh Santangelo wrote:
Instead of using <li>, just use the entity for a bullet character,
&#249; or something.

-josh

On May 31, 2006, at 10:10a, GregoryN wrote:

Hello all,

I'm trying to  remove indent for <LI> elements in html textfield (MX
2004). Client wants this.

In "normal" HTML/CSS we can just write:
   li {margin-left: 0;}

Seems in Flash this indent for LI is hard-built-in, at least I can't
find a way to get rid of it.

I'm not considered dirty tricks like "move all textfield to the left
and set 'margin-left: X' for all non-LI elements"... so far.

I'd appreciate any help in this issue.

Thanks in advance.


--
Best regards,
 GregoryN


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to