Clear interval doesnot work properly

hi,
i have used the setinterval in a module. i clear the inetrval each time i make it using a function in other class. on long time run the clear interval stops functioning. could any one put light on this problem?

How did you call the setInterval?
How do you clear setInterval?

Maybe you have a problem of scope.

You need to use an id to be able to clear the interval

my_id = setInterval(bla bla bla);

suposing my_id is on the _root

clearInterval(_root.my_id)

suposing my_id is on an mc called my_module

clearInterval(_root.my_module.my_id).

Basically this is the idea.