This content has been marked as final. Show 3 replies
Some SWC files do have the sources (a hierarchy of class files), others only have some compiled classes and/or assets.
You can easily check by changing the .swc extension to .zip and open the archive.
ASDoc does need to parse the sources to generate the documentation.
There is no workaround.
Hello! I'm also working with an external SWC created by Flash CS3 which only contains exported graphical assets like logos and stuff.
Within Flex I simply load the according SWF file and have full access to these assests. (Added the SWC as external library path).
So now I wanted to export my classdocumentation using ASDoc but this fails because ASDoc throws an error like: Type was not found (no compile time constant).
Within the SWC there's only a catalog.xml which seems to represent all the contents within the SWF, but ASDoc doesn't recognise this contents.
Is there a way to create sourcecode out of the catalog.xml?
It works when you put your used SWC into the
directory! But is there no way to tell asdoc to also use a separate SWC within my project sources?