| Package | com.pcthomatos.components.videoplayer |
| Class | public class ULVideoPlayer |
| Inheritance | ULVideoPlayer flash.display.Sprite |
See also
| Property | Defined by | ||
|---|---|---|---|
| barOpacity : Number = .8
Changes the scrubber bar and timeline bar opacity.
| ULVideoPlayer | ||
| bufrAnimationBarsTotal : int = 5
Changes the number of buffering animation bars color.
| ULVideoPlayer | ||
| bufrBarColorDone : uint = 0x00FF00
Changes the buffering bar done color.
| ULVideoPlayer | ||
| bufrBarColorDoneOpacity : Number = .5
Changes the buffering bar done opacity.
| ULVideoPlayer | ||
| bufrBarColorOff : uint = 0xFF0000
Changes the buffering bar off color.
| ULVideoPlayer | ||
| bufrBarColorOn : uint = 0xFFFF00
Changes the buffering bar on color.
| ULVideoPlayer | ||
| bufrBarColorOnOpacity : Number = .5
Changes the buffering bar on opacity.
| ULVideoPlayer | ||
| bufrBarColorOpacity : Number = .3
Changes the buffering bar opacity.
| ULVideoPlayer | ||
| bufrBgColor : uint = 0x000000
Changes the buffering bar background color.
| ULVideoPlayer | ||
| bufrBgColorOpacity : Number = .6
Changes the buffering bar opacity.
| ULVideoPlayer | ||
| buttonOpacity : Number = .4
Changes the button opacity of all the butons.
| ULVideoPlayer | ||
| mainColor : uint = 0xCCCCCC
Changes the main color of all the buttons and the borders.
| ULVideoPlayer | ||
| mainFillColor : uint = 0x000000
Changes the fill color (negative space) of all the buttons.
| ULVideoPlayer | ||
| mainFillOpacity : Number = .8
Changes the fill opacity (negative space of all the buttons.
| ULVideoPlayer | ||
| mainOverColor : uint = 0xFFFFFF
Changes the mouse over state of all the buttons
| ULVideoPlayer | ||
| mainOverOpacity : Number = 1
Changes the mouse over opacity of all the buttons
| ULVideoPlayer | ||
| scrubberColor : uint = 0x777777
Changes the scrubber color.
| ULVideoPlayer | ||
| scrubberOnColor : uint = 0xEEEEEE
Changes the scrubber color on color.
| ULVideoPlayer | ||
| tFormat : TextFormat
Changes the textFormat of the timecode.
| ULVideoPlayer | ||
| timelineBarEmpty : uint = 0x111111
Changes the unloaded bar color of the timeline.
| ULVideoPlayer | ||
| timelineBarFull : uint = 0x333333
Changes the loaded bar color of the timeline.
| ULVideoPlayer | ||
| videoBg : uint = 0x000000
Changes the background of the player.
| ULVideoPlayer | ||
| volumeBarEmpty : uint = 0x333333
Changes the volume bar empty color.
| ULVideoPlayer | ||
| volumeBarFull : uint = 0xFFFFFF
Changes the volume bar full color.
| ULVideoPlayer | ||
| volumeOffSpriteColor : uint = 0x440000
Changes the volume off "red X" color.
| ULVideoPlayer | ||
| Method | Defined by | ||
|---|---|---|---|
|
ULVideoPlayer(ulVideo:ULVideo, ulImage:Bitmap = null)
Creates the ULVideoPlayer Object
| ULVideoPlayer | ||
|
changeVideo(ulVideo:ULVideo, ulImage:Bitmap = null):void
Allows you to swap videos easily.
| ULVideoPlayer | ||
|
clean():void
Destructor method.
| ULVideoPlayer | ||
|
setFullScreenXY(fsX:Number, fsY:Number):void
Specifies the X Y coordinates of the fullscreen rectangle.
| ULVideoPlayer | ||
|
stop():void
Stops the video and moves the playhead back to the beginning.
| ULVideoPlayer | ||
|
updateSettings():void
Call this method every time you update the color properties.
| ULVideoPlayer | ||
| barOpacity | property |
public var barOpacity:Number = .8Changes the scrubber bar and timeline bar opacity.
The default value is .8.
| bufrAnimationBarsTotal | property |
public var bufrAnimationBarsTotal:int = 5Changes the number of buffering animation bars color.
The default value is 5.
| bufrBarColorDone | property |
public var bufrBarColorDone:uint = 0x00FF00Changes the buffering bar done color.
The default value is 0x00FF00.
| bufrBarColorDoneOpacity | property |
public var bufrBarColorDoneOpacity:Number = .5Changes the buffering bar done opacity.
The default value is .5.
| bufrBarColorOff | property |
public var bufrBarColorOff:uint = 0xFF0000Changes the buffering bar off color.
The default value is 0xFF0000.
| bufrBarColorOn | property |
public var bufrBarColorOn:uint = 0xFFFF00Changes the buffering bar on color.
The default value is 0xFFFF00.
| bufrBarColorOnOpacity | property |
public var bufrBarColorOnOpacity:Number = .5Changes the buffering bar on opacity.
The default value is .5.
| bufrBarColorOpacity | property |
public var bufrBarColorOpacity:Number = .3Changes the buffering bar opacity.
The default value is .3.
| bufrBgColor | property |
public var bufrBgColor:uint = 0x000000Changes the buffering bar background color.
The default value is 0x000000.
| bufrBgColorOpacity | property |
public var bufrBgColorOpacity:Number = .6Changes the buffering bar opacity.
The default value is .6.
| buttonOpacity | property |
public var buttonOpacity:Number = .4Changes the button opacity of all the butons.
The default value is .
| mainColor | property |
public var mainColor:uint = 0xCCCCCCChanges the main color of all the buttons and the borders.
The default value is .
| mainFillColor | property |
public var mainFillColor:uint = 0x000000Changes the fill color (negative space) of all the buttons.
The default value is .
| mainFillOpacity | property |
public var mainFillOpacity:Number = .8Changes the fill opacity (negative space of all the buttons.
The default value is .
| mainOverColor | property |
public var mainOverColor:uint = 0xFFFFFFChanges the mouse over state of all the buttons
The default value is .
| mainOverOpacity | property |
public var mainOverOpacity:Number = 1Changes the mouse over opacity of all the buttons
The default value is .
| scrubberColor | property |
public var scrubberColor:uint = 0x777777Changes the scrubber color.
The default value is 0x777777.
| scrubberOnColor | property |
public var scrubberOnColor:uint = 0xEEEEEEChanges the scrubber color on color.
The default value is 0xEEEEEE.
| tFormat | property |
public var tFormat:TextFormatChanges the textFormat of the timecode.
The default value is TextFormat("Arial, Helvetica, Sans-Serif", 12, 0xFFFFFF);.
| timelineBarEmpty | property |
public var timelineBarEmpty:uint = 0x111111Changes the unloaded bar color of the timeline.
The default value is 0x111111.
| timelineBarFull | property |
public var timelineBarFull:uint = 0x333333Changes the loaded bar color of the timeline.
The default value is 0x333333.
| videoBg | property |
public var videoBg:uint = 0x000000Changes the background of the player. Only see if no default image is used.
The default value is .
| volumeBarEmpty | property |
public var volumeBarEmpty:uint = 0x333333Changes the volume bar empty color.
The default value is 0x333333.
| volumeBarFull | property |
public var volumeBarFull:uint = 0xFFFFFFChanges the volume bar full color.
The default value is 0xFFFFFF.
| volumeOffSpriteColor | property |
public var volumeOffSpriteColor:uint = 0x440000Changes the volume off "red X" color.
The default value is 0x440000.
| ULVideoPlayer | () | constructor |
public function ULVideoPlayer(ulVideo:ULVideo, ulImage:Bitmap = null)Creates the ULVideoPlayer Object
ParametersulVideo:ULVideo — A ULVideo type either loaded through UltraLoader or manually created using the ULVideo type.
|
|
ulImage:Bitmap (default = null) — A Bitmap image for the start screen, optional.
|
See also
| changeVideo | () | method |
public function changeVideo(ulVideo:ULVideo, ulImage:Bitmap = null):voidAllows you to swap videos easily.
ParametersulVideo:ULVideo — A ULVideo type either loaded through UltraLoader or manually created using the ULVideo type.
|
|
ulImage:Bitmap (default = null) — A Bitmap image for the start screen, optional.
|
See also
| clean | () | method |
public function clean():voidDestructor method. In order to properly destroy ULVideoPlayer this method must be run first. Otherwise a memory leak will occur.
| setFullScreenXY | () | method |
public function setFullScreenXY(fsX:Number, fsY:Number):voidSpecifies the X Y coordinates of the fullscreen rectangle. Should be the X,Y coordinates of your video player relative to the stage. If the video player moves, reset this value.
ParametersfsX:Number — X coordinate of the video player relative to the stage.
|
|
fsY:Number — Y coordinate of the video player relative to the stage.
|
| stop | () | method |
public function stop():voidStops the video and moves the playhead back to the beginning.
| updateSettings | () | method |
public function updateSettings():voidCall this method every time you update the color properties.