Jason/Adrian,

I am running a SWF and it displays the <li> text and bullet in the color
from the CSS.

Here is a sample:

function loadCSS() {
        setupCSS = new TextField.StyleSheet();
        setupCSS.onLoad = function(success) {
                if (success) {
                        trace("CSS Loaded")
                }
        };
        setupCSS.load("template.css");
}

function displayText(currentText) {
        interfaceSWF.mainTxt.styleSheet = setupCSS;
        interfaceSWF.mainTxt.html = true;
        interfaceSWF.mainTxt.multiline = true;
        interfaceSWF.mainTxt.selectable = false;
        interfaceSWF.mainTxt.wordWrap = true;
        interfaceSWF.mainTxt.htmlText = currentText;
}

CSS - li {color: #C1A9C3;font-weight: 900;font-family: Arial;font-size:
16px;display: block}

Not sure if placing the <li> inside the <ul> is causing the issue for
you.

-- Chuck

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, June 29, 2006 9:54 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] <li> color

Also, be sure you are testing the .swf in HTML a browser.  If you just
double-click the .swf file on your hard drive, the bullet does not get
colored (not sure why that is the case)

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
_______________________________________________
[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