Processing CSS inside XML

Hi all,
i have a tricky question: how to process css inside a xml file, which is use for display in FlashMX pro? I’ve done the kirupa’s tutorial on XML, and find other infos on the w3schools site on how to implant css in xml, which when not in flash display the right font/color.

ok here what i am doing: first, i did a very simple css file which look like this:
font-family: “Trebuchet MS”;
font-size: 10px;
color: #CC6600;

then the xml file:
[size=2]<?xml version=“1.0”?>
<?xml-stylesheet type=“text/css” href=“”?>

note that if i display my xml file in IE, the xml display ‘services’, ‘clients’ and ‘contact’ on one row, but everythings fine with color etc.

in flash, i based my code on kirupa’s tutorial on XML (firstchild and nodes).

so here i am, with no idea on what to do to make that work.
hope you can help :book:

p.s.: you can find the fla here

sweeeet! :pleased:
i finally found the sources for applying css to xml files in flash in that tutorial

have a nice day!

  • zoddo

care to share it? :stuck_out_tongue:

my bad: here’s the link

i suppose it is due to textArea component, but the SWF is huge for the kind of data it contains (only text): 40k for the SWF…