actionscript 3 - Flash ABC : What does the number part of .as$ in a swfdump -


If I take a swf, and run it via swfdump

  swfdump .exe -abc file .swf> ABC.txt   

The first run I can get some output in ABC.Txt like this

  ObjectConfig.as $ 60   

and a different output on the subsequent run of the same SWF

  ObjectConfig.as $ 61   

What does the number mean after $? This debug is a part of the metadata that the mxmlc compiler adds to the bytecode when you do a debug compilation,

debug = true . If you compile a general release, then this information has been omitted.

This metadata stores file names and line numbers so that you can see the location in your source during debugging. Although I am not sure, on the exact meaning of these special numbers, they seem to have a unique identifier or index of that file, perhaps in the case of two classes of the same name.

Comments