This component, designed for use with layouts, is a video scrubber where the color and style are configurable.
Properties
Name | Type | Description | Default |
---|---|---|---|
BACKGROUND_DARK | uint |
| 0x666666 |
BACKGROUND_LIGHT | uint | 0xffffff | |
HANDLE_WIDTH_OFFSET_MULTIPLIER | Number | 0.9 | |
PROGRESS_BAR_HEIGHT | Number | 8 | |
PROGRESS_DARK | uint | 0x333333 | |
PROGRESS_LIGHT | uint | 0xcccccc | |
color | uint | The color of the scrubber handle. |
|
style | String | The style of the scrubber handle. | round |
Constructors
Instance Methods
Defined in: com.google.ads.studio:EnabledComponent
getEnabler()
:
Object
isInitialized()
:
Boolean
Returns whether the component has initialized.
Defined in: com.google.ads.studio.video:AbstractVideoControl
getVideoPlayerSearchContainer()
:
DisplayObjectContainer
Gets the scope of where to begin our video player search.
setEnabled(enabled:Boolean)
:
void
Sets the enabled state of the video control.
componentButtonInstance.setEnabled(true); // componentButtonInstance.setEnabled(false);
setVideoPlayerSearchContainer(scope:flash.display:DisplayObjectContainer)
:
void
Sets the scope of where to begin our video player search.
Defined in com.google.ads.studio.video:ConfigurableScrubber
getColor()
:
uint
Gets the color of this control.
getStyle()
:
String
Gets the style of this control.
setColorAndStyle(color:uint, style:String)
:
void
Sets the color and the style of this control.
setWidth(width:Number)
:
void
Sets the width of the scrubber.
updateDisplay()
:
void
Updates the display of the scrubber.