I’m dynamically loading a CSS file and text file to populate a TextField. As far as the default styles are concerned, no problem!
But as soon as I try stuff like p.title, the style is not applied. Is this a restriction of the CSS support that Flash/Flex offers? Do I have to resort to the “simpel-style-selectors” like “.title” or “p” in my CSS?
Works:
.title { color:#FF0000; }
Doesn’t work:
p.title { color:#FF0000; }
ps: I know that Flash doesn’t support everything that CSS has to offer, but I’m looking for confirmation of someone who can tell me for a fact that the above p.class-selector is not supported. I didn’t find anything by googling about this.
Also, if there is a way around it, I’d be glad to know! :sen:
Thanks