Skip to main content
Participating Frequently
March 30, 2008
Question

Parsing SWC/SWF for embedded symbols and classes

  • March 30, 2008
  • 2 replies
  • 961 views
Hello, looking for a bit of guidance on how to examine the contents of a SWF and/or SWC. I have been poking around in swfutils but am not making much progress. Any pointers would be appreciated but I am also wondering if there are proper docs anywhere that I have not noticed. For example, I think I need to be examining Tag instances of some kind but can't find a list of subclasses.

Thanks,
Ben
This topic has been closed for replies.

2 replies

Participating Frequently
March 30, 2008
<div class=Section1><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'>I should also mention that &#8211;link-report<br />generates XML that will pretty much tell you the same thing.  The<br />catalog.xml in the SWC (which is a .zip) is essentially the same thing too.<o:p></o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><div><br /><br /><div class=MsoNormal align=center style='text-align:center'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'><br /><br /><hr size=2 width="100%" align=center tabindex=-1><br /><br /></span></font></div><br /><br /><p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;<br />font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2<br />face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Alex Harui <br><br /><b><span style='font-weight:bold'>Sent:</span></b> Saturday, March 29, 2008<br />8:11 PM<br><br /><b><span style='font-weight:bold'>To:</span></b> 'flexsdk-dev@adobeforums.com'<br><br /><b><span style='font-weight:bold'>Subject:</span></b> RE: Parsing SWC/SWF for<br />embedded symbols and classes</span></font><o:p></o:p></p><br /><br /></div><br /><br /><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:<br />12.0pt'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'>SWFDump calls SwfxPrinter which does a<br />bunch of stuff.  It eventually calls AbcPrinter which parses the ABC code<br />and there&#8217;s code in there that finds the class and interface defs.<o:p></o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><div><br /><br /><div class=MsoNormal align=center style='text-align:center'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'><br /><br /><hr size=2 width="100%" align=center tabindex=-1><br /><br /></span></font></div><br /><br /><p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;<br />font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2<br />face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ben Clinkinbeard<br />[mailto:member@adobeforums.com] <br><br /><b><span style='font-weight:bold'>Sent:</span></b> Saturday, March 29, 2008<br />8:00 PM<br><br /><b><span style='font-weight:bold'>To:</span></b> flexsdk-dev@adobeforums.com<br><br /><b><span style='font-weight:bold'>Subject:</span></b> Parsing SWC/SWF for<br />embedded symbols and classes</span></font><o:p></o:p></p><br /><br /></div><br /><br /><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:<br />12.0pt'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'>A new discussion was<br />started by Ben Clinkinbeard in <br><br /><br><br /><b><span style='font-weight:bold'>Developers</span></b> --<br><br />  Parsing SWC/SWF for embedded symbols and classes<br><br /><br><br />Hello, looking for a bit of guidance on how to examine the contents of a SWF<br />and/or SWC. I have been poking around in swfutils but am not making much progress.<br />Any pointers would be appreciated but I am also wondering if there are proper<br />docs anywhere that I have not noticed. For example, I think I need to be<br />examining Tag instances of some kind but can't find a list of subclasses. <br><br /><br><br />Thanks, <br><br />Ben <o:p></o:p></span></font></p><br /><br /><div><br /><br /><div class=MsoNormal><font size=3 face="Times New Roman"><span<br />style='font-size:12.0pt'><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></span></font></div><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b4d74e">Parsing SWC/SWF for<br />embedded symbols and classes</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b4d74e!folder=.3c060fa3">unsubscribe</a><br />form to cancel your email subscription.<o:p></o:p></span></font></p><br /><br /></div>
Participating Frequently
March 30, 2008
<div class=Section1><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'>SWFDump calls SwfxPrinter which does a<br />bunch of stuff.  It eventually calls AbcPrinter which parses the ABC code and<br />there&#8217;s code in there that finds the class and interface defs.<o:p></o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><div><br /><br /><div class=MsoNormal align=center style='text-align:center'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'><br /><br /><hr size=2 width="100%" align=center tabindex=-1><br /><br /></span></font></div><br /><br /><p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;<br />font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2<br />face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ben Clinkinbeard<br />[mailto:member@adobeforums.com] <br><br /><b><span style='font-weight:bold'>Sent:</span></b> Saturday, March 29, 2008<br />8:00 PM<br><br /><b><span style='font-weight:bold'>To:</span></b> flexsdk-dev@adobeforums.com<br><br /><b><span style='font-weight:bold'>Subject:</span></b> Parsing SWC/SWF for<br />embedded symbols and classes</span></font><o:p></o:p></p><br /><br /></div><br /><br /><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:<br />12.0pt'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'>A new discussion was<br />started by Ben Clinkinbeard in <br><br /><br><br /><b><span style='font-weight:bold'>Developers</span></b> --<br><br />  Parsing SWC/SWF for embedded symbols and classes<br><br /><br><br />Hello, looking for a bit of guidance on how to examine the contents of a SWF<br />and/or SWC. I have been poking around in swfutils but am not making much<br />progress. Any pointers would be appreciated but I am also wondering if there<br />are proper docs anywhere that I have not noticed. For example, I think I need<br />to be examining Tag instances of some kind but can't find a list of subclasses.<br /><br><br /><br><br />Thanks, <br><br />Ben <o:p></o:p></span></font></p><br /><br /><div class=MsoNormal><font size=3 face="Times New Roman"><span<br />style='font-size:12.0pt'><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></span></font></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b4d74e">Parsing SWC/SWF for<br />embedded symbols and classes</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b4d74e!folder=.3c060fa3">unsubscribe</a><br />form to cancel your email subscription.<o:p></o:p></span></font></p><br /><br /></div>