What happens if you add the signatureChecksum with the right amount of
digits to your catalog.xml?  IIRC, it is the time the class was compiled,
not some checksum of an API surface, so it can be just about any number.
I think it is the number of milliseconds since 1970 or something like that
and is used to determine if a competing copy of the class from another SWC
is newer or older.

-Alex

On 5/29/15, 6:30 AM, "Left Right" <olegsivo...@gmail.com> wrote:

>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