Seb Lee-Delisle

Menu

Problems with .swc files

I resisted the urge to title this post What the swc? :-)

For some unknown reason Flash just stopped exporting swc files properly. FDT could no longer see what was inside them. FDT guru Alan Klement kindly offered to help me troubleshoot the problem and he discovered that the catalog.xml file inside had empty script tags.

I’ve heard anecdotal evidence from my friends Owen and Richard that exporting your .swc to the same folder as your .fla file can cause problems.

So I subsequently tried publishing the swc (and swf) to a different folder, and no swc would even appear! I also tried making a new fla and copying everything into it and this didn’t work either. Then I made a new fla and created a symbol, exported it for actionscript, set it to create a swc, and that broke too!

It’s such a weird thing. It basically killed most of my productivity yesterday. And the terrifying thing is that I don’t even really know how I fixed it.

I just came in this morning, and did everything with a new fla directory and a new swc directory, copied the assets into the library and it worked.

Anyone else had this?

Related posts:

  1. Deleting .svn files on OSX
  2. How to set up ASDoc in Flex Builder
  3. FOTB Flash 3D source files
  4. FlashBelt Particle presentation – source files
This entry was posted in Actionscript, Flash. Bookmark the permalink.

16 Responses to Problems with .swc files

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">