MethodCaller has the ability to call a method on any object.
If an error ocurrs, it will send it to the logger.
public var logger:IMateLogger
An IMateLogger used to log errors.
Similar to Flex ILogger
public function call(scope:IScope, instance:String, method:Boolean, args:*, parseArguments:* = true):*
The function used to call methods on objects.
It can also call methods that have arguments if they are provided.
Parameters
| scope:IScope |
| |
| instance:String |
| |
| method:Boolean |
| |
| args:* |
| |
| parseArguments:* (default = true) |
Returns