Packagedigicrafts.flash.core
Classpublic class AlbumComponentBase
InheritanceAlbumComponentBase Inheritance digicrafts.flash.core.UIComponentBase
SubclassesDockMenu3D



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
Constructor
AlbumComponentBase
  
load(source:*):void
Load source and start the component
AlbumComponentBase
  
unload():void
Unload the items and delete all object
AlbumComponentBase
Events
 EventSummaryDefined 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
Property detail
autostartproperty
autostart:Boolean  [read-write]Implementation
    public function get autostart():Boolean
    public function set autostart(value:Boolean):void
bufferCountproperty 
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.

Implementation
    public function get bufferCount():Number
    public function set bufferCount(value:Number):void
dataProviderproperty 
dataProvider:Array  [read-only]

DataProvider

Implementation
    public function get dataProvider():Array
loaderSkinproperty 
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.

Implementation
    public function get loaderSkin():String
    public function set loaderSkin(value:String):void
proxyproperty 
proxy:String  [read-write]

Gets or sets the proxy property. proxy property determine the proxy script for crossdomain issue.

The default value is "".

Implementation
    public function get proxy():String
    public function set proxy(value:String):void
qualityproperty 
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.

Implementation
    public function get quality():uint
    public function set quality(value:uint):void
smoothingproperty 
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.

Implementation
    public function get smoothing():Boolean
    public function set smoothing(value:Boolean):void
sourceproperty 
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 "".

Implementation
    public function get source():Object
    public function set source(value:Object):void
useThumbnailproperty 
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.

Implementation
    public function get useThumbnail():Boolean
    public function set useThumbnail(value:Boolean):void
Constructor detail
AlbumComponentBase()constructor
public function AlbumComponentBase()

Constructor

Method detail
load()method
public function load(source:*):void

Load source and start the component

Parameters
source:*
unload()method 
public function unload():void

Unload the items and delete all object

Event detail
bufferCompleteevent 
Event object type: digicrafts.events.AssetManagerEvent.BUFFER_COMPLETE

Dispatched when the buffering of resource completed This event will dispatch just after all resource buffereing completed.

bufferErrorevent  
Event object type: digicrafts.events.AssetManagerEvent.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.

bufferStartevent  
Event object type: digicrafts.events.AssetManagerEvent.BUFFER_START

Dispatched when the component start buffering resource. This event will dispatch just before buffering of image or other resource.

xmlLoadCompleteevent  
Event object type: 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.

xmlLoadErrorevent  
Event object type: 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.