thanks, this seems to have worked. I need to do some more testing just to make sure.
it seems that things don't work for me after all.
I have created a module with nothing in it but include satements for my css files. I first tried it with a single css file just to make sure:
<?xml version="1.0" encoding="utf-8"?>
<mx:Style source="..\css\main\myStyles.css" />
I have built the modlue and tried to load it dynamically using the following statement:
StyleManager.loadStyleDeclarations(cssFileURL, true, false, ApplicationDomain.currentDomain);
It did not work, although when I used the same statement to load an swf file that was generated by direct compliation of a CSS file, it worked.