MC Subclasses

Out of context: Reply #3

  • Started
  • Last post
  • 3 Responses
  • parseInteger0

    of course you can extend the Movie Clip Class contruct your class like this (this is a 2.0 version)

    dynamic class myClass extends MovieClip {
    //Class
    //constructor
    function myClass() {
    }
    }

    then anywhere in the player you can call an instance of the class as you mentioned.

    myThing = new myClass();

    I use this contruction to for custom tweening, color, fading functions ect....hope that helps if i'm understanding you correctly.

View thread