Hi! I’ve got to do a parameter check for a method. That parameter can be an Object, like:
{ width:100, height:150 }
or a MovieClip.
How can I know if the passed parameter is a MovieClip or a simple Object?
- The typeof operator gives me always object
- The is and instanceof operators return me true anyway if I test MovieClip over Object.
Is there a way to directly know the final class of an object?