This component designed for use with layouts is a invitation video overlay where the color and style are configurable. This usually sits on top of the video player and serves as a call to action.
Properties
| Name | Type | Description | Default |
|---|---|---|---|
color | uint | The color of the button. | |
imageUrl | String | null | |
style | String | The style of the button. | round |
Events
| Name | Type | Description |
|---|---|---|
INIT | com.google.ads.studio.events.StudioEvent | Dispatched when a valid video player has been found. |
Constructors
Instance Methods
Defined in: com.google.ads.studio:EnabledComponent
getEnabler()
:
ObjectisInitialized()
:
BooleanReturns whether the component has initialized.
Defined in: com.google.ads.studio.video:AbstractVideoControl
getVideoPlayerSearchContainer()
:
DisplayObjectContainerGets the scope of where to begin our video player search.
setEnabled(enabled:Boolean)
:
voidSets the enabled state of the video control.
componentButtonInstance.setEnabled(true);
// componentButtonInstance.setEnabled(false);
setVideoPlayerSearchContainer(scope:flash.display:DisplayObjectContainer)
:
voidSets the scope of where to begin our video player search.
Defined in com.google.ads.studio.video:ConfigurableVideoOverlay
getColor()
:
uintGets the color of this control.
getStyle()
:
StringGets the style of this control.
setColorAndStyle(color:uint, style:String)
:
voidSets the color and the style of this control.
setImageUrl(url:String)
:
voidSets the url of the image to be used as the overlay.
updateDisplay()
:
void