3 Replies Latest reply on Aug 18, 2007 2:06 PM by kglad

    onenterframe in custom class

    Steakboy
      I have set up a custom class that extends the MovieClip class (lets call it MovieClipExtender). I have a function that counts up when various things happen. Once the count reaches a certain value I want to invoke an onEnterFrame function that after 60 frames invokes another function.
      Problem is I can't just do 'this.onEnterFrame' but if i use a separate movieclip for the onEnterFrame function how do I then invoke the end function? Or is there a way to use onEnterFrame on my instance of MovieClipExtender?

      Please help.
      Thanks