Yes!
I set _global.GAME = game (the object I was interested in),
so I didn't have to dig in the trees and search for that, I accessed
it directly from _global.
I actually found what was causing the delay. My Animation
class was setting some actions in the ActionManager that never got deleted
if a certain contition was met and the ActionManager stored Action objects
with parameters that built up and eventually slowed down the game. I fixed
that
and now it runs great!
It was actually a just a tiny change: a " n > 0 " that had to be " n > 1 "
...
The fun of programming... Yeah, right!
Xray rocks by the way! I knew that already but I was lost in the tree chains
in such huge projects. Now I know what to do if I can't find easily
what I'm looking for.
Dimitrios
----- Original Message -----
From: "John Grden" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, December 22, 2005 6:15 PM
Subject: Re: [FlashCoders] game slowing down - eventListener
Did you make any headway?
On 12/22/05, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote:
John, thanks a lot for all the help!
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders