Package | digicrafts.flash.core |
Class | public class RotatorComponentBase |
Inheritance | RotatorComponentBase digicrafts.flash.core.UIComponentBase |
Subclasses | BarTransformBannerRotator, CubeTransformBannerRotator, DoorTransformBannerRotator, FadeBannerRotator, FlipTransformBannerRotator, FlyTransformBannerRotator, SwapTransformBannerRotator, TileTransformBannerRotator, TwistTransformBannerRotator |
Property | Defined by | ||
---|---|---|---|
autoZoom : Number
Gets or sets the autoZoom property.
| RotatorComponentBase | ||
autoZoomDuration : Number
Gets or sets the autoZoomDuration property.
| RotatorComponentBase | ||
captionTextTarget : String
Gets or sets the captionTextTarget property.
| RotatorComponentBase | ||
currentItemData : Object [read-only]
Gets or sets the currentItemData property.
| RotatorComponentBase | ||
dataProvider : Array [read-only]
DataProvider
| RotatorComponentBase | ||
keyboardScrollEnabled : Boolean
Gets or sets the keyboardScrollEnabled property.
| RotatorComponentBase | ||
loaderSkin : String
Gets or sets the defaultLoaderSkin property.
| RotatorComponentBase | ||
nextButtonTarget : String
Gets or sets the nextButtonTarget property.
| RotatorComponentBase | ||
prevButtonTarget : String
Gets or sets the prevButtonTarget property.
| RotatorComponentBase | ||
resizeMode : uint
Gets or sets the resizeMode property.
| RotatorComponentBase | ||
scrollerTarget : String
Gets or sets the scrollerTarget property.
| RotatorComponentBase | ||
selectedItemIndex : Number
Gets or sets the currentItemIndex property.
| RotatorComponentBase | ||
slideShowDirection : uint
Gets or sets the slideShowDirection property.
| RotatorComponentBase | ||
slideShowEnabled : Boolean
Gets or sets the slideShowEnabled property.
| RotatorComponentBase | ||
slideShowInterval : Number
Gets or sets the slideShowInterval property.
| RotatorComponentBase | ||
slideShowManager : SlideShowManager [read-only]
| RotatorComponentBase | ||
slideShowType : Number
Gets or sets the slideShowType property.
| RotatorComponentBase | ||
source : Object
Gets or sets the source property.
| RotatorComponentBase | ||
thumbnailAlign : uint
Gets or sets the thumbnailAlign property.
| RotatorComponentBase | ||
thumbnailAnimation : uint | RotatorComponentBase | ||
thumbnailBackgroundColor : uint
Gets or sets the thumbnailBackgroundColor property.
| RotatorComponentBase | ||
thumbnailHeight : Number
Gets or sets the thumbnailHeight property.
| RotatorComponentBase | ||
thumbnailMouseScroll : Boolean
Gets or sets the thumbnailMouseScroll property.
| RotatorComponentBase | ||
thumbnailOverColor : uint
Gets or sets the thumbnailOverColor property.
| RotatorComponentBase | ||
thumbnailOverColorSize : uint
Gets or sets the thumbnailOverColorSize property.
| RotatorComponentBase | ||
thumbnailOverGlowEnabled : Boolean
Gets or sets the thumbnailOverGlowEnabled property.
| RotatorComponentBase | ||
thumbnailResizeMode : uint
Gets or sets the thumbnailResizeMode property.
| RotatorComponentBase | ||
thumbnailWidth : Number
Gets or sets the thumbnailWidth property.
| RotatorComponentBase | ||
titleAlign : uint
Gets or sets the titleAlign property.
| RotatorComponentBase | ||
titleBackgroundAlpha : Number
Gets or sets the titleBackgroundAlpha property.
| RotatorComponentBase | ||
titleBackgroundColor : uint
Gets or sets the titleBackgroundColor property.
| RotatorComponentBase | ||
titleLabel : String
Gets or sets the titleLabel property.
| RotatorComponentBase | ||
titleTextColor : uint
Gets or sets the titleTextColor property.
| RotatorComponentBase | ||
transitionDuration : Number
Gets or sets the transitionDuration property.
| RotatorComponentBase |
Method | Defined by | ||
---|---|---|---|
Constructor
| RotatorComponentBase | ||
load(source:*):void
Load source and start the component
| RotatorComponentBase | ||
next():void
Select next item
| RotatorComponentBase | ||
prev():void
Select prev item
| RotatorComponentBase | ||
unload():void
Unload the items and delete all object
| RotatorComponentBase |
Event | Summary | Defined by | ||
---|---|---|---|---|
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed. | RotatorComponentBase | |||
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed. | RotatorComponentBase | |||
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed. | RotatorComponentBase | |||
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed. | RotatorComponentBase | |||
Dispatched when the component start buffering resource. | RotatorComponentBase | |||
Dispatched when the source xml load complete. | RotatorComponentBase | |||
Dispatched when error occur when loading xml. | RotatorComponentBase |
autoZoom | property |
autoZoom:Number
[read-write]Gets or sets the autoZoom property. autoZoom property determine the scale of the auto zoom.
The default value is 2
.
public function get autoZoom():Number
public function set autoZoom(value:Number):void
autoZoomDuration | property |
autoZoomDuration:Number
[read-write]Gets or sets the autoZoomDuration property. autoZoomDuration property determine the duration of the auto zoom. (Value in second)
The default value is 2
.
public function get autoZoomDuration():Number
public function set autoZoomDuration(value:Number):void
captionTextTarget | property |
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 .
public function get captionTextTarget():String
public function set captionTextTarget(value:String):void
currentItemData | property |
currentItemData:Object
[read-only]Gets or sets the currentItemData property. currentItemData property is the data object for corresponding selected item.
Implementation public function get currentItemData():Object
dataProvider | property |
dataProvider:Array
[read-only]DataProvider
Implementation public function get dataProvider():Array
keyboardScrollEnabled | property |
keyboardScrollEnabled:Boolean
[read-write]Gets or sets the keyboardScrollEnabled property. keyboardScrollEnabled property determine if keyboard control enabled.
The default value is true
.
public function get keyboardScrollEnabled():Boolean
public function set keyboardScrollEnabled(value:Boolean):void
loaderSkin | property |
loaderSkin:String
[read-write]Gets or sets the defaultLoaderSkin property. defaultLoaderSkin property determine the skin value of loader. Value should be linkage name of movieclip.
The default value is 3
.
public function get loaderSkin():String
public function set loaderSkin(value:String):void
nextButtonTarget | property |
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 .
public function get nextButtonTarget():String
public function set nextButtonTarget(value:String):void
prevButtonTarget | property |
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 .
public function get prevButtonTarget():String
public function set prevButtonTarget(value:String):void
resizeMode | property |
resizeMode:uint
[read-write]
Gets or sets the resizeMode property.
resizeMode property determine the resize mode of the loaded image.
Possible Value
1: AUTO_WIDTH
2: AUTO_HEIGHT
3: STRETCH
5: AUTO_FILL
The default value is 5
.
public function get resizeMode():uint
public function set resizeMode(value:uint):void
scrollerTarget | property |
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 .
public function get scrollerTarget():String
public function set scrollerTarget(value:String):void
selectedItemIndex | property |
selectedItemIndex:Number
[read-write]Gets or sets the currentItemIndex property. currentItemIndex property determine the source of the component. The source can be path to xml, XML Object or Array Object.
The default value is ""
.
public function get selectedItemIndex():Number
public function set selectedItemIndex(value:Number):void
slideShowDirection | property |
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
.
public function get slideShowDirection():uint
public function set slideShowDirection(value:uint):void
slideShowEnabled | property |
slideShowEnabled:Boolean
[read-write]Gets or sets the slideShowEnabled property. slideShowEnabled property use to enable/disable the auto slideshow.
The default value is false
.
public function get slideShowEnabled():Boolean
public function set slideShowEnabled(value:Boolean):void
slideShowInterval | property |
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
.
public function get slideShowInterval():Number
public function set slideShowInterval(value:Number):void
slideShowManager | property |
slideShowManager:SlideShowManager
[read-only]Implementation
public function get slideShowManager():SlideShowManager
slideShowType | property |
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
.
public function get slideShowType():Number
public function set slideShowType(value:Number):void
source | property |
source:Object
[read-write]Gets or sets the source property. source property determine the source of the component. The source can be path to xml, XML Object or Array Object.
The default value is ""
.
public function get source():Object
public function set source(value:Object):void
thumbnailAlign | property |
thumbnailAlign:uint
[read-write]
Gets or sets the thumbnailAlign property.
thumbnailAlign property detecmine the position of the thumbnail.
Possible Value
0: Top
1: Right
2: Bottom
3: Left
7: Hide
The default value is 2
.
public function get thumbnailAlign():uint
public function set thumbnailAlign(value:uint):void
thumbnailAnimation | property |
thumbnailAnimation:uint
[read-write]Implementation
public function get thumbnailAnimation():uint
public function set thumbnailAnimation(value:uint):void
thumbnailBackgroundColor | property |
thumbnailBackgroundColor:uint
[read-write]Gets or sets the thumbnailBackgroundColor property. thumbnailBackgroundColor property determine background color of the thumbnail.
The default value is #000000
.
public function get thumbnailBackgroundColor():uint
public function set thumbnailBackgroundColor(value:uint):void
thumbnailHeight | property |
thumbnailHeight:Number
[read-write]Gets or sets the thumbnailHeight property. thumbnailHeight property determine the height of the thumbnails.
The default value is 60
.
public function get thumbnailHeight():Number
public function set thumbnailHeight(value:Number):void
thumbnailMouseScroll | property |
thumbnailMouseScroll:Boolean
[read-write]Gets or sets the thumbnailMouseScroll property. thumbnailMouseScroll property determine if the mouse scroll for thumbnail is enabled
The default value is true
.
public function get thumbnailMouseScroll():Boolean
public function set thumbnailMouseScroll(value:Boolean):void
thumbnailOverColor | property |
thumbnailOverColor:uint
[read-write]Gets or sets the thumbnailOverColor property. thumbnailOverColor property contain the color value of mouse over glow effect. The value should be int value.
The default value is 0xFFFFFF
.
public function get thumbnailOverColor():uint
public function set thumbnailOverColor(value:uint):void
thumbnailOverColorSize | property |
thumbnailOverColorSize:uint
[read-write]Gets or sets the thumbnailOverColorSize property. thumbnailOverColorSize property determine the size of glow effect.
The default value is 10
.
public function get thumbnailOverColorSize():uint
public function set thumbnailOverColorSize(value:uint):void
thumbnailOverGlowEnabled | property |
thumbnailOverGlowEnabled:Boolean
[read-write]Gets or sets the thumbnailOverGlowEnabled property. thumbnailOverGlowEnabled property determine if the item over glow effect enabled.
The default value is true
.
public function get thumbnailOverGlowEnabled():Boolean
public function set thumbnailOverGlowEnabled(value:Boolean):void
thumbnailResizeMode | property |
thumbnailResizeMode:uint
[read-write]
Gets or sets the thumbnailResizeMode property.
thumbnailResizeMode property determine the resize mode of the thumbnail image.
Possible Value
Possible Value
1: AUTO_WIDTH
2: AUTO_HEIGHT
3: STRETCH
5: AUTO_FILL
The default value is 5
.
public function get thumbnailResizeMode():uint
public function set thumbnailResizeMode(value:uint):void
thumbnailWidth | property |
thumbnailWidth:Number
[read-write]Gets or sets the thumbnailWidth property. thumbnailWidth property determine the width of the thumbnails.
The default value is 100
.
public function get thumbnailWidth():Number
public function set thumbnailWidth(value:Number):void
titleAlign | property |
titleAlign:uint
[read-write]
Gets or sets the titleAlign property.
titleAlign property detecmine the position of the title.
Possible Value
0: Top
1: Right
2: Bottom
3: Left
/p>
The default value is 2
.
public function get titleAlign():uint
public function set titleAlign(value:uint):void
titleBackgroundAlpha | property |
titleBackgroundAlpha:Number
[read-write]Gets or sets the titleBackgroundAlpha property. titleBackgroundAlpha property determine the alpha value of the title background
The default value is 0.6
.
public function get titleBackgroundAlpha():Number
public function set titleBackgroundAlpha(value:Number):void
titleBackgroundColor | property |
titleBackgroundColor:uint
[read-write]Gets or sets the titleBackgroundColor property. titleBackgroundColor property determine background color of the title.
The default value is #000000
.
public function get titleBackgroundColor():uint
public function set titleBackgroundColor(value:uint):void
titleLabel | property |
titleLabel:String
[read-write]Gets or sets the titleLabel property. titleLabel property determine the data name use in xml for title text
The default value is "title"
.
public function get titleLabel():String
public function set titleLabel(value:String):void
titleTextColor | property |
titleTextColor:uint
[read-write]Gets or sets the titleTextColor property. titleTextColor property determine text color of title.
The default value is #FFFFFF
.
public function get titleTextColor():uint
public function set titleTextColor(value:uint):void
transitionDuration | property |
transitionDuration:Number
[read-write]Gets or sets the transitionDuration property. transitionDuration property determine the duration of the transition. (Value in second)
The default value is 2
.
public function get transitionDuration():Number
public function set transitionDuration(value:Number):void
RotatorComponentBase | () | constructor |
public function RotatorComponentBase()
Constructor
load | () | method |
public function load(source:*):void
Load source and start the component
Parameterssource:* |
next | () | method |
public function next():void
Select next item
prev | () | method |
public function prev():void
Select prev item
unload | () | method |
public function unload():void
Unload the items and delete all object
bufferComplete | event |
digicrafts.events.RotatorEvent.TRANSITION_COMPLETE
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed.
bufferComplete | event |
digicrafts.events.RotatorEvent.TRANSITION_STRAT
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed.
bufferComplete | event |
digicrafts.events.RotatorEvent.BUFFER_COMPLETE
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed.
bufferComplete | event |
digicrafts.events.RotatorEvent.BUFFER_START
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed.
bufferStart | event |
digicrafts.events.RotatorEvent.READY
Dispatched when the component start buffering resource. This event will dispatch just before buffering of image or other resource.
xmlLoadComplete | event |
digicrafts.events.DataSourceEvent.XML_LOAD_COMPLETE
Dispatched when the source xml load complete. This event will dispatch after the xml have loaded and paser complete.
xmlLoadError | event |
digicrafts.events.DataSourceEvent.XML_LOAD_ERROR
Dispatched when error occur when loading xml. This event will dispatch when an error occur when loading xml. e.g. The path of the xml not found.