Packageidv.cjcat.stardust.twoD.initializers
Classpublic class DisplayObjectParent
InheritanceDisplayObjectParent Inheritance Initializer2D Inheritance Initializer Inheritance StardustElement

Specifies a specific display object container to be the parent of a particle if the particle is initialized by the DisplayObjectClass initializer.

Default priority = -100;



Public Properties
 PropertyDefined by
 Inheritedactive : Boolean
Denotes if the initializer is active, true by default.
Initializer
  container : DisplayObjectContainer
DisplayObjectParent
 Inheritedname : String
StardustElement
 InheritedneedsRecycle : Boolean
Initializer
 InheritedonAdd : ISignal
Dispatched when the added to an emitter.
Initializer
 InheritedonPriorityChange : ISignal
Dispatched when the action's priority is changed.
Initializer
 InheritedonRemove : ISignal
Dispatched when the removed from an emitter.
Initializer
 Inheritedpriority : int
Initializers will be sorted according to their priorities.
Initializer
 Inheritedsupports2D : Boolean
Whether this initializer supports 2D.
Initializer
 Inheritedsupports3D : Boolean
Whether this initializer supports 3D.
Initializer
Public Methods
 MethodDefined by
  
DisplayObjectParent(container:DisplayObjectContainer = null)
DisplayObjectParent
 Inherited
Initializer
 Inherited
[Abstract Method] Returns the related objects of the element.
StardustElement
 Inherited
getXMLTag():XML
Returns the root tag of the XML representation.
StardustElement
  
getXMLTagName():String
DisplayObjectParent
  
initialize(particle:Particle):void
DisplayObjectParent
 Inherited
parseXML(xml:XML, builder:XMLBuilder = null):void
Initializer
 Inherited
recycleInfo(particle:Particle):void
[Template Method] This method is called after a particle's death if the needsRecycle() method returns true.
Initializer
 Inherited
toXML():XML
Initializer
Property detail
containerproperty
public var container:DisplayObjectContainer
Constructor detail
DisplayObjectParent()constructor
public function DisplayObjectParent(container:DisplayObjectContainer = null)Parameters
container:DisplayObjectContainer (default = null)
Method detail
getXMLTagName()method
public override function getXMLTagName():String

Returns
String
initialize()method 
public override function initialize(particle:Particle):voidParameters
particle:Particle