Memory Leak Issues

Hi,

We have a reasonable sized application developed in flash and it’s then converted to an exe and delivered using MDM Zinc.

During our testing we have noticed that there seems to be some real memory leak’s in flash so after using the application for a while everything starts to drag a bit. The app is comprised of a main swf which loads other modules (swfs) as the user selects different functions.

We have done some reading and found that Flash doesn’t seem to clean up resources very well… so we need to be a bit more careful about how creation / destruction of objects.

I wondered if anybody has ideas about some useful patterns we could use to manage objects better (we are now registering all events with weak references).

Any thoughts would be welcomed!