Package | digicrafts.flash.core |
Class | public class AlbumComponentBase |
Inheritance | AlbumComponentBase digicrafts.flash.core.UIComponentBase |
Subclasses | PhotoFlipVideo |
Property | Defined by | ||
---|---|---|---|
autostart : Boolean | AlbumComponentBase | ||
bufferCount : Number
Gets or sets the bufferCount property.
| AlbumComponentBase | ||
dataProvider : Array [read-only]
DataProvider
| AlbumComponentBase | ||
loaderSkin : String
Gets or sets the defaultLoaderSkin property.
| AlbumComponentBase | ||
proxy : String
Gets or sets the proxy property.
| AlbumComponentBase | ||
quality : uint
Gets or sets the quality property.
| AlbumComponentBase | ||
smoothing : Boolean
Gets or sets the smoothing property.
| AlbumComponentBase | ||
source : Object
Gets or sets the source property.
| AlbumComponentBase | ||
useThumbnail : Boolean
Gets or sets the useThumbnail property.
| AlbumComponentBase |
Method | Defined by | ||
---|---|---|---|
Constructor
| AlbumComponentBase | ||
load(source:*):void
Load source and start the component
| AlbumComponentBase | ||
unload():void
Unload the items and delete all object
| AlbumComponentBase |
Event | Summary | Defined by | ||
---|---|---|---|---|
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed. | AlbumComponentBase | |||
Dispatched when error occured during buffering resource This event will dispatch if any error occur during the buffering process e.g. | AlbumComponentBase | |||
Dispatched when the component start buffering resource. | AlbumComponentBase | |||
Dispatched when the source xml load complete. | AlbumComponentBase | |||
Dispatched when error occur when loading xml. | AlbumComponentBase |
autostart | property |
autostart:Boolean
[read-write]Implementation
public function get autostart():Boolean
public function set autostart(value:Boolean):void
bufferCount | property |
bufferCount:Number
[read-write]Gets or sets the bufferCount property. bufferCount property number of item buffer before the component start. -1 means auto load all visible item.
The default value is -1
.
public function get bufferCount():Number
public function set bufferCount(value:Number):void
dataProvider | property |
dataProvider:Array
[read-only]DataProvider
Implementation public function get dataProvider():Array
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
proxy | property |
proxy:String
[read-write]Gets or sets the proxy property. proxy property determine the proxy script for crossdomain issue.
The default value is ""
.
public function get proxy():String
public function set proxy(value:String):void
quality | property |
quality:uint
[read-write]Gets or sets the quality property. quality property the quality of rendering. 0: LOW 1: MEDIUM 2: HIGH 3: AUTO
The default value is 3
.
public function get quality():uint
public function set quality(value:uint):void
smoothing | property |
smoothing:Boolean
[read-write]Gets or sets the smoothing property. smoothing property is use to enable/disable bitmap smoothing when during component rendering.
The default value is false
.
public function get smoothing():Boolean
public function set smoothing(value:Boolean):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
useThumbnail | property |
useThumbnail:Boolean
[read-write]Gets or sets the useThumbnail property. useThumbnail property determine if using the thumbnail as source in Photoshop generated xml.
The default value is false
.
public function get useThumbnail():Boolean
public function set useThumbnail(value:Boolean):void
AlbumComponentBase | () | constructor |
public function AlbumComponentBase()
Constructor
load | () | method |
public function load(source:*):void
Load source and start the component
Parameterssource:* |
unload | () | method |
public function unload():void
Unload the items and delete all object
bufferComplete | event |
digicrafts.events.DataSourceEvent.BUFFER_COMPLETE
Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed.
bufferError | event |
digicrafts.events.DataSourceEvent.BUFFER_ERROR
Dispatched when error occured during buffering resource This event will dispatch if any error occur during the buffering process e.g. The image can't be loaded.
bufferStart | event |
digicrafts.events.DataSourceEvent.BUFFER_START
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.