heart.name = "heart"+timer.currentCount; Regards,
Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Matt S. Sent: Friday, February 05, 2010 9:53 AM To: Flash Coders List Subject: Re: [Flashcoders] making a repeating effect Unless you need to assign a name or ID number to the heart, eg: heart.name = "heart"+myCounter; or new Heart(myCounter); (in which myCounter then gets saved within "heart" as idNum or whatever). I guess it depends on whether the hearts just sit quietly once added or will need to perform their own functions or be accessed at a later time. .m On Thu, Feb 4, 2010 at 9:59 PM, Muzak <[email protected]> wrote: > no need for the counter in the event handler, Timer has a "repeat count" > //Timer(delay, repeatCount) > var timer:Timer = new Timer(5000, 1000); > > - _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.733 / Virus Database: 271.1.1/2668 - Release Date: 02/05/10 01:35:00 _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

