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.
Continue reading "Getting ASDoc to recognize Adobe AIR classes" »