Index: lams_common/src/flash/org/lamsfoundation/lams/common/util/Proxy.as =================================================================== diff -u -r0c2296844646cad43d3baf2c2bbfe745367ef1cc -rb6343231e73df539d5ac656ab256d799b2c7953e --- lams_common/src/flash/org/lamsfoundation/lams/common/util/Proxy.as (.../Proxy.as) (revision 0c2296844646cad43d3baf2c2bbfe745367ef1cc) +++ lams_common/src/flash/org/lamsfoundation/lams/common/util/Proxy.as (.../Proxy.as) (revision b6343231e73df539d5ac656ab256d799b2c7953e) @@ -1,5 +1,28 @@ import org.lamsfoundation.lams.common.util.* + + + + +/** + * The proxy class, contains 1 static method + * Dave + * @version 1.0 + * @since + */ class org.lamsfoundation.lams.common.util.Proxy { + + + + /** + * Creates a function that executes in the scope passed in as target, + * not the scope it is actually executed in. + * Like MMs delegate function but can accept parameters and pass them onto + * the function + * @usage + * @param oTarget the scope the function should execute in + * @param fFunction the function to execute, followed by any other parameters to pass on. + * @return + */ public static function create (oTarget:Object, fFunction:Function):Function { var parameters:Array = new Array (); var l = arguments.length;