Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The IAutomationMethodDescriptor interface defines the interface for a method descriptor.
name:String
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The name of the method.
Implementation public function get name():String
returnType:String
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The return type of the method.
Implementation public function get returnType():String
public function getArgDescriptors(obj:IAutomationObject):Array
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Returns an Array of argument descriptors for this method.
Parameters
Returns | Array — Array of argument descriptors for this method.
|
public function record(target:IAutomationObject, event:Event):Array
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Encodes an automation event arguments into an Array.
Not all method descriptors support recording.
Parameters
Returns | Array — Array of argument descriptors.
|
public function replay(target:IAutomationObject, args:Array):Object
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Decodes an argument array and invokes a method.
Parameters
| target:IAutomationObject — Automation object to replay the method on.
|
|
| args:Array — Array of argument values and descriptors to
be used to invoke the method.
|
Returns | Object — Whatever the method invoked returns.
|