I'm building with the Flex 4.1 SDK. I have a theme project that I started from one of the example themes. I compiled it with ant and import it into Flash builder but the src directory seems to be necessary as well. How do I compile all of my theme's skin files into the SWC so that I don't have to include this directory?
In your librarty project, go to Project -> Properties -> Flex Library Path (something like that, don't have have FB on me rightr now).
On that page there should be a tab for assets. Make sure everything you need is selected. Everything that uses that lib will need to reference the asset path relative to it's path in the library (just like you would if you were to include that source directory).
I'm compiling with ant though... but I'll look into it.
You may need to dig up the compc documents to see how you include assets manually. I think there is also a tool (eclipse plugin) around that generates an ant script based on the project build options. Can't seem to find it at the moment, but you can try searching around for it if you feel a bit more determined than myself.