Packagecom.fxcomponents.controls
Classpublic class FXVideo
InheritanceFXVideo Inheritance mx.controls.VideoDisplay

The FXVideo control lets you play an FLV file in a Flex application. It supports progressive download over HTTP, streaming from the Flash Media Server, and streaming from a Camera object.

MXML Syntaxexpanded Hide MXML Syntax

The <controls:FXVideo> tag inherits all the tag attributes of its superclass, and adds the following tag attributes:

  <controls:FXVideo
    
    Styles
    backColor="0x555555"
    frontColor="0xeeeeee"
    controlBarHeight="21"
    timerFontName="Verdana"
    timerFontSize="9"
   />
  


Public Properties
 PropertyDefined by
  adjustVolumeOnScroll : Boolean
Specifies whether the volume should adjust when users scroll over the video.
FXVideo
Public Methods
 MethodDefined by
  
Constructor.
FXVideo
Protected Methods
 MethodDefined by
  
Commits any changes to component properties, either to make the changes occur at the same time, or to ensure that properties are set in a specific order.
FXVideo
  
Creates any child components of the component.
FXVideo
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Sizes and positions the children of the component on the screen based on all previous property and style settings, and draws any skins or graphic elements used by the component.
FXVideo
Styles
 StyleDescriptionDefined by
  
backColor
Type: uint   Format: Color
The color of the control bar. The default value is 0x555555.
FXVideo
  
controlBarHeight
Type: Number
The height of the control bar. Odd values look better. The default value is 21.
FXVideo
  
frontColor
Type: uint   Format: Color
The color of the buttons on the control bar. The default value is 0xeeeeee.
FXVideo
  
timerFontName
Type: String   CSS Inheritance: no
The name of the font used in the timer. The default value is "Verdana".
FXVideo
  
timerFontSize
Type: Number
The size of the font used in the timer. The default value is 9.
FXVideo
Property detail
adjustVolumeOnScrollproperty
adjustVolumeOnScroll:Boolean  [read-write]

Specifies whether the volume should adjust when users scroll over the video.

The default value is true.

Implementation
    public function get adjustVolumeOnScroll():Boolean
    public function set adjustVolumeOnScroll(value:Boolean):void
Constructor detail
FXVideo()constructor
public function FXVideo()

Constructor.

Method detail
commitProperties()method
protected override function commitProperties():void

Commits any changes to component properties, either to make the changes occur at the same time, or to ensure that properties are set in a specific order.

createChildren()method 
protected override function createChildren():void

Creates any child components of the component. For example, the ComboBox control contains a TextInput control and a Button control as child components.

updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Sizes and positions the children of the component on the screen based on all previous property and style settings, and draws any skins or graphic elements used by the component. The parent container for the component determines the size of the component itself.

Parameters
unscaledWidth:Number
 
unscaledHeight:Number