# \[Flex Builder\] CSS file compiled into SWF

**URL:** <https://forum.kirupa.com/t/flex-builder-css-file-compiled-into-swf/259653>\
**Category:** Uncategorized\
**Created:** [May 7, 2008, 2:38pm UTC](https://forum.kirupa.com/t/flex-builder-css-file-compiled-into-swf/259653 "2008-05-07T14:38:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoNzO](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bonzo/32/3159_2.png) [@BoNzO](https://forum.kirupa.com/u/BoNzO)\
**Post date:** [May 7, 2008, 2:38pm UTC](https://forum.kirupa.com/t/flex-builder-css-file-compiled-into-swf/259653/1 "2008-05-07T14:38:59Z")

</div>

Hello,

I have a problem with all my css files in my Flex project. I need them to be compiled into SWF because its the only way to load and switch them at runtime.

I use a ClassReference to a custom programmatic skin in the css file:

```
skin: ClassReference( "com.someawsomepackage.util.manager.SkinManager" );

```

MY PROBLEM is that I HAVE TO place the various css file in the ROOT folder of my project so that the compiler can find and compile this classreference along with the css.

I would like to place the css files into a style folder… But I will get a compile error if I do so.

Anyone has an idea ? Maybe some additional compiler arguments? (I’ve been using it only through the Flex Builder )

thx !

Alex
