class com.google.ads.studio.FullScreenButton
Skinnable fullscreen button to enlarge the swf to the entire screen. For more information, see Full Screen-capable creatives.
Properties
| Name | Type | Description | Default |
|---|---|---|---|
enabledButton | DisplayObject | The enabled button of the component. | |
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);
}
|
Constructors
FullScreenButton()
:
voidInstance Methods
Defined in: com.google.ads.studio:EnabledComponent
getEnabler()
:
ObjectisInitialized()
:
BooleanReturns whether the component has initialized.
Defined in com.google.ads.studio:FullScreenButton
setEnabled(enabled:Boolean)
:
voidSets the enabled state of the button.