The @see tag lets you create cross-references to elements within a class; to elements in other classes in the same package; and to other packages. You can also cross-reference URLs outside of ASDoc. The @see tag has the following syntax:
@see reference [displayText]
where reference specifies the destination of the link, and displayText optionally specifies the link text. The location of the destination of the @see tag is determined by the prefix to the reference attribute:
The following table shows several examples of the @see tag:
|
Example |
Result |
|---|---|
| @see "Just a label" |
Text string |
| @see http://www.cnn.com |
External website |
| @see package-detail.html |
Local HTML file |
| @see Array |
Top-level class |
| @see AccessibilityProperties |
Class in same package |
| @see flash.display.TextField |
Class in different package |
| @see Array#length |
Property in top level class |
| @see flash.ui.ContextMenu#customItems |
Property in class in different package |
| @see mx.containers.DividedBox#style:dividerAffordance |
Style property in class in different package |
| @see #updateProperties() |
Method in same class as @see tag |
| @see Array#pop() |
Method in top-level class |
| @see flash.ui.ContextMenu#clone() |
Method in class in different package |
| @see global#Boolean() |
Package method in Top Level (global) |
| @see flash.util.#clearInterval() |
Package method in flash.util |