Flint Particle System Forum - Fireworks on demand Sun, 11 Dec 2011 11:08:31 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Fireworks on demand http://flintparticles.org/forum/comments.php?DiscussionID=494&Focus=1659#Comment_1659 http://flintparticles.org/forum/comments.php?DiscussionID=494&Focus=1659#Comment_1659 Fri, 01 Jul 2011 11:55:44 +0100 dcipollo
I'm using the Fireworks example but I don't want it to repeat. So I took out the restart.

/*emitter.addEventListener( EmitterEvent.EMITTER_EMPTY, restart, false, 0, true );*/

Then I call a fireworks explosion on two other frames

emitter.x = 500;
emitter.y = 20;
emitter.start();

Do I need anything more than this to stop the system.

emitter.stop();
renderer.removeEmitter( emitter );
removeChild( renderer );

emitter = null;
renderer = null;

Thanks alot. ]]>
Fireworks on demand http://flintparticles.org/forum/comments.php?DiscussionID=494&Focus=1669#Comment_1669 http://flintparticles.org/forum/comments.php?DiscussionID=494&Focus=1669#Comment_1669 Fri, 15 Jul 2011 17:46:24 +0100 Richard