Inheritance > Partigen
ActionScript Class Name com.desuade.partigen.Partigen
Partigen is the main engine that manages all the emitters. The entire class is static, and is automatically initialized and ready to go.
To use Partigen, you must drag the Partigen component from the Components panel from within Flash, regardless if you use the IDE or AS to create emitters. This must be placed on any frame before any calls to the class or an Emitter component..
Method | Description |
|---|---|
Creates a Partigen Emitter. | |
Duplicates a Partigen Emitter. | |
Returns a property or a comparison of values from all emitters. | |
Reomves the emitter and optionally all child particles. | |
Returns a full path from an ID. | |
Performs the same function or sets the same property to all emitters. |
Property | Description |
|---|---|
The default tween ease for created emitters. | |
The default mode for created emitters. | |
The default sprite source for created emitters. | |
An array with all current emitters and their corresponding IDs. | |
The events object is responsible for turning on and off events. | |
Current status if the user is idle. | |
Timeout to set _idle and to stop all emitters. | |
Output level to display traces. | |
Use an interval for emissions. |
Event | Description |
|---|---|
Defines a function to do every time a particle is born. | |
Defines a function to do everytime a particle dies. | |
Defines a function to do everytime the user goes idle along with stopping active emitters. | |
Defines a function to do everytime the user returns from being idle along with starting previously stopped emitters. | |
Defines a function to do everytime a particle finishes tweening. |