SpriteGrabber Remove Issue

Hey,

I’m having a major problem with my game… I’m using Director and SpriteGrabber mainly to populate a bunch of enemies and dynamically assign them sprite sheets. The problem is that I have a memory leak and even though I’m removing all timers, transitions, objects and sounds my memory keeps building up to about 1mb from 370kb. If I turn off enemy spawning it stays level at 370kb. So I know that my leak has to do with SpriteGrabber not removing the sprite sheets.

Here is my code: http://pastebin.com/hnSgKGzG

Hopefully someone out there can help… [import]uid: 63800 topic_id: 14179 reply_id: 314179[/import]

** UPDATE… Aparently none of my sprites are being removed when calling the sprit:remove() function… It is not just in the enemy script provided above… Someone please help! I love the script and would hate to have to go back and redo it all. [import]uid: 63800 topic_id: 14179 reply_id: 52221[/import]