Packagedigicrafts.flash.controls
Classpublic class PhotoFlipVideo
InheritancePhotoFlipVideo Inheritance AlbumComponentBase Inheritance digicrafts.flash.core.UIComponentBase



Public Properties
 PropertyDefined by
  autoPlayNextVideo : Boolean
Gets or sets the autoPlayNextVideo property.
PhotoFlipVideo
  autoPlayVideo : Boolean
Gets or sets the autoPlayVideo property.
PhotoFlipVideo
 Inheritedautostart : Boolean
AlbumComponentBase
  autoZoomVideo : Boolean
Gets or sets the autoZoomVideo property.
PhotoFlipVideo
  backPanel : Sprite
[read-only] Gets backPanel property.
PhotoFlipVideo
  backPanelSkin : String
Gets or sets the backPanelSkin property.
PhotoFlipVideo
 InheritedbufferCount : Number
Gets or sets the bufferCount property.
AlbumComponentBase
  captionTextTarget : String
Gets or sets the captionTextTarget property.
PhotoFlipVideo
 InheriteddataProvider : Array
DataProvider
AlbumComponentBase
  defaultMaterialColor : Number
Gets or sets the defaultMaterialColor property.
PhotoFlipVideo
  defaultTooltipFormat : Object
Gets or sets the tooltipDistance property.
PhotoFlipVideo
  dimBackgroundEnabled : Boolean
Gets or sets the dimBackgroundEnabled property.
PhotoFlipVideo
  dimBackgroundValue : Number
Gets or sets the dimBackgroundValue property.
PhotoFlipVideo
  focusDistance : Number
Gets or sets the focusDistance property.
PhotoFlipVideo
  infiniteScrollEnabled : Boolean
Gets or sets the infiniteScrollEnabled property.
PhotoFlipVideo
  initPosition : Number
Gets or sets the initPosition property.
PhotoFlipVideo
  itemAlpha : Number
Gets or sets the itemAlpha property.
PhotoFlipVideo
  itemClickGotoEnabled : Boolean
Gets or sets the itemClickGotoEnabled property.
PhotoFlipVideo
  itemClickLinkEnabled : Boolean
Gets or sets the itemClickLinkEnabled property.
PhotoFlipVideo
  itemDistance : Number
Gets or sets the itemScaleRatio property.
PhotoFlipVideo
  itemHeight : Number
Gets or sets the itemHeight property.
PhotoFlipVideo
  itemOverColor : Number
Gets or sets the itemOverColor property.
PhotoFlipVideo
  itemOverColorSize : Number
Gets or sets the itemOverColorSize property.
PhotoFlipVideo
  itemOverGlowEnabled : Boolean
Gets or sets the itemOverGlowEnabled property.
PhotoFlipVideo
  itemRotation : Number
Gets or sets the itemRotation property.
PhotoFlipVideo
  itemScaleRatio : Number
Gets or sets the itemScaleRatio property.
PhotoFlipVideo
  itemWidth : Number
Gets or sets the itemWidth property.
PhotoFlipVideo
  keyboardScrollEnabled : Boolean
Gets or sets the keyboardScrollEnabled property.
PhotoFlipVideo
 InheritedloaderSkin : String
Gets or sets the defaultLoaderSkin property.
AlbumComponentBase
  middleItemDistance : Number
Gets or sets the middleItemDistance property.
PhotoFlipVideo
  middleItemDistanceZ : Number
Gets or sets the middleItemDistanceZ property.
PhotoFlipVideo
  middleItemScale : Number
Gets or sets the middleItemScale property.
PhotoFlipVideo
  mouseScrollEnabled : Boolean
Gets or sets the mouseScrollEnabled property.
PhotoFlipVideo
  nextButtonTarget : String
Gets or sets the nextButtonTarget property.
PhotoFlipVideo
  oddItemCount : Number
Gets or sets the oddItemCount property.
PhotoFlipVideo
  prevButtonTarget : String
Gets or sets the prevButtonTarget property.
PhotoFlipVideo
 Inheritedproxy : String
Gets or sets the proxy property.
AlbumComponentBase
 Inheritedquality : uint
Gets or sets the quality property.
AlbumComponentBase
  reflection : Number
Gets or sets the reflection property.
PhotoFlipVideo
  scrollerTarget : String
Gets or sets the scrollerTarget property.
PhotoFlipVideo
  selectedItem : Object
[read-only] Return the data of selected item
PhotoFlipVideo
  selectedItemIndex : Number
Gets or sets the itemClickSelectionEnabled property.
PhotoFlipVideo
  shadow : Number
Gets or sets the shadow property.
PhotoFlipVideo
  showVideoControls : Boolean
Gets or sets the showVideoControls property.
PhotoFlipVideo
  slideShowDirection : uint
Gets or sets the slideShowDirection property.
PhotoFlipVideo
  slideShowEnabled : Boolean
Gets or sets the slideShowEnabled property.
PhotoFlipVideo
  slideShowInterval : Number
Gets or sets the slideShowInterval property.
PhotoFlipVideo
  slideShowManager : SlideShowManager
[read-only]
PhotoFlipVideo
  slideShowType : Number
Gets or sets the slideShowType property.
PhotoFlipVideo
 Inheritedsmoothing : Boolean
Gets or sets the smoothing property.
AlbumComponentBase
 Inheritedsource : Object
Gets or sets the source property.
AlbumComponentBase
  tooltip : Tooltip
[read-only] Gets or sets the tooltip property.
PhotoFlipVideo
  tooltipAlign : String
Gets or sets the tooltipAlign property.
PhotoFlipVideo
  tooltipDistance : Number
Gets or sets the tooltipDistance property.
PhotoFlipVideo
  tooltipMode : uint
Gets or sets the tooltipMode property.
PhotoFlipVideo
  touchScrollAcceleration : Number
Gets or sets the touchScrollAcceleration property.
PhotoFlipVideo
  touchScrollDirection : Boolean
Gets or sets the touchScrollDirection property.
PhotoFlipVideo
  touchScrollEnabled : Boolean
Return the array of data for mutiple selected item.
PhotoFlipVideo
  touchScrollStrength : Number
Gets or sets the touchScrollStrength property.
PhotoFlipVideo
 InheriteduseThumbnail : Boolean
Gets or sets the useThumbnail property.
AlbumComponentBase
  videoClickToPlayEnabled : Boolean
Gets or sets the showVideoControls property.
PhotoFlipVideo
  videoControlsSkin : String
Gets or sets the videoControlsSkin property.
PhotoFlipVideo
  videoPanel : AbstractVideoPanel
[read-only] Gets videoPlayer property.
PhotoFlipVideo
  videoResizeMode : uint
Gets or sets the videoResizeMode property.
PhotoFlipVideo
Public Methods
 MethodDefined by
  
Constructor
PhotoFlipVideo
  
gotoItem(index:Number, direction:uint = 1):void
Tell component move to item with index
PhotoFlipVideo
 Inherited
load(source:*):void
Load source and start the component
AlbumComponentBase
  
next():void
Tell component move to next item
PhotoFlipVideo
  
prev():void
Tell component move to previous item
PhotoFlipVideo
 Inherited
unload():void
Unload the items and delete all object
AlbumComponentBase
Events
 EventSummaryDefined by
 Inherited Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed.AlbumComponentBase
 Inherited Dispatched when error occured during buffering resource This event will dispatch if any error occur during the buffering process e.g.AlbumComponentBase
 Inherited Dispatched when the component start buffering resource.AlbumComponentBase
   Dispatched when the video controls appear This event will dispatch if the video controls start to appear.PhotoFlipVideo
   Dispatched when the video controls disappear This event will dispatch if the video controls start to disappear.PhotoFlipVideo
   Dispatched when the hide info button clicked.PhotoFlipVideo
   Dispatched when mouse click on the item.PhotoFlipVideo
   Dispatched when mouse double click on the item.PhotoFlipVideo
   Dispatched when mouse down inside an item.PhotoFlipVideo
   Dispatched when mouse mouse outside an item.PhotoFlipVideo
   Dispatched when mouse move inside an item.PhotoFlipVideo
   Dispatched when mouse up occur after mouse down inside an item..PhotoFlipVideo
   Dispatched when the next video button clicked..PhotoFlipVideo
   Dispatched when the previous video button clicked..PhotoFlipVideo
   Dispatched when the show info button clicked.PhotoFlipVideo
   Dispatched when the video play to the end.PhotoFlipVideo
   Dispatched when the video pause.PhotoFlipVideo
   Dispatched when the video start play.PhotoFlipVideo
 Inherited Dispatched when the source xml load complete.AlbumComponentBase
 Inherited Dispatched when error occur when loading xml.AlbumComponentBase
Property detail
autoPlayNextVideoproperty
autoPlayNextVideo:Boolean  [read-write]

Gets or sets the autoPlayNextVideo property. autoPlayNextVideo property determine if photoflip goto play next item in the list

The default value is false.

Implementation
    public function get autoPlayNextVideo():Boolean
    public function set autoPlayNextVideo(value:Boolean):void
autoPlayVideoproperty 
autoPlayVideo:Boolean  [read-write]

Gets or sets the autoPlayVideo property. autoPlayVideo property determine if the video auto play when move to front

The default value is false.

Implementation
    public function get autoPlayVideo():Boolean
    public function set autoPlayVideo(value:Boolean):void
autoZoomVideoproperty 
autoZoomVideo:Boolean  [read-write]

Gets or sets the autoZoomVideo property. autoZoomVideo property determine if the photoflip auto set fullscreen when video start to play

The default value is false.

Implementation
    public function get autoZoomVideo():Boolean
    public function set autoZoomVideo(value:Boolean):void
backPanelproperty 
backPanel:Sprite  [read-only]

Gets backPanel property. backPanel property allow access to current back panel object

The default value is false.

Implementation
    public function get backPanel():Sprite
backPanelSkinproperty 
backPanelSkin:String  [read-write]

Gets or sets the backPanelSkin property. backPanelSkin property determine the linkage name of back panel skin

The default value is false.

Implementation
    public function get backPanelSkin():String
    public function set backPanelSkin(value:String):void
captionTextTargetproperty 
captionTextTarget:String  [read-write]

Gets or sets the captionTextTarget property. captionTextTarget property determinethe the instance name of dynamic text use to hold the caption.

The default value is .

Implementation
    public function get captionTextTarget():String
    public function set captionTextTarget(value:String):void
defaultMaterialColorproperty 
defaultMaterialColor:Number  [read-write]

Gets or sets the defaultMaterialColor property. defaultMaterialColor property contain the color value of defaultitem material. The value should be int value.

The default value is 0x999999.

Implementation
    public function get defaultMaterialColor():Number
    public function set defaultMaterialColor(value:Number):void
defaultTooltipFormatproperty 
defaultTooltipFormat:Object  [read-write]

Gets or sets the tooltipDistance property. tooltipDistance property contain the object which set the default style of tooltip. { widthLimit:-1, tipSize:5, cornerRadius:10, padding:10, border:1.5, backgroundColor:'000000', backgroundAlpha:0.8, backgroundColor:'000000', borderColor:'FFFFFF', textColor:'FFFFFF' }

The default value is Object.

Implementation
    public function get defaultTooltipFormat():Object
    public function set defaultTooltipFormat(value:Object):void
dimBackgroundEnabledproperty 
dimBackgroundEnabled:Boolean  [read-write]

Gets or sets the dimBackgroundEnabled property. dimBackgroundEnabled property determine if photoflip set the background to dim when video playing

The default value is false.

Implementation
    public function get dimBackgroundEnabled():Boolean
    public function set dimBackgroundEnabled(value:Boolean):void
dimBackgroundValueproperty 
dimBackgroundValue:Number  [read-write]

Gets or sets the dimBackgroundValue property. dimBackgroundValue property determine the value of brightness when background dim

The default value is false.

Implementation
    public function get dimBackgroundValue():Number
    public function set dimBackgroundValue(value:Number):void
focusDistanceproperty 
focusDistance:Number  [read-write]

Gets or sets the focusDistance property. focusDistance property determine the ditance between camera and object.

The default value is 1000.

Implementation
    public function get focusDistance():Number
    public function set focusDistance(value:Number):void
infiniteScrollEnabledproperty 
infiniteScrollEnabled:Boolean  [read-write]

Gets or sets the infiniteScrollEnabled property. infiniteScrollEnabled property determine if item repeat is enabled

The default value is false.

Implementation
    public function get infiniteScrollEnabled():Boolean
    public function set infiniteScrollEnabled(value:Boolean):void
initPositionproperty 
initPosition:Number  [read-write]

Gets or sets the initPosition property. initPosition property detecmine the init index when component loaded

The default value is 230.

Implementation
    public function get initPosition():Number
    public function set initPosition(value:Number):void
itemAlphaproperty 
itemAlpha:Number  [read-write]

Gets or sets the itemAlpha property. itemHeight property detecmine the distance between each item.

The default value is 1.

Implementation
    public function get itemAlpha():Number
    public function set itemAlpha(value:Number):void
itemClickGotoEnabledproperty 
itemClickGotoEnabled:Boolean  [read-write]

Gets or sets the itemClickGotoEnabled property. itemClickGotoEnabled property determine if the item click and move to item action enabled.

The default value is true.

Implementation
    public function get itemClickGotoEnabled():Boolean
    public function set itemClickGotoEnabled(value:Boolean):void
itemClickLinkEnabledproperty 
itemClickLinkEnabled:Boolean  [read-write]

Gets or sets the itemClickLinkEnabled property. itemClickLinkEnabled property determine if the item click to link action enabled.

The default value is false.

Implementation
    public function get itemClickLinkEnabled():Boolean
    public function set itemClickLinkEnabled(value:Boolean):void
itemDistanceproperty 
itemDistance:Number  [read-write]

Gets or sets the itemScaleRatio property. itemHeight property contain the value of item's prefered height.

The default value is null.

Implementation
    public function get itemDistance():Number
    public function set itemDistance(value:Number):void
itemHeightproperty 
itemHeight:Number  [read-write]

Gets or sets the itemHeight property. itemHeight property contain the value of item's prefered height.

The default value is 50.

Implementation
    public function get itemHeight():Number
    public function set itemHeight(value:Number):void
itemOverColorproperty 
itemOverColor:Number  [read-write]

Gets or sets the itemOverColor property. itemOverColor property contain the color value of mouse over glow effect. The value should be int value.

The default value is 0xFFFFFF.

Implementation
    public function get itemOverColor():Number
    public function set itemOverColor(value:Number):void
itemOverColorSizeproperty 
itemOverColorSize:Number  [read-write]

Gets or sets the itemOverColorSize property. itemOverColorSize property determine the size of glow effect.

The default value is 10.

Implementation
    public function get itemOverColorSize():Number
    public function set itemOverColorSize(value:Number):void
itemOverGlowEnabledproperty 
itemOverGlowEnabled:Boolean  [read-write]

Gets or sets the itemOverGlowEnabled property. itemOverGlowEnabled property determine if the item over glow effect enabled.

The default value is true.

Implementation
    public function get itemOverGlowEnabled():Boolean
    public function set itemOverGlowEnabled(value:Boolean):void
itemRotationproperty 
itemRotation:Number  [read-write]

Gets or sets the itemRotation property. itemRotation property detecmine the rotation of side items

The default value is 20.

Implementation
    public function get itemRotation():Number
    public function set itemRotation(value:Number):void
itemScaleRatioproperty 
itemScaleRatio:Number  [read-write]

Gets or sets the itemScaleRatio property. itemScaleRatio property detecmine the scale proportion of side items.

The default value is 0.8.

Implementation
    public function get itemScaleRatio():Number
    public function set itemScaleRatio(value:Number):void
itemWidthproperty 
itemWidth:Number  [read-write]

Gets or sets the itemWidth property. itemWidth property contain the value of item's prefered width.

The default value is 50.

Implementation
    public function get itemWidth():Number
    public function set itemWidth(value:Number):void
keyboardScrollEnabledproperty 
keyboardScrollEnabled:Boolean  [read-write]

Gets or sets the keyboardScrollEnabled property. keyboardScrollEnabled property determine if keyboard control enabled.

The default value is true.

Implementation
    public function get keyboardScrollEnabled():Boolean
    public function set keyboardScrollEnabled(value:Boolean):void
middleItemDistanceproperty 
middleItemDistance:Number  [read-write]

Gets or sets the middleItemDistance property. middleItemDistance property detecmine the distance between middle item and others

The default value is 230.

Implementation
    public function get middleItemDistance():Number
    public function set middleItemDistance(value:Number):void
middleItemDistanceZproperty 
middleItemDistanceZ:Number  [read-write]

Gets or sets the middleItemDistanceZ property. middleItemDistanceZ property detecmine the Z distance between middle item and others

The default value is 500.

Implementation
    public function get middleItemDistanceZ():Number
    public function set middleItemDistanceZ(value:Number):void
middleItemScaleproperty 
middleItemScale:Number  [read-write]

Gets or sets the middleItemScale property. middleItemScale property detecmine the scale of the middle item

The default value is 1.2.

Implementation
    public function get middleItemScale():Number
    public function set middleItemScale(value:Number):void
mouseScrollEnabledproperty 
mouseScrollEnabled:Boolean  [read-write]

Gets or sets the mouseScrollEnabled property. ( Disabled for pending bug fix) mouseScrollEnabled property determine if mouse scroll control enabled.

The default value is true.

Implementation
    public function get mouseScrollEnabled():Boolean
    public function set mouseScrollEnabled(value:Boolean):void
nextButtonTargetproperty 
nextButtonTarget:String  [read-write]

Gets or sets the nextButtonTarget property. nextButtonTarget property determinethe the instance name of button/movieclip which acts as a control to toggle the next item action.

The default value is .

Implementation
    public function get nextButtonTarget():String
    public function set nextButtonTarget(value:String):void
oddItemCountproperty 
oddItemCount:Number  [read-write]

Gets or sets the oddItemCount property. oddItemCount property detecmine the number of items in each side

The default value is 230.

Implementation
    public function get oddItemCount():Number
    public function set oddItemCount(value:Number):void
prevButtonTargetproperty 
prevButtonTarget:String  [read-write]

Gets or sets the prevButtonTarget property. prevButtonTarget property determinethe the instance name of button/movieclip which acts as a control to toggle the previous item action.

The default value is .

Implementation
    public function get prevButtonTarget():String
    public function set prevButtonTarget(value:String):void
reflectionproperty 
reflection:Number  [read-write]

Gets or sets the reflection property. reflection property determine the reflection effect apply to each item.

The default value is 0.5.

Implementation
    public function get reflection():Number
    public function set reflection(value:Number):void
scrollerTargetproperty 
scrollerTarget:String  [read-write]

Gets or sets the scrollerTarget property. scrollerTarget property determinethe the instance name of slider/scrollbar which use to control the position of current item.

The default value is .

Implementation
    public function get scrollerTarget():String
    public function set scrollerTarget(value:String):void
selectedItemproperty 
selectedItem:Object  [read-only]

Return the data of selected item

Implementation
    public function get selectedItem():Object
selectedItemIndexproperty 
selectedItemIndex:Number  [read-write]

Gets or sets the itemClickSelectionEnabled property. itemClickSelectionEnabled property determine if the click to select item feature enabled.

The default value is true.

Implementation
    public function get selectedItemIndex():Number
    public function set selectedItemIndex(value:Number):void
shadowproperty 
shadow:Number  [read-write]

Gets or sets the shadow property. shadow property determine the shadow effect apply to each item.

The default value is 0.5.

Implementation
    public function get shadow():Number
    public function set shadow(value:Number):void
showVideoControlsproperty 
showVideoControls:Boolean  [read-write]

Gets or sets the showVideoControls property. showVideoControls property determine if the video controls is show

The default value is true.

Implementation
    public function get showVideoControls():Boolean
    public function set showVideoControls(value:Boolean):void
slideShowDirectionproperty 
slideShowDirection:uint  [read-write]

Gets or sets the slideShowDirection property. slideShowDirection property use to determine the direction of slide show. 0:left 2:right

The default value is 2.

Implementation
    public function get slideShowDirection():uint
    public function set slideShowDirection(value:uint):void
slideShowEnabledproperty 
slideShowEnabled:Boolean  [read-write]

Gets or sets the slideShowEnabled property. slideShowEnabled property use to enable/disable the auto slideshow.

The default value is false.

Implementation
    public function get slideShowEnabled():Boolean
    public function set slideShowEnabled(value:Boolean):void
slideShowIntervalproperty 
slideShowInterval:Number  [read-write]

Gets or sets the slideShowInterval property. slideShowInterval property use to determine the interval between each slideshow move.

The default value is 10.

Implementation
    public function get slideShowInterval():Number
    public function set slideShowInterval(value:Number):void
slideShowManagerproperty 
slideShowManager:SlideShowManager  [read-only]Implementation
    public function get slideShowManager():SlideShowManager
slideShowTypeproperty 
slideShowType:Number  [read-write]

Gets or sets the slideShowType property. slideShowType property use to determine the behavior of the slide show when slideshow reach the end. 0: contiune. Move to start position when reach the end.
1: yoyo. Move in opposit direction when reach the end.

The default value is true.

Implementation
    public function get slideShowType():Number
    public function set slideShowType(value:Number):void
tooltipproperty 
tooltip:Tooltip  [read-only]

Gets or sets the tooltip property. tooltip property contain tootip instance of the component. It can use to direct asset the current tooltip object.

The default value is Tooltip.

Implementation
    public function get tooltip():Tooltip
tooltipAlignproperty 
tooltipAlign:String  [read-write]

Gets or sets the tooltipAlign property. tooltipAlign property determinethe alignment of the tooltip. T: Top alignment B: Bottom alignment L: Left alignment R: Right alignment

The default value is T.

Implementation
    public function get tooltipAlign():String
    public function set tooltipAlign(value:String):void
tooltipDistanceproperty 
tooltipDistance:Number  [read-write]

Gets or sets the tooltipDistance property. tooltipDistance property determine the distance between item and tooltip.

The default value is 20.

Implementation
    public function get tooltipDistance():Number
    public function set tooltipDistance(value:Number):void
tooltipModeproperty 
tooltipMode:uint  [read-write]

Gets or sets the tooltipMode property. tooltipMode property determine the tooltip display mode. 0: no display 1: Show tooltip on mouseover

The default value is 1.

Implementation
    public function get tooltipMode():uint
    public function set tooltipMode(value:uint):void
touchScrollAccelerationproperty 
touchScrollAcceleration:Number  [read-write]

Gets or sets the touchScrollAcceleration property. touchScrollAcceleration property determine value of acceleration for touch scroll.

The default value is true.

Implementation
    public function get touchScrollAcceleration():Number
    public function set touchScrollAcceleration(value:Number):void
touchScrollDirectionproperty 
touchScrollDirection:Boolean  [read-write]

Gets or sets the touchScrollDirection property. touchScrollDirection property determine if the direction of touch scroll.

The default value is true.

Implementation
    public function get touchScrollDirection():Boolean
    public function set touchScrollDirection(value:Boolean):void
touchScrollEnabledproperty 
touchScrollEnabled:Boolean  [read-write]

Return the array of data for mutiple selected item.

Implementation
    public function get touchScrollEnabled():Boolean
    public function set touchScrollEnabled(value:Boolean):void
touchScrollStrengthproperty 
touchScrollStrength:Number  [read-write]

Gets or sets the touchScrollStrength property. touchScrollStrength property determine if the strength of touch scroll.

The default value is true.

Implementation
    public function get touchScrollStrength():Number
    public function set touchScrollStrength(value:Number):void
videoClickToPlayEnabledproperty 
videoClickToPlayEnabled:Boolean  [read-write]

Gets or sets the showVideoControls property. showVideoControls property determine if the video play/pause when click on video

The default value is false.

Implementation
    public function get videoClickToPlayEnabled():Boolean
    public function set videoClickToPlayEnabled(value:Boolean):void
videoControlsSkinproperty 
videoControlsSkin:String  [read-write]

Gets or sets the videoControlsSkin property. videoControlsSkin property determine the linkage name of video control skin

The default value is false.

Implementation
    public function get videoControlsSkin():String
    public function set videoControlsSkin(value:String):void
videoPanelproperty 
videoPanel:AbstractVideoPanel  [read-only]

Gets videoPlayer property. videoPanel property allow access to current video player object

The default value is false.

Implementation
    public function get videoPanel():AbstractVideoPanel
videoResizeModeproperty 
videoResizeMode:uint  [read-write]

Gets or sets the videoResizeMode property. videoResizeMode property determine the resize mode when video when to fullscreen 0: Auto
1: Auto width
2: Auto Height
3: Stretch

The default value is 0.

Implementation
    public function get videoResizeMode():uint
    public function set videoResizeMode(value:uint):void
Constructor detail
PhotoFlipVideo()constructor
public function PhotoFlipVideo()

Constructor

Method detail
gotoItem()method
public function gotoItem(index:Number, direction:uint = 1):void

Tell component move to item with index

Parameters
index:Number — index of the item
 
direction:uint (default = 1) — direction for the move. 2: right 0: left
next()method 
public function next():void

Tell component move to next item

prev()method 
public function prev():void

Tell component move to previous item

Event detail
controlsActivateevent 
Event object type: digicrafts.events.VideoPlayer.CONTROLS_ACTIVATE

Dispatched when the video controls appear This event will dispatch if the video controls start to appear.

controlsDeactivateevent  
Event object type: digicrafts.events.VideoPlayer.CONTROLS_DEACTIVATE

Dispatched when the video controls disappear This event will dispatch if the video controls start to disappear.

hideInfoevent  
Event object type: digicrafts.events.VideoPlayer.HIDE_INFO

Dispatched when the hide info button clicked. This event will dispatch if the hide info button on the back panel is clicked.

itemClickevent  
Event object type: digicrafts.events.ItemEvent.CLICK

Dispatched when mouse click on the item. This event will dispatch after the user perform mouse click on an item.

itemDoubleClickevent  
Event object type: digicrafts.events.ItemEvent.DOUBLE_CLICK

Dispatched when mouse double click on the item. This event will dispatch after the user perform mouse double-click on an item.

itemMouseDownevent  
Event object type: digicrafts.events.ItemEvent.MOUSE_DOWN

Dispatched when mouse down inside an item. This event will dispatch after the mouse down perform inside an item.

itemMouseOutevent  
Event object type: digicrafts.events.ItemEvent.MOUSE_OUT

Dispatched when mouse mouse outside an item. This event will dispatch after the cusor move from inside to ouside of an item.

itemMouseOverevent  
Event object type: digicrafts.events.ItemEvent.MOUSE_OVER

Dispatched when mouse move inside an item. This event will dispatch after the cusor move from ouside to inside of an item.

itemMouseUpevent  
Event object type: digicrafts.events.ItemEvent.MOUSE_UP

Dispatched when mouse up occur after mouse down inside an item.. This event will dispatch after mouse release inside an item.

nextVideoevent  
Event object type: digicrafts.events.VideoPlayer.NEXT

Dispatched when the next video button clicked.. This event will dispatch if the next video button on the video controls is clicked.

prevVideoevent  
Event object type: digicrafts.events.VideoPlayer.PREV

Dispatched when the previous video button clicked.. This event will dispatch if the previous video button on the video controls is clicked.

showInfoevent  
Event object type: digicrafts.events.VideoPlayer.SHOW_INFO

Dispatched when the show info button clicked. This event will dispatch if the show info button on the video player is clicked.

videoEndevent  
Event object type: digicrafts.events.VideoPlayer.VIDEO_END

Dispatched when the video play to the end. This event will dispatch if the video end playing.

videoPauseevent  
Event object type: digicrafts.events.VideoPlayer.VIDEO_PAUSE

Dispatched when the video pause. This event will dispatch if the video is pause.

videoStartevent  
Event object type: digicrafts.events.VideoPlayer.VIDEO_START

Dispatched when the video start play. This event will dispatch if the video start to play.