When I test the movie, I get a type mismatch error. I'm sure
'__movieClip' is a MovieClip but I think the problem is with
'symbol'. When I take the above code out of the class and simply
put it on the main timeline of my .fla file, it works.
dr_ross is correct. Instead of using a hardcoded string of
"symbol" you might want to consider something more like:
private var _linkage:String="symbol"
and then later have getter/setter methods for providing a
linkage id to the class. Or perhaps provide the linkage in the
constructor. Of course the above would default to symbol, but you
might want to have it default to null so that if it isn't set it
doesn't just mysteriously work!