Does the setInterval have a timer enabled/disabled property?
I have a setinterval on a function that moves a movieclip along the y-axis and once it gets to its destination I have a clearInterval. And until the MC gets to its destination point, I have the visibility set to false and once it does I set its visibility to true. However, there are times when the MC at its destination point appears visible and other times that it isn't.
My co-worker thinks it could be that other setIntervals are affecting the setInterval that I'm having a problem with and thats why I'm getting the random visibility of the MC.
If someone could please advise me on how I can debug this problem.
Thanks!
I have a setinterval on a function that moves a movieclip along the y-axis and once it gets to its destination I have a clearInterval. And until the MC gets to its destination point, I have the visibility set to false and once it does I set its visibility to true. However, there are times when the MC at its destination point appears visible and other times that it isn't.
My co-worker thinks it could be that other setIntervals are affecting the setInterval that I'm having a problem with and thats why I'm getting the random visibility of the MC.
If someone could please advise me on how I can debug this problem.
Thanks!