
269ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
Documenting ActionScript elements
You can add ASDoc comments to class, property, method, and metadata elements to document ActionScript
classes. For more information on documenting MXML files, see “Documenting MXML files” on page 274.
Documenting classes
The ASDoc tool automatically includes all public classes in its output. Place the ASDoc comment for a class just
before the
class declaration, as the following example shows:
/**
* The MyButton control is a commonly used rectangular button.
* MyButton controls look like they can be pressed.
* They can have a text label, an icon, or both ...