How do you get an instance of the actionscript class Class
from an instance of that class?
In Python, this would be x.__class__
; in Java, x.getClass();
.
I'm aware that certain terrible hacks exist to do this, but I'm looking for a built-in language facility, or at least a library routine built on something reliable.