Flint Particle System Forum - Clear Stage2011-12-11T12:37:18+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Clear Stagehttp://flintparticles.org/forum/comments.php?DiscussionID=487&Focus=1643#Comment_16432011-05-19T20:46:25+01:002011-12-11T12:37:18+00:00LanceMangohttp://flintparticles.org/forum/account.php?u=499
Hello,
i have a growing gras animation. 3 buttons: start the animation, pause the animation and one for cleanig up the stage.
Start and Pause are working without problems, but i'm desperating with ...
i have a growing gras animation. 3 buttons: start the animation, pause the animation and one for cleanig up the stage. Start and Pause are working without problems, but i'm desperating with the cleaning button. i tried many many ways, nothing worked. please, can anyone help? here ist the code:
</s:Application>]]>
Clear Stagehttp://flintparticles.org/forum/comments.php?DiscussionID=487&Focus=1645#Comment_16452011-05-23T22:18:16+01:002011-05-23T22:19:13+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
Hmm. Don't know how I missed the need to clear the content of the renderer. Until I add such a method, you'll have to clear the renderer by hand...
protected function ...
protected function reset(event:MouseEvent):void { emitter.killAllParticles(); renderer.bitmapData.fillRect( emitter.bitmapData.rect, 0 ); }