Flint Particle System Forum - Position emitter behind a MovieClip? (mc level) 2010-06-13T08:57:53+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Position emitter behind a MovieClip? (mc level) http://flintparticles.org/forum/comments.php?DiscussionID=154&Focus=613#Comment_613 2009-01-11T17:39:31+00:00 2010-06-13T08:57:53+01:00 prototype http://flintparticles.org/forum/account.php?u=137 I want to place the emitter behind a MovieClip and don't know how do that since the emitter is generated dynamically at runtime and the MC is authored on the timeline. Help appreciated. Position emitter behind a MovieClip? (mc level) http://flintparticles.org/forum/comments.php?DiscussionID=154&Focus=615#Comment_615 2009-01-12T08:12:52+00:00 2010-06-13T08:57:53+01:00 awesomerami http://flintparticles.org/forum/account.php?u=129 I've used setChildIndex(renderer,0); Where 0 is the level of the displayobject. It's a bit quirky for me, where if i set the level of the movie clip (i.e 1), and the level of the renderer ...
setChildIndex(renderer,0);

Where 0 is the level of the displayobject.

It's a bit quirky for me, where if i set the level of the movie clip (i.e 1), and the level of the renderer (i.e 0) then it doesn't work properly..

Anyways, i hope i helped.

My 2 cents.

Awesomerami.]]>
Position emitter behind a MovieClip? (mc level) http://flintparticles.org/forum/comments.php?DiscussionID=154&Focus=618#Comment_618 2009-01-12T14:14:36+00:00 2010-06-13T08:57:53+01:00 Richard http://flintparticles.org/forum/account.php?u=1 Alternatively, when adding the renderer to the stage, place it at the back with addChildAt( renderer, 0 ); or place the renderer behind your mob=vieclip but in front of everything else var ...
addChildAt( renderer, 0 );

or place the renderer behind your mob=vieclip but in front of everything else

var index:int = getChildIndex( myClip );
addChildAt( renderer, index );
]]>
Position emitter behind a MovieClip? (mc level) http://flintparticles.org/forum/comments.php?DiscussionID=154&Focus=620#Comment_620 2009-01-12T16:36:51+00:00 2009-01-12T18:25:40+00:00 prototype http://flintparticles.org/forum/account.php?u=137 Thanks to both of you. That worked nicely. Now since I'm I'm using v1.0.4 how do I stop or remove the emitter when I want to? The docs don't list a method for stop() or remove. EDIT: Never ...
Now since I'm I'm using v1.0.4 how do I stop or remove the emitter when I want to? The docs don't list a method for stop() or remove.

EDIT: Never mind. I found an answer from an October post.
emitter.dispose(); and/or remove renderer.]]>