I have a custom class that is extended from MovieClip. The class is basically creating a button that uses frame labels in the MovieClip to move between button states as mouse events are dispatched. Each state (each approx 20 frames long) is terminated with a timeline stop().
This class has been used in numerous other projects, but after a certain point in my current application any buttons created as an extension of my button class stop executing the code on the timeline, and just play on a loop. This includes any traces put into the timeline, but all code in the class still executes correctly, even the gotoAndPlay calls when the button state changes.
The strangest part is that no error is thrown by any of the misbehaving button instances on the stage.
What I need are suggestions of what could prevent any object that extends a certain class from executing timeline code without throwing an error.
Thanks!