| Package | com.fileitup.fisixengine.graphics |
| Class | public class ParticleAttacher |
| Inheritance | ParticleAttacher DisplayAttacher |
See also
| Method | Defined by | ||
|---|---|---|---|
|
ParticleAttacher(disp:DisplayObject, obj:Particle, xOffset:Number = 0, yOffset:Number = 0)
Creates a ParticleAttacher.
| ParticleAttacher | ||
![]() |
dispose():void
Disposes of the DisplayAttacher.
| DisplayAttacher | |
![]() |
unload():void
Removes the DisplayAttacher from the simulation and disposes of it.
| DisplayAttacher | |
![]() |
update():void
Updates the attached DisplayObject.
| DisplayAttacher | |
| ParticleAttacher | () | constructor |
public function ParticleAttacher(disp:DisplayObject, obj:Particle, xOffset:Number = 0, yOffset:Number = 0)Creates a ParticleAttacher.
Parametersdisp:DisplayObject — A flash DisplayObject (ie. a MovieClip, Sprite, Shape).
|
|
obj:Particle — The Particle object to attach the DisplayObject to.
|
|
xOffset:Number (default = 0) — The amount of pixels to offset the DisplayObject on the x axis
|
|
yOffset:Number (default = 0) — The amount of pixels to offset the DisplayObject on the y axis
|