You can not use compc to generate a swf file directly. You can generate a .swc or output to the directory.
The directory contains the library.swf or you can also extract the library.swf from the .swc file. See this link for more details. http://livedocs.adobe.com/labs/flex3/html/help.html?content=rsl_04.html Thanks, Gaurav