I am trying to figure out how to get AS Docs on my mac to work. I just spend the last four hours trying to get this working. I finally got it, and it seems like you need a “SRC” folder like what gets created when you have a flex project, but this is really for flash. I was able to figure this out from the command error, I guess I am learning after-all`-`
I am trying to document some actionscript 3.0 code, like that is seen in the adobe documentation.
Using terminal change location to the bin directory of the flex skd. The asDoc tool only seems to work from this location.
cd /Applications/Adobe Flex Builder 3/sdks/3.2.0/bin/
./asdoc -doc-sources=/Users/johnbarrett/Documents/Flex Builder 3/HelloWorld/ -source-path=/Users/johnbarrett/Documents/Flex Builder 3/HelloWorld/
The first line tells the compiler where your application is, and the second line tells where you want the compiler to output your docs.
Now lets run this using the src folder structure that the AS Docs Tool wants
./asdoc -doc-sources=/Users/johnbarrett/Documents/Flex Builder 3/HelloWorld/src -source-path=/Users/johnbarrett/Documents/Flex Builder 3/HelloWorld/src