Thanks guys, got it working! Cheers,
fM. On 7/10/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:
You orphaned a running interval. You need to make sure you clearInterval first. You could put it in the onUnload of your loaded movie, or you could clear the interval in that swf just before you loadMovie. BLITZ | Steven Sacks - 310-551-0200 x209 > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Flash Mel > Sent: Sunday, July 09, 2006 8:04 PM > To: Flashcoders mailing list > Subject: [Flashcoders] setInterval and loadMovie > > Evening, > > I'm having a brainfart here. I have a movie that loads separate .swfs > into a clip called holdGallery_mc. All of the .swfs are simply > different slideshows (reads from xml, images files on server, > preloader for each image, pan image vert or horz depending on size, > etc.). Anyway, the core for all the slideshows to work is a > setInterval script "reStartSlides = setInterval(startSlides, 4000);" > > Here is my problem, when loading the the .swfs into the main movie, > the first one naturally, is ok. But when I try loading another .swf > to replace the current on, the old .swf is gone but its interval is > still alive and kicking. > > What, what?! > > What is happening? > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com