DisplayControls
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Classpath: | mx.controls.streamingmedia.config.DisplayControls |
| File last modified: | Tuesday, 18 December 2007, 15:44:38 |
Summary
Constructor
Class properties
- PLAYER_VARIABLES : Object
- DISPLAY_VARIABLES : Object
Instance properties
- _variableNames : Object
- The variable names to use
- videoTime : VideoTime
- _autoplayCheckBox : CheckBox
- _autosizeCheckBox : CheckBox
- _aspectRatioCheckBox : CheckBox
- videoTimeLabel : Label
- urlLabel : Label
- _urlTextField : TextField
- flvRadioButton : RadioButton
- mp3RadioButton : RadioButton
- mediaTypeGroup : RadioButtonGroup
- mediaTypeHandler : Object
Instance methods
- init : Void
- getVariableName (id:String) : String
- initOnFrame1 : Void
- handleMediaType : Void
- Handle a change to the media type radio buttons
- uiChanges
- getMediaType : String
- handleAutosize (isAuto:Boolean) : Void
- handleAutoplay (isAuto:Boolean) : Void
- handleAspectRatio (respect:Boolean) : Void
- updateData (id:String, value:Object) : Void
- Update a data item to the xch object.
Constructor
DisplayControls
function DisplayControls (
)
Class properties
DISPLAY_VARIABLES
static private DISPLAY_VARIABLES:Object = {
(read)
PLAYER_VARIABLES
static private PLAYER_VARIABLES:Object = {
(read)
Instance properties
_aspectRatioCheckBox
_autoplayCheckBox
_autosizeCheckBox
_urlTextField
private _urlTextField:TextField
(read)
_variableNames
private _variableNames:Object
(read)
The variable names to use
flvRadioButton
mediaTypeGroup
mediaTypeHandler
private mediaTypeHandler:Object
(read)
mp3RadioButton
urlLabel
videoTime
videoTimeLabel
Instance methods
getMediaType
private function getMediaType (
) : String
Returns:
- The selected media type
getVariableName
function getVariableName (
id:String) : String
handleAspectRatio
function handleAspectRatio (
respect:Boolean) : Void
handleAutoplay
function handleAutoplay (
isAuto:Boolean) : Void
handleAutosize
function handleAutosize (
isAuto:Boolean) : Void
handleMediaType
function handleMediaType (
) : Void
Handle a change to the media type radio buttons
init
private function init (
) : Void
initOnFrame1
private function initOnFrame1 (
) : Void
uiChanges
private function uiChanges (
)
Update the UI controls based on (a) the mp3 media type and (b)
the autosize setting.
the autosize setting.
updateData
function updateData (
id:String,
value:Object) : Void
Update a data item to the xch object.