Class com.asual.enflash.data.Composition

com.asual.enflash.EnFlashObject
   +--com.asual.enflash.data.Composition

Field Index

firstItem, lastItem, length, onload, properties
Inherited from EnFlashObject
id, oninit, onremove, parent, ref

Method Index

new Composition()

addItem(), addItemAt(), getIndex(), getItem(), getNextItem(), getPreviousItem(), hasChildren(), loadXML(), removeItem(), removeItemAt(), toOutput()
Inherited from EnFlashObject
addEventListener(), createDelegate(), debug(), dispatchEvent(), dispatchEventOnce(), getListeners(), getXML(), main(), remove(), removeDelegate(), removeEventListener(), setXML(), toString()

Constructor Detail

Composition

public function Composition(id:String)

Field Detail

onload

public onload:Function

firstItem

public firstItem [Read Only]

lastItem

public lastItem [Read Only]

length

public length:Number [Read Only]

properties

public properties:Object [Read Only]

Method Detail

addItem

public function addItem(item:Composition):Composition

addItemAt

public function addItemAt(index:Number, item:Composition):Composition

removeItem

public function removeItem(item:Composition):Void

removeItemAt

public function removeItemAt(index:Number):Void

getIndex

public function getIndex(obj:Object):Number

getItem

public function getItem(index:Number):Composition

getPreviousItem

public function getPreviousItem(obj:Object, loop:Boolean)

getNextItem

public function getNextItem(obj:Object, loop:Boolean)

hasChildren

public function hasChildren():Boolean

toOutput

public function toOutput(tab:String):String

loadXML

public function loadXML(url:String):Void