MovieClip-derived object not appearing?

Ach. I have a class that extends MovieClip called AxonClip, and a class that extends AxonClip called Target. I create several new Target objects like so:


   Targets* = new Target("Targ"+i);
   
   Targets*.attachMovie("TargetArt", "TarGuy"+i, iDepth);
   

Later I update the position of that Target by changing its _x property. This seems to happen, as I can then trace(_x) and see that physics things are changing it. However, the clip never appears no matter what I do. I suspect this is because my Target class is not actually inheriting all the properties and methods that MovieClip has. If this is the case, is there something I can put in my class declaration, constructor or elsewhere to make sure these things inherit from MovieClip?

Also, is the AttachMovie even necessary, is there a better way to do it like linking a clip from the library to the particular class?

you cant use new to instantiate a class instance that extends movieclip. You have to use attachMovie

Targets* = parenttimeline.attachMovie(“TargetArt”, “TarGuy”+i, iDepth);

I’m not following you 100%… attachMovie doesn’t create anything, it just attaches a clip to an existing MovieClip, right? If I want to do the equivalent of that “new Target()” statement given that it’s a MovieClip, what do I use?

Okay, I’ve got an attachMovie clip of some sort to appear, but it doesn’t seem to be of the type I want it.

I’m really, really confused about that last optional parameter of attachMovie, which seems key to the whole idea. The code from the tutorial here:

http://www.kirupa.com/developer/oop2/AS2OOPInheritance4.htm

has the “InitObject” written in brackets, with a call to a function in that Object’s class definition after the statement(?!). Yet other documentation (the AS dictionary on MM’s site) has it in square brackets. Can someone explain exactly how the whole InitObject thing works? What’s the syntax, and when it is necessary and not necessary?

(Thanks for the help so far, Senocular!)