Packagecom.apdevblog.ui.video.style
Classpublic class ApdevVideoPlayerDefaultStyle
InheritanceApdevVideoPlayerDefaultStyle Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 9

Default style-sheet for the VideoPlayer.



Public Properties
 PropertyDefined By
  barBg : uint = 0x58503c
background color of time-bar
ApdevVideoPlayerDefaultStyle
  barBgAlpha : Number = 0.5
alpha of time-bar
ApdevVideoPlayerDefaultStyle
  barKnob : uint = 0xffffff
color of the knob on the time-bar
ApdevVideoPlayerDefaultStyle
  barKnobOutline : uint = 0x000000
color of the knob's outline on the time-bar
ApdevVideoPlayerDefaultStyle
  barKnobOutlineAlpha : Number = 0.2
alpha of the knob's outline on the time-bar
ApdevVideoPlayerDefaultStyle
  barLoading : uint = 0x58503c
background color of time-bar (loading)
ApdevVideoPlayerDefaultStyle
  barPlaying : uint = 0xc6ae6a
background color of time-bar (playing)
ApdevVideoPlayerDefaultStyle
  bgGradient1 : uint = 0x393324
background gradient color top
ApdevVideoPlayerDefaultStyle
  bgGradient1Alpha : Number = 1.0
background gradient alpha top
ApdevVideoPlayerDefaultStyle
  bgGradient2 : uint = 0x000000
background gradient color bottom
ApdevVideoPlayerDefaultStyle
  bgGradient2Alpha : Number = 1.0
background gradient alpha bottom
ApdevVideoPlayerDefaultStyle
  btnGradient1 : uint = 0x393324
btn's background gradient color top
ApdevVideoPlayerDefaultStyle
  btnGradient2 : uint = 0x000000
btn's background gradient color bottom
ApdevVideoPlayerDefaultStyle
  btnIcon : uint = 0xc6ae6a
btn's icon color
ApdevVideoPlayerDefaultStyle
  btnRollOverGlow : uint = 0xffffff
btn's icon glow color
ApdevVideoPlayerDefaultStyle
  btnRollOverGlowAlpha : Number = 0.45
btn's icon glow alpha
ApdevVideoPlayerDefaultStyle
  controlsBg : uint = 0x000000
background color for videocontrols
ApdevVideoPlayerDefaultStyle
  controlsBgAlpha : Number = 0.0
videocontrols' background alpha
ApdevVideoPlayerDefaultStyle
  controlsPaddingLeft : uint = 0
videocontrols padding left side (in pixel)
ApdevVideoPlayerDefaultStyle
  controlsPaddingRight : uint = 0
videocontrols padding right side (in pixel)
ApdevVideoPlayerDefaultStyle
  ignoreFlashvars : Boolean = false
flag for ignoring any style-info passed via flashvars
ApdevVideoPlayerDefaultStyle
  playIcon : uint = 0xFFFFFF
color of the big play icon (only shown when using jpg at the beginning)
ApdevVideoPlayerDefaultStyle
  playIconAlpha : Number = 1.0
alpha of the big play icon
ApdevVideoPlayerDefaultStyle
  timerBg : uint = 0x000000
background color for timer control
ApdevVideoPlayerDefaultStyle
  timerBgAlpha : Number = 0.0
timercontrol's background alpha
ApdevVideoPlayerDefaultStyle
  timerDown : uint = 0x58503c
text color when timer is counting down
ApdevVideoPlayerDefaultStyle
  timerUp : uint = 0xc6ae6a
text color when timer is counting up
ApdevVideoPlayerDefaultStyle
Public Methods
 MethodDefined By
  
feedFlashvars(flashvars:Object):void
check passed flashvars for style information
ApdevVideoPlayerDefaultStyle
Property Detail
barBgproperty
public var barBg:uint = 0x58503c

background color of time-bar

barBgAlphaproperty 
public var barBgAlpha:Number = 0.5

alpha of time-bar

barKnobproperty 
public var barKnob:uint = 0xffffff

color of the knob on the time-bar

barKnobOutlineproperty 
public var barKnobOutline:uint = 0x000000

color of the knob's outline on the time-bar

barKnobOutlineAlphaproperty 
public var barKnobOutlineAlpha:Number = 0.2

alpha of the knob's outline on the time-bar

barLoadingproperty 
public var barLoading:uint = 0x58503c

background color of time-bar (loading)

barPlayingproperty 
public var barPlaying:uint = 0xc6ae6a

background color of time-bar (playing)

bgGradient1property 
public var bgGradient1:uint = 0x393324

background gradient color top

bgGradient1Alphaproperty 
public var bgGradient1Alpha:Number = 1.0

background gradient alpha top

bgGradient2property 
public var bgGradient2:uint = 0x000000

background gradient color bottom

bgGradient2Alphaproperty 
public var bgGradient2Alpha:Number = 1.0

background gradient alpha bottom

btnGradient1property 
public var btnGradient1:uint = 0x393324

btn's background gradient color top

btnGradient2property 
public var btnGradient2:uint = 0x000000

btn's background gradient color bottom

btnIconproperty 
public var btnIcon:uint = 0xc6ae6a

btn's icon color

btnRollOverGlowproperty 
public var btnRollOverGlow:uint = 0xffffff

btn's icon glow color

btnRollOverGlowAlphaproperty 
public var btnRollOverGlowAlpha:Number = 0.45

btn's icon glow alpha

controlsBgproperty 
public var controlsBg:uint = 0x000000

background color for videocontrols

controlsBgAlphaproperty 
public var controlsBgAlpha:Number = 0.0

videocontrols' background alpha

controlsPaddingLeftproperty 
public var controlsPaddingLeft:uint = 0

videocontrols padding left side (in pixel)

controlsPaddingRightproperty 
public var controlsPaddingRight:uint = 0

videocontrols padding right side (in pixel)

ignoreFlashvarsproperty 
public var ignoreFlashvars:Boolean = false

flag for ignoring any style-info passed via flashvars

playIconproperty 
public var playIcon:uint = 0xFFFFFF

color of the big play icon (only shown when using jpg at the beginning)

playIconAlphaproperty 
public var playIconAlpha:Number = 1.0

alpha of the big play icon

timerBgproperty 
public var timerBg:uint = 0x000000

background color for timer control

timerBgAlphaproperty 
public var timerBgAlpha:Number = 0.0

timercontrol's background alpha

timerDownproperty 
public var timerDown:uint = 0x58503c

text color when timer is counting down

timerUpproperty 
public var timerUp:uint = 0xc6ae6a

text color when timer is counting up

Method Detail
feedFlashvars()method
public function feedFlashvars(flashvars:Object):void

check passed flashvars for style information

Parameters

flashvars:Object — object containing flashvars