To manually associate a movieclip with a class, you would
have the Symbol’s Linkage set to the class. I could do this
if there is no other option but it would be cumbersome to attach (
attachMovie() ) several empty movieclips to the stage since the
instance will be dynamically built.
There is an Object.registerClass() that seems to do the job,
however I haven’t tested it yet. Perhaps this is the answer
but I am hoping someone can tell me if there are any other options
(perhaps OO) for doing this.
Awesome! I never got into ‘proto’ methods,
probably because I never used ActionScript 1.0. That works
instances good for instances, and I found that the
Object.registerClass() works for movieclip symbols. The code below
associates a symbol with a particular class;
public function TheClass (target_mc:MovieClip)
//Symbols Linkage, is “mycar”