ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.automation.air 

AirFunctionsHelper  - AS3 Flex

Packagemx.automation.air
Classpublic class AirFunctionsHelper
InheritanceAirFunctionsHelper Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Helper class that provides methods required for automation of AIR applications



Public Properties
 PropertyDefined By
  activeWindow : DisplayObject
[read-only] Returns current window that is active
AirFunctionsHelper
  appTitle : String
[read-only] Returns the title of window of top level application
AirFunctionsHelper
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  stageStartCoordinates : Point
[read-only] Returns the start point of the stage in screen coordinates
AirFunctionsHelper
Public Methods
 MethodDefined By
  
Constructor
AirFunctionsHelper
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

activeWindow

property
activeWindow:DisplayObject  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Returns current window that is active



Implementation
    public function get activeWindow():DisplayObject

appTitle

property 
appTitle:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Returns the title of window of top level application



Implementation
    public function get appTitle():String

stageStartCoordinates

property 
stageStartCoordinates:Point  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Returns the start point of the stage in screen coordinates



Implementation
    public function get stageStartCoordinates():Point
Constructor Detail

AirFunctionsHelper

()Constructor
public function AirFunctionsHelper(windowId:String)

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Constructor

Parameters
windowId:String