Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
StageProxy

Package | org.apache.flex.core
Class | public class StageProxy
Inheritance | StageProxy Object
Implements | IEventDispatcher

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The StageProxy class wraps the stage and presents it as a FlexJS IEventDispatcher.

Public Methods

| Method | Defined By
--- | --- | ---
|  | StageProxy(stage:Stage) Constructor. | StageProxy
|  | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReferences:Boolean = false):void | StageProxy
|  | dispatchEvent(event:Event):Boolean | StageProxy
|  | hasEventListener(eventName:String):Boolean | StageProxy
|  | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | StageProxy
|  | willTrigger(eventName:String):Boolean | StageProxy

Constructor Detail

StageProxy | () | Constructor

`public function StageProxy(stage:Stage)`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Parameters

| `stage:Stage`

Method Detail

addEventListener | () | method

`public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReferences:Boolean = false):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Parameters

| `type:String`
| `listener:Function`
| `useCapture:Boolean` (default = `false`)``
| `priority:int` (default = `0`)``
| `useWeakReferences:Boolean` (default = `false`)``

dispatchEvent | () | method |

`public function dispatchEvent(event:Event):Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Parameters

| `event:Event`

Returns

| `Boolean`

hasEventListener | () | method |

`public function hasEventListener(eventName:String):Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Parameters

| `eventName:String`

Returns

| `Boolean`

removeEventListener | () | method |

`public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Parameters

| `type:String`
| `listener:Function`
| `useCapture:Boolean` (default = `false`)``

willTrigger | () | method |

`public function willTrigger(eventName:String):Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Parameters

| `eventName:String`

Returns

| `Boolean`

Mon Sep 5 2016, 07:19 AM -07:00