Hey Jason, The css is definitely loaded and the Flash text displays all of the styling other than the bullets remaining black.
Here's my test code so you can verify I'm not missing something. this.createTextField( "txtfld", 100, 10, 10, 300, 200 ); var t:TextField = this.txtfld; t.html = true; t.multiline = true; var testCSS = new TextField.StyleSheet(); list = "<ul><li>item 1</li><li>item 2</li><li>item 3</li><li>item 4</li><li>item 5</li></ul>"; testCSS.load("example.css"); testCSS.onLoad = function(success) { if (success) { t.styleSheet = testCSS; t.text = list; } else { trace ( "css loading error" ); } }; ul { color: #9A9CA6; font-weight: 900; font-family: Arial; font-size: 16px; display: block; } li { color: #9A9CA6; font-weight: 900; font-family: Arial; font-size: 16px; display: block; } Perhaps you could send me some sample code offlist? Thanks, Adrian. On 6/29/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
Are you sure the stylesheet is fully loaded and then being applied to the Flash text? The .css you posted looks right. Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Adrian Park >>Sent: Thursday, June 29, 2006 5:31 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] <li> color >> >>OK, this is bugging me now! >> >>Chuck, you suggested using the following would work. Jason, you said it did. >>I can't get it to work! The size and colour of the text between the <li>'s >>is affected but the bullets are still black. What am I missing?! >> >>li {color: #9A9CA6;font-weight: 900;font-family: Arial;font-size: >>16px;display: block} >> >>I don't like being beaten by code! >> >>Thanks in advance. >>Adrian P >> >>On 6/26/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>> >>> >>I use css in my Flash and changed the color of both <UL> and <LI> >>> colors >>> >>and it worked fine. >>> >>> That worked, thanks! >>> >>> Jason Merrill >>> Bank of America >>> Learning & Organization Effectiveness - Technology Solutions >>> >>> >>> >>> >>> >>> >>> >>-----Original Message----- >>> >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>> >>[EMAIL PROTECTED] On Behalf Of Lewis, Chuck >>> >>Sent: Monday, June 26, 2006 11:38 AM >>> >>To: Flashcoders mailing list >>> >>Subject: RE: [Flashcoders] <li> color >>> >> >>> >>I use css in my Flash and changed the color of both <UL> and <LI> >>> colors >>> >>and it worked fine. >>> >> >>> >>li {color: #9A9CA6;font-weight: 900;font-family: Arial;font-size: >>> >>16px;display: block} >>> >> >>> >>-- Chuck >>> >> >>> >>_______________________________________________ >>> >>Flashcoders@chattyfig.figleaf.com >>> >>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 >>> _______________________________________________ >>> Flashcoders@chattyfig.figleaf.com >>> 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 >>> >>_______________________________________________ >>Flashcoders@chattyfig.figleaf.com >>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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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
_______________________________________________ Flashcoders@chattyfig.figleaf.com 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