# CSS pseudo classes in loaded text

**URL:** https://forum.kirupa.com/t/css-pseudo-classes-in-loaded-text/127095
**Category:** Uncategorized
**Created:** [October 30, 2004, 7:45am UTC](https://forum.kirupa.com/t/css-pseudo-classes-in-loaded-text/127095 "2004-10-30T07:45:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sideffect8](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@sideffect8](https://forum.kirupa.com/u/sideffect8)
#### Post date: [October 30, 2004, 7:45am UTC](https://forum.kirupa.com/t/css-pseudo-classes-in-loaded-text/127095/1 "2004-10-30T07:45:58Z")

</div>

So you can load html formatted text into Flash and apply CSS to the text, but, I have never been able to get the CSS classes to work with pseudo classes.

IE  
a:hover{color:#FFFFFF;} will work

but  
a.[color=red]red[/color]:hover{color:#FF00000;} NEVER works

even though  
p.[color=red]navigation[/color] {color:#000000;} ALWAYS works.

(and the text file looks something like:  
text=\<p class=“navigation”\>\<a href="[http://www.kirupa.com"\>kirupa\</a\>\<a class=“red” href=[url=“http://www.kirupaforum.com”]http://www.kirupaforum.com](http://www.kirupa.com)\>kirupa forums\</a\>\</p\>&

Does anyone have any insight to this, or any experience working heavily with CSS in Flash?
