/** Example of using the @overload tag. Overloading is normally not possible with ActionScript, but as2lib (http://www.as2lib.org) has a way of emulating overloading, using the Overload class. The notation of @overload follows the same rules as @see: each method on one line, with the # prefix to create a link. For example: @overload #drawByFillAndLineColor. The method parameters and return type are added automatically. @author Arthur Clemens @version 10 September 2004 */ class OverloadExample { /** Description of draw. @overload #drawByFillAndLineColor @overload #drawByFillColor */ public function draw() : Void { var o:Overload = new Overload(this); o.addHandler([Color, Color], drawByFillAndLineColor); o.addHandler([Color], drawByFillColor); o.forward(arguments); } /** Description of this method. */ public function drawByFillAndLineColor(fillColor:Color, lineColor:Color) : Void { // ... } /** Description of this method. */ public function drawByFillColor(fillColor:Color) : Void { // ... } }