Hi All
I am compiling my css files to swf files and loading them at run time. I have no problem compiling these and using ClassReference statements most of the time:
.miniCashLadderGridStyle
{
color : #2a2a2a;
backgroundAlpha : 0;
borderSkin : ClassReference("mx.skins.ProgrammaticSkin");
headerSortSeparatorSkin : ClassReference("mx.skins.ProgrammaticSkin");
horizontalSeparatorSkin : ClassReference("company.assets.GridHorzDivLine");
verticalSeparatorSkin : ClassReference("company.assets.GridVertDivLine");
}
That works fine. The assets come from a seperate swc, However this:
header-background-skin : ClassReference("company.view.grid.skin.HeaderBackground");
Does not work. The difference is that the HeaderBackground is a class in the same project as the css file. That does compiel fine if I move the style into my mxml file though.
I wonder if the compiler uses different source paths when compiling the css fiels or something.
This is in FlashBuilder 4 build 269271 SDK 13963