class com.google.ads.studio.InvisibleExitButton
Invisible exit button component implementation.
Properties
Name | Type | Description | Default |
---|---|---|---|
exitId | String |
|
Events
Name | Type | Description |
---|---|---|
FAIL | com.google.ads.studio.events.StudioEvent | Dispatched when the component has failed to initialize. |
INIT | com.google.ads.studio.events.StudioEvent | Dispatched when the component has initialized.
This event may fire almost immediately after component construction. To
ensure capturing the initialized state please refer to the example:
// Note the variable component refers to the component instance. import com.google.ads.studio.events.StudioEvent; var initializedHandler:Function = function( event:StudioEvent = null):void { trace("The component initialized!"); }; if (component.isInitialized()) { initializedHandler(); } else { component.addEventListener(StudioEvent.INIT, initializedHandler); } |
Instance Methods
Defined in: com.google.ads.studio:EnabledComponent
getEnabler()
:
Object
isInitialized()
:
Boolean
Returns whether the component has initialized.