[Tweener] MouseEvent.MOUSE_MOVE increasing memory usage when mouse moves

Gerry Creighton gerry at thespikeranch.com
Wed Nov 5 07:41:47 PST 2008


Try removing the MouseEvent listener when the mouse stops.

-Gerry



On Nov 5, 2008, at 10:39 AM, Mike Lohrman wrote:

> I thought since I use tweener for the tweens in my function called  
> from the MouseEvent.MOUSE_MOVE event listener that maybe this could  
> be a tweener thing...
>
> I have an eventListener added to the stage listening for mouse  
> movement. It calls a function that simply tweens some movieclips  
> left and right depending on where the mouse is on stage.
>
> I added a profiler to my project that displays the framerate and  
> memory usage. When I'm moving my mouse, the memory usage increase  
> slightly while I move the mouse. If I stop mouse movement, the  
> memory increase stops but does not go back down. Any ideas?
>
>
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20081105/4ec3ead3/attachment.htm>


More information about the Tweener mailing list