> I always had this feeling Flash is not meant to be run for a long period > of time - no one will interact with your Flash movie on browser for 24 > hours continuously, so that's absolutely fine. But can anyone tell me if > you have successfully developed 24/7 app using Flash wrapped in > Zinc/SWFStudio/mProjector/Screenweaver without having issues such as > memory leaks?
Conversely I've started using a projector (screenweaver) for a 24/7 application because flash has a memory leak. The leak is simply that the garbage collector is not freeing everything, and it is easy to see it is the flash player's problem because minimizing then restoring the window *does* free up the memory. It happens with both Flash 7 and Flash 8 (only analyzed on windows XP). See flashcoder's "Memory leak in Flash projector" thread for more background (feb 25 2006 and mar 14-16 2006). I had two options: 1. Use a projector to a minimize then restore the window. 2. Start a 2nd application window, initially hidden, then when ready, close the 1st application window, then make the 2nd window visible. I needed a projector to be able to make the application hide/show itself and be hidden initially. The 2nd option is more complex but I chose it as then I can be sure it avoids any memory leaks that the minimize/restore trick does not; and because I was concerned about the desktop appearing briefly using the first option. (The PHP back-end was already controlling the creation of the flash front-end so I had much of the logic already there.) Darren _______________________________________________ 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