swfextract lists the available IDs for extraction but not their asset name. While swfdump does present this information, it does not do so in a machine readable format. Thus it is quite hard to extract an asset by name from an SWF, or to conversely to associate a name with an extracted ID.
The attached new utility "swfassets" will dump, in a machine readable format, the asset name, ID, and type of each exported asset (one per line, tab separated values). This can then be used to determine the ID to pass to swfextract. Example: $ ./swfassets ./test.swf Box_dataClass 263 unknown Button_Up 264 png clipFront 194 movieclip MainApp 0 unknown Patch against the latest version (2009-08-24-2042) attached. Regards, David Croft
swftools-swfassets.patch
Description: Binary data
