and, of course, you can't forget addChild(). []'s andrei
On Dec 30, 2007 2:50 PM, Piers Cowburn <[EMAIL PROTECTED]> wrote: > I'm not quite sure if I understand your question fully but I think > the problem you're having is that you need to do something with them > - for example if you pushed each new sprite into an array then you'd > have a reference to each of them, but the you're doing it at the > moment you'll just lose the reference to the old one each time. > > Piers > > > On 30 Dec 2007, at 16:23, Matt Muller wrote: > > > Hi, does anyone know how to create individual sprite instances in a > > loop > > > > for (var j:uint = 0; j < _columns; j++) > > { > > var sprite:Sprite = new Sprite(); > > } > > > > this just over writes the sprite. > > > > thanks > > > > MaTT > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders