>> See how to use javadoc tags in your JS code
Its free & opensource
Ortelius is free to download and use, and you can download the source code from google code (C# & .NET).
>> Go to Google code
Click here to see an example of the documentation of actionscript code that the Ortelius generator creates.