title: Definition could not be found error compiling ClassReference in CSS file to Swf file
body: <p>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:</p>
  
  <pre><code>.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");
  }
  </code></pre>
  
  <p>That works fine. The assets come from a seperate swc, However this:</p>
  
  <pre><code>header-background-skin : ClassReference("company.view.grid.skin.HeaderBackground");
  </code></pre>
  
  <p>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.</p>
  
  <p>I wonder if the compiler uses different source paths when compiling the css fiels or something.</p>
  
  <p>This is in FlashBuilder 4 build 269271 SDK 13963</p>