Trying to incorporate formatted xml into a flash game has been quite challenging for me. Despite my efforts, the css styling doesn't seem to be applied properly.
Below is the content of my stylesheet woorden.css:
.f {color:red;}
This is the structure of my xml data contained in woorden.xml:
<?xml version="1.0" encoding="utf-8"?>
<woorden>
<spel>
<goed>boordevol</goed>
<fout>boordenvol</fout>
<fbk><![CDATA[Het is dus ber<span class="f">e</span>goed, boordevol, reuzeleuk en apetrots, maar berenvel en reuzenlaars.]]></fbk>
</spel>
</woorden>
This snippet showcases my current progress with ActionScript:
// ActionScript code will go here
Upon experimenting, I noticed that adding an h1-style to my stylesheet resulted in correct rendering by Flash. This leads me to believe that there may be issues related to the span tag or the class attribute?