Now that AIR 1.0 is official, some people are having trouble getting the ASDoc utility that ships with Flex Builder 3 to recognize the new AIR classes. Here's a quick way to do it.
Use the -library-path
option on the ASDoc command line to include the folder that contains the airframework.swc and airglobal.swc files. For example:
asdoc -source-path . -doc-classes myComponents.MyFileManager -library-path+=..\frameworks\libs\air
Notice the += after in the -library-path
value. That appends the location of the AIR SWC files to the default list, which includes the Flex Framework SWCs.
Of course you will also need to change the path to the \frameworks\libs\air
folder relative to the location from which the asdoc utility is running.
Thanks go to Stephen Gilson of the Flex Learning Resources team for providing this information.
Or you can use the aasdoc command (note the extra "a"). This loads the air-config.xml file that includes the AIR libraries for you.
Posted by: | 23 July 2008 at 11:38 AM
Any idea what would produce the following error in ASdocs
An unexpected error occurred.
Error #1083: The prefix "see" for element "see:" is not bound.
Posted by: Stephen Buckley | 03 November 2008 at 08:57 AM
I solved using "-external-library-path"
Read here: http://www.daveoncode.com/2009/05/04/documenting-actionscript-classes-which-make-use-of-air-framework/
;)
Posted by: Davide Zanotti | 05 May 2009 at 05:12 AM
I solved found a "@see:" comment instead of "@see".
Posted by: Edoardo Gusmaroli | 06 July 2009 at 01:55 AM