Changing what is returned by typeof

most of my controls have a property $typeof which is accessable by using the instance._typeof property call. however; i am curious if i can change the actual return value of typeof()

so instead of typeof(obj) == “movieclip” it would be typeof(obj)==“com.echo.something”;

also, is there any programatic way of asking a MC what it’s “Export Indentifier” is? if i could to that then the $typeof property could update itself, that would be nice.

-E

typeof is an operator so you can’t change what it returns as far as I know. Look into the instanceof operator.