Hello list,

Recently I wanted to do the following: take a SWF file, and extract
each of the symbols it defines into a separate SWF file. Sometimes I
also have a matching SWC file for the input SWF file, in which case I
can simply do something like this:

compc -library-path input.swc -ic class.to.Link -o path/to/result.swf

But, sometimes I don't have the original SWC. Using swfdump and a
little script that I wrote, I can generate a SWC file with catalog.xml
and library.swf (one produced from the input.swf).

The problem must be the catalog.xml. I can generate XML attributes of
<script> tag except for the signatureChecksum="some digits". And compc
refuses to use such an SWC as an input. It gives:

Error: could not find source for class class.to.Link

Do you have any ideas on how to generate such an SWC?

Best.

Oleg

Reply via email to