Hi. I am trying to build a class that inherits from the MovieClip class. Basically I am having issues in the constructor. Since MC’s are unique in that they can only be created via createEmptyMovieClip or attachMovieClip, I am at a loss as to how you instantiate the inheriting class in the .fla? I figured if I just left the constructor out of the new class and do the following it would work but is doesn’t:
[AS]
var hex:Hexagon = new Hexagon ();
[/AS]
How do I inherit from the MovieClip class and still instatiate the class using the above type actionScript?
BTW: I have seen alot of information about inheritance and AS1.0 (which I have little understanding of). I am trying to stick to OOP practices and AS2.0. I searched for things like super & constructor to no avail.