Here is the previous correspondence, please see below for my current question....
> I am running animations on the stage (big pictures 640 X 440 px, imported as > gifs and not BMPs), and I'm running hundreds of pictures in succession. As > you can imagine, after a short while, the animation slows down and starts > getting very jerky. This is because the program's memory is getting > over-loaded. For some reason, it seems that Director is saving all the > previous pictures of the animation in it's memory as it runs the animation. > So, can anyone please tell me how to purge the previous castmembers from the > memory, so that every few seconds I can get the animation to start off fresh > again?? > > I've already tried the "unload" command in Lingo, but it doesn't seem to > help! I've also tried the "preload" command, as in: > member(fromWhere).preload(toWhere) - also with no luck! - after a few > seconds the animation slows down dramatically! Any ideas? > > Thanks so much for any help! > Dear Michael, > Use the unloadMember function to specifically unload the member that was > most recently used. If Your animation is scorebased, You could do this in the > frame script that follows immediately after an image is removed from the stage. > If You animate with Lingo, You probably have some variable that knows which > member to unload. I tried your idea (above) to run my big 640 X 440 gif animations, and it worked great on the PC, 800 Mhz Pentium III, 256 RAM, and I was SO excited, because I was almost ready to give up. But now, when I run it from a CD, or on a slower computer, or on a decent iMac, the the "unloadMember" command seems to cause the animation to run really slowly and jerky, picture by picture, and I don't know what to do! HELP!!! Do you have maybe any more ideas? Do you know why it runs so slow? Does it really take Director time to unload a member? Here's the simple script that runs the animation: if pSprite.membernum < pEndMember then pSprite.membernum = pSprite.membernum + 1 unloadMember member pSprite.membernum - 1 end if Thanks for your help!! Michael Nadel [EMAIL PROTECTED] Mediart - Multimedia as an Art Form [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]