You can use the ASDoc tool with MXML files as well as ActionScript files. All ActionScript entities defined in an <mx:Script> block, such as properties and methods, appear in the output. Items defined in MXML tags do not appear in the ASDoc output.

Because the format of an ASDoc comment uses ActionScript syntax, you can only insert an ASDoc comment in an <mx:Script> block of an MXML file.

MXML files correspond to ActionScript classes where the superclass corresponds to the first tag in the MXML file. For an application file, that tag is the <mx:Application> tag and therefore an MXML application file appears in the ASDoc output as a subclass of the Application class.

  • No labels