Flint Particle System Forum - ImageClasses Visible on Stage 2016-04-05T05:18:06+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=871#Comment_871 2009-07-24T02:49:35+01:00 2009-07-24T02:49:58+01:00 ventolinmono http://flintparticles.org/forum/account.php?u=221 Hi I'm creating some particles from an array full of movie clips: emitter.addInitializer( new ImageClasses(lista) ); At the very beginning of the movie the movieclips are displayed on the ...
I'm creating some particles from an array full of movie clips:
emitter.addInitializer( new ImageClasses(lista) );

At the very beginning of the movie the movieclips are displayed on the top-left corner of the stage before they are initialized at the center of the stage:
emitter.addInitializer( new Position( new PointZone( new Point ( 1024, 384 ) ) ) );

This is for one frame only.
I don't want them there i want the stage to be clean before the particles are initialized.

Here: Example

¿How can i fix this?]]>
ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=875#Comment_875 2009-07-28T22:14:10+01:00 2016-04-05T05:18:06+01:00 ventolinmono http://flintparticles.org/forum/account.php?u=221 Somebody?¿ ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=891#Comment_891 2009-08-08T11:12:35+01:00 2016-04-05T05:18:06+01:00 Richard http://flintparticles.org/forum/account.php?u=1 Hi Sorry, been on holiday so late to the party. Your example returns a 404 error. Have you removed it? Anyway, it's not a problem I've come across before so I probably would need to see some ...
Sorry, been on holiday so late to the party.

Your example returns a 404 error. Have you removed it?

Anyway, it's not a problem I've come across before so I probably would need to see some code to figure out what's wrong. Can you provide a simple example?

Richard]]>
ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=905#Comment_905 2009-08-24T23:02:01+01:00 2016-04-05T05:18:06+01:00 ventolinmono http://flintparticles.org/forum/account.php?u=221 Hey, glad you are back. Here: Example var listaPajaros:Array=[pajaro1,pajaro2,pajaro3,pajaro4,pajaro5]; var emitter:Emitter2D = new Emitter2D(); var fuerza:Number=-100; emitter.counter=new ... Here: Example

var listaPajaros:Array=[pajaro1,pajaro2,pajaro3,pajaro4,pajaro5];
var emitter:Emitter2D = new Emitter2D();
var fuerza:Number=-100;

emitter.counter=new Blast(500);
emitter.addInitializer( new ImageClasses(listaPajaros) );
emitter.addInitializer( new Position( new PointZone( new Point ( 1024, 384 ) ) ) );
emitter.addInitializer( new Velocity( new DiscZone( new Point( 1024, 384 ), 768, 1 ) ) );

emitter.addAction( new ApproachNeighbours( 26, 30 ) );
emitter.addAction( new MatchVelocity( 26, 100 ) );
emitter.addAction( new MinimumDistance( 10, 600 ) );
emitter.addAction( new SpeedLimit( 80, true ) );
emitter.addAction( new SpeedLimit( 100, false ) );
emitter.addAction( new RotateToDirection() );
emitter.addAction( new BoundingBox( -268, -268, 2316, 1036, 100 ) );

emitter.addAction( new Move() );
emitter.addAction( new AntiGravity ( fuerza, circulo1.x, circulo1.y, circulo1.width/2 ));

var renderer:DisplayObjectRenderer = new DisplayObjectRenderer();
renderer.addEmitter( emitter );
addChild( renderer );
emitter.start( );]]>
ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=909#Comment_909 2009-09-01T08:38:28+01:00 2016-04-05T05:18:06+01:00 Richard http://flintparticles.org/forum/account.php?u=1 This was a problem with the DisplayObjectRenderer. It's now fixed and is part of version 2.1.2 which was released today. ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=919#Comment_919 2009-09-15T20:12:51+01:00 2016-04-05T05:18:06+01:00 ventolinmono http://flintparticles.org/forum/account.php?u=221 Yes, I'm using version 2.1.2 now and the stage is totally clean before the particles are initialized. Thank you Richard. Congratulations on the new version, the new renderers are very ...
Thank you Richard.
Congratulations on the new version, the new renderers are very nice.

This thread is SOLVED.]]>