Asdoc Integration
Axdt uses Asdoc to integrate any external definition, this includes native Flash classes like Object and String.
Axdt supports Html and Xml-based (Dita) Asdoc. Axdt will load and parse the Asdoc definitions efficiently. The parsed information is saved in your workspace.
Asdoc definitions in your code link back to the original location. You can configure a Html Asdoc for Built in Documentation to link to.
When a new Asdoc is added, Axdt will initially parse
- all available package names from /package-list.html or /packages.dita
- global root definitions from /package.html or __Global__.xml
- for each package name
- type names and whether package member definitions are available from /${package/name}/class-list.html
- package member definitions from /${package/name}/package.html
- or definitions from /${package.name}.xml
Type details will be parsed on demand when they are references in an ActionScript3 file.
Configure Built in Asdoc
- Select the menu item Window > Preferences to open the workbench preferences.
- Select Axdt > Asdoc > Built In to open the Built In preferences.
- You can can check the libraries you need and configure the preferred language.
- You can also configure an local Html Flex 4 Asdoc for faster or translated code links.
Configure Asdoc Integration
- Select the menu item Window > Preferences to open the workbench preferences.
- Select Axdt > Asdoc to open the Asdoc preferences.
- TODO: add screen shot
- You can Add, Remove or Edit an entry.
- The Name field can be chosen freely.
- The Url field must be a valid Url pointing to the root of an Html-Asdoc. For example:
- http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/
- http://asunit.org/docs/asunit3/
- jar:file:/home/mb0/doc.zip!/langref/
- Or to the location of a packages.dita file
- jar:file:/home/mb0/flexsdk/frameworks/locale/en_US/spark_rb.swc!/docs/packages.dita
- Click Apply to save the changes and initialize new entries.
